/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

:root {
    --maumain: #007CC9;
}

/* HEADER */
#masthead .nav-left{
	justify-content:center;
}


/* FOOTER */
#footer .dklh input[type=submit]{
	width: 100%;
    background: white;
    color: var(--primary-color);
}


/* SIDE BAR */

ul.product-categories>li.active>a,ul.product-categories>li:hover>a,ul.ux-nav-vertical-menu>li:hover>a{
	color:#034770;
	font-weight:bold;
}

.widget .current-cat>a{
	color:var(--primary-color);
}

ul.children>li:hover>a,ul.ux-nav-vertical-menu ul>li:hover>a{
	color:var(--primary-color);
	font-weight:bold;
}

ul.children{
	display:block!important;
	border:none!important;
}

.widget button.toggle{
	display:none;
}

ul.children>li>a:before{
	content:"\f105";
	font-family: fl-icons;
	margin-right:7px;
}

span.widget-title {
    display: block;
    background-color: var(--primary-color);
    padding: 10px;
    color: white;
    border-radius: 5px 5px 0 0;
}

.widget>ul {
    padding: 10px;
    border: 1px solid var(--primary-color);
    border-top: none;
}

.widget .is-divider {
    display: none;
}

/* FORM */

.dklh p {
    margin-bottom: 0;
}

.dklh>.col {
    padding: 0px 5px 0px;
}

/* Product page */

.wpb-pcf-btn.wpb-pcf-btn-large {
    width: 100%;
    justify-content: center;
    background-color: var(--maumain) !important;
}

.btn-pttuan-custom {
    display: flex;
    flex-direction: column;
}

.btn-pttuan-custom span {
    font-weight: normal;
}

/* SECTION SAN PHAM */

.amount {
    color: #b20000 !important;
}

#content .section-title-normal {
    border-bottom: 2px solid var(--maumain);
    background: white;
}

#content .section-title-normal span {
    background: var(--maumain);
    padding-bottom: 0;
    padding: 5px 15px;
    border-bottom: 0px;
    color: white;
    font-size: 15px;
}

#content .section-title-normal span:after {
    content: "";
    border: 17px solid var(--maumain);
    position: absolute;
    display: inline-block;
    margin-left: 15px;
    border-right-color: transparent;
    border-top-color: transparent;
    margin-top: -5px;
    left: auto;
}

/* Fixing contact */
.element-contact-form {
    width: 300px !important;
}

.element-contact-form form {
    padding: 0 20px 20px !important;
}


/* Section quy trinh */

.quytrinh {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    --main-color: #c69130;
    --second-color: #3680b3;
    line-height: 1.65714286em;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    letter-spacing: 0 !important;
    font-family: Montserrat, san-serif !important;
    font-size: 14px;
    visibility: visible;
    box-sizing: border-box;
    position: relative;
    height: 400px;
    width: 100%;
    color: #fff !important;
}

.quytrinh>p {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    --main-color: #c69130;
    --second-color: #3680b3;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    margin: 0 0 10px;
    font-style: normal;
    font-weight: 400;
    text-transform: none;
    line-height: 22px;
    letter-spacing: 0 !important;
    font-family: Montserrat, san-serif !important;
    font-size: 14px;
    margin-bottom: 10px;
    color: #fff !important;
    position: absolute;
    width: 23%;
    transition: 0.2s;
    left: -0.3%;
    top: 0.7%;
    visibility: visible;
    animation-delay: 0.1s;
    animation-name: bounceInUp;
}

.quytrinh p:nth-child(1) {
    left: -4.3%;
    top: 1%;
}

.quytrinh p:nth-child(2) {
    left: 10%;
    top: 39%
}

.quytrinh p:nth-child(3) {
    left: 24%;
    top: 1%;
}

.quytrinh p:nth-child(4) {
    left: 38%;
    top: 39%;
}

.quytrinh p:nth-child(5) {
    left: 52%;
    top: 1%;
}

.quytrinh p:nth-child(6) {
    left: 66%;
    top: 39%;
}

.quytrinh p:nth-child(7) {
    left: 80.4%;
    top: 1%;
}

.quytrinh p:nth-child(3) img,
.quytrinh p:nth-child(5) img {
    transform: rotate(180deg) scaleX(-1);
}

.quytrinh p span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: 600;
    width: 100%;
    line-height: 1.1;
    text-align: center;
}

.wpcf7-spinner{
    display: none!important;
}

@media only screen and (max-width: 48em) {

    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .quytrinh p:nth-child(1) {
        left: 0;
        top: 1%;
    }

    .quytrinh p:nth-child(2) {
        left: 12%;
        top: 37%;
    }

    .quytrinh p:nth-child(3) {
        left: 24%;
        top: 1%;
    }

    .quytrinh p:nth-child(4) {
        left: 36%;
        top: 37%;
    }

    .quytrinh p:nth-child(5) {
        left: 48%;
        top: 1%;
    }

    .quytrinh p:nth-child(6) {
        left: 60%;
        top: 37%;
    }

    .quytrinh p:nth-child(7) {
        left: 72%;
        top: 1%;
    }
    .quytrinh p span{
        width: 75%;
        font-size: 11px;
    }

    .quytrinh>p{
        width: 25%;
    }
    .quytrinh{
        height: 150px;
    }

}