/*
Theme Name:     CRISVERA Photography
Theme URI:      http://www.tirzen.com/
Description:    Cristian Vera's theme - based on the PhotoStudio Theme
Author:         Stan Ozier
Author URI:     http://www.tirzen.com/
Template:       photostudio
Version:        1.0
*/


@import url("../photostudio/style.css");

html, body {
	min-height: 400px;
}
.content a {
	border: 0 none;
}
h1.cris {
	position: fixed;
	top: 42px;
	left: 30px;
	font-size: 20px;
	line-height: 21px;
}
h1.cris a {
	font-family: Arial, sans-serif;
	font-weight: normal;
	text-transform: uppercase;
	color: #d6df00;
}
h1.cris a strong {
	font-weight: normal;
	color: #fff;
}
h1.cris a {
	display: block;
	width: 150px;
	min-width: 150px;
	height: 40px;
	background: url(img/logo.png);
	text-indent: -9999px;
	overflow: hidden;
}

h1.cris a strong {
	display: block;
	text-indent: -9999px;
	overflow: hidden;
}
#menu_top {
	position: fixed;
	top: 66px;
	right: 30px;
	width: auto;
	padding-bottom: 20px;
	z-index: 10;
	border: 0px none;
	background: none;
}
#menu_top ul li {
	display: inline-block;
	list-style: none;
	padding-left: 20px;
}
#menu_top ul li a {
	font-family: Myriad Pro, Trebuchet MS, Arial, Sans-Serif;
	font-size: 12px;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	padding: 0 2px;
	letter-spacing: .1em;
}
#menu_top ul li.current_page_item a,#menu_top ul li a:hover {
	color: #d6df00;
}

body>#nav {
	z-index: 10;
}

