/*
 Theme Name:   Divi Child
 Theme URI:    http://www.elegantthemes.com
 Description:  Divi Child Theme
 Author:       Applied Interactive
 Author URI:   http://www.appliedinteractive.com
 Template:     Divi
 Version:      1.0
*/

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

/* Theme customization starts here
-------------------------------------------------------------- */

/* blue accent color: 2664a4  */
/* grey accent color: 4e4e4e  */
/* another grey accent: #5b5a58 */
/* new blue accent: #36516d */

/* Main Menu */

/* Custom Login/Register/Password Code @ http://digwp.com/2010/12/login-register-password-code/ */
/* pulled from beltech theme */
/* tabbed list */
ul.tabs_login {
	padding: 0; margin: 20px 0 0 0;
	position: relative;
	list-style: none;
	font-size: 14px;
	z-index: 1000;
	float: left;
	}
ul.tabs_login li {
	border: 1px solid #E7E9F6;
	 -webkit-border-top-right-radius: 10px;
	 -khtml-border-radius-topright: 10px;	
	 -moz-border-radius-topright: 10px;
	border-top-right-radius: 10px;
	 -webkit-border-top-left-radius: 10px;
	 -khtml-border-radius-topleft: 10px;	
	 -moz-border-radius-topleft: 10px;
	border-top-left-radius: 10px;
	line-height: 28px; /* = */ height: 28px;
	padding: 0; margin: 0 5px 0 0;
	position: relative;
	background: #fff;
	overflow: hidden;
	float: left;
	}
ul.tabs_login li a {
	text-decoration: none;
	padding: 0 10px;
	display: block;
	outline: none;
	}
html ul.tabs_login li.active_login {
	border-left: 1px solid #E7E9F6;
	border-bottom: 1px solid #fff;
	 -webkit-border-top-right-radius: 10px;
	 -khtml-border-radius-topright: 10px;	
	 -moz-border-radius-topright: 10px;
	border-top-right-radius: 10px;
	 -webkit-border-top-left-radius: 10px;
	 -khtml-border-radius-topleft: 10px;	
	 -moz-border-radius-topleft: 10px;
	border-top-left-radius: 10px;
	background: #fff;
	color: #333;
	}
html body ul.tabs_login li.active_login a { font-weight: bold; }
.tab_container_login {
	background: #fff;
	position: relative;
	margin: 0 0 20px 0;
	border: 1px solid #E7E9F6;
	 -webkit-border-bottom-left-radius: 10px;
	 -khtml-border-radius-bottomleft: 10px;	
	 -moz-border-radius-bottomleft: 10px;
	border-bottom-left-radius: 10px;
	 -webkit-border-bottom-right-radius: 10px;
	 -khtml-border-radius-bottomright: 10px;	
	 -moz-border-radius-bottomright: 10px;
	border-bottom-right-radius: 10px;
	 -webkit-border-top-right-radius: 10px;
	 -khtml-border-radius-topright: 10px;	
	 -moz-border-radius-topright: 10px;
	border-top-right-radius: 10px;
	z-index: 999;
	float: left;
	width: 100%;
	top: -1px;
	}
.tab_content_login {
	padding: 7px 15px 15px 15px;
	padding-top: 10px;
	}
	.tab_content_login ul {
		padding: 0; margin: 0 0 0 15px;
		}
		.tab_content_login li { margin: 5px 0; }
/* global styles */
#login-register-password {}
	#login-register-password h3 {
		border: 0 none;
		margin: 10px 0;
		padding: 0;
		}
	#login-register-password p {
		margin: 0 0 15px 0;
		padding: 0;
		}
/* form elements */
.wp-user-form {}
	.username, .password, .login_fields {
		margin: 7px 0 0 0;
		overflow: hidden;
		width: 100%;
		}
		.username label, .password label { float: left; clear: none; width: 25%; }
		.username input, .password input { 
			font: 12px/1.5 "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
			float: left; clear: none; width: 200px; padding: 2px 3px; color: #777;
			}
.rememberme { overflow: hidden; width: 100%; margin-bottom: 7px; }
#rememberme { float: left; clear: none; margin: 4px 4px -4px 0; }
.user-submit { padding: 5px 10px; margin: 5px 0; }
.userinfo { float: left; clear: none; width: 75%; margin-bottom: 10px; }
	.userinfo p { 
		margin-left: 10px; 
		}
.usericon { float: left; clear: none; width: 15%; margin: 0 0 10px 22px; }
	.usericon img {
		border: 1px solid #F4950E;
		padding: 1px;
		}

.notice {font-size:14px; line-height:1.6em; background:#f2f2f2; margin-bottom: 20px; padding:20px;}
/* Custom Login/Register/Password Code @ http://digwp.com/2010/12/login-register-password-code/ */

#country {
	float:right!important;
 	margin-left:20px;
}

#country img {
	-moz-transition: opacity 300ms;
	-webkit-transition: opacity 300ms;
	transition: opacity 300ms;
}

