/*
 Theme Name:   laymance
 Description:  A WordPress site built for you by Laymance Technologies!
 Author:       Laymance Technologies
 Author URI:   http://laymance.com/
 Template:     Divi
 Version:      1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

#top-header #lt-text { float:left; margin-right: 25px; }

/*** FIX LOGO ON SAFARI ***/
.et_header_style_centered #logo { width: auto; }


/*** FIX HEADER JUMP ON LOAD ***/
.et_fixed_nav.et_show_nav.et_secondary_nav_enabled.et_header_style_centered #page-container, .et_non_fixed_nav.et_transparent_nav.et_show_nav.et_secondary_nav_enabled.et_header_style_centered #page-container { padding-top: 147px; }

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

.nav ul li a:hover, .et_mobile_menu li a:hover { background-color: #ddd; }

header .nav li > ul { width: 220px; }
.nav li li a, .et_mobile_menu li a { font-weight: normal; }
#top-menu li li a { width: 200px; }
#top-menu li li { padding: 0 10px; }
.client_logos img.first { margin-left: 0 !important; }
.client_logos img { margin-left: 40px; max-height: 75px; width: auto; }
#top-menu li.mega-menu > ul > li > a {
     padding-bottom: 3px;
     margin-bottom: 3px;
}
#top-menu li.mega-menu > ul > li > a:first-child { border-bottom: 2px solid #0c71c3; }
#top-menu li.mega-menu-parent:hover li ul { display: block; }
#top-menu a, .nav li li a {
	transition: none !important;
	-webkit-transition: none !important;
	-moz-transition: none !important;
}

#top-header .container { text-align: center; }
#top-header #et-info, #top-header #lt-text { display: inline-block; float: none; }


/* FIX FOOTER POLICY LINKS */
.footer-policy-links { float: right; margin-left: 60px; }

@media all and (max-width: 980px) {
	#top-header #lt-text { display: none !important; }
	.et_pb_fullwidth_header_container a.et_pb_button_two { line-height: 1.2em !important; }
	.footer-policy-links { float: none !important; margin-left: 0 !important; text-align: center; }
}


.lm_contact_form .gform_body input, .lm_contact_form .gform_body texture {
	width: 100%;
}

.lm_contact_form .gform_body input[type="text"], 
.lm_contact_form .gform_body input[type="password"],
.lm_contact_form .gform_body input[type="number"],
.lm_contact_form .gform_body textarea,
.lm_contact_form .gform_body select {
	padding: 16px !important;
	border: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	color: #444;
	background-color: #eee;
	font-size: 14px;
	margin: 0;
	background-color: rgb(238, 238, 238);
}

.lm_contact_form .ginput_container_select { margin-top: 0 !important; margin-bottom: 15px !important; }

.lm_contact_form .gform_body input[type="button"], 
.lm_contact_form .gform_body button, 
.lm_contact_form .gform_footer .gform_button {
	position: relative;
	padding: 0.3em 1em !important;
	border: 2px solid;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background: transparent;
	font-size: 20px !important;
	font-weight: 500 !important;
	line-height: 1.7em !important;
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	transition: all 0.2s;
	color: #0B5AA5;
	float: right;
}

.lm_contact_form .gform_footer .gform_button:hover {
	background: rgba(0, 0, 0, 0.05) !important;
	padding: 0.3em 2em 0.3em 1em;
	border: 2px solid transparent !important;
}

.nopad { padding: 0; }
.mt20 { margin-top: 20px; }
.mb20 { margin-bottom: 20px; }

/* Hide "home" menu on home page only, show on inner pages */
body.home #top-menu-nav li.home-menu-item { display: none !important; }

/* Social Sharing Buttons mods */
.et_monarch .et_social_sidebar_networks a.et_social_open_all { padding: 5px; }
.et_monarch .et_social_sidebar_networks li { width: 50px; }
.et_monarch .et_social_sidebar_networks li a { padding: 15px 0 15px; }

/* Site Analysis Form */
.page-id-223 .et_bloom_inline_form .et_bloom_form_content { display:none !important; }

/* LISTS */
ul.nicelist { margin-top: 15px; list-style: none; }
ul.nicelist li:before { content:"\2713\0020"; padding-right: 4px; font-family: Arial, Tahoma, Helvetica, sans-serif; }
ul.nicelist li ul,
ul.nicelist li ul li ul { list-style: none; }
ul.nicelist li ul li { margin-left: 20px; }

/* FIX MENU HOVER OVER COLOR WHEN FIXED */
.et-fixed-header#main-header .nav ul li a:hover { background-color: #666 !important; }

/* FIX SECONDARY BAR COLORS WHEN FIXED */
.et-fixed-header#top-header, .et-fixed-header#top-header #et-secondary-nav li ul {
	background-color: #333 !important;
	border-bottom: 1px solid #0B5AA5 !important;
}

body .et-fixed-header #top-menu > li.current-menu-ancestor>a { color: #2ea3f2 !important; }

/* CODE IN BLOG POSTS */
article.post pre {
    border-left: 2px solid #dbdbdb;
    background-color: #fbfbfb;
    padding: 10px;
    margin-bottom: 20px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* FIX LIST INDENTION */
#left-area ul, .entry-content ul, .comment-content ul {
	padding-left: 2em;
	list-style-type: disc;
}

/* CHECKMARK LISTS */
ul.checks, ul.checks ul {
	list-style: none;
}

ul.checks li::before, ul.checks ul li::before {
	content: '✓';
	padding-right: 12px;
}

/* BLOG CHANGES */
body.blog .et_pb_post {
	padding-bottom: 60px;
	border-bottom: 1px solid #ccc;
}

/* Gray-scale maps
.et_pb_map_container { 
    filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>#grayscale"); 
    filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: gray; /* IE6-9 */
    /*-webkit-filter: grayscale(100%);
}
*/

@media all and (min-width: 480px) {
	.header_adjust { padding-top:125px; padding-bottom:160px; }
}

@media all and (max-width: 980px) {
	.et_header_style_centered .mobile_nav span.select_page {
		display: none;
	}
	
	.et_header_style_centered .mobile_nav .mobile_menu_bar {
		position: relative;
		float: right;
	}
	
	.et_header_style_centered .mobile_nav ul.et_mobile_menu {
		top: 78px;
	}
	
	.et_header_style_centered .logo_container {
		max-width: 80%;
		text-align: center;
		float: left;
	}
	
	.et_header_style_centered .logo_container .logo_helper {
		display: none;
	}
	
	#page-container header#main-header {
		padding-top: 0px;
	}
}

@media all and (min-width: 800px) and (max-width: 1022px) {
     .header_adjust { padding-top: 10px; padding-bottom: 10px; }
     .et_pb_fullwidth_header_0.et_pb_fullwidth_header .header-content h1 { font-size: 37px !important; }
}

@media all and (min-width: 1023px) and (max-width: 1040px) {
     .header_adjust { padding-top:15px; padding-bottom:15px; }
     .et_pb_fullwidth_header_0.et_pb_fullwidth_header .header-content h1 { font-size: 45px !important; }
}

@media all and (min-width: 1360px) and (max-width: 1375px) {
     .header_adjust { padding-top:60px !important; padding-bottom:60px !important; }
}

@media all and (min-width: 1600px) {
     .header_adjust { padding-top:170px; padding-bottom:170px; }
}

@media all and (min-width: 1200px) and (max-width: 1260px) {
     .header_adjust { padding-top:145px; padding-bottom:160px; }
}