/*
Theme Name: Divi Child
Description: Child Theme for Divi
Author: SKruger
Template: Divi
Text Domain: divi
*/

@import url("../Divi/style.css");

/* GLOBAL - headings */

h1, h3, h4, h6 {
	line-height: 1em;
}

h5 {
	line-height: 1.2em;
}

h2 {
	font-size: 24px;
	line-height: 1.2em;
}

.et_pb_slide_content {
	font-weight: 300;
}

/* SPECIAL HEADLINE STYLE - /support-sawip/ */

h2.Headline {
	line-height: 28px;
}

/* GLOBAL MENU STYLES -  navigation*/

.nav li li {
	line-height: 1em;
}

#et-top-navigation {
    font-weight: normal;
}

/* Current Page Selected Styles */
.current-menu-item a {
	/* color: #2ea3f2 !important; */ /* bright blue */
	color: #1e73be !important;
	text-decoration: underline;
}

#et-secondary-menu > ul > li.current-menu-item > a {
	color: #fff !important;
	opacity: 0.7;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

/* Setting new breakpoint of the mobile menu */
@media only screen and (min-width: 981px) and ( max-width: 1200px ) {
	#top-menu-nav, #top-menu {display: none;}
	/*#et_top_search {display: none;}*/
	#et_mobile_nav_menu {display: block;}
	
	.et_fixed_nav #main-header, .et_fixed_nav #top-header {
		position: relative;
		top: 0px !important;
	}
	
	.et_fixed_nav.et_show_nav.et_secondary_nav_enabled #page-container {
		padding-top: 0px !important;
	}	
}

/* Setting custom mobile logo */
.et_header_style_left #logo-mobile, .et_header_style_split #logo-mobile {
	max-width: 50%; 
	max-height: 70%; 
	vertical-align: middle;
}

#logo-mobile { display: none; }

.SidebarDesktop {}
.SidebarMobile { display: none; }

@media only screen and (max-width: 981px) {
	#logo { display: none; }
	#logo-mobile { display: inline-block; }
	
	.SidebarDesktop { display: none; margin: 0; padding: 0; height: 0; }
	.SidebarMobile { display: block; }
}

/* @media (max-width: 980px) {
	.et_pb_section {
		margin-top: 20px !important;
		padding-bottom: 10px !important;
	}
	.et_pb_column {
		margin-bottom: 0;
	}
}

@media only screen and (max-width: 767px) {
	.et_pb_section {
		padding-top: 0px !important;
		padding-bottom: 10px !important;
	}
} */

sup, sub {
    font-size: 65%;
}

/*#et-secondary-nav li > ul {
	width: 260px;
}

#et-secondary-nav li ul {
    padding: 0;
}

#et-secondary-nav li li {
	line-height: 14px;
	padding: 10px;
	padding-bottom: 0;
	margin: 0;
}

#et-secondary-nav li li:nth-last-child(1) {
	padding-bottom: 10px;
}*/

/* extra space between items in dropdown - not needed */
/* #top-menu li li {
    margin: 0;
    padding: 5px 15px;
} */




/* Ultimate Posts List Styles */

/* HOME */

div.NewsHome {
	margin-bottom: 20px !important;
}

@media (min-width: 981px) {
	div.NewsHome div.widget_ultimate_posts {
		margin: 0 !important;
	}
}

