@font-face {
    font-family: avenir_black;
    src: url(avenir_black.otf);
}

@font-face {
    font-family: avenir_book;
    src: url(avenir_book.otf);
}

@font-face {
    font-family: avenir_medium;
    src: url(avenir_medium.otf);
}

@font-face {
    font-family: helvetica_neue;
    src: url(HelveticaNeue-UltraLight.otf);
}

/*::-webkit-scrollbar { 
    display: none; 
}*/

header{
    position: fixed; 
    z-index: 99; 
    background: white; 
    width: calc(100% - 17px);
    /*width: 100%;*/
}

/* Parallax base styles
  --------------------------------------------- */

.parallax {
    height: 500px; /* fallback for older browsers */
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-perspective: 300px;
    perspective: 300px;
    -webkit-perspective-origin-x: 100%;
    perspective-origin-x: 100%;
}

.parallax__group {
    position: relative;
    height: 500px; /* fallback for older browsers */
    height: 100vh;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.parallax__layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transform-origin-x: 100%;
    transform-origin-x: 100%;
}

.parallax__layer--fore {
    -webkit-transform: translateZ(90px) scale(.7);
    transform: translateZ(90px) scale(.7);
    z-index: 1;
}

.parallax__layer--base {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    z-index: 4;
}

.parallax__layer--back {
    -webkit-transform: translateZ(-300px) scale(2);
    transform: translateZ(-300px) scale(2);
    z-index: 3;
}

.parallax__layer--deep {
    -webkit-transform: translateZ(-600px) scale(3);
    transform: translateZ(-600px) scale(3);
    z-index: 2;
}


/* demo styles
--------------------------------------------- */

body, html {
    /*overflow: hidden;*/
    width: 100%;
    min-width: 100%;
    min-height: 100%;
    /*overflow-y: scroll;  has to be scroll, not auto */
    -webkit-overflow-scrolling: touch;
}

body {
    font: 100% / 1.5 Arial;
}

* {
    margin:0;
    padding:0;
}

#logo{
    float: left;
    margin-left: 50px;
    margin-top: 10px;
}

#menu{
    float: right;
    margin-right: 20px;
    margin-top: 40px;
    font-family: avenir_book;  
    font-size: 15px;
    display: block;
}

#menu a{
    color: #404041;
    text-decoration: none;
}

#menu li{
    display: inline-block;  
}

.divider{
    font-size: 20px;
    color: #f9a01b;
}

#menu li:not(.divider){
    padding: 0 30px;
}

.parallax {
    /*font-size: 200%;*/
}

/* centre the content in the parallax layers */
.title {
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}



/* style the groups
--------------------------------------------- */

#group1 {
    z-index: 5; /* slide over group 2 */
    height: 90px;
}
#group1 .parallax__layer--base {
    background: white;
}

#about {
    z-index: 3; /* slide under groups 1 and 3 */
    height: 500px;
}
#about .parallax__layer--back {
    background-image: url(../img/pic1_6.jpg);
    background-size: cover;
    transform: translateZ(-290px) scale(2);
}

.first_bg {
    width: 100%;
    height: 100%;
}

#group3 {
    z-index: 4; /* slide over group 2 and 4 */
    /*height: 550px;*/
    height: 463px;
}
#group3 .parallax__layer--base {
    background: white;
}

#intro {
    z-index: 3; /* slide under groups 1 and 3 */
    height: 500px;
}
#intro .parallax__layer--back {
    background-image: url(../img/pic2_3.jpg);		
    background-size: cover;
    background-position: top; 
    transform: translateZ(-189px) scale(2);
}

#group5 {
    z-index: 3; /* slide over group 4 and 6 */
    /*height: 600px;*/
    height: 559px;
}
#group5 .parallax__layer--base {
    background: white;
}

#services {
    z-index: -3; /* slide under groups 1 and 3 */
    height: 500px;
}
#services .parallax__layer--back {
    background-image: url(../img/pic3_new.jpg);		
    background-size: cover;
    background-position: center; 
    transform: translateZ(-290px) scale(2);
}

#group7 {
    z-index: 3; /* slide over group 7 */
    /*height: 600px;*/
    height: 570px;
}
#group7 .parallax__layer--base {
    background: white;
}

