/*
Theme Name: TheStudio
Author: App Studios, LLC
Author URI: https://appstudios.net/
Description: A Wireframe parent template used to develop awesome themes on.
Version: 1.0.0
Text Domain: thestudio

TheStudio WordPress Theme © 2016 App Studios, LLC
TheStudio is not for free redistribution. All rights reserved by App Studios, LLC.
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,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 {
    font-size: 100%;
    font:inherit;
    padding:0;
    border:0;
    margin:0;
    vertical-align:baseline;
}

body { 
    font-size: 16px; /* this determines what 1em equals */
    line-height: 1; 
    background-color: #fff;
    font-family: 'Helvetica', 'Arial', sans-serif;
}

* {
    box-sizing: border-box;
}

header, main, nav, article, aside, footer { 
    display: block; 
    box-sizing: border-box;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, div { 
    display: block;
    box-sizing: border-box;
}

h1, h3, h5 {
    font-family: 'Times New Roman', serif;
}
h2, h4, h6 {
    font-family: 'Helvetica', 'Arial', sans-serif;
}

h1 { font-size: 2em; }   /* 28px */
h2 { font-size: 1.75em; }    /* 24px */
h3 { font-size: 1.5em; }   /* 20px */
h4 { font-size: 1em; }      /* 16px */
h5 { font-size: .75em; }    /* 12px */
h6 { font-size: .5em; }     /* 8px */


input, select, textarea {
    padding: 1rem;
    width: 100%;
    outline: 0 !important;
    border: 0;
    font-size: 1em;
    vertical-align: top;
}

input[type="submit"]:hover, select:hover {
    cursor: pointer;
}

select {
    padding: .5rem 3rem .5rem 1rem;
    width: 100%;
    border: 0;
    outline: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0) 51%, #b3b3b3 0px), linear-gradient(135deg, #b3b3b3 7px, rgba(0, 0, 0, 0) 50%), linear-gradient(to right, #b3b3b3, #b3b3b3) !important;
    background-position: calc(100% - 20px) calc(1.45em + 0px), calc(100% - 12px) calc(1.45em + 0px), calc(100% - 2.25em) 0.8em !important;
    background-size: 8px 12px, 8px 12px, 1px 1.75em !important;
    background-repeat: no-repeat !important;
}

p {
    margin: 1em 0 0;
    line-height: 1.5;
}

em {
    font-style: italic;
}

strong, b {
    font-weight: bold;
}

ol, ul { 
    list-style: none; 
}

blockquote, q { 
    quotes: none; 
}

blockquote:before, blockquote:after, q:before, q:after {
    content:'';
    content:none
}

a { 
    text-decoration: none; 
    color: inherit;
}

a:hover {
    text-decoration: none;
}

table {
    border-collapse:collapse;
    border-spacing:0
}

small{
    font-size: small;
}

.clear { clear:both }
.sticky {}
.bypostauthor {}

.wp-caption {
    text-align: center;
}
.wp-caption-text {
    margin: 0 0 1em;
    font-size: .8em;
}
.gallery-caption {}

.serif { font-family: 'Times New Roman', serif !important; }
.sans-serif { font-family: 'Helvetica', 'Arial', sans-serif !important; }

a.fancybox.image { display: inline; }
.alignright { float: right; clear: right;/* margin-left: .5em; */}
.alignleft { float: left; clear: left;/* margin-right: .5em;*/ }
.aligncenter { margin: auto; display: block; }

.textalignright { text-align: right; }
.textalignleft { text-align: left; }
.textaligncenter { text-align: center; }

.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.captilize { text-transform: capitalize; }

.inner-content ul {
    margin-top: 1em;
    margin-left: 1.5em;
    line-height: 1.5;
}

.screen-reader-text {
    clip:rect(1px, 1px, 1px, 1px);
    position:absolute !important
}

.inline-left {
    display: inline-block;
    box-sizing: border-box;
    margin-right: -0.125rem;
    
}
.inline-right {
    display: inline-block;
    box-sizing: border-box;
    margin-left: -0.125rem;
    
}

.left-transparent-gradient {
    background: -moz-linear-gradient(left,  rgba(255,255,255,0) 0%, rgba(255,255,255,0.21) 25%, rgba(255,255,255,0.85) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.21) 25%,rgba(255,255,255,0.85) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.21) 25%,rgba(255,255,255,0.85) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#d9ffffff',GradientType=1 ); /* IE6-9 */

}