@media (max-width: 980px) {
	div.NewsHome div.et_pb_widget:nth-child(n) {
		width: 100% !important;
		margin: 0 !important;
	}
	div.NewsHome .upw-posts article.sawip-news {
		width: 100% !important;
		margin-top: 5px !important;
		margin-bottom: 5px !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}

div.NewsHome div.widget_ultimate_posts div.hfeed article {
	
	
}

div.NewsHome .upw-posts article.sawip-news div.entry-summary p{
	padding-bottom: 0;
}

div.NewsHome .upw-posts article.sawip-news {
	width: 23%;
	float: left;
	
	/*padding: 20px;*/
	padding: 0px;
	
	margin: 1%;
	
	/* background-color: rgba(255, 255, 255, 0.2);
	border-bottom: 1px solid #ddd !important; */
	background-color: transparent;
	border-bottom: 0 none !important;
	
	/*webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;*/
	
	/*-webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);*/
}

div.NewsHome .upw-posts article.sawip-news:hover {
	/*background-color: rgba(255, 255, 255, 0.2);	
	border: 1px solid transparent;*/
}

div.NewsHome .upw-posts article.sawip-news:last-child {
	padding: 0px !important;
}

div.NewsHome .upw-posts .entry-title {
	line-height: 1.3em;
	margin-bottom: 0 !important;
}

div.NewsHome .upw-posts article h4.entry-title a:hover {
	color: #fff;
}

div.NewsHome .upw-posts .entry-image img {
	padding: 8px;
	background-color: #fff;
}

div.NewsHome .upw-posts .entry-meta {
	color: #fff;
}

div.NewsHome .upw-posts a.more-link {
	display: block;
	clear: both;
	/*color: #2ea3f2;
	background-color: #fff;*/
	color: #fff;
	font-weight: bold;
	/*margin-top: 10px;
	text-align: center;*/
}

div.NewsHome .upw-posts a.more-link:hover {
	/*color: #2ea3f2;*/
}

div.NewsHome .upw-posts .entry-content>:last-child, .upw-posts .entry-summary>:last-child {
	margin-bottom: 0 !important;
}

@media (max-width: 980px) {
	div.NewsHome .upw-posts div.entry-image {
		max-width: 30%;
		float: left;
		margin-right: 20px;
	}
	div.NewsHome .upw-posts h4.entry-title {

	}
	div.NewsHome .upw-posts div.entry-meta {

	}
	div.NewsHome .upw-posts div.entry-summary {

	}
	div.NewsHome .upw-posts a.more-link {
		clear: none;
	}
}


.NewsArchiveList ul li {
	list-style: none !important;
}

.NewsArchiveList ul {
	padding-left: 0px;
}

/*  Divi toggle animate arrow and change colour */
.et_pb_toggle_open .et_pb_toggle_title:before {
	transform: rotate(180deg);
	content: "\25bc";
	transition:all 0.3s ease-in-out 0s;
	color:#e5e2d3;	
	color:#c1c1c1;
}
.et_pb_toggle_title:before {
	content: "\25bc";
	font-size:1.3em;
	transition:all 0.3s ease-in-out 0s;
	color:#0a4879;
}
.et_pb_toggle_title {
	font-weight: bold;
}

/* BLOG AUTHOR LISTINGS */

.team-bios .et_pb_promo_description {
	display: none;
}

.team-block {
	display: block;
	background-color: #efefef;
	border: 1px solid #ccc;
}

.group-block-item {
	display: inline-block;
	background-color: transparent;
}

.author-blocks {
	
	display: inline-block;
	padding: 10px;
}


.group-page {
	background-color: #eee;
}

.group-page-item {
	display: block;
	border: 1px solid #ccc;
	margin: 0.5%;
	padding: 20px;
	padding-bottom: 5px;
	float: left;
	width: 19%;
	min-height: 145px;
}

.group-page-item:hover {
	border: 1px solid blue;
	background-color: #e5e5e5;
}

.author-name {
	padding-bottom: 0.2em;	
}

.group-page-item .author-name {
	display: block;
	text-align: center;
	vertical-align: middle;
	line-height: 16px;
}

.author-avatar {
}

.group-page-item .author-avatar {
	display: block;
	text-align: center;
	vertical-align: middle;
}



/* SIDEBAR - AUTHOR FEATURES*/
.et_pb_widget.mks_author_widget {
	display: block;
	background-color: #e5e5e5;
	min-height: 120px;
	padding: 20px;
	
	border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
}

.et_pb_widget.mks_author_widget h4.widgettitle {
	display: block;
}

.et_pb_widget.mks_author_widget a {
	display: block;
	min-height: 64px;
}

.et_pb_widget.mks_author_widget img {
	padding: 5px;
	display: block;
	background-color: #fff;
}

/* SIDEBAR - AUTHOR Recent Posts */

.et_pb_widget.widget_author_recent_posts {
	clear: both;
	/*padding-top: 30px;*/
	margin-bottom: 0 !important;
}

.et_pb_widget.widget_author_recent_posts li {
	padding: 20px;
	background-color: #efefef;
	border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
}

.et_pb_widget.widget_author_recent_posts li div.author_right a {
	font-size: 18px;
	font-weight: 500px;
	line-height: 20px;
}

.et_pb_widget.widget_author_recent_posts li a {
	/*color: #2ea3f2;*/ /*bright blue*/
	color: #1e73be;
}

.et_pb_widget.widget_author_recent_posts li div.author_right span.post-date {
	color: #888;
    font-size: .9em;
    line-height: 1.4;
}



.et_pb_widget.widget_recent_entries {
	clear: both;
	/*padding-top: 30px;*/
}

.et_pb_widget.widget_recent_entries li {
	padding: 10px;
	background-color: #efefef;
}

.et_pb_widget.widget_recent_entries li a {
	/*color: #2ea3f2;*/ /*bright blue*/
	color: #1e73be;
	display: block;
}

.et_pb_widget.widget_ultimate_posts {
	margin-top: 30px;
}

/* SIDEBAR - Recent Team Blogposts & Latest News */

.upw-posts article {
	padding: 20px;
	background-color: #efefef;
	
	border-radius: 10px 10px 10px 10px;
	-moz-border-radius: 10px 10px 10px 10px;
	-webkit-border-radius: 10px 10px 10px 10px;
}

.upw-posts article:last-child {
	padding: 20px !important;
	border-bottom: 1px solid #ddd !important;
}

.upw-posts article h4.entry-title {
	/*color: #2ea3f2;*/ /*bright blue*/
	color: #1e73be;
	padding-bottom: 5px !important;
	margin-bottom: 0 !important;
	line-height: 20px;
}

.upw-posts article h4.entry-title a:hover {
	text-decoration: none;
	color: #0a4879;
}

.upw-posts article div.entry-summary p {
	padding-bottom: 0 !important;
}

.upw-posts article a {
	/*color: #2ea3f2;*/ /*bright blue*/
	color: #1e73be;
}

.upw-posts article a.more-link {
	padding-top: 10px;
	font-weight: bold;
}






/* SIDEBAR - BLOG & AUTHOR PAGES*/

#main-content .container {
	padding-top: 30px;
	padding-bottom: 30px;
}

