/* Generated by less 2.5.1 */
/*
Theme Name: XIN
Theme URI:
Description: A simple responsive theme based on the Bootstrap framework. Includes multiple page templates, two different sidebars and a theme options panel.
Version: 2.0.8
Author: Mypolygon Studio
Author URI: 
Tags: black, white, one-column, two-columns, flexible-width, custom-background, custom-colors, custom-menu, full-width-template, theme-options
License: GNU General Public License v2.0 & Apache License 2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html http://www.apache.org/licenses/LICENSE-2.0
*/
/* HEADS UP: Everything that you will normally find here can be found in the library/less/wp.less */
/*======= Helpers Class =======*/
@import url("https://use.fontawesome.com/releases/v5.8.1/css/all.css");
@import "less/animation.css";

@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-Bold.eot');
    src: url('fonts/Lato-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/Lato-Bold.woff2') format('woff2'),
        url('fonts/Lato-Bold.woff') format('woff'),
        url('fonts/Lato-Bold.ttf') format('truetype'),
        url('fonts/Lato-Bold.svg#Lato-Bold') format('svg');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-Black.eot');
    src: url('fonts/Lato-Black.eot?#iefix') format('embedded-opentype'),
        url('fonts/Lato-Black.woff2') format('woff2'),
        url('fonts/Lato-Black.woff') format('woff'),
        url('fonts/Lato-Black.ttf') format('truetype'),
        url('fonts/Lato-Black.svg#Lato-Black') format('svg');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-Regular.eot');
    src: url('fonts/Lato-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/Lato-Regular.woff2') format('woff2'),
        url('fonts/Lato-Regular.woff') format('woff'),
        url('fonts/Lato-Regular.ttf') format('truetype'),
        url('fonts/Lato-Regular.svg#Lato-Regular') format('svg');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura';
    src: url('fonts/Futura-Bold.eot');
    src: url('fonts/Futura-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/Futura-Bold.woff2') format('woff2'),
        url('fonts/Futura-Bold.woff') format('woff'),
        url('fonts/Futura-Bold.ttf') format('truetype'),
        url('fonts/Futura-Bold.svg#Futura-Bold') format('svg');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


html {
    scroll-behavior: smooth;
}

.mb0 {
    margin-bottom: 0 !important;
}

.mt0 {
    margin-top: 0 !important;
}

.pt0 {
    padding-top: 0 !important;
}

.pb0 {
    padding-bottom: 0 !important;
}

.overthrow {
    overflow-y: scroll;
    /* has to be scroll, not auto */
    -webkit-overflow-scrolling: touch;
    overflow: auto;
}

.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

.align-justify {
    text-align: justify;
}

img {
    max-width: 100%;
}

.white {
    color: #fff !important;
}

.black {
    color: #231F20 !important;
}

.dark {
    color: #404041;
}

.grecaptcha-badge {
    display: none !important;
}

.reset-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    max-width: 100%;
}

p a {
    color: #069AFF;
    text-decoration: underline;
}

p a:hover {
    color: #B77365;
}

/*======= Button Effect =======*/
.btn,
button {
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    border-radius: 25px;
    border: 0;
    padding: 16px 67px;
    color: #fff;
    background: transparent;
    /*  font-size: 17.46px;*/
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    margin-top: 2rem;
    text-decoration: none;
    text-transform: uppercase;
}

button:hover {
    cursor: pointer !important;
}

.btn:hover {
    background: #231F20 !important;
    color: #fff !important;
    cursor: pointer !important;
}

/*======= Img Effect =======*/
a.img-zoomIn {
    display: block;
    cursor: pointer;
}

a.img-zoomIn img {
    position: relative;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
}

a.img-zoomIn:hover img {
    -webkit-transform: scale(0.95);
    -moz-transform: scale(0.95);
    -ms-transform: scale(0.95);
    -o-transform: scale(0.95);
    opacity: 1;
}

a.img-zoomIn:hover figcaption:before,
a.img-zoomIn:hover figcaption:after {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
}

