/*
Theme Name: RE/MAX Island Real Estate
Description: AIOS mobile semi-custom theme.
Author: AgentImage
Author URI: http://www.agentimage.com
Version: 1.5.6
Tags: one-column, two-columns, right-sidebar, custom-menu, full-width-template, sticky-post
License: Proprietary
License URI: http://www.agentimage.com
Template: aios-starter-theme
*/

/*

TABLE OF CONTENTS

1. Custom CSS
2. IP styles
3. MEDIA QUERIES ARE AUTOMATICALLY REMOVED FROM THIS FILE, they must be placed in style-media-queries.css
  
*/


/*******************************************************
 *
 * 1. Navigation
 *
 *******************************************************/


.hdrnav {    
    display: block;
}

    .hdrnav li {
        position: relative;
        display: inline-block;        
    }

        .hdrnav > li:before {
            position: absolute;
            content: '';
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 2px;
            height: 13px;
            background: rgba(255,255,255,1);
            z-index: 1;
        }

            .hdrnav > li:first-child:before {
                display: none;
            }  

        .hdrnav li a {
            font-size: 12px;
            font-weight: 700;
            color: #fff;
            letter-spacing: .05em;
            line-height: 1;
            text-decoration: none;            
            padding: 17px 10px;
            text-transform: uppercase;            
            display: block;
            position: relative;            
/*            transition: all .3s ease-in-out;
            -webkit-transition: all .3s ease-in-out;
            -moz-transition: all .3s ease-in-out;*/
            -webkit-backface-visibility: hidden;
        }

            .fixed-header .hdrnav li a {
                padding: 17px 20px;
            }

            .hdrnav > li:hover > a {
                color: #de2331;
            }

.hdrnav .sub-menu {
    list-style: none outside none;
    margin: 0;
    padding: 4px 0;
    position: absolute;
    width: 100%;
    min-width: 180px;
    left: 50%;
    z-index: 99;
    text-align: center;        
    background: #1e469c;
    -webkit-transform: translate(-50%, 20px);
    transform: translate(-50%, 20px);
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -webkit-backface-visibility: hidden;
    opacity: 0;
    visibility: hidden;
}
    
    .hdrnav li:hover > .sub-menu {
        -webkit-transform: translate(-50%, 0px);
        transform: translate(-50%, 0px);
        opacity: 1;
        visibility: visible;
    }

    .hdrnav .sub-menu li {
        display: block;
        position: relative;        
    }

    .hdrnav .sub-menu a {        
        color: #fff;        
        display: block;
        padding: 9px 5px !important;        
        font-size: 11px;
        line-height: 1;
        font-weight: 700;
        letter-spacing: .1em;
        transition: all .3s ease-in-out;
        -webkit-transition: all .3s ease-in-out;
        -moz-transition: all .3s ease-in-out;
        -webkit-backface-visibility: hidden;
    }

    .hdrnav .sub-menu a:hover {
        text-decoration: none;
        background: #de2431 !important;
        color: #fff;
    }

    .hdrnav .sub-menu .sub-menu {
        margin-left: 100%;
        top:0;
        padding: 0;
    }


/*******************************************************
 *
 * 2. Custom CSS
 *
 *******************************************************/

/* Global */

/********CSS Post Launch********/
img{
	max-width: 100%;
	height: auto;
}
a,
a:hover,
a:focus,
input,
input:hover,
input:focus,
textarea,
textarea:focus,
textarea:hover,
select:hover,
select:focus,
select,
button,
button:focus,
button:hover,
.btn-group.bootstrap-select.show-tick.qs-select,
.bootstrap-select .dropdown-toggle,
.bootstrap-select .dropdown-toggle:focus{
	outline: 0px !important;
}
#content #ihf-main-container .nav-tabs,
#content #ihf-main-container .chosen-results{
	margin: 0 0 0;
	padding: 0 0 0;
}
#content #ihf-main-container #ihf-search-adv2-submit{
	margin: 20px 0 0;
}
#content #ihf-main-container .ihf-grid-result-address{
	overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
#content #ihf-main-container .ihf-listing-search-results .btn{
	padding: 6px 6px;
}
#content div.wpcf7-response-output,
div.wpcf7-response-output{
	text-align: center;
}

#ihf-main-container #ihf-mortgage-calculator-modal .mc-total-payment-subline,
#content #ihf-main-container .mc-total-payment-subline{
	color:#333;
}

#ihf-main-container .pagination>li>a,
#ihf-main-container .pagination>li>span{
	padding: 6px 9px;
}
#ihf-main-container #ihf-schedule-showing-request-form .form-control{
	padding: 6px 7px;
}
#content #ihf-main-container #ihf-search-location-tab{
    margin: 8px 5px 0 0;
}
#ihf-main-container #ihf-advsearch-features label{
	font-size: .8em;
}
html.name-Microsoft_Edge .ai-default-cf7wrap input[type="submit"],
html.name-Microsoft_Edge .ai-default-cf7wrap input.wpcf7-submit{
	margin: 6px 0 0;
}
#ws-walkscore-tile{
	background:#fff !important;
}
#hero .quick-search form select[name="propertyType"]{
	margin-left: 2%;
}
#content ul.ihf-navbar-nav{
	list-style: none;
	margin: 0 0 0;
}
#content .ihf-eureka .ihf-navbar{
	padding: 4px 14px;
}
#content #ihf-main-container .ihf-listing-open-home-text-grid,
#content #ihf-main-container .ihf-map-info-window-content{
	color:#777;
}
#content #ihf-main-container label{
	color:inherit;
}
#content #ihf-main-container .ihf-polygon-reset{
	color:#000;
}
#ihf-main-container .modal-body {
    color: #000;
}
body.page-id-0 > img,
body.page-id-0 > iframe{
	display: none !important;
}
#content #ihf-main-container .row #areaPickerContainer.row,
#content #ihf-main-container .row #ihf-search-location-tab .row,
#content #ihf-main-container .row #ihf-refine-map-search-form .row,
#content #ihf-main-container .row .ihf-grid-result-container .row,
#content #ihf-main-container .row #ihf-search-location-tab.row{
	margin-left: -15px;
	margin-right: -15px;
}
#content #ihf-main-container .row .row{
	margin-left: 0;
	margin-right: 0;
}
#ihf-main-container  .ihf-social-share .dropdown-menu > li > a{
	color:#000 !important;
}
#ihf-main-container  .ihf-social-share .dropdown-menu > li > a:hover{
	color:#fff !important;
}
#ihf-main-container #ihf-refine-map-search-form label{
	color:#fff !important;
}
#ihf-main-container #ihf-refine-map-search-form .checkbox {
    padding-left: 0px;
}
#ihf-main-container ul.chosen-results {
    margin-left: 0 !important;
}
#content .ihf-eureka ul.ihf-dropdown-menu{
	margin: 0 0 0;
	padding: 0 0 0 0;
	list-style: none;
}
#content #ihf-detail-navrow .ihf-detail-navigation .pull-right{
	float: none !important;
	text-align: right;
}
#content #ihf-main-container .map-infobox-img{
	max-width: 100% !important;
}
#ihf-main-container #ihf-map-canvas .ihf-map-info-box-title{
	padding: 0 15px 0 0;
}
.ihf-captcha .g-recaptcha{
	transform-origin: left center;
	transform: scale(.75);
	-moz-transform: scale(.75);
	-webkit-transform: scale(.75);
}
.grecaptcha-badge{
	z-index: 10;
}

