/*
Theme Name:     Fount Child Theme
Description:    Child theme for Fount.
Version:        3.4
Author:         Pirenko
Author URI:     http://www.pirenko.com/
Template:       fount
*/

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


/*typography*/
body, .fount_safari body{
	-webkit-font-smoothing: antialiased;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
}
h1 {
    font-weight: 500 !important;
    font-size:5em !important;
    text-transform: uppercase !important;
    font-family: "Teko" !important;
}
h2 {
    font-weight: 500 !important;
    font-size:32px !important;
    text-transform: uppercase !important;
    font-family: "Teko" !important;
    letter-spacing: .05em;
    margin-left: .05em;
}
h2:not(:first-child){
    margin-top: 70px;
}
h3 {
    font-weight: 500 !important;
    font-size:24px !important;
    text-transform: uppercase !important;
    font-family: "Teko" !important;
    letter-spacing: .1em;
    margin-left: .1em;
    margin-top: 36px;
}
h4 {
    font-weight: 500 !important;
    font-size:17px !important;
    text-transform: uppercase !important;
    font-family: "Rajdhani" !important;
    margin-top:14px;
}
p {
    font-weight: auto;
    font-size:16px !important;
    line-height: 1.6em;
}

@media (max-width: 768px){

	h1 {
	    font-size:2.75em !important;
	}
	h2 {
	    font-size:24px !important;
	}
	h2:not(:first-child){
	    margin-top: 30px;
	}
	h3 {
	    font-size:20px !important;
	    margin-top: 14px;

	}
	h4 {
	    font-size:15px !important;
	    margin-top: 8px;
	}
	p {
	    font-size:14px !important;
	}

}


/*links*/
.bg_shifter{
	-moz-transform:  initial !important;
    -ms-transform:  initial !important;
    -webkit-transform: initial !important;
    transform:  initial !important;
}



/*menu*/
.regular_anchor_menu{
		text-transform: uppercase;
	    font-family: "Teko";
	    font-weight: 500 !important;
	    font-size: 18px;
	    letter-spacing: .1em;
}

body:not(.menu_at_top) #prk_responsive_menu.classic_menu{position:relative;}
body:not(.menu_at_top) #prk_menu_els {max-width: 100%;}
body:not(.menu_at_top) #prk_logos {position: absolute;}
body:not(.menu_at_top) #prk_alt_logo_image{
	max-height: none !important;
    width: 150px !important;
    height: 356px;
}
body:not(.menu_at_top) #fount_logo_holder {margin-top: 20px !important;    left: -30px;}

body:not(.menu_at_top) #menu_section {
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    right: -212px;
    position: absolute;
    top: 255px;
    width: 500px;
    height: 50px;
}
body:not(.menu_at_top) .sf-menu a{ padding: 0px 5px;}
body:not(.menu_at_top) .sf-menu>li>a:after {
    left: 10px;
    right: 12px;
}
body:not(.menu_at_top) #menu_section.unpad_right .sf-menu>li:last-child>a:after {right: 7px;}


.menu_at_top #fount_logo_after img{
	height: 120px;
	width: auto;
	-ms-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
	transform: rotate(270deg);
	top: -30px;
	left: 37px;
	position: absolute;
}
.menu_at_top .sf-menu.mini-site-header {
    padding-top: 40px;
}


/*footer*/
#prk_footer {background:none;}

body:not(.menu_at_top) #prk_footer_wrapper {
    position: relative;
    background: none;
    -ms-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
    width: 300px;
    left: -115px;
    bottom: 65px !important;
}
body:not(.menu_at_top) #prk_footer_wrapper .fount_centered_text {text-align: left !important;}

.menu_at_top #prk_footer_wrapper {height: 100px;}


/*all pages*/
#fount_to_top{padding:50px 50px 60px 50px;}
.fount_fa-arrow-up:before {
    content: "^";
    font-size: 60px !important;
    font-family:"Teko";
    font-weight: 500;
}
#prk_footer_wrapper {-webkit-transform-origin: 50%  51%;}


/*homepage*/
.home .fount_with_video {
  top: 0; 
  left: 0;
  overflow: hidden;
  width: 100%;
  height: auto;
}
.home .fount_with_video  > video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

.home #prk_logos {display: none;}
.menu_at_top.home #prk_ajax_container {
    background: url('/wp-content/uploads/2015/06/Screen-Shot-2015-06-10-at-8.19.24-PM.png') no-repeat 50% 30%;
    background-size: auto 50%;
}
.home .fount_with_video {
	background-size: 80%;
	background-repeat: no-repeat;
	background-position-y: 125px;
	background-position-x: center;
}
.home {
    overflow-y: hidden !important;
    position: absolute;
}
body:not(.menu_at_top).home #prk_responsive_menu.classic_menu{position:absolute !important;}
.home #prk_footer_wrapper.no_mirror {z-index: 100;}
body:not(.menu_at_top).home #prk_footer.prk_no_footer {padding-left: 10px;}
.home #prk_footer_wrapper {position: absolute !important;}
.menu_at_top.home #prk_footer_wrapper{bottom: 10px;}    
.menu_at_top.home video {display:none;}
.home #bottom{    
    border-bottom: 10px solid #ffffff;
    height: 58px;
    position: fixed;
    bottom: 0px;
    z-index: 10;
    left: 0;
    right: 0;
    text-align: right;
    padding-right: 15px;
    color: #333;
}

