/*
Theme Name: AgentImage Theme
Theme URI: http://www.agentimage.com
Description: AIOS mobile semi-custom theme.
Author: AgentImage
Author URI: http://www.agentimage.com
Version: 1.0.2
Tags: one-column, two-columns, right-sidebar, custom-menu, full-width-template, sticky-post
License: Proprietary
License URI: http://www.agentimage.com
*/

/*

TABLE OF CONTENTS

1.  Reset
2.  Custom CSS
3.  Unreset inner pages and widget areas
4.  Submenus
5.  Single column and two-column layouts
6.  Archive
7.  Sidebar
8.  Misc Wordpress classes
9.  AIOS Listings
10. Mobile styles
  
*/

/*******************************************************
 *
 * 1. Reset
 *
 *******************************************************/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p,
a, abbr, acronym, address, big, cite, code,
del, dfn, img, ins, kbd, q, s, samp,
small, strike, tt, var, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

area,
img,
map {
    outline:none;
}

/* Helpers */

.clearfix,
.clear {
    clear:both;
}

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/*******************************************************
 *
 * 2. Custom CSS
 *
 *******************************************************/

/* Global */
*{outline:0}

body{
    font-family: Lato, Helvetica, Georgia, Sans-serif;
    font-size: 12px;
    font-weight: 100;
    background: #FFF;
    color: #000000;
    min-width: 1145px;
}
.main{
    max-width: 1175px;
    width: 100%;
    padding: 0 15px;
    margin: auto;
}
.main:after{
    content:'';
    clear:both;
    display:block;
}
.outer {
    width:100%;
    min-width:960px;
}

.inner{
    max-width:1175px;
    width: 100%;
    padding: 0 15px;
    margin:0 auto;
    box-sizing: border-box;
}

/* Text formatting */
.t-right{text-align: right;}
a{
    text-decoration: none; 
    color: #000000;
}

a:hover{
    color: #5f5f5f;
}
#header{
    background: #000;
}
#header #logo{
    float: left;
    padding: 23px 0px;
    background: #FFF200;
    text-align: center;
    width: 360px;
}
#header #logo img{}
#header #head-right{
    float: right;
}
#header #head-right > ul{}
#header #head-right > ul > li{
    float: left;
    position: relative;
}
#header #head-right > ul > li > a{
    color: #fff;
    font-weight: 300;
    font-size: 12px;
    padding: 40px 10px;
    display: inline-block;
    text-transform: uppercase;
}
#header #head-right > ul > li > a:after,
#header #head-right > ul > li > a:before{
    position: absolute;
    top: 30px;
    right: 00px;
    bottom: 30px;
    left: 00px;
    content: '';
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}
#header #head-right > ul > li > a:before{
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: scale(0,1);
    transform: scale(0,1);
}
#header #head-right > ul > li > a:after{
border-right: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: scale(1,0);
    transform: scale(1,0);
}
#header #head-right > ul > li:hover > a:after,
#header #head-right > ul > li:hover > a:before{
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
#header #head-right > ul > li > ul{
    position: absolute;
    left: 0;
    width: 140px;
    z-index: 45;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s;
}
#header #head-right > ul > li:hover > ul{max-height:500px}
#header #head-right > ul > li > ul > li{}
#header #head-right > ul > li > ul > li > a{
    display: block;
    padding: 9px 0;
    background: rgba(0, 0, 0, 0.81);
    color: #fff;
    transition:all 0.3s;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 2px;
}
#header #head-right > ul > li > ul > li > a:hover{background-color:#000}
#addon-banner{height: 250px; background: url(images/ip-banner.jpg) repeat-x 50% 50%;}
body.home #addon-banner{display: none; background:none;}