a.img-zoomIn:hover figcaption h2 {
    -webkit-transform: translate3d(0, -50px, 0);
    -moz-transform: translate3d(0, -50px, 0);
    -ms-transform: translate3d(0, -50px, 0);
    -o-transform: translate3d(0, -50px, 0);
}

a.img-zoomIn figcaption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
}

a.img-zoomIn figcaption h2 {
    color: #9fab00;
    padding-top: 45%;
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transition: all 0.35s linear;
    -moz-transition: all 0.35s linear;
    -ms-transition: all 0.35s linear;
    -o-transition: all 0.35s linear;
    -webkit-transform: translate3d(0, -20px, 0);
    -moz-transform: translate3d(0, -20px, 0);
    -ms-transform: translate3d(0, -20px, 0);
    -o-transform: translate3d(0, -20px, 0);
}

a.img-zoomIn figcaption:before,
a.img-zoomIn figcaption:after {}

a.img-zoomIn figcaption:before {}

a.img-zoomIn figcaption:after {}

html {
    font-size: 62.5%;
    /* Sets up the Base 10 stuff */
}

body {
    font-family: 'Lato';
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.8px;
    line-height: 1.7;
    padding-top: 0;
    overflow-x: hidden;
    color: #231F20;
}

h1,
h2,
h3 {
    line-height: 1.2;
    margin-top: 0;
}

h2 {
    margin-bottom: 3rem;
}

h4 {}

p {
    margin-bottom: 15px;
}

hr {
    border-top: 1px solid #231F20;
}

a {
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

a:hover {
    cursor: pointer !important;
}

a:hover,
a:focus,
a:active {
    text-decoration: none;
}

::selection {
    color: #fff;
    background: #C00000;
}

/*==== Color ====*/

.primary {
    color: #D11316;
}

.primarybg {
    background-color: #D11316;
}

.secondary {
    color: #C00000;
}

.secondarybg {
    background-color: #C00000;
}

.white {
    color: #fff !important;
}

.whitebg {
    background-color: #fff !important;
}

/*==== Font ====*/
/* =================================================================
Header ========================================== */
.header-waypoint {
    position: absolute;
    width: 100%;
    top: 150px;
    left: 0px;
}

/*======= header =======*/
#header {
    background: rgba(0, 0, 0, 0);
    border-bottom: 0;
    margin-bottom: 0;
    padding: 1rem 0;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    z-index: 99999;
}

.header-active#header {
    padding: 0 0;
    background: #D11316 !important;
    -webkit-box-shadow: -5px -9px 20px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: -5px -9px 20px 0px rgba(0, 0, 0, 0.2);
    box-shadow: -5px -9px 20px 0px rgba(0, 0, 0, 0.2);
}

/*======= Logo =======*/
.navbar-header .navbar-brand {
    height: auto;
    padding: 5px 15px;
}

a#logo img {
    width: 60px;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
}

img.primarylogo {
    position: absolute;
}

.header-active#header a#logo img.primarylogo {
    display: none;
}

.header-active#header a#logo img.activelogo {
    display: block;
}

img.activelogo {
    display: none;
}

.header-active#header a#logo img {
    width: 50px;
    padding-top: 16px;
}

.header-active#header .navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

/*======= Navigation =======*/

.navbar-toggle {
    border-color: transparent;
    /*background: #f2f2f2;display: none;*/
}

.navbar-toggle .icon-bar {
    background: #231F20;
}

nav#navigation {

    overflow: hidden !important;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
}

.header-active#header nav#navigation {}

#navigation li {
    margin: 0;
    text-align: center;
}

#navigation li.menu-external a {
    font-size: 24px;
    padding: 15px 10px;
}

#navigation li a {
    color: #000;
    font-size: 15px;
    line-height: 1;
    background: none;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow: hidden;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}


.header-active#header #navigation li a {
    color: #fff;
}

ul#menu-main-menu {
    margin-top: 2rem;

    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.header-active#header ul#menu-main-menu {
    margin-top: 0;
}

/*
#navigation li.current-menu-item a {
    color: #998560 !important;
}*/

nav#navigation li a:hover,
nav#navigation li a:focus,
nav#navigation li a:active {
    background: transparent;
    font-weight: 900;
}