#contact-us {
    z-index: 3; /* slide over group 7 */
    height: 600px;
}

#contact-us .parallax__layer--base {
    background: #E6E7E8;
}

#owl-demo .item img{
    display: block;
    width: 100%;
    height: auto;
}

#group3 .container{
    width: 100%;
    margin: 70px auto 0;
}

.item-title{
    color: #f9a01b;
    font-size: 34px;
    margin: 0 auto;
    text-align: center;
    width: 750px;
    line-height: 40px;
    padding: 0 25px;
}

.item-text{
    /*color: #6D6E71;*/
    color: #515154;
    /*font-size: 15px;*/
    font-size: 16px;
    margin: 20px auto 0;
    text-align: center;
    /*width: 750px;*/
    width: 761px;
    font-family: Verdana;
    padding: 0 10px;
    letter-spacing: -0.3px;
}

#group3 .button{
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    /*top: 270px;*/
    top: 210px;
    width: 900px;
}

#group3 .button .left_arrow{
    float: left;
    cursor: pointer;
}

#group3 .button .right_arrow{
    float: right;
    cursor: pointer;
}

#group3 .menu{
    /*margin: 100px auto 0;*/
    margin: 0 auto 100px;
    width: 800px;	
}

#group3 .menu ul {
    font-size: 0;  
}

#group3 .menu li{
    display: inline-block;
    text-align: center;
    border: 2px solid black;
    cursor: pointer;
    font-family: avenir_black;
    font-size: 15px;
    padding: 10px 48px;
    border-right: 0;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}

#group3 .menu li:last-child{
    border-right: 2px solid black;
}

#group5 .container{
    width: 100%;
    margin: 70px auto 0;
}

#group5 .button{
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    /*top: 270px;*/
    top: 235px;
    width: 900px;
}

#group5 .button .left_arrow{
    float: left;
    cursor: pointer;
}

#group5 .button .right_arrow{
    float: right;
    cursor: pointer;
}

#group5 .menu{
    /*margin: 60px auto 0;*/
    margin: 0 auto 60px;
    width: 800px;	
}

#group5 .menu ul {
    font-size: 0;  
}

#group5 .menu li{
    display: inline-block;
    text-align: center;
    border: 2px solid black;
    cursor: pointer;
    font-family: avenir_black;
    font-size: 15px;
    padding: 10px 45px;
    border-right: 0;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}

#group5 .menu li:last-child{
    border-right: 2px solid black;
}

#group7 .container{
    width: 100%;
    margin: 30px auto 0;
}

#group7 .button{
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 248px;
    width: 800px;
}

#group7 .button .left_arrow{
    float: left;
    cursor: pointer;
}

#group7 .button .right_arrow{
    float: right;
    cursor: pointer;
}

#group7 .menu{
    margin: 60px auto;
    width: 800px;	
}

#group7 .menu ul {
    font-size: 0;  
}

#group7 .menu li{
    display: inline-block;
    cursor: pointer;
    border-right: 1px solid black;
}

#group7 .menu li:last-child{
    border-right: none;
}

#group7 .menu img{
    /*width: 199px;*/
    width: 197px;
}

.owl-controls.clickable{
    display: none !important;
}

i{
    font-size: 13px;
}

ul .active{
    color: #f9a01b;
    background: black;
}

.parallax__group .title{
    color: #ffffff;
    /*font-size: 6vw;*/
    font-size: 90px;
    font-family: helvetica_neue;
    letter-spacing: 4px;
    line-height: 80px;
}

.item_container {

    margin: 0 auto;
    padding: 25px 10px;
    width: 750px;
}

#group7 .item_container {
    width: 660px;
    padding: 0 10px;
}

.item_subcontainer{
    background-color: white;
    height: 400px;
    width: 600px;
    padding: 30px;
}

.item_subcontainer .item-title{
    width: auto;
}

.item_subcontainer .item-text{
    width: auto;
}

.back{	
    text-align: right;
}

.back a{
    color: #ffffff;
    text-decoration: none;
}

.menu_title{
    color: #f9a01b;
    font-size: 34px;
    margin: 0 auto;
    text-align: center;
    width: 750px;
    line-height: 40px;
}