.pop-wrap .wpcf7 form,
.error404 .wpcf7 form {
    position: relative;
}
.pop-wrap .wpcf7 form.use-floating-validation-tip .wpcf7-not-valid-tip,
.error404 .wpcf7 form.use-floating-validation-tip .wpcf7-not-valid-tip {
    position: absolute;
    width: auto;
    font-size: 12px; 
    line-height: 1;
    padding: 0.25em; 
}
.pop-wrap .wpcf7 form.use-floating-validation-tip .wpcf7-not-valid-tip {
    left: auto;
    right: 0.35em;
    top: 0.35em;
}
.error404 .wpcf7 form.use-floating-validation-tip .wpcf7-not-valid-tip {
    left: auto;
    right: 0.35em;
    top: 0.35em;
}
.pop-wrap .wpcf7 form .wpcf7-response-output,
.error404 .wpcf7 form .wpcf7-response-output {
    margin: 0;
    text-align: center;
    line-height: 1;
    font-size: 12px; 
    padding: 0.5em 0.1em; 
}
.pop-wrap .wpcf7 form .wpcf7-response-output {
    position: absolute;
    left: 0;
    right: 0;
    margin-top: 5em;
}
.pop-wrap .wpcf7 form .wpcf7-spinner,
.error404 .wpcf7 form .wpcf7-spinner {
    position: absolute;
    right: 0%;
    top: 110%;
    margin: 0;
}
.single-listing #content .listing-details-wrap .details-head {
    min-height: 51px;
}
/********CSS Post Launch End********/

body{
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	background: #FFF;
	color: #000000;
	margin: 0;

    /* Remove the comment from line 85 to 86 if the font issue in safari occurs */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#content a  {
    outline: 0;
    color: #de2331;
}

    .home a, .header a, .fixed-header a, footer a, .sidebar a {
        text-decoration: none !important;
        outline: 0;
    }

.transition {
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -webkit-backface-visibility: hidden;
}

#main-wrapper {
    overflow: hidden;
    position: relative;
}

.mont {
    font-family: 'Montserrat', sans-serif;
}

/* header */

.fixed-header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    transform: translateY(-105%);
    z-index: 100;
    font-size: 0;
	opacity: 0;
	pointer-events: none;
    padding: 13px 15px;
    background: #272727;
    transition: all .75s ease-in-out;
    -webkit-transition: all .75s ease-in-out;
    -moz-transition: all .75s ease-in-out;
    -webkit-backface-visibility: hidden;
}
    
    .fixed-header.active {
        transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
    }
    
    .fixed-header .fixed-inner {
        display: block;
        max-width: 1300px;
        margin: 0 auto;
    }

        .fixed-header .fixed-inner .fixed-logo {
            display: inline-block;
            width: 20.5%;
            vertical-align: middle;
        }

        .fixed-header .fixed-inner .fixed-nav {
            display: inline-block;
            width: 79.5%;
            vertical-align: middle;
            text-align: right;
        }

.header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 99;
    padding: 38px 15px;
}
    
    .header .header-inner {
        display: block;
        max-width: 1200px;
        margin: 0 auto;
        font-size: 0;
    }

        .header .hdr-logo {
            display: inline-block;
            width: 22.25%;
            vertical-align: middle;
        }

            img.hide-desktop {
                display: none;
            }

        .header .navigation {
            display: inline-block;
            width: calc(77.75% - 40px);
            vertical-align: middle;
            padding: 0 15px;
            text-align: center;
        }

        .header .hdr-burger {
            display: inline-block;
            vertical-align: middle;
            width: 40px;
            text-align: center;
        }

            .burger-icon-wrap {
                font-size: 13px;
                font-weight: 900;
                color: #fff;
                text-transform: uppercase;
                letter-spacing: .02em;
                cursor: pointer;
                transition: all .3s ease-in-out;
                -webkit-transition: all .3s ease-in-out;
                -moz-transition: all .3s ease-in-out;
                -webkit-backface-visibility: hidden;
            }

                .burger-icon-wrap:hover {
                    color: #de2331;
                }

                .burger-icon-wrap .burger-icon {
                    display: inline-block;
                    position: relative;                    
                    width: 27px;
                    height: 16px;
                    margin-bottom: 5px;
                }

                    .burger-icon-wrap .burger-icon span {
                        position: absolute;
                        right: 0;
                        width: 100%;
                        height: 2px;
                        background: #fff;
                        transition: all .3s ease-in-out;
                        -webkit-transition: all .3s ease-in-out;
                        -moz-transition: all .3s ease-in-out;
                        -webkit-backface-visibility: hidden;
                    }

                        .burger-icon-wrap:hover .burger-icon span {
                            background: #de2331;
                        }

                        .burger-icon-wrap .burger-icon span:nth-of-type(2) {
                            top: 50%;
                            left: 50%;
                            transform: translate(-50%, -50%);
                            width: 15px;
                        }

                        .burger-icon-wrap .burger-icon span:last-of-type {
                            bottom: 0;
                        }


/*** burger-menu ***/

.burger-menu-active {
    overflow: hidden;
}

.out-click {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
    display: none;            
}

