body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 100%;
}

html,
body {
    height: 100%;
}

img {
    max-width: 100%;
}

.backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

:focus {
    outline: none;
}

.backgrounds > div.slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.carousel-fade .carousel-inner .item {
    opacity: 0;
    -webkit-transition-property: opacity;
    -moz-transition-property: opacity;
    -o-transition-property: opacity;
    transition-property: opacity;
    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    -ms-transition: opacity 1s;
    -o-transition: opacity 1s;
    transition: opacity 1s;
}

.carousel-fade .carousel-inner .active {
    opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    left: 0;
    opacity: 0;
    z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}

.carousel-fade .carousel-control {
    z-index: 2;
}

.h1,
h1 {
    font-weight: bold;
    color: #CA1624;
    text-transform: uppercase;
    font-size: 3.2em;
}

.header-home {
    width: 100%;
    height: 268px;
    background-size: 100% 100%;
    padding-top: 19px;
    position: relative;
    z-index: 999;
}

#thumbnail-label {
    color: #CA1624;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.8em;
}

#thumbnail-label-2 {
    color: #CA1624;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.8em;
}

#thumbnail-label-3 {
    color: #CA1624;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.8em;
}

.thumbnail .caption {
    padding: 0px;
    color: #4b4b4b;
}

.h1,
.h2,
.h3,
h1,
h2,
h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.footer-mobile {
    display: none;
}

.thumbnail {
    display: block;
    padding: 4px;
    margin-bottom: 20px;
    line-height: 1.42857143;
    background-color: #fff;
    border: none !important;
    border-radius: 4px;
    -webkit-transition: border .2s ease-in-out;
    -o-transition: border .2s ease-in-out;
    transition: border .2s ease-in-out;
    min-height: 400px;
}

.thumbnail-pr {
    display: block;
    padding: 4px;
    margin-bottom: 20px;
    line-height: 1.42857143;
    background-color: #fff;
    border: none !important;
    border-radius: 4px;
    -webkit-transition: border .2s ease-in-out;
    -o-transition: border .2s ease-in-out;
    transition: border .2s ease-in-out;
    min-height: 400px;
}

.project-thumbnail {
    display: block;
    padding: 4px;
    margin-bottom: 20px;
    line-height: 1.42857143;
    background-color: #fff;
    border: none !important;
    border-radius: 4px;
    -webkit-transition: border .2s ease-in-out;
    -o-transition: border .2s ease-in-out;
    transition: border .2s ease-in-out;
    min-height: 480px;
}


/* footer */

.footer-home ul {
    display: inline-block;
    float: right;
    margin: 0;
    padding: 0;
    text-align: right;
    margin-top: 10px;
}

.footer-home ul li {
    display: inline-block;
    margin: 0px 0 8px 0;
    padding: 0;
    font-family: 'Gentium Basic', serif;
    font-size: 1.4em;
    line-height: 1em;
    color: #fff;
}

.footer-home ul li:before {
    content: ' | ';
    display: inline-block;
    padding: 0 8px;
}

.footer-home ul li:first-child:before {
    content: '';
}

.footer-home ul li:last-child:before {
    content: '';
}

.copyr {
    padding-left: 12px;
}

.footer-home ul li a {
    line-height: 1em;
    text-decoration: none;
    color: #fff;
    text-shadow: -2px 1px 5px rgba(2, 2, 2, 0.23);
}

.footer-home p {
    font-family: "Gentium Basic", serif;
    font-size: 1.4em;
    color: #FFF;
    margin-top: -5px;
    text-shadow: -2px 1px 5px rgba(2, 2, 2, 0.23);
    width: 200px;
}

@media only screen and (max-width:1290px) {
    .footer-home p {
        width: 400px;
        margin-top: 5px;
    }
}

.footer-home > p.copyright {
    display: inline-block;
    float: right;
    margin: 33px 34px 17px 34px;
    line-height: 1em;
    vertical-align: middle;
}

.footer ul {
    display: inline-block;
    float: right;
    padding: 0;
    text-align: right;
}

@media only screen and (min-width:1290px) {
    .footer ul {
        margin-top: 8px;
    }
}

.footer ul li {
    display: inline-block;
    margin: 3px 0 0 0;
    padding: 0;
    font-family: 'Gentium Basic', serif;
    font-size: 1.4em;
    line-height: 1em;
    color: #fff;
}

@media only screen and (max-width:780px) {
    .footer p {
        margin-top: 10px
    }
    .footer ul li {
        margin: 5px 0px;
    }
}

.footer ul li:before {
    content: ' | ';
    display: inline-block;
    padding: 0 8px;
}

.footer ul li:first-child:before {
    content: '';
}

.footer ul li:last-child:before {
    content: '';
}

.copyr {
    padding-left: 12px;
}

.footer ul li a {
    line-height: 1em;
    text-decoration: none;
    color: #fff;
    text-shadow: -2px 1px 5px rgba(2, 2, 2, 0.23);
}

.footer p {
    font-family: "Gentium Basic", serif;
    font-size: 1.4em;
    color: #FFF;
    margin-top: -5px;
    text-shadow: -2px 1px 5px rgba(2, 2, 2, 0.23);
    max-width: 170px;
}

