/* Перекрываем переменные */
:root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #ca1517;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #0062bd;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Временные стили */

.product-essential {
    /*background-color: #cac7c7;*/
}
.cart-shipping_method {
/*    background-color: #A1040B;*/
}
.cart-payment {
/*    background-color: #2798bb;*/
}

.popover .price {
    color: red;
    font-weight: bold;
}
/* /Временные стили  */
/* Fonts */

@font-face{font-family:'Fira Sans';font-style:normal;font-weight:500;src:url(../fonts/FiraSans/firaSans-medium.eot);src:local("Fira Sans Medium"),local("FiraSans-Medium"),url(../fonts/FiraSans/firaSans-medium.eot?#iefix) format("embedded-opentype"),url(../fonts/FiraSans/firaSans-medium.woff2) format("woff2"),url(../fonts/FiraSans/firaSans-medium.woff) format("woff"),url(../fonts/FiraSans/firaSans-medium.ttf) format("truetype")}


/* All Pages */

html {
    height: 100%;
}
body > header {
    background-color: #fff;
}
@media (max-width: 767.98px) {
    body:not(.checkout-cart-index) > header {
        position: sticky;
        top: 0;
        z-index: 4;
        box-shadow: 0 0 6px #cccccc;
    }
}
@media (min-width: 768px) {
    body > header:after {
        content: "";
        width: 100%;
        height: 3px;
        display: block;
        position: absolute;
        left: 0;
        z-index: 1;
        background: -webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.15)),color-stop(1%,rgba(0,0,0,.15)),to(transparent));
        background: linear-gradient(180deg,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 1%,transparent);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#26000000",endColorstr="#00000000",GradientType=0);
    }
}
a.logo {
    display: block;
}
.logo,
.logo-block,
.logo-text {
    height: 100%;
}
.logo-block {
    display: flex;

}
.logo-min {
    background-image: url("../images/divescuba-logo-min.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 80px;
    width: 108px;
}
.logo-text {
    background-image: url("../images/divescuba-logo-text.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 100%;
    min-height: 50px;

}
@media (min-width: 768px) {
    .logo-block {
        display: flex;
        padding: 0.75rem 0.75rem;
    }
    .logo-min {
        background-image: url("../images/divescuba-logo-min.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;

        width: 108px;
    }
    .logo-text {
        background-image: url("../images/divescuba-logo-text.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        height: 80px;
        width: 100%;

    }
}
@media (min-width: 1200px) {
    .logo img {
        max-height: 90px;
    }
}
@media (max-width: 576px) {
    .time-service .service-center {
        background-color: rgba(10, 36, 106, 0.57);
    }
}
.service-center {
    background-color: white;
    color: black;
    line-height: 1;
    height: 100%;
}
.service-logo {
    padding: 0.75rem 0 0;
}
.service-logo img {
    max-height: 70px;
}
.service-img {
    flex-grow: 2;
    background-image: url(../images/suunto-core-regular-black.png);
    background-position: -60px -80px;
}
@media (max-width: 416px) {
    .service-center p {
        margin: 0;
    }
}

.header-line {

}
@media (min-width: 768px) {
    #sidebar .links {
        display: none;
    }
    header .links {
        padding: 6px;
        text-transform: uppercase;
        font-size: 0.7rem;
        font-weight: 500;
        text-align: right;
    }
    header .links > div {
        display: inline-block;
        margin-right: 10px;

    }
}

.cart-header {
    color: #015871;
    padding: 0;
    font-size: 2.5rem;
}

.cart-header:hover {
    color: #015871;
}
.cart-header .badge {
    position: absolute;
    top: 45%;
    left: 55%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
}
.cart-label {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    padding: 6px;
}
.cart-header-icon {
    width: 100%;
    height: 74px;
    background-image: url(../images/retail.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
/* search */
button[data-target="#searchModal"] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#search_mini_form input[type=text] {
    width: 130px;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
}

/* When the input field gets focus, change its width to 100% */
#search_mini_form input[type=text]:focus {
    width: 100%;
}
.onoffcanvas-toggler::after,
.onoffcanvas-toggler::before {
    border-color: #015871;
}

.main {
    padding-bottom: 2rem;
    border-bottom: 5px solid rgb(235,235,235);
}

footer {
    padding: 0.75rem;
    background: rgb(235,235,235);
    background: linear-gradient(180deg, rgba(235,235,235,1) 0%, rgba(235,235,235,1) 25%, rgba(255,255,255,1) 85%);
    margin-top: 3px;
}
footer .links {
    text-align: center;
    list-style: none;
    padding: 0;
}
footer .links li {
    display: inline-block;
    padding: 0 1rem;
}
footer .links a, footer .links a:hover  {color: #fff;}

.copy {
    color: #000;
    text-align: left;
}

.col-right {
    padding-top: 0.75rem;
}
@media (min-width:768px) {
    #sidebar {
        padding-top: 0.75rem;
    }

}

.breadcrumb {
    background: none;
    font-size: 0.75rem;
}

a {
    color: #077598;
}

a:hover {
    color: #076598;
}
h1, h2, h3, h4, h5, h6 {
    color: #077598;
    font-family: 'Fira Sans', sans-serif;
}
h1, .h1 {
    font-size: 1.8rem;
}

h2, .h2 {
    font-size: 1.4rem;
}

h3, .h3 {
    font-size: 1.3rem;
}

h4, .h4 {
    font-size: 1.25rem;
}

h5, .h5 {
    font-size: 1.2rem;
}

h6, .h6 {
    font-size: 1rem;
}

/* btn */
.btn-primary {
    color: #fff;
    background-color: #077598;
    border-color: #077598;
  }
  
.btn-primary:hover {
    color: #fff;
    background-color: #2798bb;
    border-color: #077598;
  }

.btn-primary:focus, .btn-primary.focus {
    color: #fff;
    background-color: #2798bb;
    border-color: #077598;
    box-shadow: 0 0 0 0.2rem rgba(6, 117, 152, 0.35);
}

  
.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #077598;
    border-color: #077598;
  }
  
.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #2798bb;
    border-color: #077598;
  }
  
.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(6, 117, 152, 0.35);
  }

