/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

/* Basic Styles */
.wrapper 	{
	background-color: black;
	padding-top: 0px;
	box-shadow: 0 5px 12px #000;}
.topmargin	{
	margin-bottom: 25px;
	margin-top: 10px;
	}
.center {margin: 10px auto; display:block;}

p.first	{
	margin-top: 0px;
}
.head	{
	width:400px;
	margin: 10px auto 0px auto;}
.footer	{	
	background-color: #111;
	margin-top: 50px;
	padding: 25px;
	}
.entry	{
	margin: 13px;
	width: 13%;
	}
.sign 	{
	width: 100%;
	}
.hide	{
	display: none;
	}
.box 	{
	/**border: 2px dotted #333;**/
	padding: 5px; background-color: #222;
	}
.address	{
	color: #999;
	}
.wedding	{
	display:none;
	}
a.subscribe  {
	display: block;
	color: #fff;
		margin: 20 20;
	font-size: 120%;
	font-family: 'Open Sans', Arial, sans-serif;
	}
.center	{
		text-align:center;
		}
.screenmed {
	display: none;
	}
.screensmall {
	display: none;
	}
	
/* Footer Navigation */

nav.footnav ul {
	padding: 0;
	margin: 15px auto 0 15px;
	}
nav.footnav a	{
	color: #777;
	margin-left:20px;
	}
nav.footnav li	{
	margin: 5px 0 15px 0px;
	background-image: url("../images/bullet.png");
	background-repeat: no-repeat;
	background-position: 0 center;
	}
/* Header Navigation */

nav.pri {
	height: 30px;
	width:95%;
	margin: 0 auto;
	background-color: #333;
	/**border-left: 15px solid #000;
	border-right: 15px solid #000;**/
	font-size: 95%;
	font-family: 'PT Sans', Arial, sans-serif;
	font-weight: normal;
	border-top: 0px solid #999;
	border-bottom-right-radius: 15px;
	border-bottom-left-radius: 15px;
}

nav.pri ul {
	padding: 0;
	margin: 0 auto 0 auto;
	width:800px ;
	height: 30px;
}
nav.pri li {
	display: inline;
	float: left;
}
nav.pri a {
	color: #BFCCFA;
	display: inline-block;
	width: auto;
	padding: 0px 15px 0px 15px;
	text-align: center;
	text-decoration: none;
	line-height: 30px;
}
nav.pri li a {
	border-left: 0;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}
nav.pri li:last-child a {
	border-right: 0;
}
nav.pri a:hover, nav a:active, .on {
	background-color: #222;
	transition-property:background-color .2s linear 0s; -moz-transition:background-color .2s linear 0s; -webkit-transition:background-color .2s linear 0s; -o-transition:background-color .2s linear 0s; 
}
nav.pri a#pull {
	display: none;
}

/* Gallery Navigation */

nav.gall {
	height: 30px;
	width:95%;
	margin: 0 auto;
	font-size: 90%;
	font-family: 'Open Sans', Arial, sans-serif;
}
nav.gall ul {
	padding: 0;
	margin: 0 auto 0 auto;
	width: 500px;
	height: 30px;
}

nav.gall li {
	display: inline;
	float: left;
}
nav.gall a{
	display: inline-block;
	width: 70px;
	text-align: center;
	color: #BFCCFA;
	padding: 30px 10px 30px 10px;
	margin: 10px 10px 10px 0px;
	background-color: #333;
	border-radius: 50px;
	text-decoration: none;
	line-height: 30px;
}

nav.gall  a:hover, nav.gall a:active, .on {
	color: #666; 
	transition-property:color .2s linear 0s; -moz-transition:color .2s linear 0s; -webkit-transition:color .2s linear 0s; -o-transition:color .2s linear 0s;
	background-color: #111;
	transition-property:color .2s linear 0s; -moz-transition:background-color .2s linear 0s; -webkit-transition:background-color .2s linear 0s; -o-transition:background-color .2s linear 0s;
	}

/*GALLERY PORTFOLIO*/

.isotope-item { 
  z-index: 2; 
} 
  
  .isotope-hidden.isotope-item { 
  pointer-events: none; 
  z-index: 1; 
  } 
  
.isotope, 
.isotope .isotope-item { 
-webkit-transition-duration: 0.8s; 
   -moz-transition-duration: 0.8s; 
        transition-duration: 0.8s; 
} 
  
.isotope { 
-webkit-transition-property: height, width; 
   -moz-transition-property: height, width; 
        transition-property: height, width; 
} 
  
.isotope .isotope-item img:hover { 
-webkit-transition: all 0.3s ease;
-webkit-transform: perspective(800px) rotateY(0deg);
} 

/*Styles for screen 1400px and bigger*/
@media screen and (min-width: 1400px) {

	body 	{ font-size:110%; }
	nav.gall {
	
	font-size: 85%;
	
}
}	

/*Styles for screen 1100px and lower*/
@media screen and (max-width: 1100px) {

	.screenmed {
	display: block;
	}
	.screen {
	display: none;
	}
}	

/*Styles for screen 767px and lower*/
@media screen and (max-width: 767px) {
	
	.screensmall {
	display: block;
	}
	.screenmed {
	display: none;
	}
	
	
	.wedding	{
	display:block;
	max-width: 350px;
	}
	
	nav.pri { 
  		height: auto;
		width:100%;
		border-left: 0px;
		border-right: 0px;
		border-bottom: 0;
  	}
  	nav.pri ul {
  		width: 100%;
  		display: block;
  		height: auto;
		display: none;
		height: auto;
  	}
  	nav.pri li {
  		width: 100%;
  		float: left;
  		position: relative;
  	}
  	nav.pri li a {
		border-bottom: 1px solid #576979;
		
	}
  	nav.pri a {
	  	text-align: left;
	  	width: 100%;
	  	text-indent: 25px;
		padding:  0px;
  	}

	
	nav.pri a#pull {
		display: block;
		background-color: #222;
		width: 100%;
		position: relative;
	}
	nav.pri a#pull:after {
		content:"";
		background: url('../images/nav-icon.png') no-repeat;
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		right: 15px;
		top: 5px;
	}
	
	nav.gall ul {
	width: 100%;
	}
	nav.gall a{
	width: 65px;
	font-size: 80%;
	text-align: center;
	color: #BFCCFA;
	padding: 20px 5px 20px 5px;
	margin: 5px 5px 5px 5px;
	background-color: #333;
	border-radius: 50px;
	text-decoration: none;
	line-height: 30px;
}

}

/*Styles for screen 515px and lower*/
@media only screen and (max-width : 480px) {
.head	{
	width:300px;
	margin: 0 auto 0 auto;}
.homeslide	{
	display: none;
	}
.entry	{
	margin: 11px;
	width: 23%;
	}
}

/*Smartphone*/
@media only screen and (max-width : 320px) {
	nav.pri li {
		display: block;
		float: none;
		width: 100%;
	}
	nav.pri li a {
		border-bottom: 1px solid #576979;
	}
}