@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');

:root {
    --color1            : #025582;
    --color2            : #c22018;
    --text-color        : #212529;
    --swiper-theme-color: var(--color1);
    --border-radius     : 5px;
}

* {
    font-size: 14px;
}

*:focus {
    box-shadow: none !important;
}

body {
    font-family: 'Open Sans', sans-serif;
    background : #ededed;
    color      : var(--text-color);
}

a {
    color          : var(--color1);
    text-decoration: none;
}

a:hover {
    color: var(--color2);
}

.btn-primary,
.page-item.active .page-link,
.list-group-item.active {
    background-color: var(--color1);
    border-color    : var(--color1);
}

.btn-check:active+.btn-primary,
.btn-check:checked+.btn-primary,
.btn-primary.active,
.btn-primary:active,
.show>.btn-primary.dropdown-toggle,
.btn-primary:hover,
.btn-check:focus+.btn-primary,
.btn-primary:focus {
    background-color: var(--color2);
    border-color    : var(--color2);
}

.form-control {
    border-radius: var(--border-radius);
}

.form-control:focus {
    border-color: var(--color2);
}

.nav-link,
.page-link {
    color: var(--color1);
}

.nav-link:hover,
.page-link:hover {
    color: var(--color2);
}

.btn {
    border-radius: var(--border-radius);
}

.border-radius {
    border-radius: var(--border-radius);
}

.dropdown-menu {
    border       : none;
    border-radius: var(--border-radius);
    overflow     : hidden;
}

.list-group-item {
    border: 0;
}

.list-group-item:first-child {
    border-top-right-radius: var(--border-radius);
    border-top-left-radius : var(--border-radius);
}

.list-group-item:last-child {
    border-bottom-right-radius: var(--border-radius);
    border-bottom-left-radius : var(--border-radius);
}

.card-header {
    background-color: var(--color1);
    color           : #fff;
    border          : 0;
}



/* HEADER */

#top {
    background-color: var(--color1);
    color           : #ffffff;
}

#top .nav-link {
    color          : #ffffff;
    text-decoration: none;
    padding        : 0.8rem 1rem;
}

#top .nav-item {
    position: relative;
}

#top .nav-link::before {
    content         : '';
    height          : 30px;
    width           : 1px;
    background-color: #013450;
    position        : absolute;
    left            : 0;
    top             : 5px;
    transform       : rotate(20deg);
}

#top .nav-item:first-child .nav-link::before {
    display: none;
}

header {
    background-color: #ffffff;
    border-bottom   : 2px solid var(--color1);
}

header .logo {
    max-width: 200px;
}

header nav .col-lg-9 .nav .nav-link {
    font-weight: bold;
}

header nav .categories {
    background-color: var(--color1);
    color           : #ffffff;
    border-radius   : var(--border-radius) var(--border-radius) 0 0;
    position        : relative;
    cursor          : pointer;
}

header nav .categories .menu {
    display: none;
}

header nav .categories .bg-shadow {
    position        : fixed;
    left            : 0;
    top             : 0;
    width           : 100%;
    height          : 100%;
    background-color: rgba(0, 0, 0, .3);
    z-index         : 5;
    display         : none;
}

header nav .categories:hover .bg-shadow {
    display: block;
}

header nav .categories:hover .menu {
    display: block;
}

header nav .categories .bg-shadow:hover {
    display: none;
}

header nav .categories .nav {
    background   : #fff;
    position     : absolute;
    left         : 0;
    top          : 100%;
    width        : 100%;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    z-index      : 99;
}

header nav .categories span.title {
    position: relative;
    z-index : 9;
}

header nav .categories .nav .nav-item {
    width           : 100%;
    background-color: #ffffff;
    transition      : .1s;
}

header nav .categories .nav .nav-item .nav-link {
    width         : 100%;
    border-bottom : 1px solid #ededed;
    padding-top   : 13px;
    padding-bottom: 13px;
}

