/*
Theme Name: Flatsome Child
Theme URI: univn.vn
Description: This is a child theme for Flatsome Theme
Author: Quang Hoa
Template: flatsome
Version: 3.0
Text Domain: shtheme
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap');
.text-box .text {
    -webkit-backface-visibility: visible;
    backface-visibility: visible
}
.uni-breadcrumbs {
	margin-bottom: 30px;
}
.aligncenter {
    clear: both;
    display: block;
    margin: 0 auto;
}

/*--------------------------------------------------------------
## Header 
--------------------------------------------------------------*/
.nav-uppercase>li>a {
    letter-spacing: 0;
}
.nav-dropdown-has-arrow li.has-dropdown:before {
	border-width: 12px;
}
.nav-dropdown-has-arrow li.has-dropdown:after {
    border-width: 10px;
    margin-left: -9px;
}
.nav-dropdown-has-border .nav-dropdown {
	border-width: 1px;
}
.menu-item-design-default > .nav-dropdown.nav-dropdown-default {
    padding: 0;
    display: block;
}
.menu-item-design-default > .nav-dropdown.nav-dropdown-default>li.nav-dropdown-col, 
.menu-item-design-default > .nav-dropdown.nav-dropdown-default>li.image-column {
    display: block;
    width: 100%;
    border-right: none;
}
.menu-item-design-default > .nav-dropdown.nav-dropdown-default li {
    position: relative;
}
.menu-item-design-default > .nav-dropdown.nav-dropdown-default .menu-item-has-children>a, 
.menu-item-design-default > .nav-dropdown.nav-dropdown-default .title>a, 
.menu-item-design-default > .nav-dropdown.nav-dropdown-default .nav-dropdown-col>a {
    font-size: 1em;
    font-weight: normal;
    color: inherit;
    text-transform: none;
}
.menu-item-design-default > .nav-dropdown.nav-dropdown-default {
    min-width: 210px;
}
.menu-item-design-default > .nav-dropdown.nav-dropdown-default ul { 
    background-color: #fff;
    min-width: 210px;
    top: -1px;
    border: 1px solid #ddd;
    left: 100%; 
    position: absolute; 
    -webkit-box-shadow: 1px 1px 15px rgba(0,0,0,0.15);
    box-shadow: 1px 1px 15px rgba(0,0,0,0.15);
    z-index: 99999; 
    opacity: 0; 
    visibility: hidden;
    -moz-transition: 0.2s ease-in-out; 
    -o-transition: 0.2s ease-in-out; 
    -webkit-transition: 0.2s ease-in-out; 
    transition: 0.2s ease-in-out; 
}
.menu-item-design-default > .nav-dropdown.nav-dropdown-default li:hover > ul { 
    opacity: 1; 
    visibility: visible; 
}
.menu-item-design-default > .nav-dropdown.nav-dropdown-default .nav-dropdown-col .menu-item-has-children {
    margin-top: 0;
}