@media only screen and (max-width:1224px) {
    .footer p {
        max-width: 490px;
        margin: 0;
    }
}

@media only screen and (max-width:490px) {
    .footer p {
        max-width: 490px;
        margin-top: 5px;
    }
}

.footer > p.copyright {
    display: inline-block;
    float: right;
    margin: 33px 34px 17px 34px;
    line-height: 1em;
    vertical-align: middle;
}


/* mobile footer */

.footer-mobile ul {
    display: inline-block;
    float: right;
    margin: 0;
    padding: 0;
    text-align: right;
}

.footer-mobile ul li {
    display: inline-block;
    /*margin:33px 0 17px 0;*/
    margin: 10px 0 17px 0;
    padding: 0;
    font-family: 'Gentium Basic', serif;
    font-size: 1.4em;
    line-height: 1em;
    color: #fff;
    margin: 0px 0px 6px;
}

.footer-mobile ul li:before {
    content: ' | ';
    display: inline-block;
    padding: 0 8px;
}

.footer-mobile ul li:first-child:before {
    content: '';
}

.footer-mobile ul li:last-child:before {
    content: '';
}

.copyr {
    padding-left: 12px;
}

.footer-mobile ul li a {
    line-height: 1em;
    text-decoration: none;
    color: #fff;
    text-shadow: -2px 1px 5px rgba(2, 2, 2, 0.23);
}

.footer-mobile p {
    font-family: 'Gentium Basic', serif;
    font-size: 1.4em;
    color: #fff;
    margin-top: 6px;
    text-shadow: -2px 1px 5px rgba(2, 2, 2, 0.23);
}

.footer-mobile > p.copyright {
    display: inline-block;
    float: right;
    margin: 33px 34px 17px 34px;
    line-height: 1em;
    vertical-align: middle;
}


/* footer end */

.header-projects-main{
            width: 100%;
            height: 268px;
            padding-top: 19px;
        }
.header-news{
            width: 100%;
            height: 268px;
            padding-top: 19px;
        }
.header-projects{
            width: 100%;
            height: 268px;
            padding-top: 19px;
        }
.header-about{
            width: 100%;
            height: 268px;
            padding-top: 19px;
        }
.header-contact{
            width: 100%;
            height: 268px;
            padding-top: 19px;
        }

.contact-background {
    background: url('http://dev.giantsandgents.com/inhouse/wp-content/themes/inhouse/images/contact-background.jpg') center center no-repeat;
    width: 100%;
    min-height: 686px;
    background-size: cover;
    padding-top: 19px;
}

.contact-background p {
    font-size: 2em;
    font-family: open sans-serif;
}

.contact-background .red-link {
    font-size: 1.5em;
    font-family: open sans-serif;
}

.news-description {
    font-family: "Gentium Basic", serif;
    color: #4b4b4b;
    margin-top: 15px;
    font-size: 1.8em;
}

.slogan {
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.7em;
    letter-spacing: 1.4px;
    text-shadow: -2px 1px 5px rgba(2, 2, 2, 0.23);
    padding-top: 0px;
}

.slogan > span {
    display: block;
    font-family: 'Gentium Basic', serif;
    font-weight: 400;
    color: #fff;
    text-transform: none;
    letter-spacing: .5px;
    font-size: 1.2em;
}

.navbar {
    position: absolute;
    top: 96px;
    left: 25px;
    z-index: 99;
}

.navbar ul {
    margin: 0;
    padding: 0;
    max-width: 200px;
    /*added */
}

.navbar ul li {
    display: block;
    list-style-type: none;
    font-wieght: 300;
}

.navbar-nav>li>a {
    padding-top: 15px;
    padding-bottom: 0px;
}

