/*
Theme Name: ATM Theme
Description: This is a child theme for Flatsome Theme
Author: AnhTuanMedia
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
body {
    overflow-x: hidden;
    background: url(imgs/bg.png) no-repeat;
    background-size: 100% 100%;
}
.header-bottom marquee {
    margin-left: 50px;
    align-items: center;
    text-align: center;
}
.page-title .page-title-bg {
    overflow: hidden;
    min-height: 100px;
    font-size: 26px;
}
.page-title .page-title-inner {
    top: -44px;
}
.row.slider-dt .box-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.row.slider-dt .box-image img {
    width: 80%;
    margin: auto;
    display: block;
}
#main, #wrapper {
    background-color: transparent;
    position: relative;
}
ul.header-nav.header-nav-main.nav {
    justify-content: space-around;
}
.header-bottom marquee a {
    margin-right: 25px;
    margin-left: 10px;
}
.header-main .nav > li > a {
    line-height: 16px;
    font-size: 24px;
}
.home .box-text-inner.blog-post-inner p {
    color: #444;
    text-shadow: none;
}
.home .box-text-inner.blog-post-inner .post-meta {
    color: #262626;
    text-shadow: none;
}
.home .box-text-inner.blog-post-inner h5 {
    color: #c43e3b;
    text-shadow: none;
    text-transform: none;
}
.box-text-inner.blog-post-inner h5.post-title a {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.home .box-overlay .box-text {
    min-height: 200px;
}
#logo img.header_logo.header-logo {
    border-radius: 50%;
}
.header-bottom marquee a {
    display: inline-block;
    font-size: 13px;
    color: #000;
    border-radius: 100px;
    background-color: #e7e7e7;
    padding: 0 8px 0 12px;
    height: 24px;
    line-height: 24px;
    margin: 0 10px;
}
.header-bottom marquee a:before {
    content: "#";
    display: inline-block;
    color: hsla(0, 0%, 41.6%, .51);
    font-size: 15px;
    margin-right: 4px;
}

ul.nav.header-nav.header-bottom-nav li.html.custom.html_topbar_left label {
    float: left;
    color: #fff;
    font-weight: 700;
    height: 23px;
    line-height: 23px;
    font-size: 14px;
    background: #ec2a2e !important;
    border-left: 5px solid #ec2a2e;
    padding: 0 10px 0 5px;
}

ul.nav.header-nav.header-bottom-nav li.html.custom.html_topbar_left {
    position: absolute;
    top: 2px;
}

.row.new-home .col.post-item:nth-child(2) .box-text.text-left, .row.new-home .col.post-item:nth-child(4) .box-text.text-left, .row.new-home .col.post-item:nth-child(5) .box-text.text-left, .row.new-home .col.post-item:nth-child(7) .box-text.text-left {
    opacity: 0;
}

.row.new-home .col.post-item:nth-child(2):hover .box-text.text-left, .row.new-home .col.post-item:nth-child(4):hover .box-text.text-left, .row.new-home .col.post-item:nth-child(5):hover .box-text.text-left, .row.new-home .col.post-item:nth-child(7):hover .box-text.text-left {
    opacity: 1;
}

.home .box-text-inner.blog-post-inner h5:hover a {
    color: #c43e3b;
    text-decoration: underline;
}

#footer .newsletter {
    padding: 20px 30px;
    color: #FFF;
    background-color: #1d246f;
    box-shadow: 0px 6px 0px #365255;
    border-radius: 8px;
	text-align: center;
}

#footer .newsletter h3 {
    color: #FFF;
}
#footer .newsletter .input-group-addon {
    width: 48px;
    padding: 9px 12px 10px;
    background: #fff;
    border: 0;
    border-radius: 5px 0 0 5px;
    height: 45px;
}
#footer .newsletter .input-group p {
    display: table-cell;
    margin: 0;
}
#footer .newsletter .form-group {
    margin-bottom: 13px;
    overflow: hidden;
}
#footer .newsletter .wpcf7-form-control {
    border-color: #fff;
    border-radius: 0 5px 5px 0;
    box-shadow: 0 0 0 #fff;
    height: 45px;
    padding: 8px 12px;
	margin: 0
}
#footer .newsletter .input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}
.footer-wrapper .ux-menu-title.flex {
    font-size: 16px;
}
#footer .newsletter input.wpcf7-form-control.wpcf7-submit {
    color: white;
    background-color: #c43e3b;
    border-color: #c43e3b;
    padding: 0 20px;
    border-radius: 5px;
	margin-top: 10px;
	margin-bottom: 0
}
.portfolio-box.box .portfolio-box-title {
    opacity: 1;
}
#footer .newsletter span.wpcf7-spinner {
    display: none;
}
ul.related.clearfix.clear {
    margin: 0;
    padding-left: 20px;
}
@media (min-width: 850px) {
    .header-nav.header-nav-main.nav-divided>li+li>a:after {
        border-left: 1px dotted rgb(0 0 0);
        content: "";
        height: 29px;
        left: -30px;
        margin-top: -16px;
        position: absolute;
        top: 50%;
        width: 1px;
    }
}
.header-main .header-inner.flex-row {
    background: #ffffff url(imgs/shadow.png) no-repeat 0 0;
    background-size: 100% auto;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}