#banner{
    position: relative;
}
#banner .banner-content{position: absolute;top:0;left: 0;right: 0;}
#banner .main{}
#banner .slick-list{padding:0 !important}
#banner .slider{}
#banner .slider button.slick-arrow{
    display: none !important;
}
#banner .slider .banner-img{
    width: 100%;
	height: 825px;
}
#banner #banner-box{
    width: 360px;
}
#banner #banner-box .box{
    padding-top: 15px;
}
#banner #banner-box .box h2{
    background: #000;
    color: #fff;
    font-size: 24px;
    text-align: left;
    display: block;
    padding: 7px 25px;
    text-transform: uppercase;
    font-weight: 400;
}
#banner #banner-box .box .box-inner{
    background-color: rgba(255, 255, 255, 0.72);
    padding: 25px 25px 10px 25px;
    font-weight: 400;
    line-height: normal;
}
#banner #banner-box .box .box-inner .phno{
    font-size: 30px;
}
#banner #banner-box .box .box-inner span{
    display: block !important;
    font-size: 12px;
    padding: 5px 0 15px;
    letter-spacing: 1px;
}
body.home .use-floating-validation-tip span.wpcf7-not-valid-tip{padding:1px 10px !important; top:-18px !important; right:0; width:auto; left:auto }
body.home div.wpcf7-response-output{margin:0}
#banner #banner-box .box .box-inner .email,
#banner #banner-box .box .box-inner .email a{
    font-size: 21px;
    color:#000;
}
#banner #banner-box .box .box-inner .social-links{
    padding-bottom: 10px;
}
#banner #banner-box .box .box-inner .social-links a{
    display: inline-block;
    padding: 2px 25px 2px 0;
}
#banner #banner-box .box .box-inner .social-links a img{}
#banner #banner-box .box .box-inner label{
    display: block;
    padding: 5px 0 2px;
}
#banner #banner-box .box .box-inner input.input{
    height: 34px;
    border: 1px solid #4a4a4a;
    background-color: transparent;
    padding-left: 10px;
    width: 100%;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    -o-appearance: none !important;
    border-radius:0 !important; 
}
#banner #banner-box .box .box-inner textarea.input{
    border: 1px solid #4a4a4a;
    background-color: transparent;
    padding-left: 10px;
    height: 110px;
    width: 100%;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    -o-appearance: none !important;
    border-radius:0 !important; 
}
#banner #banner-box .box .box-inner .submit-btn{
    background: transparent;
    border: 0;
    text-decoration: underline;
    font-weight: 400;
    padding: 12px 0 12px 12px;
    text-transform: uppercase;
}
#banner #banner-box .box .box-inner img.ajax-loader{float: left;}
#search-home{
    padding: 15px 0 50px;
}
#search-home h2{
    display: block;
    font-size: 24px;
    position: relative;
    text-align: center;
    line-height:normal;
    padding: 14px 0;
}
#search-home h2:after{
    content:'';
    display:block;
    position: absolute;
    height: 1px;
    top: 50%;
    width:100%;
    background: #9e9e9e;
}
#search-home h2 span{
    display:inline-block;
    position:relative;
    z-index:5;
    padding: 0 10px;
    background-color:#fff;
    text-transform: uppercase;
}
#search-home select{
    height: 34px;
    border: 1px solid #4a4a4a;
    background-color: transparent;
    padding-left: 10px;
    margin-left: 5px;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    -o-appearance: none !important;
    border-radius:0 !important; 
}
#search-home select:first-child{
    margin-left:0;
    
}


#search-home select{
    text-transform: uppercase;
}
#search-home select option{
    text-transform: initial;
}

#search-home select.sel-big{
    width: 290px;
}
#search-home select.sel-med{
    width: 205px;
}
#search-home select.sel-sma{
    width: 128px;
}
#search-home button{
    height: 34px;
    border: 1px solid #4a4a4a;
    background: #fff200 url(images/search-icon.png) no-repeat 8px 50%;
    padding: 0 10px 0 28px;
    float:right;
    cursor: pointer;
    text-transform: uppercase;
}

#cta{
    padding-bottom: 40px;
}
#cta a.single.s-1{}
#cta a.single.s-2{
    margin-left: 35px;
}
#cta a.single.s-3{
    float: right;
}
#cta a.single{
    width: 360px;
    display: block;
    float: left;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}