.navbar ul li a {
    display: block;
    margin: 0px 0px;
    font-size: 1.7em;
    font-weight: 300;
    color: #FFF;
    text-decoration: none;
    letter-spacing: 2.5px;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.navbar > li > a {
    padding-top: 0px !important;
    font-size: 1.7em;
    line-height: 20px;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.back-button {
    position: absolute;
    left: 58px;
}

.back-button > a {
    text-decoration: none;
    color: #d2173a;
    background-image: url("http://dev.giantsandgents.com/inhouse/wp-content/themes/inhouse/images/arrow-back.png");
    display: block;
    height: 61px;
    width: 30px;
    background-repeat: no-repeat;
}

li.active > a > span {
    color: #ffffff !important;
}

.navbar ul li a span {
    display: inline-block;
    color: #d2173a;
    width: 20px;
}

.nav>li>a:focus {
    text-decoration: none;
    background-color: rgba(238, 238, 238, 0);
}

.nav>li>a:hover {
    text-decoration: underline;
    background-color: rgba(238, 238, 238, 0);
}

.navbar-toggle {
    position: relative;
    float: right;
    padding: 9px 10px;
    margin-top: 8px;
    margin-right: 15px;
    margin-bottom: 8px;
    background-image: none;
    border: 0px;
    border-radius: 0px;
    background-color: rgba(242, 37, 26, 0.8);
}

.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border: 2px solid white;
    border-radius: 1px;
}

.page-header {
    padding-bottom: 9px;
    margin: 90px 0 20px;
    border-bottom: none !important;
}

.contact-page-header {
    padding-bottom: 9px;
    margin: 40px 0 80px;
    border-bottom: none !important;
}

@media only screen and (max-width:1200px) {
    .contact-page-header {
        padding-bottom: 9px;
        margin: 40px 0 60px;
        border-bottom: none !important;
    }
}

@media only screen and (max-width:768px) {
    .contact-page-header {
        padding-bottom: 9px;
        margin: 40px 0 20px;
        border-bottom: none !important;
    }
}

.news-h2 {
    margin-top: 0px;
    color: #6F6F6F;
    font-size: 1.3em;
}

.project-thumbnail a>img,
.project-thumbnail>img {
    margin-right: 0px;
    margin-left: 0px;
}

.news-subtitle {
    font-weight: bold;
    text-transform: uppercase;
    color: #CA1624;
    letter-spacing: 2px;
    font-size: 1.8em;
}

.news-subtitle a {
    color: #CA1624;
}

.project-copy {
    font-size: 1.8em;
    font-family: open sans-serif;
}

.read-more {
    color: #CA1624;
    font-size: 1.5em;
    text-decoration: underline;
    font-family: "Open Sans", sans-serif;
}

.read-more-project {
    color: #CA1624;
    font-size: 0.75em;
    text-decoration: underline;
    font-family: "Open Sans", sans-serif;
}

.read-more:hover {
    color: #212121 !important;
}

.read-more-project:hover {
    color: #212121 !important;
}

.receive-update-box {
    padding-top: 24px;
}

.receive-updates {
    color: #CA1624;
    text-decoration: underline;
    font-size: 1.3em;
}

.news-post {
    margin-bottom: 20px;
    margin-top: 20px;
}

.news-post:last-of-type {
    display: none !important;
}

li.active {
    text-decoration: underline;
    color: #ffffff;
}

.red {
    color: #CA1624;
}

hr.custom-seperator {
    border: 1px solid #CA1624;
    margin-top: 30px;
    margin-bottom: 30px;
}

.cont-margin {
    margin-bottom: 100px;
}

.container {
    min-height: 521px;
}
.map-container {
    padding-bottom: 10%;
}

#news-container, #about-container {
    padding-bottom: 5%;
}

.footer {
    margin-top: 100px;
    background-color: rgba(0, 0, 0, 0.66);
    min-height: 65px;
    padding-top: 18px;
}

.footer-mobile {
    background-color: #000;
    min-height: 65px;
    padding-top: 18px;
}

.newsletter {
    padding-left: 50px;
}


/* MODAL COMING SOON */

.modal-soon {
    width: 90%;
    max-width: 1180px;
    max-height: 518px;
    height: 66%;
    background: url("../images/popup-bg.jpg");
    background-repeat: no-repeat;
}

@media only screen and (max-width:768px) {
    .modal-soon {
        width: 96%;
    }

    #news-container, #about-container {
        padding-bottom: 0%;
    }
}

.modal-soon h1 {
    position: relative;
    top: 200px;
    font-size: 6em;
    margin: 0 auto;
    color: #FFF;
}


/*.modal-soon .close {
        float: right;
        font-size: 9em;
        font-weight: 100;
        line-height: 1;
        color: #FFF;
        text-shadow: 0 1px 0 #fff;
        opacity: 1;
      }*/

.modal-soon .close {
    float: right;
    font-size: 9em;
    font-weight: 100;
    line-height: 1;
    color: #FFF;
    text-shadow: 0px 1px 0px #FFF;
    opacity: 1;
    position: absolute;
    top: 0px;
    right: 12px;
}

.modal-soon .close:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    filter: alpha(opacity=50);
    opacity: .5;
}

.modal-content-soon {
    position: relative;
    height: 100%;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 6px;
    outline: 0;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}


/* END MODAL COMING SOON */

.modal-update-me {
    border-radius: 0px;
    border: 0px;
    border-top: 8px solid #CA1624;
}

.btn-update-submit {
    border-radius: 0px;
    padding-left: 35px;
    padding-right: 35px;
    background: #CA1624;
    color: #ffffff;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.btn-update-submit:hover {
    background-color: #212121;
    color: #FFF;
}

.control-label-update-me {
    color: #CA1624;
    font-size: 2em;
}

.modal-footer-update-me {
    padding: 15px;
    text-align: center;
    border-top: 0px;
}

.update-me-input {
    border-radius: 0px;
    min-height: 44px;
}

.control-label-update-me {
    color: #CA1624;
}

.center {
    text-align: center;
}

.newsletter form input {
    font-family: 'Gentium Basic', serif;
    font-size: 1.5em;
    width: 260px;
    float: left;
    border: 0;
    padding: 0;
    background-color: rgba(125, 125, 125, 0.75);
    color: #fff;
    height: 30px;
    text-indent: 10px;
    border-radius: 0px !important;
}

.close-btn {
    position: absolute;
    top: 0px;
    font-size: 3em;
    right: 15px;
}

.no-left-margin {
    margin-left: -15px;
}

