html {
    min-width: 320px;
}

div#resp {
	display: none;
}

div.expand {
	display: none;
}

@media screen and (max-width: 997px) { 
    .wrap { 
        width: 100%; 
    } 
    div#hero {
        background-size: cover;
        min-height: 345px;
        height: 100%;
        max-height: 358px;
        width: auto;
    }
    div#features {
        width: 100%;
    }
    div#features div.feature {
        max-width: 245px;
        width: 25%;
    }
    div#content div.main {
        float: none;
        padding: 10px 0;
        max-width: 615px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    div#content div.main img.wp-image-285 {
        max-width: 600px;
        width: 100%;
        height: auto;
    }
    div#content div.main img.wp-image-305 {
        max-width: 600px;
        width: 100%;
        height: auto;
    }
    div#content div.main img.wp-image-303 {
        max-width: 600px;
        width: 100%;
        height: auto;
    }
    div#content div.main img.wp-image-311 {
        max-width: 600px;
        width: 100%;
        height: auto;
    }
    div#content div.main img.wp-image-308 {
        max-width: 600px;
        width: 100%;
        height: auto;
    }
    div#content div.main img.wp-image-405 {
        max-width: 600px;
        width: 100%;
        height: auto;
    }
    div#content div.main img.wp-image-410 {
        max-width: 600px;
        width: 100%;
        height: auto;
    }
    div#content div.main img.wp-image-350 {
        max-width: 600px;
        width: 100%;
        height: auto;
    }
    div#content div.main img.wp-image-444 {
        max-width: 600px;
        width: 100%;
        height: auto;
    }
    div#content div.main img.wp-image-482 {
        max-width: 600px;
        width: 100%;
        height: auto;
    }
    /*div#content div.main table img.alignnone {max-width:100px; height: auto;}*/
    div#content div.side {
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 993px) { 
    div#hero {
        min-height: 340px;
    }
    div#home div.column:nth-child(3) {
        width: 300px;
    }
    div#home div.column:nth-child(4) {
        width: 300px;
    }
    div#content div.main div.post iframe {
    	margin-left: auto;
    	margin-right: auto;
    	display: block;
    }
    div#content div.main div.post p img:not(.wp-image-270) {
    	margin-left: auto;
    	margin-right: auto;
    	display: block;
    }
}

@media screen and (max-width: 968px) { 
    div#hero {
        min-height: 335px;
    }
    div#home div.column.left {
        width: 600px;
    }
    div#home div.column.right {
        width: 300px;
    }
}

@media screen and (max-width: 943px) { 
    div#hero {
        min-height: 330px;
    }
    div#home div.column:nth-child(3) {
        width: 290px;
    }
    div#home div.column:nth-child(4) {
        width: 290px;
        float: none;
        margin: auto;
    }
}

@media screen and (max-width: 923px) { 
    div#hero {
        min-height: 325px;
    }
    div#home {
        text-align: center;
    }
    div#home img {
        float: none;
        margin-bottom: 30px;
    }
    div#home div.column {
        text-align: left;
    }
    div#home div.column:nth-child(3) {
        float: none;
        margin: auto;
        margin-bottom: 30px;
        width: 325px;
        margin-bottom: 30px;
    }
    .div#home div.column:nth-child(4) {
        width: 325px;
    }
    div#home div.column.left {
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
    div#home div.column.right {
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 900px) {
    div#hero {
        min-height: 320px;
    }
}

@media screen and (max-width: 880px) {
    div#hero {
        min-height: 315px;
        background-position: 100%;
    }
}

@media screen and (max-width: 840px) {
    div#hero {
        min-height: 280px;
    }
    div#hero div.tagline {
        padding: 20px;
    }
}