.sidebar #cta a.single{margin:0 0 10px}
#cta a.single *{/* transition: all 0.1s; */}
#cta a.single .overlay{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-position: 50% 50%;
    transition: all 0.2s;
}
#cta a.single .overlay em{position: absolute;transition:all 0.7s}
#cta a.single .overlay em.line1{height: 0;width: 1px;left: 36px;background: #DCC916;top: 0;}
#cta a.single .overlay em.line2{height: 1px;width: 0;right: 0;background: #DCC916;top: 31px;}
#cta a.single .overlay em.line3{height: 0;width: 1px;right: 36px;background: #DCC916;bottom: 0;}
#cta a.single .overlay em.line4{height: 1px;width: 0;left: 0;background: #DCC916;bottom: 31px;}

#cta a.single:hover .overlay em.line1{height: 117px;}
#cta a.single:hover .overlay em.line2{width: 233px;}
#cta a.single:hover .overlay em.line3{height: 128px;}
#cta a.single:hover .overlay em.line4{width: 233px;}


/*#cta a.single .overlay:after,
#cta a.single .overlay:before{
    position: absolute;
    top: 30px;
    right: 30px;
    bottom: 30px;
    left: 30px;
    content: '';
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.8s, transform 0.8s;
}
#cta a.single .overlay:before{
    border-top: 1px solid #C3BE5D;
    border-bottom: 1px solid #C3BE5D;
    -webkit-transform: scale(0,1);
    transform: scale(0,1);
}
#cta a.single .overlay:after{
    border-right: 1px solid #C3BE5D;
    border-left: 1px solid #C3BE5D;
    -webkit-transform: scale(1,0);
    transform: scale(1,0);
    }
#cta a.single:hover .overlay:after,
#cta a.single:hover .overlay:before{
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}*/



#cta a.single:hover .overlay{
    /* background-image:url(images/yellowhover-lines.png); */
    background-color: #FFF200;
}
#cta a.single span{
    display: block;
    position: absolute;
    width: 180px;
    height: 50px;
    text-align: center;
    left: 50%;
    top: 50%;
    color: #fff;
    transition:0.2s all;
    margin: -25px 0 0 -90px;
    text-transform: uppercase;
}
#cta a.single:hover span{color:#000}
#cta a.single span em{
    font-size: 16px;
    font-style: normal;
    display: block;
}
#cta a.single span strong{
    font-size: 24px;
    font-weight: 400;
}
#cta a.single img.thumb{}

.entry .wpcf7 label{display:block;padding: 5px 0 5px;}
.entry .wpcf7 input.input{height:34px;border:1px solid #4a4a4a;background-color:transparent;padding-left:10px;width:100%;margin-bottom: 10px;}
.entry .wpcf7 textarea.input{border:1px solid #4a4a4a;background-color:transparent;padding-left:10px;height:110px;width:100%;margin-bottom: 20px;}
.entry .wpcf7 .submit-btn{background: #FFF200;font-weight:400;padding: 8px 12px;border: 1px solid #333;}
.entry .wpcf7 img.ajax-loader{float: right;}

#welcome{
    background: #efefef;
    padding: 40px 0;
}
#welcome .welcome-left{
    width: 48%;
    float: left;
}
#welcome .welcome-left .article-wrap{}
.article-wrap {
    font-size: 14px;
    font-weight: 300;
    line-height: normal;
}
.article-wrap .article-title span{
    display: block;
}

.article-wrap .article-title{
    border-bottom: 1px solid #c3c3c3;
    text-transform: uppercase;
    line-height: normal;
    padding-bottom: 25px;
    margin-bottom: 20px;
}
.article-wrap .article-title .r1{
    font-size: 16px;
}
.article-wrap .article-title .r2{
    font-size: 29px;
    font-weight: 700;
}
.article-wrap .article-title .r3{
    font-size: 17px;
    letter-spacing: 1px;
}
.article-wrap p{
    margin-bottom: 20px;
    text-align: justify;
    line-height: 21px;
}
#welcome .author-details{
    float: right;
    padding-top: 25px;
    width: 48%;
}
#welcome .author-details .photo{
    float: left;
}

