/*
Theme Name: Themify Split Child
Description: Child theme for Themify Split theme
Author: Wilbert
Template: themify-split
*/
/************************************************************************************
ACES CUSTOMISATION
*************************************************************************************/
.team-container.team-members>.row{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;	
}
.team-container.team-members>.row>.team-profile{
	border-width:1px;
}
.team-container.team-members {
    padding-bottom: 20px;
}
/*************************************************************************************
TABLE OF CONTENTS
1. Header
2. Body & Typography
3. Footer Elements
4. Links and Buttons
5. Forms
6. Other Elements
7. Fixes
*************************************************************************************/

/************************************************************************************
1. HEADER
*************************************************************************************/
#site-logo img {
    height: 42px !important;
}
#searchform-wrap {
    display: block;
    float: right;
    margin: 0;
    padding-top: 4px;
    position: relative;
}
#headerwrap {
    position: relative;
    padding: 17px 0 17px 0;
}
#headerwrap #searchform {
    border: 0;
}
#main-nav li.current-menu-parent a:after,
#main-nav li.current-menu-ancestor a:after {
    width: 100%;
}
#main-nav li a:after {
    bottom: 9px;
}
#main-nav ul a,
#main-nav ul::before,
#main-nav ul a:hover,
#main-nav .sub-menu li a:after {
    border: 0;
}
#main-nav ul {
    top: 104%;
}
/*SUB MENU STARTS HERE*/
#main-nav .sub-menu li.current-menu-item a:after {
    display: none;
}
ul.sub-menu li a:after {
    border-bottom: 0 !important;
}
div.tile-link {
    font-family: 'Montserrat';
    font-size: 12px;
}
#main-nav ul {
    border: 0;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    -moz-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    background-color: #fafafa;
    padding: 0;
}
#main-nav li.current-menu-parent a:after,
#main-nav li.current-menu-ancestor a:after,
#main-nav li a:after  {
    border-bottom: 2px solid;
    border-width: 0 0 2px 0;
}
.no-touch #main-nav .sub-menu li:first-child:hover,
#main-nav .sub-menu li.current-menu-item:first-child {
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.no-touch #main-nav .sub-menu li:last-child:hover,
#main-nav .sub-menu li.current-menu-item:last-child {
    -webkit-border-bottom-right-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}
/*SUB MENU ENDS HERE*/


/************************************************************************************
2. BODY & TYPOGRAPHY
*************************************************************************************/
body {
    font-size: 15px;
    letter-spacing: 0.01em;
}
h1,
h2,
h3,
h4,
h5 {
    font-family: 'Montserrat';
}
h1,
.page-title {
    font-size: 2em;
}
h2 {
    font-size: 1.5em;
}
h3 {
    margin-top: 1em;
    font-size: 1.4em;
    font-style: normal;
}
h4 {
    font-size: 1.3em;
    text-transform: initial;
    margin-bottom: 0;
    margin-top: 1em;
}
h5 {
    font-size: 1.2em;
    margin-top: 0.5em;
}
h6 {
    font-size: 1.1em;
}
p {
    padding-bottom: 1em;
}
.half-side-bar h4 {
    margin-bottom: 5px;
    text-transform: uppercase;
}
.module-title {
    font-family: 'Montserrat';
    font-weight: normal;
    letter-spacing: 0 !important;
}
.admin-bar #headerwrap {
    margin-top: 0;
}
.title {
    text-transform: uppercase;
    letter-spacing: 0;
    font-family: 'Montserrat';
    font-size: 15px;
}
.loops-wrapper.grid4 .post-title {
    font-size: 20px;
}
body.search .post-title {
    font-size: 1.8em;
}
/*RELEVANT ARTICLES START HERE*/
.module-post .type-post .post-image {
    max-height: 180px;
    overflow: hidden;
    box-sizing: border-box;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
/*RELEVANT ARTICLES ENDS HERE*/
.blog-section .module-post .type-post .post-image {
    max-height: 350px;
}
.tile-link {
    display: table;
    text-align: center;
    font-size: 1.3em;
    width: 100%;
    height: 100%;
    text-transform: uppercase;
}
.tile-link-container {
    display: table-cell;
    vertical-align: middle;
    height: 100%;
}
.wtile {
    box-shadow: none;
    transition: box-shadow 0.3s;
}
.wtile:hover {
    box-shadow: 0px 0px 20px 2px rgba(97, 96, 96, 0.4);
    z-index: 1;
    transition: box-shadow 0.3s;
}
.wtiles-12 .tb-column-inner {
    vertical-align: top;
}
.bottom-text .tb-column-inner {
    vertical-align: bottom;
    padding: 6%;
    background: -moz-linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgb(0, 0, 0) 100%);
    background: -webkit-linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgb(0, 0, 0) 100%);
    background: -o-linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgb(0, 0, 0) 100%);
    background: -ms-linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgb(0, 0, 0) 100%);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgb(0, 0, 0) 100%);
}
.split-ie .tb-column, .split-scroll .tb-column.bottom-text {
    display: table !important;
}