#nav {
	color: #aaa;
	font-size: 16px;
	font-weight: bold;
	position: fixed;
	top: 30px;
    right: 24px;
    z-index: 999;
}
#nav a {
	opacity: 0.85;
	-moz-opacity: 0.85;
	filter: alpha(opacity=85);
	display: block;
	width: 24px;
	height: 24px;
	background: url(img/nav.png);
	text-indent: -9999px;
	overflow: hidden;
	margin-left: 0;
}
#nav a#lsc {
	
}
#nav a#rsc {
	background-position: -22px 0;
}
.content {
	top: 100px;
	left: 30px;
	height:300px;
	padding: 0;
	color: #CCC;
	z-index: 3;
}
.content table#pics {
	display: block;
}
.content table#pics td {
	border-right: 10px solid #000;
}
.content table#pics td:last-child {
	border-right: 0 none;
}
#cachelft {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 30px;
	background-color: #000;
	z-index: 30;
}
#cachergt {
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	width: 30px;
	background-color: #000;
	z-index: 30;
}
/* */
.page-template-default .content, .blog .content, .archive .content, .single .content {
	padding: 0;
	width: 100%;
	left: 0;
}
.page-template-default .content h1 {
	font-family: "Myriad Pro", "Trebuchet MS", Arial, Sans-Serif;
	font-weight: bold;
	font-size: 38px;
	color: #818386;
	text-transform: uppercase;
	margin: 0 0 0 30px;
	padding: 30px 0 20px;
}
.page-template-default .content .row {
	position: relative;
	width: 100%;
}
.page-template-default .content .illus {
	position: absolute;
	top: 0;
	right: 30px;
	width: 600px;
	border-left: 10px solid #000;
}
.page-template-default .content .illus img {
	display: block;
	width: 100%;
}
.content .row .thecon {
	margin-top: 20px;
	margin-left: 30px;
	margin-right:620px;
	height: 271px;
	padding: 30px 20px;
	overflow:hidden;
	background-color: #414042;
	font-family: "Times New Roman", Times, serif;
	font-size: 15px;
	line-height: 20px;
	color: #ccc;
}
.content .row .fixcon {
	margin-right: 0;
	width: 400px;
}
.content .row .maxcon {
	margin-right: 0;
	width: 95%;
}
.content .row .thecon h2 {
	font-size: 24px;
	color: #D5DF00;
	text-transform: uppercase;
}
.content .row .thecon .scrollcon {
	height: 240px;
	overflow: auto;
	padding-right: 20px;
}
.content .row .thecon a {
	color: #d6df00;
	text-decoration: none;
}
.content .row .thecon a:hover {
	border-bottom: 1px dotted #d6df00;
}
.content .row .thecon .scrollfull {
	height: 100%;
	overflow: auto;
	padding-right: 20px;
}
.content .row .thecon .autofull {
	height: auto;
	padding-right: 20px;
}
.content .row .thecon p#linkedin {
	padding: 20px 0 0;
}
.content .row .thecon p#linkedin a {
	display: block;
	background: url(img/social.png) no-repeat -110px 0;
	width: 60px;
	height: 25px;
	text-indent: -9999px;
	overflow: hidden;
	border-bottom: 0 none;
}
/* news */
.content .row #con-news.thecon {
	background-color: #d4d5d7;
	color: #000;
}
.content .row #con-news.thecon h2 {
	color: #000;
	margin-bottom: .75em;
}
.content .row #con-news.thecon h2 em {
	color: #c00;
}
.content .row #con-news.thecon a {
	color: #c00;
	text-decoration: none;
}
.content .row #con-news.thecon a:hover {
	border-bottom: 1px dotted #c00;
}
/* contact */
.content .row #con-contact.thecon {
	background-color: #000;
	padding: 0;
}
.content #con-contact table {
	width: 588px;
}
.content #con-contact table td {
	padding: 0 15px 10px 0;
}
.content .row #con-contact {
	font-family: "Myriad Pro", "Trebuchet MS", Arial, Sans-Serif;
	font-size: 13px;
	line-height: 16px;
	color: #fff;
}
.content #con-contact input.wpcf7-text, .content #con-contact textarea {
	width: 100%;
	color: #ccc;
	background-color: #333;
	border: 0 none;
	padding: 3px 4px;
}
.content #con-contact input.wpcf7-text:focus, .content #con-contact textarea:focus {
	background-color: #444;
	outline: none;
}
.content #con-contact textarea {
	width: 100%;
	height: 150px;
	max-width: 600px;
}
.content #con-contact p.button {
	width: 100%;
	max-width: 580px;
	text-align: right;
}
.content #con-contact p.button input {
	text-transform: uppercase;
	font-weight: bold;
	background-color: #ccc;
	padding: 1px 2px;
	border: 1px solid #999;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	cursor: pointer;
}
span.wpcf7-not-valid-tip {
	top: 20px !important;
	left: 20%;
	background: red !important;
	border: 1px solid red;
	font-size: 11px;
	width: 240px !important;
	padding: 1px 2px !important;
	font-weight: bold;
}
div.wpcf7-response-output {
	position: relative;
	margin: -2.4em 3px !important;
	width: 450px;
	z-index: 99;
}
/* footer */
#footer {
	width: 100%;
	padding: 10px 0;
}
#footer #foot1 {
	height: 70px;
	padding: 0 30px;
}
/* social links */
#social_bot {
	height: 25px;
}
#social_bot ul {
	
}
#social_bot ul li {
	float: left;
	list-style: none;
}
#social_bot ul li a {
	display: block;
	width: 36px;
	height: 25px;
	/*background: url(img/social.png) no-repeat 0 0;*/
	text-indent: -9999px;
	overflow: hidden;

}

#footer iframe{
	filter: grayscale(1);
}

/* Crini Editz */

#social_bot ul > li:nth-child(1){
	background-image: url(img/instagram.png);
	background-size: 20px;
	background-position: top center;
	background-repeat: no-repeat;
}

#social_bot ul > li:nth-child(2){
	background-image: url(img/facebook_white_icon.png);
	background-size: 20px;
	background-position: top center;
	background-repeat: no-repeat;
}

#social_bot ul > li:nth-child(3){
	background-image: url(img/linkedin.png);
    background-size: 20px;
	background-position: top center;
	background-repeat: no-repeat;
}


#social_bot ul > li {
    background-size: 15px !important;
}

#social_bot ul > li:nth-child(4){
	background-image: url(img/twitter-logo.png);
    background-size: 17px !important;
    background-position: top right;
    background-repeat: no-repeat;
}