.btn-outline-primary {
    color: #077598;
    border-color: #077598;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #2798bb;
    border-color: #077598;
}

.btn-outline-primary:focus, .btn-outline-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.btn-outline-primary.disabled, .btn-outline-primary:disabled {
    color: #077598;
    background-color: transparent;
}

.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: #077598;
    border-color: #077598;
}

.btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}


.btn-cart {
    color: #fff;
    background-color: #62A82C;
    border-color: #62A82C;
}

.btn-cart:hover {
    color: #fff;
    background-color: #72b142;
    border-color: #72b142;
}

.btn-cart:focus {
    box-shadow: 0 0 0 0.2rem rgba(48, 183, 123, 0.35);
}

.btn-cart.disabled, .btn-cart:disabled {
    color: #fff;
    background-color: #62A82C;
    border-color: #62A82C;
}

.btn-cart:not(:disabled):not(.disabled):active, .btn-cart:not(:disabled):not(.disabled).active,
.show > .btn-cart.dropdown-toggle {
    color: #fff;
    background-color: #62A82C;
    border-color: #62A82C;
}

.btn-cart:not(:disabled):not(.disabled):active:focus, .btn-cart:not(:disabled):not(.disabled).active:focus,
.show > .btn-cart.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(48, 183, 123, 0.35);
}

/* Pager */
.page-link {
    color: #077598;
}
.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #077598;
    border-color: #077598;
}

/* каталог */
.toolbar {
    align-items: flex-start;
}
.toolbar .btn {
    margin: 0 2rem 1rem 0;
}
.product-card .card-title>a {
    font-size: 1.5rem;
    text-decoration: none;
}

.add-to-links {
    list-style: none;
    padding: 0;
    text-align: center;
}

a.link-compare {
    white-space: nowrap;
}

.category-products {
    padding: 0 15px;
    margin: 0 -15px;
    background-color: #f8f9fa;
}
.catalog-category-view .category-products {
    margin-bottom: 1rem;
}
.category-description {
    margin-bottom: 1rem;
}

.card-footer {
    padding: 0.75rem 1.25rem;
    background-color:  transparent;
    border-top: none;
}

.product-name a {
    color: #bb221c;
}
.product-name a:hover {
    color: var(--red);
}
.cart .product-name a,
#cart-sidebar .product-name a {
    color: var(--gray-dark);
}