.top-text .tb-column-inner {
    vertical-align: top;
}
.full-width-top-text .first.tb-column {
    overflow: hidden;
}
.full-width-top-text .first.tb-column .tb-column-inner {
    height: 100%;
    padding: 6%;
    background: -moz-linear-gradient(180deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
    background: -webkit-linear-gradient(180deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
    background: -o-linear-gradient(180deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
    background: -ms-linear-gradient(180deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(180deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
}
.full-width-top-text .last.tb-column .tb-column-inner {
    padding: 6%;
}
.tile-text {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0;
    box-sizing: border-box;
    padding: 10px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.5s, opacity 0.5s linear;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
}
.tile-text-long {
    position: absolute;
    padding: 30px 20px;
    border-radius: 10px;
    right: 0;
}
.tile-text-long .frm_error {
    display: block;
    margin: -8px 5px 0;
    font-size: 0.9em;
    padding: 2px;
    box-sizing: border-box;
    line-height: 1.5em;
    border-radius: 0 0 2px 2px;
}
.wtile:hover > .tile-text {
    visibility: visible;
    opacity: 1;
    transition-delay: 0.2s;
}
.ready-view #pagewrap {
    padding-top: 0!important;
}
.half-view-port {
    height: 50%;
}
.half-view-port .themify_map.map-container {
    height: 100% !important;
    min-height: 300px;
}
.module-feature-title {
    font-size: 1.3em !important;
}
.half-side-bar {
    /*height is set to 100% because the option Equal to Column Height is gone, as of 31/01/2017*/
    height: 100% !important;
    padding: 30px !important;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.team-div {
    padding-top: 30px;
    margin-top: 30px;
}
.pagenav .current,
.pagenav a:hover {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
h2.team-member-headings {
    color: #fff !important;
}
/*TESTIMONIALS*/
.carousel-pager span {
    display: none !important;
}
/*EBOOK PORTFOLIO SIDEBAR*/
body.single-portfolio #sidebar {
    display: none !important;
}
body.ebook #content {
    padding-right: 0;
}
/*EBOOK BLOG POST SIDEBAR*/
body.ebook #sidebar {
    display: none !important;
}
.ebook .ebook-articles img {
/*    border: 1px solid #ebebeb;*/
    display: block !important;
    margin-bottom: 20px;
/*    padding: 5px;*/
    /*width: 400px;*/
}
@media only screen and (min-width: 1100px) {
    .ebook-read-more.fixed {
        right: calc(50% - 645px);
    }
}
.category-ebook .post-content .post-image {
    margin-top: 0 !important;
    max-height: none !important;
}
/************************************************************************************
3. FOOTER ELEMENTS
*************************************************************************************/
.back-top {
    top: -51px;
}
.back-top a {
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.footer-text {
    padding-top: 10px;
    margin-top: 20px;
}
#footerwrap {
    font-size: 0.9em;
}
.social-links li i:hover,
#footerwrap a:hover {
    transition: color 0.3s;
}
.full_width #footerwrap #footer {
    width: 94%;
}
/************************************************************************************
4. LINKS AND BUTTONS
*************************************************************************************/

div.wbtn a,
a.more-link {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    font-family: 'Montserrat';
    padding: 1em 2em;
    line-height: 4em;
}
a.more-link {
    cursor: pointer !important;
    font-size: 14px;
    padding: 10px 17px !important;
    border: 0 !important;
    text-transform: uppercase;
    line-height: 4em;
}
div.wbtn a:hover,
a.more-link:hover {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    opacity: 0.8;
}
a.more-link {
    font-size: 0.8em;
    line-height: 6em;
}
a.themify_lightbox {
    cursor: pointer !important;
}
.post-nav a:hover {
    padding: 4.3% 50px;
}
/************************************************************************************
5. FORMS
*************************************************************************************/
/*CONTACT FORM STARTS HERE*/
.modal-content .frm_message p {
    border-radius: 6px;
    font-family: inherit;
    letter-spacing: 0;
    line-height: 1.5;
    margin: 5px auto 8px;
    padding: 8px 20px;
    position: relative;
    background-color: #2cc384 !important;
    color: #fff !important;
}
.frm_message p,
.frm_error_style p {
    padding: 8px 20px;
    background-color: #2cc384 !important;
    color: #fff !important;
    border-radius: 4px !important;
    -webkit-border-radius: 4px !important;
    -moz-border-radius: 4px !important;
    margin-bottom: 10px;
}
.frm_error_style p {
    background-color: #D24D57 !important;
}
.contact-form-popup {
    border: 0 !important;
    border-radius: 4px !important;
    -webkit-border-radius: 4px !important;
    -moz-border-radius: 4px !important;
}
.form-field input,
.form-field textarea {
    border: 1px solid #ecf0f1;
}
.newsletter-submit-btn-padding-top {
    padding-top: 7px;
}
.submit-btn input,
.frm_button,
input[type=reset],
input[type=submit],
.button {
    width: 100%;
    font-family: 'Montserrat';
    -webkit-border-radius: 4px !important;
    -moz-border-radius: 4px !important;
    border-radius: 4px !important;
    letter-spacing: 0;
    text-shadow: none;
}
.button a {
    display: block;
    text-align: center;
}
.submit-btn input:hover {
    opacity: 0.7;
}
/*CONTACT FORM ENDS HERE*/
@media screen and (max-width: 760px) {
    .split-scroll-off .tb-column {
        padding-top: 0;
        padding-bottom: 0;
    }
}
select,
input[type=text],
input[type=password],
input[type=search],
input[type=email],
input[type=url],
input[type=tel] {
    width: 100%;
}
select {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fff;
    padding: .4em .8em;
    margin: .6em 0;
    max-width: 100%;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#searchform-wrap input[type=text] {
    border-radius: 3px!important;
}
/*.contact-form-modal .frm_required_field label,
.contact-form-modal legend.frm_hidden,
.half-side-bar legend.frm_hidden,
.half-side-bar .frm_required_field label,
.frm_form_widget .frm_required_field label,
.frm_form_widget legend.frm_hidden,
.insurance-quote .frm_required_field label,
.insurance-quote legend.frm_hidden {
    display: none;
}*/
.half-side-bar .frm_required_field.show-label label {
    display: block !important;
}
.frm_inline_container.horizontal_radio label,
.frm_inline_container.horizontal_radio .frm_radio {
    display: inline !important;
}
.frm_required {
    color: #EC644B;
}
/*INSURANCE QUOTE FORMS*/
.insurance-quote select,
.insurance-quote input {
    margin-top: 0.7em;
    margin-bottom: 0.7em;
}
.insurance-quote select {
    border: none;
    padding: 5px 0 5px 10px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.insurance-quote .frm_message p {
    background-color: #2cd680;
    color: #fff !important;
}
.insurance-quote .frm_message p {
    border-radius: 6px;
    font-family: "Montserrat";
    letter-spacing: 0;
    line-height: 1.5;
    margin: 5px auto 8px;
    padding: 8px 20px;
    position: relative;
}
.insurance-quote .frm_opt_container {
    display: inline;
}
.insurance-quote .frm_opt_container .frm_radio{
    display: inline;
}
.insurance-quote-container {
    background-color: #eee;
    padding: 20px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.insurance-quote .custom-select {
    position: relative;
    width: 100%;
}
form.insurance-quote div.half-width {
    display: inline-block;
    width: 49.65% !important;
}
.insurance-quote .custom-select:before {
    content: '\f0d7';
    font-family: FontAwesome;
    color: #919191;
    display: inline-block;
    position: absolute;
    right: 20px;
    top: 15px;
    pointer-events: none;
}
select::-ms-expand {
    display: none;
}
@media screen and (max-width: 1188px) {
    form.insurance-quote div.half-width {
        display: block;
        width: 100% !important;
    }
}
/************************************************************************************
6. OTHER ELEMENTS
*************************************************************************************/

.module-post .post-image img,
.loops-wrapper.list-thumb-image .post-image img,
img-border {
    border-radius: 3px;
    padding: 0;
    box-sizing: border-box;
}
.loops-wrapper.list-thumb-image .post-image,
.loops-wrapper.list-thumb-image .post-image {
    float: right;
    margin: 2.7em 0 1em 2em;
    max-width: 30%;
    width: 30%;
}
.col-full .module-post .list-thumb-image .post,
.loops-wrapper.list-thumb-image .post,
.module .pagenav {
    padding-top: 30px;
}
#multiscroll-nav {
    display: none;
}
span.post-category a {
    font-size: 0.7em;
    padding: 2px 5px;
    border-radius: 2px;
}
/*FORMIDABLE DATE PICKER*/
#ui-datepicker-div {
    padding: 1%;
    border-radius: 4px;
}
#ui-datepicker-div table,
#ui-datepicker-div th,
#ui-datepicker-div td {
    padding: 0 !important;
    text-align: center;
}
#ui-datepicker-div .ui-datepicker-title {
    margin-bottom: 10px;
}
.ui-datepicker-prev.ui-corner-all,
.ui-datepicker-next.ui-corner-all {
    display: none;
}
.ui-datepicker-month,
.ui-datepicker-year {
    width: 48%;
    margin-left: 1%;
}
.ui-datepicker-calendar td a {
    padding: 10px !important;
    display: block;
}
/*FORMIDABLE STYLING*/
.hide-mobile .fa-chevron-down {
    animation: bounce 2s infinite;
    -webkit-animation: bounce 2s infinite;
    -moz-animation: bounce 2s infinite;
    -o-animation: bounce 2s infinite;
}
.shortcode.themify-icon .themify-icon-link:hover .themify-icon-label {
    text-decoration: none;
}
.single .post-content a {
    padding-bottom: 1px;
}
.single .post-content a:hover {
    border-bottom: 1px solid;
}
#content .themify_builder_row.fullwidth .row_inner {
    max-width: 100%;
}