nav#navigation li a.active {
    font-weight: 900;
    background: transparent;
    /*color: #C00000 !important;*/
}

.header-active#header nav#navigation li a:hover,
.header-active#header nav#navigation li a:focus,
.header-active#header nav#navigation li a:active,
.header-active#header nav#navigation li a.active {
    background: transparent;
    color: #fff !important;
}

#navigation li.glyphicon a {
    text-indent: -999999px;
}

#navigation li.glyphicon:before {
    color: #414041;
    position: absolute;
    top: 20px;
    left: 0px;
}

#navigation li.current_page_parent > a {
    color: #414041;
    background: transparent;
}

#navigation li.current_page_parent > a:before {
    background: #414041 !important;
}

#navigation li.dropdown ul.dropdown-menu {
    padding: 0;
    border: 0;
    background: #fff;
}

#navigation li.dropdown ul.dropdown-menu li a {
    padding: 8px 20px;
    color: #414041;
    border-bottom: 1px solid rgba(256, 256, 256, 0.3);
}

#navigation li.dropdown ul.dropdown-menu li:last-child a {
    border-bottom: none;
}

#navigation li.dropdown.open a {
    background: transparent;
}

.nav > li > a {
    transition: none !important;
    transform: none !important;
}

.nav > li > a:active,
.nav > li > a:focus,
.nav > li > a:hover,
.nav > li > a.active {
    padding-left: 13.93px;
    padding-right: 13.93px;
    transition: none !important;
    transform: none !important;
}

.page-head.clearfix {
    display: none;
}

article#post-not-found h1 {
    font-size: 20px;
}

/* =================================================================
Index Page ========================================== */
body.home {
    overflow-x: hidden;
}

.mainSection {
    padding: 25rem 0 !important;
    background: #fff url(images/mainbg.jpg) no-repeat center;
    background-size: auto 100%;

    align-items: center;
    justify-content: center;
    display: flex;
    text-align: center;
    min-height: calc(100vh);
    padding-bottom: env(safe-area-inset-bottom);
    overflow: hidden;

}

.mainSection .sectionTitle {
    color: #000;
    line-height: 64px;
    margin-bottom: 30px;
}

.mainSection .subTitle {
    color: #6D6E70;
    font-weight: 400;
    line-height: 34.92px;
    width: 770px;
    max-width: 90%;
    margin: 0 auto 32px auto;
}

.arrow-bounce {
    position: absolute;
    width: 36px;
    bottom: 5%;
    left: calc(50% - 18px);
    opacity: 0.9;
    -moz-animation: bounce 2s infinite;
    -webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
}


.workSection #pageTitle {
    margin-bottom: 54px;
}

.workgallery {
    padding: 16px;
}

.workgallery [class*='col-'] {
    padding: 4px;
}

.brandSection {
    background: #fafbfa;
}

.brandSection img {
    max-width: 100%;
    width: 1024px;
}

.brandSection p {
    color: #404041;
    font-size: 24.735px;
    line-height: 29px;
}

.brandlogo img {
    filter: grayscale(1);
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    height:9vw !important;
    width: auto !important;
    opacity: 0.65;
}

.brandlogo img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.serviceSection #pageTitle {
    margin-bottom: 82px;
}

.serviceSection img {
    margin: 58px auto 27px auto;
    width: 86px;
    max-width: 100%;
    height: auto;
}

.serviceSection .subTitle {
    line-height: 29.682px;
}

.service-item {
    margin-left: 155px;
    margin-bottom: 64px;
}

.service-item:before {
    font-family: 'Futura';
    font-size: 100.397px;
    font-weight: 700;
    line-height: 82px;
    color: #D11316;
    display: inline-block;
    position: absolute;
    margin-left: -151px;
}



.service-01:before {
    content: '01';
}

.service-02:before {
    content: '02';
}

.service-03:before {
    content: '03';
}

.servicedescSection {
    background: #fafbfa;
}

.why-item {
    margin-left: 130px;
    margin-bottom: 64px;
}

.why-item:before {
    content: '';
    width: 85px;
    height: 85px;
    color: #D11316;
    display: inline-block;
    position: absolute;
    margin-left: -112px;
}

