/*
Theme Name: Dav 2
Author: Alois Gstoettner, http://www.alois-gstoettner.at
*/


/* Meta */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { 
	list-style-type: none;
	color: inherit;
	text-decoration: none;
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	vertical-align: baseline;
	outline: none;
	border-collapse: collapse;
	table-layout: fixed;
	background: transparent;
}

* {
	box-sizing: border-box;
}


/* Toggle */

.toggle-div {
	clear: both;
}

.toggle-div-header strong {
	cursor: pointer;
	border-bottom: 1px solid #e4e4e4!important;
}

.toggle-div .hidden {
	display: none;
}


/* Masonry */

#masonry {
	width: 100%;
	height: 100%;
	clear: both;
}

.item img {
	padding-right: .5em;
	padding-left: .5em;
	padding-bottom: 1em;
}

.category-typo-weiss a {
	color: #fff;
}

.category-typo-weiss a:hover {
	color: #fff;
	border-bottom-color: #fff;
}


/* Html, Body */

html, body {
	color: #000;
	background-color: #f8f8f8;
	height: 100%;
	width: 100%;
	letter-spacing: .025em;
	font: 14.5px/1.5 "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}


/* Superbox */

.bx-wrapper {
	margin-bottom: 1em;
	height: 510px;
}

.home .bx-wrapper {
	height:  	   -moz-calc(100% - 10em);
	height: 	-webkit-calc(100% - 10em);
	height: 		 -o-calc(100% - 10em);
	height: 			calc(100% - 10em);
}

.bx-viewport, .bxslider {
	height: 100%!important;
}

.container {
	width: 100%;
	height: 472px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}

.container-single {
	width: 100%;
	height: 472px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}


/* Textbox, Startseite */

.box-link {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
}

.box-link a {
	display: block;
	height: 100%;
}

.box-text {
	position: absolute;
	left: 0;
	top: 0;
	display: none;
	z-index: 200;
	padding: 1em 1em 1.75em 1.5em;
}

.box-text-single {
	padding: 1em 1em 1.75em 2em;
}

.box-link:hover .box-text, .item:hover .box-text {
	display: inline;
}

.category .category-text-unten .box-text {
	top: inherit;
	bottom: 0;
}

.home .box-text, .single .box-text {
	top: 100%;
	padding-left: 2em;
}

.single .box-text {
	display: inline;
}

.icon {
	position: absolute;	
	z-index: 101;
	bottom: 1.5em;
	right: 1em;
	text-align: right;
}

.icon-video {
	display: none;
	float: left;
	font-weight: bold;
	font-size: .6em;
	text-transform: uppercase;
	letter-spacing: 1px;
	background-color: rgba(255,255,255,0.6);
	margin-left: 1em;
	padding: .5em;
}

.archive .cat-grid .category-video .icon-video {
//	display: inline;
}

.category-video .cat-grid .category-video .icon-video {
	display: none;
}


/* Standards */

a {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-color: transparent;
}

a:hover {
	border-bottom: 1px solid #000;
}

.header a, .header-1-detail a {
	border-bottom-style: solid;
	border-bottom-width: 2px;
	padding-bottom: 2px;
}

h1 {
}

p {
	padding-bottom: 1.5em;
}

.page-headline {
	padding-bottom: 2em;
}


img {
	width: 100%;
	height: auto;
	display: block;
}

.page img {
	width: 60%;
	margin-bottom: 1em;
}

.bx-pager-item:first-of-type:last-of-type { 
    display: none
}


/* Header */

.header {
	width: 100%;
	padding: 2em;
	position: fixed;
	z-index: 1;
	top: 0;
}


/* Wrapper */

.wrapper {
	padding: 0 1em 1em;
	width: 100%;
	float: left;
	position: relative;
}


/* Category */

.header-top {
	height: 7em;
}

.cat-grid {
	position: relative;
	margin-right: 1.5em;
	margin-left: 1.5em;
}


/* Projekt */

.sp-25, .sp-33, .sp-50 {
	float: left;
	padding: 1em;
}

.sp-25 {
	width: 25%;
}

.sp-33 {
	width: 33.333%;
}

.sp-50 {
	width: 50%;
}

.sp-33 a {
	border-bottom: 1px solid #e4e4e4;
}

.sp-33 a:hover {
	border-bottom: 1px solid #000;
}


/* List */

.header li {
	float: left;
	margin-right: 1em;
}


/* Current */

.current, .current-menu-item a, .active a, .current-post-ancestor a, .wpml-ls-current-language a {
	border-bottom: 1px solid #000;
}


/* Animation */

.text-animation {
    -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 2s; /* Firefox < 16 */
        -ms-animation: fadein 2s; /* Internet Explorer */
         -o-animation: fadein 2s; /* Opera < 12.1 */
            animation: fadein 2s; 
            }

@keyframes fadein {
    0% { opacity: 0; } 100% { opacity: 1; }
}

@-moz-keyframes fadein {
    0% { opacity: 0; } 100% { opacity: 1; }
}

@-webkit-keyframes fadein {
    0% { opacity: 0; } 100% { opacity: 1; }
}

@-ms-keyframes fadein {
    0% { opacity: 0; } 100% { opacity: 1; }
}

@-o-keyframes fadein {
    0% { opacity: 0; } 100% { opacity: 1; }
}