/*
Theme Name: CWL
Theme URI: http://carewithlove.com.vn
Author: CWL Team
Author URI: http://carewithlove.com.vn
Description: CWL is a modernized take on an ever-popular WordPress layout — the horizontal masthead with an optional right sidebar that works perfectly for blogs and websites. It has custom color options with beautiful default color schemes, a harmonious fluid grid using a mobile-first approach, and impeccable polish in every detail. CWL will make your WordPress look beautiful everywhere.
Version: 4.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready, blog
Text Domain: cwl-customize

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

.color_yellow {
    color: #ffb400;
}

.txt-bold {
    font-weight: bold;
}


/* EDITOR STYLE */

.text h1,
.text h2,
.text h3,
.text h4,
.text h5,
.text h6 {
    clear: both;
    font-weight: bold;
    margin: 56px 0 28px;
    font-family: FuturaHeavy, sans-serif;
    font-style: normal;
    color: #1E427E;
}

.text h1 {
    font-size: 33px;
    line-height: 1.2727272727;
}

.text h2 {
    font-size: 28px;
    line-height: 1.25;
}

.text h3 {
    font-size: 23px;
    line-height: 1.2173913043;
}

.text h4,
.text h5,
.text h6 {
    font-size: 19px;
    line-height: 1.1052631579;
}

.text h4 {
    letter-spacing: 0.13333em;
    text-transform: uppercase;
}

.text h6 {
    font-style: italic;
}

.text h1:first-child,
.text h2:first-child,
.text h3:first-child,
.text h4:first-child,
.text h5:first-child,
.text h6:first-child {
    margin-top: 0;
}

.text p {
    margin: 0 0 28px;
}

.text b,
.text strong {
    font-weight: bold;
}

.text dfn,
.text cite,
.text em,
.text i {
    font-style: italic;
}

.text blockquote {
    border-left: 4px solid #1a1a1a;
    color: #686868;
    font-size: 19px;
    font-style: italic;
    line-height: 1.4736842105;
    margin-bottom: 28px;
    overflow: hidden;
    padding: 0 0 0 24px;
}

.text blockquote:not(.alignleft):not(.alignright) {
    margin-left: -28px;
}

.text blockquote blockquote:not(.alignleft):not(.alignright) {
    margin-left: 0;
}

.text blockquote:before,
.text blockquote:after {
    content: "";
    display: table;
}

.text blockquote:after {
    clear: both;
}

.text blockquote> :last-child {
    margin-bottom: 0;
}

.text blockquote cite,
.text blockquote small {
    color: #1a1a1a;
    font-size: 16px;
    line-height: 1.75;
}

.text blockquote em,
.text blockquote i,
.text blockquote cite {
    font-style: normal;
}

.text blockquote strong,
.text blockquote b {
    font-weight: normal;
}

.text blockquote.alignleft,
.text blockquote.alignright {
    border: 0 solid #1a1a1a;
    border-top-width: 4px;
    padding: 18px 0 0;
    width: -webkit-calc(50% - 14px);
    width: calc(50% - 14px);
}

.text address {
    font-style: italic;
    margin: 0 0 28px;
}

.text code,
.text kbd,
.text tt,
.text var,
.text samp,
.text pre {
    font-family: Inconsolata, monospace;
}

