/*
 CSS for Vimeo Website
 (c) 2013 Hammertime (www.hammerti.me)
 Designed by Supertusch (supertusch.dk)
 AHJ / MB
*/

* {
    letter-spacing: 1.2px;
}

body {

}

body.bg {

}

body.contact_page {

}

/* A little space to the bottom of the page */
html {
	padding-bottom: 25px;
	overflow-y: scroll;
}

h3{

}

/* Structure */
#wrapper {
 /* width: 1305px; */
 width: 100%;
 margin: 0;
 /* margin-top: 80px; */
}

.frontpage #wrapper {
	width: 960px;
	margin-left: auto;
	margin-right: auto;
}

/* #masthead {
 position: relative;
 width: 270px;
 text-align: left;
 margin-top: 0px;
 float: left;
} */
#masthead {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    z-index: 999;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    box-sizing: border-box;
    transition: background-color 250ms ease;
}

#logo {
    padding: 10px 0;
}
#logo a{
    display: block;
}
#logo img {
    width: 60px;
    transition: filter 250ms ease;
}

#menu {
 margin-top: 10px;
}
#content {
 /* float: left;
 width: 1035px; */
}

#content_txt {
	display: none;
}

/* Header Menu */
ul.header-nav {
 margin: 0px;
 padding: 0px;
 /* margin-left: 40px; */
 display: flex;
}
ul.header-nav li {
 font-size: 14.5px;
 padding: 0px;
 display: block;
 list-style-type: none;
 margin-bottom: 4px;
 text-transform: uppercase;
 font-weight: 300;
}
/* ul.header-nav li.first {
 margin-left: 0px;
} */
ul.header-nav a {
 /* color: #999; */
 color: #fff;
 transition: color 250ms ease;
}
ul.header-nav li + li {
    margin-left: 3em;
}

ul.header-nav li a {
    color: #fff;
}


.scrolled ul.header-nav li a{
    color: #111;
}
.scrolled #logo img{
    filter: contrast(0) brightness(0);
}
.scrolled #masthead{
    background-color: #fff;
}
.scrolled .social-links a{
    color: #111;
}

ul.header-nav li a:hover {
/* color: #fff; */
 text-decoration: none;
}
ul.header-nav li a.nav-selected {
/* color: #fff; */
}

/* Video category page */
#videowrapper {
 clear: both;
}

#videowrapper.frontpage {
 margin-top: 80px;
}

.portfolioelement {
	/* float: left; */
	/*margin-right: 10.5px;
	margin-top: 10.5px;
	*/
	/* margin-right: 0px;
	margin-top: 20px; */
	cursor: pointer;
	/* Ease all transitions */
    transition: all 0.05s;
    /*border: 1px solid #000000;*/
    position: relative;
    width: 100%;
    width: 100vw;
    overflow: hidden;
    /* height: 100vh; */
    /* height: 41.1458vw; */
    height: 56.25vw;
    /* height: 0;
    padding-bottom: 50%; */
}



/*
.portfolioelement:nth-child(4n+0) {
 margin-right: 0px;
}
*/