.author-details .photo img{}
#welcome .author-details .details{
    margin-left: 290px;
}
.author-details .details .title{}
.author-details .details .title .name{
    font-size: 30px;
    text-transform: uppercase;
}
.author-details .details .title .name span{font-weight: 700}
.author-details .details .desig{
    font-size: 12px;
    color: #999999;
    text-transform: uppercase;
    padding: 8px 0 20px;
}
.author-details .details .content{
    border-bottom: 1px solid #c3c3c3;
    font-size: 14px;
    color: #666666;
    line-height: 21px;
    margin-bottom: 20px;
    padding: 5px 0 25px 0;
}
.author-details .details .content p{}
.author-details .details .phno{
    font-size: 20px;
    color: #141414;
    font-weight: 400;
}
.author-details .details .email,
.author-details .details .email a{
    font-size: 16px;
    color: #141414;
    font-weight: 400;
}
.author-details .details .social-links{}
.author-details .details .social-links a{
    display: inline-block;
    padding: 6px 16px 5px 0;
}
.author-details .details .social-links a img{}

.sidebar .author-details{
    text-align: center;
    margin-bottom: 15px;
}
.sidebar .author-details h2{
    background: #000;
    color: #fff;
    font-size: 24px;
    text-align: left;
    display: block;
    padding: 7px 25px;
    text-transform: uppercase;
    font-weight: 400;
}
.sidebar .author-details .photo{}
.sidebar .author-details .photo img{}
.sidebar .author-details .details{
    padding: 20px 0;
}
.sidebar .author-details .details .title{}
.sidebar .author-details .details .title .name{}
.sidebar .author-details .details .title .name span{}
.sidebar .author-details .details .phno{
    font-size: 30px;
}
.sidebar .author-details .details .desig{
    color: #222;
    padding-bottom: 15px;
}
.sidebar .author-details .details .email,.sidebar .author-details .details .email a{
    font-size: 21px;
}
.sidebar .author-details .details .social-links{}
.sidebar .author-details .details .social-links a{
    padding: 5px 10px;
}

#featured-properties{
    margin-bottom: 40px;
}

#featured-properties .main{
    padding: 0px;
}

#featured-properties h2{
    display: block;
    font-size: 24px;
    position: relative;
    text-align: center;
    line-height:normal;
    padding: 35px 0 20px;
    text-transform: uppercase;
}
#featured-properties-slider button.slick-arrow{display:none !important}
#featured-properties a.single.s-1{}
#featured-properties a.single.s-2{}
#featured-properties a.single.s-3{}
#featured-properties a.single.s-4{
    float: right;
    margin: 0;
}
#featured-properties a.single{
    display: block;
    float: left;
    max-width: 282px;
    width: 100%;
    position: relative;
    text-align:center;
    color:#fff;
    /*margin-right: 31px;*/
    /*background-color: #000;*/
    padding: 0 10px;
}
#featured-properties a.single .r1{
    position: absolute;
    font-size:18px;
    width:100%;
    text-transform:uppercase;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.63);
    font-weight:400;
    top:85px;
    transition: all 0.3s;
    z-index: 5;
}
#featured-properties a.single:hover .r1{
    top: 51px;
}
#featured-properties a.single .hover-show{
    position: absolute;
    width:100%;
    top:40%;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    line-height: normal;
    z-index: 5;
}
#featured-properties a.single:hover .hover-show{
    max-height: 200px;
}
#featured-properties a.single .hover-show .r2{font-weight:700; font-size:16px}
#featured-properties a.single .hover-show .r3{
    font-size: 13px;
    padding: 5px 0;
}
#featured-properties a.single .hover-show .r4{
    font-size: 13px;
}
#featured-properties a.single .hover-show .r5{
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding-top: 5px;
}
#featured-properties a.single img.thumb{
    position: relative;
    transition: all 0.3s;
    vertical-align: top;
    width: 100%;
}
#featured-properties a.single:hover img.thumb{opacity:0.9}

