/* so you're feeling fancy and want to write your own styles or override some of the styles already here? cool! this is the space to do it. */

/*colors: 
pale gold: #C0B283
silk: #DCD0C0
paper: #F4F4F4
charcoal: #373737
other background option: #E8D2A2
*/


body {
    background-color: #DCD0C0;
    margin: auto 0;
    height: 100%;
}

#main {
    background: #F4F4F4;
    margin-top: -2.5em;
    padding-top: 30px;
}

#footer {
    background: #373737;
}

video {
    position:relative;
    z-index:0;
}

.headline {
    position: absolute;
    top: 132px;
    left: 0;
    right: 0;
    z-index: 1;
    font-family: 'Lora', serif;
    color: #373737;
    font-size: 60px;
}

.subhead {
    position: absolute;
    top: 280px;
    left: 0;
    right: 0;
    z-index: 2;
    color: #373737;
}

.byline-group {
    position: absolute;
    top: 323px;
    left: 0;
    right: 0;
    z-index: 3;
    color: #373737;
}

h3 {
    font-family: 'Lora', serif;
}

.scroll {
    position: relative;
    bottom: 140px;
}

@keyframes bouncing {
    0% {bottom: 0;}
    50% {bottom: 10px;}
    100% {bottom: 0;}
}

#arrow {
    animation: bouncing 1s infinite ease-in-out;
    bottom: 0;
    display: block;
    height: 50px;
    left: 0;
    position: relative;
    width: 30px;
    height: 30px;
    right: 0;
    margin: 0 auto;
}

/*Modal styling */

#overlay {
    position: fixed; /*position in relation to browser window */
    top: 0;
    left: 0; 
    width: 100%;
    height: 100%;
    background-color: rgba(192, 178, 131, 0.8);
    display: none;
    z-index: 100;
}

#modal1, #modal2, #modal3, #modal4 {
    position: absolute;
    top: 200px;
    left: 0;
    right: 0;
    padding: 20px;
    width: 500px;
    background-color: #F4F4F4; 
    display: none;
    z-index: 1000;
    margin: 0 auto;
    box-shadow: 15px 15px 20px #C0B283; 
}

#modal3 {
    width: 520px;
}

.content img {
    border: 2px solid black;
    margin-bottom: 0;
}

#steph-modal3 {
    width: 260px;
    position: relative;
    float: left; 
    margin: 10px 10px 0px 10px;
    padding-bottom: 5px;
}

#steph-modal3 img {
    border: 2px solid black;
}

#modal3 .caption {
    padding-left: 10px;
}

#modal4 h4 {
    margin-bottom: 5px;
}

#modal4 {
    width: 572px;
}

#modal3 h4 {
    margin-bottom: 4px;
}

#modal3 p {
    margin-top: 0;
}


.content-image {
    float: left;
    padding-right: 20px;
}

.content .caption {
    margin-top: -3px;
    margin-bottom: auto;
}

.close {
    position: absolute;
    top: 2px;
    right: 3px;
}

.close img {
    width: 35px;
    height: 35px;
}

/* Modal styling ends */ 

#cotent .item img{
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #F4F4F4;
}

p {
    font-family: 'Raleway', sans-serif;
}

a {
 color: #C0B283;
}

a:hover {
 color: #D4C458;   
}

a:visited {
 color: #7F7657;  
}

/* Sidebar */ 

.sidebar {
    padding: 20px;
    margin: 0;
}

.sidebar h2 {
    text-align: center;
}

/* Masonry */

#masonry-content {
	/*width: 980px;*/ 
	width: auto;
	margin: 0 auto; 
} 

.item {
	display: block;
	float: left;
	width: calc(50% - 10px);
	margin: 0px 5px 10px 5px;
	-webkit-transition: left .4s ease-in-out, top .4s ease-in-out .4s;
	-moz-transition: left .4s ease-in-out, top .4s ease-in-out .4s;
	-ms-transition: left .4s ease-in-out, top .4s ease-in-out .4s;
	-o-transition: left .4s ease-in-out, top .4s ease-in-out .4s;
	transition: left .4s ease-in-out, top .4s ease-in-out .4s;
}  

.masonry-column {
    width: 50%;
}

.item img {
	height: auto;
}

/*Masonry Ends */


/*Image Maps */ 

#optionsmap1 {
    position: relative;
    float: right;
    margin-left: 10px; 
}

#optionsmap1 .caption {
    width: 300px;
}

/* Modals for everything */ 

