/*
 Theme Name:   SUBW Divi
 Theme URI:    http://www.subw.org.au
 Description:  DIVI child theme for SUBW
 Author:       Konstantin Seiler
 Author URI:   http://example.com
 Template:     Divi
 Version:      1.0.3
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
*/


.container {
    text-align: justify;
    word-wrap: break-word;
}


.wp-block-image figcaption {
	  text-align: center;
	  margin-bottom: 0;
}
.wp-block-image {
    padding: 10px;
    background: rgba(0,0,0,0.05);
    outline: solid 1px #ccc;
}


/* Responsive Styles vertical Smartphone Only */
@media all and (max-width: 479px) {
	body.custom-background {
		background-color: #FFFFFF !important; background-image: none !important;
	}
	.et_boxed_layout #page-container {
 		-webkit-box-shadow: none !important;
 		-moz-box-shadow: none !important;
 		box-shadow: none !important;
	}
}

/* Responsive Styles larger than vertical Smartphone */
@media all and (min-width: 480px) {
	#main-content {
		background-color: transparent;
  		margin-bottom: 100vh;
	}

	#content-area {
  		background-color: white;
  		padding: 27px;
  		border-radius: 27px;

		-webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
		-moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
		box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
	}


	.et_pb_row {
		background-color: white;
		padding-top: 27px;
		padding-bottom: 27px;
		border-radius: 27px;
		-webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
		-moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
		box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
	}

	.et_pb_section {
		background-color: transparent;
	}

}



#main-header, #main-header.et-fixed-header {
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5) !important;
	background: linear-gradient(rgb(168, 197, 207), rgb(19, 133, 204));
}

/* The colour of the menu-hamburger in mobile view */
.mobile_menu_bar::before {
	color: black;
}

#main-header .et-search-field {
	background-color: white;
	padding: 5px;
}


#main-footer {
	display: none;
}


#subw-home-title {
	text-align: center;
	text-shadow: 5px 5px 3px rgba(0, 0, 0, 0.2);
}

#subw-home-title h1 {
	color: black;
}

@media all and (max-width: 479px) {
	#subw-post-slider-area {
		display: none;
	}
}

@media all and ( max-width: 980px ) {
	#subw-home-title {
		margin-bottom: 24px;
	}

	#subw-post-slider-area {
		margin-left: -27px;
		margin-right: -27px;
		margin-bottom: 27px;
	}
}

@media all and ( min-width: 981px ) {
	#subw-home-title h1 {
		font-size: 40px;
		text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
	}
	#subw-home-title {
		margin: 4% 0;
	}



	.subw-row {
		margin: 0 -13.5px;
	}

	.subw-column-2 {
		width: 50%;
		float: left;
		padding: 0 13.5px;
	}
}

@media only screen and ( min-width: 1417px) {
	#subw-home-title {
		margin: 27px 0;
	}
}

.subw-row::after {
	display: block;
 	visibility: hidden;
	clear: both;
   width: 0;
   height: 0;
   line-height: 0;
   content: ".";
}


#top-menu.nav li ul {
    width: 300px;
 }

#top-menu.nav li li a {
 	width: 260px;
 }



@media all and ( min-width: 981px ) {
	#main-content .container::before {
		top: 58px;
		bottom: 0;
		height: auto;
	}
}


@media all and ( min-width: 981px ) {
	.wp-caption {
		max-width: 80%;
	}
	.entry-content .wp-caption img {
		/*max-width: 100%;*/
	}
	.entry-content > p > a > img {
		max-width: 80%;
	}

}

/* make the gap on the right of a post look better. */
@media all and ( min-width: 981px ) {
	.et_pb_gutters1.et_right_sidebar #left-area {
   	padding-right: 10px;
	}
}

/* smaller font for long titles on the slider. */
.et_pb_slide_title.subw_long_title {
	font-size: 32px;
}

