/**
* 2006-2020 THECON SRL
*
* NOTICE OF LICENSE
*
* DISCLAIMER
*
* YOU ARE NOT ALLOWED TO REDISTRIBUTE OR RESELL THIS FILE OR ANY OTHER FILE
* USED BY THIS MODULE.
*
*  @author    THECON SRL <contact@thecon.ro>
*  @copyright 2006-2020 THECON SRL
*  @license   Commercial
*/

@import "custom.css";

.in-stock{
    background: #169d73;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}

body {
    position: relative;
}

img {
    max-width: 100%;
}

.sub-category-products {
    margin-bottom: 50px;
}

#toTop {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 18px;
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: none;
}

.loader.more {
    border-width: 10px !important;
    top: auto !important;
    width: 45px;
    height: 45px;
    bottom: 8px;
    border-top: 16px solid #2E274E;
    border-bottom: 16px solid #2E274E;
}

.main-tabs-content {
    position: relative;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.top-box {
    position: relative;
}

.sub-categories .nav-item.active a, .sub-categories .nav-item a.active {
    color: #000;
    font-weight: bold;
}

.out-of-stock {
    position: absolute;
    top: 50%;
    transform: translatey(-50%);
    width: 80%;
    margin-left: 10%;
    opacity: 0.8;
}

.product-discount {
    position: absolute;
    top: 10px;
    width: 100%;
}

header nav.navbar {
    position: relative;
    top: 77px;
}

.main-tabs-content{
    top: 40px;
}

.top-banner {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#countdown {
    background-color: rgba(1,1,1,0.6) !important;
    color: #333333;
    border: 1px solid #169d73;
    width: 300px;
}

/*.out-of-stock {
    background: rgb(173 66 0 / 60%);
}
*/
/*.top-banner header {
    height: 260px;
}*/

.nav-tabs{
    border-bottom: 0;
}

.one_row {
    height: 1.5em;
    overflow: hidden;
}

.two_rows {
    height: 3em;
    overflow: hidden;
}

.three_rows {
    height: 4.5em;
    overflow: hidden;
}

.product_title {
    font-size: 15px;
}

.main-menu {
    min-height: 42px;
}

div#countdown p {
    font-size: 30px;
    line-height: 30px;
}

.products {
    /* dark campaign background behind the product list; the cards stay white */
    background-color: #0E0F0E;
    min-height: 450px;
}

article.product_block {
    background-color: #fff;
}

.sub-categories {
    background-color: #fff;
}

.btn-link:hover {
    text-decoration: none;
}

.sub-title {
    padding: 9px 15px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.sub-categories .btn-link {
    display: block;
    text-align: left;
    color: #000;
}
.sub-categories .btn-link:hover {
    color: #595959;
}

section#main-section {
    padding-bottom: 200px;
    padding-top: 40px;
}

.nav-tabs .nav-link {
    background-color: #F3F3F3;
    color: #000000;
    border-color: #F3F3F3;
}

.cart-wrapper {
    background: #ffffff;
}

.cart-wrapper a {
    color: #000000;
}

.subfixed {
    position: fixed;
    top: 50px;
}

.btn-link.focus, .btn-link:focus {
    text-decoration: none;
}

.logo-image {
    max-width: 150px;
}

.header_banner img {
    width: 80%;
    margin: auto;
    padding-top: 15px;
}

.top_menu ul {
    padding: 0px;
    width: 100%;
    text-align: center;
    margin-top: 40px;
}

.top_menu ul li {
    display: inline-block;
    background-color: #ffffff;
    margin: 10px;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    width: 10%;
}

.top_menu ul li p {
    margin: 0;
}

.top_menu ul li img {
    width: 50px;
    margin-bottom: 10px;
}

.main .left_column #subcategory_list {
    background-color: white;
    border-radius: 5px;
    padding: 10px 30px;
}

.footer p {
    margin-bottom: 0;
}

.main .left_column #subcategory_list ul {
    padding: 0;
    list-style-type: none;
}

.main .left_column #subcategory_list ul li {
    padding: 5px;
    font-weight: 600;
}

.main .left_column #subcategory_list ul li:hover {
    background-color: lightgrey;
}

.main .left_column #subcategory_list ul li a {
    color: black;
}

.main .left_column #subcategory_list h3 {
    text-align: center;
}

.main .center_column .subcategory_content {
    background-color: black;
}

.main .center_column .subcategory_title {
    color: red;
    text-align: center;
    padding: 10px;
}

.main .center_column .item .product_description .product_title {
    font-size: 1rem;
    text-align: center;
    margin-top: 10px;
}

a:hover {
    text-decoration: none;
}

.item {
    margin-bottom: 30px;
}

.item .thumbnail img {
    width: 100%;
}

.cart-wrapper {
    width: 65px;
}

.cart-wrapper svg {
    width: 16px;
    height: 16px;
}

.cart-total {
    font-weight: bold;
}

.item .product_description .original_price .inner_original {
    color: white;
}