#info-coldcaps, #info-rogaine, #info-wig, #info-clippers, #info-scarf, #doctor-modal, #ivdrip-modal, #hair-modal {
    position: absolute;
    top: 200px;
    left: 0;
    right: 0;
    background: #F4F4F4;
    box-shadow: 15px 15px 20px #C0B283; 
    overflow: hidden;
    width: 560px;
    padding: 20px;
    z-index: 1010;
    margin: 0 auto;
    display: none;
}

#coldcapgallery img, #rogaine-img, #scarf-img {
    border: 1px solid #DCD0C0;
}

#info-coldcaps h4, #info-rogaine h4, #info-wig h4, #info-clippers h4, #info-scarf h4 {
   margin-top: 0; 
}

#info-clippers .caption {
   margin-bottom: 10px;
}

#info-coldcaps .caption {
    margin-bottom: 20px;
}

 #info-coldcaps audio {
    width: 255px;
    box-shadow: 2px 2px 4px 0px #DCD0C0;
    border: 1px solid #DCD0C0; 
}

#info-clippers audio {
    width: 255px;
    box-shadow: 2px 2px 4px 0px #DCD0C0;
    border: 1px solid #DCD0C0;
} 

#map2 {
  margin: 20px 53px 5px 68px;
}

#map-caption2 {
 margin-left: 67px;
 margin-top: -5px;
}

area:focus{
  border: none;
  outline-style: none; 
  -moz-outline-style:none;  
}


/* Gallery */

.main-carousel {
    width: 500px;
    height: 400px;
    float: right;
    margin-left: 10px;
    margin-bottom: 0; 
}

.slide {
    width: 100%;
}

.slide .caption {
    position: relative;
    bottom: 76px;
    padding: 3px 10px 4px 10px;
    background: rgba(55,55,55,0.6);
    color: #fff;
    display: none;
    z-index: 300;
}

.slide .caption#four {
    bottom: 57px;
    padding-bottom: 5px;
}

.slide .caption#one {
    bottom: 57px;
    padding-bottom: 5px;
}

.slide .caption#three {
    bottom: 57px;
    padding-bottom: 5px;
}

.cycle-pager {
	text-align: center;
	width: 100%;
    position: relative;
    top: -398px;
    z-index: 1010;
}

.cycle-pager span {
	font-size: 45px;
	display: inline-block;
	color: #fff;
	cursor: pointer;
}

span.cycle-pager-active {
    color: #666; 
}

#bottom-caption-carousel {
    position: relative;
    top: -70px;
    margin-bottom: 0; 
}

.long {
    border: dashed 1px;
}


footer {
    text-align: center;
}


#masonry-caption {
    padding-bottom: 50px;
}

#main {
    padding-bottom: 0;
}




/* Media Queries go here. PUT NOTHING ELSE BELOW THIS */ 
 
@media only screen and (max-width: 800px) {
    .headline {
        position: relative;
        top: auto;
        font-size: 52px;
        margin: 0;
        line-height: 1;
    }
    
    .subhead {
        position: relative;
        top: auto;
        font-size: 21px; 
        margin: 0;
        line-height: normal;
    }
    
    .byline-group {
        position: relative;
        top: auto;
        margin: 0;
        line-height: normal;
    }
    
    .scroll {
        bottom: auto; 
    }
    
    .headline-background {
        background: #F4F4F4;
        padding: 20px 0;
        margin-top: -10px;
    }
    
}

@media only screen and (max-width: 600px) {
    .headline {
        position: relative;
        top: auto;
        font-size: 50px;
        margin: 0;
        line-height: 1;
    }
    
    .subhead {
        position: relative;
        top: auto;
        font-size: 20px;
        margin: 0;
        line-height: normal;
    }
    
    .byline-group {
        position: relative;
        top: auto;
        margin: 0;
        line-height: normal;
    }
    
    #arrow {
        display: none;
    }
    
    .headline-background {
        background: #F4F4F4;
        padding: 10px 0;
        margin-top: -10px;
    }
    
}

@media only screen and (max-width: 480px) {
    .headline {
        position: relative;
        top: auto;
        font-size: 40px;
        margin: 0;
        line-height: 1;
    }
    
    .subhead {
        position: relative;
        top: auto;
        margin: 0;
        line-height: normal;
    }
    
    .byline-group {
        position: relative; 
        top: auto;
        margin: 0;
        line-height: normal;
    }
    
    #arrow {
        display: none;
    }
    
}