.btn,
.rounded-btn {
    display: inline-block;
    padding: 1rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: bold;
    outline: 0;
    border: 0;
}

.rounded-btn {
    border-radius: .25rem;
}


.mobile {
    display: none;
}

iframe {
    max-width: 57em;
    width: 100%;
    height: 30em;
    margin: auto;
    display: block;
}

/*
    Desktop Styles
    -----------------
*/
.container { 
    margin: auto;
    max-width: 90rem; /* 1440px */
}

/* Layout Styles */
.layout-row,
.content-block {
    padding: 1em;
    position: relative;
}

.layout-row.dark .content-block {
    color: #fff;
}

.layout-row.light .content-block {
    color: #333;
}

.layout-row.left-content {
    text-align: left;
}

.layout-row.right-content {
    text-align: right;
}

.layout-row.center-content {
    text-align: center;
}
/* End Layout Styles */



/* Header - All Layouts */
header#site-header {}
div#header-main { 
    padding: 1em; /* 16px */ 
}

a#site-logo {
    display: inline-block;
    max-width: 250px;
}
a#site-logo img {
    width: 100%;
    height: auto;
}

div#social-links {}


/* Navigation Menus - Desktop */
nav#primary, nav#secondary { 
    display: inline-block;
}
nav#primary li.menu-item, nav#secondary li.menu-item { 
    display: inline-block; 
}

nav#primary { 
    width: 100%;
}
nav#primary li.menu-item a { 
    display: block;
    padding: .5em 1em; /* 8px 16px */
    margin-right: -4px;
    text-transform: uppercase;
    font-weight: bold;
}
nav#primary li.current-menu-item a {
    opacity: .5;
}


/*nav li ul.sub-menu {
    display: none;
}*/


nav ul > li {
    position: relative;
}

nav ul.sub-menu {
    opacity: 0;
    position: absolute;
    min-width: 12rem;
    font-size: 14px;
    text-align: left;
    background-color: #f8f6f2;
    border: 1px dashed;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

nav li.menu-item-has-children:hover ul.sub-menu {
    opacity: 1;
    z-index: 9999;
}

nav ul.sub-menu li, 
nav ul.sub-menu li a {
    width: 100%;
    color: #fff;
}

nav ul.sub-menu li:hover a {
    background-color: #d1cbc6;
}



nav#secondary li.menu-item {
    margin-right: -4px;
}
nav#secondary li.menu-item a { 
    display: block;
    padding: 0em 1.75em 0;
    border-left: 2px solid #d8c564;
    text-transform: uppercase;
    color: #7d7d7d;
    letter-spacing: .1em;
}
nav#secondary li.menu-item:first-child a {
    border-left: 0px;
}

span.inline-menu-label {
    display: inline-block;
    padding: 1rem 0em;
    color: #3399cc;
    font-weight: bold;
    font-size: 1.25em;
}

/* Navigation Menus - Mobile Toggle Menu */

#mobile-menu-btn {
    /*display: block;*/
    border: 1px dashed #39302a;
    font-weight: bold;
    padding: 1em;
    background-color: #fff;
    margin: 0 auto;
    text-align: left;
}
.mobile-slide-menu{ 
    -webkit-transition: left 0.3s ease;
    -o-transition: left 0.2s ease;
    -moz-transition: left 0.2s ease;	
    -ms-transition: left 0.2s ease;
    transition: left 0.2s ease;
    position:fixed;
    top: 0;
    bottom: 0px;
    left: -300px;
    width: 280px; 
    z-index: 999999; 
}


#mobile-toggle-menu {
    background-color: #FFFFFF;
    /*padding: 0 .75em;*/
    box-sizing: border-box;
    outline: 0 !important;
    box-shadow: 5px 5px 10px -5px;
    overflow-y: scroll;
}
  
#menu-primary.mobile-menu {
    border-top: 1px dashed;
    border-right: 1px dashed;
    /*height: 100%;*/
}

.mobile-slide-menu a#site-logo {
    padding: 0em !important;
    background-color: #e8e2dc !important;
    background-image: url(https://www.thesouthernlandbrokers.com/wp-content/uploads/2014/01/Hardwood-Stock-Photo-768x513.jpg);
    background-size: cover;
    margin-bottom: 0;
}

.mobile-slide-menu .dark-overlay {
    background-color: rgba(0,0,0,0.25);
    padding: 1.5em;
}

.mobile-slide-menu.active { 
    left: 0px !important; 
}

.mobile-menu-header {
    text-transform: uppercase;
    font-size: .75em;
    font-weight: bold;
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
    text-shadow: 1px 1px 3px #000;
}