.no-right-margin {
    margin-left: -15px;
}

.no-right-padding {
    padding-right: 0px !important;
}

.no-left-padding {
    padding-left: 0px !important;
}

.news-image {
    max-width: 100%;
    width: auto;
    display: block;
    width: 100%;
    height: 100%;
}

.news-post:last-child {
    display: none !important;
}

h2.about-title {
    position: absolute;
    padding-left: 24px;
    color: #ffffff;
    margin-top: 11px;
}

.siteCover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(29, 29, 29, 0.43);
}

.popups {
    position: relative;
    width: 90%;
    max-width: 1255px;
    height: 70%;
    max-height: 518px;
    padding: 1px 0;
    background: url(../images/backgrounds/popup-bg.jpg) top right;
    margin: 96px auto 0 auto;
}

.popups .popupsClose {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 50px;
    height: 50px;
    text-decoration: none;
}

.pageComingSoon {
    position: relative;
    top: 0%;
}

.pageComingSoon p {
    margin-top: 0;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

.aboutPage {
    position: absolute;
    top: 0%;
}

.aboutPage h2 {
    font-weight: 700;
    color: #fff;
    margin: 18px 13% 36px 16%;
    letter-spacing: 1px;
}

.aboutPage p {
    font-family: 'Gentium Basic', serif;
    color: #fff;
    margin: 18px 13% 18px 16%;
    letter-spacing: 1px;
}

.aboutPage p a {
    text-decoration: underline;
    color: #fff;
}

.about-description {
    font-family: "Gentium Basic", serif;
    color: #4b4b4b;
    font-size: 1.8em;
}

@media only screen and (max-width:1200px) {
    .about-description {
        margin-top: 15px;
    }
}

.contact-h3 {
    margin-top: 0px;
}

.contactPage p {
    font-family: 'Gentium Basic', serif;
    color: #fff;
    margin: 16px 14%;
    letter-spacing: 1px;
}

.contactPage .contactBoxes {
    margin: 0 14% 36px 14%;
}

.contactPage .contactBoxes > div {
    width: 50%;
    float: left;
    font-weight: 300;
}

.contactPage .contactBoxes > div img {
    float: left;
    display: block;
    width: 170px;
    height: 145px;
    margin-right: 24px;
}

.contactPage .contactBoxes > div h3 {
    font-weight: 300;
    color: #fff;
    margin: 47px 0 0 0;
    line-height: 1.25em;
}

.contactPage .contactBoxes > div p {
    color: #fff;
    margin: 6px 0;
    line-height: 1.25em;
}

.contactPage p a {
    text-decoration: underline;
    color: #fff;
}

@media only screen and (max-width:768px) {
    .sign-contact {
        margin: 30px 0 15px 0;
    }
    .btn-update-contact {
        width: 100%;
        text-align: center;
    }
    .btn-update-contact:last-child {
        margin-bottom: 30px;
    }
}

.btn-update-contact {
    border-radius: 0px;
    margin-top: 10px;
    font-size: 1.5em;
    padding: 10px 15px;
    background: #CA1624;
    text-align: left;
    text-transform: uppercase;
    color: #ffffff;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    display: -webkit-inline-box;
}

.btn-update-contact:hover {
    background-color: #C0B5B5;
    color: #212121 !important;
    text-decoration: none;
}

.btn-update-contact:focus {
    background-color: #C0B5B5;
    color: #FFF !important;
    text-decoration: none;
}

a.mails {
    color: #111;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.red-link {
    color: #CA1624;
    text-decoration: underline;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

#subForm-mobile {
    display: none;
}

.red-link:hover {
    color: #111;
}

a.mails:hover {
    color: #CA1624;
}

.small-project-images {
    margin-bottom: 9px;
}

#map-canvas {
    max-block-size: 1170px;
    height: 400px;
}

.carousel-indicators {
    position: absolute;
    bottom: 70px !important;
    right: 1%;
    z-index: 99999;
    padding-left: 0px;
    margin-left: -30%;
    text-align: center;
    list-style: outside none none;
}

.newsletterText {
    color: #FFF;
    float: left;
    color: #FFF;
    float: left;
    margin-top: 5px;
    font-size: 1.4em;
    font-family: open;
}

#subForm-mobile input {
    font-family: 'Gentium Basic', serif;
    width: 166px !important;
    float: left;
    border: 0;
    padding: 0;
    background-color: rgba(125, 125, 125, 0.75);
    color: #fff;
    height: 30px;
    text-indent: 10px;
}

#subForm-mobile button {
    font-family: serif;
    border: 0;
    font-size: 1.4em;
    height: 30px;
    background-color: #CDCDCD;
    text-align: center;
    color: #212121;
    width: 80px;
    font-weight: bold;
    margin-right: 25px;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    font-family: "Gentium Basic", serif;
}

#subForm-mobile button:hover {
    background-color: #CA1624;
    color: #FFF;
}

.newsletter form button {
    font-family: serif;
    border: 0;
    font-size: 1.5em;
    height: 30px;
    background-color: #7f7d7d;
    text-align: center;
    color: #212121;
    width: 90px;
    margin-right: 25px;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    font-family: "Gentium Basic", serif;
}