@media screen and (max-width: 768px) {
    div#head div#nav {
        display: none;
    }
    div#head div#nav-mobile {
        display: block;
        position: absolute;
        bottom: 0px;
        font-size: 16px;
        font-weight: 600;
        height: 38px;
        background: grey;
        width: 100%;
    }
    div#head div#nav-mobile ul {
        list-style: outside none none;
        margin: 0px; padding: 0px;
    }
    div#head div#nav-mobile a {
        color: rgb(130, 133, 132);
        text-decoration: none;
        padding: 8px 15px 9px;
        display: block;
    }
    div#head div#nav-mobile li.current-menu-item a {
        color: rgb(255, 255, 255);
    }
    div#head div#nav-mobile a:hover {
        color: rgb(223, 99, 50);
    }
    div#head div#nav-mobile ul.sub-menu {
        display: none;
        list-style: outside none none;
        padding: 0px;
        position: absolute;
        z-index: 100;
    }
    div#head div#nav-mobile ul.sub-menu li a {
        color: rgb(255, 255, 255);
        padding: 8px 15px;
        line-height: 1.5em;
        font-size: 13px;
    }
    div#head div#nav-mobile ul.sub-menu li a:hover {
        color: rgb(223, 99, 50);
    }

    div#head div#nav-mobile div#resp {
        width: 22px;
        height: 22px;
        padding: 9px 13px 11px 13px;
        position: absolute !important;
        top: 0;
        right: 0;
        left: auto;
        cursor: pointer;
        color: #fff;
        text-decoration: none;
        font-size: 16px;
        text-indent: -9999em;
        line-height: 22px;
        font-size: 1px;
        display: block;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: 700;
        z-index: 101;
    }
    div#head div#nav-mobile div#resp span {
        display: block;
        background: rgb(223, 99, 50);
        height: 3px;
        margin-top: 3px;
    }
    div#head div#nav-mobile span.expand {
        width: 26px;
        height: 26px;
        border: none !important;
        padding: 0;
        text-align: center;
        position: relative;
        float: right;
        right: 0 !important;
        top: 0 !important;
        z-index: 2;
        font-weight: 700;
        font-size: 26px !important;
        color: white;
        cursor: pointer;
        margin-right: 10px;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
    }
    div#head div#nav-mobile span.expand:hover {
        color: rgb(223, 99, 50);
    }
    div#head div#nav-mobile a {
        display: inline-block;
    }

    div#head div#nav-mobile a {
        color: rgb(255, 255, 255);
    }
    div#head div#nav-mobile ul.sub-menu li.menu-item-object-category.menu-item-has-children ul.sub-menu li {
        visibility: visible;
    }
    div#head div#nav-mobile ul.sub-menu li.menu-item-object-category.menu-item-has-children ul.sub-menu li a {
        padding-left: 35px;
    }
    div#head div#nav-mobile ul#mobile-menu-menu-1 {
        width: 100%;
        position: absolute;
        z-index: 100;
        height: 0;
        margin-top: 38px;
        overflow: hidden;
    }
    div#head div#nav-mobile li.menu-item-object-page {
        width: 100%;
        background: grey;
    }
    div#head div#nav-mobile li.menu-item-has-children {
        width: 100%;
        background: grey;
    }
    div#head div#nav-mobile ul.sub-menu {
        width: 100%;
        position: relative;
        visibility: visible;
        margin-left: 0 !important;
        margin-top: 0 !important;
    }
    div#head div#nav-mobile ul.sub-menu li {
        width: 100%;
        background: grey;
    }
    div#head div#nav-mobile ul.sub-menu li a {
        padding-left: 25px;
    }

    div#head div#nav-mobile li {
        border-bottom: 2px solid darkgrey;
    }
    div#head div#nav-mobile li.menu-item-238 a {
        background: none;
        width: auto;
        height: auto;
        padding: 8px 15px 9px;
        text-indent: 0;
        border: none;
        color: rgb(255, 255, 255);
    }
    div#head div#nav-mobile li.menu-item-238 a:hover {
        color: rgb(223, 99, 50);
    }

    
    div#head div#nav-mobile ul.sub-menu {
        display: none;
    }
    div#head div#nav-mobile ul.sub-menu.displayed {
        display: inline-block;
    }
}

@media screen and (min-width: 768px) {
    div#head div#nav-mobile {
        display: none;
    }
    div#head div#nav {
        display: block;
    }
}

@media screen and (max-width: 720px) { 
    div#hero {
        min-height: 250px;
    }
    div#foot div#copy {
        max-width: 400px;
    }
}

@media screen and (max-width: 700px) {
    div#hero {
        background-position: 90%;
    }
    div#hero div.tagline {
        padding: 20px;
        width: 270px;
    }
}