.menu_text{
    color: #6d6e71;
    font-family: Verdana;
    font-size: 15px;
    margin: 20px auto 40px;
    text-align: center;
    width: 750px;
}

.menu_button{
    width: 800px;
    margin: 0 auto;
}

#group7 .container .button{
    display: none;
}

#contact-us .container {
    margin: 70px auto 0;
    width: 800px;
} 

.contact_title{
    color: #f9a01b;
    font-size: 34px;
    text-align: center;	
    margin-bottom: 50px;
}

.contact_left{
    width: 350px;
    display: inline-block;
    vertical-align: top;
    padding: 0 20px;
    color: #6D6E71;
    font-family: Verdana;
    font-size: 14px;
}

.contact_right{
    width: 350px;
    display: inline-block;
    vertical-align: top;
    padding: 0 20px;
    color: #6D6E71;
    font-family: Verdana;
    font-size: 14px;
}

.contact_left table td{
    padding: 10px;
}

.contact_right table td{
    padding: 10px;
    font-weight: bold;
}

.text {
    border: medium none;
    padding: 8px 5px;
    width: 230px;
}

textarea {
    resize: none;
}

#submit_btn {
    border: 2px solid #000000;
    color: #6d6e71;
    font-family: avenir_black;
    font-size: 15px;
    padding: 7px;
    width: 170px;
    cursor: pointer;
    background: white;
    outline: none;
}

a{
    outline: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0); 
    -webkit-tap-highlight-color: transparent;
}

#group7 .item-text a{
    color: #f9a01b;
    font-weight: bold;
    text-decoration: none;
}

#group7 .menu .active{
    background: none;
}

#disclaimer a{
    color: #6d6e71;
    font-family: Verdana;
    font-size: 13px;
}

#myModal h2{
    color: #f9a01b;
    margin-bottom: 10px;
}

#myModal ol{
    color: #6d6e71;
}

.reveal-modal{
    background-color: white;
}

#dropdown_menu{
    display: none;
}

#dropdown_box {
    position: relative; 
    width: 36px; 
    height: 40px;
}

#dropdown_box .dropdown_line {
    position: absolute; 
    width: 36px; 
    height:7px; 
    background-color: #f9a01b; 
    border-radius: 4px; 
}

#dropdown_box .dropdown_line:nth-child(1) {
    top: 5px;
}
#dropdown_box .dropdown_line:nth-child(2) {
    top: 17px;
}
#dropdown_box .dropdown_line:nth-child(3) {
    top: 29px;
}

#logo img{
    height: 70px;
}

.owl-buttons{
    display: none;
}

#spinner {
    margin-right: 30px;
    vertical-align: middle;
    display: none;
}

.email_url {
    text-decoration: none;
    color: #6D6E71;
}

.email_url:hover {
    text-decoration: underline;
}

.cancel_button {
    /*    position: fixed;
        right: 27%;
        top: 14%;*/
    float: right;
    margin-top: -20px;
    margin-right: -30px;
}

