/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {background: url('../img/sunset-background_white_mid.jpg') no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;}
body {font-family: Futura, "Trebuchet MS", Arial, sans-serif; text-align: center;}
	.wrapper {width: 943px; margin: 0 auto 0 auto; text-align: left; background-color: white; padding: 0 20px;}
	
		#top {background-color: white; padding-top: 35px; padding-bottom: 12px;}
			#header, #justified_type {text-align: center; background-color: white; margin-bottom: 10px;}
			#header {height: 47px;}
			#toolbar_responsive {display: none; text-align: center;}
			#toolbar {display: inline; padding-left: 15px;}
				#header a {padding: 0.8em 0; display: inline-block;}
				#sunset, #sunset_j {float: left;}
				#beach, #beach_j {float: right; padding-left: 1.5em;}
				
				#sunset_j span, #beach_j span, #contact_j span  {display: inline-block; background-color: transparent;}

				#sunset_j .s {padding-right: 13px;}
				#sunset_j .u {padding-right: 14px;}
				#sunset_j .n {padding-right: 14px;}
				#sunset_j .s2 {padding-right: 12px;}
				#sunset_j .e {padding-right: 11px;}
				#sunset_j .e {padding-right: 10px;}
				
				#beach_j .b {padding-right: 14px;}
				#beach_j .e {padding-right: 11px;}
				#beach_j .a {padding-right: 10px;}
				#beach_j .c {padding-right: 15px;}
				
				#contact_j .c1, #contact_j .c2 {padding-right: 28px;}
				#contact_j .o {padding-right: 28px;}
				#contact_j .n {padding-right: 28px;}
				#contact_j .t1 {padding-right: 24px;}
				#contact_j .a {padding-right: 27px;}
				
				#contact_j {margin: 1em 0;}

																			
				
				
			/* #image_row {width: 943px; overflow: hidden; background-color: white;}
			#image_row #slider {width: 5000px;} */
			/*div.slider {margin-left: -50%;}*/
			$slider img {height: auto;}
			#thumbnails {width: 943px; margin-top: 1em;}
	
		#main {border-top: 2px solid black; /*border-bottom: 2px solid black;*/}
			article {width: 523px; float: left; background-color: white;}
				article h4 {font-size: 1.6em; letter-spacing: 0.03em; width: 100%; margin: 1em 0;} /*1.35em; */
				article p {margin: 0.8em 0; font-size: 1em; line-height: 1.25;}
				
			
			aside {width: 300px; margin: 1em 0 2em 8%; padding-bottom: 1em; min-height: 380px; background-color: white; float: right;}
				aside p {font-size: 1em;}
				aside a {text-decoration: none; color: black;}
				aside a:hover {/*text-decoration: underline;*/ color: grey;}
			
		.school_book {font-family: "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", "Old Standard TT", Georgia, serif; font-style: italic; font-weight: 400;}
		.school_book a {text-decoration: none; color: black; letter-spacing: 0.08em;}
		.school_book a:hover {/*text-decoration: underline;*/ color: grey;}
		article p.school_book {line-height: 1.6em;}
		
		footer {font-size: 0.7em; padding: 1.5em 0;}
		
		
		div.slider {margin-left: -460px;}
		.registration_form {padding: 1em 1em 2em 1em; background: #eee; margin-bottom: 2em; display: none;}
		#first_name, #surname, #email, #phone_number {border: 1px grey solid; padding: 6px; background-color: #eee; display: block; margin: 0.3em 0 1em 0; font-family: Futura, "Trebuchet MS", Arial, sans-serif; width:90%;}
		input#first_name:focus, input#surname:focus, input#email:focus, input#phone_number:focus {background-color: #fff; border: 0;}
		label {font-size: 0.8em; display: inline-block; width: 23%; padding: 1%; background-color: #eee; text-align: left;}
		#top_part {background-color: #eee; display: inline-block; width: 100%;}
		#subform_bottom_third {text-align: right; width: 100%; background-color: #eee; display: inline-block;}
		#submit_label {text-align: center;}
		#submit {font-family: Futura, "Trebuchet MS", Arial, sans-serif;}
		#submit {padding: 6px; width:90%; /* border: 1px grey solid; */}
		#submit:hover {background-color: #eee; border: 1px grey solid;}
		#submit:active {background-color: white;}
		
		.from {z-index:20; position: absolute;}
		
		label.error {width:100%; color: red; font-size: 1em;}
		
		
/* ==========================================================================
   Media Queries
   ========================================================================== */


@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

@media screen and (max-width: 970px) {
	html {background: none;}
	.wrapper {max-width: 92%; margin: 0 4%; padding: 0;}
	article {width: 60%;}
	aside {width: 30%; min-width: 200px;}
	#thumbnails {width: 100%;}
	#thumbnails img {max-width: 16.5%;}
	
	#contact_j .c1 {width: 10%; text-align: left; padding-right: 0;}
	#contact_j .o, #contact_j .n, #contact_j .t1, #contact_j .a, #contact_j .c2 {width: 16%; text-align: center; padding-right: 0;}
	#contact_j .t2 {width: 10%; text-align: right; padding-right: 0;}	
}

@media screen and (max-width: 890px) {
	#toolbar {display: block; text-align: center; padding-top: 55px;}
}

@media screen and (max-width: 680px) {
	div.slider {margin-left: -100%;}
}

@media screen and (max-width: 695px) {
	/* #header {display: block;} */
	article {width: 100%; float: none;}
	aside {width: 100%; margin: 0; min-height: auto;}
}

@media screen and (max-width: 600px) {
	#sunset_j .s {width: 10%; text-align: left;}
	#sunset_j .u, #sunset_j .n, #sunset_j .s2, #sunset_j .e {width: 20%; text-align: center;}
	#sunset_j .t {width: 10%; text-align: right;}
	
	#beach_j .b {width: 12.5%; text-align: left;}
	#beach_j .e, #beach_j .a, #beach_j .c {width: 25%; text-align: center;}
	#beach_j .h {width: 12.5%; text-align: right;}
	
	#beach_j .b, #beach_j .e, #beach_j .a, #beach_j .c, #sunset_j .s, #sunset_j .u, #sunset_j .n, #sunset_j .s2, #sunset_j .e, #sunset_j .t {padding-right: 0;}
	
	#beach_j, #sunset_j {float: none;}
	
	#beach_j {padding-left: 0;}
	#justified_type {min-height: 85px;}
	#beach_j {padding-top: 8px;}
	
	#toolbar {padding-top: 20px;}

}

@media screen and (max-width: 560px) {
	.registration_form label {display: block; width: 100%;}
	#submit {margin-top: 20px;}
}

@media screen and (max-width: 510px) {
	#header {height: 110px;}
	#sunset {padding-right: 2em;}
	#beach {float: none; display: block; padding: 10px 0 0 2px;}
	article h4 {width: 100%;}
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}