/*
	Theme Name: Bakform 2016
	Description: Based on HTML5 Blank 1.4.3
	Version: 0.16
	Author: Paul Schroeder (youtag)
	Author URI: http://youtag.lu
*/

body {
	font-family: "DINSchriftLTAlternate", sans-serif;
}

.header .nav ul {
    list-style: none;
    margin: 15px 0px 25px 0;
    padding: 0px;
}
.header .nav ul li a {
    font-size: 48px;
    line-height: 48px;
    text-decoration: none;
    font-weight: normal;
    text-transform: uppercase;
 /*   color: #4d4f53;
    transition: color 250ms ease-in-out;*/
}

.header .contact {
    font-size: 115%;
    
    margin: 30px 0;
}
.header .contact a.fa {
    font-size: 20px;
    padding: 0 8px 0 0;
    text-decoration: none;
}

.__thumb_link {
  position: relative;
  margin: 0 1.5rem 1.5rem 0;
  display: inline-block;
  width: 100%;
	min-height: 160px;
  background: #0cc6de22;
}

.thumb__bg{
  position: absolute;
  opacity: 0;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  padding: 1rem;
  color: white;
  background: #0cc6de;
	text-shadow: 0 0 2px #0002;
  transition: opacity 350ms ease-in-out;
} 

.thumb_link:hover > div {
  opacity: 1;
  z-index: 1;
}




.sidebar ul {
    list-style: none;
    padding: 0;
}
.sidebar ul li.cat-item-1 { display: none; }
.sidebar ul li.cat-item a {
    font-size: 32px;
    line-height: 32px;
    text-decoration: none;
}
.blog h1,
.sidebar h3 {
	__font-family: "din-2014", sans-serif;
	font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
}
.sidebar-widget > div {
    margin-bottom: 20px;
    float: left;
    width: 100%;
}

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
}
body {
    overflow-x: hidden;
    font-size: 13px;
}
p { 
    margin-top: 0; 
}
hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px 0;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
.invisible { display: none; }



