/*--------------------------------------------------------
MEDIA QUERIES
--------------------------------------------------------*/
@media only screen and (min-width: 768px) {
.parallax-background 
{
    background-attachment: fixed;
}
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
.parallax-background {
	background-attachment: scroll;
	background-position: top center !important;
	background-size: cover;
}
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
.parallax-background {
	background-attachment: scroll;
	background-position:top center !important;
	background-size: cover;
}
}


@media only screen and (min-width: 768px) and (max-width: 959px) {
h1 { font-size: 40px;}
h2 { font-size: 32px;}
h3 { font-size: 24px;}
.title h1 {line-height: 1;}
.sub-title { font-size: 20px;}
nav div.two.columns.contact-reveal-container { width: 18%;}
nav div.ten.columns { width: 82%;}
#nav ul {
    top: 20px;
}

#nav li {
	margin-left:3px;
}
    nav li.top-level a {
        padding: 5px 8px;
    }    
    nav li.top-level a span { 
        display: none;
    }

    .parallax, .parallax .parallax-content, .parallax .overlay {
        height: 500px;
    }

    p.quote {
        font-size: 36px;
    }
    #quote-form-message,#quote-block    {
        display: block;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
    #quote-block form 
    {
        width: auto;
        max-width: 950px; 
        height: 202px;
    }
    #quote-block #quote-info-block
    {
        width: 45%;
    } 
    #quote-block #quote-message-block  
    {
        width: 50%;
    }
    #quote-block input 
    {
        width: 225px; 
    }
    #quote-block textarea 
    {
        width: 325px;
        height: 60px;
    }
    #quote-block {
        display: none;
    }
    #next-container {
    top: 40%;
    right: -35px;
    }
    #gallery-wrap .two.columns {
        margin: 0;
        padding: 0;
        overflow: hidden;
        width: 24%;
    }
    .gallery-item  { border: solid 3px #fff; }
}


@media only screen and (max-width: 767px) {
h1 { font-size: 36px;}
h2 { font-size: 26px;}
h3 { font-size: 20px;}

.title h1 {
	font-size:40px;
}
.sub-title {
	font-size:18px;
	margin-bottom:0;
}
#nav {
	display: none;
}
nav {
    height: 45px;
    background: #000;
}

nav div.two.columns.contact-reveal-container { width: 28%; margin-top: 0;}
nav div.ten.columns { width: 72%; margin-top: 10px;}
.selectnav {
	display: block;
	font: normal normal normal 14px/1 'Open Sans', 'Trebuchet MS', Arial, Tahoma, Verdana, Helvetica, Sans-Serif;
	text-transform: uppercase;
	-webkit-appearance: none;
	background-color: transparent;
	border: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	padding: 0px 10px;
	border-radius: 0;
	background: url("/graphics/icon-select-menu.png") no-repeat center left;
	color: #fff;
	outline: none;
	width: 98%;
	background-size: 30px;
	margin: 0 0 0 5px;
    text-indent: 30px;
    cursor: pointer;
}
.selectnav {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

}
    select.selectnav::-ms-expand {
        display: none;
    }
    select.selectnav option {
        padding: 2px 2px 2px 4px;
        background: rgba(0,0,0,.8);
    }
    #contact-reveal-button.call-to-action-button p { line-height: 36px; margin-top: 5px;}
    .call-to-action-button p a {
        padding: 4px 10px; 
    }
.container .columns, .container .column {
	margin-bottom: 40px;
}
nav .container .columns, nav .container .column {
	margin:0;
}
.caption {
	position:relative;
	left:0;
	bottom:5px;
	margin:0;
}
#contact-textarea {
	width: 93%;
	float: left;
	margin: 0 1%;
}
#contact-submit input[type="submit"] {
	width:94%;
	margin:1%;
	float:left;
}
.copyright .social-icons .social-icon {
	margin-bottom:10px;
}
.copyright p {
	margin-top:20px;
	font-size:11px;
}
    .parallax, .parallax .parallax-content, .parallax .overlay {
        height: 450px;
    }

    p.quote {
        font-size: 32px;
    }
    .text-overlay {
        font-size: 40px;
        line-height: 1.5;
        margin-top: -20px;
    }