.why01:before {
    background: url(images/passion.png) no-repeat right;
    background-size: 100% auto;
}

.why02:before {
    background: url(images/commitment.png) no-repeat right;
    background-size: 100% auto;
}

.why03:before {
    background: url(images/proactive.png) no-repeat right;
    background-size: 100% auto;
}

.why03 {
    margin-bottom: 0 !important;
}

/*

.deco {
    background: url(images/5x5new.png) no-repeat left;
    background-size: auto 65%;
   width: calc(100% - 100px);
width: 70vw;
margin-bottom: 55px;
height: 170px;
position: absolute;

overflow-x: hidden;
}*/

.deco1 {
    background: url(images/worksdeco.png) no-repeat right;
    background-size: 100% auto;
    width: calc(100% - 100px);
    margin-bottom: 55px;
    float: right;
}

.deco2 {
    background: url(images/servicedeco.png) no-repeat center;
    background-size: 100% auto;
    width: calc(100% - 100px);
    margin-bottom: 55px;
}

.contactSection {
    background: #000 url(images/contactbg.jpg) no-repeat center;
    background-size: auto 100%;
}

.contactSection h4 {
    font-size: 18.915px;
    font-weight: 700;
    line-height: 22.698px;
    margin-bottom: 5px;
}

.contact-item {
    font-weight: 400;
    margin-left: 48px;
    margin-bottom: 14px;
}

.contact-item:before {
    content: '';
    width: 33px;
    height: 33px;
    color: #D11316;
    display: inline-block;
    position: absolute;
    margin-left: -45px;
}

.xinphone:before {
    background: #000 url(images/ico-phone.png) no-repeat center;
    background-size: auto 100%;
}


.xinemail:before {
    background: #000 url(images/ico-email.png) no-repeat center;
    background-size: auto 100%;
}

.xinaddress:before {
    background: #000 url(images/ico-address.png) no-repeat center;
    background-size: auto 100%;
}

.gmaps {
    margin-top: 1rem;
    width: 100%;
}

/*==== not found ====*/
article#post-not-found {
    margin-bottom: 11rem;
}

/*=====
Overlay
=======*/
.xinWrap {
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
    color: #fff;
    text-align: center;
}

.xinWrap a {
    display: block;
    color: #fff;
}

.xinWrap .overlay {
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0);
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.xinWrap .overlay .centralize {
    width: 85%;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.xinWrap .overlay h3 {
    text-align: center;
    font-size: 21.825px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    margin: 0;
    line-height: 1.4;
}

.xinWrap .overlay h4 {
    font-size: 14.55px;
    line-height: 17.46px;
    margin-top: 5px;
}

.xinWrap:hover .overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 20px;
}

.xinWrap img {
    display: block;
    position: relative;
    -webkit-transition: all .4s linear;
    transition: all .4s linear;
    width: 100%;
}

.xinWrap:hover img {
    -ms-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}


/*======= Page ========*/

section {
    scroll-margin-top: 5rem;
}

#pageTitle {
    font-family: 'Futura';
    font-size: 101.85px;
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 85.3734px;
    margin-top: 0;
}

.sectionTitle {
    font-size: 52.38px;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
}

.subTitle {
    font-size: 24.735px;
    font-weight: 700;
}

.inline-block {
    display: inline-block;
}

/*======= Contact  =====*/

.contactSection form h4 {
    font-size: 18.915px;
    color: #fff;
    margin-bottom: 12px;
}

.wpcf7-spinner {
    position: absolute;
    left: 0;
}

input.wpcf7-form-control.wpcf7-submit.btn.btn-primary {
    width: 100%;
}

div.wpcf7-response-output {
    border: 0 !important;
    color: #fff;
    margin-left: 0 !important;
    padding: 0 !important;
    font-size: 80%;
}

