/*--------------------------------------------------------
MEDIA QUERIES
--------------------------------------------------------*/
@media only screen and (min-width: 768px) {
.home-parallax,
.parallax-background 
{
    background-attachment: fixed;
}

}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
.parallax-background, .home-parallax {
	background-attachment: scroll;
	background-position: top center !important;
	background-size: 100%;
}
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
.parallax-background, .home-parallax {
	background-attachment: scroll;
	background-position:top center !important;
	background-size: cover;
}
}


@media only screen and (min-width: 768px) and (max-width: 959px) {
#size::after {
        content: " 768px-959px";
    }


h1 { font-size: 40px;}
h2 { font-size: 32px;}
h3 { font-size: 24px;}
.title h1 {line-height: 1;}
.subtitle { font-size: 20px;}
.main-menu li {
	margin-left:10px;
}
.main-menu a {
	font-size:14px;
}
    nav .main-menu a span { 
        display: none;
    }

.testimonial-slider .flex-direction-nav li .flex-next {
	right:44%;
}

.testimonial-slider .flex-direction-nav li .flex-prev {
	left:44%;	
}

}
@media only screen and (max-width: 1024px) {
    .tab input:checked ~ .tab__content {
        max-height: 55rem;
    }
}

    @media only screen and (max-width: 767px) {
        #size::after {
            content: " Max 767px";
        }

        h1 {
            font-size: 36px;
        }

        h2 {
            font-size: 26px;
        }

        h3 {
            font-size: 20px;
        }

        .title h1 {
            font-size: 40px;
        }

        .subtitle {
            font-size: 18px;
            margin-bottom: 0;
        }

        .logo.large {
            margin: 0 0 0 10px;
        }

        .main-menu {
            display: none;
        }

            .main-menu.large {
                height: 60px;
            }

        .selectnav {
            display: block;
            font: normal normal normal 20px/1 'Century Gothic', 'Trebuchet MS', Arial, Tahoma, Verdana, Helvetica, Sans-Serif;
            text-transform: uppercase;
            -webkit-appearance: none;
            background-color: transparent;
            border: 1px solid transparent;
            -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 right;
            color: #3d3d3d;
            outline: none;
            width: 300px;
            background-size: 30px;
            margin: 30px 10px 0 0;
        }

        .selectnav {
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
        }

        select.selectnav::-ms-expand {
            display: none;
        }

        select.selectnav option {
            padding: 2px 2px 2px 4px;
        }

        #home {
            height: auto !important;
            padding: 60px 0;
        }

        .page {
            padding-top: 90px;
            padding-bottom: 40px;
        }

        .container .columns, .container .column {
            margin-bottom: 40px;
        }

        nav .container .columns, nav .cotainer .column, #ajax-page .columns, #ajax-page .column, .project-media {
            margin: 0;
        }

        .caption {
            position: relative;
            left: 0;
            bottom: 5px;
            margin: 0;
        }

        #contact-input {
            width: 75%;
        }

        #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-content, .parallax .overlay {
            height: 400px;
        }

        .testimonial-icon {
            display: none;
        }

        .parallax-background, .home-parallax {
            background-attachment: scroll;
            background-position: top center !important;
            background-size: cover;
        }

        .contact-details h2 {
            font-size: 30px;
        }

    }

    @media only screen and (max-width: 667px) {
        .testimonial-slide .client-testimonial {
            font-size: 11px;
        }
    }

    @media only screen and (max-width: 479px) {
        #size::after {
            content: " Max 479px";
        }

        .main-menu.large {
            height: 60px;
        }

        #ajax-page .three.columns.colour,
        #ajax-page .three.columns.size {
            float: left;
            width: 48%;
        }

        #ajax-page .three.columns.size {
            margin-left: 4%;
        }

        #contact-input {
            width: 94%;
        }

        .selectnav {
            width: 250px;
        }
        p.quote {
            font: 400 40px/0.8 'Tangerine', Helvetica, sans-serif;
        }

    }


    @media only screen and (min-width: 1200px) {
        #size::after {
            content: " Min 1200px";
        }

        nav .container {
            width: 96%;
            display: block;
        }

        .home-logo-text a {
            font-size: 90px;
        }

        .slider-text {
            width: 100%;
        }

        .parallax,
        .parallax .parallax-content,
        .parallax .overlay {
            height: 580px;
        }

        .testimonial-slide .client-testimonial {
            font-size: 16px;
            line-height: 1.6;
            padding: 15px;
        }
    }


    /* Iphone 6 - Portrait and Landscape */
    @media only screen and (min-device-width : 375px) and (max-device-width : 667px) { /* STYLES GO HERE */
        .home-parallax,
        .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 */
        .home-parallax {
            height: 400px;
        }

        .home-parallax,
        .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;
        }
    }