/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */



/******************************************************************************
* 1. Desktop (Default)
******************************************************************************/

html {
	height:100%;
}
body {
	font-size: 16px; /* 1em */
	background: url(../images/background_html_300.png) repeat-y 0 0;
	height:100%;
}

ul {
	margin: 0;
}

body.loading {
	visibility:hidden;
}
#header {
	width:  18.75em; /* 300px */
	float:left;
}
#content {
	margin-left: 18.75em; /* 300px */
	max-width:  100%;
	overflow:hidden;
}

.box img {
  	display: block;
	width: 103%;
}

.box {
	float:left;	 
	width: 33.23%;
}
.ov {
	display:none;
	width:  15.625em;
	height: 10.937em;
	position:absolute;
	background: url(../images/overlay_250px.png) no-repeat 0 0;
	cursor:pointer;
}

.ov h3 {
	width:  13.625em;
	padding: 0 1em;
	margin: 0;
	bottom: 1em;
	position:absolute;
	min-height: 1.2em;
	text-align:center;
	font-size: 100%;
	color:#FFFFFF;
}

.no-touch .box:hover  .ov {
	display:block;
}

body.slider_gallery #content {
    padding: 1em 0  0 0;
	background: #e1e1e1;
}

body.slider_gallery .box img {
    margin: 8%;
    width: 87%;
	-moz-box-shadow:    3px 3px 9px 1px #AFAFAF;
	-webkit-box-shadow: 3px 3px 9px 1px #AFAFAF;
	box-shadow:         3px 3px 9px 1px #AFAFAF;
}

#logo_wosilat {
	width: 100%;
}

.navicons ul {
	padding: 0 0 0 1em;
	margin-left: 0;
}
.navicons.nav_slider ul {
	padding: 0 0 1em 1em;
}
.navicons ul li {
	float:left;
	width: 19px;
	height: 19px;
	margin: 0 0.7em 0 0;
	display:block;
}

.navicons ul li a {
	cursor:pointer;
}
.navicons ul li.current a {
	cursor:default;
}

#outerSlideContainer {
	margin: 0 1em;
}

.galleryTxt {
	padding: 3em 1em 3em 2em;
}

.HomePage .galleryTxt {
	padding: 3em 1.5em 1.4em 2.6em;
}

#header p.backlink {
	margin: 2.5em 1.5em 1em 2.1em;
}

p.backlink a {
	background: url("../images/icon_backpage.png") no-repeat scroll 0 4px transparent;
    color: #1D6F94;
    padding-left: 24px;
}

.no-touch .box:hover .hoverContent {
	display:block;
}

.hoverContent {
	display:none;
	height: 84.5%;
    margin: 8%;
    padding: 0;
    position: absolute;
    text-align: center;
    width: 87%;
	background-image: url("../images/icon_ghover.png");
	background-repeat:no-repeat;
	background-position: center center;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,.4);
	background-color: transparent\4;
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4CFFFFFF,endColorstr=#4CFFFFFF);
	zoom:1;
	color:#CCCCCC; 
}

.HomePage .hoverContent {
	height: 100%;
    margin: 0;
    width: 103%;
}
.no-touch .box:hover .hoverContent,
.hoverContent.active {
	display:block;
	cursor:pointer;
}

.no-touch .box:hover .hoverContent.hidden,
.hoverContent.active.hidden {
	display:none;
}

.box:last-child {
    overflow:hidden !important;
}


.hoverContent .txt {
	position:absolute;
	bottom: 1em; 
	width: 100%;
}

.hoverContent .txt p {
    padding: 0 1em;
}



header nav {
	margin-top: 20px;
}
header nav ul {
	margin-top: 20px;
}
header nav ul.filterwords {
	margin-top: 0;
}


header nav ul li {
	padding: 0.25em 1em 0.25em 0;
}

header nav ul#socials li {
    padding: 0.3em 0;
}

body.slider_gallery #content.default {
    background: none repeat scroll 0 0 #E1E1E1;
    padding: 0;
}

/*
.contentContainer {
	width: 630px;
	min-height: 560px;
	background:white;
	margin: 40px 0 40px 40px;
	padding: 20px;
	-moz-box-shadow:    3px 3px 9px 1px #595959;
	-webkit-box-shadow: 3px 3px 9px 1px #595959;
	box-shadow:         3px 3px 9px 1px #595959;
}
*/

.contentContainer {
	width: 630px;
	min-height: 560px;
	background:white;
	margin: 40px 0 40px 40px;
	padding: 30px 20px;
}

.contentContainer p {
	max-width: 90%;
}

form label.left {
    color: #323232;
   font-weight: normal;
}

a.btn, button, input[type="submit"], .Actions .action {
    background: none repeat scroll 0 0 #19729a;
}

.no-touch a.btn:hover, button, .no-touch input[type="submit"]:hover, .no-touch .Actions .action:hover {
    background: none repeat scroll 0 0 #135f81;
}

.UserDefinedForm form {
    width: 90%;
}

.Actions:before, .Actions:after {
    content: " ";
    display: table;
}
.Actions:after {
    clear: both;
}
.Actions:before, .Actions:after {
    content: " ";
    display: table;
}

.Actions #ForgotPassword {
	display:none;
}
form .bad, form .required {
    background:none;
    color: #B80000;
    display: block;
}