.newsletter form button:hover {
    background-color: #CA1624;
    color: #FFF;
}

@media only screen and (max-width:1280px) {
    .newsletter form input {
        font-family: 'Gentium Basic', serif;
        width: 255px !important;
        float: left;
        border: 0;
        padding: 0;
        background-color: rgba(125, 125, 125, 0.75);
        color: #fff;
        height: 30px;
        text-indent: 10px;
    }
}

@media only screen and (max-width:1200px) {
    .back-button {
        position: relative;
        left: 0px;
    }
    .footer-home ul {
        display: inline-block;
        float: left;
        margin: 0px;
        padding: 0px;
        text-align: right;
        padding-left: 18px;
    }
}


/* Styles for devices with 1024 or less physical pixels */

.logo-img {
    max-width: 100%;
    height: auto;
    float: left;
    margin-right: 25px;
    z-index: 999;
    position: relative;
}


}
@media only screen and (max-width:1024px) {
    .newsletter form input {
        font-family: 'Gentium Basic', serif;
        width: 268px !important;
        float: left;
        border: 0;
        padding: 0;
        background-color: rgba(125, 125, 125, 0.75);
        color: #fff;
        height: 30px;
        text-indent: 10px;
    }
    
    .backgrounds > div.slide .slidePadding {
        position: absolute;
    }
    
    .backgrounds > div#slide1 .slidePadding {
        /*left:19.85%;*/
        left: 5px;
        bottom: 13.7%;
        top: 199px !important;
    }
    
    .backgrounds > div#slide2 .slidePadding {
        /*left:29.3%;*/
        left: 5px;
        bottom: 13.7%;
        top: 199px !important;
    }
    
    .backgrounds > div#slide3 .slidePadding {
        /*left:19.85%;*/
        left: 5px;
        bottom: 13.7%;
    }
    
    .backgrounds > div#slide4 .slidePadding {
        /*left:22.6%;*/
        left: 5px;
        bottom: 13.7%;
        top: 199px !important;
    }
}
@media only screen and (max-width:1024px) {
    .footer ul {
        margin: 5px;
        padding: 0px;
        text-align: left;
        padding-left: 40px;
        float: none;
        margin-left: -19px;
    }
}
@media only screen and (max-width:800px) {
    .newsletter {
        padding-left: 10px;
    }
    
    .footer ul {
        margin: 0px;
        padding: 0px;
        text-align: left;
        padding-left: 0px;
        float: none;
        margin-left: -19px;
    }
}

/* Styles for devices with 768 or less physical pixels */
@media only screen and (max-width:769px) {
    .news-h2 {
        margin-top: 15px;
        color: #6F6F6F;
    }
    
    .footer-mobile ul {
        display: inline-block;
        float: none;
        margin: 0px;
        padding: 0px;
        text-align: left;
        padding-left: 0px;
        margin-left: -18px;
    }
    
    .navbar-toggle {
        display: block;
        position: absolute;
        right: 10px;
        z-index: 99;
    }
    
    #subForm-mobile {
        display: block;
    }
    
    .carousel-caption {
        position: absolute;
        right: 15%;
        bottom: 104px;
        left: 70px !important;
        z-index: 10;
        padding-top: 20px;
        padding-bottom: 20px;
        color: #FFF;
        text-align: left;
        text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.6);
    }
    
    .footer ul {
        margin: 0px;
        padding: 0px;
        text-align: left;
        padding-left: 0px;
        float: none;
        margin-left: -19px;
    }
    
    .navbar ul li a {
        display: block;
        margin: 0px;
        font-size: 1.7em;
        font-weight: 300;
        color: #FFF;
        text-decoration: none;
        letter-spacing: 2.5px;
        padding: 15px;
        min-width: 320px;
    }
    
    .navbar {
        position: fixed;
        top: 10px;
        right: 0px;
    }
    
    .navbar-collapse {
        margin-top: 88px;
        width: 100%;
        background: rgb(124, 124, 124);
        left: 0px;
        padding-left: 0px;
        margin-left: -14px;
        padding-bottom: 14px;
    }
    
    .newsletter {
        left: 0px;
    }
    
    .slideIndicator {
        position: absolute;
        bottom: 108px;
        right: 38px;
        display: block;
        width: 140px;
        height: 9px;
        text-align: right;
        text-decoration: none;
    }

    .footer-mobile {
        display: block;
    }
    #inhouseCarousel{
        position: relative !important; top: -270px !important;
    }
    .footer-home {
        display: none;
    }
    
    .carousel-indicators {
        bottom: 0px !important;
    }
    
    #map-canvas {
        max-block-size: 1170px;
        height: 300px;
    }
    
    .thumbnail-pr {
        min-height: 200px;
    }
}

