@media (min-width:1600px) {
    .container {
        width: 1440px;
    }
}

@media (min-width:1920px) {
    .container {
        width: 1600px;
    }
}

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

/* Size:1024px */

@media (max-width:1024px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }

    header .container {
        padding: 0;
    }

    .topbar-contact {
        padding: 10px;
        border-bottom: 1px solid #dddddd;
    }

    .logo a {
        padding: 10px 0;
    }

    .nav-toolbar-ul {
        position: absolute;
        left: -100%;
        top: 100%;
        background: var(--white);
        width: 100%;
        height: calc(100vh - 131px);
        border-top: 1px solid #dddddd;
        flex-direction: column;
        visibility: hidden;
        opacity: 0;
        z-index: 9999;
        transition: all 0.5s;
    }

    .open .nav-toolbar-ul {
        left: 0;
        visibility: visible;
        opacity: 1;
    }

    .nav-toolbar-ul .nav-item-1 a {
        justify-content: space-between;
        width: 100%;
        height: unset;
        padding: 0 10px;
    }

    .nav-toolbar-ul .nav-item-1 a:not(:has(span)) {
        padding: 20px 10px;
    }

    .nav-toolbar-ul .nav-item-1 a:has(span)>span.expand {
        padding: 20px;
        margin-left: 0;
    }

    .nav-toolbar-ul .nav-item-1 a:hover {
        background-color: var(--white);
        color: var(--black);
    }

    .nav-toolbar-ul .nav-item-1 a:hover>span.expand::after {
        border-top-color: var(--black);
    }

    .nav-toolbar-ul .nav-item-1 ul.nav-item-2 {
        position: initial;
        width: 100%;
        border-top: 1px solid #dddddd;
        border-bottom: 1px solid #dddddd;
    }

    .nav-toolbar-ul .nav-item-1:hover ul.nav-item-2 {
        display: none;
    }

    .nav-toolbar-ul .nav-item-1.open ul.nav-item-2 {
        display: block;
    }

    .nav-toolbar-ul .nav-item-1 ul.nav-item-2 li a {
        text-align: left;
    }

    .header-mobile-btn {
        display: block;
        position: relative;
        width: 60px;
        cursor: pointer;
    }

    .header-mobile-btn span {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: block;
        width: 40px;
        height: 1px;
        border-radius: 1px;
        background: var(--black);
    }

    .header-mobile-btn span::before,
    .header-mobile-btn span::after {
        content: "";
        display: block;
        width: 40px;
        height: 1px;
        border-radius: 1px;
        background: var(--black);
        transition: .5s;
    }

    .header-mobile-btn span::before {
        margin-top: -10px;
    }

    .header-mobile-btn span::after {
        margin-top: 20px;
    }

    .open .header-mobile-btn span {
        background: transparent;
    }

    .open .header-mobile-btn span::before {
        transform: rotate(45deg);
        margin-top: unset;
    }

    .open .header-mobile-btn span::after {
        transform: rotate(-45deg);
        margin-top: unset;
    }

    .about-top-right {
        position: relative;
        flex-direction: row;
        justify-content: space-around;
    }

    .section-about-wrapper .grey-irregular-figure {
        right: 0;
    }

    .about-top-right span:not(:last-child) {
        margin-bottom: 0;
    }

    .container-left-padding-section {
        padding-left: 15px;
    }

    .grid-project-detail .grid-icon-projects {
        grid-gap: 20px;
    }

    .grid-project-thumbs {
        display: flex;
        align-items: center;
    }

    .grid-project-thumbs::before {
        top: 60px;
    }

    .grid-project-thumbs::after {
        bottom: 60px;
    }

    .section-news-wrapper .red-irregular-figure {
        display: none;
    }

    .grid-news-column {
        grid-template-columns: 50% 50%;
    }

    .grid-news-column .news-bg-thumb {
        display: flex;
        align-items: center;
    }

    .grid-news-column .news-bg-thumb::after {
        height: calc(100% - 240px);
        bottom: 120px;
    }

    .grid-news-column .news-list-column .list-news .item a .topic,
    .grid-news-column .news-list-column .list-news .item a .desc {
        flex-direction: column;
    }

    .grid-news-column .news-list-column .list-news .item a .topic span.date,
    .grid-news-column .news-list-column .list-news .item a .desc .view-more {
        margin-top: 20px;
    }

    .grid-news-column .news-list-column .list-news .item a .desc {
        align-items: flex-start;
    }

    /* Products */
    .grid-list-products {
        grid-template-columns: 25% calc(75% - 30px);
        grid-gap: 30px;
    }

    .grid-products {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 20px;
    }

    /* Footer */

    .grid-footer-column {
        grid-template-columns: 50% calc(50% - 90px);
        grid-gap: 50px;
    }

    .footer-copyright {
        padding: 20px 15px;
    }

}

/* Size:992px */