#menu_top > p {
	display: none;
}

.hamburguer-icon{
	position: fixed;
	top: 66px;
	right: 30px;
	z-index: 10;
}

.toggle-nav{
	display: none;
}

a.toggle-nav:link, 
a.toggle-nav:visited,
a.toggle-nav:hover, 
a.toggle-nav:active {
	text-decoration: none;
	color: #fff;
} 

/* End of Crini Editz */

#social_bot ul li a#facebook {
	
}
#social_bot ul li a#twitter {
	background-position: -36px 0;
}
#social_bot ul li a#flickr {
	background-position: -72px 0;
}
/* menu */
#menu_bot {
	float: right;
}
#menu_bot ul li {
	display: inline-block;
	list-style: none;
	padding-left: 16px;
}
#menu_bot ul li a {
	font-family: Myriad Pro, Trebuchet MS, Arial, Sans-Serif;
	font-size: 10px;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	padding: 2px 2px 1px;
	letter-spacing: .1em;
}
#menu_bot ul li.current_page_item a, #menu_bot ul li a:hover {
	color: #000;
	background-color: #fff;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

/* footer text */
#footer p {
	padding: 0 30px 15px;
	text-transform: uppercase;
}
#footer p.copyright {
	text-align: right;
	line-height: 16px;
}
#footer p a.efeonce {
	color: #d6df00;
	text-transform: none;
	text-decoration: none;
}

#bigPhoto {
    text-align: center;
	z-index: -1;
	opacity: 0;
    position: fixed;
    width: 100vw;
    height: 100vh;
    align-items: center;
	justify-content: center;
	display: flex;
	transition: all .2s ease-in;
}

#bigPhoto.show {
	z-index: 10; 
	opacity: 1;   
	transition: all .5s ease-in;
}

#bigPhoto .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background: rgba(0,0,0,.8);
	cursor: pointer;
}

#bigPhoto img {
    position: relative;
    max-height: 80vh;
    width: auto;
    display: inline-block;
    max-width: 90vw;
}

#bigPhoto .close {
    color: #fff;
    position: fixed;
    top: 26px;
    right: 28px;
    z-index: 999999999;
    content: "✖";
    width: 30px;
    height: 30px;
    font-size: 30px;
    font-family: monospace;
}

div#con-about, div#con-about > div {
    height: auto;
}

div#con-about > div {
	max-height: calc(100vh - 440px);
}

.content .row .thecon {
	margin-right: 650px;
}

@media only screen and (max-height:670px) {
	body.page-template-default h1.cris, body.page-template-default #menu_top {
		position: absolute;
	}
	body.page-template-default .content {
		position: static;
		margin-top: 100px;
		height: auto;
		min-height: 420px;
	}
	body.page-template-default #footer {
		position: static;
		bottom: auto;
	}
}

/* Crini Editz */

