/* LICENSE & DETAILS
   ==================================================

	Theme Name: Senteurs d'Angkor theme
	Description: Based on the the Atelier theme
	Template: atelier
	Version: 1.0
	Author: Geekho (Cambodia)
	Author URI: geekho.asia

	All files, unless otherwise stated, are released under the GNU General Public License
	version 3.0 (http://www.gnu.org/licenses/gpl-3.0.html)

   ==================================================
*/


/******************************************************************************
 Fluent forms button
******************************************************************************/
#fluentform_3 .ff-btn-submit, #fluentform_5 .ff-btn-submit {
	background-color: #264F45 !important;
	font-family: Roboto, serif !important;
	font-weight: 500 !important;
	font-size: 15px !important;
	border: none !important;
}

#fluentform_3 .ff-btn-submit:hover, #fluentform_5 .ff-btn-submit:hover {
	background-color: #96C34F !important;
	color: white !important;
}

#fluentform_5 .ff-el-tooltip svg {
	fill: #264F45 !important;
}
/******************************************************************************
 Page header
******************************************************************************/

/*
 Main menu (desktop menu)
*/
nav#main-navigation {
  margin-top: 15px;
}

#mobile-menu a[title='our-shop'] {
  display: none;
}

#main-navigation a[title='our-shop'] {
  text-transform: uppercase;
  color: #000 !important;
  font-weight: 600;
  cursor: default;
  pointer-events: none;
  position: absolute;
  top: -27px;
  width: 150px;
  font-size: 75%;
}

#main-navigation a[title='shop-menu-first']:before,
#main-navigation a[title='shop-menu']:before,
#main-navigation a[title='shop-menu-last']:before {
  content: ' ';
  border-top: 1px solid #000;
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: -2px;
}

#main-navigation a[title='shop-menu-first']:before {
  left: 15px;
}

#main-navigation a[title='shop-menu-last']:before {
  right: 15px;
}

/* reduce top margin for shop menu items (so the links don't extend into the "Our Shop" heading above) */
#main-nav li.menu-item.menu-item-object-product_cat {
  margin-top: 18px;
}

#main-nav li.menu-item.menu-item-object-product_cat > a {
  padding-top: 5px;
}

.header-2 .is-sticky #main-nav .menu-right .header-search-link > i {
  margin-top: 4px;
}

.header-search-link > i.sf-icon-search {
    color: #222;
}
.header-search-link:hover > i.sf-icon-search {
    color: #8bb600;
}

/*
 Language bar (desktop menu)
*/
#header .aux-languages img,
#main-nav .aux-languages img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}
#header .header-right nav.std-menu ul.sub-menu.header-languages,
#main-nav ul.sub-menu.header-languages {
    left: -27px;
    min-width: 108px;
}
nav.std-menu ul.sub-menu > li > a,
nav.std-menu ul.sub-menu > li > div.current-language {
    padding: 10px 10px;
}
.aux-languages:hover > a:after {
    content: "\e60d";
    font-family: 'atelier';
    position: absolute;
    bottom: 10%;
    left: 50%;
    margin-left: -6px;
    height: 15px;
    line-height: 15px;
    font-size: 12px;
}
#main-nav .aux-languages:hover > a:after {
    bottom: -2px;
}

/*
 Language bar (mobile menu)
*/
ul.mobile-language-select {
    text-align: center;
    display: block;
}
ul.mobile-language-select li {
    float: none;
    display: inline-block;
}
ul.mobile-language-select li img {
    width: 24px;
    height: 24px;
}
ul.mobile-language-select li .language {
    display: inline;
    margin-left: 5px;
    line-height: 24px;
    vertical-align: middle;
}


/******************************************************************************
 Product archive page
******************************************************************************/

.add_to_cart_button i.sf-icon-tick {
    padding-left: 5px;
}
.product .cart-overlay .shop-actions {
    min-height: unset;
    min-width: unset;
}
.has-one-sidebar .product figure .cart-overlay .shop-actions > a.price-link {
    display: none;
}
@media only screen and (min-width: 1200px) {
    .product .shop-actions .tooltip {
        display: none !important;
    }
    .product figure:hover .second-image:after {
        content: ' ';
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, .2);
        z-index: 10;
    }
    .product figure:hover .cart-overlay a[class*="product_type"] {
        width: 100%;
        height: auto;
    }
    .product figure .cart-overlay {
        right: 15px;
    }
    .product .cart-overlay .shop-actions {
        min-width: unset;
    }
    .product .cart-overlay .shop-actions .add-to-cart-wrap > a > span {
        display: inline-block;
        font-size: 12px;
        line-height: 18px;
        padding-left: 3px;
        vertical-align: text-bottom;
    }
    .woocommerce .product.mini-view figure .cart-overlay .shop-actions > .add-to-cart-wrap {
        width: 100%;
    }
    .product figure .cart-overlay a[class*="product_type"] {
        padding: 10px;
        text-align: center;
    }
}
@media only screen and (max-width: 1199px) {
    .product figure .cart-overlay a[class*="product_type"] {
        width: 30px;
        height: 30px;
        padding: 0;
        display: block;
        text-align: center;
        vertical-align: middle;
    }
    .product figure .cart-overlay a[class*="product_type"] i {
        line-height: 30px;
        font-size: 18px;
    }
    .product figure .cart-overlay .add-to-cart-wrap {
        width: 30px;
        height: 30px;
        border-radius: 5px;
        box-shadow: 0 0 3px rgba(0, 0, 0, .4);
    }
    .product figure .cart-overlay .add_to_cart_button i.sf-icon-loader {
        margin-top: 3px;
        line-height: 24px;
        display: inline-block;
        font-size: 18px;
    }
}