.text pre {
    border: 1px solid #d1d1d1;
    font-size: 16px;
    line-height: 1.3125;
    margin: 0 0 28px;
    max-width: 100%;
    overflow: auto;
    padding: 14px;
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.text code {
    background-color: #d1d1d1;
    padding: 2px 4px;
}

.text abbr[title] {
    border-bottom: 1px dotted #d1d1d1;
    cursor: help;
}

.text mark,
.text ins {
    background: #007acc;
    color: #fff;
    padding: 2px 4px;
    text-decoration: none;
}

.text sup,
.text sub {
    font-size: 75%;
    height: 0;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

.text sub {
    top: -6px;
}

.text sup {
    bottom: -3px;
}

.text small {
    font-size: 80%;
}

.text big {
    font-size: 125%;
}


/**
 * 3.0 - Elements
 */

.text hr {
    background-color: #d1d1d1;
    border: 0;
    height: 1px;
    margin-bottom: 28px;
}

.text ul,
.text ol {
    margin: 0 0 28px 0;
    padding: 0;
}

.text ul {
    list-style: disc;
}

.text ol {
    list-style: decimal;
}

.text li>ul,
.text li>ol {
    margin-bottom: 0;
}

.text li>ul,
.text blockquote>ul {
    margin-left: 20px;
}

.text li>ol,
.text blockquote>ol {
    margin-left: 24px;
}

.text dl {
    margin: 0 0 28px;
}

.text dt {
    font-weight: bold;
}

.text dd {
    margin: 0 0 28px;
}

.text table,
.text th,
.text td,
.text .mce-item-table,
.text .mce-item-table th,
.text .mce-item-table td {
    border: 1px solid #d1d1d1;
}

.text table a {
    color: #007acc;
}

.text table,
.text .mce-item-table {
    border-collapse: separate;
    border-spacing: 0;
    border-width: 1px 0 0 1px;
    margin: 0 0 28px;
    width: 100%;
}

.text table th,
.text .mce-item-table th,
.text table caption {
    border-width: 0 1px 1px 0;
    font-size: 16px;
    font-weight: bold;
    padding: 7px;
    text-align: left;
    vertical-align: baseline;
}

.text table td,
.text .mce-item-table td {
    border-width: 0 1px 1px 0;
    font-size: 16px;
    padding: 7px;
    vertical-align: baseline;
}

.text img {
    border: 0;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

.text a img {
    display: block;
}

.text figure {
    margin: 0;
}

.text del {
    opacity: 0.8;
}

.text a {
    box-shadow: 0 1px 0 0 currentColor;
    color: #007acc;
    text-decoration: none;
}

.text fieldset {
    border: 1px solid #d1d1d1;
    margin: 0 0 28px;
    padding: 14px;
}


/**
 * 4.0 - Alignment
 */

.text .alignleft {
    float: left;
    margin: 6px 28px 28px 0;
}

.text .alignright {
    float: right;
    margin: 6px 0 28px 28px;
}

.text .aligncenter {
    clear: both;
    display: block;
    margin: 0 auto 28px;
}


/**
 * 5.0 - Caption
 */

.text .wp-caption {
    background: transparent;
    border: none;
    margin-bottom: 28px;
    max-width: 100%;
    padding: 0;
    text-align: inherit;
}

.text .wp-caption-text,
.text .wp-caption-dd {
    color: #686868;
    font-size: 13px;
    font-style: italic;
    line-height: 1.6153846154;
    padding-top: 7px;
}


/**
 * 6.0 - Galleries
 */

.text .mce-content-body .wpview-wrap {
    margin-bottom: 28px;
}

.text .gallery {
    margin: 0 -1.1666667%;
    padding: 0;
}

.text .gallery .gallery-item {
    display: inline-block;
    max-width: 33.33%;
    padding: 0 1.1400652% 2.2801304%;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.text .gallery-columns-1 .gallery-item {
    max-width: 100%;
}

.text .gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.text .gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.text .gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.text .gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.text .gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.text .gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.text .gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery .gallery-caption {
    font-size: 13px;
    margin: 0;
}

.text .gallery-columns-6 .gallery-caption,
.text .gallery-columns-7 .gallery-caption,
.text .gallery-columns-8 .gallery-caption,
.text .gallery-columns-9 .gallery-caption {
    display: none;
}


/**
 * 7.0 - Audio / Video
 */

.text .wp-audio-shortcode a,
.text .wp-playlist a {
    box-shadow: none;
}

.text .mce-content-body .wp-audio-playlist {
    margin: 0;
    padding-bottom: 0;
}

.text .mce-content-body .wp-playlist-tracks {
    margin-top: 0;
}

.text .mce-content-body .wp-playlist-item {
    padding: 10px 0;
}

.text .mce-content-body .wp-playlist-item-length {
    top: 10px;
}


/**
 * 8.0 - RTL
 */

.text .rtl blockquote {
    border: 0 solid #1a1a1a;
    border-right-width: 4px;
}

.text .rtl blockquote.alignleft,
.text .rtl blockquote.alignright {
    border: 0 solid #1a1a1a;
    border-top-width: 4px;
}

.text .rtl blockquote:not(.alignleft):not(.alignright) {
    margin-right: -28px;
    padding: 0 24px 0 0;
}

.text .rtl blockquote blockquote:not(.alignleft):not(.alignright) {
    margin-right: 0;
    margin-left: auto;
}

.text .rtl li>ul,
.text .rtl blockquote>ul {
    margin-right: 20px;
    margin-left: auto;
}

.text .rtl li>ol,
.text .rtl blockquote>ol {
    margin-right: 24px;
    margin-left: auto;
}

.text .rtl table th,
.text .rtl .mce-item-table th,
.text .rtl table caption {
    text-align: right;
}

@media (max-width: 767px) {
    .sec_about .ttl {
        width: 160px;
        margin-left: auto;
        margin-right: auto;
    }
    .sec_about .text {
        font-size: 16px;
        line-height: 24px;
        text-align: center;
    }
    .sec_founder .container {
        display: flex;
        flex-direction: column;
    }
    .sec_founder .founder_item {
        position: relative;
        margin-top: 100px;
        border-radius: 16px;
    }
    .sec_founder .founder_item .images {
        position: absolute;
        max-width: 250px;
        top: -100px;
    }
    .sec_founder .founder_item .content {
        min-height: auto;
    }
    .sec_founder .founder_item .content .ttl {
        min-height: 96px;
        font-size: 32px;
        text-align: center;
        line-height: 46px;
        margin-bottom: 40px;
        max-width: 150px;
    }
    .sec_founder .founder_item .content .ttl:before {
        margin-left: auto;
        margin-right: auto;
        right: 0;
    }
    .sec_founder .founder_item .content .text {
        font-size: 12px;
        line-height: 18px;
    }
    .sec_founder .founder_item:nth-child(2),
    .sec_founder .founder_item:nth-child(3) {
        margin-left: 100px;
    }
    .sec_founder .founder_item:nth-child(2) .images,
    .sec_founder .founder_item:nth-child(3) .images {
        left: -140px;
    }
    .sec_founder .founder_item:nth-child(2) .content .ttl,
    .sec_founder .founder_item:nth-child(3) .content .ttl {
        margin-left: 60px;
    }
    .sec_founder .founder_item:nth-child(3) {
        order: 9;
    }
    .sec_founder .founder_item:nth-child(3) .images {
        left: -110px;
        width: 210px;
        top: -80px;
    }
    .sec_founder .founder_item:nth-child(4) {
        margin-right: 100px;
        margin-left: auto;
    }
    .sec_founder .founder_item:nth-child(4) .images {
        right: -140px;
    }
    .sec_founder .founder_item:nth-child(4) .content .ttl {
        margin-right: 60px;
    }
    .sec_why .ttl2 {
        font-size: 28px;
        line-height: 35px;
    }
    .sec_why .ttl2 .fz-80 {
        font-size: 28px;
    }
    .sec_why .content_main .content .item {
        width: 50%;
        text-align: center;
        padding: 12px 8px;
    }
    .sec_why .content_main .content .item .ttl {
        font-size: 16px;
        line-height: 22px;
        margin-bottom: 8px;
    }
    .sec_why .content_main .content .item .des {
        font-size: 12px;
        line-height: 18px;
    }
    .sec_why .content_main .content .item:nth-child(even) {
        border-left: 1px solid #fff;
    }
    .home_spa {
        background: none !important;
    }
    .home_spa .item .content {
        margin: 0 24px;
    }
    .home_spa .slick-arrow {
        width: 36px;
        height: 36px;
        margin-left: 24px;
    }
    .home_spa .slick-arrow.slick-next {
        left: 45px;
    }
    .sec_benefit .accordion-button {
        padding: 8px 0;
    }
    .ttl_sub {
        font-size: 16px;
    }
    .ttl_sub:before {
        width: 30px;
        height: 30px;
    }
    .sec_partner .slider .item .des {
        font-size: 12px;
        line-height: 18px;
    }
    .sec_partner .slick-dots {
        display: none !important;
    }
    .sec_partner .block {
        padding-bottom: 0 !important;
    }
    .sec_partner .block+.block {
        margin-top: 0;
    }
    .sec_partner .slider .slick-arrow {
        margin-top: -24px;
    }
    .sec_service .content_main .item .box .text {
        font-size: 10px;
        position: absolute;
        bottom: -10px;
        left: 0;
        right: 0;
        margin: 0 -8px 0;
        line-height: 10px;
    }
}

@media (max-width: 640px) {
    .sec_service .content_main .item .box .text {
        white-space: nowrap;
        bottom: 0;
        font-size: 7.5px;
    }
    .sec_service .container.rs-button {
        margin-top: 50px !important;
    }
    .sec_service .content_main .ttl {
        font-size: 12px;
        line-height: 1.5;
    }
}