/* Style of the footer subscriber form */
form.ninja-forms-form input.form-control, form.footer-form input.form-control {
    background: #fff;
    display: block;
    width: 100%;
    max-width: 480px;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #636363;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    font-weight: normal;
}

form.ninja-forms-form [type=submit], form.footer-form [type=submit] {
    background: #EF3F3B;
    color: #fff;
    border: none;
    max-width: 100%;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 0;
    display: block;
    width: 100%;
    padding: 8px 10px 8px;
    max-width: 480px;
    height: auto;
}

aside.sidebar h3.aside-title {
    border-bottom: 1px solid #ddd;
    padding-bottom: 7px;
    font-weight: 400;
    margin-bottom: 0;
    padding-left: 10px;
    font-size: 21px;
}

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

    aside.sidebar h3.aside-title {
        text-align: center;
    }
}

aside.sidebar ul.menu li {
    display: block;
    padding: 7px 15px;
    margin: 0;
    border-bottom: 1px solid #DDD;
}

aside.sidebar ul.menu {
    padding: 0;
}

aside.sidebar ul.menu li a {
    color: #333;
}

aside.sidebar ul.menu li::after {
    content: "\f054";
    font-family: "FontAwesome";
    float: right;
    font-size: 10px;
    margin-top: 5px;
}

aside.sidebar ul.menu li.current-menu-item a, aside.sidebar ul.menu li.current-menu-item::after {
    color: #D42155;
}

@media (max-width: 767px) {
    aside.sidebar ul.menu {
        border-bottom: 1px solid #DDD;
        width: 100%;
        text-align: center;
    }

    aside.sidebar ul.menu li {
        display: inline-block;
        border-bottom: 0px;
    }

    aside.sidebar ul.menu li::after {
        content: "";
    }

    h1.page-title {
        margin-top: 40px !important;
    }
}

form.ninja-forms-form input, form.ninja-forms-form select {
    background: #fff;
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #6E6E6E;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    font-weight: normal;
    margin: 0 !important;
}

form.ninja-forms-form input[type=checkbox] {
    border: none;
    background: none;
    box-shadow: none;
    display: inline-block;
    width: auto;
    height: auto;
}

form.ninja-forms-form textarea {
    background: #fff;
    display: block;
    width: 100%;
    max-width: 100%;
    height: 200px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    font-weight: normal;
    margin: 0 !important;
}

form.ninja-forms-form label {
    margin-bottom: 5px;
    display: inline-block !important;
}

form.ninja-forms-form .ninja-forms-pass1 {
    margin-bottom: 10px;
}

.form-popup-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.78);
    display: flex;
}

.form-popup-wrapper .popup {
    margin: auto;
    background: #fff;
    padding: 20px;
    width: 100%;
    max-width: 350px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.17);
    overflow-y: scroll;
    max-height: 100%;
}

.form-popup-wrapper .popup h4 {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    font-weight: bold;
    margin-bottom: 0;
    text-align: center;
    font-size: 18px;
}

form#interest [type=submit] {
    display: block;
    width: 100%;
    margin: 10px auto;
    background: #EF3F3B;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 8px;
}

.form-popup-wrapper .popup form label {
    display: block;
    border-bottom: 1px solid #ddd;
    padding: 10px 0px;
    margin: 0;
    width: 100%;
}

/* Style for Ninja Form Checkbox Label */
div.checkbox-wrap {
    width: 100% !important;
}

div.checkbox-wrap label {
    font-weight: normal;
    color: #797979;
}

article img {
    height: auto;
}

.page-404 h1.page-title {
    font-size: 1.8em;
}

.page-404 article#post-404 h2 {
    font-size: 1.2em;
}

/* Fix for the appearance of the newsletter form */

body.subscribe form.ninja-forms-form input.form-control {
    max-width: 480px;
}

form.ninja-forms-form select.form-control {
    max-width: 480px;
}

.footer-newsletter-form form.ninja-forms-form input.form-control.tohide {
    display: none;
}

.footer-newsletter-form form.ninja-forms-form select.form-control.tohide {
    display: none;
}

.footer-newsletter-form form.ninja-forms-form .nf-desc {
    display: none;
}

form.ninja-forms-form div.field-wrap.hidden-wrap {
    display: none;
}

@media screen and (max-width: 768px) and (min-width: 481px) {
    .ninja-forms-form-wrap .nf-desc {
        width: 50%;
        max-width: 768px;
    }

    .ninja-forms-form-wrap .nf-desc .ninja-forms-field {
        width: 100%;
    }
}

body.subscribe div.ninja-forms-success-msg {
    color: #EF3F3B;
    font-weight: bold;
}

.scroll2top-button-holder {
    position: fixed;
    right: 2%;
    bottom: 9px;
    z-index: 9999;
    display: none;
}

.scroll2top-button-holder button.scroll2top-button {
    background: rgba(0, 0, 0, 0.33);
    border: none;
    color: #fff;
    padding: 6px 10px;
}

.btn-read-more {
    background: #EF3F3B;
    color: #fff;
    border: none;
    max-width: 100%;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 0;
    padding: 8px 20px 8px;
    max-width: 480px;
    height: auto;
    display: inline-block;
}

.btn-read-more:hover {
    color: #fff;
}

/* Style for the Social Media icons */