header nav .categories .nav .nav-item:last-child {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

header nav .categories .nav .nav-item:last-child .nav-link {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

header nav .categories .nav .nav-item:hover {
    background-color: var(--color1);
}

header nav .categories .nav .nav-item:hover .nav-link {
    color: #ffffff;
}

header nav .categories .nav .nav-item .nav-sub {
    position           : absolute;
    background         : #fff;
    left               : 100%;
    height             : 100%;
    z-index            : 9;
    width              : 300%;
    top                : 0;
    display            : none;
    background-repeat  : no-repeat;
    background-position: bottom right;
    padding            : 0 20px;
}

header nav .categories .nav .nav-item:hover .nav-sub {
    display: block;
}

header nav .categories .nav .nav-item .nav-sub ul {
    list-style-type: none;
    margin         : 0;
    padding        : 0;
    margin-top     : 10px;
}

header nav .categories .nav .nav-item .nav-sub ul li:first-child a {
    color: var(--color1);
}

header nav .categories .nav .nav-item .nav-sub ul li:first-child a:hover {
    color: var(--color2);
}

header nav .categories .nav .nav-item .nav-sub a {
    color          : var(--text-color);
    text-decoration: none;
}

.card {
    border-radius: var(--border-radius);
    border       : none;
}

.card .title {
    position     : absolute;
    top          : -40px;
    height       : 40px;
    background   : #fff;
    padding      : 0 15px;
    line-height  : 40px;
    font-size    : 16px;
    font-weight  : bold;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    color        : var(--color1);
}

/* ITEM */

.item {
    border       : 1px solid #ededed;
    border-radius: var(--border-radius);
    padding      : var(--border-radius);
    transition   : .6s;
}

.item:hover {
    border-color: var(--color1);
}

.item .item-body {
    padding: 0 5px;
}

.item .item-body .item-title a {
    font-size      : 11px;
    text-decoration: none;
    color          : var(--text-color);
    padding        : 0;
    line-height    : 1;
}

.item .item-body .price {
    line-height: 50px;
    text-align : center;
    font-size  : 18px;
    font-weight: bold;
    color      : var(--color1);
}

.item .item-body .price .price-new {
    font-size: 18px;
}

.item .item-body .price .price-old {
    font-size      : 14px;
    font-weight    : normal;
    text-decoration: line-through;
    color          : var(--text-color);
}

.item img {
    transition: .6s;
}

.item:hover img {
    transform: scale(.95);
}

/* BASKET */

.basket {
    position  : fixed;
    right     : 0;
    top       : 0;
    background: #fff;
    width     : 400px;
    height    : 100%;
    z-index   : 999;
    overflow-x: hidden;
    overflow-y: scroll;
}


/* FOOTER */

footer {
    background-color: var(--color1);
    color           : #ffffff;
}

footer h4 {
    border-bottom : 1px solid #ededed;
    padding-bottom: 5px;
}

footer .nav-link {
    color  : #ededed;
    padding: 0;
}

footer .nav-link:hover {
    color: #ffffff;
}

#bottom {
    background-color: #ffffff;
}


/* PRODUCT */

.card-showcase {
    margin-top: 45px;
}

.urun {
    border    : 1px solid #ffffff;
    transition: .6s;
}

.urun:hover {
    border-color: var(--color1) !important;
}

.col-lg-3 .urun img.w-100 {
    height    : 196px;
    object-fit: contain;
}

.col-lg-4 .urun img.w-100 {
    height    : 279px;
    object-fit: contain;
}

.swiper-slide .urun img.w-100 {
    height    : 112px;
    object-fit: contain;
}

.swiper-slide .urun {
    border-color: #ededed;
}

@media (max-width: 990px) {
    header .logo {
        max-width: 140px;
    }

    header nav .categories .nav .nav-item:hover .nav-sub {
        display: none !important;
    }
}


/*  */

.select2-container {
    width  : 100% !important;
    z-index: 9999;
}

.swiper-button-next,
.swiper-button-prev {
    opacity: 0.1;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
}

.urun p b {
    overflow          : hidden;
    text-overflow     : ellipsis;
    display           : -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp        : 3;
    -webkit-box-orient: vertical;
    height            : auto;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    height: 50px;
}

.select2-container--default .select2-results>.select2-results__options {
    height: 200px;
}

.favorilerim {
    position       : absolute;
    left           : 10px;
    top            : 10px;
    background     : #ffffff;
    width          : 30px;
    height         : 30px;
    color          : red;
    border-radius  : 50%;
    display        : flex;
    justify-content: center;
    align-items    : center;
    cursor         : pointer;
    box-shadow     : 0px 0px 10px rgb(0 0 0 / 25%);
    z-index        : 2;
}

.loading {
    position       : fixed;
    z-index        : 99;
    background     : #fff;
    width          : 100%;
    height         : 100%;
    display        : flex;
    justify-content: center;
    align-items    : center;
    left           : 0;
    top            : 0;
}

.swiper-container {
    overflow: hidden;
    position: relative;
}

.select2-container {
    width: 600px !important;
}

.card.list {
    border-radius: 0;
}

.odd .card.list {
    background-color: #e7e7e7;
}

div.dt-buttons {
    margin-bottom: 10px;
}

.tooltip-inner {
    box-shadow      : 0px 0px 4px black;
    opacity         : 1 !important;
    background-color: #fff;
    color           : #000;
}

.fancybox__carousel .fancybox__slide.has-pdf .fancybox__content {
    height: calc(100%) !important;
}

.fancybox__slide {
    padding: 48px 8px 8px 8px !important;
}

.wp-button {
    position        : fixed;
    right           : 10px;
    bottom          : 10px;
    background-color: #fff;
    color           : #0C9F15;
    padding         : 0;
    margin          : 0;
    border-radius   : 7px;
    line-height     : 1;
    transition      : .6s;
    width           : 53px;
    height          : 53px;
    z-index         : 99;
    display         : flex;
    align-items     : center;
    justify-content : center;
}

.wp-button .fab {
    font-size  : 60px;
    line-height: 0.8;
}

.wp-button:hover {
    color: var(--color1);
}

.up-button {
    position        : fixed;
    right           : 10px;
    bottom          : 70px;
    background-color: #fff;
    color           : var(--color1);
    padding         : 0;
    margin          : 0;
    border-radius   : 7px;
    line-height     : 1;
    transition      : .6s;
    width           : 53px;
    height          : 53px;
    z-index         : 99;
    display         : flex;
    align-items     : center;
    justify-content : center;
}

.up-button .fas {
    font-size  : 60px;
    line-height: 0.8;
}

.breadcrumb-item+.breadcrumb-item {
    padding-left: 30px;
}

.breadcrumb-item {
    background: #025582;
    color     : #fff !important;
    padding   : 10px;
}

.breadcrumb-item a {
    color: #fff;
}

.breadcrumb-item+.breadcrumb-item::before {
    float        : left;
    padding-right: 0.5rem;
    color        : #ffffff;
    content      : 'next';
    font-family  : swiper-icons;
    font-size    : 45px;
    position     : absolute;
    margin-top   : -23px;
    padding      : 0;
    margin-left  : -35px;
}

.breadcrumb-item {
    background: #025582;
    color     : #fff !important;
    padding   : 10px;
}

.urun .text-end {
    position: relative;
}

.urun table.table.table-bordered {
    position  : absolute;
    z-index   : 9;
    background: #fff;
    right     : 50px;
    width     : 220px;
    top       : -30px;
    opacity   : 0;
    transition: .6s;
    visibility: hidden;
}

.urun .fiyat {
    cursor: pointer;
}

.urun .fiyat:hover+.table {
    opacity   : 1;
    visibility: visible;
}

.urun table.table.table-bordered td {
    padding: 2px;
}


@media (max-width: 990px) {
    .col-lg-4 .urun img.w-100 {
        height: 140px;
    }

    .slider img.w-100 {
        height: 180px;
    }

    .select2-container {
        width: calc(100vw - 15px) !important;
    }

    .breadcrumb .breadcrumb-item,
    .breadcrumb .breadcrumb-item a {
        font-size: 10px !important;
    }

    .breadcrumb .breadcrumb-item {
        display: none;
    }

    .breadcrumb .breadcrumb-item:nth-last-child(1),
    .breadcrumb .breadcrumb-item:nth-last-child(2) {
        display: block;
    }

    .breadcrumb-item+.breadcrumb-item {
        padding-left: 0.5rem;
    }

    .breadcrumb-item+.breadcrumb-item::before {
        float        : left;
        padding-right: 0.5rem;
        color        : #ffffff;
        content      : 'next';
        font-family  : swiper-icons;
        font-size    : 39px;
        position     : absolute;
        margin-top   : -21px;
        padding      : 0;
        margin-left  : -22px;
    }

    .breadcrumb-item:nth-last-child(2):before {
        display: none;
    }
}