.item .special_label {
    background-color: red;
    padding: 20px 15px;
    border-radius: 50%;
    float: right;
}

.item .special_label .special_label_text {
    color: white;
}

.item .product_cart .add_to_cart i {
    padding: 5px 20px 5px 10px;
    background-color: white;
    border-top-right-radius: 30px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    color: red;
    font-size: 1.2rem;
}

.active-mobile {
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
    background: #fff;
}

.c-item {
    min-width: 35px;
}

.mobile-header .nav-tabs .nav-link {
    font-size: 24px;
    font-weight: bold;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    border: none;
}

.sub-item .sub-link {
    font-size: 20px;
    color: #fff;
    line-height: 40px;
}

section.mobile-header {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: #000;
    padding: 35px 15px;
    z-index: 9999;
    overflow-y: auto;
}

.mobile-head .close {
    position: absolute;
    top: 5px;
    right: 10px;
    color: #fff !important;
    z-index: 1;
    font-size: 30px !important;
}

.mobile-header .nav-tabs .nav-item {
    background-color: transparent;
    color: #000000;
    border-color: #fefefa;
    border-bottom: 1px solid #ababab;
    margin-bottom: 0;
    padding-bottom: 0 !important;
}

.sticky-cat span {
    display: inline-block !important;
}

.mobile-header ul.nav.nav-tabs {
    border-bottom: 0;
}

.sticky-cat.bottom-menu {
    position: fixed;
    z-index: 9;
    bottom: 20px;
    text-align: center;
    left: 0;
    right: 0;
    display: none;
}

.sticky-cat .choose-cat {
    opacity: 0.9;
    box-shadow: 0 0 6px 0 rgba(1,1,1,.3);
    padding-top: 9px;
    padding-bottom: 9px;

}

.flying_image {
    border-radius: 1000px;
    border: 2px solid #f2f2f2;
    position: absolute;
    z-index: 200;
}

.go-to-category a {
    min-width: 50%;
    display: inline-block;
    margin-bottom: 40px;
    margin-top: -10px;
    font-weight: bold;
}

.mobile-add-cart {
    display: none;
}

.header.top-banner .container {
    padding: 0;
}

/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/

/*==========  Mobile First Method  ==========*/

/* Phones Portrait */
@media only screen and (min-width : 320px) and (max-width : 479px) {
    .product_prices {
        min-height: 50px;
    }
    .product_prices span {
        display: block;
    }
}

/* Phones Landscape */
@media only screen and (min-width : 480px) and (max-width : 767px) {

}

/* Phones Portrait and Landscape */
@media only screen and (min-width : 320px) and (max-width : 767px) {
    .logo {
        margin-bottom: 35px;
    }

    .back-main {
        background: #fff;
        border:1px solid #169d73;
    }

    body:not(.scrollspy-active) .sub-categories .nav-item a.active {
        font-weight: normal;
        background: #da0008;
        color: #fff;
    }

    .sub-categories .nav-item a {
        font-size: 20px !important;
        padding: 2px 15px !important;
    }

    body.scrollspy-active .sub-categories .nav-item a.active,
    body.scrollspy-active .sub-categories .nav-item.active a {
        font-weight: normal !important;
    }

    nav.sub-categories .nav {
        flex-wrap: nowrap;
        overflow-y: scroll;
    }

    .sub-categories {
        width: 100% !important;
        position: static !important;
        border: 1px solid #169d73;
        margin-bottom: 20px !important;
        margin-top: 5px !important;
    }

    section#main-section {
        padding-top: 30px;
        padding-bottom: 45px;
        min-height: 55vh;
    }
    #countdown{
        width: 100%;
    }

    #main-section > .container {
        max-width: 100%;
    }

    header {
        padding-bottom: 15px;
    }

    .top-banner header {
        height: 220px !important;
    }

    div#countdown {
        margin-bottom: 0px;
    }

    .main-tabs-content{
        top: 12px;
    }

    .desktop-countdown {
        display: none !important;
    }

    .top-header {
        flex-direction: none;
        margin-top: -27px;
    }

    .active-mobile .main-tab.show.active {
        display: block !important;
    }

    #toTop {
        bottom: 30px;
        right: 15px;
        padding: 10px 18px;
    }

    .mobile-add-cart {
        display: inline-block;
    }

    .desktop-add-cart {
        display: none;
    }
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) and (max-width : 991px) {

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) and (max-width : 1199px) {

}