@media (max-width:992px) {

    .container-section {
        padding: 50px 15px;
    }

    .section-topic-title {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        font-size: 40px;
    }

    .section-topic-title::before {
        width: 0;
        height: 40px;
        border-left: 5px solid #b22222;
        border-top: 0;
        margin-right: 10px;
        margin-bottom: 0;
    }

    .section-topic-title span {
        margin-right: 10px;
    }

    .section-topic-title span.subtitle {
        width: 100%;
        margin-left: 20px;
        margin-right: 0;
    }

    .about-top-right {
        padding: 30px 20px 30px 30px;
    }

    .section-about-wrapper .grey-irregular-figure {
        display: none;
    }

    .grid-about-section {
        grid-template-columns: 100%;
    }

    .about-bg-video iframe,
    .about-bg-video video{
        display: block;
        width: 100% ;
        height: 360px;
    }

    .about-topic-content {
        padding-left: 0;
    }

    .category-topic-title {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-topic-title .section-category-title {
        width: 100%;
        margin-top: 20px;
    }

    .grid-products-display {
        width: 100%;
        margin-right: 0;
    }

    .section-vision-wrapper {
        text-align: center;
        padding: 60px;
    }

    .section-vision-wrapper .vision-topic-title {
        font-size: 24px;
    }

    .grid-project-service {
        grid-template-columns: 100%;
    }

    .grid-project-thumbs::before {
        top: 0;
    }

    .grid-project-thumbs::after {
        bottom: 0;
    }

    .grid-news-column {
        display: flex;
        flex-direction: column-reverse;
    }

    .grid-news-column .news-list-column .list-news .item a .topic span.title {
        width: 100%;
    }

    .grid-details {
        grid-template-columns: repeat(2, 1fr);
    }

    /* News */

    .grid-list-news .item-grid-news .date span {
        font-size: 32px;
    }

    .grid-list-news .item-grid-news .news-content {
        flex-direction: column;
    }

    .grid-list-news .item-grid-news .news-content .thumb,
    .grid-list-news .item-grid-news .news-content .thumb-detail {
        width: 100%;
    }

    .grid-list-news .item-grid-news .news-content .thumb {
        height: 120px;
        margin-left: 0;
        padding-left: 30px;
    }

    .grid-list-news .item-grid-news .news-content .thumb-detail .title {
        margin-top: 20px;
    }

    /* Footer */

    .contact-list .logo-text {
        font-size: 24px;
    }

    .contact-list .logo-text img {
        max-height: 40px;
    }

    .contact-form-elements .form-line .form-line-title {
        display: none;
    }

    .contact-form-elements .form-line-group {
        flex-direction: column;
    }

    .footer-copyright {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-social-media {
        margin-top: 20px;
    }
}

/* Size:576px */

@media (max-width:576px) {

    .container {
        padding: 0;
    }

    .topbar-contact {
        flex-direction: column;
        justify-content: flex-start;
    }

    .topbar-contact .item-contact:not(:last-child) {
        margin-bottom: 10px;
    }

    .logo a img {
        max-height: 50px;
    }

    .header-mobile-btn span,
    .header-mobile-btn span::before,
    .header-mobile-btn span::after {
        width: 30px;
    }

    .section-topic-title {
        font-size: 24px;
        line-height: 30px;
    }

    .section-topic-title::before {
        height: 24px;
    }

    .section-topic-title span.subtitle {
        font-size: 20px;
        margin-left: 16px;
    }

    .section-about-wrapper::after {
        bottom: 20px;
    }

    .about-bg-video {
        padding: 0;
    }

    .about-bg-video .about-bg-topic {
        display: none;
    }

    .about-bg-video iframe,
    .about-bg-video video{
        height: 250px;
    }

    .category-topic-title .section-category-title {
        padding: 0 30px;
    }

    .section-category-title .swiper-button-prev,
    .section-category-title .swiper-button-next {
        width: 30px;
        height: 30px;
    }

    .grid-products-display {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 50px;
    }

    .section-vision-wrapper {
        padding: 30px 15px;
    }

    .section-vision-wrapper .vision-topic-title {
        font-size: 20px;
        line-height: 30px;
    }

    .grid-project-detail .grid-icon-projects {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 50px;
    }

    .grid-project-thumbs {
        padding: 50px 0 50px 50px;
    }

    .grid-project-service {
        padding-bottom: 50px;
    }

    .section-news-wrapper {
        padding-bottom: 50px;
    }

    .section-news-wrapper .grey-irregular-figure {
        display: none;
    }

    .grid-news-column {
        grid-gap: 0;
    }

    .grid-news-column .news-list-column .list-news .item a {
        padding: 20px;
    }

    .grid-news-column .news-list-column .list-news .item a .desc p {
        width: 100%;
    }

    .main-category-breadcrumb .container {
        padding: 0 15px;
    }

    .main-category-breadcrumb .category-breadcrumb {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-category-breadcrumb .breadcrumb {
        flex-wrap: wrap;
        margin-bottom: 10px;
    }

    .main-category-breadcrumb .breadcrumb a {
        margin-bottom: 10px;
    }

    .main-category-breadcrumb .category {
        flex-wrap: wrap;
    }

    .main-category-breadcrumb .category .item-category {
        margin-bottom: 10px;
    }

    .main-wrapper-title {
        font-size: 24px;
    }

    /* Job */

    .main-list-job,
    .main-show-job {
        padding-left: 15px;
        padding-right: 15px;
    }

    .main-list-job .item-job .title {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-list-job .item-job .title .date {
        margin-top: 20px;
    }

    .grid-details {
        grid-template-columns: 100%;
    }

    /* Team */
    .main-grid-thumbs {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
    }

    .main-show-thumb .show-thumb-title {
        font-size: 20px;
    }

    .main-show-thumb .show-related-links {
        flex-direction: column;
    }

    .main-show-thumb .show-related-links a {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .main-show-thumb .show-related-links a span.label {
        align-items: flex-start;
    }

    .main-show-thumb .show-related-links a:last-child span.label {
        flex-direction: row-reverse;
    }

    .main-show-thumb .show-related-links a span.label>.icon {
        margin-right: 10px;
    }

    /* News */
    .grid-list-news .item-grid-news {
        display: flex;
        flex-direction: column;
    }

    .grid-list-news .item-grid-news::before {
        border-left: 0;
    }

    .grid-list-news .item-grid-news:last-child {
        padding-bottom: 0;
    }

    .grid-list-news .item-grid-news .date span {
        font-size: 20px;
    }

    .grid-list-news .item-grid-news .news-content .thumb,
    .grid-list-news .item-grid-news .news-content .thumb-detail {
        padding-left: 0;
    }

    .grid-list-news .item-grid-news .date {
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 20px;
    }

    .grid-list-news .item-grid-news .date svg {
        margin-top: 0;
    }

    .grid-list-news .item-grid-news .news-content .thumb-detail .desc {
        padding-top: 20px;
    }

    .main-show-news .show-thumb-title {
        font-size: 20px;
    }

    .main-show-thumb .show-thumb-msg span.hits {
        margin-top: 10px;
    }

    .main-show-thumb .show-thumb-msg {
        flex-direction: column;
        justify-content: flex-start;
    }

    .main-show-news .show-related-links {
        flex-direction: column;
    }

    .main-show-news .show-related-links a {
        flex-direction: column;
    }

    .main-show-news .show-related-links a:last-child {
        flex-direction: column-reverse;
        margin-top: 10px;
    }

    /* Products */
    .grid-list-products {
        grid-template-columns: 100%;
        padding: 50px 0;
    }

    .category-product {
        padding: 0 15px;
    }

    .category-product .category-topic {
        font-size: 20px;
    }

    .grid-products {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 15px;
    }

    .grid-products-detail {
        grid-template-columns: 100%;
        padding: 0 15px;
    }

    .show-product-detail {
        padding: 0 15px;
    }

    .show-product-detail .product-tags {
        flex-direction: column;
        padding: 15px;
    }

    .show-product-detail .product-tags .tag-list {
        margin-top: 20px;
    }

    .grid-show-product .show-related-links {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 15px;
    }

    .grid-show-product .show-related-links .next {
        flex-direction: row-reverse;
        align-items: flex-start;
        margin-top: 10px;
    }

    .grid-show-product .show-related-links .next svg {
        margin-left: 0;
        margin-right: 10px;
    }

    /* Search */
    .search-wrapper {
        padding: 20px 15px;
    }

    .search-result{
        padding: 50px 15px ;
    }

    .search-result .grid-products{
        padding: 0 ;
    }

    /* Footer */

    .footer-wrapper .container-left-padding-section {
        padding: 0 15px;
    }

    .grid-footer-column {
        grid-template-columns: 100%;
    }

    .contact-list .topic-title,
    .contact-form .topic-title {
        font-size: 24px;
    }

    .contact-list .logo-text {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .footer-menu-copyright ul.menu,
    .footer-menu-copyright ul.menu li {
        flex-wrap: wrap;
    }

    .footer-menu-copyright ul.menu li {
        margin-bottom: 10px;
    }

    .footer-menu-copyright .copyright {
        line-height: 30px;
    }

    .footer-menu-copyright .copyright a {
        display: block;
    }

    .footer-social-media a img {
        max-height: 20px;
    }

    .layer-search-wrapper .search-form{
        width: 80% ;
    }

    .layer-search-wrapper .search-form .search-form-elements form{
        flex-direction: column;
    }

    .layer-search-wrapper .search-form .search-form-close .form-close-btn{
        width: 30px ;
        height: 30px ;
    }

    .layer-search-wrapper .search-form .search-form-elements form input{
        width: 100% ;
    }

    .layer-search-wrapper .search-form .search-form-elements form button{
        justify-content: center;
        width: 100% ;
        padding: 10px 0 ;
        margin-top: 20px ;
    }

}