.form-group {
    margin-bottom: 2rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.form-control {
    outline: none;
    font-size: 14.55px;
    font-weight: 400;
    border-radius: 0 !important;
    border: 0;
    box-shadow: none;
    color: #000;
    background: #fff;
    height: auto !important;
    min-height: auto !important;
    padding: 13px 18px;
}

.form-control::placeholder {
    color: #AAAAB5;
}

.form-control:focus::placeholder {
    color: rgba(0, 0, 0, 0);
}

textarea.form-control {
    height: auto;
    padding-bottom: 1.6rem;
}

textarea.wpcf7-form-control.wpcf7-textarea.form-control {
    margin-bottom: 0;
}

span.wpcf7-not-valid-tip {
    background: rgba(0, 0, 0, 0);
    color: #D11316;
    font-size: 11px;
    margin: 1rem 0;
}

div.wpcf7-validation-errors {
    border: 0;
    background: rgba(0, 0, 0, 0);
    color: #D11316;
}

.btn-submit,
.btn-submit.focus,
.btn-submit:focus {
    font-size: 17.46px;
    font-weight: 900;
    line-height: 1;
    color: #fff;
    border: 1px solid #fff;
    width: 100%;
    margin-top: 1rem;
    padding: 17px;
}

.btn-submit:hover {
    background: #C00000 !important;
    border: 1px solid #C00000;
    color: #fff;
}

/*======= Page =======*/
.pageSection {
    padding: 8rem 0;
}

/*======= List style =======*/
ul {
    padding-left: 20px;
    /*margin-bottom: 20px;*/
}

ul.lower-alpha {
    list-style-type: lower-alpha;
}

ul.disc {
    list-style-type: disc;
    margin-bottom: 10px;
}

/* =================================================================
Footer ========================================== */
#footer p {
    margin-bottom: 8px;
}

#footer p:last-child {
    margin-bottom: 0;
}

#footer {
    padding: 3.8rem 0;
    font-size: 12px;
}

#footer .row > div {
    margin-bottom: 0 !important;
}

footer .socialmedia {
    padding-left: 9px;
}

footer .socialmedia img {
    height: auto;
    width: 45px;
}

.footerbranding h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 0;
}

.footerbranding {
    font-size: 12px;
}

/*======= Back to Top =======*/
#back-to-top {
    display: block;
    position: fixed;
    bottom: 10px;
    right: 10px;
    opacity: 1;
    cursor: pointer;
    padding: 13px 16px;
    color: #aaa;
    border-radius: 50%;
}

#back-to-top:before {}

#back-to-top:hover {}

/* =================================================================
Plugins ========================================== */
/***** Media Queries *****/
@media (min-width: 1200px) {}

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .logo {
        background-image: url("/images/logo@2x.png");
        background-size: contain;
    }
}

@media only screen and (min-width: 768px) {

    .container {
        width: calc(100% - 90px);
        max-width: 2800px;
    }

    .mobile {
        display: none !important;
    }

    .mobile.navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-toggle {
        display: none;
    }

    .vcenter {
        vertical-align: middle;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .vmiddle {
        vertical-align: middle;
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .vbottom {
        vertical-align: bottom;
        display: flex;
        flex-direction: row;
        align-items: end;
        justify-content: center;
    }

    .vtop {
        vertical-align: top;
        display: flex;
        flex-direction: row;
        align-items: initial;
        justify-content: center;
    }

    .vtop-r {
        vertical-align: top;
        display: flex;
        flex-direction: row-reverse;
        align-items: initial;
        justify-content: center;
    }

    .vcenter-r {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: center;
    }

    .workSection #pageTitle,
    .serviceSection #pageTitle {
        background: url(images/5x5new.png) right top repeat-y;
        background-size: 660px auto;
        background-position-x: calc(100% + 200px);
        min-height: 180px;
    }

    .servicedescSection .container {
        background: url(images/5x5new.png) no-repeat left;
        background-size: 660px auto;
        background-position-y: 2rem;
    }

    .service-01 {
        margin-top: 200px;
    }

    section#whyus p {
        width: 310px;
        max-width: 100%;
    }

    .phonecol {
        width: 258px;
    }

    .emailcol {
        width: calc(100% - 290px);
    }

    .gmaps {
        width: 95% !important;
    }

    textarea.wpcf7-form-control.wpcf7-textarea.form-control {
        min-height: 190px !important;
    }

    .footerbranding {
        padding-left: 140px;
    }

    .footerbranding:before {
        content: '';
        background: url(images/xin-branding.png) no-repeat top left;
        background-size: 100%;
        width: 125px;
        height: 40px;
        position: absolute;
        margin-left: -140px;
    }

}

