:root {
    --main-color1: #EC6401;
    --main-color2: #EF7901;
    --main-color3: #F28A01;
    --main-color4: #F7AB00;

    --light-grey: #F3F4F7;
    --grey: #97A0B9;
    --dark-grey: #4B4B4B;

    --main-black: #424242;

    --dark-blue: #172C64;
    --light-blue: #1E3E8E;

    --mobile-breakpoint: 992px;
}

body, * {
    font-family: 'Gmarket Sans', 'sans-serif';
    font-weight: 300;
    font-size: 16px;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

strong, span, i {
    color: inherit;
    font-size: inherit;
}

.container {
    max-width: 1440px;
}

/* HEADER START */
header {
    width: 100%;

    /*position: fixed;*/
    z-index: 9999999999;
}

.main-header {
    z-index: 9999;
    background-color: white/*rgba(255,255,255,0.4)*/;
    width: 100%;
    /*transition: background-color 0.5s ease, height 0.5s ease;*/
}

.nav-outer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.nav-outer > .container:first-child {
    border-bottom: 1px solid var(--light-grey);
}

.logo-box {
    padding: 30px 0;
    text-align: center;
}

.logo-box img {
    height: 1.8rem;
}

.logo-box > a  {
    color: var(--main-black);
    font-size: 2.4rem;
    font-weight: 600;
}

.main-menu .navbar-collapse > .navigation-header,
.navbar-header {
    display: none;
}

.navigation {
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}

.menu-area {
    min-height: 60px;
    width: 100%;
}

.header-bottom {
    position: relative;
    border-bottom: 1px solid var(--light-grey);
}

.main-navigation-bg, .main-navigation-bg .header-bg {
    background-color: white;
}

/* 1depth */
.dropdown {
    flex: 1;
    list-style: none;

    text-align: center;
}

.dropdown > a {
    color: var(--main-black);
    font-size: 1.4rem;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    line-height: 45px;


    display: block;

    margin-bottom: -1px;

    border-bottom: 1px solid var(--light-grey);
}

li.dropdown:hover > a {
    border-bottom-color: var(--main-color4);
    color: var(--main-color4);
}

/* 2depth */
.dropdown > ul {
    position: absolute;
    z-index: 3;
    left: 0;

    width: 100%;
    height: 100%;
    min-height: 250px;

    list-style: none;

    padding: 0;
    box-sizing: border-box;

    border-left: solid 1px var(--light-grey);

    opacity: 0;
    display: none;
    transition: height 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
}

.dropdown:last-of-type > ul {
    border-right: solid 1px var(--light-grey);
}

.navigation .dropdown > ul > li > a {
    color: #333;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;

    display: block;
    padding: 10px 20px;
}

/* 1depth hover */
@media (min-width: 992px)  {
    .navigation:hover .dropdown > ul {
        opacity: 1;
        max-height: fit-content;
        display: block;
    }

    li.dropdown:hover > ul {
        background-color: rgba(247, 171, 0, 0.04);
    }
}

.header-bg {
    position: absolute;
    z-index: 2;

    width: 100%;
    height: 0;

    background-color: white /*rgba(255,255,255,0.4)*/;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 10px 10px;
}

.header-bg.active {
    height: 250px;
}

.main-menu {
    width: 100%;

    min-height: 45px;
    align-content: center;
    align-items: center;
}

@media (max-width: 992px) {
    /* header mobile */
    .main-menu .navbar-header {
        position: relative;
        float: none;
        display: block;
        text-align: right;
        width: 100%;
        top: 0;
    }

    .main-menu .navbar-header .navbar-toggle {
        display: inline-block;
        background: none;
        border: none;
        padding: 0;
        margin: 0;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-toggle img {
        width: 30px;
    }

    .main-menu .collapse {
        position: fixed;

        z-index: 9999;
        top: 0;
        right: 0;


        background: var(--main-color1);
        box-shadow: rgba(17, 17, 26, 0.1) -1px 0px 20px;
        overflow: auto;
        float: none;

        border: none;
        padding: 0;
        margin: 0;

        height: 100%;
        width: 40%;
        max-height: initial;
        min-width: 300px !important;
    }

    .dropdown > ul {
        min-height: max-content;
    }

    .dropdown:last-of-type > ul, .dropdown > ul {
        border : 0;
    }

    .main-menu .navbar-collapse > .navigation {
        flex-direction: column;
    }

    .main-menu .navbar-collapse > .navigation > li {
        display: block;

        width: 100%;
        padding: 0;
    }

    .main-menu .navbar-collapse > .navigation-header {
        display: block;

        padding: 30px 15px 15px;
    }

    .main-menu .navbar-collapse > .navigation-header i {
        color: #fff;
        font-size: 2rem;
        cursor: pointer;
    }

    /* dropdown 1depth */
    .dropdown > a {
        display: flex;
        justify-content: space-between;

        padding: 15px;

        color: var(--light-grey);
        line-height: 1.2;
        text-align: left;
    }

    .dropdown.active::after {
        width: 0;
    }

    /* dropdown 2depth */
    .dropdown ul {
        height: 0;
        transition: height 0.3s ease-out;
    }

    .dropdown.active {
        display: block;
    }

    .dropdown > a:after {
        content: "\f078";
        font-family: "FontAwesome", serif;

    }

    .dropdown.active > ul {
        display: block;
        position: static;

        opacity: 1;

        width: 100%;
        height: max-content;

        transform: translateX(0);
    }

    .navigation .dropdown > ul > li > a {
        text-align: left;
        color: var(--light-grey);
        font-weight: 500;
    }
}

/* footer start */
.footer {
    position: relative;
    box-sizing: border-box;
    background-color: #333;
}

.footer-top {
    padding: 30px 0;
    margin-bottom: 30px;
    box-sizing: border-box;
    border-bottom: 1px solid #424242;
}

.footer-link {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 0 32px;
    overflow: hidden;

    padding: 0;
    margin: 0;
}

.footer-link a {
    color:  var(--light-grey);
}

.footer-link .point a {
    color: var(--main-color4);
}

.footer-info p, .footer-info a {
    color: #9e9e9e;
    font-size: 15px;
    margin: 0;
}

.footer-bottom {
    padding-bottom: 30px;
}

.footer-bottom .inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-logo-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-logo-list img {
    height: 45px;
}
/* footer end */

/* table start */
.table {
    width: 100%;
    table-layout: fixed;
    border-top: 2px solid var(--main-color4) !important;
    border-bottom: 2px solid var(--main-color4) !important;
    margin-bottom: 30px;

    text-align: center;
}

.table td, .table th {
    padding: 15px;
    vertical-align: middle;

    border-top: 1px solid #dee2e6;
}

.table th {
    background-color: #fafafa;
    font-weight: 500;
}
/* table end */

/* pagination start */
div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: center;
    margin: 30px 0 0;
}

.page-item.active .page-link {
    background-color: var(--main-color4);
    border-color: var(--main-color4);
}

.pagination a {
    display: flex;
    justify-content: center;
    align-items: center;

    height: 40px;

    text-decoration: none!important;
}

.page-item:hover:not(.offset) .page-link {
    color: white!important;
}

.pagination a:hover {
    background-color: var(--main-color4);
    color: white;
}

@media (max-width: 426px) {
    .mobile-none {
        display: none;
    }
}
/* pagination end */