/*THEMIFY LIGHTBOX CLOSE BUTTON*/
.mfp-iframe-holder .mfp-close {
    top: 0 !important;
    width: 44px !important;
    height: 44px !important;
    padding-right: 9px !important;
}
/*EXPAND FOOTER ON FULL WIDTH PAGE TO MATCH BODY AND HEADER WIDTH*/
.no-padding div.tb-column-inner {
    padding: 0 !important;
}
.contact-us-tiles .col3-1.repeat-none {
    background-size: 50%;
}
/*KEYFRAME ANIMATIOM*/
@-webkit-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);} 
    40% {-webkit-transform: translateY(-30px);}
    60% {-webkit-transform: translateY(-15px);}
}
 
@-moz-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-moz-transform: translateY(0);}
    40% {-moz-transform: translateY(-30px);}
    60% {-moz-transform: translateY(-15px);}
}
 
@-o-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-o-transform: translateY(0);}
    40% {-o-transform: translateY(-30px);}
    60% {-o-transform: translateY(-15px);}
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-30px);}
    60% {transform: translateY(-15px);}
}

/*EXCERPT STYLING FOR EBOOKS PAGES*/
.top-excerpt-wrap {
	max-width: none;
}
.top-excerpt-wrap p {
	padding-bottom: 1em;
}
/************************************************************************************
7. REPONSIVE CODES
*************************************************************************************/

