.hover-block,.hover-block-search {
    display: none;
}


.handle-icon-mr4 {
    margin-right: 0.5rem;
}

a {
    color: #595757;
}

@media (min-width: 1200px) {
    #pageHead {
        background: none;
    }

    #pageHead:hover {
        background: #FFFFFF !important;
    }
    
    #pageHead:hover .header-nav-ul li a {
        color: #595757 !important;
    }
    
     #pageHead:hover .handle-block div span {
        color: #4E4E4E !important;
    }
    

    .header-logo-img {
        width: 200px;
        height: 25px;
    }
    .handle-block-icon {
         width: 1rem;
         height: 1rem;
         vertical-align: baseline;
         cursor: pointer;
     }

    .handle-block div span {
        font-weight: 400;
        font-size: 1rem;
        color: #EEEEEE;
    }

    .row {
        align-items: center;
        justify-content: space-between;
        margin: 0 auto !important;
        padding: 0 !important;
        height: 100%;
    }

    .header-nav {
        flex: 1;
        display: flex;
        align-items: center;
        padding: 0 3rem 0 6rem;
        height: 100%;
    }

    .header-nav-ul {
        display: flex;
        align-items: center;
        width: 100%;
    }

    ul {
        list-style: none;
        margin-bottom: 0 !important;
        height: 100%;
    }

    .form-control {
        /*background-color: #173C96;*/
    }

    .header-nav-ul li {
        cursor: pointer;
        flex: 1;
        font-size: 1rem;
        font-weight: 400;
        line-height: 5rem;
        height: 100%;
        text-align: center;
    }
    
    .header-nav-ul li a {
        color: #EEEEEE;
        font-size: 20px;
    }
    
    .header-nav-ul li:hover {
        border-bottom: 1px solid #C30D23;
    }

    .header-nav-ul li a:hover {
        color: #595757 !important;
    }

    .handle-block {
        display: flex;
        align-items: center;
    }

    .handle-block div {
        display: flex;
        align-items: center;
    }

    .handle-block-middle {
        margin: 0 0.75rem 0 1rem;
    }

    .hover-block,.hover-block-search {
        width: 100%;
        padding: 60px 0;
        background: linear-gradient(180deg, rgb(238,238,238) 0%, rgb(255,255,255) 49%);
        position: absolute;
        top: 5rem;
        display: none;
    }

    .container:has(.down-menu:hover) + .hover-block,.hover-block:hover {
        display: block;
    }
    #pageHead:has(.hover-block[nav-id='project']:hover) > .row .down-menu[id='project'],
    #pageHead:has(.hover-block[nav-id='news']:hover) > .row .down-menu[id='news'],
    .down-menu:hover
    {
        border-bottom: 1px solid #C30D23;
    }

    .container-click {
        padding: 0 82px 0 0;
    }

    .nav-type-check {
        font-weight: 500 !important;
        color: #C30D23 !important;
        font-family: SourceHanSansSC;
        line-height: 24px !important;
        text-decoration: underline;
        margin-bottom: 40px !important;
    }
    
    .nav-type li:hover {
        font-weight: 500 !important;
        color: #C30D23 !important;
        font-family: SourceHanSansSC;
        line-height: 24px !important;
        text-decoration: underline;
    }

    .nav-type li {
        display: flex;
        align-items: center;
        cursor: pointer;
        font-family: SourceHanSansSC;
        font-weight: 400;
        font-size: 16px;
        color: #595757;
        line-height: 16px;
        margin-bottom: 30px;
    }

    .nav-type li:last-of-type {
        margin-bottom: 0 !important;
    }

    .nav-type li::before {
        content: '';
        display: block;
        width: 18px;
        height: 17px;
        margin-right: 22px;
    }

    .nav-type-check::before {
        background: url('../../static/check.png');
    }

    .project-right {
        flex: 1;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-left: 1px solid #ADADAD;
        padding-left: 82px;
    }

    .project-right > div {
        width: 540px;
    }

    .project-type-title {
        font-family: SourceHanSansSC, serif;
        font-weight: 400;
        font-size: 24px;
        color: #595757;
        margin: 4px 0 18px;
        line-height: 36px;
        width: 650px;
    }

    .project-type-text {
        font-family: SourceHanSansSC, serif;
        font-weight: 400;
        font-size: 16px;
        color: #595757;
        line-height: 24px;
        margin-bottom: 24px;
        width: 650px;
    }

    .project-type-size {
        display: grid;
        grid-template-columns: repeat(5,1fr);
        grid-column-gap: 12px;
        grid-row-gap: 14px;
    }

    .project-type-size li {
        display: block;
        min-width: 60px;
        height: 26px;
        border-radius: 13px;
        border: 1px solid #494949;
        text-align: center;
        line-height: 26px;
        font-size: 16px;
        color: #595757;
        cursor: pointer;
        padding: 0 10px;
    }

    

    .check-size {
        background: #C30D23;
        border-color: #C30D23 !important;
        color: #FFFFFF !important;
    }

    .project-type-learn-more {
        width: 140px;
        height: 40px;
        border-radius: 20px;
        border: 1px solid #494949;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: 300;
        font-size: 16px;
        color: #494949;
        cursor: pointer;
        margin-top: 40px;
    }

    .project-type-learn-more:hover,.project-type-size li:hover {
        background: #C30D23 !important;
        color: #FFFFFF !important;
        border: 1px solid #C30D23;
    }

    .project-type-learn-more:active,.project-type-learn-more:visited {
        color: #494949;
        text-decoration: none;
    }

    .project-image {
        width: 420px;
        height: 168px;
        position: absolute;
        top: 80px;
        right: 160px;
        z-index: 10;
    }

    .news-image{
        width: 270px;
        height: 168px;
        position: absolute;
        top: 80px;
        right: 160px;
        z-index: 10;
    }

    .search-block {
        width: 620px;
        padding: 16px 0;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #B3B3B3;
        margin: 0 auto;
    }

    .search-input {
        flex: 1;
        font-family: SourceHanSansSC, serif;
        font-weight: 400;
        font-size: 14px;
    }

    .search-block-icon {
        width: 20px;
        height: 20px;
        margin-left: 20px;
        cursor: pointer;
    }

    .login-block {
        width: 400px;
        background-color: #FFFFFF;
        border-radius: 12px;
        box-shadow: 4px 5px 16px 0px rgba(0,0,0,0.1);
        box-sizing: border-box;
        position: relative;
        z-index: 9999999999999;
    }

    .login-title {
        width: 100%;
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        margin: 20px 0 30px;
    }

    .form-group {
        margin-bottom: 14px !important;
    }

    .login-block-button {
        width: 100%;
        margin: 20px 0;
    }

    .form-group label {
        font-weight: 400;
        font-size: 18px;
        color: #000000;
        margin-bottom: .6rem;
    }

    .modal-body {
        padding: 30px 30px !important;
    }
    .can-send,.btn-primary {
        background-color: #173C96 !important;
        color: #FFFFFF !important;
    }

    .modal-backdrop.show {
        opacity: 0 !important;
    }
    
}

@media (max-width: 1200px) {
    .header-logo-img {
        width: 150px;
        height: 18.75px;
    }

    .row {
        justify-content: space-between;
        margin: 0 auto;
    }

    .handle-block-mobile-none {
        display: none;
    }

    .handle-block {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .handle-block-icon {
        width: 1.5rem;
        height: 1.5rem;
        vertical-align: baseline;
    }

    .handle-block div span {
        font-weight: 400;
        font-size: 1.5rem;
        color: #4E4E4E;
    }


    .handle-block > div{
        display: flex;
        align-items: center;
    }

    .handle-icon-mr6 {
        margin-right: 1rem;
    }
}