/*
 * CSS of templates/ho-tro-ky-thuat.php, moved verbatim from its inline <style> blocks, in source order.
 * Loaded by kosmos_page_template_css (functions/actions.php).
 */

/* templates/ho-tro-ky-thuat.php, <style> at line 8 */
.home_featured_prod_wrap .item span {
    text-overflow: unset;
    -webkit-line-clamp: unset;
}
.site.grid-container.container.hfeed {
    margin-top: 80px;
}

.menu-ho-tro-ky-thuat {
    margin-top: -27px;
}

.menu-ho-tro-ky-thuat ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.menu-ho-tro-ky-thuat ul li {
    background: #494949;
    padding: 3px 20px;
    margin-top: 10px;
    margin-bottom: 4px;
    margin-right: 10px;
}

.menu-ho-tro-ky-thuat ul li:hover {
    background: #e31937;
}

.menu-ho-tro-ky-thuat ul a {
    color: #fff;
}

.title-tai-tai-lieu .sec_title {
    position: relative;
    display: inline-block;
}

.home_3_cont {
    left: 0;
    margin-left: 0 !important;
    padding: 30px;
    height: auto;
    top: 14%;
    background: transparent !important;
}

.home_3_cont:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: url(https://kosmos.vn/wp-content/themes/thuythu/images/red_bg.png) repeat 0 0;
    mix-blend-mode: multiply;
}

.home_3_cont>a:first-child {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.home_3_cont>a:last-child {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    color: #FFFFFF;
    border: 0.5px solid #FFFFFF;
    border-radius: 100px;
    padding: 10px 30px;
    position: relative;
    transition: 0.3s ease-in-out;
}

.home_3_cont>a:last-child:hover {
    background: #FFF;
    color: black;
}

.home_3_cont {
    position: absolute;
    right: 63px;
    bottom: 80px;
    width: 416px;
    height: 250px;
    padding: 50px 44px 45px 44px;
    transition: 1s ease-in-out;
}

@media only screen and (max-width: 991px) {
    .home_3_cont {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media only screen and (max-width: 767px) {
    .home_3_cont>a:last-child {
        padding: 5px 20px;
        font-size: 14px;
    }

    .home_3_cont {
        width: 100%;
        height: 100%;
        transform: unset;
        top: 0;
        left: 0;
        padding: 25px 35px;
        text-align: center;
    }
}



.home_3_cont>p {
    margin-bottom: 10px;
}

.home_3_cont>a {
    margin-top: 25px;
    float: left;
    padding: 3px 15px;
}

.title-tai-tai-lieu .sec_title::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 108%;
    width: calc(70.6vw - 50%);
    height: 1px;
    background-color: #e31937;
    transform: translateY(-50%);
}

.title-tai-tai-lieu .sec_title {
    font-size: 26px;
}

.menu-ho-tro-ky-thuat {
    background: #fff;
    z-index: 1000;
}

.menu-ho-tro-ky-thuat.fixed {
    position: fixed;
    top: 134px;
    left: 0;
    right: 0;
    animation: slideDown 0.3s ease-in-out;
    background-color: rgb(61 60 60 / 57%);
    box-shadow: 0 10px 30px rgb(0 0 0 / 10%);
}

.menu-ho-tro-ky-thuat ul li.active {
    background: #e31937;
    padding: 3px 20px;
    margin-top: 10px;
    margin-bottom: 4px;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

@media (max-width:650px) {
    .menu-ho-tro-ky-thuat ul a {
        font-size: 12px;
    }

    .menu-ho-tro-ky-thuat ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }

    .menu-ho-tro-ky-thuat.fixed {
        top: 93px;
    }

    .menu-ho-tro-ky-thuat ul li.active {
        margin-top: 3px;
        margin-bottom: 3px;
        margin-right: 3px;
    }

    .menu-ho-tro-ky-thuat ul li {
        /*width: 47%;*/
        width: auto;
        background: #494949;
        padding: 3px 20px;
        margin-top: 2px;
        margin-bottom: 0;
        margin-right: 3px;
    }

    section.post_detail {
        margin-top: 5%;
    }
}
