/*
Theme Name:     Plunkett v4
Description:    A Child Theme Based off Divi
Author:         Glass Frog Digital
Template:       Divi

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/

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

/* Reduce overall section padding */
.et_pb_section {
	padding:5px 0;
}


/* 
	* * * * * * * * * * * * * * * * * * * * * * * * * * * * 
	Background colours and transparencies 
*/



/* Transparent Body */
#main-content, .et_pb_section {
    background-color: rgba(255,255,255,0.7); 
}

#main-content /*.container*/ {
	background-color: rgba(255,255,255,0.5); 
}

/* Tranparent Footer */
#main-footer {
    background-color: rgba(30,30,30,0.8);
}

#main-footer .et_pb_widget a:link,
#main-footer .et_pb_widget a:visited {
	color:#ee1;
}


/* 
	* * * * * * * * * * * * * * * * * * * * * * * * * * * * 
	Main Typography Style Changes
*/


/* Improve readability of main paragraph */
.et_pb_text,
.et_pb_promo_description,
.et_pb_blurb_content {
	font-size: 14px; /* was 14 */
}


#main-content .et_pb_fullwidth_header h1 {
/*	font-size: 350%; /* 300 */
    font-weight: bold;
/*    text-transform: uppercase; */
    /* text-shadow: -4px 2px 0px rgba(200,200,200,0.4); */
/*	color:#003366; */
}



#main-content .et_pb_fullwidth_header .et_pb_fullwidth_header_subhead {
	font-size:1.2em; 
}

/* Fix p that are made too small */
#main-content .et_pb_number_counter .percent p {font-size: 72px;}

/* Footer size */
.footer-widget {
    font-size: 90%;
}



/* Main Menu 
* * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#main-header {
	padding-bottom:60px;
	box-shadow:none;
}

img#logo {
	min-height: 100px !important;
	float:none;
}

#main-header #top-menu-nav {
	text-align:right;
}

#main-header #top-menu li {
	font-size:1em; /* was 1.2*/
}


#main-header #top-menu li a {
	padding:4px;
}

/* Active Menu Item */
#top-menu li.current-menu-ancestor > a, 
#top-menu li.current-menu-item > a, 
/* Menu Hover */
#top-menu a:hover, 
.fullwidth-menu a:hover {
	border-top: 2px solid #003366;
	color:#036;
}

/* Reduce right side padding */
.et_vertical_nav #main-header #top-menu > li > a {
    padding-right: 20px;
}

/* Has child items (icon) */
#top-menu .menu-item-has-children > a:first-child:after, 
#et-secondary-nav .menu-item-has-children > a:first-child:after {
	right:-14px;
}


/* Change the secondary menu bar 
	* * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/* Social bar */
#et-info,
#et-secondary-menu {
	float:none;
	line-height:150%;
}

#et-info {
	font-size: 110%; /* was 130 */
	padding-bottom:20px;
	text-align:left;
	line-height:150%;
}

#et-info .et-social-icons {
	float:right;
}

#et-info-phone:before,
#et-info-email:before {
	color:#003366;
}

#top-header .et-social-icon a {
	font-size:110%;
    padding: 6px;
    color:#fff;
    border-radius: 50%;
/*    width:16px;
    height:16px; */
}
/* Facebook Blue Hex: #3b5998 RGB: 59, 89, 152 */
#top-header .et-social-facebook a		{background-color:#3b5998;}
/* Twitter Blue Hex: #00aced RGB: 0, 172, 237 */
#top-header .et-social-twitter a		{background-color:#00aced;}
/* Google+ Red Hex: #dd4b39 RGB: 221, 75, 57 */
#top-header .et-social-google-plus a	{background-color:#dd4b39;}
/* RSS Feed Orange #ff9900 255, 153, 0 */
#top-header .et-social-rss a			{background-color:#ff9900;}

/* Menu bar */
#et-secondary-nav  {
    font-size: 110%;
    text-align:center;
}
#et-secondary-nav > li:after {
	content: "/";
	padding:0 5px;
}
#et-secondary-menu ul.menu {
	margin:auto 0;
} 




/* Customise Text overlapping images */

.et_pb_slide_description h2,
.et_pb_slide_description .et_pb_slide_content > p {
	background-color:rgba(0,0,0,0.3); 
	text-shadow: -2px 2px 0px rgba(0, 0, 0, 0.7);
	border-radius: 14px;

}

.et_pb_slide_description .et_pb_slide_content a {
	background-color:#003366;
	color:#fff;
}

/* Button */
.et_pb_pricing_table_button, 
.et_pb_promo_button, 
a.et_pb_more_button {
	background-color:#1e73be;
	transition: all 0.25s ease 0s;
}

