:root {
    --primary: #EFA90B;
    --primary-medium: #FEFE38;
    --neutral: #50506B;
    --danger: #ea3a3d;
    --warning: #f9b959;
    --success: #008302;
    --secondary: #262631;
    --secondary-medium: #2F2F3C;
    --secondary-bold: #0B0B15;
    --secondary-light: #40404B;
    --secondary-xlight: #40404B;
    --black: #010101;
    --black-medium: #616066;
    --black-light: #939090;
    --black-xlight: #C9C9C9;
    --white: #ffffff;
    --light: #f1f1f1;
}

/*===== 1: Typography ================*/

html, body {
    font-size: 15px;
    line-height: 21px;
    font-family: "Lato", serif;
    color: #13334A;
}

h1, h2, h3 {
    font-family: "Raleway", serif;
    font-weight: 800;
}

h4, h5, h6 {
    font-family: "Raleway", serif;
    font-weight: 600;
}

h1 {
    font-size: 52px;
    line-height: 56px;
}

h2 {
    font-size: 44px;
    line-height: 48px;
}

h3 {
    font-size: 37px;
    line-height: 41px;
}

h4 {
    font-size: 31px;
    line-height: 33px;
}

h5 {
    font-size: 26px;
    line-height: 28px;
}

h6 {
    font-size: 18px;
    line-height: 23px;
}

small, .small {
    font-size: 13px;
    line-height: 16px;
}

.font-weight-bold {
    font-family: Poppins-Bold !important;
}

.text-warning {
    color: var(--warning) !important;
}

.text-danger {
    color: var(--danger) !important;
}

.text-success {
    color: var(--success) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-black {
    color: var(--black) !important;
}

.text-black-medium {
    color: var(--black-medium) !important;
}

.text-black-bold {
    color: var(--black-bold) !important;
}

.line-height-1 {
    line-height: 1 !important;
}

.line-height-12 {
    line-height: 1.2 !important;
}

.line-height-15 {
    line-height: 1.5 !important;
}

.row-md {
    margin-left: -8px;
    margin-right: -8px;
}

.row-md > [class^="col-"] {
    padding-left: 8px;
    padding-right: 8px;
}

.row-sm {
    margin-left: -5px;
    margin-right: -5px;
}

.row-sm > [class^="col-"] {
    padding-left: 5px;
    padding-right: 5px;
}

/*====== 2: COMMONS ======*/

.bg-light {
    background-color: var(--light) !important;
}

.bg-warning {
    background-color: var(--warning) !important;
}

.bg-danger {
    background-color: var(--danger) !important;
}

.bg-success {
    background-color: var(--success) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.text-underline {
    text-decoration: underline;
}

.vertically-align {
    display: flex;
    align-items: center;
}

.rounded {
    border-radius: 15px !important;
}

a {
    color: var(--primary);
}

a:hover {
    color: var(--primary-medium);
}

.link-dark {
    color: var(--black);
}

.link-dark:hover {
    color: var(--black-light);
    text-decoration: none;
}

.btn {
    padding: 15px 30px;
    text-decoration: none;
    min-height: 52px;
    text-align: center;
    text-transform: uppercase;
    font-family: "Raleway", serif;
    font-weight: 600;
    border-radius: 10px;
    line-height: 21px;
    font-size: 18px;
    letter-spacing: 1px;
}

.btn-group-sm > .btn, .btn-sm {
    padding: 0.35rem 0.5rem;
    font-size: 12px;
    line-height: 16px;
}

.btn-primary {
    color: var(--primary);
    background-color: var(--secondary);
    border-color: var(--primary);
    box-shadow: none;
    transition: all 0.5s;
}

.btn-primary:hover {
    color: var(--primary);
    background-color: var(--secondary-bold);
    border-color: var(--primary);
    box-shadow: none;
}

.btn-primary:focus, .btn-primary.focus {
    color: var(--primary);
    background-color: var(--secondary-bold);
    border-color: var(--primary);
    box-shadow: none;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
    color: var(--primary);
    background-color: var(--secondary-bold);
    border-color: var(--primary);
}

.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-secondary {
    color: var(--secondary);
    background-color: var(--primary);
    border: solid 1px var(--primary);
    box-shadow: none;
    transition: all 0.5s;
}

.btn-secondary:hover {
    color: var(--primary);
    background-color: var(--secondary);
    border-color: var(--primary);
}

.btn-secondary:focus, .btn-secondary.focus {
    color: var(--secondary);
    background-color: var(--primary);
    border: solid 1px var(--primary);
    box-shadow: none;
}

.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle {
    color: var(--primary);
    background-color: var(--secondary);
    border-color: var(--primary);
}

.btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus,
.show > .btn-secondary.dropdown-toggle:focus {
    box-shadow: none;
}

.btn.disabled, .btn:disabled {
    background-color: var(--light) !important;
    border-color: var(--black-light) !important;
    color: var(--black-light) !important;
}

.btn-link {
    color: var(--primary);
    text-decoration: underline dashed;
    text-underline-offset: 4px;
}

.btn-link:hover {
    color: var(--primary);
    text-decoration: underline dashed;
}

input[type="checkbox"], input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
    margin-right: 0.5rem;
}

.btn > img {
    height: 14px;
    margin-bottom: 3px;
}

.form-control {
    border: solid 1.5px var(--black-light);
    border-radius: 5px;
    font-size: 16px;
    height: calc(1.5em + 1.25rem + 10px);
    padding: 0.35rem 1.25rem;
}

.form-control::placeholder {
    font-size: 14px;
    color: var(--black-medium);
}

.form-control:hover {
    border-color: var(--black-medium);
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--black-medium);
}