/* Small and Medium Devices */
@media only screen and (min-width : 768px) and (max-width : 1199px) {
    .top-banner {
        background-size: cover;
        height: auto;
    }

    .bottom-menu {
        display: none !important;
    }

    .mobile-countdown {
        display: none !important;
    }

    .back-main {
        display: none !important;
    }

    .main-menu .fixed {
        position: fixed;
        top: 0;
        z-index: 9999;
        width: 100%;
        max-width: 690px;
        box-shadow: 0 0 5px 0 rgba(0,0,0,0.75);
    }

    .nav-tabs.fixed .nav-item {
        flex: 1 1 auto;
        text-align: center;
    }
    .back-to-site.mt-auto.d-flex.justify-content-between,
    .top-header.mb-auto.d-flex.justify-content-between.align-items-center {
    width: 100%;
}
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
    .mobile-countdown {
        display: none !important;
    }

    .back-main {
        display: none !important;
    }

    .main-menu .fixed {
        position: fixed;
        top: 0;
        z-index: 9999;
        width: 100%;
        box-shadow: 0 0 5px 0 rgba(0,0,0,0.75);
    }

    .nav-tabs.fixed .nav-item {
        flex: 1 1 auto;
        text-align: center;
    }

    .bottom-menu {
        display: none !important;
    }
}

button#toTop {
    border: 2px solid;
    z-index: 1000;
}

.cart_message {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(1,1,1,0.5);
    top: 0;
    left: 0;
    z-index: 99999999;
    display: none;

}

p.success,
p.error{
    position: absolute;
    width: 100%;
    top: 50%;
    background: #2e7734;
    padding: 20px;
    text-align: center;
    color: #FFF;
    font-size: 20px;
    display: none;
}

p.error{
    background: #a21919;
}

a.active {
    cursor: progress;
}

/*p.title_subcat {
    padding: 10px 0px 0px 10px;
    margin: 0;
}

ul.nav.flex-column {
    margin-top: 5px;
}*/

.sticky-cat.bottom-menu{
    z-index: 1000;
}

.cart_message a {
    position: relative;
    top: 63%;
    left: 46%;
    background: #F11014;
    padding: 20px;
    color: #FFF;
}


/* Small and Medium Devices */
@media only screen and (min-width : 768px) and (max-width : 1199px) {
    .top-banner header {
        height: auto !important;
    }
    .desktop-menu .nav-tabs .nav-item {
    background-color: #ffffff;
    color: #333;
    width: 25%;
    border: 1px solid #FF0000 !important;
}
.nav-tabs .nav-item {
    margin-bottom: -1px;
    margin-right: -1px;
    margin-left: -1px;
    margin-top: -1px;
}

nav.sub-categories.p-3.subfixed {
    margin-top: 200px;
    max-height: 55%;
    overflow: scroll;
}

article.product_block .product_button{
    font-size: 12px;
}
}

@media only screen and (min-width: 320px) and (max-width: 767px){
.logo{
    display: none;
}

.top-banner header {
    height: 220px;
    padding-bottom: 0px;
}

.top-header {
    margin-top: -14px;
    margin-left: 78px;
}

}

@media only screen and (min-width : 768px){
    a#tab-15{
        font-size:18px;
    }
    #th-back.back-to-site{
        bottom: 170px;
    }
    /*#th-back.back-to-site a{*/
    /*    padding: 5px 15px;*/
        
    /*}*/
}
@media only screen and (min-width: 320px) and (max-width: 767px){
    #th-back.back-to-site{
        bottom:147px;
    }
    /*#th-back.back-to-site a{*/
    /*    padding: 4px 15px;*/
    /*}*/
}
#th-back.back-to-site{
    position: absolute;
}
#th-back.back-to-site a{
    color:#fff;
    font-size: 18px;
    background-color:#1EAF93;
    font-family: 'Poppins-Regular';
    padding:.25rem .5rem;
}
.back-to-site a.back, .back-to-site .cart-wrapper, .back-to-site .cart-wrapper a{
    color: #fff;
    background-color: #1EAF93;
    border-color: #1EAF93;
    font-size:18px;
}
/* hover for "Catre site" (top + bottom) and the cart button; selectors are stronger than the inline style.tpl rules */
body.flash-sales #th-back.back-to-site a:hover,
body.flash-sales .back-to-site a.back:hover,
body.flash-sales .back-to-site .cart-wrapper:hover,
body.flash-sales .back-to-site .cart-wrapper:hover a{
    color: #0E0F0E;
    background-color: #9CD967;
    border-color: #9CD967;
    text-decoration: none;
}
@media only screen and (min-width: 768px){
    body #main-section .back-to-site{
        margin-top: 70px!important;
    }
    /*.flash-sales.id-6 .top-banner header {
        height: 230px !important;
    }*/
}
@media only screen and (max-width: 767px){
    .flash-sales.id-6 .top-banner header {
        height: 400px !important;
    }
}

/* Campaign rules link (footer) */
.campaign-rules a,
.campaign-rules a:hover{
    color: #9CD967;
}

/* Discounted price in product cards (the color comes from the landing settings, c_price in style.tpl) */
body.flash-sales article.product_block .product_prices .price.st_discounted_price{
    font-size: 22px;
    font-weight: 700;
}

/* Discount label */
body.flash-sales .product-discount .discount-amount{
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    padding: 4px 12px !important;
}

@media only screen and (max-width: 767px){
    body.flash-sales article.product_block .product_prices .price.st_discounted_price{
        font-size: 20px;
    }
    body.flash-sales .product-discount .discount-amount{
        font-size: 15px;
        padding: 3px 9px !important;
    }
}