.burger-menu {        
    position: fixed;
    width: 300px;
    height: 100%;    
    z-index: 1002;
    top: 0;
    right: 0;
    background: #1e469c;
    padding: 100px 30px 50px;
    transform: translateX(100%);        
    transition: all .75s ease-out;
    -webkit-transition: all .75s ease-out;
    -moz-transition: all .75s ease-out;
    -webkit-backface-visibility: hidden;    
    font-size: 0;
}
    
    .burger-menu.open-nav {
        transform: translateX(0);
    }

    .burger-menu .burger-close {
        color: #fff;
        font-size: 20px;
        position: absolute;
        left: 30px;
        top: 30px;
        cursor: pointer;
        transition: all .3s ease-out;
        -webkit-transition: all .3s ease-out;
        -moz-transition: all .3s ease-out;
        -webkit-backface-visibility: hidden;
    }

        .burger-menu .burger-close:hover {
            color: #de2331;
        }

    .burger-menu .hdrnav li {
        display: block;
    }

        .burger-menu .hdrnav > li:before {
            display: none;
        }

        .burger-menu .hdrnav li a {
            padding: 20px 0;
        }

        .burger-menu .hdrnav .sub-menu,
        .burger-menu .hdrnav .sub-menu .sub-menu {
            position: relative;
            left: 0;            
            text-align: left;
            padding: 0 15px;
            -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
            display: none;
        }

            .burger-menu .hdrnav .sub-menu .sub-menu {
                margin-left: 0;
                padding: 10px 15px;
            }

            .burger-menu .hdrnav li:hover > .sub-menu {
               display: block;
                -webkit-transform: translate(0, 0px);
                transform: translate(0, 0px);
            }

.aiosp-container {
    overflow: auto;
}

.aiosp-bg {
    background: rgba(0,0,0,.6);
}

#capture-form {
    display: block;
    width: 95%;
    max-width: 650px;
    margin: 0 auto;
    background: #fff;
    padding: 25px 20px;
    position: relative;
}

    #capture-form .aiosp-close {
        color: #000;
        font-size: 40px;
        right: 10px;
        top: 10px;        
    }

    #capture-form h2 {
        display: block;
        font-size: 24px;
        font-weight: 700;
        text-align: center;
        margin-bottom: 30px;
    }

    #capture-form .popup-top {
        display: block;
        font-size: 0;
    }

        #capture-form .popup-top .pop-logo {
            display: inline-block;
            vertical-align: middle;
            width: 45%;
        }

        #capture-form .popup-top .pop-text {
            display: inline-block;
            vertical-align: middle;
            width: 55%;
            padding-left: 30px;
            font-size: 22px;
        }

     #capture-form form {
        display: block;
        position: relative;
        margin-top: 20px;
     }

        #capture-form input {
            width: 100%;
            height: 40px;
            border: 1px solid #ccc;
            margin-bottom: 10px;
            padding: 0 10px;
            font-size: 13px;
            color: #333;
            outline: 0;
        }

            #capture-form input[type="submit"] {
                background: #ce233d;
                font-size: 18px;
                color: #fff;
                font-weight: 600;
                margin-bottom: 0;
                transition: all .3s ease-out;
                -webkit-transition: all .3s ease-out;
                -moz-transition: all .3s ease-out;
                -webkit-backface-visibility: hidden;
            }

                #capture-form input[type="submit"]:hover {
                    background: #1e469c;
                }

    #capture-form .pop-footer {
        display: block;        
        font-size: 13px;
        color: #333;
        text-align: center;
    }

    #capture-form div.wpcf7-response-output {
        text-align: center;        
        margin: 0;
    }

    
   
.hp-slide {
    display: block;
    position: relative;
}
    
    .hp-slide:before {
        position: absolute;
        content: '';
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,.1);
        z-index: 3;
    }

.hp-fl {
    display: block;
    position: relative;
    background: url('images/hp-fl-bg.jpg') bottom center no-repeat;
    background-size: 100% auto;
    padding-bottom: 115px;
}

	ul.list li p.prop-desc {
		color: #3f3f3f;
		font-weight: 400;
		font-size: 14px;
	}
    
    .hp-fl:before {
        position: absolute;
        content: '';
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: url('images/hp-fl-gradient.png') top center repeat-x;
        z-index: 3;
    }

    .hp-fl > div {
        position: relative;
        z-index: 9;
        display: block;
        padding: 50px 0 0;
        margin: 0 -6px;
        font-size: 0;
    }

        .hp-fl > div h3 {
            font-size: 14px;
            font-weight: 900;
            color: #989898;
            letter-spacing: .1em;
            text-align: center;
        }

            .hp-fl > div h3 em {
                color: #1e469c;
                font-style: normal;
            }

            .hp-fl > div h3 .sep {
                display: inline-block;
                background: #de2331;
                width: 2px;
                height: 18px;
                vertical-align: middle;
                margin: 0 12px;
            }

        .hp-fl > div h2 {
            display: block;
            color: #1e469c;
            font-size: 40px;
            letter-spacing: .05em;
            line-height: 1;
            text-align: center;
            font-weight: 600;
            margin: 20px 0 50px;
        }

            .hp-fl > div h2 span {
                color: #de2331;
            }

        .hp-fl .fl-item {
            display: inline-block;           
            padding: 0 6px;
        }

            .hp-fl .fl-item a {
                display: block;
                position: relative;
                overflow: hidden;
            }

                .hp-fl .fl-item a:before {
                    position: absolute;
                    content: '';
                    left: 0;
                    top: 0;
                    width: 100%;
                    height: 100%;
                    background: url('images/hp-fl-details-bg.jpg');
                    transition: all .3s ease-out;
                    -webkit-transition: all .3s ease-out;
                    -moz-transition: all .3s ease-out;
                    -webkit-backface-visibility: hidden;
                    z-index: 3;
                    opacity: 0;
                }

                    .hp-fl .fl-list.two .fl-item a:before {
                        background: url('images/hp-fl-details-bg2.jpg');
                    }

                    .hp-fl .fl-item a:hover:before {
                        opacity: .8;
                    }

                .hp-fl .fl-item a:after {
                    position: absolute;
                    content: '';
                    left: 0;
                    bottom: 0;
                    width: 100%;
                    height: 10px;
                    background: #c71f2c;
                    transition: all .4s ease-out;
                    -webkit-transition: all .4s ease-out;
                    -moz-transition: all .4s ease-out;
                    -webkit-backface-visibility: hidden;
                    z-index: 3;
                    transform: translateY(10px);
                }

                    .hp-fl .fl-list.two .fl-item a:after {
                        background: #1e469c;
                    }

                    .hp-fl .fl-item a:hover:after {
                        transform: translateY(0);
                    }

                .hp-fl .fl-item canvas {
                    display: block;
                    width: 100%;
                    height: auto;
                    background-size: cover;
                    background-position: left center;
                }

                .hp-fl .fl-item .fl-details {
                    position: absolute;
                    left: 0;
                    bottom: 0;
                    width: 100%;
                    padding: 30px 14%;
                    text-align: center;
                    font-size: 15px;
                    font-weight: 500;
                    line-height: 21px;
                    letter-spacing: .05em;
                    color: #fff;
                    text-transform: uppercase;                    
                    transition: all .4s ease-out;
                    -webkit-transition: all .4s ease-out;
                    -moz-transition: all .4s ease-out;
                    -webkit-backface-visibility: hidden;
                    z-index: 9;
                }

                    .hp-fl .fl-item .fl-details > span {
                        position: relative;
                        z-index: 9;
                    }

                    .hp-fl .fl-item .fl-details:before {
                        position: absolute;
                        content: '';
                        left: 0;
                        top: 0;
                        width: 100%;
                        height: 100%;
                        background: url('images/hp-fl-details-bg.jpg');
                        transition: all .1s ease-out;
                        -webkit-transition: all .1s ease-out;
                        -moz-transition: all .1s ease-out;
                        -webkit-backface-visibility: hidden;
                        z-index: 3;
                    }

                        .hp-fl .fl-list.two .fl-item .fl-details:before {
                            background: url('images/hp-fl-details-bg2.jpg');
                        }

                        .hp-fl .fl-item a:hover .fl-details:before {
                            opacity: 0;
                        }



                    .hp-fl .fl-item a:hover .fl-details {
                        bottom: auto;
                        top: 50%;
                        transform: translateY(-50%);
                        background: transparent;
                    }

                    .hp-fl .fl-item .fl-details > span.fl-desc {
                        display: none;
                    }

                    .hp-fl .fl-item a:hover .fl-details > span.fl-desc  {
                        display: block;
                    }

                    .hp-fl .fl-item .fl-details .fl-price {
                        font-size: 20px;
                        font-weight: 900;
                        display: block;
                        margin-bottom: 10px;
                    }