/* Styles for devices with 640 or less physical pixels */
@media only screen and (max-width:640px) {
    .newsletter form input {
        font-family: 'Gentium Basic', serif;
        width: 166px !important;
        float: left;
        border: 0;
        padding: 0;
        background-color: rgba(125, 125, 125, 0.75);
        color: #fff;
        height: 30px;
        text-indent: 10px;
        border-radius: 0px !important;
    }
    
    .logo-link {
        display: block;
        max-width: 250px;
        z-index: 99;
        text-decoration: none !important;
    }
    
    .logo-img {
        max-width: 100%;
        height: auto;
        margin-right: 25px;
        float: none;
    }
    
    .center-m {
        text-align: center;
    }
    
    .no-left-padding {
        padding-left: 15px !important;
    }
}
@media only screen and (min-width:480px) {
    .newsletter form button {
        float: left;
    }
}

/* Styles for devices with 480 or less physical pixels */
@media only screen and (max-width:480px) {
    .newsletter form input {
        font-family: 'Gentium Basic', serif;
        width: 190px !important;
        float: left;
        border: 0;
        padding: 0;
        background-color: rgba(125, 125, 125, 0.75);
        color: #fff;
        height: 30px;
        text-indent: 10px;
        border-radius: 0px !important;
    }
    
    .newsletterText {
        color: #FFF;
        margin-top: 5px;
        width: 100%;
    }
    
    .news-image {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    .news-h2 {
        margin-top: 15px;
        color: #6F6F6F;
    }
    
    .logo-img {
        max-width: 200px;
        height: auto;
        margin-right: 25px;
    }
    
    .center-m {
        text-align: center;
    }
    
    .no-left-padding {
        padding-left: 15px !important;
    }
}

/* Styles for devices with 320 or less physical pixels */
@media only screen and (max-width:320px) {
    .center-m {
        text-align: center;
    }
    
    .no-left-padding {
        padding-left: 15px !important;
    }
    
    .newsletter form input {
        font-family: 'Gentium Basic', serif;
        width: 125px !important;
        float: left;
        border: 0;
        padding: 0;
        background-color: rgba(125, 125, 125, 0.75);
        color: #fff;
        height: 30px;
        text-indent: 10px;
        border-radius: 0px !important;
    }
    
    .center-on-phone {
        left: 0px;
    }
    
    .newsletterText {
        color: #FFF;
        margin-top: 0px !important;
    }
    
    .newsletter {
        left: 0px;
    }
    
    .news-image {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    .slidePadding.container {
        top: 199px !important;
    }
    
    .backgrounds > div.slide h1 {
        margin: 0;
        font-weight: 700;
        line-height: 1em;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 4px;
        text-shadow: -2px 1px 5px rgba(2, 2, 2, 0.9);
    }
    
    .news-h2 {
        margin-top: 7px;
        color: #6F6F6F;
    }
    
    .logo-img {
        max-width: 200px;
        height: auto;
        margin-right: 25px;
    }
}
@media only screen and (max-width:240px) {
    
    .logo-img {
        max-width: 150px;
        height: auto;
        margin-right: 25px;
    }
}
.slogan {
    padding-top: 14px;
    font-size: 1.4em;
}

/* SLIDER */
#slide1 {
    background: url(../images/backgrounds/slider-bg-true-meaning.jpg) center center no-repeat;
    background-size: cover;
}
#slide2 {
    background: url(../images/backgrounds/slider-bg-beauty-and-brains.jpg) center center no-repeat;
    background-size: cover;
}
#slide3 {
    background: url(../images/backgrounds/slider-bg-up-to-2000.jpg) center center no-repeat;
    background-size: cover;
}
#slide4 {
    background: url(../images/backgrounds/slider-bg-not-just-a-pretty-face.jpg) center center no-repeat;
    background-size: cover;
}
#inhouseCarousel {
    position: absolute;
    top: 0px;
    /*z-index: -1;*/
    
    width: 100%;
    min-height: 650px;
}
.carousel-control {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    width: 15%;
    color: #FFF;
    text-align: center;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.6);
    opacity: 0.5;
    z-index: 2;
}
.h1,
h1 {
    font-size: 3.2em;
}
.carousel-caption {
    position: absolute;
    right: 15%;
    /*bottom: 70px;*/
    
    bottom: 104px;
    left: 283px;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #FFF;
    text-align: left;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.6);
}
.carousel-caption h1 {
    font-weight: 700;
    line-height: 1em;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: -2px 1px 5px rgba(2, 2, 2, 0.9);
}
.white {
    color: #ffffff;
}
.carousel-indicators li {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 1px;
    text-indent: -999px;
    cursor: pointer;
    background-color: transparent;
    border: 1px solid #FFF;
    border-radius: 0px;
    background: #000 none repeat scroll 0% 0%;
}
.caption-paragraph {
    font-size: 1.7em;
    font-family: serif;
    line-height: 1.3em;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: -2px 1px 5px rgba(2, 2, 2, 0.9);
}
.aoFormContainer img,
.formInputBlock table,
.formInputBlock td {
    max-width: 450px !important;
}
.launch-fomr-title {
    max-width: 450px !important;
    width: 100%;
    display: block;
    margin: 20px auto 40px;
}
.launch-fomr-date {
    max-width: 450px;
    width: 100%;
    display: block;
    margin: 0 auto;
    margin-top: 20px;
}
#form_0005 {
    max-width: 650px;
    width: 100%;
    padding: 20px;
    background: url('http://www.inhouseyeg.ca/images/popups/launch-event-background.png') no-repeat center center;
    background-size: cover;
}
#grandOpeningThanks .modal-content {
    max-width: 650px;
    width: 100%;
    padding: 20px;
    background: url('http://www.inhouseyeg.ca/images/popups/launch-event-background.png') no-repeat center center;
    background-size: cover;
}
#form_0005_fld_0_em {
    background: none;
    border: 0;
    border-bottom: 1px solid #a37f54;
    color: #a37f54;
    font-family: 'Cardo', serif !important;
    min-width: 150px;
}
#form_0005_ao_submit_input {
    background-color: #a37f54;
    color: #fff;
    border-radius: 0;
    border: 0;
    padding: 6px 16px;
    margin-left: 20px;
    font-family: 'Cardo', serif !important;
    font-style: italic;
    float: left;
}
input {
    border-radius: 0;
    -webkit-appearance: none;
}
table.ao_tbl_container tr td {
    width: auto;
}
#form_0005_fld_0_em::-webkit-input-placeholder {
    /* Chrome */
    
    color: #a1a1a1;
}
#form_0005_fld_0_em:-ms-input-placeholder {
    /* IE 10+ */
    
    color: #a1a1a1;
}
#form_0005_fld_0_em::-moz-placeholder {
    /* Firefox 19+ */
    
    color: #a1a1a1;
    opacity: 1;
}
#form_0005_fld_0_em:-moz-placeholder {
    /* Firefox 4 - 18 */
    
    color: #a1a1a1;
    opacity: 1;
}
@media (max-width: 650px) {
    #form_0005_fld_0_em {
        width: 100%;
        margin-left: 0;
    }
    
    #form_0005_ao_submit_input {
        margin: 0 auto;
        display: block;
        float: none;
    }
}

