/*
Theme Name: Algarve
Theme URI: http://www.agence-geode.fr
Author: Géode Communication
Author URI: http://www.agence-geode.fr
Description: Thème enfant pour Algarve in the box
Template: gecko
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/

/* RESET THEME */
h1,h2 {
  font-family: "bebas-neue", "Helvetica", sans-serif !important;
  }

h2.section-title{display: inline-block;position: relative;}
h2.section-title:after{
    content: "";
    position: absolute;
    left: 0;
    display: block;
    height: 1px;
    width: 25%;
    background: #f68e56;
}
.jas-branding{padding: 0;}
.fa-envelope-o{font-size: 24px !important;}

.vc_general.vc_cta3.vc_cta3-color-orange.vc_cta3-style-outline{border-color: #f68e56 !important;}
.vc_general.vc_cta3.vc_cta3-color-orange.vc_cta3-style-outline .vc_cta3-content-header{color: #f68e56 !important;}
.vc_btn3.vc_btn3-color-orange.vc_btn3-style-flat, .vc_btn3.vc_btn3-color-orange.vc_btn3-style-flat, .vc_btn3.vc_btn3-color-orange, .vc_btn3.vc_btn3-color-orange{background-color:#f68e56 !important;}

nav{
    font-family: "Source Sans Pro",sans-serif;
}

nav ul li a{
    font-size: 1.1em;
    letter-spacing: 2px;
}
.jas-menu > li > a{letter-spacing: 2px;}

/* HEADER */
.header__top, .bandeau-azulejos{
    background: url('https://algarveinthebox.fr/wp-content/uploads/2017/07/background-azulejos-opacite-20.png');
    background-size: 8%;
    background-position: center;
}
.bandeau-azulejos{background-size: 15%;}
.vc_custom_1499171661264{background-size: 32% !important;}
.header-text{line-height: 24px;}

/* META SLIDER */
@media (min-width:1440px){

    .metaslider .flexslider .caption-wrap{
        background: transparent;
        height: 650px;
        line-height: 650px;
    }
    .metaslider .flexslider .caption-wrap .caption{
        line-height: normal;
        right: 0;
        padding: 60px 30px;
        background: rgba(240,127,51,.9);
        width: 30%;
        left: 78%;
    }

    .metaslider .flexslider .caption-wrap .caption a{
        background: #fff;
        padding: 15px 30px;
        font-size: 1.5em;
    }

    .metaslider .flexslider .caption-wrap .caption a:hover{
        background: #1e537d;
        color: #fff;
    }

    .metaslider .flexslider .caption-wrap .caption a span{
        position: absolute;right: -20px;top:-20px;background: #fff;border-radius:100px;width: 80px;height: 80px;line-height: 80px !important;
    }
    .metaslider .flexslider .caption-wrap .caption a:hover span{background:#1e537d}

    .metaslider .flexslider .caption-wrap h2{
        font-family: "bebas-neue", sans-serif;
    }
}

.vc_video-bg-container{font-size: 1.2em;}

/* WIDGETS */
#text-3{margin-top: 30px;font-size: .9em;}
footer{text-align: left;}

/* BOX DU MOIS */
.text-center{text-align: center;}
a.text-center{display: inline-block;width: 100%;text-align: center;}
.contour-box{
    background: url('https://algarveinthebox.fr/wp-content/uploads/2017/07/Digital-Paper-Tavira-Tiles-07-web.png');
    background-size: 50%;
    background-position: initial;
    padding: 30px;
}

.contour-box .vc_column-inner{background: white;width: calc(100% - 60px) !important;}
.stock-restant{text-align: center;font-size: 3em;}
.stock-unit{color: #1e537d;}

/* PRODUITS & WOOCOMMERCE */
h1.product_title.entry-title{font-size: 1.5em;}
.produit-centre .jas-col-sm-4{margin: 0 auto;}
.tax-product_cat .product_cat-box-a-venir{opacity: .5;}
.countdown .jas-col-sm-4{width: 100%; max-width: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;}
.countdown .price{display: none;}
.product-title a{font-size: 1.3em;}
div.summary.entry-summary.mb__80{padding-top: 60px;}
.cols-1col .jas-col-md-6{
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%;}
.product-image{max-height: 320px;overflow: hidden;}

.prochaineBox{
    background: #f9f9f9;
    border: 1px solid #f07f33;
    padding: 15px 30px;
    text-align: center;
}

p.product.woocommerce.add_to_cart_inline .button{
    display: block;
    width: 100%;
    text-align: center;
    padding: 20px 15px;
    line-height: 40px;
    height: auto;
    margin-top: 30px
}

/* BOUTONS CUSTOM */
.btn-aitb{padding: 30px;}
.btn-center{margin: 0 auto;width: 80%;display: block;}
.btn-block{margin: 0 auto;width: 100%;display: block;}

.tarifs-boutons .lead{text-align: left;letter-spacing: 0;}
.tarifs-boutons .sub-title{font-style: normal;font-family: "Source Sans Pro";}
.tarifs-boutons .wpb_column:nth-child(2){border-left: 1px solid #EFEFEF;}
.tarifs-boutons .wpb_column{padding-top: 0 !important;}
.tarifs-boutons .wpb_column:nth-child(2), .tarifs-boutons .wpb_column:nth-child(3){border-right: 1px solid #EFEFEF;}
.tarifs-boutons .vc_column-inner h4:nth-child(2n){background:#F9F9F9;}
.tarifs-boutons .vc_column-inner h4{padding: 10px 15px;font-size: 18px;}
.tarifs-boutons .amount{padding-left: 15px;font-size: 1.5em;color: #f07f33}

.vc_icon_element + .prochaineBox{background: transparent;border: 0;padding: 0;text-align: left}

/* GENERAL TYPOGRAPHIE */
body{text-align: justify;}
.blanc{color: #fff;}
.orange{color: #f07f33;}
.bleu{color: #1e537d;}
.ffw .cd, .ffw .price, .ffw h2, .ffw h3, .ffw .product-title, .ffw{color:#fff;}
hr{
    border-top: 0;
    border-bottom: 1px solid #F3F3F3;
    margin: 30px 0;
}

/* AUTRES CLASSES */
.orange{color:#f68e56;}
.orange a{color:#f68e56;}
.jas-menu > li.orange > a{color:#f68e56;font-weight: 700;border-bottom: 1px solid #f68e56;}

.cheminee{
    position: absolute;
    z-index: -1;
    top: -30px;
}


.badge span{top: auto;bottom: 15px;}
.wc-single-2 .woocommerce-tabs, .wc-single-3 .woocommerce-tabs{padding: 60px;background: #fff;}
.woocommerce-tabs{max-width: 1170px; margin: 0 auto;margin-top: 100px;}

.shop_table{border: 0;}
.cart-subtotal{display: none;}
/*
.product-type-subscription .woocommerce-Price-amount.amount{display: none;}
.subscription-details .woocommerce-Price-amount.amount{display: none;}
.subscription-price .woocommerce-Price-amount.amount{display: none;}
*/
.shop_table tr:nth-child(2n){background: #F9F9F9;}
.shop_table thead, .shop_table tr:nth-child(2n).recurring-totals{background: #1e537d;color: #fff;}
.shop_table thead th, .shop_table tr.recurring-totals th{color: #fff;}

form.cart table{border: 0;}
form.cart table td{border: 0;}
form.cart table tr:nth-child(2n){background: #F9F9F9;}

tr.product-type-grouped:hover,tr:nth-child(2n).product-type-grouped:hover, form.cart table tr.trActive {background: #f68e56;cursor: pointer}
tr.product-type-grouped:hover label, tr.product-type-grouped:hover .price, .trActive .price, tr.trActive label{color: #fff;cursor: pointer}
tr.product-type-grouped:hover .price del, .trActive .price del{color: #000;}

.btn-atc .cart:not(.variations_form){display: block;}
.btn-atc{width: 100%;}
.single-product .single_add_to_cart_button{height: 40px;margin: 0;margin-top: 10px;}
.single-product .product-type-grouped .single_add_to_cart_button{height: 60px;width: 100%;margin: 0;}

a.cw.chg{text-shadow: 0 0 3px #000;}
.grayScalePr .pr img{filter: grayscale(0%);-webkit-filter: grayscale(0%); -webkit-transition: all 300ms ease; transition: all 300ms ease; -webkit-transition : -webkit-filter 300ms ease}
.grayScalePr .pr:hover img{filter: grayscale(100%);-webkit-filter: grayscale(100%);}
.lead{font-size: 1.2em;color: #555;font-weight: 300;font-family: "Source Sans Pro",sans-serif;letter-spacing: .04em;text-align: justify}

/*.single-product .product_cat-box-du-mois .p-thumb{display: none;}*/
.single-product .product_cat-box-du-mois .pt__100{padding-top: 60px;}
.woocommerce h3.mt__60{margin-top: 60px;}

button{height: auto;}
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #fff;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #fff;
   opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #fff;
   opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    #fff;
}
::-ms-input-placeholder { /* Microsoft Edge */
   color:    #fff;
}

/* BLOG */
.inside-thumb, .jas-blog-slider .post-thumbnail > div{background: #1e537d;}
.blog .attachment-post-thumbnail {width: 30%;float: left;}
.blog .post .post-content{width: 70%;float: left;padding: 25px;}
.posts article{clear: both;max-height: 237px;overflow: hidden;}
.blog .mt__60{margin-top: 30px;}

input.submit-btn{width: auto;}

.jas-wc .page-head, .jas-wc-single .page-head{
    background-image: url('https://algarveinthebox.fr/wp-content/uploads/2018/09/Olives-maison-Portugal.jpg') !important;
    background-position: center;
}

/* STYLE MODAL */
.cf:before,
.cf:after {
  content:"";
  display:table;
}
.cf:after {
  clear:both;
}
.droite {
  float:right;
}
 
.oModal {
  position: fixed;
  z-index: 99999;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  opacity:0;
  -webkit-transition: opacity 400ms ease-in;
  transition: opacity 400ms ease-in;
  pointer-events: none;
}
 
.oModal.activeModal {
  opacity:1;
  pointer-events: auto;
}
 
.oModal.activeModal > div {
  margin: 10% auto;
  transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
}
 
.oModal > div {
  max-width: 600px;
  position: relative;
  margin: 1% auto;
  padding: 8px 8px 8px 8px;
  border-radius: 5px;
  background: #eee;
  transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
}
 
.oModal > div header,.oModal > div footer {
  border-bottom: 1px solid #e7e7e7;
  border-radius: 5px 5px 0 0;
}
.oModal .footer {
  border:none;
  border-top: 1px solid #e7e7e7;
  border-radius: 0 0 5px 5px;
}
 
.oModal > div h2 {
  margin:0;
}
 
.oModal > div .btn {
  float:right;
}
 
.oModal > div section,.oModal > div > header, .oModal > div > footer {
  padding:15px;
}

.cb.tumblr{display: none;}

@media (min-width:980px) and (max-width:1200px){
    .jas-menu > li > a{letter-spacing: 1px;}
    .jas-menu > li:not(:first-child){margin-left: 20px;}
}

@media (max-width: 480px){
    
}

.earlybird::after{
    background: transparent;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #999;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #999;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #999;
}
:-moz-placeholder { /* Firefox 18- */
  color: #999;
}

.in-stock{display: none;}

.signup-newsletter-form.dib{width: 90%;margin: 0 auto;display: block;}
.mailing-top-home input[type="email"]{
    border: 1px solid #1e537d;
    width: 68%;
}
.mailing-top-home input[type="submit"]{
    width: 30%;
    border-radius: 0;
    height: 40px;
    top: 0;
    right: 0;
    margin-left: 5px;
}

.term-boutique-algarve .product-category h2{
    width: 100%;
    top: auto;
    bottom: 0;
    background: rgba(255,255,255,.9);
    padding-bottom: 40px;
}

.product-category h2:before, .product-category h3:before{
    content: 'Voir les produits';
}

.product-category h2:lang(en):before, .product-category h3:lang(en):before{
    content: 'Shop now';
}

.product-category h2:lang(pt):before, .product-category h3:lang(pt):before{
    content: 'Shop now';
}

.product-category h2:after, .product-category h3:after{
    left: 160px;
}

.slick-initialized .slick-slide{
/*
    max-height: 320px;
    overflow: hidden;
*/
}

.home .slick-slide{
    max-height: 600px;
}

.woocommerce-message{
    background: #f68e56;
    border-color: #f68e56;
    color: #fff;
}
.woocommerce-info{
    background: #1e537d;
    border-color: #1e537d;
    color: #fff;   
}

#jas-header .vc_btn3-container{
    margin-bottom: 0;
}

#woocommerce-coupon-data ul.wc-tabs, #woocommerce-product-data ul.wc-tabs, .woocommerce ul.wc-tabs{
    width: 100% !important;
}
#woocommerce-coupon-data ul.wc-tabs li, #woocommerce-product-data ul.wc-tabs li, .woocommerce ul.wc-tabs li{
    width:20% !important;
    float: left !important;
}

.wc-single-1 .wc-tab{padding-top: 90px !important;}
#woocommerce-coupon-data ul.wc-tabs li a::before, #woocommerce-product-data ul.wc-tabs li a::before, .woocommerce ul.wc-tabs li a::before{
    display: none !important;
}

.jas-menu > li:not(:first-child){
    margin-left: 30px;
}

.cart .product-thumbnail img{
    max-width: 40%;
}

.anr_captcha_field{
    clear: left;
}

.actions .coupon button, .actions .button.update-cart,.shipping-calculator-form input, .shipping-calculator-form button{
    padding: 15px;
}
#place_order{
    font-size: 1.2em;
    padding: 30px;    
}

.woocommerce-page .woocommerce{margin-top: 0;}
.woocommerce-info, .woocommerce-error, .woocommerce-warning, .woocommerce-message{margin-top: 0;}

#hero{
    min-height: 400px;
}

.hide-phone{
    display: block;
}

@media (max-width:468px){
    .hide-phone{
        display: none !important;
    }
    .products .jas-col-xs-12{
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        max-width: 100%;
    }
}

form .quantity.hidden + input[type="hidden"] + .single_add_to_cart_button, form .quantity.hidden + .single_add_to_cart_button{
    padding: 30px;
}

.product-quickview .single_add_to_cart_button{
    padding: 30px;
}

.jas-masonry .woocommerce .product-category h2, .jas-masonry .product-category h2, .jas-masonry .woocommerce .product-category h3, .jas-masonry .product-category h3{
    color: #fff;
    font-size: 1.2em;
    display: block;
    text-align: center;
    background: #1e537d;
    width: 90%;
    padding: 10px;
}

.badge .sold-out{background: #F30;}

#woocommerce_product_search-2 .woocommerce-product-search{
    display: block !important;
}
#woocommerce_product_search-2 .woocommerce-product-search input{
    width: 80% !important;
    height: 50px !important;
}

.product-category a h2:after, .product-category a h3:after{
    display: none !important;
}

#breadcrumbs{
    text-align: center;
    padding-top: 10px;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Sendinblue */
div.sib-form {
    padding: 0px 0px !important;
    margin: 0px !important;
}

#sib-container {
    padding: 0px 0px !important;
    margin: 0px !important;
}