/*interior pages*/
body:not(.home) #bottom {display:none;}
body:not(.home) #fount_wrapper {border-bottom: 10px solid #fff;}
body:not(.home) #content p a {border-bottom: 3px solid;}
body:not(.home) #content p a:hover {opacity:.25;}
@media (max-width: 1023px){
	#content .prk_inner_block { max-width: 600px;}
}


/*CV*/
.page-id-175 h2 {margin-top:25px;margin-bottom:25px !important;}
.page-id-175 h3 {margin-top:0px;}
.page-id-175 .wpb_column.column_container {margin-bottom:5px;}


/*blog gallery*/
.page-template-template_blog .blog_top_image img {width:100%;}


/*blog post*/
.single-post h2{
	padding: 30px 0;
}

/*portfolio gallery*/
.page-template-template_portfolio h3 {margin-top:0;}
.page-template-template_portfolio:not(.fount_showing_lightbox):not(.page-id-148) img{
    -webkit-filter: grayscale(1); 
    -webkit-filter: grayscale(100%);
    filter: gray; 
    filter: grayscale(100%);
}
.page-template-template_portfolio .grid_single_title {margin-top:-20px;}
@media (min-width: 1300px){
    .page-template-template_portfolio .prk_inner_block { max-width: 1000px;}
}


/*project page*/
.page-template-template_portfolio.fount_showing_lightbox .prk_inner_block { max-width: 1000px !important;}
.page-template-template_portfolio.fount_showing_lightbox audio {
    visibility:visible !important;
    padding: 50px 0 0;
}
.page-template-template_portfolio.fount_showing_lightbox .project_heading {display:none;}
.page-template-template_portfolio.fount_showing_lightbox #not_slider {display: none;}
.page-template-template_portfolio.fount_showing_lightbox h1 {margin-top: 75px;}
.page-template-template_portfolio.fount_showing_lightbox h2 {font-size:24px !important; color: #000 !important;margin-top:-14px;}
.page-template-template_portfolio.fount_showing_lightbox h3 {
    font-size:19px !important; 
    color: #000 !important;
    letter-spacing: .05em;
}
.page-template-template_portfolio.fount_showing_lightbox h4 {font-size:16px !important; color: #000 !important;}
.page-template-template_portfolio.fount_showing_lightbox #single_spinner.spinner-icon {
    border: 3px solid rgba(0, 0, 0,0.3);
    border-right-color: #000;
    border-left-color: #000;
}
.page-template-template_portfolio.fount_showing_lightbox .wpb_single_image img {width:100%;}
.page-template-template_portfolio.fount_showing_lightbox [class^="fount_fa-"] {
	font-family: "Teko";
    font-size: 40px !important;
    font-weight: 600;
    color: #000 !important;
}
.page-template-template_portfolio.fount_showing_lightbox #fount_left i:before{content:"<";}
.page-template-template_portfolio.fount_showing_lightbox #fount_close i:before{content:"X";}
.page-template-template_portfolio.fount_showing_lightbox #fount_right i:before{content:">";}
.page-template-template_portfolio.fount_showing_lightbox [class^="fount_"] i:hover {color:#000 !important; transition-property: opacity; opacity:.7; transform:none;}
.page-template-template_portfolio.fount_showing_lightbox #wrap {border-bottom: 10px solid #000; padding-bottom:30px;}
.page-template-template_portfolio.fount_showing_lightbox #fount_wrapper {border-bottom: none;}

@media (min-width: 768px){
.page-template-template_portfolio.fount_showing_lightbox .wpb_single_image {margin-bottom: -46px;}
.page-template-template_portfolio.fount_showing_lightbox .vc_span6 .wpb_single_image {width: calc(100% + 15px);}
.page-template-template_portfolio.fount_showing_lightbox .vc_span6:last-child .wpb_single_image {margin-left: -15px;}
}

@media (max-width: 767px){
.page-template-template_portfolio.fount_showing_lightbox .wpb_single_image {margin-bottom: -36px;}
.page-template-template_portfolio.fount_showing_lightbox .wpb_wrapper,.page-template-template_portfolio.fount_showing_lightbox .wpb_wrapper p,.page-template-template_portfolio.fount_showing_lightbox .wpb_wrapper h3{text-align:left !important;}
}

@media (max-width: 480px){
.page-template-template_portfolio.fount_showing_lightbox .wpb_single_image {
    margin-bottom: -26px;
}
