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

body {
 	background: #231f20 url(http://www.jonaskrag.com/themes/vimeosite_1/images/Krag_back_2.png) top center repeat-y;
}

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

/* Structure */
#wrapper {
 width: 902px;
 margin: 0px auto;
}
#masthead {
 position: relative;
 height: 100px;
}
#logo {
 position: absolute;
 left: 0px;
 top: 10px;
}
#menu {
 position: absolute;
 left: 0px;
 top: 50px;
}
#content-full-width {
 margin-left: -1px; /* nazi alignmnet */
 width: 600px;
}

#content {
 padding-top: 40px;
}

/* Header Menu */
ul.header-nav {
 margin: 0px;
 padding: 0px;
}
ul.header-nav li {
 font-size: 15px;
 padding: 0px;
 float: left;
 list-style-type: none;
 height: 50px;
 width: 150px;
}
ul.header-nav li.first {
 margin-left: 0px;
}
ul.header-nav li a {
 color: #000;
 text-transform: lowercase;
 position: relative;
 top: 13px;
 font-weight: bold;
}

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;*/
}

#playerwrapper.frontpage{
	margin-top: 10px;
}

.portfolioelement {
	float: left;
	/*margin-right: 10.5px;
	margin-top: 10.5px;*/
	padding-right: 0px;
	padding-top: 0px;
	cursor: pointer;
	/* Ease all transitions */
    -webkit-transition: all 0.05s;
    -moz-transition: all 0.05s;
    -o-transition: all 0.05s;
    transition: all 0.05s;	
    /*border: 1px solid #000000;*/
    border: none;
}

.portfolioelement:after {
	clear: both;
}

.portfolioelement:nth-child(3n+0) {
 padding-right: 0px;
}

.portfolioimg {
 width: 225.5px;
 height: 113px;
 /*width: 200px;
 height: 99px;*/
 background-repeat: no-repeat;
 background-position: top center;
 background-size: cover;
 overflow: hidden;
 position: relative;
}
.animthumb_anim {
 width: 230px;
 height: 130px;
 background-repeat: no-repeat;
 background-position: center center;
 background-size: cover;
 overflow: hidden;
 position: relative;
 display: none;
}
.portfoliocaption {
	display: none;
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	width: 100%;
	padding-top: 50px;
	height: 80px;
	background-image: url(http://www.jonaskrag.com/themes/vimeosite_1/images/opaque_bg.png);
	color: #fff;
	text-align: center;
	font-size: 16px;
}

.portfoliocaption-visible {
	background-color: #000;
	text-align: left;
	float: left;
	color: #fff;
	/*margin-top: -18px;*/
	margin-bottom: 20px;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
}

.portfoliocaption-visible:after {
	clear: both;
}

.byline, .byline a {
 font-weight: normal;
 font-size: 14px;
 color: #FFF;
}

#playerwrapper {
 display: none;
 position: relative;
 text-align: left;
 width: 900px;
}
#playercaption {
 font-size: 18px;
}

#playerframe {
	margin-top: 5px;
	border: 1px solid #000000;
}

#share {
 position: absolute;
 right: 0px;
 top: 0px;
 list-style: none;
 margin: 0px;
 padding: 0px;
}
#share li	{ float: right; }
#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(http://www.jonaskrag.com/themes/vimeosite_1//images/share_glyph.png) no-repeat 0px 0px;
 
 }
#share li a.vimeo { 
 background: url(http://www.jonaskrag.com/themes/vimeosite_1//images/share_glyph.png) no-repeat -19px 0px; 
 }
#share li a.twitter { 
 background: url(http://www.jonaskrag.com/themes/vimeosite_1//images/share_glyph.png) no-repeat -38px 0px;
 }

#share #txt_share { 
 text-align: right; 
 }
 
 /* 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;
 }
 
 /* footer */ 
 #footer{
 	background-color: #5965E7;
 	width: 900px;
	text-align: left;
	color: #000000;
	font-size: 12px;
	margin: 0 auto;
	padding-left: 2px;
	position: relative;
 }
 
 #footer_name {
 	margin-left: 10px; 
 }
 
 #footer_phone {
 	margin-left: 10px;
 }
 
 #footer_menu {
 	text-align: right;
 	position: absolute;
	right: 0;
	margin-right: 20px;
 }
 
 .footer_link {
 	text-transform: uppercase;
 	color: #000000;
 	margin-left: 12px;
 }
 
 #footer-email {
 	text-align: left;
 	color: #444444;
 	font-size: 10px;
 	padding-left: 10px;
 }
 
 #footer-email:hover {
 	color: #fff;
 }
 
 #footer-email-div {
 	text-align: left;
 	margin-top: -3px;
 	width: 900px;
	margin: 0 auto;
 }
 
 #category-text {
 	text-align: left;
 	margin-top: -40px;
	padding: 10px;
 }
 
 #txt_share.inverted,
 #playercaption.inverted,
 #category-text.inverted {
 	color: #fff;
 }