/*
Theme Name: еКрамниця
Theme URI: https://e-kramviaz.com.ua/
Author: Name
Description: Кастомная тема для еКрамниці
Version: 1.0
*/

body {
    color: #888ea8;
    height: 100%;
    font-size: 0.875rem;
    background: #f1f2f3;
    overflow-x: hidden;
    overflow-y: auto;
    letter-spacing: 0.0312rem;
    font-family: Nunito, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #3b3f5c;
}

.title {
    color: green;
}

.top_banner {
    background-color: #007bff;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-logo {
    height: 40px;
    margin-right: 10px;
    margin-left: 10px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.theme-brand {
    margin-right: auto;
}

.navbar-item {
    display: flex;
    align-items: center;
}

.navbar-item,
.language-dropdown .dropdown-menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.nav-item.theme-logo,
.nav-item.theme-text {
    text-align: center;
}

.nav-item {
    margin: 0 15px;
}

a {
    color: #515365;
    outline: none;
}

a {
    text-decoration: none;
    background-color: transparent;
}

a {
    color: #0d6efd;
    text-decoration: underline;
}

.navbar-logo {
    height: 50px;
}

.nav-item.theme-text .nav-link {
    font-size: 1.2rem;
    font-weight: bold;
}

.nav-link {
    padding: 5px 10px;
    color: #007bff;
    transition: color 0.15s ease-in-out;
}

.nav-link {
    color: #3b3f5c;
}

.navbar-item {
    display: flex;
    align-items: center;
}

.nav-link {
    padding: 5px 10px;
    color: #007bff;
    transition: color 0.15s ease-in-out;
}

.navbar .language-dropdown a img {
    width: 25px;
    height: 25px;
    border-radius: 8px;
}

.flag-width {
    width: 24px;
}

.theme-toggle,
.language-dropdown {
    cursor: pointer;
}

.navbar-item,
.language-dropdown .dropdown-menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.btn-warning {
    color: #fff !important;
    background-color: #e2a03f !important;
    border-color: #e2a03f;
    box-shadow: 0 10px 20px -10px #e2a03f96;
}

.btn {
    padding: 0.4375rem 1.25rem;
    text-shadow: none;
    font-size: 14px;
    color: #3b3f5c;
    font-weight: 400;
    white-space: normal;
    word-wrap: break-word;
    transition: 0.2s ease-out;
    touch-action: manipulation;
    border-radius: 6px;
    cursor: pointer;
    background-color: #e0e6ed;
    will-change: opacity, transform;
    transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
}

.btn svg {
    pointer-events: none;
    height: 22px;
    width: 22px;
    vertical-align: middle;
}

.btn .btn-text-inner {
    margin-left: 3px;
    vertical-align: middle;
    pointer-events: none;
}

.badge.counter {
    position: absolute;
    z-index: 2;
    right: 0;
    top: -10px;
    font-weight: 600;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    padding: 2px 0;
    font-size: 12px;
}

.badge-danger {
    color: #fff;
    background-color: #e7515a;
}

.badge {
    line-height: 1.4;
    font-size: 11.9px;
    font-weight: 600;
    transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    display: inline-block;
    padding: 4.6px 8px;
    color: #fff;
    border-radius: 6px;
}

.text-info {
    color: #2196f3 !important;
}

.text-success {
    color: #00ab55 !important;
}

.border-danger {
    border-color: #e7515a !important;
}

.border {
    border: 1px solid !important;
}

.text-danger {
    color: #e7515a !important;
}

.form-select.form-select-sm {
    padding: 7px 16px;
    font-size: 13px;
}

.form-select {
    height: auto;
    font-size: 15px;
    padding: 0.75rem 1.25rem;
    letter-spacing: 1px;
    border: 1px solid #bfc9d4;
    color: #3b3f5c;
    background-color: #fff;
    border-radius: 6px;
    transition: none;
}

.form-select:focus {
    box-shadow: none;
    border-color: #4361ee;
    color: #3b3f5c;
    background-color: #fff;
}

.form-select.form-select-sm {
    padding: 7px 16px;
    font-size: 13px;
}

.btn-primary.disabled,
.btn-primary.btn[disabled],
.btn-primary:disabled {
    background-color: #4361ee;
    border-color: #4361ee;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.btn.disabled,
.btn.btn[disabled] {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.btn.disabled,
.btn:disabled {
    opacity: 0.35;
}

.card.style-5 {
    flex-direction: row;
}

.card {
    border: 1px solid #e0e6ed;
    border-radius: 10px;
    background: #fff;
    box-shadow:
        #919eab33 0 0 2px,
        #919eab1f 0 12px 24px -4px;
}

.card .card-body {
    padding: 24px 20px;
}

.card .card-title {
    color: #0e1726;
    line-height: 1.5;
}

.card .card-text {
    color: #888ea8;
}

.btn-primary {
    color: #fff !important;
    background-color: #4361ee !important;
    border-color: #4361ee;
    box-shadow: 0 10px 20px -10px #1b55e296;
}

.form-control.form-control-sm,
.form-select.form-control-sm {
    padding: 7px 16px;
    font-size: 13px;
}

.form-control {
    border: 1px solid #bfc9d4;
    color: #3b3f5c;
    font-size: 15px;
    padding: 8px 10px;
    letter-spacing: 1px;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    background: #fff;
    height: auto;
    transition: none;
}

.input-container .quantity-input {
    text-align: center;
}

.bootstrap-touchspin-injected .input-group-prepend button {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    height: 100% !important;
}

.bootstrap-touchspin .input-group-btn-vertical {
    position: absolute;
    right: 0;
    height: 100%;
    z-index: 11;
}
.bootstrap-touchspin .input-group-btn-vertical > .btn {
    position: absolute;
    right: 0;
    height: 50%;
    padding: 0;
    width: 2em;
    text-align: center;
    line-height: 1;
}
.input-group.btn-group.bootstrap-touchspin .btn {
    padding: 0.375rem 0.75rem;
}
.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up {
    border-radius: 0 4px 0 0;
    top: 0;
}
.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down {
    border-radius: 0 0 4px 0;
    bottom: 0;
}
.bootstrap-touchspin .input-group-addon[class*="btn-"] .input-group-text {
    color: #fff;
    background-color: transparent;
    border: none;
}
.btn[class*="btn-"].bootstrap-touchspin-up [class*="flaticon-"] {
    font-size: 10px;
}
.btn[class*="btn-"].bootstrap-touchspin-down [class*="flaticon-"] {
    font-size: 10px;
}
.input-group-sm > .form-control,
.input-group-sm > .input-group-prepend > .btn,
.input-group-sm > .input-group-append > .btn {
    height: auto !important;
}

/* CUSTOM */
.bootstrap-touchspin-injected .input-group-prepend button {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    height: 100% !important;
}
.bootstrap-touchspin-injected .input-group-prepend .input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    height: 100% !important;
}
.bootstrap-touchspin-injected .input-group-append button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    height: 100% !important;
}
.bootstrap-touchspin-injected .input-group-append .input-group-text {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    height: 100% !important;
}
.input-group-sm > .input-group-prepend > .btn,
.input-group-sm > .input-group-append > .btn {
    height: 100% !important;
}

.modal-backdrop {
    background: linear-gradient(75deg, rgba(22, 28, 36, 0.48) 0%, rgb(22, 28, 36) 100%);
}

.modal-backdrop.show {
    opacity: 0.8;
}

.modal-content {
    border: none;
    border-radius: 6px;
    background: #fff;
    border-bottom: 1px solid #e0e6ed;
}

.modal-content hr {
    border-top: 1px solid #e0e6ed;
}

.modal-content .modal-header {
    padding: 12px 26px;
    border: none;
    border-bottom: 1px solid #e0e6ed;
}

.modal-content .modal-header h5 {
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 1px;
}

.modal-content .modal-header svg {
    width: 17px;
    color: #bfc9d4;
}

.modal-content .modal-header .btn-close {
    background: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    display: grid;
    opacity: 1;
}

.modal-content .modal-header .btn-close svg {
    width: 17px;
    height: 17px;
    color: #000;
}

.modal-content .modal-body {
    padding: 26px;
}

.modal-content .modal-body a:not(.btn) {
    color: #4361ee;
    font-weight: 600;
}

.modal-content .modal-body p {
    color: #888ea8;
    letter-spacing: 1px;
    font-size: 14px;
    line-height: 22px;
    text-align: left;
}

.modal-content .modal-body p:last-child {
    margin-bottom: 0;
}

.modal-content .modal-body p:not(:last-child) {
    margin-bottom: 10px;
}

.modal-content .modal-footer {
    border-top: 1px solid #e0e6ed;
}

.modal-content .modal-footer button.btn {
    font-weight: 600;
    padding: 10px 25px;
    letter-spacing: 1px;
}

.modal-content .modal-footer .btn.btn-primary {
    background-color: #4361ee;
    color: #fff;
    border: 1px solid #4361ee;
}

.close {
    text-shadow: none;
    color: #bfc9d4;
}

.close:hover {
    color: #bfc9d4;
}

.nav-tabs {
    border-bottom: 1px solid #191e3a;
}

.nav-tabs svg {
    width: 20px;
    vertical-align: bottom;
}

.nav-tabs .nav-link.active {
    color: #e95f2b;
    background-color: #191e3a;
    border-color: #191e3a #191e3a #0e1726;
}

.nav-tabs .nav-link.active:after {
    color: #e95f2b;
}

.nav-tabs .nav-link:hover {
    border-color: #191e3a #191e3a #191e3a;
}

.modal-success .modal-content {
    background-color: #ddf5f0;
}

.modal-video .modal-content {
    background-color: transparent;
    border: none;
}

.modal-video .video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.modal-video .modal#videoMedia1 .modal-header,
.modal-video .modal#videoMedia2 .modal-header {
    border: none;
    padding: 12px 0;
    justify-content: end;
}