/*MOBILE MENU*/
body.mobile_menu_active.sidemenu-right, 
body.mobile_menu_active.sidemenu-right #headerwrap {
	left: 0;
}
@media screen and (max-width: 1200px) {
	#headerwrap #main-nav a,
	#headerwrap #main-nav ul a,
	#headerwrap a {
	    color: #919191;
	}
	#main-nav ul {
        box-shadow: none;
    }
	#mobile-menu.sidemenu-on {
	    background-color: #ebebeb !important;
	}
}

/*ENABLE THE MOBILE MENU ON IPAD*/
@media screen and (max-width: 1200px) {
    /************************************************************************************
    HEADER
    *************************************************************************************/
    
    #headerwrap #header {
        height: auto;
    }
    /* reset absolute elements to static */
    
    #headerwrap #site-logo,
    #headerwrap #site-description {
        position: static;
        float: none;
        clear: both;
        margin: 0;
        padding: 0;
    }
    /* site logo */
    
    #headerwrap #site-logo {
        font-size: 30px;
    }
    /* header widget */
    
    #headerwrap .header-widget {
        position: static;
        float: none;
        text-align: left;
        clear: both;
        margin: 0;
    }
    #headerwrap .header-widget .widget {
        margin: 0 0 10px;
    }
    /* menu icon */
    
    #headerwrap #menu-icon {
        position: absolute;
        display: block;
        top: 50%;
        right: 10px;
        text-decoration: none;
        font-size: 1.2em;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    /************************************************************************************
    MENU PANEL
    *************************************************************************************/
    /* Mobile Menu Styles */
    
    .sidemenu {
        transition: all .2s ease-in-out;
        height: 100%;
        width: 250px;
        padding: 50px 25px 20px;
        display: block;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        position: fixed;
        top: 0;
        z-index: 111;
    }
    #mobile-menu {
        right: -300px;
    }
    #mobile-menu.sidemenu-on {
        right: 0;
    }
    .sidemenu-active {
        position: relative;
    }
    .sidemenu-active,
    .sidemenu-active #headerwrap {
        left: 0;
        transition: left .2s ease-in-out;
    }
    .sidemenu-left,
    .sidemenu-left #headerwrap {
        left: 250px;
    }
    /* mobile menu panel link */
    
    #headerwrap #mobile-menu-panel a {
        text-decoration: none;
    }
    /* slide menu close */
    
    #headerwrap #menu-icon-close {
        position: absolute;
        display: block;
        text-decoration: none;
        top: 10px;
        right: 20px;
        font-size: 1.4em;
    }
    #headerwrap #menu-icon-close:after {
        content: "\f00d";
        font-family: FontAwesome;
    }
    /* main nav */
    
    #headerwrap #main-nav-wrap {
        display: block;
    }
    #headerwrap #main-nav {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        margin: 15px 0 50px;
        background: none;
        border: none;
        text-align: left;
        float: none;
        clear: both;
    }
    #headerwrap #main-nav li {
        float: none;
        display: block;
        border: none;
        background: none;
        padding: 0;
        margin: 0;
        clear: both;
    }
    /* sub level */
    
    #headerwrap #main-nav ul {
        position: static;
        width: auto;
        height: auto;
        display: block;
        border: none;
        margin: 0;
        padding: 0 0 0 1em;
        background: none;
        visibility: visible;
        opacity: 1;
        clear: both;
    }
    #headerwrap #main-nav ul li {
        border: none;
        background: none;
        padding: 0;
        margin: 0;
    }
    /* menu link */
    
    #headerwrap #main-nav a,
    #headerwrap #main-nav ul a {
        width: auto;
        display: block;
        border: none;
        padding: .6em 0;
        margin: 0;
        color: #919191;
        font-size: 100%;
        font-weight: bold;
        line-height: 1.5em;
        background: none;
        text-decoration: none;
    }
    #headerwrap #main-nav li a:after {
        display: none;
    }
    /* sub level menu link */
    
    #headerwrap #main-nav ul a {
        font-weight: normal;
        font-size: .95em;
        text-align: left;
    }
    /* sub-menu icon */
    
    #headerwrap #main-nav .menu-item-has-children > a:after,
    #headerwrap #main-nav ul .menu-item-has-children > a:after {
        display: none;
    }
    /* current link */
    
    #main-nav ul:after,
    #main-nav ul:before {
        display: none;
    }
    .admin-bar .sidemenu {
        top: 32px;
    }
    /* 
    SEARCH FORM
    ================================================ */
    
    #searchform-wrap {
        float: none;
    }
    #headerwrap #searchform {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        float: none;
        clear: both;
        margin: 0 0 1em;
        padding: 0;
        width: auto;
    }
    #headerwrap #searchform #s {
        width: 100%;
        float: none;
        -webkit-transition: none;
        -moz-transition: none;
        transition: none;
        opacity: 1;
    }
    #headerwrap #searchform #s:focus,
    #headerwrap #searchform #s:hover,
    #headerwrap #searchform .icon-search:hover + #s {
        width: 100%;
        color: #000;
    }
    #headerwrap #searchform .icon-search:before {
        padding: 0;
        color: #000;
    }
    /* 
    SOCIAL WIDGET
    ================================================ */
    
    #headerwrap .social-widget {
        margin: 0 0 1em;
        position: static;
        float: none;
    }
    #headerwrap .social-widget .widgettitle {
        display: block;
        margin: 0 0 .4em;
    }
    /* window width resize nicescroll */
    
    .single-post.sidebar-none .post-content,
    .single-portfolio.sidebar-none .post-content {
        max-height: none;
    }
    .single-post.sidebar-none .post-nav .prev,
    .single-post.sidebar-none .post-nav .next,
    .single-portfolio.sidebar-none .post-nav .prev,
    .single-portfolio.sidebar-none .post-nav .next {
        display: block;
        float: left;
    }
    .single-post.sidebar-none .post-nav a,
    .single-portfolio.sidebar-none .post-nav a {
        max-width: 100%;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
}
/*MOBILE AND TABLET START HERE*/