.hp-testimonials {
    display: block;    
    padding: 95px 0 65px;
    position: relative;
}
    
    .hp-testimonials:before {
        position: absolute;
        content: '';
        left: 0;
        top: 0;
        width: 100%;
        min-height: 430px;
        background: url('images/hp-test-bg.jpg') no-repeat;
        background-size: cover;
        z-index: 3;
    }

    .hp-testimonials .container {
        position: relative;
        z-index: 9;
    }
    
    .hp-testimonials h3 {
        font-size: 14px;
        font-weight: 900;
        color: #fff;
        letter-spacing: .1em;        
    }        

        .hp-testimonials h3 .sep {
            display: inline-block;
            background: #fff;
            width: 2px;
            height: 18px;
            vertical-align: middle;
            margin: 0 12px;
        }

    .hp-testimonials h2 {
        display: block;
        color: #fff;
        font-size: 40px;
        letter-spacing: .05em;
        line-height: 48px;
        font-weight: 600;
        margin: 10px 0 0;
    }

        .hp-testimonials h2 span {            
            display: block;
        }

    .hp-testimonials .test-navs {
        display: flex;
        margin: 35px 0;
        font-size: 0;
        align-items: center
    }

        .hp-testimonials .test-navs > span,
        .hp-testimonials .test-navs .test-dots {
            display: inline-block;
            line-height: 1;                        
            
        }

        .hp-testimonials .test-navs > span {
            font-size: 22px;
            cursor: pointer;
        }

        .hp-testimonials .test-dots li {
            display: inline-block;
            font-size: 14px;
            font-weight: 500;
            color: #dadada;
            padding: 0 6px;
            border-left: 1px solid #dadada;
            cursor: pointer;
        }

            .hp-testimonials .test-dots li.slick-active,
            .hp-testimonials .test-dots li:hover {
                color: #2e2e2e;
            }

            .hp-testimonials .test-dots li:first-child {
                border: 0;
            }

            .hp-testimonials .test-dots li button {
                padding: 0;
                background: transparent;
                border: 0;
                letter-spacing: .1em;
            }


    .hp-testimonials .test-wrap {
        display: block;
        padding: 55px 35px;
        background: url('images/hp-test-list-bg.jpg') no-repeat;
        position: relative;
        background-size: cover;
    }

        .hp-testimonials .test-wrap:after {
            position: absolute;
            content: '';
            left: 0;
            bottom: -46px;
            width: 100%;
            height: 46px;
            background: url('images/hp-test-shadow.png') center;
            background-size: 100% 100%;
        }       

        .hp-testimonials .test-wrap .test-list {
            display: block;
            font-size: 0;
        }

            .hp-testimonials .slick-slide {
                position: relative;
            }

                .hp-testimonials .slick-slide:before {
                    position: absolute;
                    content: '';
                    left: 0;
                    top: 30px;
                    height: 145px;
                    width: 1px;
                    background: #5b5b5b;
                }        

                    .hp-testimonials .slick-slide:nth-of-type(odd):before {
                        opacity: 0;
                    }  


            .hp-testimonials .test-item {                
                padding: 0 50px;
                font-size: 14px;
                line-height: 24px;
                letter-spacing: .02em;
                color: #fff;
                position: relative;
            }                      

                .hp-testimonials .slick-slide:nth-of-type(odd) .test-item {
                    padding-left: 1px;
                }

                .hp-testimonials .slick-slide:nth-of-type(even) .test-item {
                    padding-right: 0;
                }

                .hp-testimonials .test-item img {
                    display: block;
                    margin-bottom: 20px;
                }                

                .hp-testimonials .test-item a {
                    color: #de2331;
                }

                    .hp-testimonials .test-item a:hover {
                        color: #fff;
                    }

                .hp-testimonials .test-item .test-name {
                    display: block;
                    font-weight: 700;
                    margin-top: 20px;
                }

        .hp-testimonials .test-wrap .read-more {
            display: block;
            text-align: center;
            margin-top: 50px;
        }

            .hp-testimonials .test-wrap .read-more a {            
                letter-spacing: .1em;
                font-size: 14px;
                text-transform: uppercase;
                color: #fff;
                font-weight: 700;            
            }

                .hp-testimonials .test-wrap .read-more a:hover {
                    color: #de2331;
                }