@media screen and (max-width: 617px) {
    div#hero {
        background-position: 75%;
    }
    div#home div.column.left {
        max-width: 420px;
        width: 100%;
    }
    div#home div.column.left div.testimonials div.testimonial {
        max-width: 320px;
    }
    div#content div.main {
        width: 95%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 600px) { 
    div#head div#logo {
        width: 200px;
        height: 35px;
        background-size: cover;
        top: 80px;
    }
    div#head div#logo a {
        height: 35px;
    }
    div#head div#nav {
        right: 100px;
    }
    div#hero {
        min-height: 245px;
    }
    div#home h1 {
        font-size: 30px;
    }
    div.left.main iframe {
        max-width: 600px;
        width: 100%;
        height: 300px;
    }
    div#content div.main div.post:nth-child(1) iframe {
        width: 420px;
        height: 315px;
    }
    div#content div.main div.post:nth-child(1) iframe#iframe_container {
        width: 550px;
        height: 400px;
    }
}

@media screen and (max-width: 550px) {
    div#head div#nav {
        right: 10px;
    }
    div#hero {
        min-height: 230px;
    } 
    div#features div.feature a.label {
        font-size: 14px;
    }
    div#foot div.social {
        top: 95px;
    }
    div#foot div#login {
        top: 142px;
    }
    div#foot div.menu {
        padding-top: 40px;
    }
    div#content div.main div.post:nth-child(1) iframe#iframe_container {
        max-width: 550px;
        width: 100%;
    }
    div#content div.main div.post:nth-child(1) iframe {
        max-width: 420px;
        width: 100%;
    }
    div#content div.main div.post img.wp-image-469 {
        max-width: 370px;
        width: 100%;
        height: auto;
    }
    div#content div.main div.post img.wp-image-470 {
        max-width: 370px;
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 500px) {
    div#hero {
        min-height: 210px;
    } 
}

@media screen and (max-width: 470px) { 
    div#hero {
        background-size: 120%;
        min-height: 190px
    } 
    div#hero div.tagline {
        top: 0;
    }
    div#home h1 {
        font-size: 26px;
    }
}

@media screen and (max-width: 450px) {
    div.main.left table img {
        max-width: 134px;
        width: 100%;
        height: auto;
    }
    div.main.left table a {
        font-size: 14px;
    }
}

@media screen and (max-width: 430px) {
    div#hero {
        background-size: 120%;
        min-height: 180px
    } 
} 

@media screen and (max-width: 430px) {
    div#hero {
        background-size: 120%;
        min-height: 170px
    } 
} 

@media screen and (max-width: 410px) {
    div#head div#logo {
        left: 10%;
    }
    div#head div#callback a {
        display: none;
    }
    div#hero {
        background-size: 120%;
        min-height: 160px
    } 
    div#home h1 {
        font-size: 20px;
    }
    div#home div.column div.testimonials {
        padding-bottom: 60px;
        padding-left: 10px;
        padding-right: 0;
    }
    div#foot div.social {
	   left: 20px;
	   top: 138px;
	   right: auto;
    }
} 

@media screen and (max-width: 365px) {
    /*div#head div#logo {
        width: 130px;
        height: 23px;
        left: 5px;
    }*/
    div#head div#helpline {
        right: 45px;
        font-size: 14px;
    }
    div#hero {
        background-size: 120%;
        min-height: 217px;
        background-position-y: 100%;
    } 
    div#hero div.tagline {
        padding: 1%;
        width: 98%;
    }
    div#features div.feature a.label {
        font-size: 12px;
    }
    div#home div.column.left div.testimonials div.testimonial {
        max-width: 290px;
    }
    div#home div.column:nth-child(3) {
        width: 300px;
        padding: 0;
    }
    div#home div.column:nth-child(4) {
        width: 300px;
        padding: 0;
    }
} 

@media screen and (max-width: 340px) {
    div#head div#logo {
        left: 10%;
    }
    div#foot div.social {
        left: 20px;
        top: 180px;
    }
    div#foot div#login {
        right: 20px;
        top: 182px;
    }
    div#foot div.menu {
        padding-top: 60px;
    }
    /*div#hero {
        background-size: 120%;
        min-height: 140px
    } */
} 
@media screen and (max-width: 332px) {
    div#foot div.social {
        left: 20px;
        top: 170px;
    }
    div#foot div#login {
        right: 20px;
        top: 172px;
    }
}