.modal-video .video-container iframe,
.modal-video .video-container object,
.modal-video .video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-video .modal#videoMedia1 .modal-header .close,
.modal-video .modal#videoMedia2 .modal-header .close {
    color: #fff !important;
    opacity: 1;
}

.modal-video .modal-content .modal-header svg {
    color: #fff;
}

.modal-notification .modal-body .icon-content {
    margin: 0 0 20px;
    display: inline-block;
    padding: 13px;
    border-radius: 50%;
    background: #e0e6ed;
}

.modal-notification .modal-body .icon-content svg {
    width: 36px;
    height: 36px;
    color: #1b2e4b;
    fill: #00173714;
}

.modal#sliderModal .modal-content {
    border: none;
}

.modal#sliderModal .modal-content .modal-body button.btn-close {
    position: absolute;
    z-index: 2;
    right: 4px;
    top: -35px;
    opacity: 1;
    text-shadow: none;
    background: transparent;
    box-shadow: none;
}

.modal#sliderModal .modal-content .modal-body button.btn-close svg {
    color: #bfc9d4;
}

.modal#sliderModal .modal-content .modal-body button.btn-close:hover svg {
    color: #fff;
}

.inputForm-modal .modal-content .modal-body .form-group .input-group .input-group-text {
    background: transparent;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    border-right: none;
}