.hp-blog {
    display: block;
    background: url('images/hp-blog-bg.jpg') #fff;
    background-size: cover;
    padding-bottom: 150px;
}
    
    .hp-blog .row {
        display: flex;
        align-items: center;
    }
    
    .hp-blog .blog-left h3 {
        font-size: 14px;
        font-weight: 900;
        color: #989898;
        letter-spacing: .1em;        
    }

        .hp-blog .blog-left h3 em {
            color: #1e469c;
            font-style: normal;
        }

        .hp-blog .blog-left h3 .sep {
            display: inline-block;
            background: #de2331;
            width: 2px;
            height: 18px;
            vertical-align: middle;
            margin: 0 12px;
        }

    .hp-blog .blog-left h2 {
        display: block;
        color: #1e469c;
        font-size: 40px;
        letter-spacing: .05em;
        line-height: 1;        
        font-weight: 600;
        margin: 10px 0 25px;
    }    

        .hp-blog .blog-left h2 span {
            color: #de2331;
        }

    .hp-blog .blog-left p {
        color: #2f2f2f;
        font-size: 14px;
        line-height: 24px;
        letter-spacing: .02em
    }

    .hp-blog .blog-list {
        display: block;
    }

        .hp-blog .blog-list .blog-item {
            display: flex;
            align-items: stretch;
            margin-top: 12px;
            background: #141414;
        }

            .hp-blog .blog-list .blog-item:nth-of-type(even) {
                flex-direction: row-reverse;
            }

            .hp-blog .blog-list .blog-item:first-of-type {
                margin-top: 0;
            }

            .hp-blog .blog-item > div {
                display: flex;
                width: 50%;                
                justify-content: center;
                flex-direction: column;          
            }

                .hp-blog .blog-item .blog-img canvas {
                    display: block;
                    width: 100%;
                    height: 100%;
                    background-size: cover;
                }

                .hp-blog .blog-item > div.blog-details {                    
                    font-size: 14px;                    
                    letter-spacing: -.02em;
                    line-height: 20px;
                    color: #fff;
                    padding: 20px 30px;
                } 

                    .hp-blog .blog-item > div.blog-details h2 {
                        font-size: 24px;
                        font-weight: 700;
                        text-transform: uppercase;
                        letter-spacing: .05em;
                        line-height: 1;
                    }

                    .hp-blog .blog-item > div.blog-details h3 {
                        font-size: 14px;
                        font-weight: 600;
                        text-transform: uppercase;                        
                        line-height: 20px;
                        display: block;
                        margin: 20px 0;
                    }

                    .hp-blog .blog-item > div.blog-details a {
                        display: flex;
                        width: 140px;
                        height: 36px;
                        border: 1px solid #fff;
                        justify-content: center;
                        align-items: center;
                        text-transform: uppercase;
                        font-size: 11px;
                        font-weight: 700;
                        letter-spacing: .2em;
                        margin-top: 20px;
                        transition: all .3s ease-out;
                        -webkit-transition: all .3s ease-out;
                        -moz-transition: all .3s ease-out;
                        -webkit-backface-visibility: hidden;
                    }

                        .hp-blog .blog-item > div.blog-details a:hover {
                            background: #de2331;
                            border-color: #de2331;
                            color: #fff;
                        }                        
            

.hp-team {
    display: block;
    position: relative;
}
    
    .hp-team .team-title {
        position: absolute;
        top: -95px;
        left: 50%;
        transform: translateX(-50%);    
        padding: 30px 60px;
        background: #ffff;  
        z-index: 1;
    }
    
    .hp-team h3 {
        font-size: 14px;
        font-weight: 900;
        color: #989898;
        letter-spacing: .1em;
    }

        .hp-team h3 em {
            color: #1e469c;
            font-style: normal;
        }

        .hp-team h3 .sep {
            display: inline-block;
            background: #de2331;
            width: 2px;
            height: 18px;
            vertical-align: middle;
            margin: 0 12px;
        }

    .hp-team h2 {
        display: block;
        color: #1e469c;
        font-size: 40px;
        letter-spacing: .05em;
        line-height: 1;        
        font-weight: 600;
        margin: 10px 0 0;
    }    

        .hp-team h2 span {
            color: #de2331;
        }

    .hp-team .team-photo canvas {
        display: block;
        width: 100%;
        /* height: auto; */
        height: calc(100vh - 30px);
        background-size: cover;
        background-position: center;
    }

.hp-git {
    display: block;
    background: url('images/hp-git-bg.jpg');
    background-size: cover;
    position: relative;
    padding: 110px 0;
    text-align: center;
}
    
    .hp-git:before {
        position: absolute;
        content: '';
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(255,255,255,.8);
    }

    .hp-git .container {
        position: relative;
        z-index: 9;
    }

    .hp-git .git-title {
        display: inline-block;
        text-align: left;
    }
    
    .hp-git h3 {
        font-size: 14px;
        font-weight: 900;
        color: #989898;
        letter-spacing: .1em;        
    }

        .hp-git h3 em {
            color: #1e469c;
            font-style: normal;
        }

        .hp-git h3 .sep {
            display: inline-block;
            background: #de2331;
            width: 2px;
            height: 18px;
            vertical-align: middle;
            margin: 0 12px;
        }

    .hp-git h2 {
        display: block;
        color: #1e469c;
        font-size: 40px;
        letter-spacing: .05em;
        line-height: 1;        
        font-weight: 600;
        margin: 10px 0 40px;
    }    

        .hp-git h2 span {
            color: #de2331;
        }

    .hp-git .intro {
        font-size: 17px;
        line-height: 25px;
        letter-spacing: .02em;
        color: #434343;
        text-align: center;
        padding: 0 27%;
    }

    .hp-git form {
        display: block;
        font-size: 0;
        position: relative;
        margin: 60px auto 0;
        max-width: 945px;
    }

        .hp-git .form-col {
            display: inline-block;
            width: 31.5%;
        }

            .hp-git .form-col.wide {
                width: 100%;
            }

            .hp-git .form-col.mar-rl {
                margin: 0 2.75%;
            }

            .hp-git .form-col input,
            .hp-git .form-col textarea {
                border: 0;
                width: 100%;
                height: 42px;
                border-bottom: 1px solid #141414;
                color: #141414;
                font-size: 13px;
                outline: 0;
                background: transparent;
            }

            .hp-git .form-col textarea {
                margin-top: 50px;
                resize: none;
            }

            .hp-git input[type="submit"] {
                display: block;
                width: 100%;
                max-width: 235px;
                height: 62px;
                text-transform: uppercase;
                text-align: center;
                background: #de2331;
                color: #fff;
                font-size: 15px;
                font-weight: 700;
                letter-spacing: .2em;
                margin: 60px auto 0;
                border: 0;
                outline: 0;
                transition: all .3s ease-out;
                -webkit-transition: all .3s ease-out;
                -moz-transition: all .3s ease-out;
                -webkit-backface-visibility: hidden;
            }

                .hp-git input[type="submit"]:hover {
                    background: #1e469c;
                }

            .hp-git div.wpcf7-response-output {
                font-size: 12px;
                text-align: center;
                position: absolute;
                margin: 2em 0 0;
                width: 100%;
            }

            .hp-git span.wpcf7-not-valid-tip {
                font-size: 11px;
            }

            .hp-git .wpcf7 form {
                position: relative;
            }
            .hp-git .wpcf7 form.use-floating-validation-tip .wpcf7-not-valid-tip {
                position: absolute;
                width: auto;
                font-size: 12px; 
                line-height: 1;
                padding: 0.25em; 
                left: auto;
                right: 1em;
                top: -1em;
            }
            .hp-git .wpcf7 form .wpcf7-spinner {
                position: absolute;
                right: 0%;
                top: 105%;
                margin: 0;
            }