.price-box .price {
    color: #bb221c;
}
.price-box .old-price {
    color: var(--gray-dark);
}
.price-box .old-price .price {
    color: var(--gray-dark);
}
.minimal-price-link {
    display: block;
}
.card.configurable .price-box {
    display: inline-block;
}
table#product-attribute-specs-table {
    width: 100%;
    margin-bottom: 1rem;
}
table#product-attribute-specs-table td.data,
table#product-attribute-specs-table th.label {
    padding: 8px;
}

p.availability {
    margin-top: 1rem;
    font-weight: bold;
    padding-left: 8px;
}
p.availability span {
    font-weight: normal;
    margin-left: 1rem;
}
/* Product*/
.product-collateral .std,
.product-collateral .box-collateral {
    margin-bottom: 2rem;
}

.tooltip-inner {
    background-color: #fff;
    color: #000;
    border: 1px solid rgba(0, 0, 0, 0.5);
    box-sizing: content-box;
    box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.4);

}
.tooltip-inner .price {
    font-size: 1rem;
}
.bs-tooltip-top .arrow::before, .bs-tooltip-auto[x-placement^="top"] .arrow::before {

    border-top-color: rgba(0, 0, 0, 0.5);
}

@media (max-width:1199.98px) {
    #recently-viewed-items {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
        grid-gap: 15px;

    }

}
#recently-viewed-items {

}
#recently-viewed-items .product-name {
    overflow: hidden;
    text-overflow: ellipsis;
    flex-basis: 100%;
}
#recently-viewed-items img {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
}
#recently-viewed-items .item-grid {
    border: 1px solid rgba(0, 0, 0, 0.125);
    display: block;
    color: black;
    text-decoration: none;
    padding: 10px;
}
@media (min-width:1200px) {
    #recently-viewed-items .item-grid {
        border: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.125);
        padding: 10px 0;
    }

}
    /* user */
.registered-users,
.new-users {
    padding: 15px;
    margin-bottom: 36px;
}
.registered-users {
    background-color: #f0f8ff;
}
.box-account.box-recent {
    overflow-x: auto;
}
#my-tags-table {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    grid-gap: 15px;
}
#my-tags-table .card-footer {
    text-align: center;
}
/* effect */

a.product-image > img {
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform: scale(.95, .95);
    transform: scale(.95, .95);
}