.mobile-menu-header span#close-toggle-menu {
    display: block;
    padding: 1em;
}

.mobile-menu-header span#close-toggle-menu:hover {
    cursor: pointer;
}

.mobile-slide-menu ul { 
    list-style: none; 
    padding: 0px !important; 
}

.mobile-slide-menu li {
    border-bottom: 0px !important; 
}

.mobile-slide-menu li a {
    display: block; 
    text-align: left;
    text-transform: uppercase; 
    font-weight: bold;
}

.mobile-slide-menu li > ul li a {
    padding: 10px 20px 6px; 
}	

.mobile-slide-menu li > ul li a:before { 
    /*content:'> ';*/  
    vertical-align: middle; 
    margin-right: 5px; 
}

.mobile-slide-menu li > ul li > ul li a {
    padding: 10px 30px 6px; 
}

.mobile-slide-menu .sub-menu { 
    display: block; 
    margin: 0px; 
    list-style: none; 
    position: relative; 
    top: 0px; 
    text-align: left; 
}


.mobile-slide-menu li
{
    list-style: none !important;
}

.mobile-slide-menu a 
{
    text-decoration: none !important;
    background-color: transparent !important;
    padding: 1em !important 
}

.mobile-slide-menu .sub-menu li a
{
    padding: 10px 10px 10px 20px !important;
}

.mobile-slide-menu ul.sub-menu
{
    opacity: 1  !important;
    z-index:auto !important;
    width: auto !important;

}

#menu-mobile-menu ul.sub-menu
{
    background-color: rgba(99, 95, 67, 0.5) !important;
}


/* Header Layout : lmr-layout (aka left-middle-right) */
header.lmr-layout {}
header.lmr-layout div#header-main .container > * {
    vertical-align: middle;
}
header.lmr-layout nav#primary {
    width: auto;
    float: right;
    padding: .75em;
}
header.lmr-layout div#social-links { 
    display: inline-block; 
    width: 15.625em; /* 250px */ 
}

header.lmr-layout div#header-bottom {
    background-color: #ffffff;
}


/* Home Page: Feature CTAs */
div#largeCTA-offsetFeatPosts {
    padding: 4rem 0;
}
div#largeCTA-offsetFeatPosts div.container > * {
    vertical-align: top;
}
div#largeCTA-offsetFeatPosts div#main-feature {
    width: 70%;
    /* max-width: 62.5rem; */
    /* max-height: 37.5rem; */
    height: 600px;
    display: inline-block;
    box-sizing: border-box;
    background-color: #39c;
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    position: relative;
}

div#main-feature .left-transparent-gradient {
    height: 100%;
    width: 75%;
    position: absolute;
    right: 0;
}

div#main-feature section {
    width: 26em;
    position: absolute;
    right: 0px;
    bottom: 0px;
}

div#main-feature header {
    padding: 2em 2em 0;
    text-align: center;
    line-height: 1.5;
    color: #39C;
}

div#main-feature hr {
    width: 23em;
    margin: 1.5em auto;
}

div#main-feature section > div {
    padding: 0 2rem 2rem;
    width: 22rem;
    margin: auto;
    text-align: center;
    line-height: 1.5;
    color: #777;
    font-weight: 100;
}

aside#side-features {
    width: 30%;
    display: inline-block;
    padding-left: 4rem;
    box-sizing: border-box;
}

aside#side-features section > a {
    display: block;
}

.side-feature-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 220px;
    margin-bottom: 1em;
    border: 1px solid #fdfdfd;
    box-sizing: border-box;
}




/* Simple Parallax Section Styles */
.parallax {
    height: 30em;
    perspective: 1px;
    overflow-x: hidden;
    overflow-y: hidden;
    background: fixed;
}
.parallax_layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.parallax_layer_base {
    transform: translateZ(0);
    padding: 4rem 0;
}
.parallax_layer_back {
    transform: translateZ(-1px);
}

#parallax_row.two-column .content-box {
    width: 100%;
    max-width: 43.25em;
    max-width: calc(50% - 1.75em);
    height: 21.875em;
    background-color: #fff;
    display: inline-block;
    vertical-align: top;
}

#parallax_row.two-column .content-box.inline-left {
    margin-right: 1.75em;
}

#parallax_row.two-column .content-box.inline-right {
    margin-left: 1.75em;
}

#parallax_row .cb-inner.inline-left,
#parallax_row .cb-inner.inline-right{
    max-width: 22.5em;
    padding: 3em;
    vertical-align: top;
}