@media all and (max-width: 960px){
    body, html {
        overflow-y: scroll; /* has to be scroll, not auto */
        -webkit-overflow-scrolling: touch;
    }
    ::-webkit-scrollbar { 
        display: none; 
    }
    header{
        width: 100% !important;
    }	
    #menu {
        float: none;
        margin-right: 0;
        margin-top: 0;
        width: 100% !important;
        clear: both;
        font-family: avenir_black;
        font-size: 14px;
        display: none;
    }

    #menu li:not(.divider) {
        padding: 10px;
    }

    .divider {
        display: none !important;
    }

    #menu li {
        text-align: center;
        display: block;
        border-top: 1px solid #808080; 
    }

    #menu a:last-child li {
        border-bottom: 1px solid #808080; 
    }

    #dropdown_menu {
        cursor: pointer;
        display: block;
        float: right;
        height: 40px;
        margin-right: 10px;
        margin-top: 15px;
    }

    #logo{
        margin-left: 10px;
    }

    #menu ul li:hover{
        background-color: black;
        color: #f9a01b;
    }

    #logo img{
        height: 50px;
    }

    #group1{
        height: 67px;
    }

    .item-title, .item-text{
        /*width: calc(100% - 100px);*/
        width: 100%;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .item-title{
        font-size: 22px;
        line-height: normal;
        padding: 0;
    }

    #group3 .button, #group5 .button, #group7 .button{
        /*width: calc(100% - 10px);*/
        width: 95%;
    }

    #group3 .menu, #group5 .menu{
        margin: 0 auto 25px;
    }

    .item-text{
        font-size: 13px;
    }

    #group3 .menu, #group5 .menu{
        /*width: 600px;*/
        margin: 40px auto 0;
        width: 100%;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        text-align: center;
    }
    
    #group3 .menu ul, #group5 .menu ul {
        width: 100%;
    }

    #group3 .menu li, #group5 .menu li{
        font-size: 13px;
        padding: 8px 0;
        width: 110px;
    }

    #group3 .container, #group5 .container{
        margin: 70px auto 0;
    }

    #about, #intro, #services{
        height: 300px;
    }

    #about .parallax__layer--back, #intro .parallax__layer--back, #services .parallax__layer--back{
        /*transform: translateZ(-250px) scale(2);*/
        transform: none !important;
    }	

    #group7 .menu{
        width: 100%;
    }

    .menu_title{
        font-size: 22px;
        line-height: normal;
    }

    .menu_title, .menu_text{
        width: calc(100% - 100px);
    }

    .menu_button{
        width: 650px;
    }	

    #group7 .menu img {
        width: 160px;
    }	

    #group7 .item_container {
        /*width: calc(100% - 100px);*/
        width: 100%;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    #group7 .container {
        width: 100%;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .item-title, .menu_title, .menu_text{
        /*width: calc(100% - 10px);*/
        max-width: 90% !important;
        width: 100%;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .item_subcontainer{
        width: auto;
    }

    #group7 .item_subcontainer{
        /*width: calc(100% - 20px) !important;*/
    }

    .parallax__group .title{
        line-height: 64px;
        font-size: 80px;
    }
}

@media all and (max-width: 800px){
    #contact-us .container {
        width: 400px;
    }

    #contact-us {
        height: 880px;
    }

    .contact_right, .contact_left{
        display: block;
        margin: 0 auto;
    }

    .contact_right{
        margin-top: 40px;
    }

    #contact-us .container{
        width: 100%;
    }
    .parallax__group .title{
        line-height: 50px;
        font-size: 60px;
    }
}

@media all and (max-width: 700px){
    #group3 .menu, #group5 .menu{
        width: 450px;
        margin: 10px auto 0
    }

    #group3 .menu li, #group5 .menu li{
        font-size: 13px;
        padding: 8px 0;
        width: 110px;
    }

    #group3 .container, #group5 .container{
        margin: 40px auto 0;
    }

    .menu_button{
        width: 545px;
    }	

    #group7 .menu img {
        width: 135px;
    }

    .reveal-modal{
        margin-left: -220px;
        width: 400px;
        padding: 30px 20px;
        top: 80px;
    }

    #myModal ol{
        margin-left: 10px;
    }

    .cancel_button {
        margin-top: -5px;
        margin-right: -5px;
    }
}

@media all and (max-width: 550px){
    .menu_button{
        width: 285px;
    }

    #group3 .menu, #group5 .menu{
        margin: 0 auto 25px;
    }

    #group7 .menu li{
        margin: 2px;
        border: 1px solid #000000;
    }

    #group7 .menu li:last-child{
        border-right: 1px solid #000000;
    }

    #group7{
        height: 700px;
    }

    #group7 .item_subcontainer{
        /*        width: 90%;
                 Firefox 
                width: -moz-calc(100% - 20px) !important;
                 WebKit 
                width: -webkit-calc(100% - 20px) !important;
                 Opera 
                width: -o-calc(100% - 20px) !important;*/
        /* Standard */
        width: calc(100% - 20px) !important;
        max-width: 510px;
    }

    .item_subcontainer{
        height: 460px;
    }
    .parallax__group .title{
        line-height: 30px;
        font-size: 30px;
    }
    #group5 {
        height: 567px;
    }
}

