/*  
Site Name:Coastal Creations - Dale Stair
Site URI: http://www.coastalcreations.net
Description: Coastal Creations - Shell mirror site
Version: 1.0	
Author: jmbroekman	
Author URI: http://www.jmbroekman.com

*/

/* colors

header teal: rgb(66, 129, 129), #428181;
links Orange: rgb(182, 109, 18), #B66D12;
hover,dark green: rgb (73, 77, 79), #494D27;
text grey: #4d4d4d;
wrapper background: rgb (235, 234, 203), #EAEBCB;


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

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

body {
    font-size: 0.9em;
    line-height: 1.4;
	font-family:Arial, Helvetica, sans-serif;
	
}


/* RESET */
/*using html 5; to make elements block rather than in-line*/

header, footer, section, aside, nav, article, hgroup, details, figure, figcaption {display: block;}

/*global elements */

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
	padding: 0;
	margin: 0;
	}
table {
	border-collapse: collapse;
	border-spacing: 0;
	}
fieldset,img { 
	border: 0;
	}
ol,ul {
	list-style: none;
	}
h1,h2,h3,h4,h5,h6 {
	font-weight: normal;
	font-size: 100%;
	font-family:'Quintessential', cursive;

	
	}
abbr,acronym { border: 0;
	}
figure {margin:0; padding:0;}	

/*CC SPECIFIC */

a:link, a:visited { color:#b66d12; text-decoration:none;} 
a:hover {color:#494d27;}
	

	
#wrapper { 
	max-width:960px; 
	width:100%; 
	margin:0 auto; 
	position:relative; 
	clear:both; 
	overflow:hidden; 
	top:0; 
	background-color:#eaebcb;
	box-shadow:1px 1px 5px rgba(91, 91, 91, 0.4);
	}

header { 
	background-image: url(../assets/cc-nameplate.jpg);
	background-repeat:no-repeat; 
	background-position:top left;
    width: 100%;
	max-width:960px;
	height:290px;
	position:relative;
	clear:both;
	overflow:hidden;
	}

h1 {
	text-indent:-99999px; display:none;
}
h2 { font-size:175%; color:#428181; margin-top:1%; font-variant:small-caps;}

#mirrors {
	top:81px;
	left:61px;
	float:left;
	position:relative;
}

#homelink {
	height:59px;
	width:537px;
	background-color: transparent;
	position:absolute;
}

nav {
	margin-left: 340px;
	margin-right: 5%;
	font-size: 140%;
	font-family: Helvetica, sans-serif;
	margin-bottom: 8%;
	}

nav ul {
	padding-top: 235px;
}
nav ul li {
	display:inline-block;
	margin-right:5%;
	color: #494d27;

}

section {
    width: 85%;
	overflow:hidden;
	margin-bottom:5%;
	margin-left:7%;/*	text-align:center;  for bottom section*/
}

section.contactpg {
	width:65%;
	margin-left:20%;
}



section p{ 
	margin-bottom:2%;
	font-weight:normal;
	line-height:145%;
}

article {
	overflow:hidden;
	position:relative;
	clear:both;
	}

.right {
	float:right;
	margin: 5% 1% 1% 5%;
}

.fancybox {
	margin-right:3%;
	margin-bottom:3%;
}
img.right {
	box-shadow:1px 1px 5px rgba(91, 91, 91, 0.4);
}



img.noshadow {
	box-shadow:none;
}
	

article.center {text-align:center;}
figure {display:inline-block; padding-right:2%; padding-top:2%;}
figure > img {
	box-shadow:1px 1px 5px rgba(91, 91, 91, 0.4);  
	margin-right:1%;
	margin-bottom:1%;
	overflow:hidden;
	position:relative;
}
figcaption {text-align:left; font-size:85%; padding-left:4px;}


.tagline {
	text-align:center;
	margin:0 auto;
	color:#428181;
	margin-bottom:3%;
	font-size:125%;
}

footer {
	clear: both;
 	font-size: 75%;
    padding-top: 1%;
	max-width:960px;
	width:100%;
	margin:0 auto;
}

footer p {
    text-align: right;
}

.contact {
    float: left;
    position: relative;
    text-align: left;
	padding-left:2%;
	}


aside {
  float: left;
    font-size: 120%;
    padding-left: 5.19%;
    position: fixed;
    top: 96px;
    width: 11%;
	max-width:140px;
}


ul.portfolio li{padding: 2%; border-bottom:1px dotted #A0AFB8;}
.portfolio a {display:block; padding-left:2%;}
.portfolio a:hover {background-color:#43515a; color:#FFF;}


/* Style the Captions */
#captions {
	 position:relative;
	 height:20px;
	 text-Align:center;
	 padding: 2%;
}

#captions div {
	text-align:center;
	width: 99%;
}

#gallery_01 {
	text-align:center;
}

/*NEW GALLERY WITH LARGE THUMBS */

#insidewrap {
	clear:both;
	width:100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

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

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

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

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media screen and (max-width: 480px)  {
/* MAKE NEW HEADER FOR MOBILE

header { 
	background-image: url(../assets/nameplate-300px.jpg);
	background-repeat:no-repeat; 
	background-position:top left;
	margin-top:2%;
	background-color: #FFFFFF;
    width: 100%;
	max-width:960px;
	height:34px;

	}
	*/

nav {
	margin-left:120px;
}

#mirrors {
	display:none;
}

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@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;
    }