#testimonials{
    text-align: center;
    background: url(images/quote-grey.png) no-repeat 50% 50% #ececec;
    padding: 50px 0;
    margin-bottom: 20px;
}
#testimonials h2{
    display: block;
    font-size: 24px;
    position: relative;
    text-align: center;
    line-height: normal;
    padding: 14px 0;
    text-transform: uppercase;
}
#testimonials #testimonials-slider{padding:0 40px}
#testimonials p{
    font-size: 19px;
    color: #666666;
    line-height: 25px;
    font-weight: 300;
    font-style: italic;
    display: block;
    margin: 10px 100px;
}
#testimonials .name{
    color: #076483;
    font-weight: 400;
    font-style: italic;
    font-size: 19px;
    padding: 10px 0;
}
#testimonials button.slick-arrow{
    position: absolute;
    top: 50%;
    background-repeat: no-repeat;
    width: 32px;
    height: 62px;
    background-position: 50% 50%;
    background-color: transparent;
    border: 0;
    color:transparent;
    font-size:0;
    cursor: pointer;
    margin-top: -60px;
}
#testimonials button.slick-arrow.slick-prev{
    left: 0;
    background-image: url(images/arrow-left.png);
}
#testimonials button.slick-arrow.slick-next{
    right: 0;
    background-image: url(images/arrow-right.png);
}

#newsfeed{
    padding-bottom: 40px;
}
#newsfeed h2{
    display: block;
    font-size: 24px;
    position: relative;
    text-align: center;
    line-height: normal;
    padding: 20px 0;
    text-transform: uppercase;
}
#newsfeed a.single{
    display: inline-block;
    /*float: left;*/
    background: url(images/dotted-vertical.jpg) repeat-y right 0;
    padding: 0 48px;
    width: 316px;
    box-sizing: content-box;
    vertical-align: top;
}
#newsfeed a.single.s-1:first-of-type {
    padding-left: 0;
}
#newsfeed a.single.s-1:last-of-type {
    padding-right: 0;
    background: none;
}
#newsfeed a.single.s-1 {
    /*padding-left: 0;*/
}
#newsfeed a.single.s-2{
    width: 406px;
}
#newsfeed a.single.s-3{
    padding-right: 0;
    background: none;
}
#newsfeed a.single .r1{
    font-size: 16px;
    text-transform: uppercase;
    line-height: normal;
}
#newsfeed a.single .r2{
    font-size: 12px;
    color: #7d7d7d;
    padding: 7px 0 10px;
}
#newsfeed a.single img.thumb{
    width: 100%;
}
#newsfeed a.single .r3{
    font-size: 13px;
    color: #363636;
    font-weight: 400;
    padding: 10px 0;
    line-height: normal;
}
#newsfeed a.single p{
    font-size: 13px;
    color: #7d7d7d;
}
#newsfeed a.single .readmore{
    display: block;
    color: #7d7d7d;
    padding: 10px 0;
}

#footer{
    background-color: #000;
    color: #fff;
    padding: 35px 0;
    line-height: normal;
}
#footer img.footerlogo{
    float: right;
}
#footer .r1{}
#footer .r1 ul{}
#footer .r1 ul li{
    display: inline-block;
}
#footer .r1 ul li a{
    color: #fff;
    display: inline-block;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    padding-right: 13px;
}
#footer .r1 ul li ul{
    display: none;
}
#footer .r2{}
#footer .r2 p{
    margin: 10px 0;
}
#footer .r2 p a{
    color: #fff;
}
#footer .r2 img{}



/*******************************************************
 *
 * 3. Unreset inner pages and widget areas
 *
 *******************************************************/