.footer {
    display: block;
    position: relative;
    background: #1e469c;
    padding: 55px 0;
}
    
    .footer:before {
        position: absolute;
        content: '';
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: url('images/footer-overlay.png') no-repeat;
        background-size: auto 100%;
        z-index: 3;
    }

    .footer .container {
        position: relative;
        z-index: 9;
    }

    .footer .f-logos {
        display: block;
        padding-bottom: 55px;
        position: relative;
    }

        .footer .f-logos:after {
            position: absolute;
            content: '';
            left: -30px;
            bottom: 0;
            width: calc(100% + 60px);
            height: 1px;
            background: #fff;
        }

        .footer .f-logos .logo-wrap {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 915px;
            margin: 0 auto;
        }

    .footer .f-bottom {
        display: block;
        font-size: 0;
        padding-top: 50px;
    }

        .footer .f-bottom .f-left {
            display: inline-block;
            vertical-align: middle;
            width: 42%;
             color: #fff;
            font-size: 13px;
            line-height: 16px;
            letter-spacing: .05em;
            text-transform: uppercase;
        }

            .footer .f-bottom .f-left strong {
                display: block;
                margin: 15px 0;
                font-weight: 900;
            }

                .footer .f-bottom .f-left strong:first-of-type {
                    margin-top: 0;
                }

        .footer .f-bottom .f-right {
            display: inline-block;
            vertical-align: middle;
            width: 58%;
            text-align: right;
            font-size: 13px;
            font-weight: 300;
            color: #fff;
        }

            .footernav {
                display: block;
                margin-bottom: 15px;
            }

            .footernav li {
                display: inline-block;                
            }

                .footernav li a {
                    color: #fff;
                    letter-spacing: .025em;
                    padding: 0 10px;
                    border-left: 1px solid #fff;
                    line-height: 11px;
                    display: block;
                }

                    .footernav li:first-child a {
                        border-left: 0;
                    }

            .footer .f-bottom .copyright {
                padding-right: 10px;
            }

                .footer .f-bottom .copyright .ai-icon {
                    font-size: 22px;
                    margin-top: 18px;
                    display: inline-block;
                }

    .footer a:hover {
        color: #de2331 !important;
    }

/*******************************************************
 *
 * 3. IP Styles
 *
 *******************************************************/
.ip-banner{
    position: relative;
    width: 100%;
}
    .ip-banner::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
        background: rgba(0,0,0,.2);
    }
    .ip-banner canvas{
        display: block;
        position: relative;
        z-index: 0;
        width: 100%;
        min-height: 250px;
        background-color: #f9f7f7;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .ip-banner .container{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        z-index: 2;
    }
        .ip-banner h1 {
            font-weight: 700;
            font-size: 32px;
            text-align: center;
            color: #FFF;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            line-height: 1.7;
        }
            .ip-banner h1 span{
                display: block;
                font-size: 24px;
                font-weight: 400;
                text-transform: none;
                letter-spacing: 0.01em;
            }

#inner-page-wrapper {
    position: relative;    
    margin-bottom: 0;
    padding-bottom: 30px;
}
    
    #inner-page-wrapper:before {
        position: absolute;
        content: '';
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(255,255,255,.85);
        z-index: 2;
    }

    #inner-page-wrapper:after {
        position: absolute;
        content: '';
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: url('images/new-inner-page-bg.jpg');
        background-size: cover;
		background-attachment: fixed;
        z-index: 1;
    }


/* Adjust minimum height of page area */ 
#content-sidebar, #content-full{
	min-height: 500px;
	margin-top: 20px;
	position: relative;
	z-index: 3;
	}

/** Adjust width of content columns **/
#content-sidebar #content{ width: 77.08%; }
#content-full #content { width: 100%; }