.et_pb_promo_button:hover, a.et_pb_more_button:hover, .et_pb_newsletter_button:hover {
	color:#000;
	background-color:rgba(255, 255, 255, 0.5);
	border-color:#003366;
}


/* Add a colour overlay to thumbnails */
/*    background: rgba(111, 44, 62, 0.6); /* overlay background color */


/* 
	* * * * * * * * * * * * * * * * * * * * * * * * * * * * 
	Custom CSS Classes
*/

.largebox,
.largebox .et_pb_promo_description,
.largebox .et_pb_fullwidth_header,
.largebox .et_pb_slide_description {
 	font-size:120%;
 }

.quote,
.quote .et_pb_promo_description, 
.quote .et_pb_fullwidth_header,
.quote .et_pb_slide_description {
	font-size:120%; 
	font-style: italic;
}

.large-text,
.large-text .et_pb_promo_description, 
.large-text .et_pb_fullwidth_header,
.large-text .et_pb_slide_description {
	font-size:200%;
	font-weight: 800;
	line-height: 1em;
	padding-bottom:0;
	text-shadow: -4px 2px 0px rgba(200,200,200,0.7);
}

.et_pb_widget_area #text-5  {
	background-color:#6e6e6e; /* 003366 */
	color:#fff; 
}

.et_pb_widget_area #text-5 h3,
.et_pb_widget_area #text-5 h4 {
	color:#fff;
}

.contactbox {
	padding:5px;
}
.contactbox a:link,
.contactbox a:visited {
	color:#fff;
	text-decoration: underline;
}

/** Portfolio Images **/
.et_pb_fullwidth_portfolio .et_pb_portfolio_image {
	background-color:#ddd;
}

/* Fullwidth Header Background */
article.project .et_pb_fullwidth_header,
article.page .et_pb_fullwidth_header {
	background-image: url(img/bg_fullwidth_header.png);
	background-position: center center;
	background-repeat: no-repeat;
}


/* Custom formatting for achive pages */
.archive #left-area .et_pb_post { float: left; width: 47.5%; margin-right: 5%; }
.archive #left-area .et_pb_post:nth-child(2n) { margin-right: 0; }

/* Custom formatting for achive pages */
.archive #left-area .et_pb_post { float: left; width: 47.5%; margin-right: 5%; }
.archive #left-area .et_pb_post:nth-child(2n) { margin-right: 0; }

/* News feed on homepage */
/* Dark theme <a> colour corrections */
.lcnb_exp_txt a:link, .lcnb_exp_txt a:visited {
	color:#ee1;
}
/* :hover */
.lcnb_exp_txt a:hover, .lcnb_exp_txt a:active {
	color:#fff;
}

/* 
 ## Mobile Elements ##
*/

/* Mobile menu visibility  */
#et_mobile_nav_menu,
#main-header .et_mobile_menu {
	background-color: rgba(0,0,0,0.2)
}



/* 
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 @MEDIA STYLES
 */

/* Ipad in Landscape mode */
@media all and (max-width: 1077px) {

	#et_mobile_nav_menu, #main-header .et_mobile_menu {
		background-color: rgba(0, 51, 102, 0.2); 
		border-radius:16px;
	}

	.et_header_style_split .mobile_menu_bar, 
	.et_header_style_left .mobile_menu_bar {
		padding: 20px;
	}

}

@media (max-width: 980px) {
	.et_header_style_left #logo, 
	.et_header_style_split #logo {
		max-width: 100%;
	}
}

/* Ipad in Protrait mode */
@media all and (max-width: 768px) {

}

/* Only Phones */
@media (max-width: 767px) {

	.et_header_style_left .logo_container {
		position: relative;
	}
	#et-top-navigation {
		padding:0;
	}
}

/* Only Phones (Landscape) */
@media (min-width: 480px) and (max-width: 767px) {
	#logo {
		transform:scale(1);
	}
	

}

/* Only Phones (Portrait) */
@media (max-width: 479px) {

	img#logo {
		transform:scale(1);
		min-height: auto;
	}

	.logo_container {
		display:block;
	}

	#et-info {
		text-align: center;
	}

	#et-social-icons,
	#et-info-email,
	#et-secondary-menu .et_duplicate_social_icons {
		display:none;
		visibility:hidden;
	}


}

@media (max-width: 320px) {
	#logo {
		transform:scale(1);
	}

	#et-info {
		text-align: center;
	}
	
	#et-social-icons,
	#et-info-email,
	#et-secondary-menu .et_duplicate_social_icons {
		display:none;
		visibility:hidden;
	}

}