#parallax_row .cb-inner.inline-left{
    padding-right: 1.5em;
}

#parallax_row .cb-inner.inline-right{
    padding-left: 1.5em;
}

#parallax_row .cb-img {
    max-height: 15.7em
}



/* Image Link Grid Section */
div#image-link-grid {
    padding: 1em 0em 4em;
}

#image-link-grid h3 {
    color: #7d7d7d;
    padding-bottom: 1em;
    text-align: center;
    max-width: 20em;
    margin: 1em auto;
}

#image-link-grid a.image-link {
    display: inline-block;
    max-width: 29.325em;
    max-width: calc(calc(100% / 3) - calc(4em / 3));
    height: 14em;
    width: 100%;
    margin-top: 1em;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 1em;
    box-shadow: 0px 9px 7px -10px #17445a;
}

#image-link-grid a.image-link:nth-of-type(3n+2) {
    margin: 0 2em;
}

a.image-link span {
    display: block;
    max-width: 10rem;
    text-align: center;
    margin: 6.5rem auto;
    font-size: 1.5em;
    font-family: 'Times New Roman', serif;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0px 0px 5px #333;
}





/* Default Page Styles */
.left-content {
    width: 100%;
    max-width: 67%;
    max-width: calc(70% - 2em);
    float: left;
    -webkit-transition: padding 0.2s ease;
    -o-transition: padding 0.2s ease;
    -moz-transition: padding 0.2s ease;	
    -ms-transition: padding 0.2s ease;
}

.posts.left-content {
    text-align:center;
}

.left-content .heading {
    text-align: center;
    padding: 1em 0;
}

.left-content .inner-content img {
    margin-top: .5em;
    margin-bottom: .5em;
}

.right-content {
    width: 100%;
    max-width: 30%;
    float: right;
}


#post img#feat-img,
#page img#feat-img{
    display: block;
    width: 100%;
    margin-bottom: 2em;
}

aside#sidebar { padding:1.5em; }

#sidebar .widget-container {
    margin-bottom: 2rem;
}

#sidebar .widget-container:last-child {
    margin-bottom: 0;
}

#sidebar .widget-title {
    text-align: center;
    margin-bottom: 1em;
}

#sidebar .custom-widget-image {
    max-width: 45%;
    height: auto;
    margin-bottom: 1em;
    margin-right: 1em;
    float: left;
}

#sidebar .custom-widget-subtitle {
    display: inline-block;
    font-weight: bold;
    color: #c05746;
    margin-bottom: 1em;
}

#sidebar .custom-widget-text {
    font-size: .75em;
    line-height: 1.5;
    color: #7d7d7d;
}

#sidebar .custom-widget-text {
    font-size: .75em;
    line-height: 1.5;
    color: #7d7d7d;
}

.widget-btn-container {
    text-align: center;
}

#sidebar .widget-btn {
    clear: both;
    display: inline-block;
    max-width: 50%;
    margin: 1em auto 0;
}



/* Blogroll */
article.postlet {
    display: inline-block;
    max-width: 20.5em;
    max-width: calc(calc(100% / 3) - calc(2em / 3) - 0.1875em);
    min-width: 20em;
    min-height: 22.75em;
    vertical-align: top;
    background-color: #f2f0e7;
}

article.postlet:nth-of-type(3n+2) { /* Desktop Only */
    margin: 0px 1em;
}

.postlet-img {
    height: 12.5em;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.postlet header {
    margin-bottom: 0em !important;
    padding: 0 1.5em;
}

.postlet-title {
    margin: 1em 0em !important;
}

.postlet section.entry-summary {
    padding: 0 1.5em 1.5em;
}

.postlet section.entry-summary p {
    margin: 1rem 0 0 !important;
    font-size: 14px;
    color: #7d7d7d;
    line-height: 1.5;
}


/* Search Results */

.post-meta {
    font-size: .8em;
    letter-spacing: 1px;
    color: #555;
    margin-top: .5rem;
    line-height: 1.25;
}

.post-meta span a:hover {
    border-bottom: 1px dotted;
}



nav.custom-pagination {
    margin: 2em auto;
    text-align: center;
    padding: 1em 0;
    border-top: 1px solid;
    border-bottom: 1px solid;
}

a.next, a.prev {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: .125em;
}

.page-numbers {
    margin-left: 4px;
    color: #7d7d7d;
    font-weight: bold;
}

span.page-numbers.current {
    color: #000;
}


span.pagination-separator {
    color: #7d7d7d;
    font-weight: bold;
}

.custom-pagination .page-numbers:last-child .pagination-separator {
    display: none;
}



/*COMMENT AREA*/
section#comments {
    margin-top: 2em;
}

