*{
    font-family: 'Comfortaa', cursive;
}
html,
h1,
h2,
h3,
h4,
h5,
h6 {
    color:#5c5b5b;
}
a{
    text-decoration: none;
    color: inherit;
}
/* moyheader */
header{
    height: auto;
}
header .row {
    display: flex;
    align-items: center;
}
header ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
header ul li {
    float: left;    
    position: relative;
}
header ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all .5s;
    padding: 22px;
}
header .tablet-title {
    display: none;
}
header ul li ul {
    display: none;
}
header .menu {
    display: none;
}
header .menu-bar {
    display: none;
}
header .close {
    display: none;
}
.bar-close {
    display: none;
}
header .row .phone-title {
    display: none;
}
header nav.header-links ul {
    display: flex;
    gap: 10px;
}

.footer {
    background-color: #303036;
    color: #d3d3d3;
    position: relative;
}
.footer .footer-section {
    padding: 22px;
}
.footer h4, .footer h3 {
    color: white;
}
.footer .about .contact span {
    display: block;
    font-size: 1.1em;
    margin-bottom: 8px;
}
.footer .about .socials a {
    border: 1px solid gray;
    width: 45px;
    height: 41px;
    padding-top: 5px;
    margin-right: 5px;
    text-align: center;
    display: inline-block;
    font-size: 1.3em;
    border-radius: 5px;
    transition: all .3s;
    color: white;
}
.footer .about .socials a:hover {
    border: 1px solid white;
    color: white;
    transition: all .3s;
}
.footer .links ul a {
    display: block;
    margin-bottom: 10px;
    font-size: 1.2em;
    transition: all .3s;
    color: white;
    text-decoration: none;
}
.footer .links ul a:hover {
    color: white;
    margin-left: 15px;
    transition: all .3s;
}
.footer .contact-form .contact-input {
    background: #272727;
    color: #bebdbd;
    margin-bottom: 10px;
    line-height: 1.5rem;
    padding: .9rem 1.4rem;
    border: none;
}
.footer .contact-form .contact-input:focus {
    background: #1a1a1a;
}
.footer .contact-form .contact-btn {
    float: right;
    font-size: 1.1em;
    transition: all .5s;
    border: 1px solid currentColor;
    background: white;
}
.footer .contact-form .contact-btn:hover {
    background-color: #272727;
    border: 1px solid white;
    color: white;
}
.footer .footer-bottom {
    background: #343a48;
    color: #686868;
    height: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
}
.main-box {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.main-box > .left-bar {
    width: 18%;
}
.main-box > .left-bar .tree {
    height: 100%;
    border-right: 1px solid rgba(0,0,0,0.16) ;
    padding: 20px 0;
}
.main-box > .right-bar {
    width: 82%; 
    background: #F3F3F9;
}
.main-box .left-bar h1 a{
    color: white;
    transition: all .5s;
}
.main-box .left-bar h1 a:hover {
    color: white;
}
.main-box .left-bar .logo {
    background: #008484;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-box header.container-fluid {
    display: flex;
    justify-content: end;
}
.main-box header.container-fluid > div {
    display: flex;
    justify-content: end;
}
.main-div {
    padding: 25px 20px;
}
.right-bar #cell-info ul.nav {
    border: 1px solid rgba(0,0,0,0.1);
    padding: 10px 25px;
    border-radius: 5px;
    gap: 25px;
}
.right-bar #cell-info .tab-content .tab-pane {
    flex-direction: column;
    width: 300px;
    padding: 20px;
    box-shadow: 0 0px 3px #00000030;
    border-radius: 5px;
    background: white;
    justify-content: center;
    align-items: center;
    width: fit-content;
}
.right-bar #cell-info .cell_id {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    justify-content: center;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.right-bar #cell-info .cell_naim {
    display: flex;
    align-items: end;
    justify-content: center;
}


/* sidebar tree */

ul#parent_category {
    padding: 0;
}
.tree__nested-items {
    list-style-type: none;
    margin: 0;
    padding: 0;
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 0;
    overflow: hidden;
}
.tree__item {
    font-size: 15px;
    width: 240px;
    height: 30px;
    line-height: 30px;
    border: 2px solid #dedede;
    background-color: #f7f8fa;
    border-radius: 7px;
    padding: 10px 25px;
    margin: 10px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}
.tree__item--nested {
    position: relative;
}
    /* line */
.tree__item--nested:before {
    content: "";
    position: absolute;
    bottom: 50%;
    /* padding of container - 10px */
    left: -27px;
    /* padding of container - 10px */
    width: 20px;
    /* 3 * half height + half of border radius */
    height: calc(150% + 7.5px);
    border-bottom: inherit;
    border-left: inherit;
    /* don't overlap items */
    z-index: -1;
}

    /* arrow */
.tree__item--nested:after {
    content: "";
    position: absolute;
    /* border-width - 1px */
    left: -8px;
    bottom: calc(50% - 6px);
    border-color: transparent;
    border-left-color: inherit;
    border-style: inherit;
    border-width: 7px;
}
.tree__nested-items.active {
    height: 100%;   
}
.rayon-parent {
    position: relative;
}
.main-line {
    position: absolute;
    background: #DEDEDE;
    width: 2px;
    height: 100%;
    top: 65px;
    z-index: -1;
    left: 15px;
}

/* sidebar tree end */

.search {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    gap: 20px;
}
.search .search-form {
    border: 1px solid rgba(0,0,0,0.1);
    width: 500px;
    height: 200px;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 1  5px;
}
.search .search-form .input-form {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
.search .search-results {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.main-box .dates {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

@media (min-width: 425px) and (max-width: 767px) {
    header nav.header-links ul {
        display: grid;
        align-items: center;
        gap: 15px;
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 320px) and (max-width: 767px) {
    .main-box .dates {
        display: grid;
        align-items: center;
        justify-content: center;
        gap: 60px;
        margin-top: 50px;
    }
    header {
        height: auto;
    }
    
    header .container {
        height: 100%;
    }
    header .header-links {
        color: black;
    }
    header nav.header-links ul {
        display: grid;
        align-items: center;
        gap: 15px;
    }
    header ul li a {
        color: black;
        font-size: 18px;
        padding: 10px 0;
    }
    header .header-links.active {   
        display: inline-block;
        right: 0%;
    }
    b.fluid.active {
        width: 100%;
        background-color: rgba(0, 0, 0, 0.282);
        height: 100%;
        position: absolute;
        z-index: 2;
        overflow: hidden;
    }
    .search .search-form{
        width: 85%;
        height: 195px;
        padding: 0;
        border: 0;
    }
    .search .search-results {
        overflow: auto;
        width: 100%;
    }
    .search .search-results table {
        width: max-content;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    header ul li a {
        font-size: 22px;
    }
    header h1 a {
        font-size: 24px;
    }
}
@media (min-width: 320px) and (max-width: 424px) {
    .left-bar.active {
        left: 0%;
        right: 25%;
    }
}
@media (min-width: 425px) and (max-width: 767px) {
    .left-bar.active {
        left: 0%;
        right: 50%;
    }
}
@media (min-width: 1024px) and (max-width: 1100px) {
    header ul li a {
        font-size: 16px;
    }
    header h1 a {
        font-size: 26px;
    }
}
/* login form */
section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}
section .login-form {
    width: 510px;
    border: 1px solid #8080808a;
    border-radius: 5px;
    padding: 15px 20px;
}
/* end login form */
