/*
Theme Name: Ortho Global Health Theme
Description: Child theme for Divi
Author: NETIXY
Author URI: http://www.netixy.com
Template: Divi
Version: 1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  orthoglobalhealth
*/

/*
	colors:
		green:	#75c483
		blue:	#009ed4
*/

/* remove grey line under logo */
#main-header {
	-webkit-box-shadow:none !important;
    -moz-box-shadow:none !important;
    box-shadow:none !important;
}

/* remove grey line on the left of the sidebar */
#main-content .container:before { width: 0; } 

/* logo */
.et_header_style_centered #main-header .logo_container {
	height: 140px;
	margin: 16px 0;
}

.et_header_style_centered #logo {
	max-height: 100px !important;
}

.et_header_style_centered header#main-header.et-fixed-header .logo_container {
    display: none;
}

.et_fixed_nav #et-top-navigation {
	margin-top: 10px;
}

/* header */ 
#top-header #et-info {
	width: 100%;
}

#top-header #et-info h1 {
	color: #fff;
	font-size: 16px;
	text-align: center;
	padding: 0;
	line-height: 1.2em;
}

/* menu */
#top-menu li li a {
    padding: 6px 6px !important;
}

/* default color */
#et_search_icon:hover, .mobile_menu_bar:before, .et-social-icon a:hover, .comment-reply-link, .form-submit input, .entry-summary p.price ins, .wp-pagenavi span.current, .wp-pagenavi a:hover, .et_password_protected_form .et_submit_button, .nav-single a, .posted_in a, #top-menu li.current-menu-ancestor > a, #top-menu li.current-menu-item > a, .bottom-nav li.current-menu-item > a, .footer-widget h4, h1 {
	color: #75c483;
}

/* forms */
.post-password-required .et_password_protected_form h1 {
    display: none;
}

.et_password_protected_form .et_submit_button:hover, .et_submit_button:hover {
    background-color: #009ed4 !important;
    color: #fff !important;
}

.et_password_protected_form p input {
	background-color: #eee;
	border: 1px solid #009ed4 !important;
}

.post-password-required .et_password_protected_form {
    min-height: 300px;
    width: 70%;
    margin: auto;
}

.et_pb_button_one {
    border-color: #fff;
    color: #fff!important;
}

/* supprime > après "Submit" */
.et_password_protected_form .et_pb_button:after, .et_password_protected_form .et_pb_button:before {
	content: none;
}

/* home slider */
/*
.home_slider .et_pb_slide_description {
	background-color: rgba(0,158,212,0.51);
	position: relative;
	top: 30%;
	padding-top: 30px !important;
	padding-bottom: 30px !important;
	height:auto !important;	
}
*/

.home_slider .et_pb_slide_description .et_pb_slide_title a {
	background-color: rgba(0,158,212,0.51);
	line-height: 210%;
	padding: 15px;
}

.home_slider .et_pb_slide_description .et_pb_button {
	border-color: #75c483;
	background-color: #75c483;
}	

.home_slider .et-pb-slider-arrows .et-pb-arrow-prev,
.home_slider .et-pb-slider-arrows .et-pb-arrow-next {
	background-color: rgba(0,158,212,0.51);
	border-radius: 24px;
	-webkit-border-radius: 24px; 
	-moz-border-radius: 24px; 
}

/* Large screens (1405px upwards) */
@media only screen and ( min-width: 1405px ) { 
	/* Set the slider height */
	.home_slider, .home_slider .et_pb_container {
		height: 680px !important; /* fullsize slider */
	}
	.home_slider, .home_slider .et_pb_slide {
		max-height: 680px !important; /* fullsize slider */
	}
	.et_pb_slide_description .et_pb_slide_title {
	    font-size: 55px !important;
	}
}

@media only screen and ( min-width:981px )  and ( max-width: 1404px ) {
	/* Set the slider height */
	.home_slider, .home_slider .et_pb_container {
/* 		height: 392px !important; */ /* 2/3 1/3 */
/* 		height: 346px !important; */ /* 3/4 1/4 */
		height: 587px !important; /* fullsize slider */
	}
	.home_slider, .home_slider .et_pb_slide {
/* 		max-height: 392px; */ /* 2/3 1/3 */
/* 		max-height: 346px !important; */ /* 3/4 1/4 */
		max-height: 587px !important; /* fullsize slider */
	}
}

