/*
Theme Name: daddy
Author: ati
Version: 1.0.16
Tested up to: 6.6
Requires PHP: 5.4
License: GNU General Public License v2 or later
*/

:root {
    --bs-primary: #12a86b;
    --bs-primary-dark: #05995c;
    --bs-primary-light: #37a37794;
    --bs-primary-shadow: rgb(0 123 255 / 0.5);
    --bs-secondary: #214462;
    --bs-secondary-dark: #000000;
}

/* blog-childrent */
.ati-blog-section {
    height: 600px !important;
    overflow: hidden !important;
}

.ati-blog-section::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to top, white, transparent);
    pointer-events: none;
    z-index: 9;
}

@media (min-width: 992px) {
    .col-lg-6 {
        width: 80% !important;
    }
}

.theme-main-heading h2 span {
    font-weight: 700 !important;
    font-size: 26px;
}


.ati-blog-section .post-content {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.blog-wrapper .post-title-head {
    padding-top: 12px !important;
}

.blog-wrapper>.row {
    flex-wrap: nowrap !important;
}

.blog-section {
    padding: 1rem !important;
}

.theme-main-heading .title {
    margin-top: 2rem !important;
}

.mb-5 {
    margin-bottom: 1rem !important;
}

.post-details-outer .post-title-head a {
    line-height: 24px !important;
}

.xemthem a {
    background: white;
    text-shadow: 0px 1px 1px black;
    color: var(--bs-primary-dark);
    border: none;
}

/* Su doi vi tri top-date */
.blog-inner .post-thumb {
    z-index: -1;
}

.blog-inner .top-meta {
    position: absolute;
    top: 0;
    right: 26px;
    z-index: 2;
}

.blog-inner .post-date:before {
    background: var(--bs-primary);
    content: "";
    position: absolute;
    left: -17px;
    top: 0;
    bottom: 0;
    right: -18px;
    transform: skew(-19deg);
    z-index: -1;
    transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    -ms-transition: all 0.3s ease-in-out 0s;
}

.blog-inner .post-date a {
    font-size: 15px;
    color: var(--bs-white);
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    text-align: center;
    margin-right: 2px;
    text-decoration: none;
}

.blog-inner .post-details-outer {
    padding: 5px !important;
    padding-top: 20px !important;
}

.blog-inner .post-details-outer {
    margin-right: 0px !important;
    margin-left: 0px !important;
}

/* marquee */
.marquee-section {
    position: relative;
    padding: 12px 0;
    margin-top: 12px;
}

.marquee-section:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    height: 90px;
    width: 100%;
    background-color: var(--bs-primary);
    pointer-events: none;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.marquee-box {
    position: relative;
    --duration: 30s;
    --gap: 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    gap: var(--gap);
    background: var(--bs-white);
    padding: 23px 0;
    -webkit-transform: rotate(-1.33deg);
    transform: rotate(-1.33deg);
    -webkit-box-shadow: 0 10px 60px 0 rgba(171, 171, 171, .25);
    box-shadow: 0 10px 60px 0 rgba(171, 171, 171, .25);
}

.marquee-box .marquee-group {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: var(--gap);
    min-width: 100%;
    -webkit-animation: scroll var(--duration) linear infinite;
    animation: scroll var(--duration) linear infinite;
}

.marquee-box .icon {
    margin-right: 20px;
    font-size: 35px;
    color: var(--bs-primary);
}

.marquee-box .text {
    position: relative;
    color: var(--bs-secondary);
    font-size: 25px;
    font-weight: 500;
    line-height: 1;
    padding-right: 105px;
}

@keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }

    100% {
        -webkit-transform: translateX(calc(-100% - var(--gap)));
        transform: translateX(calc(-100% - var(--gap)))
    }
}


/* section info */
.info-section .feature-box-icon i {
    animation: none !important;
}


/* section call */
.flixita-call-action-section {
    margin-top: 87px;
    margin-bottom: 20px;
}


.flixita-call-action-section .call-body a {
    font-size: 1.2rem !important;
}

.img-call {
    height: 350px !important;
}


/* chung */
.flixita-call-action-section .call-content h2 {
    font-size: calc(1.325rem + 1.5vw) !important;
}

.h4,
h4 {
    font-size: calc(0.8rem + .3vw) !important;
    line-height: 1 !important;
}

/* HEADER */
/*+TH8.24 HEADER*/
.atihed-row {
    display: flex;
    flex-direction: row;
}

.atihed-col-logo {
    width: 110px;
    padding: 10px;
    margin-left: 30px;
}

.atihed-col-text {
    width: fit-content;
}

.atihed-text {
    margin: 10px;
}

.atihed-col-search {
    display: flex;
    margin-left: auto;
}

.header-search-toggle {
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 30px;
}