img {
	max-width:100%;
    height: auto;
	vertical-align:bottom;
}
a {
	color: #4d4f53;
    /*text-decoration: underline;*/
    transition: all 250ms ease-in-out;
/*    border-bottom: 1px solid #ccc;
    margin-bottom: -1px;*/
}
a:hover {
    color: #0cc6de;
}
a:focus {
    color: #0cc6de;
	outline:0;
}
a:hover,
a:focus,
a:active {
    color: #0cc6de;
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

button.search-submit,
input.search-input {
    -webkit-appearance: none;
    border-radius: 0;
    
    background: #0cc6de;
    border: none;
    color: white;
    font-size: 18px;
    padding: 5px 1px 4px 4px;
    width:  calc(100% - 37px);
    float: left;
}
::-webkit-input-placeholder
{
    color: rgba(255,255,255,0.9);
}
::-moz-placeholder
{
    color: rgba(255,255,255,0.9);
}
:-ms-input-placeholder
{
    color: rgba(255,255,255,0.9);
}

button.search-submit {
    padding-left: 0;
    background: #4d4f53;
    width: 31px;
    float: right;
}
button.search-submit:hover {
    background: #0cc6de;
}


h2,h3,h4 { 
    margin-top:0;
    font-size: 48px;
    line-height: 48px;    
    font-weight: normal;
    max-width: 570px;
}
h1.post-title-single,
h3 {
    font-size: 27px;
    line-height: 1.2;
    text-transform: none;
}
h1.post-title-single,
h3.post-title-blog {
    float: left;
    width: 80%;
    margin: 0;
}
h4.date-blog {
    float: right;
    /*color: #ccc;*/
    font-size: 14px;
    line-height: 1;
    margin: 14px 0 0 0;
}

.grid, .grid-blog {
    width: 100%; 
}

.grid-sizer,
.grid-item,
.grid-sizer-blog,
.grid-item-blog
{
    position: relative;
    width: 25%;
}
.grid-item,
.grid-item-blog
{
    float: left;
    margin-bottom: 10px;
}
.grid-item-blog
{
    margin-bottom: 30px;
}




.grid-item img {
    display: block;
    max-width: 100%;
    position: relative;
}

.thumbbg:hover { opacity: 1; }

.thumbbg {
    position: absolute;
    opacity: 0;
    top: 0;
    background: #0cc6de;
    font-size: 80%;
    width: 100%;
    height: 100%;
    padding: 10px;
    color: white;
    transition: opacity 250ms ease-in-out;
}
.thumbbg > h2 {
    font-size: 26px;
    line-height: 1;
}

.thumb-blog img {
    width:100%;
    margin: 10px 0 5px 0;
}



.portfolio-table { margin: 20px 0; width: 100%; float: left; font-weight: bold; color: #0cc6de; clear:both; line-height:1; }
.portfolio-table div.title { color: #4d4f53; padding-bottom: 8px; }
.portfolio-table div:not(.title) { font-size: 115%; line-height: 1.4; }

.portfolio-table div { float:left; }
.portfolio-table div.work { width:40%; padding-right:4% }
.portfolio-table div.client { width:40%; padding-right:4% }
.portfolio-table div.date { width:12%; }
.portfolio-table div.share { float: right; }



.portfolio-description { margin: 20px 0; max-width: 400px; }


.su-column img, .su-column iframe, .su-column object, .su-column embed { height:auto; }



.testimonial_rotator_wrap {
    margin: 80px 0 0 0;
    padding: 0;
    text-align: center;
}

.testimonial_rotator h3 {
    color: #0cc6de; /* cyan blue */
    max-width: 80%;
    margin-left: 10% !important;
}

.testimonial_rotator.template-default .testimonial_rotator_author_info {
    font-style: normal;
    padding: 5px 0;
    border: none;
    margin: 0;
}

.testimonial_rotator_stars {
    position:absolute; height:0; width:0; display:none;
}


/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width: 1600px;
    margin: 20px;
	position: relative;
}
/* header */
.header {
    position: fixed;
    width: 150px;
}
main {
    position: relative;
    margin-left: 160px;
    margin-left: max(160px, min(12vw, 200px) );
    /*background: yellow;*/
    display:block;
    padding-top: 128px; 
}
.blog {
    /*background: #ccc;*/
    width: calc(100% - 175px); 
}
main>h3 {padding-top: 0; margin-top:0; }

section {
}
section[id] {
    padding-top: 60px; /*153px*/
}

/* logo */
.logo {

}
.logo-img {
    height: 113px;
    width: auto;
}
/* nav */
.nav {

}
/* sidebar */
.sidebar { width: calc(100% - 160px); position: relative; float: right; }


/* footer */
.footer {
    position: relative;
    float: right;
    margin: 50px 0;
    width: calc(100% - 160px);
    font-family: 'DINSchriftLTRegular', Impact, Arial;
    letter-spacing: 0.05em;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:580px) {
    
    p { font-size: 115%; line-height: 140%; }
    
    .blog { width: 100%; }
    
    main { margin:0 }

    .header {
      
        position: relative;
        top: 0;
        left: 0;
        padding: 0;
        height: 80px;
        width: 100%;
    /*  background: rgba(255,255,255,0.8);
        z-index: 100;
        height: 153px;
        -webkit-backdrop-filter: blur(20px);
        */
    }    
    .nav {
        position: absolute;
        z-index: 10;
        right: 0px;
        top: 0px;
        text-align: right;
        /* font-size: 5px; */
    }
    .header .nav ul { margin: -5px 0 0 0 }
    
    .contact { display: none }

    .responsive-navigation_nav a { font-size: 32px; }
    
    .header ul li a {
        font-size: 24px;
        line-height: 31px;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .sidebar { margin-top: 40px; width:100%; }
    
    h2 { 
    font-size: 32px;
    line-height: 32px;    
    }
    h3,h4 { 
    font-size: 20px;
    line-height: 20px;    
    }
    .testimonial_rotator h3 { font-size: 180%; line-height: 1; margin:0; }

    .portfolio-table .date, 
    .portfolio-table .share 
        { display: none }

    
    .portfolio-table div { width: 50% !important; padding-right:0; }
    .showonmobile { display: block !important }
    
    
}

@media only screen and (min-width:320px) {
    
    .grid-sizer, .grid-item,
    .grid-sizer-blog, .grid-item-blog { width: 100%; }
    
}
@media only screen and (min-width:580px) {
    
    .grid       { width: 102%; }
    .grid-sizer { width: 50%; }
    .grid-item  { width: 48%; }

    .blog { width: calc(100% - 380px); }
    .sidebar {
        width: 190px;
        position: absolute;
        right: 0;
        top: 130px;
    }
}
@media only screen and (min-width:868px) {
    
    .grid               { width: 101.333%; }
    .grid-sizer         { width: 33.333%; }
    .grid-item          { width: 32%; }
    
}
@media only screen and (min-width:1124px) {

    .grid-sizer-blog    { width: 50%; }
    .grid-item-blog     { width: 47%; }
    .grid-item-blog     { margin-right: 3%; }
    
    .grid       { width: 101%; }
    .grid-sizer { width: 25%; }
    .grid-item { width: 24%; }

}
@media only screen and (min-width:1140px) {
 /*   
    .grid-sizer { width: 20%; }
    .grid-item { width: 17%; }
*/
}


@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#0cc6de;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#0cc6de;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#0cc6de;
	color:#FFF;
	text-shadow:none;
}



/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

p {
    margin:0;
    padding: 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:0px auto 5px auto;
}
.alignright {
	float:right;
	margin:0px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:0px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:0px 0 20px 20px;
}
img.alignnone,
a img.alignnone {
	margin:0px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:0px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}


/*------------------------------------*\
    SU-ROW / COLUMNS
\*------------------------------------*/

article .su-row
    { margin:0; }

article .su-row img 
    { width: 100%; height:auto; }

article .su-row .su-column 
    { margin: 0 0 0 25px; }


/*.su-column { margin: 0 !important; }*/


article .su-column-size-1-4 
    { width: calc(25% - 18.75px); }

article .su-column-size-1-3 
    { width: calc(33.33% - 16.66px); }

article .su-column-size-1-2 
    { width: calc(50% - 12.5px); }



/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
        height: auto;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
