﻿/* ===== BASE CSS INIT ===== */
:root {
    --secondary: rgba(0, 0, 0, 0.05);
    --blue: #0051e4;
    --link-blue: #0037ff;
    --pray-blue: #0d60b3;
    --super-lighter-blue: #e8eeff;
    --lighter-blue: #00deff;
    --light-blue: #008ce6;
    --medium-blue: #0d5cb6;
    --strong-blue: #063e87;
    --white: #fff;
    --yellow: #ffcb05;
    --light-yellow: #ffef3f;
    --dark-gray: #757575;
    --dark: #333;
    --orangeRed: #cc2801;
    --liner-red: linear-gradient(to right, #cc2801, #f5af19);
    --liner-red-revert: linear-gradient(to right, #f5af19, #cc2801);
    --liner-blue: linear-gradient(to right, #0295bf, #0258aa);
    --liner-blue-revert: linear-gradient(to right, #0258aa, #0295bf);
    --liner-strong-blue: linear-gradient(to right, #021b79, #0575e6);
    --liner-strong-blue-revert: linear-gradient(to right, #0575e6, #021b79);
    --liner-green: linear-gradient(to right, #048500, #4abd00);
    --liner-green-revert: linear-gradient(to right, #4abd00, #048500);
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", sans-serif;
    line-height: 1;
}

a {
    text-decoration: none;
    color: black;
}

ol,
ul {
    list-style: none;
}

button {
    border: none;
}

hr {
    width: 100%;
    border-bottom: 1px solid gray;
    opacity: .15;
}

button.initial,
button.loaded,
button.error,
section.initial,
section.loaded,
section.error,
a.initial,
a.loaded,
a.error,
div.initial,
div.loaded,
div.error,
img.initial,
img.loaded,
img.error {
    opacity: 1;
}

b,
strong {
    font-weight: bold;
}

select {
    -webkit-appearance: none;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.d-none {
    display: none !important;
}

.d-block {
    display: block;
}

.hide {
    display: none !important;
}

.opacity-0 {
    opacity: 0;
}

.loaded {
    transition: opacity 0.3s;
    opacity: 1;
}

.underline {
    text-decoration: underline;
}

.of-contain {
    object-fit: contain;
}

/* flex box */
.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.align-start {
    align-items: flex-start !important;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-evenly {
    justify-content: space-evenly;
}

.flex-start {
    display: flex;
    align-items: center;
    justify-content: start;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-evenly {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-end {
    display: flex;
    align-items: center;
    justify-content: end;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.flex-wrap {
    flex-wrap: wrap;
}

/* text */
.text-italit {
    font-style: italic;
}

/* background */
.bg-cover {
    background-size: cover;
}

.bg-contain {
    background-size: contain;
}

.bg-center {
    background-repeat: no-repeat;
    background-position: center;
}

/* posision */
.posision-fixed {
    position: fixed;
}

.posision-relative {
    position: relative;
}

.posision-absolute {
    position: absolute;
}

/* color */
.c-blue {
    color: var(--blue);
}

.c-strong-blue {
    color: var(--strong-blue);
}

.c-dark-gray {
    color: var(--dark-gray);
}

/* max line */
.max-line {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.max-line-2 {
    -webkit-line-clamp: 2;
}

.max-line-3 {
    -webkit-line-clamp: 3;
}

/* font-weight */
.fw-300 {
    font-weight: 100 !important;
}

.fw-400 {
    font-weight: 400 !important;
}

.fw-500 {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: bold !important;
}

/* font size */
.fs-12 {
    font-size: 12px;
    line-height: 20px;
}

.fs-13 {
    font-size: 13px;
    line-height: 21px;
}

.fs-14 {
    font-size: 14px;
    line-height: 22px;
}

.fs-15 {
    font-size: 15px;
    line-height: 23px;
}

.fs-16 {
    font-size: 16px;
    line-height: 24px;
}

.fs-17 {
    font-size: 17px;
    line-height: 25px;
}

.fs-18 {
    font-size: 18px;
    line-height: 26px;
}

.fs-20 {
    font-size: 20px;
    line-height: 27px;
}

/* border radius */
.br-1 {
    border-radius: 1px;
}

.br-2 {
    border-radius: 2px;
}

.br-3 {
    border-radius: 3px;
}

/* padding */
.p-5 {
    padding: 5px !important;
}

.p-10 {
    padding: 10px !important;
}

.pl-10 {
    padding-left: 10px !important;
}

.pb-0 {
    padding-bottom: 0px !important;
}

.pb-10 {
    padding-bottom: 10px !important;
}

.pb-15 {
    padding-bottom: 15px !important;
}

.pb-20 {
    padding-bottom: 20px !important;
}

.pt-20 {
    padding-top: 20px !important;
}

.pr-10 {
    padding-right: 10px !important;
}

/* margin */
.m-center {
    margin: 0 auto !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mt-5 {
    margin-top: 5px !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mb-0 {
    margin-bottom: 0px !important;
}

.mb-5 {
    margin-bottom: 5px !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.mr-5 {
    margin-right: 5px !important;
}

.mr-10 {
    margin-right: 10px !important;
}

.mr-20 {
    margin-right: 20px !important;
}

.ml-10 {
    margin-left: 10px !important;
}

.w-100 {
    width: 100% !important;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right !important;
}

.custom-slider {
    display: none;
}

/*cursor*/
.cursor-pointer {
    cursor: pointer;
}

/*Custom scroll bar*/
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

/* ===== BASE CSS ANIMATION ===== */
@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotateZ(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}

@keyframes rotateccw {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes spin {
    0%, 100% {
        box-shadow: .2em 0px 0 0px currentcolor;
    }

    12% {
        box-shadow: .2em .2em 0 0 currentcolor;
    }

    25% {
        box-shadow: 0 .2em 0 0px currentcolor;
    }

    37% {
        box-shadow: -.2em .2em 0 0 currentcolor;
    }

    50% {
        box-shadow: -.2em 0 0 0 currentcolor;
    }

    62% {
        box-shadow: -.2em -.2em 0 0 currentcolor;
    }

    75% {
        box-shadow: 0px -.2em 0 0 currentcolor;
    }

    87% {
        box-shadow: .2em -.2em 0 0 currentcolor;
    }
}

@keyframes shake {
    0% {
        transform: rotate(0deg);
    }

    4%, 8%, 12%, 16%, 20%, 24% {
        transform: rotate(-15deg) scale(1.1);
    }

    2%, 6%, 10%, 14%, 18%, 22% {
        transform: rotate(15deg) scale(1);
    }

    26% {
        transform: rotate(0deg);
    }
}

@keyframes wave-animation {
    0% {
        transform: scale(1);
        opacity: .5;
    }

    50% {
        transform: scale(2);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.shake {
    display: inline-block;
    animation: shake 6s infinite ease-in-out;
}

.wave-animation {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--medium-blue);
    border-radius: 50%;
    animation: wave-animation 2s infinite;
    opacity: .5;
}

@media screen and (max-width:720px) {
    .aside-form-content {
        width: 80%;
        min-width: unset;
        max-width: unset
    }

    .aside-form-close {
        width: 30%
    }

    .suggest-search-ctn {
        top: 40px;
    }
}

/* ===== BASE CSS TABLE ===== */
table {
    width: 100%;
    margin-bottom: 13px;
}

    table thead {
        font-weight: bold;
    }

.table-responsive {
    overflow-x: auto;
}

table td,
table th {
    border: 1px solid lightgray;
    font-size: 13px;
    line-height: 18px;
    padding: 7px;
    box-sizing: border-box;
    vertical-align: middle;
}

table p {
    font-size: 13px;
}

table td p:first-of-type,
table th p:first-of-type {
    margin-bottom: 0;
}

.tag-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.tag-item {
    background: var(--medium-blue);
    color: white;
    padding: 7px 7px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 100;
    font-size: 16px;
}

/* ===== BASE CSS SPINNER ===== */
.global-spiner-container {
    height: 100vh;
    width: 100vw;
    position: fixed;
    background: rgba(0, 0, 0, 0.3);
    z-index: 110;
    display: none;
    align-items: center;
    justify-content: center;
}

.spiner {
    transform: rotateZ(45deg);
    perspective: 1000px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: #fff;
}

    .spiner:before,
    .spiner:after {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: inherit;
        height: inherit;
        border-radius: 50%;
        transform: rotateX(70deg);
        animation: 1s spin linear infinite;
        color: var(--yellow);
    }

    .spiner:after {
        color: var(--blue);
        transform: rotateY(70deg);
        animation-delay: .4s;
    }

/* ===== BASE CSS BADGE ===== */
.badge {
    display: block;
    padding: 1px 5px;
    border-radius: 3px;
    width: fit-content;
}

.badge-blue {
    background: var(--blue);
    color: white;
    font-weight: 400;
}

/* ===== BASE CSS SUGGESTION SEARCH ===== */
.suggest-search-ctn {
    position: absolute;
    width: 100%;
    height: auto;
    z-index: 101;
    top: 40px;
    background: white;
    left: 0;
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
    font-size: 15px;
    display: none;
}

    .suggest-search-ctn.visible {
        display: block;
    }

.suggest-search__item {
    padding: 12px 10px;
    border-bottom: 1px solid var(--super-lighter-blue);
    font-size: 12px;
    transition: .3s;
    cursor: pointer;
    border-radius: 7px;
}

    .suggest-search__item:last-of-type {
        border: none;
    }

    .suggest-search__item:hover {
        background: var(--super-lighter-blue);
        padding-left: 15px;
    }

/* ===== BASE CSS BREADCRUMB ===== */
/*Bread Crumb*/
.bread-crumb-list__item::after {
    content: "";
    height: 5px;
    width: 5px;
    border-top: 2px solid var(--dark-gray);
    border-right: 2px solid var(--dark-gray);
    transform: rotate(45deg);
    margin-left: 10px;
}

.bread-crumb-list__item:last-of-type:after {
    display: none;
}