.header-search-popup {
    right: 0px !;
    width: 0 !important;
    right: 0 !important;
}

.atihed-note {
    font-size: 90%;
    color: #055902;
    margin-left: 7%;
    margin-top: 0;
    margin-bottom: 0;
}

.atihed-chuquan {
    margin: 0;
    text-align: center;
    color: #055902;
    font-size: 20px;
    font-weight: 600;
}

.atihed-donvi {
    margin: 0 0px;
    text-align: center;
    color: #055902;
    font-size: 22px;
}

@media (max-width: 786px) {
    .atihed-container {
        padding: 5px 0 0 0;
    }

    .atihed-col-logo {
        flex-basis: 55px;
    }

    .atihed-col-text {
        flex-basis: 80%;
        max-width: 420px;
    }

    .logo-header {
        width: 55px;
        position: fixed;
    }

    .atihed-chuquan {
        font-size: 11px;
        margin: 0;
    }

    .atihed-donvi {
        font-size: 14px;
    }

    .atihed-note {
        display: none;
    }
}

.ati-phone {
    font-size: 90%;
    color: #055902;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.ati-email {
    font-size: 90%;
    color: #055902;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.ati-phone::before {
    content: "\f098";
    font: normal normal normal 16px/1 FontAwesome;
}

.ati-email::before {
    content: "\f0e0";
    font: normal normal normal 16px/1 FontAwesome;
}

.ati-card {
    font-weight: bold;
    text-transform: uppercase;
}

.ati-card::before {
    content: "\f2bb";
    font: normal normal normal 16px/1 FontAwesome;
    padding: 0 0.5em 0 0;
}

.ati-chandung {
    border-radius: 50%;
}

.padding-top1 {
    padding: 1em 0 0 0;
}

.modal-fade {
    display: none;
    position: inherit;
    z-index: 1;
    padding: 10px;
    overflow: auto;
    background-color: rgb(170, 200, 0);
    border: inset;
    border-color: greenyellow;
    border-radius: 5px;
}

.main-header {
    border-bottom: 1px solid;
    border-color: rgba(0, 0, 0, 0.12);
    border-color: var(--page-border-color);
    background: url('/images/bg.png') left top no-repeat, url('/images/bg.png') right top no-repeat;
    background-color: white;
}

/* END BANNER */

/* widget */
.sidebar .textwidget {
    padding: 10px !important;
}

.sidebar .widget_nav_menu .menu,
.sidebar>.widget.widget_social_widget>ul,
.sidebar .tagcloud,
.sidebar .widget_social,
.sidebar .widget .gallery,
.sidebar .widget>ul,
.sidebar .widget form,
.sidebar .widget-content,
.sidebar .rc-post,
.sidebar .widget div>ul,
.sidebar .widget .wp-block-tag-cloud {
    padding: 1.8rem;
    background: white;
}

/* slider */
.main-slider {
    background: top !important;
}

.main-slider div.main-content {
    margin-bottom: 5px !important;
}

.main-content,
.main-content h1 {
    font-size: xx-large;
}

.main-table-cell {
    position: absolute !important;
    bottom: 0 !important;
    width: 100% !important;
}


.main-table-cell .main-content {
    text-shadow: 0px 1px 2px black, 0px 0px 4px black, 0px 1px 5px var(--bs-secondary) !important;
}

/* end slider */

/* service */
.service-section {
    padding-bottom: 10px !important;
}

.st-py-default {
    padding-top: 10px !important;
}

/* end service */

/* KHAC  */
.aligncenter {
    width: fit-content;
}

/* END KHAC */

/* bong bong */
.service-section .bg-shape1 svg {
    width: auto !important;
}

/* end bong bong */

/* trang tin */
.breadcrumb-heading {
    width: 80% !important;
    max-width: 80% !important;
}

/* end trang tin */

/* infor section */
.info-section .widget-contact::before {
    background: linear-gradient(to top, var(--bs-primary) 20%, transparent) !important;
}

.service-inner .service-thumb:before {
    background: rgba(255, 255, 255, 0.33) !important;
}


@keyframes expand {
    33% {
        content: ".";
    }

    66% {
        content: "..";
    }
}

.more, .read-more {
    &:after {
        animation: expand 2s infinite;
        content: "";
    }
}

.service-inner .post-more a, .feature-box-inner .read-more {
    border-bottom: none !important;
}

.xemthem{
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 5;
    width: 170px;
}

@media (max-width: 540px) {
    
}


@media (max-width: 600px) {
	.home-slider, .home-slider .owl-item img {
		min-height: 100% !important;
		object-fit: cover;
	}
	.main-content h4 {
        display: NONE;
	}
	.main-content h1 {
        font-size: 1.25rem !important;
    }
}