#main-content .container:before {
	width: 0px;
}

.et_pb_post .entry-content {
	padding-top: 0px;
}

.et_right_sidebar #sidebar {
	border-left: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 980px) {
	.et_right_sidebar #sidebar {
		border-left: none;
	}
}

/* FOOTER */

#footer-bottom {
	background-color: #1d446b;
}

#footer-bottom p#footer-info {
	color: #fff;
	font-size: 12px;
}

.et-social-icon a {
	color: #fff;
}

/* POST LIST */

div.display-posts-listing {

}

div.listing-item {
	display: block;
	background-color: #f5f5f5;
	border-radius: 10px 10px 10px 10px;
	-moz-border-radius: 10px 10px 10px 10px;
	-webkit-border-radius: 10px 10px 10px 10px;
	width: 100%;
	/*min-height: 400px;*/
	float: left;
	margin: 1% auto;
}

div.listing-item a.image {
	display: table-cell;
	float: left;
	max-width: 200px;
	height: 130px;
	overflow: hidden;
	margin: 20px;
	text-align: center;
	vertical-align: middle;
}

div.listing-item a.title {
	display: block;
	font-size: 16px;
	line-height: 19px;
	padding: 20px;
	padding-bottom: 0;
	font-size: 18px;
}

div.listing-item span.date {
	display: block;
	font-size: 14px;
	padding: 0 20px;
	margin: 0;
}