.inputForm-modal .modal-content .modal-body .form-group input {
    border-left: none;
    background: transparent;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

.inputForm-modal .modal-content .modal-body .form-group input:focus {
    border-color: #bfc9d4;
}

.glowing-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    padding: 50px;
    font-size: 18px;
    border-radius: 50%;
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 20px -10px #e2a03f96;
    justify-content: center;
    background-color: rgba(250, 195, 0, 0.7);
    animation: pulse 1s infinite;
}

.btn {
    padding: 0.4375rem 1.25rem;
    text-shadow: none;
    font-size: 14px;
    color: #3b3f5c;
    font-weight: 400;
    white-space: normal;
    word-wrap: break-word;
    transition: 0.2s ease-out;
    touch-action: manipulation;
    border-radius: 6px;
    cursor: pointer;
    background-color: #e0e6ed;
    will-change: opacity, transform;
    transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
}

.modal-body .icon-content {
    margin: 0 0 20px;
    display: inline-block;
    padding: 13px;
    border-radius: 50%;
    background: #e0e6ed;
}

.modal-body .icon-content svg {
    width: 36px;
    height: 36px;
    color: #1b2e4b;
    fill: #00173714;
}

.card {
    background-color: transparent;
    border: 1px solid #e0e6ed;
    box-shadow: 0 0 40px #5e5c9a0f;
}