div.reply { text-align: right; }
a.comment-reply-link {
    border: none;
    text-align: right;
    padding: 0em;
    font-size: 12px;
    margin: 0 .5em;
    border-bottom: 1px dotted;
    text-transform: uppercase;
    letter-spacing: .1rem;
    font-weight: bold;
}

form#commentform input[type='text'], 
form#commentform textarea, .wpcf7 input, .wpcf7 textarea {
    background-color: #f8f6f2;
}

form#commentform input#submit, .wpcf7 input[type="submit"] {
    background-color: rgba(0, 0, 0, 0);
    border-bottom: 1px dotted !important;
    width: auto;
    margin: 1em auto 0;
    display: block;
    padding: 0 !important;
    margin-top: 1.5rem;
    border-radius: 0;
    height: auto !important;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1rem;
    font-weight: bold;
}


#respond {
    padding: 1em 2em 2em;
    background-color: #fff;
    box-shadow: 0px 6px 10px -10px #39312a;
}

h3#reply-title {
    padding: 0;
    padding-top: 1em;
    font-size: 14px;
}

h2.screen-reader-text {
    display: none;
}

p.logged-in-as {
    font-size: .8em;
    padding-top: .5em;
}

.logged-in-as a {
    color: rgb(0,0,0);
    text-decoration: none;
}

.comment-form-comment p label {
    display: block;
    width: 100%;
    color: #000 !important;
    text-transform: capitalize !important;
    letter-spacing: normal !important;
}

textarea#comment {
    display: block;
    width: 100%
}

input#submit {
    border: none;
    border-radius: 4px;
}

h2.comments-title {
    font-size: 1.2em;
    color: rgb(102, 0, 51);
}

ol.comment-list {
    list-style: none;
}

.comment-body {
    background-color: #fff;
    box-shadow: 0px 6px 10px -10px #39312a;
    padding: 1em;
}

.comment-author.vcard {
    display: block;
}

img.avatar {
    display: none;
}

cite.fn {
    display: block;
    font-size: 1em;
    line-height: normal;
    font-weight: bold;
}

cite.fn a.url {
    color: #000 !important;
    text-decoration: none !important;
}

span.says {
    display: none;
}

.comment-meta.commentmetadata a {
    color: #333;
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 1px;
    line-height: 1;
}

.comment-meta.commentmetadata a:hover {
    text-decoration: none;
}

section#comments ul {
    list-style-type: none;
    margin: 0;
}

section#comments ul > li ul {
    list-style-type: none;
    margin-left: 2em;;
}

section#comments ul > li {
    margin: 1em 0;
    padding: 0;
}

li.comment p {
    color: #333;
    margin: .5em 0 1em;
    margin: 1em auto;
    width: 95%;
}


ol.children {
    list-style: none !important;
}


/* Footer */
footer {
    position: relative;
    font-size: 14px;
}

footer div { box-sizing: border-box; }

footer .widget-container {
    width: 100%;
    display: inline-block;
    padding: 2rem 4rem;
    vertical-align: top;
    margin: 2em -4px 2em 0;
}

footer.three-column-layout .widget-container {
    max-width: 33.3333333333333%;
    max-width: calc(100% / 3);
}

footer.four-column-layout .widget-container {
    max-width: 25%;
    max-width: calc(100% / 4);
}

footer.three-column-layout .widget-container:nth-child(2) {
    border-left: 2px solid rgba(255, 255, 255, .5);
    border-right: 2px solid rgba(255, 255, 255, .5);
}

#copyright {
    padding: 1.5rem 2rem;
}


#appstudios_love {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 1em;
    background-color: rgba(50,50,50, 0.3);
    font-size: .75em;
    color: #dfdfdf;
}

footer .widget-container h3 {
    margin-bottom: 1.5em;
    color: #a38d72;
    font-size: 16px;
}


footer .widget_recent_entries li {
    position: relative;
    padding-top: 1em;
    margin-bottom: 1em;
}

footer .widget_recent_entries ul li a {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: .05em;
}

footer .widget_recent_entries a {
    display: block;
}

footer .thestudio_cta_widget .custom-widget-text {
    margin-top: 2em;
    line-height: 1.5;
    font-size: 12px;
}