div.listing-item span.excerpt-dash {
	display: none;
}

div.listing-item span.excerpt {
	position: relative;
	display: block;
	padding: 10px 20px;
	margin-bottom: 20px;
	line-height: 20px;
}

div.listing-item span.excerpt a::before {
	position: relative;
	content: " \0020";
}

div.listing-item span.excerpt a {
	position: relative;
	display: block;
	padding-top: 10px;
	font-weight: bold;
}

/* ========================================= */

.TeamBlock {
	border-radius: 10px 10px 10px 10px;
	-moz-border-radius: 10px 10px 10px 10px;
	-webkit-border-radius: 10px 10px 10px 10px;
	/*border: 1px solid #c1c1c1;*/
	background-color: #f5f5f5;
}

.TeamBlock div.et_pb_column_inner {
	padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
}



/* TEAM BIOS PAGES  - /sawip-team/sawip-team-2016/ etc... */

/* Team Member Styles */

.et_pb_team_member {
	border-radius: 10px 10px 10px 10px;
	-moz-border-radius: 10px 10px 10px 10px;
	-webkit-border-radius: 10px 10px 10px 10px;
	border: 1px solid #c1c1c1;
}

.et_pb_team_member_image {
	padding-left: 20px;
	height: 100%;
	width: auto;
	max-width: 139px;
	margin-top: 20px;
	margin-bottom: 20px;
}

.et_pb_team_member_description {
	padding: 20px;
	display: table-cell !important;
}

.et_pb_member_position {
	font-weight: bold;
	color: #666;
}

/* DIVI TIMELINE / DOTS LIST  - /about-us/vision-mission-values/ */

.dots-list {
	width: 100%;
}

.dots-list ol {
	padding-left: 150px;
	position: relative;
	margin-bottom: 20px;
	list-style: none !important;
}

.dots-list ol li {
	position: relative;
	margin-top: 0em;
	margin-bottom: 20px;
}

.dots-list ol li .date {
	position: absolute;
	left: -115px;
	font-weight: bold;
	font-size: 1em;
	/*top: -2px;*/
}

.dots-list ol li:before {
	content: "";
	background: #35a6cb; /*edit line colour*/
	position: absolute;
	width: 2px;
	top: 5px;
	bottom: -25px;
	left: -24px;
}

.dots-list ol li:after {
	content: "";
	background: #c7d8dd;  /*edit circle colour*/
	position: absolute;
	width: 13px;
	height: 13px;
	border-radius: 100%;
	border:2px solid #35a6cb; /*edit circle border colour*/
	top: 5px;
	left: -31px;
}

.dots-list ol li:last-child:before {
	content: "";
	background: rgba(0, 0, 0, 0);
}

/* EVENTS TABLE STYLES  - /events/ */

#events-table .events-row {
	padding: 0px !important;
	border: 1px solid #DDD;
	border-radius: 6px 6px 6px 6px;
	-moz-border-radius: 6px 6px 6px 6px;
	-webkit-border-radius: 6px 6px 6px 6px;
}

#events-table .events-row .events-date {
	width: 20%;
	border-radius: 6px 0px 0px 6px;
	-moz-border-radius: 6px 0px 0px 6px;
	-webkit-border-radius: 6px 0px 0px 6px;
}

#events-table .events-row .events-title {
	min-width: 50%;
}

#events-table .events-row .events-button {
	max-width: 20%;
}