/******************************************************************************
 Single product page
******************************************************************************/

.woocommerce.single-product .product .product_title {
  font-size: 32px;
  line-height: 36px;
  padding: 8px 0;
}

.woocommerce.single-product div.summary-top {
  padding-bottom: 0;
}

.woocommerce.single-product .summary-top .product-navigation {
  display: none;
}


/******************************************************************************
 Misc. pages

******************************************************************************/
.header-2 .aux-item-social {
    padding-left: 35px ! important;
}
.header-right .aux-item {
    padding-left: 10px ! important;
    padding-right: 10px ! important;
}
.header-right .menu > li a {
    margin-top: 4px;
}
.header-right .menu > li.aux-languages a {
    margin-top: 3px;
}
.header-right .menu > li.menu-search a {
    margin-top: 7px;
}
nav.std-menu ul.sub-menu {
    border: 0;
    box-shadow: 0 0 0.2em #d0ccba;
}
/* Menu color modify */

nav.std-menu .menu > li > a {
    color: #aee300;
}
nav.std-menu .menu > li > a:hover {
    color: #000000 ! important;
}
/*nav .menu > li.current-menu-item > a {
    color: #aee300;
    font-weight: bold;
}*/
nav .menu ul.sub-menu li.menu-item > a {
    color: #000000;
}
nav .menu ul.sub-menu li.menu-item > a:hover {
    color: #aee300 ! important;
}
.social-icons .standard * {
    font-weight: 24px;
}
ul.social-icons.standard * {
    font-size: 20px;
}
/* 1.6. Language selection */

#header .aux-languages img {
    display: none;
}
.aux-item.aux-language ul.menu > li.aux-languages > a > span {
    display: inline;
    font-size: 0;
    line-height: 0;
    color: transparent;
}
.aux-item.aux-language {
    padding-left: 20px;
    padding-right: 10px;
}
li.parent.aux-languages > a > img[alt] +span:before {
    display: inline;
    font-size: 14px;
    font-weight: bold;
    line-height: 32px;
    vertical-align: middle;
    text-align: center;
    color: #000;
}
li.parent.aux-languages > a:hover > img[alt] +span:before {
    color: #8bb600;
}
li.parent.aux-languages > a > img[alt="en"] +span:before {
    content: 'EN';
}
li.parent.aux-languages > a > img[alt="fr"] +span:before {
    content: 'FR';
}
.std-menu > .menu .parent.aux-languages img[alt="en"],
.std-menu > .menu .parent.aux-languages img[alt="fr"] {
    display: none;
}
.fs-search-open .menu-search.parent {
    position: static;
}
.fs-search-open .sf-icon-search {
    position: absolute;
    right: 0;
    top: 15px;
    color: #000;
}
.fs-search-open a:hover .sf-icon-search {
    color: #8bb600;
}
/* Header menu (mobile) Modify color */

#mobile-menu ul li:hover > a {
    color: #aee300!important;
}
@media only screen and (max-width: 1024px) {
    .shopping-bag-item a > span.num-items {
        top: 57% ! important;
    }
}

.aux-item.aux-item-social > ul.social-icons > li a {
    color: #222;
}
.aux-item.aux-item-social > ul.social-icons > li a:hover {
    color: #fff;
}

select.orderby {
    padding: 0 35px 0 5px ! important;
    border-radius: 3px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, transparent 50%, #AAA 50%), linear-gradient(135deg, #AAA 50%, transparent 50%), linear-gradient(to top, #ddd, #fff);
    background-position: calc(100% - 15px) calc(50%), calc(100% - 10px) calc(50%), 100% 0 ! important;
    background-size: 5px 5px, 5px 5px, 30px 100%;
    background-repeat: no-repeat;
}
.header-2 .menu-right .aux-item {
    margin-left: unset ! important;
}
#mobile-menu ul li.shopping-bag-item > a span.num-items {
    right: 24px !important;
    line-height: 13px !important;
}