#content, .widget-set { line-height:1.2 }
#content th, .widget-set th { font-weight: bolder; }
#content h1, .widget-set h1 { font-size: 2em; margin: .67em 0 }
#content h2, .widget-set h2 { font-size: 1.5em; margin: .75em 0 }
#content h3, .widget-set h3 { font-size: 1.17em; margin: .83em 0 }
#content h4, .widget-set h4,
#content p, .widget-set p,
#content blockquote, .widget-set blockquote,
#content ul, .widget-set ul,
#content fieldset, .widget-set fieldset,
#content form, .widget-set form,
#content ol, .widget-set ol,
#content dl, .widget-set dl,
#content dir, .widget-set dir
#content menu, .widget-set menu { margin: 1.12em 0; line-height:1.2 }
#content h5, .widget-set h5 { font-size: .83em; margin: 1.5em 0 }
#content h6, .widget-set h6 { font-size: .75em; margin: 1.67em 0 }
#content h1, .widget-set h1,
#content h2, .widget-set h2,
#content h3, .widget-set h3,
#content h4, .widget-set h4,
#content h5, .widget-set h5,
#content h6, .widget-set h6,
#content b, .widget-set h6, 
#content strong, .widget-set strong { font-weight: bolder }
#content blockquote, .widget-set blockquote { margin-left: 40px; margin-right: 40px }
#content i, .widget-set i,
#content cite, .widget-set cite,
#content em, .widget-set em,
#content var, .widget-set var,
#content address, .widget-set address { font-style: italic }
#content pre, .widget-set pre,
#content tt, .widget-set tt,
#content code, .widget-set code,
#content kbd, .widget-set kbd, samp  { font-family: monospace }
#content big, .widget-set big { font-size: 1.17em }
#content small, .widget-set small,
#content sub, .widget-set sub,
#content sup, .widget-set sup { font-size: .83em }
#content sub, .widget-set sub { vertical-align: sub }
#content sup, .widget-set sup { vertical-align: super }
#content table, .widget-set table { border-spacing: 2px; }
#content thead, .widget-set thead,
#content tbody, .widget-set tbody,
#content tfoot, .widget-set tfoot { vertical-align: middle }
#content td, .widget-set td,
#content th, .widget-set th,
#content tr, .widget-set tr { vertical-align: inherit }
#content hr, .widget-set hr { border: 1px inset }
#content ol, .widget-set ol,
#content ul, .widget-set ul,
#content dir, .widget-set dir,
#content menu, .widget-set menu,
#content dd, .widget-set dd { margin-left: 40px }
#content ol, widget-set ol { list-style-type: decimal }
#content ol ul, .widget-set ol ul,
#content ul ol, .widget-set ul ol,
#content ul ul, .widget-set ul ul,
#content ol ol, .widget-set ol ol { margin-top: 0; margin-bottom: 0 }
#content ol, .widget-set ol { list-style-type:decimal }
#content ul, .widget-set ul { list-style-type:disc }

/*******************************************************
 *
 * 4. Submenus
 *
 *******************************************************/

#nav .sub-menu {
    list-style: none outside none;
    margin: 0;
    background: url("images/submenu-fixer.png") repeat scroll 0 0 #333333;
    display: none;
    padding: 0;
    position: absolute;
    width: 180px;
}
#nav .sub-menu a {
    border-bottom: 1px solid #666666;
    border-left: 1px solid #666666;
    border-right: 1px solid #666666;
    color: #FFFFFF;
    display: block;
    font-size: 11px;
    min-height: 11px;
    padding: 5px 10px;
    text-align: center;
}
#nav .sub-menu a:hover {
    background: none repeat scroll 0 0 #FAFAFA;
    color: #000000;
    text-decoration: none;
}
#nav .sub-menu li:first-child a {
    border-top: 1px solid #666666;
}
#nav .sub-menu .sub-menu {
    margin-left: 100%;
    margin-top: -27px;
}
#nav li:hover > .sub-menu {
    display: block;
}
#nav .sub-menu li {
    position: relative;
}

/*******************************************************
 *
 * 5. Single column and two-column layouts
 *
 *******************************************************/

#content-sidebar, #content-full{
    width: auto;
    margin:0 auto;
}
#content-sidebar:after, #content-full:after{
    content: "";
    display: table;
    clear: both;
}

/* Content area with sidebar */

#content-sidebar #content{
    float: left;
    width: 750px;
    padding: 40px 0 0;
}

/* Content area for full width template (no sidebar) */

#content-full #content{ 
    width:960px;
}

/* Styles for entry */

#content .entry{color: #666666;font-size: 14px;font-weight: 400;line-height: 20px;}
#content .entry p{line-height:20px;}
#content .entry:after {
    content: "";
    display: table;
    clear: both;
}

/* Styles for post/page main headings (h1) */

#content .entry-title {
    font-size: 29px;
    text-transform: uppercase;
}

/* Styles for category/archive/etc main headings (h1) */

#content .archive-title { 
    font-size: 24px;
}

/* Styles for category/archive/search/etc subheadings (h2) */

#content .archive-subtitle { 
    font-size: 24px;
}

#inner-page-wrapper {
    margin-bottom:30px;
}

/*******************************************************
 *
 * 6. Archive
 *
 *******************************************************/