@media only screen and (max-width: 980px) {
	#events-table h2 {
		padding-bottom: 30px !important;
	}
	#events-table .events-row .events-date {
		width: 100%;
		border-radius: 6px 6px 0px 0px;
		-moz-border-radius: 6px 6px 0px 0px;
		-webkit-border-radius: 6px 6px 0px 0px;
		margin-bottom: 10px;
	}
	#events-table .events-row .events-title {
		min-width: 100%;
		margin-bottom: 10px;
	}
	#events-table .events-row .events-button {
		max-width: 100%;
		margin-bottom: 10px;
	}
}

/* DONATION FLAGS - /support-sawip/donate/ */



h3.CountryFlagText {
	line-height: 48px !important;
	height: 48px;
}

.CountryFlag {
	float: left;
	padding-right: 10px;
	line-height: 48px;
}

/* PayPal BUTTON - /support-sawip/donate/ */

span.PayPalText {

}

form.PayPalDonate {
	width: 100%;
	padding: 0 !important;
	margin: 0 auto !important;
	line-height: .5em;
	text-align: center;
	vertical-align: middle;
}

input.PayPal_image {
	display: table-cell;
	background-color: #ccc;
	padding: 20px !important;
	margin: 0 !important;
	text-align: center;
	vertical-align: middle;
}

input.PayPal_image:hover {
	background-color: #bbb;
}

/* SIDEBARS */

.SidebarCTA {
	border-radius: 10px 10px 10px 10px;
	-moz-border-radius: 10px 10px 10px 10px;
	-webkit-border-radius: 10px 10px 10px 10px;
	border: 1px solid #c1c1c1;
	padding: 20px 30px !important;
	margin: 0 !important;
}

/* ========= */

/* HOME - BLOG - Latest Posts */

div.BlogGrid h2.entry-title {

}

div.BlogGrid div.post-content p a.more-link {
	display: none;
}

div.BlogGrid div.post-content a.more-link {
	margin-top: 10px;
	font-weight: bold;
}

div.BlogGrid article.et_pb_post {
	border-radius: 10px 10px 10px 10px;
	-moz-border-radius: 10px 10px 10px 10px;
	-webkit-border-radius: 10px 10px 10px 10px;
}

div.BlogGrid span.author.vcard a {
	color: #1e73be !important;
}

/* BLOG - POSTS - /sawip-team/blog/ */

div.ArchivePost {
	background-color: transparent;
}

div.ArchivePost article {
	background-color: #f5f5f5;
	border: 1px solid #d8d8d8;
	-webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
	border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
	margin-bottom: 20px !important;
	padding-top: 20px;
	padding-bottom: 20px;
	padding-left: 30px;
	padding-right: 30px;
}

div.ArchivePost article a {
	color: #1e73be !important;
}

div.ArchivePost .et_pb_post h2.entry-title {
	padding-bottom: 0;
	margin-top: 10px;
}

div.ArchivePost .et_pb_post p.post-meta {
	
}

div.ArchivePost .et_pb_post div.post-content {
	
}

div.ArchivePost div.post-content p a.more-link {
	display: none;
}

.et_pb_posts a.more-link {
    display: block;
    clear: both;
	padding-top: 10px;
	font-weight: bold;
}

a.more-link {
    display: block;
    clear: both;
}


/* BLOG - Archive Pages - Author Page etc. */

body.archive article.et_pb_post {
    padding-top: 20px !important;
    padding-right: 25px !important;
    padding-bottom: 20px !important;
    padding-left: 25px !important;
	
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
	
	margin-bottom: 60px;
	
	background-color: #f5f5f5;
	border: 1px solid #d8d8d8;
	-webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

body.archive article.et_pb_post h2 {
	margin-top: 0;
}

body.archive article.et_pb_post a.more-link {
	padding-top: 10px;
	font-weight: bold;
}

/* Contact Us Page - Address Block */

.ContactAddress {
    border: 1px solid #e5e5e5;
    padding-top: 20px !important;
    padding-right: 25px !important;
    padding-bottom: 20px !important;
    padding-left: 25px !important;
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
}