/* Adjust width of sidebar */
.sidebar{ width: 20.83%; padding: 30px 0;}
    
    .side-qs {
        display: block;        
    }

        .side-qs h2 {
            display: block;
            font-size: 20px !important;
            color: #1e469c;            
            text-transform: uppercase;
            line-height: 1;
            margin: 0 0 20px;
            text-align: center;
            font-weight: 600 !important;
        }
            
            .side-qs h2 span {
                color: #de2331;
            }        

        .side-qs form {
            display: block;        
            position: relative;
            font-size: 0;
        }

            .side-qs .form-col {
                display: inline-block;
                vertical-align: top;
                width: 49%;
                position: relative;
            }

                .side-qs .form-col.wide {
                    width: 100%;
                }

                .side-qs .form-col.mar-l {
                    margin-left: 2%;
                }

                .side-qs .form-col input,
                .side-qs .form-col select {
                    width: 100%;
                    border: 1px solid #bebebf;
                    background: transparent;
                    font-size: 12px;
                    color: #666;
                    height: 44px;
                    padding: 0 24px 0 10px;
                    margin-bottom: 10px;
                    outline: 0;
                    -webkit-appearance: none;
                    -moz-appearance: none;
                }

                    .side-qs .form-col select::-ms-expand {
                        display: none;
                    }                    

                .side-qs .form-col > span.qs-arrow {
                    position: absolute;
                    top: 41%;
                    transform: translateY(-50%) rotate(90deg);
                    right: 10px;
                    font-size: 8px;
                    color: #de2331;
                }

                .side-qs input[type="submit"],
                .side-qs .qs-adv {
                    display: inline-block;
                    vertical-align: top;
                    width: 100%;
                    outline: 0;
                    height: 44px;
                    border: 0;
                    background: #1e469c;
                    color: #fff;
                    font-size: 11px;
                    font-weight: 700;                        
                    text-transform: uppercase;                    
                    margin-bottom: 0;
                    text-align: center;
                    transition: all .3s ease-in-out;
                    -webkit-transition: all .3s ease-in-out;
                    -moz-transition: all .3s ease-in-out;
                    -webkit-backface-visibility: hidden;
                }

                    .side-qs input[type="submit"]:hover {
                        background: #de2331;
                    }

                        .side-qs .qs-adv {
                            line-height: 44px;
                            background: #de2331;
                            margin-top: 5px;
                        }

                            .side-qs .qs-adv:hover {
                                background: #1e469c;
                            }

    .side-fl {
        display: block;
        margin-top: 40px;
    }

        .side-fl h2 {
            display: block;
            font-size: 20px !important;
            color: #1e469c;            
            text-transform: uppercase;
            line-height: 1;
            margin-bottom: 20px;
            text-align: center;
            font-weight: 600 !important;
        }

            .side-fl h2 span {
                color: #de2331;
            }

        .side-fl .fl-item {
            display: inline-block;           
            padding: 0
        }

            .side-fl .fl-item a {
                display: block;
                position: relative;
                overflow: hidden;
            }

                .side-fl .fl-item a:before {
                    position: absolute;
                    content: '';
                    left: 0;
                    top: 0;
                    width: 100%;
                    height: 100%;
                    background: url('images/hp-fl-details-bg.jpg');
                    transition: all .3s ease-out;
                    -webkit-transition: all .3s ease-out;
                    -moz-transition: all .3s ease-out;
                    -webkit-backface-visibility: hidden;
                    z-index: 3;
                    opacity: 0;
                }

                    .side-fl .fl-list.two .fl-item a:before {
                        background: url('images/hp-fl-details-bg2.jpg');
                    }

                    .side-fl .fl-item a:hover:before {
                        opacity: .8;
                    }

                .side-fl .fl-item a:after {
                    position: absolute;
                    content: '';
                    left: 0;
                    bottom: 0;
                    width: 100%;
                    height: 10px;
                    background: #c71f2c;
                    transition: all .4s ease-out;
                    -webkit-transition: all .4s ease-out;
                    -moz-transition: all .4s ease-out;
                    -webkit-backface-visibility: hidden;
                    z-index: 3;
                    transform: translateY(10px);
                }

                    .side-fl .fl-list.two .fl-item a:after {
                        background: #1e469c;
                    }

                    .side-fl .fl-item a:hover:after {
                        transform: translateY(0);
                    }

                .side-fl .fl-item canvas {
                    display: block;
                    width: 100%;
                    height: auto;
                    background-size: cover;
                    background-position: center;
                }

                .side-fl .fl-item .fl-details {
                    position: absolute;
                    left: 0;
                    bottom: 0;
                    width: 100%;
                    padding: 15px 5%;
                    text-align: center;
                    font-size: 15px;
                    font-weight: 500;
                    line-height: 21px;
                    letter-spacing: .05em;
                    color: #fff;
                    text-transform: uppercase;                    
                    transition: all .4s ease-out;
                    -webkit-transition: all .4s ease-out;
                    -moz-transition: all .4s ease-out;
                    -webkit-backface-visibility: hidden;
                    z-index: 9;
                }

                    .side-fl .fl-item .fl-details > span {
                        position: relative;
                        z-index: 9;
                    }

                    .side-fl .fl-item .fl-details:before {
                        position: absolute;
                        content: '';
                        left: 0;
                        top: 0;
                        width: 100%;
                        height: 100%;
                        background: url('images/hp-fl-details-bg.jpg');
                        transition: all .1s ease-out;
                        -webkit-transition: all .1s ease-out;
                        -moz-transition: all .1s ease-out;
                        -webkit-backface-visibility: hidden;
                        z-index: 3;
                    }

                        .side-fl .fl-list.two .fl-item .fl-details:before {
                            background: url('images/hp-fl-details-bg2.jpg');
                        }

                        .side-fl .fl-item a:hover .fl-details:before {
                            opacity: 0;
                        }

                    .side-fl .fl-item a:hover .fl-details {
                        bottom: auto;
                        top: 50%;
                        transform: translateY(-50%);
                        background: transparent;
                    }

                    .side-fl .fl-item .fl-details .fl-price {
                        font-size: 20px;
                        font-weight: 900;
                        display: block;
                        margin-bottom: 10px;
                    }

    .side-blog {
        display: block;
        margin-top: 30px;
    }

        .side-blog h2 {
            display: block;
            font-size: 20px !important;
            color: #1e469c;            
            text-transform: uppercase;
            line-height: 1;
            margin-bottom: 20px;
            text-align: center;
            font-weight: 600 !important;
        }

            .side-blog h2 span {
                color: #de2331;
            }

        .side-blog .blog-list {
            display: block;
            margin: 0 -1px;
        }

            .side-blog .slick-slide {
                padding: 0 1px;
            }

            .side-blog .blog-list .blog-item {                
                background: #141414;
            }                

                .side-blog .blog-item > div {
                    display: block;             
                }

                    .side-blog .blog-item .blog-img canvas {
                        display: block;
                        width: 100%;
                        height: auto;
                        background-size: cover;
                        background-position: center;
                    }

                    .side-blog .blog-item > div.blog-details {                    
                        font-size: 12px;                    
                        letter-spacing: -.02em;
                        line-height: 20px;
                        color: #fff;
                        padding: 20px 15px;
                    } 

                        .side-blog .blog-item > div.blog-details h2 {
                            font-size: 16px;
                            font-weight: 700;
                            text-transform: uppercase;
                            letter-spacing: .05em;
                            line-height: 1;
                            color: #fff;
                            text-align: left;
                            margin: 0;
                        }

                        .side-blog .blog-item > div.blog-details h3 {
                            font-size: 12px;
                            font-weight: 600;
                            text-transform: uppercase;                        
                            line-height: 20px;
                            display: block;
                            margin: 20px 0;
                        }

                        .side-blog .blog-item > div.blog-details a {
                            display: flex;
                            width: 140px;
                            height: 36px;
                            border: 1px solid #fff;
                            justify-content: center;
                            align-items: center;
                            text-transform: uppercase;
                            font-size: 11px;
                            font-weight: 700;
                            letter-spacing: .2em;
                            margin-top: 20px;
                            transition: all .3s ease-out;
                            -webkit-transition: all .3s ease-out;
                            -moz-transition: all .3s ease-out;
                            -webkit-backface-visibility: hidden;
                        }

                            .side-blog .blog-item > div.blog-details a:hover {
                                background: #de2331;
                                border-color: #de2331;
                                color: #fff;
                            }   

    .side-test {
        display: block;
        margin-top: 30px;
    }

        .side-test h2 {
            display: block;
            font-size: 20px !important;
            color: #1e469c;            
            text-transform: uppercase;
            line-height: 1;
            margin-bottom: 20px;
            text-align: center;
            font-weight: 600 !important;
        }

            .side-test h2 span {
                color: #de2331;
            }

        .side-test .test-wrap {
            display: block;
            padding: 30px 20px 70px;
            background: url('images/hp-test-list-bg.jpg') no-repeat;
            position: relative;
            background-size: cover;
        }                  

            .side-test .test-wrap .test-list {
                display: block;
                font-size: 0;
            }

                .side-test .slick-slide {
                    position: relative;
                }                    

                .side-test .test-item {                
                    padding: 0 1px;
                    font-size: 14px;
                    line-height: 24px;
                    letter-spacing: .02em;
                    color: #fff;
                    position: relative;
                }                    

                    .side-test .test-item img {
                        display: block;
                        margin-bottom: 20px;
                    }                

                    .side-test .test-item a {
                        color: #de2331;
                    }

                    .side-test .test-item .test-name {
                        display: block;
                        font-weight: 700;
                        margin-top: 20px;
                    }

            .side-test .test-navs {
                position: absolute;
                width: 100%;
                padding: 0 20px;
                left: 0;
                bottom: 10px;
                display: flex;
                justify-content: space-between;                
            }

                .side-test .test-navs > span {
                    font-size: 30px;
                    cursor: pointer;
                    color: #fff;
                }


