/*
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.   ***************/
.hd {
    background: url(images/660.jpg) no-repeat center bottom;
    text-align: center;
}

div#masthead {
    border-bottom: 4px solid #18235E;
}

#logo img{
    max-height: 279px !important;
    margin-top: -17px;
}
body .stuck #logo img{
     max-height: 209px !important;
     margin-top: -17px;
}
.hd img {
    max-width: 740px;
}
#masthead .nav>li{
    padding:0 10px;
}

@keyframes button {
    0% {
        transform: rotate(0deg);
    }

    40% {
        transform: rotate(160deg);
        opacity:0;
    }

    100% {
        transform: rotate(0deg);
    }
}

.hbutton{
    text-align:center;
    background-color:#DADDE6;
}
.hbutton .box img {
    width: 179px;
    height: 179px;
}

.hbutton .box img:hover,
.service .box img:hover {
    animation-name: button;
    animation-duration: 1.4s;
    cursor:pointer;
}
.hbutton .box{
    text-align:center;
    min-height: 315px;
    font-size:19px;
}
.hbutton .row{
    margin: auto !important;
    padding-top: 30px;
}
.hbutton .more a{
    display:block;

}
.hbutton .more{
    margin-bottom:0;
}
.hbutton .more a img{
    position:relative;
    top:12px;
}
.hbutton .box-text{
    font-size:19px;
}

.intro{
    background:url(images/658.jpg) no-repeat center bottom;
    position:relative;
}
.intro:before{position:absolute;content:'';display:block;background: url(images/656.jpg) no-repeat right bottom;left: 50%;bottom: 0;top: 0;width: 1300px;margin-left: -650px;}
.intro>div{
    max-width:960px;
    margin:auto;
    position:relative;
}
h1,h2,h3{
    font-weight:normal;
}
#footer{
    background-color:#DDDEE7;
    padding-top:20px;
    border-top: 8px solid #1C225D;
}
#footer h3{
    border-bottom:2px solid #333333;
    max-width:250px;
}
.absolute-footer{
    display:none;
}
#footer img{
    margin-bottom:0;
}
.gallery p{
    font-size:18px;
    margin-bottom:10px;
}
.gallery img{
    width:100%;
    height:220px;
    object-fit: cover;
    margin-bottom: 0 !important;
}
.gallery .large-12{
    padding-bottom:0;
}
.team img{
    margin-bottom:0 !important;
}
h4{
    font-size:19px;
    font-weight:normal;
}
.checkbox1 li{
    display:block;
    margin-left: 0 !important;
    margin-bottom: 0;
}
.checkbox1 li:before{
    content:'';
    display:block;
    float:left;
    background:url(images/319.png) no-repeat center top;
    width:30px;
    height:24px;
    margin-right:10px;
}
.ctinfo h4{
    margin-bottom:0;
}
.ctinfo img{
    margin-right: 10px;
    margin-top: 5px;
}
span.wpcf7-form-control-wrap.acceptance-211 {
    display: inline;
}

.wpcf7 span.wpcf7-form-control-wrap.acceptance-211 span.wpcf7-list-item{
    margin-right: 0px !important;
}

label {font-weight:normal;}
.wpcf7{
}
.wpcf7 input[type='submit']{
    float:right;
}
.wpcf7 input[type='checkbox']{
    margin:0;
}