.form-control.is-invalid:hover {
    box-shadow: none;
    border-color: var(--danger);
}

.form-control.is-invalid:focus {
    box-shadow: none;
}

.form-control.is-invalid ~ .invalid-feedback {
    padding-left: 0.75rem;
}

.form-control:disabled, .form-control[readonly] {
    background-color: var(--black-xlight);
    opacity: 1;
    border-color: var(--black-xlight);
    color: var(--black-light);
}

.form-control:disabled ~ label,
.form-control[readonly] ~ label {
    color: var(--black-medium);
}

.form-group.floating {
    position: relative;
}

.form-group.floating label {
    margin-bottom: 0;
    position: absolute;
    left: 0.75rem;
    top: 0.725rem;
    transition: all 0.25s;
}

.form-group.floating .form-control:focus ~ label,
.form-group.floating .form-control.focus ~ label {
    top: -0.575rem;
    z-index: 2;
    font-size: 14px;
}

.form-group.floating .form-control:focus ~ label:before,
.form-group.floating .form-control.focus ~ label:before {
    content: "";
    position: absolute;
    width: calc(100% + 2px);
    height: 1px;
    left: -1px;
    background: white;
    top: calc(50%);
    z-index: -1;
}

.form-group.floating .form-control:not(.focus):not(:focus)::-webkit-input-placeholder {
    color: transparent;
}

.form-group.floating .form-control:not(.focus):not(:focus):-moz-placeholder {
    color: transparent;
}

.form-group.floating .form-control:not(.focus):not(:focus)::-moz-placeholder {
    color: transparent;
}

.form-group.floating .form-control:not(.focus):not(:focus)::-ms-input-placeholder {
    color: var(--white) !important;
}

.form-group.floating .form-control:not(.focus):not(:focus)::placeholder {
    color: transparent;
}

.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
    color: #fff;
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}
.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: none;
}

.custom-control-label::before {
    border-radius: 50%;
    width: 15px;
    height: 15px;
}

.custom-radio .custom-control-label::before {
    border-radius: 50%;
    background: transparent;
    border: solid 1px var(--black-light);
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: transparent;
    background: transparent;
    border: solid 1px var(--primary);
}

.custom-radio .custom-control-input:checked~.custom-control-label::after {
    background: var(--primary);
    border: var(--primary);
}

.custom-control-label::after {
    position: absolute;
    top: 6px;
    left: -20px;
    display: block;
    width: 10px;
    height: 10px;
    content: "";
    background: no-repeat 50%/50% 50%;
    border: solid 1px var(--black-light);
    border-radius: 50%;
}

.preloader {
    background-color: var(--secondary);
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 10000000000;
}


/*========= Pagination ============ */
.page-item:first-child .page-link {

}

.page-link {
    background: var(--white);
    border: solid 1px var(--white);
    color: var(--black-bold);
    border-radius: 5px;
    text-decoration: none;
}

.page-link:hover {
    color: var(--white);
    background-color: var(--secondary);
}

.page-item.active .page-link {
    color: var(--white);
    background-color: var(--black-bold) !important;
}

.page-link:focus {
    box-shadow: none;
}

.pagination {
    flex-wrap: wrap;
}

.page-item + .page-item {
    margin-left: 0.5rem;
}

.overflow-ellipsis2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
}

.overflow-ellipsis3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
}

@media (min-width: 576px) {
    .container {
        max-width: 510px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 660px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 880px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1088px;
    }
}