@media screen and (max-width: 1000px) {
    .sidemenu-right #headerwrap {
        left: 0 !important;
    }
}
@media screen and (max-width: 773px) {
    #headerwrap #menu-icon {
        top: 50% !important;
    }
}
@media screen and (max-width: 680px) {
    .split-scroll-off .tb-column:not(.half-side-bar) {
        padding: 0 !important;
    }
}
/*MOBILE AND TABLE ENDS HERE*/
/*SIDE MENU FIX WHEN ON CHROME IN BETWEEN 769px to 1000px*/

@media screen and (max-width: 1000px) {
    .sidemenu-right,
    .sidemenu-right #headerwrap {
        left: 0 !important;
    }
}
@media screen and (min-width: 737px) {
    .fit-to-page .ms-tableCell,
    .split-scroll .ms-tableCell {
        height: calc(100vh - 82px) !important;
    }
    #headerwrap {
        max-height: 83px;
    }
    .tile-text-long {
        width: 120% !important;
    }
    .row-with-tiles .row_inner_wrapper,
    .row-with-tiles .row_inner_wrapper .row_inner,
    .row-with-tiles .row_inner_wrapper .row_inner .module_column,
    .row-with-tiles .row_inner_wrapper .row_inner .module_column .tb-column-inner,
    .row-with-tiles .row_inner_wrapper .row_inner .module_column .tb-column-inner .sub_column,
    .row-with-tiles .row_inner_wrapper .row_inner .wtiles-12 .wtile,
    .row-with-tiles .row_inner_wrapper .row_inner .wtiles-12 .sub_row_inner_wrapper{
        height: 100%;
/*        min-height: 100%;*/
    }
    .row-with-tiles .row_inner_wrapper .row_inner .module_column .tb-column-inner .themify_builder_sub_row:nth-child(1),
    .row-with-tiles .row_inner_wrapper .row_inner .module_column .tb-column-inner .themify_builder_sub_row:nth-child(2),
    .row-with-tiles .row_inner_wrapper .row_inner .module_column .tb-column-inner .themify_builder_sub_row:nth-child(3),
    .row-with-tiles .row_inner_wrapper .row_inner .module_column .tb-column-inner .themify_builder_sub_row:nth-child(4) {
        height: 25%;
    }
    .bottom-text {
        min-height: 80vh;
    }
}
@media screen and (max-width: 1000px) {
    #main-nav li a::after {
        border: 0;
    }
    #headerwrap #main-nav a,
    #headerwrap #main-nav ul a {
        border-width: 0 !important;
    }
    .sidemenu-right,
    .sidemenu-right #headerwrap {
        left: 0;
    }
}
@media screen and (max-width: 673px) {
    div.last.tb-column:not(.half-side-bar) {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

/*MOBILE PHONE*/
@media screen and (max-width: 736px) {
    /*TO ENSURE THAT PHONES HAVE THE MOBILE VERSION*/
    .fit-to-page > .row_inner_wrapper > .row_inner,
    .team-page > .row_inner_wrapper > .row_inner {
        display: block !important;
    }
    .mfp-close {
        background: #000 !important;
    }
    .themify_builder_content .col5-1,
    .themify_builder_content .col4-1,
    .themify_builder_content .col4-2,
    .themify_builder_content .col2-1,
    .themify_builder_content .col4-3,
    .themify_builder_content .col3-1,
    .themify_builder_content .col3-2 {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .bottom-text .tb-column-inner {
        background: rgba(0, 0, 0, 0.3) -moz-linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgb(0, 0, 0) 100%) !important;
        background: rgba(0, 0, 0, 0.3) -webkit-linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgb(0, 0, 0) 100%) !important;
        background: rgba(0, 0, 0, 0.3) -o-linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgb(0, 0, 0) 100%) !important;
        background: rgba(0, 0, 0, 0.3) -ms-linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgb(0, 0, 0) 100%) !important;
        background: rgba(0, 0, 0, 0.3) linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgb(0, 0, 0) 100%) !important;
    }