/*--------------------------------------------------------------
## Widget 
--------------------------------------------------------------*/
/* Widget Recent Posts */
.sidebar .widget_recent_entries ul li { padding: 5px 10px; border-bottom: 1px solid #cccccc; }
.sidebar .widget_recent_entries ul li:last-child { border-bottom: none; }
.sidebar .widget_recent_entries ul li .post-date { display: block; }

/* Widget Recent Posts */
.widget .list-post-item li { margin-bottom: 2em; border: none; }
.widget .list-post-item li:last-child { margin-bottom: 0; }
.widget .list-post-item li a { padding: 0; }
.widget .list-post-item .post:after { clear: both; }
.widget .list-post-item .alignleft { float: left; margin-right: 15px; }
.widget .list-post-item .alignright { float: right; margin-left: 15px; }
.widget .list-post-item .alignleft, .widget .list-post-item .alignright { width: 100px; }
.widget .list-post-item .aligncenter { text-align: center; }
.widget .list-post-item h3 { margin: 0 0 5px 0; font-size: 1.125rem; font-weight: 500; line-height: 1.4; width: auto; }
.widget .list-post-item h3 a { color: inherit; }
.widget .list-post-item .entry-content { padding: 0; }

/* Widget Support */
@media (min-width: 1200px) { .widget_supports .list-supporter { padding-top: 190px; background-image: url(assets/img/bg-support.png); background-repeat: no-repeat; background-position: top center; background-size: contain; } }
.widget_supports .list-supporter .email { padding: 5px 10px; font-weight: 600; line-height: 20px; }
.widget_supports .phone { font-size: 1.25rem; color: #ff0000; font-weight: bold; }
.widget_supports .list-supporter li { margin: 0; }
.widget_supports .support-style-1 { background-color: #FFF; }
.widget_supports .support-style-1 .supporter { padding: 0 10px 10px 10px; }
.widget_supports .support-style-1 li { padding: 5px 0; font-size: 14px; color: #333333; border-top: 1px solid #333; }
.widget_supports .support-style-1 li:first-child { border-top: none; }
.widget_supports .support-style-1 li:last-child { border-bottom: none; }
.widget_supports .support-style-1 i { width: 22px; margin-right: 12px; }
.widget_supports .support-style-2 .supporter { margin: 0 8px; padding: 5px 8px 5px 50px; border-top: 1px solid #dddddd; background: url(lib/images/ic-phone.png) 7px 10px no-repeat; position: relative; }
.widget_supports .support-style-2 .supporter:first-child { border-top: none; }
.widget_supports .support-style-2 .name { font-weight: 600; }
.widget_supports .support-style-2 .skype { position: absolute; right: 7px; bottom: 10px; z-index: 1; }
.widget_supports .support-style-2 .email a { color: #333333; }
.widget_supports .support-style-3 .supporter:not(:last-child) { border-bottom: 1px solid #dfdfdf; }
.widget_supports .support-style-3 ul { position: relative; padding: 8px 10px; }
.widget_supports .support-style-3 .name { font-size: 0.75rem; color: #333333; }
.widget_supports .support-style-3 .phone { line-height: 24px; }
.widget_supports .support-style-3 .social { position: absolute; bottom: 10px; right: 8px; z-index: 1; }
.widget_supports .support-style-3 .social a { display: inline-block; margin-left: 4px; }

/* Widget Information */
.widget_information ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.widget_information ul li {
    padding: 3px 0 3px 22px;
    position: relative;
}
.widget_information ul li + li {
	border-top: none;
}
.widget_information ul li.hidden_icon {
    padding-left: 0;
}
.widget_information ul li.hidden_icon i {
    display: none;
}
.widget_information li i {
    font-size: 0.75rem;
    position: absolute;
    left: 0;
    top: .8em;
    width: 14px;
    text-align: center;
}
.widget_information li.label-company {
    padding-left: 0;
    text-transform: uppercase;
    font-weight: bold;
}
.widget_information li.label-company i {
    display: none;
}

/*--------------------------------------------------------------
## Shortcode 
--------------------------------------------------------------*/
/* Shortcode Blog */
.sh-blog-shortcode .element .entry-thumb .image-zoom {
    padding-top: 56%;
}
.sh-blog-shortcode .element .entry-content {
    margin: 0;
    padding: 0;
    font-size: 0.9375rem;
}
.sh-blog-shortcode .element .entry-content p {
    margin-bottom: 10px;
}
.sh-blog-shortcode .element .entry-meta {
    color: #888;
    font-style: italic;
    margin-bottom: 5px;
    font-size: 14px;
}
.sh-blog-shortcode .element .entry-meta i {
    margin-right: 5px;
}
.sh-blog-shortcode .element .entry-title {
    margin: 10px 0 5px 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4em;
    color: #000000;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 2.8em;
    width: auto;
}
.sh-blog-shortcode .element .entry-title a {
    color: inherit;
}
.sh-blog-shortcode .element .entry-description {
    text-align: justify;
    line-height: 1.4;
    font-size: 0.9375rem;
    color: #999999;
}
.sh-blog-shortcode.style-1 .entry-thumb {
    float: left;
    width: 25%;
    margin-right: 15px;
}
.sh-blog-shortcode.style-1 .entry-title {
    margin: 0 0 5px 0;
}
.sh-blog-shortcode.style-5 .entry-thumb {
    float: left;
    width: 30%;
    margin-right: 15px;
}
.sh-blog-shortcode.style-5 .entry-title {
    margin-top: 0;
}
.sh-blog-shortcode.style-6 .first-element-layout,
.sh-blog-shortcode.style-6 .second-element-layout {
    margin-bottom: 20px;
}
.sh-blog-shortcode.style-6 .first-element-layout .element {
    margin-bottom: 0;
}
.sh-blog-shortcode.style-6 .first-element-layout .entry-title {
    margin: 15px 0 10px 0;
}
.sh-blog-shortcode.style-6 .second-element-layout .element:not(:last-child) {
    margin-bottom: 15px;
}
.sh-blog-shortcode.style-6 .second-element-layout .element:last-child {
    margin-bottom: 0;
}
.sh-blog-shortcode.style-6 .second-element-layout .post-inner {
    overflow: hidden;
}
.sh-blog-shortcode.style-6 .second-element-layout .entry-thumb {
    float: left;
    width: 30%;
    margin-right: 15px;
}
.sh-blog-shortcode.style-6 .second-element-layout .entry-thumb .image-zoom {
    padding-top: 62%;
}
.sh-blog-shortcode.style-6 .second-element-layout .entry-title {
    margin-top: 0;
}
.sh-blog-shortcode.style-7 .first-element-layout .element .entry-thumb {
    float: left;
    width: 30%;
    margin-right: 20px;
}
.sh-blog-shortcode.style-7 .first-element-layout .element .entry-title {
    margin: 0 0 5px 0;
}
.sh-blog-shortcode.style-7 .second-element-layout {
    margin-bottom: 20px;
}
.sh-blog-shortcode.style-7 .second-element-layout .element {
    margin-bottom: 5px;
}
.sh-blog-shortcode.style-7 .second-element-layout .element .entry-title {
    margin: 0;
}
.sh-blog-shortcode.style-7 .second-element-layout .element .entry-title a:before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    background: #337ab7;
    border-radius: 50%;
    position: relative;
    top: -2px;
    margin-right: 5px;
}
.sh-blog-shortcode.style-8 .element .post-inner {
    position: relative;
}
.sh-blog-shortcode.style-8 .element .entry-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 10px;
}
.sh-blog-shortcode.style-8 .element .entry-title {
    font-size: 14px;
    line-height: 20px;
    margin: 0;
}
.sh-blog-shortcode.style-8 .element .entry-title a {
    display: block;
    color: #fff;
    max-height: 40px;
    overflow: hidden;
}
@media (max-width: 414px) {
    .sh-blog-shortcode .element {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/* Shortcode Title Product */
.uni-titlepro ul li {
    margin-left: 0;
    display: block;
}
.uni-titlepro .open-subcat {
    white-space: nowrap;
    cursor: pointer;
}
@media (min-width: 850px) {
    .uni-titlepro {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
    }
    .uni-titlepro .open-subcat {
        display: none;
    }
    .uni-titlepro ul li {
        display: inline-block;
    }
    .uni-titlepro li + li {
        margin-left: 30px;
    }
}
@media (max-width: 849.98px) {
    .uni-titlepro__main {
        display: flex;
        justify-content: space-between;
    }
    .uni-titlepro ul {
        display: none;
        overflow: hidden;
        margin-left: -5px;
        margin-right: -5px;
    }
    .uni-titlepro ul li {
        float: left;
        width: 50%;
        padding-left: 5px;
        padding-right: 5px;
    }
    .uni-titlepro ul li:last-child {
        width: 100%;
    }
}
/* Shortcode Custom Menu */
.uni_custom_menu ul.menu li {
    border: none;
}
/* Single */
.entry-header .entry-title {
    font-size: 1.25rem;
}
/* Footer */
.footer-wrapper .widget {
    margin-bottom: 0;
}
.footer-wrapper .col-inner p:last-child {
    margin-bottom: 0;
}
.footer-wrapper form {
    margin-bottom: 0;
}
.absolute-footer {
    display: none;
    padding: 10px 0 10px;
}
.footer-menu.ux-menu {
    display: block !important;
}
.footer-menu .ux-menu-link {
    display: inline-block;
    margin-right: 1em !important;
}
@media (min-width: 1200px) {
    .footer-menu .ux-menu-link {
        margin-right: 2.8em !important;
    }
}
.footer-menu .ux-menu-link:last-child {
    margin-right: 0 !important;
}
.footer-menu .ux-menu-link__link {
    padding: 0;
    min-height: unset;
}
@media (min-width: 850px) {
    .footer-wrapper .social-icons {
        display: block;
        text-align: right;
    }
}
.footer-wrapper .button.icon:not(.is-outline) {
    background: #FFF !important;
    border: none;
    margin-bottom: 0;
}
.footer-wrapper .social-icons .button.icon:not(.is-outline)>i {
    color: #220023 !important;
}
.wpcf7 .newsletter input {
    border-radius: 6px;
    border: none;
}
@media (min-width: 850px) {
    .wpcf7 .newsletter input {
        height: 44px;
    }
}
.wpcf7 .newsletter .button {
    margin-right: 0;
}
.wpcf7 form .wpcf7-response-output {
    font-size: .9em;
}
@media (max-width: 849px) {
    .footer-bottom {
        text-align: center;
        padding-bottom: 15px !important;
    }
    .footer-bottom .col {
        padding-bottom: 5px;
    }
}

/*--------------------------------------------------------------
## Custom Css 
--------------------------------------------------------------*/
.header-main .header-nav-main.nav-left {
    justify-content: center;
}
@media (min-width: 1200px) {
    .nav-spacing-xlarge>li {
        margin: 0 20px;
    }
}
.nav>li>a {
    font-size: 14px;
}
.button, button, input[type='submit'], input[type='reset'], input[type='button'] {
    font-size:  1em;
}
.header-main .nav > li > a {
    font-size: 1rem;
}
.header-main .button {
    font-size: 1rem;
    white-space: nowrap;
}
.button.white {
    color: #772182 !important;
}
.banner-home h1, .banner-home h2, .banner-home h3, .banner-home h4, .banner-home h5, .banner-home h6,
.font-medium h1, .font-medium h2, .font-medium h3, .font-medium h4, .font-medium h5, .font-medium h6 {
    font-weight: 500;
}
@media (min-width: 1200px) {
    .banner-home .button, .uni-button {
        padding-top: 2px;
        padding-bottom: 2px;
        padding-left: 2.5em;
        padding-right: 2.5em;
    }
}
.brd-16 {
    border-radius: 16px;
}
.shadow1 {
    box-shadow: 0px 7px 23px rgba(152, 1, 171, .14);
}
.uni-pricing > .col > .col-inner {
    box-shadow: 0 4px 4px rgba(0,0,0,.25);
}
.recommend > .col-inner {
    padding-top: calc( 3em + 45px ) !important;
    position: relative;
    border: 2px solid #FFD25E;
}
.recommend-text {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    font-size: 1.3125rem;
    background: #FFD25E;
    color: #FFF;
    border-radius: 12px 12px 0 0;
    font-weight: bold;
    padding: .3em .5em;
}
.recommend-text p {
    margin-bottom: 0;
}
.uni-pricing ul li {
    position: relative;
    margin-left: 0 !important;
    list-style: none;
    padding-left: 1.5em;
}
.uni-pricing ul li:before {
    position: absolute;
    left: 0;
    top: 0;
    color: #36C5F0;
    content: '\f00c';
    font-family: 'Font Awesome 5 Pro';
}
.uni-pricing__title {
    line-height: 1.2;
    height: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.8em;
    margin-bottom: .5em;
}
.uni-pricing__title p {
    margin-bottom: 0;
}
.slider-testimonials {
    padding: 10px 0 0 0;
    background: #FFFFFF;
    box-shadow: 0px 7px 23px rgba(152, 1, 171, 0.14);
    border-radius: 16px;
    line-height: 1.4;
    margin-bottom: 60px !important;
}
@media (min-width: 850px) {
    .slider-testimonials {
        padding: 35px 35px 0 35px;
    }
}
.slider-testimonials .flickity-page-dots {
    bottom: -60px;
}
.slider-nav-dots-simple .flickity-page-dots .dot {
    background-color: #E2E2E2;
    opacity: 1;
    border: none;
}
.slider-nav-dots-simple .flickity-page-dots .dot.is-selected {
    background-color: #CA5DD8;
}
/* Slick Slider */
html .slick-slider { margin-left: -15px; margin-right: -15px; }
html .slick-slider.slick-dotted { padding-bottom: 40px; margin-bottom: 0; }
html .slick-slider .slick-slide { padding-left: 15px; padding-right: 15px; }
html .slick-slider .slick-slide, html .slick-slider .slick-slide a { outline: none; }
html .slick-slider .slick-next, html .slick-slider .slick-prev { z-index: 1; }
html .slick-slider .slick-next { right: -15px; }
html .slick-slider .slick-next:before { content: "\f054" !important; }
html .slick-slider .slick-prev { left: -15px; }
html .slick-slider .slick-prev:before { content: "\f053" !important; }
html .slick-slider .slick-arrow:before { font-family: 'Font Awesome 5 Pro'; }
html .slick-slider .slick-next:before, html .slick-slider .slick-prev:before { color: #337ab7; opacity: 1; }
html .slick-slider .slick-dots { bottom: 10px; }
html .slick-slider .slick-dots li { margin: 0; }
html .slick-slider .slick-dots li button:before { font-size: 0.875rem; color: #d8d8d8; }
html .slick-slider .slick-dots li.slick-active button:before { color: #337ab7; opacity: 1; }
@media (max-width: 575.5px) { html .slick-slider .slick-prev { left: 5px; }
  html .slick-slider .slick-next { right: 5px; } }
.item-solution {
    padding-top: 15px;
    cursor: pointer;
    position: relative;
    transition: all .3s ease-in-out;
}
.item-solution img {
    display: inline-block !important;
    margin-bottom: 1em;
}
.item-solution svg {
    position: absolute;
    right: -30px;
    top: 30px;
}
.title-solution {
    font-size: 14px;
    color: #191935;
}
.item-solution__count {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 20px;
    background: #FCBC5B;
    border: 2px solid #4A154B;
    font-size: 17px;
    font-weight: 500;
    color: #4A154B;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: .8em;
}
.slider-nav {
    margin-bottom: 50px;
}
.slider-nav .slick-slide.slick-current .title-solution {
    font-weight: bold;
}
.slider-nav .slick-slide.slick-current svg path {
    fill: #FCBC5B;
}
.item-solution__wrap, .slider-nav .slick-slide.slick-current svg path {
    transition: all .3s ease-in-out;
}
.slider-nav .slick-slide:not(.slick-current) .item-solution__wrap {
    opacity: .3;
}
.post-sidebar .widget {
    margin-bottom: 3em;
}
.post-sidebar .widget:last-child {
    margin-bottom: 0;
}
span.widget-title {
    font-size: 1.5rem;
    color: #000000;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}
.widget .is-divider {
    width: 60px;
    height: 1px;
    background: #772182;
}
.widget_search .searchform input[type='search'] {
    border-radius: 6px 0 0 6px;
}
.widget_search .searchform .button.icon {
    border-radius: 0 6px 6px 0;
}
.widget_categories>ul>li+li {
    border-top: none;
}
.widget_categories ul li {
    position: relative;
    padding-right: 10px;
}
.widget_categories ul li:after {
    content: '\f105';
    font-family: 'Font Awesome 5 Pro';
    font-weight: normal;
    color: #772182;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
}
.widget_categories a {
    font-size: 1.125rem;
}
.post-item .box-text {
    padding-bottom: 0;
}
.post-item .post-title {
    font-size: 1.5rem;
}
.post-item .post-title + .is-divider {
    display: none;
}
.uni-meta {
    font-size: 1.125rem;
    color: #772182;
}
.nav-pagination>li>span, .nav-pagination>li>a {
    border: 1px solid #777777;
    border-radius: 6px;
    font-size: 1.125rem;
}
.nav-pagination>li>a {
    font-weight: normal;
}
body.category .page-wrapper,
body.single-post .page-wrapper {
    padding-top: 0;
}
body.single-post article.post {
    margin-bottom: 0;
}
.entry-header-text {
    padding-bottom: 0;
}
.entry-content {
    padding-top: 1em;
    padding-bottom: 1em;
}
.entry-header h1.entry-title {
    font-size: 1.5rem;
}

/*--------------------------------------------------------------
## Responsive 
--------------------------------------------------------------*/
@media (max-width: 1199.98px) {
	
}

@media (max-width: 991.98px) {
    html {
        font-size: 86%;
    }
    .icon-box-left .icon-box-img, .icon-box-right .icon-box-img {
        max-width: 50px;
    }
}

@media (max-width: 767.98px) {
    
}

@media (max-width: 575.98px) {
    html {
        font-size: 84%;
    }
}

@media (max-width: 374px) {
    html {
        font-size: 80%;
    }
}