.overlay-box .overlay-form {
    position: absolute;
    bottom: 7%;
    width: 100%;
}
.overlay-box #subForm2 {
    width: 96%;
    max-width: 550px;
    margin: 0 auto;
}
.overlay-box #subForm2 input[type=text] {
    font-family: 'Gentium Basic', serif;
    font-size: 1.4em;
    width: 28.5%;
    margin-right: 2.5%;
    float: left;
    border: 0;
    padding: 0;
    background-color: rgba(125, 125, 125, 0.75);
    color: #fff;
    height: 23px;
    text-indent: 10px;
    border-radius: 0px !important;
}
.overlay-box #subForm2 input[type=email] {
    font-family: 'Gentium Basic', serif;
    font-size: 1.4em;
    width: 51%;
    float: left;
    border: 0;
    padding: 0;
    background-color: rgba(125, 125, 125, 0.75);
    color: #fff;
    height: 23px;
    text-indent: 10px;
    border-radius: 0px !important;
}
.overlay-box #subForm2 button {
    font-family: serif;
    border: 0;
    font-size: 1.4em;
    height: 23px;
    background-color: #ffffff;
    text-align: center;
    color: #212121;
    width: 18%;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    font-family: "Gentium Basic", serif;
}
.overlay-box #subForm2 button:hover {
    background-color: #CA1624;
    color: #FFF;
}
@media only screen and (max-width:600px) {
    .overlay-box #subForm2 input {
        font-size: 1.2em;
        height: 23px;
    }
    
    .overlay-box #subForm2 button {
        font-size: 1.2em;
        height: 23px;
    }
}
@media only screen and (max-width:420px) {
    .overlay-box .overlay-form {
        bottom: 3%;
    }
    
    .overlay-box #subForm2 input {
        font-size: 1em;
        height: 23px;
    }
    
    .overlay-box #subForm2 button {
        font-size: 1em;
        height: 23px;
    }
}
@media only screen and (max-width:380px) {
    .overlay-box #subForm2 input[type=email] {
        width: 47%;
    }
    
    .overlay-box #subForm2 button {
        width: 22%;
    }
}