/*    div.last.tb-column:not(.wtiles-12,
    .no-padding) {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }*/
    .wtiles-12 .wtile {
        min-height: 0px;
        height: 150px;
    }
    .tile-link {
        height: 150px;
    }
}
/*@media screen and (min-width: 737px) and (max-width: 1024px) {
    .bottom-text {
        display: table !important;
    }
    .bottom-text .tb-column-inner {
        display: table-cell;
        padding-bottom: 50px !important;
    }
}*/
@media screen and (max-width: 1024px) {
    /*DISABLE EMAIL US LINK ON HOME PAGE WHEN NOT DISPLAYED ON DESKTOP*/
    
    .email-us {
        display: none !important;
    }
    
    .bottom-text .tb-column-inner {
        background: linear-gradient(180deg, rgba(54,54,54,0.5) 50%, rgba(0, 0, 0, 0) 90%);
    }
    
}
@media screen and (max-width: 1440px) {
    .wtile p,
    .wtile .tile-link a {
        font-size: 1em;
    }
    .full_width .themify_builder_row .row_inner {
        max-width: inherit;
    }
}
@media screen and (min-width: 1025px) {
    ul.sub-menu {
        max-height: 80vh;
        overflow-y: auto;
        overflow-x: hidden;
    }
}
@media screen and (min-width: 1024px) {
    .social-widget {
        margin-top: 11px !important;
    }
    #headerwrap #searchform #s {
        padding: 9px 43px 12px 12px !important;
    }
}
@media screen and (min-width: 1024px) {
    /*FLOATING WTILES ON HOVER*/
    
    .wtiles-12 .col3-1:hover {
        z-index: 1;
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
        -webkit-transition: box-shadow 0.2s ease, z-index 0s 0s ease, -webkit-transform 0.2s ease;
        transition: box-shadow 0.2s ease, z-index 0s 0s ease, -webkit-transform 0.2s ease;
        transition: box-shadow 0.2s ease, transform 0.2s ease, z-index 0s 0s ease;
        transition: box-shadow 0.2s ease, transform 0.2s ease, z-index 0s 0s ease, -webkit-transform 0.2s ease;
    }
    .wtiles-12 .col3-1 {
        transition: box-shadow 0.2s ease, transform 0.2s ease, z-index 0s 0s ease;
        transition: box-shadow 0.2s ease, transform 0.2s ease, z-index 0s 0s ease, -webkit-transform 0.2s ease;
    }
    .wtile .tile-link a.inline-link:hover {
        font-weight: bold;
    }
    .wtiles-12 .col3-1:hover .wtile p {
        transform: scale(1.1);
        transition: all 0.1s;
    }
    /*END FLOATING WTILES ON HOVER*/
}
/*EBOOK RESPONSIVE*/
@media only screen and (min-width: 1099px) and (max-width: 1280px) {
    .ebook-articles {
        width: 650px;
    }
    .ebook-read-more.fixed {
        position: fixed;
        right: calc(50% - 485px) !important;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .team-members .team-profile:first-child {
        border-bottom: 0 !important;
    }
}
/*FIX RESPONSIVENESS BETWEEN 736PX TO 1024PX*/ 
@media screen and (min-width: 736px) and (max-width: 768px) {
    div.ms-section.fit-to-page {
        height: 73vh !important;
    }
    .ms-section.fit-to-page .tb-column-inner{
        padding-top: 0;
        padding-bottom: 0;
    }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .ms-section.fit-to-page {
        height: 100vh !important;
    }
    .ms-section.fit-to-page .tb-column-inner{
        padding-top: 0;
        padding-bottom: 0;
    }   
}


/************************************************************************************
7. FIXES
*************************************************************************************/

/*IE10+ only css*/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    /* Make tiles clickable */
    .row-with-tiles .row_inner_wrapper .row_inner .wtiles-12 .wtile{
        height: 22.5vh !important;
    }
}

/* FIX WTILE on MS EDGE 13+ */
.split-scroll .bottom-text .tb-column-inner{
    display: table-cell !important;
}

@supports (-ms-ime-align:auto) and (color:unset) {
     .split-ie .tb-column-inner, .split-scroll .tb-column-inner{
            display: block;
    }
}
/*EDGE FIX*/
@supports (-ms-ime-align:auto) {
 .tile-link {
    height:200px;
 }
}

/*THIS IS TO FIX THE IE 11 ISSUE NOT LOADING THE PAGE THAT HAS THE SPLIT SCROLL*/
.split-ie .module_column {
    height:90vh !important;
}
.split-scroll-old {
        overflow : auto !important;
}

/*THIS IS TO FIX SAFARI ISSUE ON EBOOK PAGE*/
body.ebook #layout {
    table-layout: initial !important;
}

@media screen and (max-width: 1024px) {
    body, html {
        overflow:  scroll !important;
        -webkit-overflow-scrolling: touch !important;
    }
}