.portfolioimg {
 /*width: 172px;
 height: 121px;*/
 /* width: 170px;
 height: 96px; */
 /* background-repeat: no-repeat;
 background-position: top center;
 background-size: cover;
 overflow: hidden; */
 /* position: relative; */
 width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.animthumb_anim {
 width: 230px;
 height: 130px;
 background-repeat: no-repeat;
 background-position: center center;
 background-size: cover;
 overflow: hidden;
 position: relative;
 display: none;
}

.title-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.portfoliocaption-down {
	/* display: none;
	color: grey;
	text-transform: uppercase;
	text-align: center;
	padding-top: 4px;
	position: absolute;
	top: 0px;
	width: 172px;
	height: 121px;
	background: #000; */
    display: block !important;
    color: grey;
    text-transform: uppercase;
    text-align: center;
    /* position: absolute; */
    /* margin-right: -50%; */
    color: #fff;
    font-weight: 300;
    letter-spacing: 2px;
    font-size: 60px;
    font-size: calc(.9vw + .9vh + 3vmin);
    line-height: 1.2;
    margin-top: 1em;
    /* top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
}

.portfoliocaption_txt {
	/* padding-top: 30px; */
    display: block;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.1em;
}

.portfolio-category, h3{
    color: #fff;
    font-weight: bold;
    font-size: 13px;
}

/*
.portfolioimg-hover {
	border: 1px solid #757575;
	width: 228px;
	height: 128px;
}
*/

.portfoliocaption {
	display: none;
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	width: 100%;
	padding-top: 50px;
	height: 80px;
	background-image: url(https://www.peterdietrich.tv/themes/vimeosite_1/http://peterdietny.demo.supertusch.com/themes/vimeosite_1/images/opaque_bg.png);
	color: #fff;
	text-align: center;
	font-size: 16px;
}
.byline, .byline a {
 font-weight: normal;
 font-size: 14px;
 /*color: #a51724;*/
 color: #757575;
}

.playerwrapper {
 display: none;
 position: relative;
 width: 100%;
 height: 100%;
 background-color: #000;
}
.playercaption {
 font-size: 18px;
}

.playerframe {
 width: 100%;
 height: 100%;
}

.share {
 position: absolute;
 right: 20px;
 bottom: 4em;
 list-style: none;
 margin: 0px;
 padding: 0px;
}
.share li	{
	float: right;
	line-height: 19px;
}
.share li a {
 display: block;
 float: right;
 width: 19px;
 height: 19px;
 margin: 0 0 0 9px;
 cursor: pointer;
 }
.share li a:hover {
 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
 filter: alpha(opacity=90);
 -moz-opacity: 0.9;
 -khtml-opacity: 0.9;
 opacity: 0.9;
}

.share li a.facebook {
 background: url('https://www.peterdietrich.tv/themes/vimeosite_1/images/share_glyph4.png') no-repeat 0px 0px;
 opacity: 0.3;
 }
.share li a.vimeo {
 background: url('https://www.peterdietrich.tv/themes/vimeosite_1/images/share_glyph4.png') no-repeat -19px 0px;
 opacity: 0.3;
 }
.share li a.twitter {
 background: url('https://www.peterdietrich.tv/themes/vimeosite_1/images/share_glyph4.png') no-repeat -38px 0px;
 opacity: 0.3;
 }

.share .txt_share {
 text-align: right;
 color: #fff;
 }

 /* Gallery images */
#gallery_images_wrap {
	position:relative; width:100%; height: 430px; clear: both; overflow: hidden;
	margin-top: 5px;
	border: 1px solid #000000;
}
.galleryimage {
	position:absolute; width:100%; height:auto; top:0px; left:0px;
}

 /* Grid for Contact page */
 .contact-grid {
  position: relative;
  width: 960px;
 }
 .contact-grid .cell-1 {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 310px;
 }
 .contact-grid .cell-2 {
  position: absolute;
  left: 325px;
  top: 0px;
  width: 310px;
 }
 .contact-grid .cell-3 {
  position: absolute;
  left: 650px;
  top: 0px;
  width: 310px;
 }

 label {
 	margin-top: 25px;
 	font-weight: normal;
 	color: #111;
 	font-size: 14.5px;

 }

 input {
 	width: 400px;
 }

 textarea {
 	width: 400px;
 }

 #submit-btn {
 	display: block;
 	padding-left: 20px;
 	padding-right: 20px;
 	font-weight: bold;
 	text-transform: uppercase;
 }

#icons {
 position: absolute;
 top: 560px;
 margin-left: 35px;
}

#icons a {
	padding-left: 5px;
}

.contact_wrapper {
	/* margin-top: 15px;
	margin-left: 155px; */
    max-width: 645px;
    margin: auto;
    margin-top: 90px;
}

.miniSurveyView {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* liScroll styles */
.tickercontainer { /* the outer div */
    width: 960px;
    height: 27px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    top: -35px;
    z-index: 20;
}
.tickercontainer .mask { /* that serves as a mask. so you get a sort of padding both left and right */
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
    top: 8px;
    height: 18px;
    /*width: 718px;*/
    overflow: hidden;
}
ul.newsticker { /* that's your list */
    position: relative;
    margin-left: 20px;
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-family: "HelveticaNeue-CondensedBold", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    color: #e6e6e6;
}
ul.newsticker li {
    float: left; /* important: display inline gives incorrect results when you check for elem's width */
    margin: 0;
    padding-right: 15px;
}
ul.newsticker a {
    white-space: nowrap;
    padding: 0;
    color: #ff0000;
    font: bold 10px Verdana;
    margin: 0 50px 0 0;
}
ul.newsticker span {
    margin: 0 10px 0 0;
}

#firstpage_wrapper {
	margin-top: 50px;
	margin-left: -15px;
}

#slideshow {
	margin-top: -25px;
}

#slideshow_logo {
	position: absolute;
	z-index: 1000;
}


.thumbnail_page_wrapper .portfolioelement{
    cursor: default;
}

.thumbnail_page_wrapper .portfoliocaption_txt {
	/* padding-top: 30px; */
    font-size: 2em;
}

.contact_wrapper p{
    font-family: 'Courier New', Courier, monospace;
}

.contact_wrapper ul{
    margin: 0;
    list-style: none;
    font-family: 'Courier New', Courier, monospace;
    color: #111;
}

.social-links ul{
    margin: 0;
    margin-top: 10px;
    list-style: none;
    display: flex;
    flex-direction: row;
}
.social-links li{
    margin: 0 1em;
    font-size: 1.1em;
}
.social-links a{
    color: #fff;
}
#menu{
    /*position: absolute;
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%); */
}





@media (max-width: 992px) {
    .portfolioelement {
        /* height: 0; */
        /* height: 56.25vw; */
        /* padding-bottom: 56.25%; */
    }
    .contact_wrapper {
        padding: 0 1em;
    }
}

@media (max-width: 767px) {
    body {
        padding-left: 0;
        padding-right: 0;
    }
}
@media (max-width: 500px) {
    #logo img {

    }
    #masthead {
        position: -webkit-sticky;
        position: sticky;
        width: 100%;
        top: 0;
        flex-direction: column;
        padding: 10px 15px;
        background: #000;
    }
    #menu{
        position: relative;
        display: flex;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
        transform: none;
        top: 0;
        left: 0;
    }
    .ccm-layout-col{
        width: 100% !important;
    }
    textarea, input{
        width: auto;
    }
}