#country img:hover {
	opacity: 0.6;
}

#footer_language_list{
  margin-bottom: 0;
  text-align: center;
  background: #fff;
  padding: 15px 0;
}

#footer_language_list ul{
  list-style: none;
  margin:0;
  padding:0;
}

#footer_language_list ul li img{
  margin-right:5px;
}

#footer_language_list ul li{
  display:inline;
  font-size: 12px;
  margin:0 16px 0 16px;
  padding:0;
}

#footer_language_list ul li a, #footer_language_list ul li a:visited{
  color: #36516d;
  text-decoration:none;
}

#footer_language_list ul li a:hover, #footer_language_list ul li a:active{
  color: #36516d;
  text-decoration:underline;
}

#loginbutton {
	float:right; 
	margin-left:20px;
}

@media only screen and ( min-width: 981px ) {
	.menu-button a{
	color: #ffffff!important;
	padding: 2px 8px 2px 8px!important;
	margin: 4px auto 4px;
	cursor: pointer;
	-moz-border-radius: 1px;
	-webkit-border-radius: 1px;
	border-radius: 1px;
	line-height: 1.7em;
/*	background: #36516d;
	background: #2777E6;  */
	background: #FF7D17!important;
	box-shadow: 3px 3px 9px 0px rgba(0,0,0,0.3);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-moz-transition: all 0.1s!important;
	-webkit-transition: all 0.1s!important;
	transition: all 0.1s!important;
	}
	.menu-button a:visited {
		color:white!important;
	}
	.menu-button a:hover{
	background: #FF7D17!important;
	color:white;
	box-shadow: 3px 3px 9px 0px rgba(0,0,0,0.45)!important;
	opacity:1!important;
	-moz-transition: all 0.1s!important;
	-webkit-transition: all 0.1s!important;
	transition: all 0.1s!important;
	}
	
	#main-content {
	min-height: 400px !important;
	background-color: #FFF !important;
	}
	
	body.singular.page .et_pb_post a img {
	max-width:25%;
	float:left;
	margin-right:20px;
}
	
}

/*
Josh's original script - don't know why it's duplicated
.et_fixed_nav #logo {
	height: 80px !important;
	width: 294px !important;
	min-height: 80px !important;
	max-height: 80px !important; 
	min-width: 294px !important;
	max-width: 294px !important;
}

.et-fixed-header #logo {
	height: 80px !important;
	width: 294px !important;
	min-height: 80px !important;
	max-height: 80px !important; 
	min-width: 294px !important;
	max-width: 294px !important;
}
*/

/* resizes the logo from the  original size built into the theme */
#logo {
    max-height: 75%;
}

/* resizes the logo upon scroll - the .et-fixed-header class is assigned to the main-header id upon scroll */
.et-fixed-header  #logo {
	max-height: 50% !important;
}

.et-fixed-header #et-top-navigation  {
	padding-top:10px!important;
}



/* adjust the h4 in the footer */

#footer-widgets h4 {
color:#CCC !important;
}

.download-block {
min-height:200px;
float:left;
}
/* change language flat spacing in top */
#country {
float:left;
}
#country img {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    margin-bottom: 0;
    margin-left: 3px;
    margin-right: 0;
    margin-top: 0;
}

.et_secondary_nav_only_menu #top-header {
    display: block;
}

/* Mobile Menu Icon */

.mobile_menu_bar:before { content: "\e056"; font-size: 36px; left: 0; position: relative; top: 3px; }


/* Remove Divi Default Mobile Menu Breakpoint  */

@media only screen and ( max-width: 980px ) {

	#et_mobile_nav_menu, .et_mobile_nav_menu { display: block; }
	#top-menu, .fullwidth-menu { display: none; }
	.et_header_style_centered #et_top_search, .et_vertical_nav.et_header_style_centered #main-header #et_top_search { display: none !important; }
	.et_pb_fullwidth_menu .fullwidth-menu-nav { display: none; }
	.et_secondary_nav_only_menu #top-header { display: block; padding-bottom:7px;}
	
	.et_non_fixed_nav.et_transparent_nav_temp #main-header,
	.et_secondary_nav_only_menu #main-header,
	.et_fixed_nav_temp #main-header,
	.et_secondary_nav_only_menu #main-header {
		margin-top: 30px !important;
	}

	#et_top_search {
		display: none;
	}
	
	.et_pb_section {
		padding: 1% 0;
	}

}

#et_top_search {
		margin-top: 10px;
}

/* adjusts the slider on the home page 

@media only screen and ( min-width:981px ) {
.myslider, .myslider .et_pb_container {
height: 375px !important;
}
.myslider, .myslider .et_pb_slide {
max-height: 375px!important;
}
.myslider .et_pb_slide_description {
position: relative;
top: 18%;
padding-top: 0 !important;
padding-bottom:0 !important;
height:auto !important;
}

.myslider .et_pb_slide_image {
margin-top:-115px!important;
}
}
*/
.homepagegreeting h1 {
font-size: 30px;
line-height:1.3em;
}