#content .archive-thumbnail {
    width:27%;
    float:left;
}

#content .archive-content.archive-has-thumbnail {
    width:70%;
    float:right;
}

#content .archive-more {
    text-decoration:underline;
    font-style:italic;
}

#content .post {
    margin-bottom:20px;
    padding-bottom:20px;
}

/*******************************************************
 *
 * 7. Sidebar
 *
 *******************************************************/

.sidebar{
    float: right;
    width: 360px;
    padding-top: 40px;
}

.widget-set h4.widget-title{ 
    display:block;
    background:#333;
    color:#000;
}


/*******************************************************
 *
 * 8. Misc Wordpress classes
 *
 *******************************************************/

.gravatar{
    float: right;
}

.comments-template ol.comment-list{
    margin:20px 0 0 0;
    padding:0;
    list-style:none;
}

.comments-template ol.children{
    margin:20px 0 0 40px;
    padding:0;
    list-style:none;
}

.comments-template ol.comment-list li.comment{
    margin:10px 0;
    padding:0;
    border-top:1px dotted;
}

.comments-template .comment-meta{
    font-size:10px;
}

.comments-template .screen-reader-text{
    display:none;
}

.comments-template .comment-navigation{
    margin:10px 0;
    background:none;
}

.wp-caption {
    background-color: #f3f3f3;
    border: 1px solid #ddd;
    margin: 10px;
    padding-top: 4px;
    text-align: center;
    max-width:100%;
}

.wp-caption img {
    border: 0 none;
    margin: 0;
    padding: 0;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.gallery-caption {
    text-align:center;
}

.category .post, .archive .post{
    border-bottom:1px dotted;
}

.attachment-post-thumbnail {
    float:left;
    margin:0 10px 10px 0;
}

pre {
    white-space: pre-wrap;       /* css-3 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

.sticky {

}

.bypostauthor {
    font-style:italic;
}

#content .alignleft{
    float:left;
}

#content .alignright{
    float:right;
}

#content .aligncenter {
    display:block;
    margin-left:auto !important;
    margin-right:auto !important;
}

#content img[class*="align"],
#content img[class*="wp-image-"],
#content img[class*="attachment-"],
#content img.size-full,
#content img.size-large,
#content img.header-image,
#content img.wp-post-image {
    max-width: 98%;
    margin:0 1%;
    height:auto;
}

#content embed,
#content iframe,
#content object,
#content video {
    max-width: 100%;
}

#breadcrumbs {
    margin:20px 0;
}

/*******************************************************
 *
 * 9. AIOS Listings
 *
 *******************************************************/

.aios-listings-page .attachment-post-thumbnail {
    display:none;
}




/*******************************************************
 *
 * CUSTOM CSS 07-15-2016
 *
 *******************************************************/

#breadcrumbs{
    opacity: 0;
    font-weight: 400;
}

.page-id-0 #content ul,
.page-id-8 #content ul{
    margin-left: 0;
    padding: 0;
}


.message-wrap .wpcf7-form-control-wrap {
   display: block!important;
}


.postmetadata{
    display: none;
}

#banner #banner-box .box .box-inner label{
    text-transform: uppercase;
}

.page-id-134 #content embed, 
.page-id-134 #content iframe, 
.page-id-134 #content object, 
.page-id-134 #content video {
    /*max-width: 100%;*/
    /*width: 100%;
    height: 375px;
    min-width: 500px;*/
}

.calc-responsive{
    overflow-x: scroll !important;
    overflow-y: hidden !important;
}

.calc-responsive-bk {
    margin-bottom: 143px;
}

#ihf-main-container .modal{
    z-index: 1051 !important;
}

h2#mlcalc-head em {
    font-size: 12px;
    font-style: normal;
    color: #5f748a;
    font-weight: 400;
    font-family: Helvetica, sans-serif;
    vertical-align: middle;
    display: inline-block;
}
h2#mlcalc-head {
    background: #ededed;
    padding: 5px 10px;
}
h2#mlcalc-head em a {
    text-decoration: underline;
    font-size: 11px;
    color: #5f748a;
    padding-left: 320px;
    padding-right: 42px;
}

h2#mlcalc-head img {
    display: inline-block;
    vertical-align: middle;
}