a.product-image:hover img {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
}
.wave {
    background: linear-gradient(#ffffff 50%, rgba(255,255,255,0) 0) 0 0,
                radial-gradient(circle closest-side, #FFFFFF 53%, rgba(255,255,255,0) 0) 0 0,
                radial-gradient(circle closest-side, #FFFFFF 50%, rgba(255,255,255,0) 0) 55px 0 #48B;
    background-size:110px 200px;
    background-repeat:repeat-x;
}

.pulse {
    animation: radial-pulse 1s infinite;
}
@keyframes radial-pulse {
    0% {
        box-shadow: 0 0 0 0px rgba(48, 183, 123, 0.5);
    }

    100% {
        box-shadow: 0 0 0 8px rgba(0, 0, 0, 0);
    }
}

.widget-products .products-grid.block-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-gap: 15px;
}
.widget-products .products-grid.block-grid .price {
    font-size: 1.2rem;
}
.postContent .products-grid.block-grid .desc.std {
    display: none;
}
    /* Маркеры акций */

.product-card .marketing-lables {
    position: absolute;
    z-index: 2;
}

.product-shop .product-marker {
    display: inline-block;
    cursor: pointer;
}
.product-marker img {
    width: 54px;
    margin-bottom: 6px;
}

.box-up-sell .marketing-lables {
    position: absolute;
    z-index: 2;
    
}

/* lowerprice */
.lowerprice {
    display: inline-block;
    margin: 0 0 0 15px;
}
.modal-lowerprice .user-form {
    flex-grow: 1;
}
.modal-lowerprice .lowerprice-footer {
    padding: 1em;
    border-top: 1px solid #dee2e6;
    margin-top: 2em;
}
/* fastorder */
@media (max-width:576px) {
    button[data-target="#fastorder-box"] {
        width: 131px;
    }
}

/*@media (min-width: 368px) {
    button[data-target="#fastorder-box"] {
        margin: 0 15px;
    }
}*/
/* blog*/
@media (max-width: 768px) {
    .base-mini.blog li {
        line-height: 36px;
    }

}
.postWrapper .tags {
    margin: 1rem 0;
}
ul.tags-list {
    padding: 0;
}
ul.tags-list li {
    display: inline;
    padding-right: 1rem;
}
ul.tags-list a {
    color: #000;
    text-decoration: underline;
}
ul.tags-list a:before {
    content: "#";
}
span.date_news,
.blog-cat-view time{
    color: #bb221c;
}
@media (min-width: 768px) {
    .postContent .img-float-right,
    .postContent .img-float-left {
        max-width: 50%;
        margin-bottom: 1rem;
    }

    .img-float-left {
        float: left;
        margin-right: 2rem;

    }
    .img-float-right {
        float: right;
        margin-left: 2rem;
    }

}
.menu-categories ul li {
    list-style: none;
}
.menu-categories ul > li::before {
    content: '›';
    font-size: 1.5rem;
    padding-right: 1rem;
    color:  #bb221c;
    font-weight: bold;
}
.menu-categories ul > li > ul > li::before {
    content: '»';
}
.blog-cat-view .postWrapper,
.blog-cat-view .postListWrapper {
    padding: 1rem 0;
}
.blog-cat-view .postContent {
    overflow: hidden;
}
.blog-cat-view .tags {
    padding: 1rem 0;
}
.blog-cat-view .postWrapper > .postTitle >h2::before  {
    content: '›';
    font-size: 1.5rem;
    padding-right: 1rem;
    color:  #bb221c;
    font-weight: bold;
}


/* subscribe */
.block-subscribe {
    padding: 1rem;
    margin: 1rem 0;
    background-color: aliceblue;
}
.block-subscribe .block-title {
    display: none;
}
.block-subscribe button {
    width: 100%;
    max-width: 320px;
}
/* navigtion */
.nav-primary li.menu-active > a,
.nav-primary li.sub-menu-active > a {
    color: #bb221c;
}
@media (max-width: 1199.98px) {
    .navadmin.right {
        display: none;
    }
    .navadmin.left {
        display: block;
    }
}
@media (min-width: 1200px) {
    .navadmin.left {
        display: none;
    }
    .navadmin.right {
        display: block;
    }
}

.navadmin a {
    text-transform: uppercase;
}
/* недавно просмотренные */
.block-viewed {
    margin: 1rem 0;
}
/* checkout */
@media (max-width:768px) {
    .checkout-cart-index .base-logo {
        padding: 1rem;
    }
    .checkout-cart-index header .links {
        padding: 6px;
        text-transform: uppercase;
        font-size: 0.7rem;
        font-weight: 500;
        text-align: right;
    }
}
.checkout-cart-index .customer-name p {
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 0.7rem;
    text-align: center;
}
@media (min-width: 768px) {
    .checkout-cart-index .customer-name p {
        font-size: 0.85rem;
        padding-top: 1rem;
    }
}
.checkout-cart-index .exit-link {
    display: block;
    text-align: center;
}
.checkout-cart-index .login-link {
    font-size: 1.5rem;
    display: block;
    padding: 1rem;
    text-align: center;

}
.checkout-cart-index .login-link span{
    padding-left: 0.5rem;
}
.right-links.nologgedin {
    display: flex;
    justify-content: center;
}
.right-links.nologgedin .login-link {
    align-self: center;
}
/* cartrules */
.cartrule-wrapper {
    padding: 1rem;
    display: flex;
    justify-content: center;
}
.btn-shooser {
    background-color: cadetblue;
    color: white;
}
.btn-shooser span {
    margin-left: 1rem;
}
#cart-opcustomer-load {
    padding: 1rem;
    border: 1px solid #077598;
}

/* components */
slot-fb p {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
}

#inboxButton {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 800;
    padding: 9px 3px 9px 9px;
    box-shadow: 0 0 6px #cccccc;
    background-color: #fff;
    border-radius: 12px 0 0 12px;
}
#inboxButton.hide {
    display: none;
}
#inboxButton .button-content {
    width: 36px;
    height: 36px;
    display: flex;
    background: url(../images/envelope-open-solid-007cb3ff.svg);
}

button[data-target="#couponModal"] {
    margin: 10px auto;
}

#canPlaceOrder .fastorder_box {
    margin-bottom: 3rem;
}
@media (min-width:992px) {
    button#fastorder_button.btn-block {
        width: max-content;
        min-width: 360px;
        margin: 0 auto;
    }

}
@media (max-width:768px) {
    .fastorder-button-block {
        margin: 1rem 0;

    }
}