.designguide img {
	margin-top: -38px;
}

@media only screen and ( max-width:400px ) {

	.et_fixed_nav #logo {
	height: 60px !important;
	width: 221px !important;
	min-height: 60px !important;
	max-height: 60px !important; 
	min-width: 221px !important;
	max-width: 221px !important;
		position: relative;
		left: -5px;
	}
	
	#country {
	float:right!important;
 	margin-left:0;
}

#loginbutton {
	float:right; 
	margin-left:8px;
}

	
}

.et_pb_promo_button.et_pb_button a{
	color:#FFF !important;
}

.et_pb_post h2 a {
	color:#447ab1 !important;
}

.et_pb_post h2 a:hover{
	text-decoration:underline !important;
}

#et-secondary-nav li ul li {
    padding-right: 8px !important;
}

#top-menu li {
    padding-right: 15px !important;
}

.et_boxed_layout #top-header .container {
	width:95% !important;
	font-weight:500!important;
}

.et_boxed_layout #main-header .container {
	width:95% !important;
}

/* trying to make anchors work with the fixed header on the presentations page
@media only screen and ( min-width: 981px ) {
	.anchor{
  		display: block;
  		height: 150px;
  		margin-top: -150px; 
  		visibility: hidden;
	}
}
*/
@media only screen and ( min-width: 981px ) {
	.presentations-nav {
		padding-right: 8px !important;
	}
}

#top-menu li li a {
padding-left:0px;
padding-right:0px;
width:215px;
}

.single.et_pb_pagebuilder_layout.et_full_width_page .et_post_meta_wrapper {
display:none !important;
}

.et_pb_promo_button {background-color:#2777E6!important;}

/*.satisfaction-rating-likert table{table-layout:auto!important;} */

.gsurvey-likert-row-label {width:50%; text-align:left!important;}



@media (min-width: 981px) and (max-width: 1350px) {
	/*
	* Fix to prevent the over-crowded main nav from badly breaking to two lines.
	*/
	.et_non_fixed_nav.et_fullwidth_nav.et_header_style_left #main-header .container {
		display: flex;
		justify-content: center;
		align-items: center;
		padding-right: 0;
	}
	.et_non_fixed_nav.et_fullwidth_nav.et_header_style_left #main-header .container * {
		box-sizing: border-box;
	}
	/* logo */
	#main-header .container .logo_container {
		position: relative;
		display: flex;
		justify-content: center;
		align-items: center;
    	width: 25%;
		padding-left: 16px;
		padding-right: 16px;
	}
	/* nav */
	.et_non_fixed_nav.et_fullwidth_nav.et_header_style_left #main-header .container #et-top-navigation {	
		position: relative;
		width: 75%;
		float: none;
		padding: 0;
		padding-left: 0 !important;

	}
	.et_non_fixed_nav.et_fullwidth_nav.et_header_style_left #main-header .container #et-top-navigation #top-menu {
		display: flex;
		justify-content: flex-end;
		align-items: flex-end;
		flex-wrap: wrap-reverse;
		padding: 8px 10% 0;
	}
	.et_non_fixed_nav.et_fullwidth_nav.et_header_style_left #main-header .container #et-top-navigation #top-menu .menu-item {
		max-width: 25%;
		padding: 0 8px !important;
		flex: 1 1 15%;
	}
	.et_non_fixed_nav.et_fullwidth_nav.et_header_style_left #main-header .container #et-top-navigation #top-menu .menu-item:nth-child(1) {
		max-width: max-content;
		flex: 2 1 100%;
	}
	.et_non_fixed_nav.et_fullwidth_nav.et_header_style_left #main-header .container #et-top-navigation #top-menu .menu-item.menu-button:nth-last-child(2) {
		max-width: 100%;
    	flex: 0 0 50%;
	}
	.et_non_fixed_nav.et_fullwidth_nav.et_header_style_left #main-header .container #et-top-navigation #top-menu .menu-item.menu-button:nth-last-child(2) a {
		max-width: max-content;
		margin-right: 0;
		margin-left: auto;
	}
	.et_non_fixed_nav.et_fullwidth_nav.et_header_style_left #main-header .container #et-top-navigation #top-menu .menu-item.menu-button {
		width: max-content;
		max-width: max-content;
		padding: 0 8px !important;
	}
	.et_non_fixed_nav.et_fullwidth_nav.et_header_style_left #main-header .container #et-top-navigation #top-menu .menu-item.menu-item-has-children a {
		padding: 16px 20px 16px 0 !important;
		text-align: right;
	}
	.et_non_fixed_nav.et_fullwidth_nav.et_header_style_left #main-header .container #et-top-navigation #top-menu .menu-item-has-children > a:first-child:after {
		top: 50%;
		transform: translateY(-50%);
	}

}