/* fullwidth template */
.page-template-template-fullwidth #content {
    padding-left: 15px;
    padding-right: 15px;
}
    .page-template-template-fullwidth #content ihf-search[data-eureka-id*=""].ihf-eureka {
        margin-left: -15px;
        margin-right: -15px;
    }

/* Adjust line height of page elements */
#content h4, aside h4,
#content p, aside p,
#content blockquote, aside blockquote,
#content ul, aside ul,
#content fieldset, aside fieldset,
#content form, aside form,
#content ol, aside ol,
#content dl, aside dl,
#content dir, aside dir,
#content menu, aside menu { line-height:1.7 }

/* Style .entry-title(post/page) and .archive-title(category/archive/etc) main headings (h1) */
#content .entry-title,
#content .archive-title { 
    font-size: 40px;
    color: #1e469c;
    font-weight: 600;
    text-transform: uppercase;
}

/* Styles for category/archive/search/etc subheadings (h2) */
#content .archive-subtitle { 
    margin: 0 0 25px;
    line-height: 1.2;
}
#sidebar{
	position: relative;
	z-index: 3;
}
em.testi-rating{
    width: 22px;
    height: 21px;
    background: url(images/hp-one-star.png) no-repeat center center;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 20px;
}
.sidebar em.testi-rating{
    margin-bottom: 0px !important;
    width: 25px !important;
}	

/*** listing Plugin edit ***/

ul.list li .prop-det .view-details {
    color: #fff !important;  
    background: #de2331 !important;
}

.listing-template-default .descript-map > img {
    display: none;
}

/* listings pages */
#content .listing-details-wrap .photo-slideshow .photo-list {
    background-size: contain;
    background-repeat: no-repeat;
}
.video-content{
	margin: 25px auto;
	max-width: 850px;
	position: relative;
}
.video-content canvas{
	display: block;
	width: 100%;
	height: auto;
	position: relative;
	z-index: 0;
}
.video-content > div,
.video-content > iframe{
	position: absolute;
	z-index: 1;
	top: 0;
	left:0;
	width: 100%;
	height: 100%;
}

div#content-listings .top-sort .sort-right span {
    font-size: 18px;
    font-weight: 800;
}

div#content-listings .top-sort .sort-right .sort-sel{
    font-size: 15px;
    font-weight: 800;
    height: auto;
}


/* Meet The Team Image updates */
.page-id-19 .agent-holder .attachment-agent-image img.ai-img {
    -webkit-filter: grayscale(100%); /* Ch 23+, Saf 6.0+, BB 10.0+ */
    filter: grayscale(100%); /* FF 35+ */
}

.page-id-19 .agent-holder .attachment-agent-image img.ai-img:hover {
    transition: filter .5s ease-in-out;
    -webkit-filter: grayscale(0%); /* Ch 23+, Saf 6.0+, BB 10.0+ */
    filter: grayscale(0%); /* FF 35+ */
}


section.hp-fl, .hp-testimonials{
    opacity: 0;
}

.hp-blog, .hp-team, .hp-git, footer.footer{
    display: none;
}

/*HP Social Media Section*/

section.hp-social-media {
    margin-top: 100px;
    padding: 100px 0;
    position: relative;
}

.hp-social-media-bg, .hp-social-media-bg canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hp-social-media-bg canvas {
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.3;
    height: 100%;
}

.safari-true .hp-social-media-bg canvas,
.mobile .hp-social-media-bg canvas{
    background-attachment: scroll;
}

.hp-social-media-inner .row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hp-social-media-inner {
    position: relative;
    z-index: 2;
}

.hp-social-media-bg {
    background: #000;
}

.hp-social-media-feed {
    /*display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: end;*/
}

.hp-social-media-item {
    width: 50%;
    padding: 10px;
}

.hp-social-media-item a {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.hp-social-media-item-photo {}

.hp-social-media-item-photo .hp-social-media-item-photo-inner {
    position: relative;
}

.hp-social-media-item-photo .hp-social-media-item-photo-inner canvas {
    display: block;
    width: 100%;
    height: auto;
    background: #de2331;
}

.hp-social-media-item-photo .hp-social-media-item-photo-inner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
}

.hp-social-media-title {
    display: block;
    color: #fff;
    padding-top: 15px;
}

.hp-social-media-title > span {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #989898;
}

.hp-social-media-title > span span.sep {
    display: inline-block;
    background: #de2331;
    width: 2px;
    height: 18px;
    vertical-align: middle;
    margin: 0 12px;
}

.hp-social-media-title h2 {
    display: block;
    color: #1e469c;
    font-size: 40px;
    letter-spacing: .05em;
    line-height: 1;
    font-weight: 600;
    margin: 10px 0 0;
    text-transform: uppercase;
}

.hp-social-media-title h2 span {
    color: #de2331;
}

.hp-social-media-button a {
    display: flex;
    width: 68%;
    height: 50px;
    border: 1px solid #fff;
    color: #fff;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .2em;
    margin: 40px 0;
    transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -webkit-backface-visibility: hidden;
}

.hp-social-media-smi-inner a {
    display: flex;
    width: calc(50% - 10px);
    height: 50px;
    border: 1px solid #fff;
    color: #fff;
    align-items: center;
    justify-content: flex-start;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    padding: 0 15px;
    transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
}

.hp-social-media-smi-inner a em {
    width: 15px;
    text-align: center;
    margin-right: 15px;
    font-size: 20px;
}

.hp-social-media-smi-inner {
    display: flex;
    flex-wrap: wrap;
    max-width: 70%;
    gap: 10px;
}

.hp-social-media-button a:hover, .hp-social-media-smi-inner a:hover {
    background: #1e469c;
    border-color: #1e469c;
}

.hp-social-media-item a:hover .hp-social-media-item-photo .hp-social-media-item-photo-inner img {
    opacity: 0.3;
    transform: scale(1.15);
}

/*HP Social Media Section*/

#content .aios_agent_listings_property .aios_listings_bottom h1, 
#content .aios_agent_listings_property .aios_listings_bottom h2 {
    color: #575757;
    font-weight: 700;
    font-size: 18px;
    padding: 5px 0 0;
    margin: 0;
}
/* MEDIA QUERIES ARE AUTOMATICALLY REMOVED FROM THIS FILE, they must be placed in style-media-queries.css */

