/* Added for Community Form inputs. Makes the inputs 100% of their container. */
.calendar-event-title{font-size:2em !important;}
.full-width div input{width:100% !important;}

/*  desktop 1600 -- (1600/16--->100em) */
@media only screen and (min-width:1600px){
    .subscribe-icon{margin-top:40px;}
}

/* desktop 1200/1440 -- (1200-1440/16--->75/90em) */
@media only screen and (min-width:1200px) and (max-width:1440px){
    .subscribe-icon{margin-top:40px;}
}

/* desktop 991/1170 -- (991-1170/16--->61.9375/73.125em)*/
@media only screen and (min-width:991px) and (max-width:1170px){
    .subscribe-icon{margin-top:40px;}
    .property-tagline {
        background-size: 145% auto !important;
        background-repeat: repeat-y !important;
    }
}

/* desktop 768/990 -- (768-990/16--->48/61.875em) */
@media only screen and (min-width:768px) and (max-width:990px){
    .subscribe-icon{margin-top:40px;}
}

/* ipad/ipad mini landscape -- (1024/16--->64em) */
@media only screen and (max-width:1024px) and (orientation: landscape){
    html{  font-size:14px; }
    ul.toggles{top:5px;}
}


@media only screen and (max-width:990px){
    .property-tagline {
        background-size: 165% auto !important;
        background-repeat: repeat-y !important;
    }
}

/* ipad/ipad mini -- (768/16--->48em) */
@media only screen and (max-width:768px) and (orientation: portrait),
only screen and (max-width:768px){
    html{  font-size:14px; }
    .ff-yellowtail{font-size: 2.5rem!important;}

    .container{width:100%;}

    .wrap-canvas-menu ul.menu li.menu-item a{
        font-size:1.1em;/* 16/14 --> 1.33em*/
    }
    #search-container .search-content{
        padding:2em 0;
    }
    ul.toggles{top:5px;}

    .btn.view-hours{
        white-space: normal;
        line-height: 1.5;
        padding: 0.4em 14px;
    }

    .block-feature-tabs .tab-pane .tab-pane-content a.btn{
        min-width:100%;
    }

    .block-feature-tabs .tab-pane .featured-tabs-sales{
        -webkit-box-orient:vertical;
        -webkit-box-direction:normal;
        -webkit-flex-direction:column;
        -ms-flex-direction:column;
        flex-direction:column;
    }

    .featured-tabs-sales .post-sales.featured{
        width:100%;
        min-width:100%;
        margin:1% 0;
    }

    .featured-tabs-sales .post-sales.featured .post-entry-inner{
        padding:0;
        display:-webkit-box;
        display:-webkit-flex;
        display:-ms-flexbox;
        display:flex;
        -webkit-box-align:center;
        -webkit-align-items:center;
        -ms-flex-align:center;
        align-items:center;
        -webkit-justify-content: space-around;
        -ms-flex-pack: distribute;
        justify-content: space-around;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
    }

    .featured-tabs-sales .post-sales.featured .post-entry-media{
        -webkit-box-flex:0;
        -webkit-flex:0 0 30%;
        -ms-flex:0 0 30%;
        flex:0 0 30%;
    }

    .tenant-maps{
        margin-bottom:1em;
    }

    ul.section-blocks li.block{
        min-height:175px;
    }
}


@media only screen and (max-width:699px){
    .row{margin-left:0;margin-right:0;}
    .flex{
        -webkit-flex-basis:100%;
        -ms-flex-preferred-size:100%;
        flex-basis:100%;
    }
    .col-xs-12, .col-sm-12{
        min-width:100%;
        width:100%;
    }
    .container-fluid{
        padding-left:0;
        padding-right:0;
    }

    [class*='col-']:not(.center-block){
        margin-left:0!important;
        margin-right:0!important;
    }

    .row, .layout-row, .layout{
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

}

/* iphone 6s -- (414/16--->25.875em) */
@media only screen and (max-width:414px){
    html{font-size:12px;}

    #sidebar{
        margin:0;
    }

    .hentry{
        padding:0;
    }

    footer#footer .widget {
        text-align: center;
    }

    .nav-pills>li {
        border:0;
        border-bottom: 1px solid #797878;
    }

    .nav-pills>li:first-child{
        border-left:0;
    }
    .nav-pills>li:first-child, .nav-pills>li:last-child  {
        border-right:0;
    }
    .nav-pills>li:last-child{
        border-bottom:0;
    }

    .nav-pills>li.active>a::after{
        content:'';
        display:none;
    }

    .icon-circle i{font-size:120%;}

    .tab-content{
        padding-left:15px;
        padding-right:15px;
    }

    ul.section-blocks{
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    ul.section-blocks li{
        margin: 0 !important;
    }

    ul.section-blocks li.block{
        min-height:175px;
    }

	ul.section-blocks .block.col-sm-20{
		width:100%;
	}

    .featured-tabs-sales .post-sales.featured .post-entry-inner{
        -webkit-box-orient:vertical;
        -webkit-box-direction:normal;
        -webkit-flex-direction:column;
        -ms-flex-direction:column;
        flex-direction:column;
    }
    .featured-tabs-sales .post-sales.featured .post-entry-media, .post-sales .post-entry-media{
        width: 50%;
        margin: 0 auto;
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }

    .wrap-canvas-menu ul.menu li a {
        font-size:1.3em;
    }

    .tenant-maps{
        display:block;
    }

    .tenant-maps > img {
        height:auto;
    }

    .directory-category-description{
        margin-top:1em;
    }

    .opening-snipe--single{
        bottom:15px;
    }

    .full-columms [class^=col-]:first-child{
        padding-left:15px;
    }
    .full-columms [class^=col-]:last-child{
        padding-right:15px;
    }

    .property-tagline{
        background-size:290% auto !important;
    }
}


/* Adding this to display Gravity Form labels on certain forms with the class display-labels */
.display-labels .gform_body ul li label {display:block !important; color:#000; font-weight: 600 !important;}

.gform_body ul li div span select{height:40px !important;}

.gform_body ul li div div div select{height:40px !important;}

.ginput_container textarea{height:160px !important;}

.gform_wrapper .ginput_complex label, .gform_wrapper .instruction{display:none;}

.gform_body input, .gform_body select, .gform_body textarea {margin-top:0 !important; margin-bottom:5px !important;}

.gfield_checkbox li label{color:#000;}

.gform_footer input[type="submit"]{margin: 0 auto !important;}

.ginput_container_checkbox ul li input {width: auto !important;
    margin-top: 10px !important;
    margin-right: 10px !important;}

.ginput_container_checkbox ul li label{margin-top:16px !important;}

@media only screen and (max-width:414px){
    .gform_body input, .gform_body select, .gform_body textarea, .gform_body label{font-size:12px !important;}

}