/*******************************************************
 *
 * 10. Mobile styles
 *
 *******************************************************/
@media only screen and (max-width: 1024px) {
    #search-home select.sel-big {
        width: 255px;
    }
    #cta a.single.s-2 {
        margin-left: 18px;
    }

    .sidebar #cta a.single.s-2{
        margin-left: 0px;
    }

    #newsfeed a.single {
        padding: 0 40px;
    }
    #newsfeed a.single.s-2{
        /*width: 385px;*/
    }
}



@media only screen and (max-width: 977px) {
    #content-sidebar #content{
        width: 100% !important;
    }
    .aios-mobile-pack-fixed-header,
    .aios-mobile-pack-social-media{
       z-index: 1050 !important; 
    }
    #addon-banner{display:none}
    body{min-width:initial}
    body.home .outer,
    #header,
    #footer {
        min-width:320px;
        display: none;
    }
    .outer{min-width:300px}
    .inner {
        width:100%;
    }
    
    #content-sidebar .sidebar, 
    #content-full .sidebar{
        display:none;
    }
    
    #content-sidebar, 
    #content-full, 
    #content-sidebar #content, 
    #content-full #content{
        width:100%;
        padding:0 3%;
    }
    
    #backhomelink { 
        display:block;
        width:90%;
        padding:0 5%;
    }
    
    /* Top navigation */
    
    #nav .sub-menu a {
        padding-left:0;
        padding-right:0;
        width:100%;
    }
    
    #nav .sub-menu,
    #nav > li > .sub-menu {
        position:relative;
        width:100%;
        padding-top:0;
        margin:0 !important;
    }
    
    /* IHF 1.0 */
    
    .ihf-template .outer {
        min-width:620px;
    }
    
    .ihf-template #content-sidebar, 
    .ihf-template #content-full, 
    .ihf-template #content-sidebar #content, 
    .ihf-template #content-full #content {
        width:100%;
        padding:0;
    }
    
    /* IHF 2.0 */
    
    #ihf-main-container select[multiple], 
    #ihf-main-container select[size] {
        width:100%;
    }
    
    #ihf-main-container .row {
        margin-left:0 !important;
        margin-right:0 !important;
    }

    .ihf-map-info-window-photo {
        padding: 0 !important; 
    }

    #ihf-main-container .map-infobox-img {
        width: 100% !important;
    }
    
    /* WPCF7 */

    #content .wpcf7 form input[type='text'],
    #content .wpcf7 form input[type='password'],
    #content .wpcf7 form input[type='email'],
    #content .wpcf7 form input[type='number'],
    #content .wpcf7 form input[type='tel'],
    #content .wpcf7 form input[type='url'],
    #content .wpcf7 form textarea {
        padding-left:2%;
        padding-right:2%;
        width:94%;
        max-width:292px;
    }
    
    /* ARCHIVE */

    #content .archive-thumbnail,
    #content .archive-content.archive-has-thumbnail {
        width:100%;
        float:none;
        
    }
    
    #content .archive-thumbnail,
    #content .archive-content h2 {
        text-align:center;
        margin-left:auto;
        margin-right:auto;
    }

    #content .archive-more {
        text-decoration:underline;
        font-style:italic;
    }
    
}

@media only screen and (max-width: 640px) {
    h2#mlcalc-head em a{
        padding-left: 100px;
    }
    .ihf-grid-result-address{
        white-space: normal !important;
        font-size: 11px !important;
    }
    .ihf-grid-result-basic-info-container > div {
        font-size: 10px !important;
    }
    #ihf-main-container .pagination > li{
        font-size: 12px !important;
    }
}



@media only screen and (max-width: 365px) {
    h2#mlcalc-head em a{
        padding-left: 10px;
        padding-right: 10px
    }   
    h2#mlcalc-head em{
        font-size: 11px;
    }

    
}

@media only screen and (max-width: 320px) {
    h2#mlcalc-head em{
        font-size: 11px;
    }
    h2#mlcalc-head em a{
        font-size: 10px;
        padding-left: 0px;
        padding-right: 0px;
    }
}   



.aios-mobile-pack-header{

    padding: 85px 0 13px 0 !important;
}