@media only screen and (max-width: 480px) {}

@media only screen and (max-width: 600px) {
    html {}
}

@media only screen and (max-width: 767px) {

    body {
        font-size: 14.008px;
        line-height: 1.6;
    }

    .desktop {
        display: none !important;
    }

    a#logo img {}

    .header-active#header a#logo img {}

    section {
        padding-left: 13px !important;
        padding-right: 13px !important;
        scroll-margin-top: 5rem;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .arrow-bounce {
        width: 26px;
        left: calc(50% - 13px);
    }

    .pageSection {
        padding: 5rem 0;
    }

    .btn,
    button {
        font-size: 11.536px;
        line-height: 19.776px;
        padding: 10px 27px;
        font-weight: 700;
    }

    form.wpcf7-form {
        margin-top: 3rem;
    }

    nav#navigation {
        background: #D11316;
        padding-top: 7rem;
        position: absolute;
        margin-top: -70px;
        width: 100%;
        max-width: 100vw !important;
        z-index: -1;
        padding-bottom: 1rem;
        border: 0 !important;

        -webkit-transition: all 0.3s linear;
        -moz-transition: all 0.3s linear;
        -ms-transition: all 0.3s linear;
        -o-transition: all 0.3s linear;

        overflow: hidden;
    }

    nav#navigation.collapsing {
        max-height: 337.5px !important;
    }

    .header-active#header nav#navigation.collapsing {
        max-height: 317.5px !important;
    }

    .header-active#header nav#navigation {
        margin-top: -52px;
    }

    nav#navigation a {
        color: #fff !important;
    }

    #header nav#navigation li a.active {
        color: #fff !important;
    }

    .header-active#header nav#navigation li a:hover,
    .header-active#header nav#navigation li a:focus,
    .header-active#header nav#navigation li a:active,
    .header-active#header nav#navigation li a.active {
        background: transparent;
        color: #fff !important;
    }


    li#menu-item-210 {
        margin-left: calc(50% - 55px);
    }

    #navigation li.socialmedia {
        width: 55px;
        float: left;
    }

    #navigation li.socialmedia a {
        padding: 1.5rem 0;
    }

    .navbar-header .navbar-brand {
        margin-left: 0 !important;
        padding-left: 25px !important;
        ;
    }

    button.navbar-toggle {
        margin-top: 2rem;
        border: 0;
        background: rgba(0, 0, 0, 0) !important;
    }

    .header-active#header button.navbar-toggle {
        margin-top: 8px;
    }

    button.navbar-toggle:hover {
        /*   color: #aaa;*/
        border: 0;
        background: rgba(0, 0, 0, 0) !important;
    }

    /*
    .navbar-toggle .icon-bar {
        background: #404041;
    }*/

    .navbar-toggle[aria-expanded=false] .icon-bar {
        background: #404041;
    }

    .navbar-toggle[aria-expanded=true] .icon-bar {
        background: #fff;
    }

    .header-active#header .navbar-toggle .icon-bar,
    .header-active#header .navbar-toggle.collapsed .icon-bar {
        background: #fff !important;
    }

    #pageTitle {
        font-size: 45px;
        line-height: 1;
    }

    .sectionTitle {
        font-size: 26.368px !important;
        line-height: 32.136px;
    }

    .mainSection {
        background-size: auto 78%;
    }

    .mainSection .sectionTitle {
        font-size: 26.368px !important;
        line-height: 32.136px;
        margin-bottom: 15px !important;
    }

    .mainSection .subTitle {
        font-size: 14.008px !important;
        line-height: 19.776px;
        margin-bottom: 16px !important;
    }

    .workSection #pageTitle {
        background: url(images/worksbgs.png) no-repeat right;
        background-size: auto 100%;
        min-height: 105px;
    }

    .serviceSection #pageTitle {
        background: url(images/servicebgs.png) no-repeat right;
        background-size: auto 100%;
        min-height: 105px;
    }

    .whySection #pageTitle {
        background: url(images/worksbgs.png) no-repeat left;
        background-size: auto 100%;
        min-height: 105px;
    }

    .servicedescSection {
        background: #fafbfa url(images/servicedescbgs.png) no-repeat top right;
        background-size: 25% auto;
        background-position-x: calc(100% - 25px);
        background-position-y: 30px;
    }

    .servicedescSection .sectionTitle {
        width: calc(100% - 30px) !important;
        margin-bottom: 63px;
    }

    .workgallery [class*='col-'] {
        padding: 2px;
    }

    .brandSection .sectionTitle {
        margin-bottom: 7px;
    }

    .brandSection p {
        font-weight: 400;
        font-size: 14.008px;
        line-height: 19.776px
    }

    .serviceSection #pageTitle {
        margin-bottom: 2rem;
    }

    .serviceSection img {
        width: 52.736px;
        margin: 25px auto 10px auto;
    }

    .serviceSection .subTitle {
        /* font-size: 16.48px;
        line-height: 19.776px;*/

        font-size: 14px;
        line-height: 1.2;
    }

    .servicedescSection .subTitle {
        font-size: 16.48px
    }

    .service-item:before {
        font-family: 'Futura';
        font-size: 51.736px;
        font-weight: 700;
        line-height: 56.6416px;
        color: #D11316;
        display: inline-block;
        position: absolute;
        margin-left: -81px;
    }

    .service-item {
        margin-left: 81px;
        margin-bottom: 30px;
    }

    .why-item {
        margin-left: 90px;
        margin-top: 20px;
        margin-bottom: 0;
        font-size: 13.6781px;
        line-height: 19.3102px;
    }

    .why-item:before {
        content: '';
        width: 90px;
        height: 52.736px;
        color: #D11316;
        display: inline-block;
        position: absolute;
        background-size: auto 100% !important;
        margin-left: -90px;
        background-position: center !important;
    }

    .why-item .subTitle {
        font-size: 16.0919px;
        line-height: 31.3791px;
        margin-bottom: 0;
    }

    .contactSection {
        /* font-size: 9.888px;*/
        font-size: 11px;
        background-size: 290% auto;
        background-position: top;
        background-attachment: scroll;
    }

    .contactSection .sectionTitle {
        margin-top: 27px;
        margin-bottom: 23px;
    }

    .contact-item {
        margin-left: 36px;
        margin-bottom: 15px;
    }

    .contact-item:before {
        width: 27px;
        height: 27px;
        margin-left: -36px;
    }

    .contact-item.xinphone {
        margin-top: 35px;
    }

    .contactSection h4 {
        font-size: 14.008px;
        line-height: 16.8096px;
        margin-bottom: 2px;
    }

    .form-control {
        font-size: 13.184px;
        padding: 1rem;
    }

    .contact-item.xinemail {
        margin-bottom: 8px !important;
    }

    .contactSection form h4 {
        font-size: 14.008px;
        margin-bottom: 3px;
    }

    #footer {
        padding: 15px 0;
        text-align: center !important;
        font-size: 9.888px;
    }

    .footerbranding h3 {
        font-size: 11.536px;
    }

    .workgallery {
        padding: 8px;
    }

    .xinWrap .overlay h3 {
        text-align: center;
        font-size: 12px;
        font-weight: 700;
        color: #fff;
        margin: 0;
        line-height: 1.1;
    }

    .xinWrap .overlay h4 {
        font-size: 9px;
        line-height: 1.1;
        margin-top: 3px;
        margin-bottom: 0;
    }

}

@media only screen and (min-width: 992px) and (max-width: 1199px) {}

@media only screen and (min-width: 992px) {

    header .container {
        width: calc(100% - 90px);
    }

    /*======= Scrollable header =======*/
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

.row.display-flex {
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
    /* NEW, Spec - Firefox, Chrome, Opera */
    flex-wrap: wrap;
}

.row.display-flex > [class*='col-'] {
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
    flex-direction: column;
}

.animated {
    animation-duration: 1s;
}