a.sficn img {
    border-radius: 20px;
}

#sfsiplusid_instagram img {
    background-color: #356696;
}

#sfsiplusid_youtube img {
    background-color: #ca3538;
}

#sfsiplusid_twitter img {
    background-color: #1dade9;
}

#sfsiplusid_facebook img {
    background-color: #356696;
}

#sfsiplusid_rss img {
    background-color: #f0722e;
}

#sfsiplusid_email img {
    background-color: #a2a2a2;
}

#sfsiplusid_google img {
    background-color: #c20806;
}

#sfsiplusid_linkedin img {
    background-color: #1678b3;
}

#sfsiplusid_pinterest img {
    background-color: #ca3538;
}

#sfsiplusid_custom img {
    background-color: #f0722e;
}

.sfsi_plus_wicons a.sficn {
    display: inline-block;
    height: 50px;
}

.sfsi_plus_wicons img {
    max-width: 50px;
    display: block;
    border-radius: 30px;
    margin: auto;
}

@media screen and (min-width: 769px) {
    .scroll2top-button {
        display: none !important;
    }

    .social-icons-holder {
        position: fixed;
        top: 30%;
        left: 10px;
        width: auto;
        z-index: 9999;
    }

    .sfsiplus_norm_row {
        width: 50px !important;
    }
}

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

    .social-icons-holder {
        position: fixed;
        bottom: 0px;
        z-index: 999;
        left: 0px;
        background: rgba(255, 255, 255, 0.6);
        height: 50px;
        width: 100%;
        margin: 0;
        padding: 5px 10px;
    }

    .sfsiplus_norm_row {
        width: 100% !important;
    }

    .sfsi_plus_widget {
        height: 50px;
    }

    footer.footer {
        margin-bottom: 60px;
    }

    .sfsiplus_footerLnk {
        display: none;
    }

    .sfsi_plus_wicons {
        margin: 0 !important;
        padding: 5px;
    }

    .sfsi_plus_tool_tip_2 {
        box-shadow: none !important;
        background: none !important;
        border: none !important;
    }

    .sfsi_plus_tool_tip_2 .bot_arow {
        display: none !important;
    }
}

@media screen and (max-width: 480px) {
    .social-icons-holder {
        padding: 0;
    }

    .sfsiplus_norm_row {
        width: 100% !important;
        display: flex;
    }

    .sfsi_plus_wicons {
        margin: 0 !important;
        padding: 0;
        flex: 1;
    }

    .scroll2top-button-holder {
        bottom: 58px;
    }

    .sfsi_plus_tool_tip_2 {
        width: 100% !important;
        left: 72% !important;
        box-shadow: none !important;
        background: #fff !important;
    }

    #sfsiplusid_instagram {
        background-color: #356696;
    }

    #sfsiplusid_youtube {
        background-color: #ca3538;
    }

    #sfsiplusid_twitter {
        background-color: #1dade9;
    }

    #sfsiplusid_facebook {
        background-color: #356696;
    }

    #sfsiplusid_rss {
        background-color: #f0722e;
    }

    #sfsiplusid_email {
        background-color: #a2a2a2;
    }

    #sfsiplusid_google {
        background-color: #c20806;
    }

    #sfsiplusid_linkedin {
        background-color: #1678b3;
    }

    #sfsiplusid_pinterest {
        background-color: #ca3538;
    }

    #sfsiplusid_custom {
        background-color: #f0722e;
    }

    .sfsi_plus_wicons:nth-child(6) #sfsiplusid_custom {
        background: #acacac;
    }
}

/* disable null menu-item link */
.menu-item.null a {
    pointer-events: none;
    cursor: default;
}

.menu-item.null .sub-menu a {
    pointer-events: visible;
    cursor: pointer;
}

.sfsiplus_footerLnk {
    display: none;
}

.sfsi_plus_wicons:nth-child(6) #sfsiplusid_custom img {
    background: #acacac;
}

h3.no-content-title {
    color: #acacac;
}

/* Hide the icons while doing the js manipulation (Hiding some icons) */
html[lang=zh-CN] .social-icons-holder {
    display: none;
}

*[disabled] {
    cursor: not-allowed !important;
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
    color: #606060;
}

input:-moz-placeholder, textarea:-moz-placeholder {
    color: #606060;
}

input::-moz-placeholder, textarea::-moz-placeholder {
    color: #606060;
}

input:-ms-input-placeholder, textarea:-ms-input-placeholder {
    color: #606060;
}

.field-wrap.recaptcha-wrap .ninja-forms-req-symbol {
    display: none;
}

form.ninja-forms-form div.field-wrap.recaptcha-wrap {
    width: 100% !important;
}

/* Popup form on contact page */
body.page-template-customer-service-page-contact div.form-popup-wrapper div.field-wrap {
    width: 100%;
}

/* Ninja Form response messgae */
div.ninja-forms-response-msg {
    color: red;
    margin-bottom: 10px;
}

/* for the sidebar instagram icon */
.sidebar-instagram-logo {
    height: 26px;
    width: auto;
}

.instagram-header h2 {
    margin-left: 4px;
    vertical-align: middle;
    display: inline;
    font-size: 26px;
}

.instagram-header h3 {
    margin-top: 6px;
    font-size: 21px;
}