body {
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  
  font: 400 20px/1.5 'Times New Roman', Times, serif;
  color: black;
  text-align: center;
	
	   -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
   background-size: cover;


}

/*
#fullPage-wrapper {
	
	position: fixed;
	
	   -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
   background-size: cover;
	    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: scroll;
  
}
*/



/********************
****** HEADER *******
********************/

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  margin: 0 auto;
}

header img {
  position: absolute;
  top: 36px;
  left: 5.5555555555%;
  width: 190px;
}

nav {
  position: absolute;
  top: 42px;
  right: 5.5555555555%;
  width:200px;
}

header li {
  float: right;
  width: 100%;
  text-align: right;
  margin-top: 12px;
}

nav a {
  border-bottom-width: 2px;
  border-bottom-style: solid;
  font-size: 36px;
  line-height: 1;
  color: black;

}

nav span {
	background-color: white;
  padding: 15px 5px 10px 5px;
 
}

nav a:hover {
  color: grey;
}

a:hover {
	color:grey;
	
}

span a {

color: black;

}


p {
	
	margin-bottom: 25px;
}

nav li.active a {
  color:grey;
}

div#preload { 
	display: none;
}

#fullPage {
	position: relative;
	z-index: 2;
}


::-webkit-input-placeholder, ::-webkit-input-placeholder {
  
   color: black;
}

button {
	background-color: white;
	padding: 3px 7px;
}


/********************
**** TYPOGRAPHY *****
********************/

h2 {
  margin: 0 auto;
  font-size: 36px;
}

.news h2{
  margin-top: 15px;
}

.galleries h2{
  margin-bottom: 20px;
}

.galleries h2{
  margin-bottom: 5px;
}

h3 {
  font-size: 10px;
  font-style:italic;
  text-transform: uppercase;
}

div.body {
  margin: 20px auto 16px;

}

#fullPage p span, #fullPage h2 span, #fullPage h3 span {
	background-color: white;
	padding:6px 0px 3px;
	
	background: white;
  box-shadow: 6px 0 0 white, -6px 0 0 white;
}



.about p{

  margin-bottom: 20px;
}

.news p:first-of-type{
  margin-top: 35px;
}



p a, p a:hover, p a:visited{
  text-decoration: underline;
  color: grey;
}


/********************
****** LAYOUT *******
********************/



section {
  margin: 0 auto;
}

article {
  width: 58.7037037037%;
  max-width: 960px;
  padding: 35px;
  margin: 50px auto 0;
}

#main {
	
	width:100%;
	display:block;
	position: relative;
}

#main .arrow {
  display: block;
  width: 30px;

  position:absolute;
  bottom:20px;
  left: 50%;
  margin-left:-15px;
}

.hidden { display: none; }

/********************
****** IMAGES *******
********************/

.news img {
  width: 100%;
  margin: 13px auto 0;
}

.thumbox {
  margin: 5px auto 0;
}

.thumbox img{
  float: left;
  width: 22.0283911671%;
  margin-top: 20px;

  border:2px solid black;
}

.thumbox img:hover{
  border: 2px solid white;
 
}

.thumb-2, .thumb-3, .thumb-4{
  margin-left: 2.5236593059%;
}

.thumb-1 {
    clear: both;
} 

.gallery .thumbox img:nth-child(4) {
	clear:left;
}

/********************
****** FOOTER *******
********************/

#insta {
	
	position: fixed;
  bottom: 40px;
  right: 10.5555555555%;	
  z-index: 99999999999;
  width: 32px;
}



#pinterest {
	
	position: fixed;
  bottom: 40px;
  right: 5.5555555555%;	
  z-index: 99999999999;
  width: 60px;
}

#pinterest form {
margin-left: -200px;
text-align: right;
margin-bottom: 10px;

}

#pinterest form input {
	padding: 5px;
}

#pinterest img {
	
	 width:32px;
  height:32px;
}

footer {
	position: fixed;
  bottom: 40px;

  left: 40px;	
  z-index: 1;
  
   width: 190px;
   left: 5.5555555555%;
   text-align: left
 }

footer p {
 
  font-size: 11px;
	margin-bottom:5px;
  text-align: left;

}

#fullPage footer p span {

padding:2px 0px 3px;

}



footer img {
  opacity: 0.8;
  width: 32px;
}

footer img:hover{
  opacity: 1;
}

a[href^="http://"], a[href^="https://"] {
  background:url('/images/external_link.png') center right no-repeat;
  padding-right:20px;
}

a[href^="http://"]:hover, a[href^="https://"]:hover { background:url('/images/external_hover.png') center right no-repeat; }
a[href^="http://"]:active, a[href^="https://"]:active { background:url('/images/external_hover.png') center right no-repeat; }
a[href^="http://www.coryarcangel.com"] , #main-nav a, .thumbox a,  #fullPage footer a{
  background:none;
  padding-right:0;
}


/********************
****MEDIA QUERIES****
********************/



@media(max-width: 1000px) {

  header img {
    width: 19.1%;
  }

  header nav {
    top: 45px;
    width: 436px;
    height: auto;
  }

  header li{
    float: none;
    display: inline;
    padding-left: 20px;
  }

  .thumbox img{
      width: 44.25%;
    }

  .thumb-3{
      clear: both;
      margin-left: 0;
    }

  .thumb-2, .thumb-4{
    margin-left: 3.5%;
  }
} 


@media(max-width: 768px) {

body {
	font-size: 16px;

	background-repeat: repeat-y;
	background-position: center top;

	background-size:300% auto;
	
}

footer {
position: relative;

margin: 50px auto 30px;
}

footer p {
	text-align: center;
	
	
}

h2 {
	
	font-size: 24px;
}

  article {
    width: 100%;
  }
		
	 header {
		 position: absolute;
	 }	
		
  header img {
    left: 0;
    right: 0;
    top: 20px;
    width: 120px;
    margin-right: auto;
    margin-left: auto;
  }

	.fancybox-skin {
		
		margin: 0px;
	}
	
	#pinterest {
		display: none;
	}
	
  header nav {
    top: 145px;
    left: 0;
    right: 0;
    width: 95%;
    margin-right: auto;
    margin-left: auto;
  }
  
  
  header nav li {
	  
	  line-height: 52px;
  }

  nav ul {
    float: none;
    margin-right: auto;
    margin-left: auto;
  }

  nav a{
    font-size: 1.6em;
   } 

}