/* Tablets in portrait mode (768-980px) */
@media only screen and ( min-width: 768px ) and ( max-width: 980px ) {
	/* Set the slider height */
	.home_slider, .home_slider .et_pb_container {
		height: 459px !important; /* fullsize slider */
	}
	.home_slider, .home_slider .et_pb_slide {
		max-height: 459px !important; /* fullsize slider */
	}
	.home_slider .et_pb_slide_description .et_pb_slide_title a {
		background-color: rgba(0,158,212,0.51);
		padding: 5px !important;
		line-height: 50px !important;
		font-size: 24px !important;
	}	
}

/* Smartphones in landscape mode (480-768px) */
@media only screen and ( min-width: 480px ) and ( max-width: 767px ) {
	/* Set the slider height */
	.home_slider, .home_slider .et_pb_container {
		height: 352px !important; /* fullsize slider */
	}
	.home_slider, .home_slider .et_pb_slide {

		max-height: 352px !important; /* fullsize slider */
	}
/* 	.et_pb_slide_description .et_pb_slide_title, */
	.et_pb_slide_description .et_pb_button {
	    font-size: 18px !important;
	}	
	.home_slider .et_pb_slide_description .et_pb_slide_title a {
		background-color: rgba(0,158,212,0.51);
		padding: 5px !important;
		line-height: 32px !important;
		font-size: 14px !important;
	}
}

/* Smartphones in portrait mode (0-479px) */
@media only screen and ( max-width: 479px ) {
	/* Set the slider height */
	.home_slider, .home_slider .et_pb_container {
		height: 225px !important; /* fullsize slider */
	}
	.home_slider, .home_slider .et_pb_slide {

		max-height: 225px !important; /* fullsize slider */
	}
/* 	.et_pb_slide_description .et_pb_slide_title, */
	.et_pb_slide_description .et_pb_button {
	    font-size: 18px !important;
	}	
/*
	.home_slider .et_pb_slide_description {
		top: 15%;
	}
*/
	
	.home_slider .et_pb_slide_description .et_pb_slide_title a {
		background-color: rgba(0,158,212,0.51);
		padding: 5px !important;
		line-height: 32px !important;
		font-size: 14px !important;
	}
}

/* photo caption (text module) */
.photo_caption p {
	font-style: italic!important;
    font-size: 12px!important;
    line-height: 16px!important;
    text-align: center!important;
}

@media (min-width: 981px) {
	.photo_caption p {
		text-align: left!important;
	}
}

/* ajustement sur le texte */
#main-content h1 {
	font-size: 40px;
}

.et_pb_text p {
	font-size: 16px;
	line-height: 1.7em;
	text-align: justify;
}

.em_introduction_inquiry p {
	font-size: 24px;
}

/* footer */
#main-footer {
    background-color: transparent;
}

#footer-widgets .footer-widget li a:hover {
    color: #009ed4;
/*     text-decoration: underline; */
}

#footer-info {
	float: none;
	text-align: center;
}

.et_pb_widget a {
    color: #75c483;
    text-decoration: underline;
}

/* Contact Form 7 */
.wpcf7-text, .wpcf7-textarea, .wpcf7-captchar, .wpcf7-select {
	background-color: #eee !important;
	border: none !important;
	width: 100% !important;
	-moz-border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
	border-radius: 0 !important;
	font-size: 14px;
	color: #999 !important;
	padding: 16px !important;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.wpcf7-select {
	height: 49px;
}

.wpcf7-submit {
	color: #2EA3F2 !important;
	margin: 8px auto 0;
	cursor: pointer;
	font-size: 20px;
	font-weight: 500;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	padding: 6px 20px;
	line-height: 1.7em;
	background: transparent;
	border: 2px solid;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-moz-transition: all 0.2s;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}

.wpcf7-submit:hover {
	background-color: #75c483;
	border-color: #75c483;
	color: #fff!important;
	padding: 6px 20px !important;
}

.wpcf7-mail-sent-ok {
    border-color: #009ed4!important;
    color: #009ed4;
}

/* Gravity form */
/*
.gform_wrapper input[type=submit], .gform_wrapper input[type=button] {
    background-color: #EFEFEF;
    border: 1px solid #ccc;
    color: #333!important;
    font-weight: normal;
    text-shadow: 0 1px 1px #fff;
    background-image: url(http://wp1.rocketgenius-dev.com/wp-admin/images/white-grad.png);
    background-repeat: repeat-x;
    background-position: bottom;
    padding: 4px 8px;
    line-height: 1.4;
    font-size: 14px!important;
    margin: 0 0 0 5px;
    -moz-border-radius: 4px;
    -khtml-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25);
}

.gform_wrapper .gfield_label {
	margin-bottom: 0 !important;	
}

.gform_wrapper .gfield {
	margin-bottom: 10px;	
}
*/