@media only screen and (max-width: 820px) {
	
	
	/* Header */	
	
	body:not(.home) .header{	
		position: fixed;
		top:0;
		width: 100%;
		height: 100px;
		max-height: 100px;
    	background-color: #000;
		z-index: 9999999;		
	}


	/*
	.content,
	.content table#pics td img{
		height:calc(100vh - 190px) !important;
	}
	*/
	
	.content,
	.content table#pics td img{
		height:calc(100vh - 260px) !important;
	}
	
	/* about Page */

	/*header*/
	
	body.page-template-default.page-id-2{
		overflow-x: hidden;
	}

	.page-template-default .content .row{
		display: flex;
		flex-direction: column;
		width: 100vw;
		padding: 0 30px;
		box-sizing: border-box;
	}

	.content .row .thecon .scrollcon{
		height: auto !important;
	}

	.page-template-default .content.about .row{
		height: auto !important;
		max-height:1723px;
	}

	#con-about{
		height: auto;
		margin:0 !important;
		overflow: unset;		
	}

	.page-template-default .content .illus{
		position: static;
		border:none;
		margin: 0 !important;
		width: 100vw !important;
	}

	.page-template-default .content .illus img{
		width:calc(100vw - 60px) !important;
		height: auto !important;
	}

	/* Contact Page */
	#con-contact,
	.content #con-contact table{
		margin: 0;
		height: auto;
		width: 100%;
	}

	#con-contact form .wpcf7-textarea{
		height: 140px;
		max-height: 140px;
	}

	#con-contact form .wpcf7-submit{
		float: right;
	}

	.content #con-contact table tbody tr{
		display: flex;
		flex-direction: column;
	}

	.content .row .thecon .autofull{
		padding-right: 0;
	}

	.content #con-contact input.wpcf7-text{
		padding: 8px 12px;
	}

	.content #con-contact table td{
		padding: 0 0px 10px 0;
	}

	.content{
		top:85px;
	}

	.toggle-nav {
		display: inline-block !important;
		transition: color linear 0.15s;
		color: #fff;
	}

	.logo.cris{
		top:30px;
	}

	#nav{
		top:27px;
	}

	#nav a{
		width: 15px;
		height: 15px;
		background: url(img/nav.png);
		text-indent: -9999px;
		overflow: hidden;
		margin-left: 4px;
		background-size: cover;
	}
	
	#nav a#rsc{
		background-position: 12px 0;
	}

	h1.cris a span{
		display: none;
	}

	#menu_top{
		display: inline-block;
		position: fixed;
		background: #000;
		width: auto;
    	max-width: 90vw;
		/* text-align: left; */
		top: 80px;
		right: 0;
		overflow: auto;
		margin-right: -90vw;
		transition: .25s;
		z-index: 999;
		min-height: calc(100vh - 100px);
		padding: 20px 0;
	}

	#menu_top ul{
		display: flex;
		flex-direction: column;
	}

	#menu_top.menu-show {
		margin-right: 0;
		/*box-shadow: 4px 2px 15px 1px #B9ADAD;*/
	}

	#menu_top ul li{
		opacity: 0;
		margin-bottom: 8px;
		transition: 0.5s;
	}
	
	#menu_top ul li.show{
		opacity: 1;
	}

	#menu_top ul li a{
		font-size: 0.86rem;
	}

	/* Hamburguer Icon From Scratch */
	.toggle-button {
		position: fixed;
		width: 35px;
		height: 18px;
		padding: 4px;
		transition: .25s;
		z-index: 15;
		top: 35px;
		right: 16px;
	  }
	  .toggle-button:hover {
		cursor: pointer;
	  }
	  .toggle-button .menu-bar {
		position: absolute;		
		transition: .5s;
		border-radius: 0px;
		width: 50%;
	  }
	  .toggle-button .menu-bar-top {
		border: 2px solid #fff;
		border-bottom: none;
		top: 0;
	  }
	  .toggle-button .menu-bar-middle {
		height: 2px;
		background-color: #fff;
		margin-top: 4px;
		margin-bottom: 4px;
		top: 4px;
		width: 60%;
	  }
	  .toggle-button .menu-bar-bottom {
		border: 2px solid #fff;
		border-top: none;
		top: 16px;
	  }
	  .button-open .menu-bar-top {
		transform: rotate(45deg) translate(4px, 4px);
		transition: .5s;
	  }
	  .button-open .menu-bar-middle {
		transform: translate(230px);
		transition: .1s ease-in;
		opacity: 0;
	  }
	  .button-open .menu-bar-bottom {
		transform: rotate(-45deg) translate(8px, -7px);
		transition: .5s;
	  }
	
	/*
	#menu_top ul li {
		float: none;
		display: block;
		position: relative;
		top: 0px;
		right: 0px;
		min-width: 200px;
		background: #fff;
		text-align: right;
	}
	*/

	#social_bot ul li a{
		width:27px;
	}

	#footer{
		z-index: 999;
		background: #000;
		padding-top: 20px !important;
	}

	#footer #foot1 {
		height: 40px;
		padding: 0 30px;
	}

	#foot1 #menu_bot > ul > li > a{
		font-size: 0.81rem;
	}

	#bigPhoto.show {
		z-index: 99999999;
	}

	#bigPhoto img {height: auto !important;}

	body>#nav {
		display: none;
	}

	#menu_top ul li a {
		font-size: 17px;
		line-height: 25px;
	}

	div#con-about > div {
		max-height: none;
	}

}