#work-with-us .twelve.columns img {
        border-width: 0;
        padding: 4%;
        background: #fff;
        width: 92%;
    }
    #quote-form-message,#quote-block    {
        display: block;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
    #quote-block form 
    {
        width: auto;
        height: 342px;
    }
    #quote-block
    {
        display: none;
    }
    #quote-block #quote-info-block
    {
        width: 35%;
    } 
    #quote-block #quote-message-block  
    {
        width: 55%;
    }
    #quote-block label
    {
        margin-bottom: 2px;
    }
    #quote-block input,
    #quote-block textarea 
    { 
        width: 100%; 
    }
    #quote-block textarea 
    {
        height: 128px;
    }
    #next-container {
    top: 40%;
    right: -35px;
    }
    #gallery-wrap .two.columns {
        margin: 0;
        padding: 0;
        overflow: hidden;
        width: 32%;
    }
    .gallery-item  { border: solid 3px #fff; }
}


@media only screen and (max-width: 479px) {
    .blog-date {
        width: 18%;
    }
    .blog-photo {
        width: 82%;
    }
    nav {
        height: 62px;
        background: #000;
    }
    nav div.two.columns.contact-reveal-container { width: 40%; margin-top: 20px; padding-top:0;}
    nav div.ten.columns { width: 60%; margin-top: 20px}
    .selectnav {
        margin-top: 0;
    }
    #contact-reveal-button.call-to-action-button p { line-height: 24px; margin-top: 0;}
    .title h1 {line-height: 1.1; margin: 10px 0;}
    #work-with-us .container .row,#work-with-us .container .row .twelve.columns { margin-top: 0; margin-bottom: 0; margin-left: 0}    
    .text-overlay {
        font-size: 26px;
        line-height: .9;
        margin-top: -35px;
    }
    #footer .container .columns {
    margin-left: 0;
    text-align: center;
    }
    #footer .container .columns ul {
    padding-left: 0 !important;
    }
    #locations-block ul li a
    {
        display: block;
        float: none;
        width: 98%;
        margin: 1% 30px 0 0;
        padding-left: 0;
        padding-right: 0;
    }
    #locations-block ul.middle-block {
        float: right;
    }
    #locations-block ul.last-block
    {
        margin-right: 0;
        float: left; 
        clear: left;
    }
    #carousel-wrapper { margin-top: 62px;}
    #quote-block form {height: 600px;}
    #quote-block #quote-info-block,#quote-block #quote-message-block { width: 100%; display: block;}
    #next-container {
    top: 25%;
    right: -30px;
    }
    #gallery-wrap .two.columns {
        margin: 0;
        padding: 0;
        overflow: hidden;
        width: 48%;
    }
}


@media only screen and (min-width: 1200px) {
nav .container {
	width: 96%;
	display:block;
}
#nav ul {
    top: 25px;
}
    .main-menu { padding-left: 10px;}
    .main-menu a {
        font: normal normal bold 12px/70px 'Open Sans', Arial, Tahoma, Verdana, Helvetica, Sans-Serif;
        padding: 10px 12px;
    }
        #next-container {
    top: 42%;
    right: -15px;
}

}


/* Iphone 6 - Portrait and Landscape */
@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 667px) { /* STYLES GO HERE */
.parallax-background {
    background-attachment: scroll; 
}
                                 
}


/* Iphone 6 Plus - Portrait and Landscape */
@media only screen 
and (min-device-width : 414px) 
and (max-device-width : 736px) { /* STYLES GO HERE */
.parallax-background 
{
    box-sizing: content-box;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    height: 100%;
    width: 100%;
    background-position: top center;
    background-repeat: no-repeat;}
}