.card {
    border: 1px solid #e0e6ed;
    border-radius: 10px;
    background: #fff;
    box-shadow:
        #919eab33 0 0 2px,
        #919eab1f 0 12px 24px -4px;
}

.card .card-body {
    padding: 24px 20px;
}

.card .card-title {
    color: #0e1726;
    line-height: 1.5;
}

.payment-form {
    padding-bottom: 50px;
    font-family: "Montserrat", sans-serif;
}

.payment-form .content {
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.075);
}

.payment-form .block-heading {
    padding-top: 50px;
    margin-bottom: 40px;
    text-align: center;
}

.payment-form .block-heading p {
    text-align: center;
    max-width: 420px;
    margin: auto;
    opacity: 0.7;
}

.payment-form.dark .block-heading p {
    opacity: 0.8;
}

.payment-form .block-heading h1,
.payment-form .block-heading h2,
.payment-form .block-heading h3 {
    margin-bottom: 1.2rem;
    color: #3b99e0;
}

.payment-form form {
    border-top: 2px solid #5ea4f3;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.075);
    padding: 0;
    max-width: 600px;
    margin: auto;
}

.payment-form .title {
    font-size: 1em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 0.8em;
    font-weight: 600;
    padding-bottom: 8px;
}

.payment-form .products {
    padding: 25px;
}

.payment-form .products .item {
    margin-bottom: 1em;
}

.payment-form .products .item-name {
    font-weight: 600;
    font-size: 0.9em;
}

.payment-form .products .item-description {
    font-size: 0.8em;
    opacity: 0.6;
}

.payment-form .products .item p {
    margin-bottom: 0.2em;
}

.payment-form .products .price {
    float: right;
    font-weight: 600;
    font-size: 0.9em;
}

.payment-form .products .total {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    padding-top: 19px;
    font-weight: 600;
    line-height: 1;
}

.payment-form .card-details {
    padding: 25px 25px 15px;
}

.payment-form .card-details label {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #79818a;
    text-transform: uppercase;
}

.payment-form .card-details button {
    margin-top: 0.6em;
    padding: 12px 0;
    font-weight: 600;
    display: block; /* Make it a block-level element to center it horizontally */
    margin-left: auto; /* Center it horizontally */
    margin-right: auto; /* Center it horizontally */
    width: 100%;
}

.payment-form .date-separator {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 5px;
}

@media (min-width: 576px) {
    .payment-form .title {
        font-size: 1.2em;
    }

    .payment-form .products {
        padding: 40px;
    }

    .payment-form .products .item-name {
        font-size: 1em;
    }

    .payment-form .products .price {
        font-size: 1em;
    }

    .payment-form .card-details {
        padding: 40px 40px 30px;
    }

    .payment-form .card-details button {
        margin-top: 2em;
    }
}

.main-container {
    display: block;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.layout-px-spacing {
    padding: 0 24px !important;
    min-height: calc(100vh - 112px) !important;
}

@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1440px;
    }
}

.pdf-container {
    width: 100%;
    max-width: 100%;
    margin: auto;
    margin-top: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    overflow: auto;
}

.pdf-container embed,
.pdf-container iframe {
    width: 100%;
    height: 100%;
    min-height: 1200px;
    border: none;
}

.contact-card {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-top: 10vh;
}
.contact-card h3 {
    font-weight: bold;
    color: #333;
}
.contact-card p {
    color: #555;
}
.contact-info div {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}
.contact-info i {
    font-size: 1.5rem;
    color: #007bff;
    margin-right: 1rem;
}
.contact-info a {
    color: #007bff;
    text-decoration: none;
    font-size: 1rem;
}
.contact-info a:hover {
    text-decoration: underline;
}

.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-content-text{
    display: flex;
    width: 100%;
    padding: 8px;
    background-color: #198754;
    justify-content: center;
    text-align: center;
    color: white;
}

.main-content-text *{
    margin: 0 !important;
}