footer .widget-container li.menu-item {
    margin-top: 1em;
    line-height: 1.5;
}

footer .widget-container span.copyright {
    color: rgba(255, 255, 255, 0.25);
}





/* Move to child */

footer .widget_recent_entries li span.post-date {
    position: absolute;
    top: 0;
    left: 0;
    opacity: .5;
    font-size: .9em;
}


footer .thestudio_cta_widget:first-child {
    padding-top: 0;
}



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

    div#main {
        padding: 1em 0 0;
        
    }
    
    .left-content {
        max-width: 67%;
    }
    
    .single.left-content {
        padding: 1em;
    }
    
    .right-content {
        max-width: 33%;
        margin-top: 1em;
    }
    
}


@media screen and (max-width: 1140px ) {
    
    .left-content {
        float: none;
        max-width: 60rem;
        margin: auto;
        /*padding: 2em;*/
    }
    
    .right-content {
        float: none;
        max-width: none;
        margin-top: 0;
    }
    
    aside#sidebar {
        padding: 1.5em 0;
        text-align: center;
    }
    
    #sidebar .widget-container {
        width: 32.5%;
        width: calc(calc(100% / 3) - calc(.5rem / 3));
        vertical-align: top;
        display: inline-block;
        text-align: left;
    }
    
    #sidebar .widget-container:nth-child(3n-1) {
        margin: 0 .25rem;
    }
    
}



@media screen and (max-width: 1024px ) {
    
    .left-content {
        padding: 1em;
    }
    
    .left-content .inner-content {
        padding: 1em !important;
        font-size: 16px;
    }
    
    
    footer.four-column-layout .widget-container {
        max-width: 49%;
        max-width: calc(100% / 2);
    }
    
    footer .widget-container {
        padding: 2em !important;
        text-align: center;
    }
    
    iframe {
        height: 27em;
    }


}

@media screen and (max-width: 767px ) {
    
    body {
        font-size: 14px;
    }
    
    iframe {
        height: 22em;
    }
    
    select {
        padding: .5rem 3rem .5rem 1rem;
        width: 100%;
        border: 0;
        outline: 0;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: linear-gradient(45deg, rgba(0, 0, 0, 0) 51%, #b3b3b3 0px), linear-gradient(135deg, #b3b3b3 7px, rgba(0, 0, 0, 0) 50%), linear-gradient(to right, #b3b3b3, #b3b3b3) !important;
        background-position: calc(100% - 20px) calc(1.6em + 0px), calc(100% - 12px) calc(1.6em + 0px), calc(100% - 2.75em) 0.9em !important;
        background-size: 8px 12px, 8px 12px, 1px 2em !important;
    }
    
    nav#primary {
        text-align: center !important;
    }
    
    div#main {
        padding: 0;
    }
    
    #sidebar .widget-area {
        max-width: 32em;
        margin: auto;
        padding: 1em 0 0;
    }
    
    #sidebar .widget-container:nth-child(3n-1) {
        margin: 0 0 1.5em;
    }
    
    #sidebar .widget-container {
        margin-bottom: 1.5em;
        display: block;
        width: auto !important;
    }
    
    span.listing-details {
        font-size: .6em;
    }
    
    nav.custom-pagination {
        width: 100%;
        padding: 1em 0;
        font-size: 16px !important;
        padding: .5em 0 0;
    }
    
    nav.custom-pagination .page-numbers {
        display: none;
    }
    
    span.page-numbers.current,
    a.next, a.prev { 
        display: inline !important;
    }
    
    span.pagination-separator {
        display: none;
    }
    
    span.page-numbers.current {
        margin-left: 0;
    }
    
    .left-content .inner-content img {
        max-width: 100%;
        height: auto;
        margin: .5em auto;
    }
    
    .mobile {
        display: inherit !important;
    }
    
    .non-mobile {
        display: none !important;
    }
    
    

}

@media screen and (max-width: 640px ) {
    
    .left-content .inner-content img {
        display: block;
        float: none !important;
    }
    
    .alignright, .alignleft {
        float: none;
        margin: auto;
    }
    
    .wp-caption {
        width: 100% !important;
    }
}

@media screen and (max-width: 479px ) {
     
    iframe {
        height: 15em;
    }
    
    aside#sidebar {
        padding: 1em;
    }
    
    footer.four-column-layout .widget-container {
        max-width: none;
        display: block;
        margin: 0 0 1em;
    }
    
    footer .widget-container {
        padding: 1em !important;
        text-align: center;
    }
    
    

}