/* Social Media Icons/Links */
#socials {}
#socials li {
	float:left;
	margin: .3125em .3125em .3125em 0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";/* IE 8 */
  	filter: alpha(opacity=30);/* IE 5-7 */
	-moz-opacity: 0.3; /* Netscape */
	-khtml-opacity: 0.3;/* Safari 1.x */
	opacity: 0.3;/* Good browsers */
}
.no-touch #socials li:hover {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";/* IE 8 */
  	filter: alpha(opacity=60);/* IE 5-7 */
	-moz-opacity: 0.6; /* Netscape */
	-khtml-opacity: 0.6;/* Safari 1.x */
	opacity: 0.6;/* Good browsers */
}
#socials li a {
	width: 25px;
	height: 25px;
	display:block;
	overflow:hidden;	
}
#socials li a span {
	display:none;
}
#socials li.facebook {background: url("../images/socials/icon_facebook.png") no-repeat scroll 0 0 transparent;}
#socials li.twitter {background: url("../images/socials/icon_twitter.png") no-repeat scroll 0 0 transparent;}
#socials li.vimeo {background: url("../images/socials/icon_vimeo.png") no-repeat scroll 0 0 transparent;}
#socials li.xing {background: url("../images/socials/icon_xing.png") no-repeat scroll 0 0 transparent;}
#socials li.pinterest {background: url("../images/socials/icon_pinterest.png") no-repeat scroll 0 0 transparent;}
#socials li.instagramm {background: url("../images/socials/icon_instagram.png") no-repeat scroll 0 0 transparent;}
#socials li.bf {background: url("../images/socials/icon_berufsfotogafen.png") no-repeat scroll 0 0 transparent;}
#socials li.be {background: url("../images/socials/icon_behance.png") no-repeat scroll 0 0 transparent;}


#mobileNav {display:none}

#header .mobile {
	display:none;	
}

#header .mobile header nav {
    margin-top: 0;
}


#mobileNav #socials {
	padding: 0 0 0 0;
	margin: 0;	
	padding: 0.6em 0 0.2em 3.4em;
	background: #e5e5e5;
}

#menutrigger {
    background: url("../images/icon_menu_trigger.png") no-repeat scroll 1em 0.8em #E5E5E5;
    color: #1E7096;
    display: block;
    height: 2.2em;
    padding: 0.6em 0 0 3.4em;
	border-bottom: 1px solid #C9C9C9;
	cursor:pointer;
}

#header a.toggleGalleryTxt {
	color:#1e7096;
}
.galleryTxtContainer {
	display:none;
}


/******************************************************************************
* 2. Responsive Media Queries
******************************************************************************/
/* less than 3 cols */
@media only screen and (max-width: 46.875em) {
   
   
    #header {
		width:  auto;
		float:none;
	}
	#content {
		margin-left: 0;
	}
	body {
		background:none;	
	}
	#header .desktop {
		display:none;	
	}
	#header .mobile {
		display:block;	
	}
	
	.FilterGalleryPage #socials {
		display:none;		
	}
	
	.contentContainer {
		margin: 0;
		height: 100%;
		width: 100%;
		padding: 20px;
	}
	
	body.slider_gallery .box img {
		box-shadow: 3px 3px 9px 1px #AFAFAF;
		margin: 4%;
		width: 92%;
	}
	
	.hoverContent {
		display:block;
		background: none;
		color: #FFFFFF;
	}
	
	.no-touch .box:hover .hoverContent.hidden,
	.hoverContent.active.hidden {
		display:block;
	}
		
	.hoverContent .txt p {
		background-image:none;
		background-color: rgba(0,0,0,.4);
		padding: 0.5em 1em;
	}
	
	#header p.backlink,
	#header .galleryTxt p
	 {
		font-size: 1em !important;
	}
	
	img {
		max-width: 100% !important;
		height: auto !important;
	}
	
	iframe {
		width: auto !important;
		height: auto !important;
	}
	
	
}

/******************************************************************************
* 3. Masonry Plugin 
******************************************************************************/

/**** Transitions ****/
.masonry,
.masonry .masonry-brick {
  -webkit-transition-duration: 0.7s;
	 -moz-transition-duration: 0.7s;
	  -ms-transition-duration: 0.7s;
	   -o-transition-duration: 0.7s;
		  transition-duration: 0.7s;
}

.masonry {
  -webkit-transition-property: height, width;
	 -moz-transition-property: height, width;
	  -ms-transition-property: height, width;
	   -o-transition-property: height, width;
		  transition-property: height, width;
}

.masonry .masonry-brick {
  -webkit-transition-property: left, right, top;
	 -moz-transition-property: left, right, top;
	  -ms-transition-property: left, right, top;
	   -o-transition-property: left, right, top;
		  transition-property: left, right, top;
		  
}

/* dsp 20130718: bugfix cause last images are often to wide */
.masonry .masonry-brick {
	  
}

/******************************************************************************
* 4. Flexslider Plugin 
******************************************************************************/

.flexslider {
	margin: 0; 
	background: transparent; 
	border: none; 
	-webkit-border-radius: 0; 
	-moz-border-radius: 0; 
	-o-border-radius: 0; 
	border-radius: 0; 
	box-shadow: 0; 
	-webkit-box-shadow:  0; 
	-moz-box-shadow: 0; 
	-o-box-shadow: 0; 
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}


/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .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; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


/* START 20161116 newsletter button */
.newsletter-button-wrapper {
	padding: 0 0 0 40px;
} 

.newsletter-button-wrapper .btn,
.newsletter-button-wrapper .btn:hover {
    background: #1d7195;
    color: #fff !important;
    display: inline-block;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    text-transform: none;
    letter-spacing: 0;
    border: none;
    font-size: 16px !important;
    margin-right: 0;
    float: none;
    padding: 5px 10px;
}

.newsletter-button-wrapper .btn:after {
    content: '';
    padding-left: 0;
}
/* END 20161116 newsletter button */