@media all and (max-width: 480px){
    #group7 .item_subcontainer{
        max-width: 440px;
    }
}

@media all and (max-width: 450px){
    .item-title{
        font-size: 16px;
    }

    .item-text{
        font-size: 12px;
    }

    .item-title, .menu_title, .menu_text{
        width: calc(100% - 10px);
        max-width: 90% !important;
    }

    .owl-item {
        max-width: 90% !important;
    }

    .item-text {
        width: calc(100% - 20px);
        max-width: 90% !important;
    }

    #group3 .button, #group5 .button, #group7 .button{
        display: none !important;
    }

    #group3 .menu, #group5 .menu{
        /*margin: 25px auto 0;*/
        margin: 0 auto 25px;
        width: 280px;
    }

    #group3 .container, #group5 .container{
        margin: 30px auto;
    }

    #group7 .menu {
        margin: 30px auto;
    }

    #group3 .menu li:last-child, #group5 .menu li:last-child{
        border-right: 1px solid #000000;
    }

    #group3 .menu li, #group5 .menu li{
        border: 1px solid #000000;
        font-size: 13px;
        margin: 2px;
        width: 130px;
    }

    #about, #intro, #services{
        height: 200px;
    }

    #about .parallax__layer--back, #intro .parallax__layer--back, #services .parallax__layer--back{
        transform: none;
    }	

    #group7 .item_container {
        /*width: calc(100% - 20px);*/
        max-width: 410px;
        width: 100%;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .item_subcontainer{
        padding: 30px 10px;
    }

    .reveal-modal{
        margin-left: -145px;
        width: 260px;
        padding: 10px;
        padding-left: 20px;
        top: 20px;
    }

    .contact_right{
        padding: 0;
        width: 300px;
    }

    .text{
        width: 180px;
    }

    #group7 .item_subcontainer{
        max-width: 410px;
    }
}

@media all and (max-width: 375px){
    #group7 .item_subcontainer{
        max-width: 335px;
    }
}

@media all and (max-width: 350px){
    #group5{
        height: 700px;
    }

    .contact_left, .contact_right{
        width: 280px;
        padding: 0;
    }

    .text{
        width: 160px;
    }

    #group7 .item_subcontainer{
        max-width: 310px;
    }
}

@media all and (max-width: 320px){
    #group7 .item_subcontainer{
        max-width: 280px;
    }

    #group3 {
        height: 493px !important;
    }

    #group5 {
        height: 619px;
    }
}


@media all and (min-width: 961px){
    #menu {
        display: block !important;
    }
    #group3 .menu, #group5 .menu{
        margin: 0 auto 25px;
    }
}

@media (max-width: 1024px){
    #about .parallax__layer--back, #intro .parallax__layer--back, #services .parallax__layer--back{
        transform: none !important;
        -o-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        -webkit-transform: none !important;
        transform: none !important;
    }
}

@media only screen and (max-device-width: 1024px){
    header{
        width: 100% !important;
    }	

    #about .parallax__layer--back, #intro .parallax__layer--back, #services .parallax__layer--back{
        transform: none !important;
        -o-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        -webkit-transform: none !important;
        transform: none !important;
    }

    #group3 .menu, #group5 .menu{
        margin: 0 auto 25px;
    }
}

/* fix iOS bug not displaying 100vh correctly */
/* ipad */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
    .parallax {
        height: 768px !important;
    }
    #about .parallax__layer--back, #intro .parallax__layer--back, #services .parallax__layer--back{
        transform: none !important;
        -o-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        -webkit-transform: none !important;
        transform: none !important;
    }
}
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    .parallax {
        height: 1024px !important;
    }
    #about .parallax__layer--back, #intro .parallax__layer--back, #services .parallax__layer--back{
        transform: none !important;
        -o-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        -webkit-transform: none !important;
        transform: none !important;
    }
}
/* iphone5 */
/*@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2) {
    .parallax {
        height: 320px !important;
    }
}
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2) {
    .parallax {
        height: 568px !important;
    }
}*/
/* iPhone 4 */
/*@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
    .parallax {
        height: 320px !important;
    }
}
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {
    .parallax {
        height: 480px !important;
    }
}*/