/*
 Theme Name:     divi Child Theme
 Theme URI:      http://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     http://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */

/* forced hide sidebar (mostly for search page) */
#left-area {
    width: 100%;
    padding-right: 0;
    /*text-align: justify;*/
    padding-top: 50px;
}
#main-content .container:before {
    display:none;
}

#logo {
    max-height: 80%;
}

#top-menu li.menu-item-language-current, .menu-item-language-current{
    display: none;
}

.custom_title_row
{
	height: 60px;
}

.custom_title_row h4
{
	padding-bottom: 0;
}

.et_pb_slides .et_pb_more_button.et_pb_button {color: #fff!important; border-color: #fff!important;}

.custom_title_row, .custom_text_row {position: relative;}
.custom_title_row .et_pb_text_inner, .custom_text_row .et_pb_text_inner {
    position: absolute;
  	top: 50%;
  	transform: translateY(-50%);
	padding: 0;
    width: calc(100% - 20px);
}

/*.custom_title_row h4
{
	position: absolute;
  	top: 50%;
  	transform: translateY(-50%);
	padding: 0;
}*/

.custom_text_row
{
	height: 60px;
	padding-left: 15px;
	padding-right: 15px;
}

/*.custom_text_row p
{
	position: absolute;
  	top: 50%;
  	transform: translateY(-50%);
}*/

.et_pb_with_background a {color: #cc3925!important;}

.custom_btn_row
{
	padding-left: 15px;
	padding-right: 15px;
}

.table-price td{text-align: center; padding: 4px!important}
.table-price table {border-collapse: collapse; width: 100%}
.table-price table tr:nth-child(1)/*, .table-price table tr:nth-child(2) */{font-weight: bold; font-size: 1.1em;}
.table-price table td {border: 1px solid #eee !important}

.form-reservation input[type="submit"] {background-color: #015e00!important; color: #fff!important; cursor: pointer;}
.form-reservation input[type="submit"]:hover {opacity: 0.7!important}
.form-reservation input[type="checkbox"] {display: inline-block!important}
.form-reservation .et_pb_row {width: 100%; margin-bottom: 1em;}

.edac-calendar .event span {background-color: #ff3a3a!important}
.edac-calendar .event span {color: #fff!important;}

/* *********************** woocommerce - reservation ***************  */
.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {width: 100%;}
.woocommerce-product-gallery {display: none;}
.entry-summary .price {display: none;}
.quantity {display: none;}
.product_meta {display: none;}
.woocommerce-breadcrumb {display: none;}

.msg-reserv {color: red; font-style:italic; font-size: 1.2em;}

/* ********************** planyo customization *********************** */
.et_pb_row.resource_list, .et_pb_row.resource_details {width: 100%;}
.planyo .resource_title a {font-weight: bold; font-size: 24px;}
.resource_text {line-height: 21px; margin-bottom: 20px;}
.resource_button_block {text-align: center;}
.resource_button_block .button:hover {opacity: 0.7;}
.resource_button_block .button:not(:last-of-type) {margin-right: 20px;}
span.lbimginfo {bottom: 2px!important; height: 40px!important; padding-bottom: 12px!important;}

.et_pb_row.resource_list:not(:last-of-type) {border-bottom: 2px solid #eee;}

/* resource details */
.et_pb_row.resource_details h1 {font-weight: bold; color: #015e00; text-align: center; margin-bottom: 20px;}
.resource_details .resource_img {margin-bottom: 20px;}

.resource_details .calendar_prev h3 {text-align: center; font-weight: bold; margin-bottom: 20px; margin-top: 20px; padding-top: 20px; border-top: 2px solid #eee;}

/* force planyo image viewer overlay index */
#bg_hider {z-index: 100000!important;}
#full_img_div{z-index: 100001!important;}

/* formulaire */
@media screen and (min-width: 980px) {
  .price_info_div .rate_err, .price_info_div #pr_err {font-size: 20px!important; line-height: 24px!important;}
  .planyo .planyo_static_help, .planyo .planyo_section_static_help {font-size: 15px!important; line-hheight: 18px!important;}
  div.float-label-parent label {font-size: 11px!important;}
  .planyo div.float-label-text-parent input, .planyo div.float-label-text-parent textarea {font-size: 15px!important;}
  form .phone-row .float-label-parent input[type='text'], form .phone-row .float-label-parent input[type='tel'] {width: 12em!important}
}


/* ******************** custom loder for form woocommerce ********* */
.lds-ring {
  /* change color here */
  color: #1f1f1f;
}
.lds-ring,
.lds-ring div {
  box-sizing: border-box;
}
.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid currentColor;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: currentColor transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ajax loading */
.ajax-overlay {
    display:    none;
    position:   fixed;
    z-index:    9999;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: red ;
    /*background: rgba( 255, 255, 255, .5 ) 
                url('images/ajax-loader.gif') 
                50% 50% 
                no-repeat;*/
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    /*overflow: hidden;  */ 
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .ajax-overlay {
    display: block;
}