/*
Table of content
    Variables
    Fonts
    Typography
    Btns
    Inputs
    select
    Modal
    Accordion
*/

/* Variables */
:root {
    --orange: #D18925;
}

/* Fonts */
@font-face {
    font-family: Raleway;
    src: url(../fonts/Raleway-ExtraLight.ttf);
    font-weight: 200;
}
@font-face {
    font-family: Raleway;
    src: url(../fonts/Raleway-ExtraLightItalic.ttf);
    font-style: italic;
    font-weight: 200;
}

@font-face {
    font-family: Raleway;
    src: url(../fonts/Raleway-Regular.ttf);
    font-weight: normal;
}

@font-face {
    font-family: Raleway;
    src: url(../fonts/Raleway-Medium.ttf);
    font-weight: 500;
}
@font-face {
    font-family: Raleway;
    src: url(../fonts/Raleway-MediumItalic.ttf);
    font-style: italic;
    font-weight: 500;
}

@font-face {
    font-family: Raleway;
    src: url(../fonts/Raleway-Bold.ttf);
    font-weight: bold;
}
@font-face {
    font-family: Raleway;
    src: url(../fonts/Raleway-BoldItalic.ttf);
    font-style: italic;
    font-weight: bold;
}


/*  Typography */
* {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
}


/*body {
    padding-right: 0 !important;
}*/

.dark-mode *:not(.alert) {
    color: #EFEFEF;
}

h1, h2 {
    font-weight: 600;
}

h1 {
    font-size: 18px;
}

a {
    text-decoration: none;
    color: unset;
}

.fw-500 {
    font-weight: 500;
}

.fs-085 {
    font-size: 0.85rem;
    line-height: 1.2;
}

a:focus,
a:hover {
    color: var(--orange);
}

.modal-href:hover,
.modal-href:focus {
    color: var(--orange);
    cursor: pointer;
}


@media (min-width: 1200px) {
    #modal-switch-currency {
        padding-right: 17px;
    }
    body.modal-open {
        max-width: 417px;
    }
}

/*body,
.modal-content {
    background-image: url(../images/bg-oktagon.png);
    background-size: 140vw;
    background-position-x: -40px;
}*/

body,
.bg-layer,
.modal-fullscreen .modal-body {
    min-height: 100vh;
    background-image: url(../images/bg.png);
    background-position-x: -160px;
    background-position-y: -50px;
}
body.dark-mode,
.dark-mode .bg-layer,
.dark-mode .modal-fullscreen .modal-body {
    background-color: #000000bd;
}

.bg-layer {
    background-size: 750px;
}

body,
.modal .content {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    /*border: 1px solid black;*/
}

.my-6 {
    margin-top: 4rem !important;
    margin-bottom: 4rem !important;
}


/* Btns */

.btn-primary,
.btn-secondary {
    padding: 9px 20px;
    min-width: 128px;
    max-width: 100%;
    width: fit-content;
    border-radius: 32px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--orange);
    color: white;
    border: 2px solid var(--orange);
}
.btn-primary:hover,
.btn-primary:focus{
    background-color: white;
    color: var(--orange);
    border: 2px solid var(--orange);
}

.btn-primary:hover i,
.btn-primary:focus i {
    color: var(--orange);
}

.btn-secondary {
    background-color: transparent;
    color: var(--orange);
    border: 2px solid var(--orange);
}
.btn-secondary:hover,
.btn-secondary:focus{
    background-color: var(--orange);
    color: white;
    border-color: var(--orange);
}

.btn-secondary:hover i,
.btn-secondary:focus i {
    color: white;
}

.switch-currency {
    color: var(--orange);
    text-decoration: underline;
    cursor: pointer;
}

.question-circle {
    position: fixed;
    bottom: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 0 4px 1px #c7c3c3;
    font-weight: 500;
    color: var(--orange);
    cursor: pointer;
}

.dark-mode .question-circle  {
    background-color: #3e3e3e;
}

.dark-mode .question-circle span {
    color: var(--orange);
}

.lng-select-icon {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

@media (min-width: 401px) {
    .question-circle {
        right: calc((50vw - 180px));
    }
}


/* Inputs */
.input-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    top: 0;
    right: 2px;
}

.input-primary {
    margin-bottom: 20px;
    border: none;
    border-bottom: 1px solid darkgrey;
    background-color: transparent;
}

.input-primary::placeholder {
    color: darkgrey;
}

.input-primary:focus,
.input-primary:focus-visible {
    border: none;
    border-bottom: 1px solid var(--orange);
    outline: none;
}

/* autocolplete input */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
}

.dark-mode input:-webkit-autofill,
.dark-mode input:-webkit-autofill:hover,
.dark-mode input:-webkit-autofill:focus,
.dark-mode input:-webkit-autofill:active {
    -webkit-text-fill-color: #cdcacc;
}


label {
    font-size: 12px;
    margin-bottom: 3px;
}

.label-wrap {
    width: fit-content;
    position: relative;
}

.label-icon {
    position: absolute;
    right: -27px;
    top: -15px;
}

.hint {
    color: var(--orange) !important;
    z-index: 9999999;
    padding: 5px 10px;
    font-size: 18px;
}

.hint i {
    color: var(--orange) !important;
}

/* select */
.select-primary {
    margin-bottom: 20px;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid darkgrey;
    border-radius: 0;
}

.select-primary:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.25rem #ffc10782;
}

.select-primary.disabled {
    color: darkgrey;
}

.dark-mode option {
    background-color: black;
}


/* Modal */
.modal-rounded {
    border-radius: 16px;
    border: none;
}

.dark-mode .modal-content {
    background: linear-gradient(156.08deg, #565454 0%, rgb(32 31 31) 100%);
}

/* Accordion */
.accordion-button:not(.collapsed) {
    color: black;
    background-color: #ff94003b;

}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem #ffc1078c;
}

/*.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}*/

.accordion-button::after {
    content: unset;
}

.accordion-icon {
    font-size: 1.6rem;
    transition: 0.3s;
}

.accordion-button.collapsed .accordion-icon {
    transform: rotate(180deg);
}

.dark-mode .dropdown-menu {
    background-color: black;
}

.accordion-item:last-of-type .accordion-collapse {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.dark-mode .dropdown-item:focus,
.dark-mode .dropdown-item:hover {
    color: white;
    background-color: #4d4e4e;
}

.dark-logo,
.dark-img {
    display: none !important;
}
.dark-mode .dark-logo,
.dark-mode .dark-img {
    display: block !important;
}

.dark-mode .light-logo,
.dark-mode .light-img {
    display: none !important;
}

.switch-primary .form-check-input:checked {
    background-color: #ffc107;
    border-color: #ffc107;
}

.switch-primary .form-check-input:focus {
    border-color: #ffc107;
    outline: 0;
    box-shadow: 0 0 0 0.25rem #ffc10740;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
}

.dark-mode .accordion-button,
.dark-mode .accordion-body {
    color: white;
}

.dark-mode .accordion-button {
    background-color: #343434;
}

.dark-mode .accordion-body {
    background-color: #565656;
}

.dark-mode .accordion-header {
    background-color: #343434;
}

input[type=number]::-webkit-inner-spin-button {
    margin-left: 5px;
}