.overlay-box .overlay-form {
    position: absolute;
    bottom: 7%;
    width: 100%;
}
.overlay-box #subForm2 {
    width: 96%;
    max-width: 550px;
    margin: 0 auto;
}
.overlay-box #subForm2 input[type=text] {
    font-family: 'Gentium Basic', serif;
    font-size: 1.4em;
    width: 28.5%;
    margin-right: 2.5%;
    float: left;
    border: 0;
    padding: 0;
    background-color: rgba(125, 125, 125, 0.75);
    color: #fff;
    height: 23px;
    text-indent: 10px;
    border-radius: 0px !important;
}
.overlay-box #subForm2 input[type=email] {
    font-family: 'Gentium Basic', serif;
    font-size: 1.4em;
    width: 51%;
    float: left;
    border: 0;
    padding: 0;
    background-color: rgba(125, 125, 125, 0.75);
    color: #fff;
    height: 23px;
    text-indent: 10px;
    border-radius: 0px !important;
}
.overlay-box #subForm2 button {
    font-family: serif;
    border: 0;
    font-size: 1.4em;
    height: 23px;
    background-color: #ffffff;
    text-align: center;
    color: #212121;
    width: 18%;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    font-family: "Gentium Basic", serif;
}
.overlay-box #subForm2 button:hover {
    background-color: #CA1624;
    color: #FFF;
}
.footer-home {
    margin-top: 100px;
    background-color: rgba(0, 0, 0, 0.66);
    min-height: 65px;
    padding-top: 18px;
    position: fixed;
    width: 100%;
    bottom: 0px;
    z-index: 9999;
}
.aoFormContainer img,
.formInputBlock table,
.formInputBlock td {
    max-width: 450px !important;
}
.launch-fomr-title {
    max-width: 450px !important;
    width: 100%;
    display: block;
    margin: 20px auto 40px;
}
.launch-fomr-date {
    max-width: 450px;
    width: 100%;
    display: block;
    margin: 0 auto;
    margin-top: 20px;
}
#form_0005 {
    max-width: 650px;
    width: 100%;
    padding: 20px;
    background: url('http://www.inhouseyeg.ca/images/popups/launch-event-background.png') no-repeat center center;
    background-size: cover;
}
#grandOpeningThanks .modal-content {
    max-width: 650px;
    width: 100%;
    padding: 20px;
    background: url('http://www.inhouseyeg.ca/images/popups/launch-event-background.png') no-repeat center center;
    background-size: cover;
}
#form_0005_fld_0_em {
    background: none;
    border: 0;
    border-bottom: 1px solid #a37f54;
    color: #a37f54;
    font-family: 'Cardo', serif !important;
    min-width: 150px;
}
#form_0005_ao_submit_input {
    background-color: #a37f54;
    color: #fff;
    border-radius: 0;
    border: 0;
    padding: 6px 16px;
    margin-left: 20px;
    font-family: 'Cardo', serif !important;
    font-style: italic;
    float: left;
}
input {
    border-radius: 0;
    -webkit-appearance: none;
}
table.ao_tbl_container tr td {
    width: auto;
}
#form_0005_fld_0_em::-webkit-input-placeholder {
    /* Chrome */
    
    color: #a1a1a1;
}
#form_0005_fld_0_em:-ms-input-placeholder {
    /* IE 10+ */
    
    color: #a1a1a1;
}
#form_0005_fld_0_em::-moz-placeholder {
    /* Firefox 19+ */
    
    color: #a1a1a1;
    opacity: 1;
}
#form_0005_fld_0_em:-moz-placeholder {
    /* Firefox 4 - 18 */
    
    color: #a1a1a1;
    opacity: 1;
}
.social{
    position: absolute; top: 0; right: 0; z-index: 999999;
}
@media (min-width: ) {

} 
@media (max-width: 650px) {
    #form_0005_fld_0_em {
        width: 100%;
        margin-left: 0;
    }
    
    #form_0005_ao_submit_input {
        margin: 0 auto;
        display: block;
        float: none;
    }
}
@media only screen and (max-width:600px) {
    .overlay-box #subForm2 input {
        font-size: 1.2em;
        height: 23px;
    }
    
    .overlay-box #subForm2 button {
        font-size: 1.2em;
        height: 23px;
    }
}
@media only screen and (max-width:420px) {
    .overlay-box .overlay-form {
        bottom: 3%;
    }
    
    .overlay-box #subForm2 input {
        font-size: 1em;
        height: 23px;
    }
    
    .overlay-box #subForm2 button {
        font-size: 1em;
        height: 23px;
    }
}
@media only screen and (max-width:380px) {
    .overlay-box #subForm2 input[type=email] {
        width: 47%;
    }
    
    .overlay-box #subForm2 button {
        width: 22%;
    }
}
@media (max-width: 767px) {
    body {
        padding-left: 0;
        padding-right: 0;
    }
    
    .project-thumbnail {
        min-height: 365px;
    }
    
    .modal-content-soon {
        z-index: 99999;
    }
    
    .modal-open .modal {
        overflow-x: hidden;
        overflow-y: auto;
        z-index: 99999;
    }
    .social{
        position: relative; top: -105px; /* right: 0; */ z-index: 999; /* left: 77vw; */ float: right;
    }
    .slogan{
        padding-left: 10px;
        padding-right: 20px;
    }
}
@media (max-width: 768px) {
    .social{
        position: relative; top: -70px; /* right: 0; */ z-index: 999; /* left: 77vw; */ float: right;
    }
}
@media (max-width: 420px) {
    .social{
        position: relative; top: -105px; /* right: 0; */ z-index: 999; /* left: 77vw; */ float: right;
    }
}
@media (max-width: 360px) {
    .modal-soon h1 {
        position: relative;
        top: 100px;
        font-size: 6em;
        margin: 0px auto;
        color: #FFF;
    }
    
    .modal-soon h1 {
        position: relative;
        top: 100px;
        font-size: 5em;
        margin: 0px auto;
        color: #FFF;
    }
    
    .modal-soon {
        width: 93%;
    }
    
    .project-thumbnail {
        min-height: 365px;
    }
}
@media (max-height: 360px) {
    .modal-soon h1 {
        position: relative;
        top: 76px;
        font-size: 4em;
        margin: 0px auto;
        color: #FFF;
    }
}
@media (max-height: 250px) {
    .modal-soon h1 {
        top: 33px;
        font-size: 4em;
    }
}
