/*
Theme Name: Y-studios
Theme URI: http://www.jimdavislabs.se
Description: Ett tema av JimDavislabs
Author: Mirnes
Author URI: http://www.jimdavislabs.se
Version: 1.0

*/

body {
  font-family: 'Montserrat', sans-serif;
}

#head {
  text-align: center;
}
#head .navbar {
  margin-bottom: 0;
  background-color: #fff;
}
#head .logo img {
  max-width: 150px;
  padding-top: 30px;
  padding-bottom: 30px;
}
.collapse.navbar-collapse.pull-right{
	margin-top: -75px;
	
}
.collapse.navbar-collapse.pull-right a{
	color: #000;
	text-transform: uppercase;
	
}
.nav>li>a:focus, .nav>li>a:hover {
    text-decoration: underline;
    background-color: transparent;
}
.navbarMargin{
	margin-top: 110px;
}
a {
	color: black;
}
a:hover {
	color: black;
}
#topSliderCarousel .container-fluid {
  padding-left: 0;
  padding-right: 0;
}
#topSliderCarousel .item {
  background: no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 800px;
}
.wrapper-p {
  margin-left: 30px;
  margin-right: 30px;
  margin-bottom: 30px;
}
.youtube-slider .content {
  padding-top: 60%;
  margin-left: 0px;
  font-size: 20px;
}
.youtube-slider .content h1 {
  color: white;
}
.youtube-slider .content p {
  color: white;
}
.ytOverlay {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.about-section {
  background-color: #dcd3cc;
  padding-top: 25px;
  padding-bottom: 25px;
}
.about-section a,
.about-section p,
.about-section span,
.about-section h2 {
  color: white;
}
.about-section h2 {
  font-weight: 500;
  font-size: 40px;
  margin-bottom: 25px;
}
.about-section p {
  max-width: 700px;
  margin: 0 auto;
  line-height: 22px;
  margin-bottom: 25px;
  font-weight: 500;
}
.about-section h2 strong {
  font-weight: 900;
}
.about-section .content {
  text-align: center;
}
.about-section .content .img img {
  margin: 0 auto;
}
.about-section .content .img {
  margin-bottom: 50px;
}
.about-section a {
  text-decoration: underline;
}
.fill{
    width: 100%;
    height: 1000px;
    background-position: top;
    background-size: cover;
}
.fill-top {
	width: 100%;
    height: 600px;
    background-position: bottom;
    background-size: cover;
    margin-bottom: 70px;
}
.fill-blogg {
	width: 100%;
    height: 200px;
    background-position: bottom;
    background-size: cover;
    margin-bottom: 30px;
}
#blog {
	margin-bottom: 70px;
}
#blogg {
	margin-bottom: 130px;
}
#blog h1 {
	margin-bottom: 40px;
}
#blog h4 {
	margin-bottom: 30px;
}
#blog .content-txt {
	margin-bottom: 70px;
}
/* ------ projekt front grid ---------- */
#project {
	padding-top: 100px;
    margin-top: -100px;
}
/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */

.grid-sizer,
.grid-item {
	position: relative;
	width: 24.9%;
	margin: 1px;
	background-color: #000;
}

.grid-item {
  float: left;
}
.loadMore, .loadLess {
	text-align: center;
	color: black;
}
.loadMore:hover, .loadLess:hover, .loadMore:focus, .loadLess:focus {
	text-decoration: none;
	color: black;
}

.grid-item img {
  display: block;
  max-width: 100%;
}
.hiddenGrid {
	display: none;
}

.bg-img{
  opacity: .8;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}
.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  color: #fff;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}
.category {
	text-transform: uppercase;
	text-decoration: underline;
}
.text {
	font-size: 22px;
    color: #fff;
    font-weight: bolder;
    margin-top: 20px;
    margin-bottom: 50px;
    padding: 0px 20px;
}
.grid-item:hover .bg-img {
  opacity: 0.3;
}

.grid-item:hover .middle {
  opacity: 1;
}
.mBottom {
	margin-bottom: 50px;
}
.isActive {
	text-decoration: underline;
}
.filterstyle {
	margin-left: 20px;
	color: #000;
	cursor: pointer;
	text-transform: uppercase;
}
.filterstyle:hover, .filterstyle:focus, .filterstyle:visited {
	color: #000;
	text-decoration: none;
}
.isActive:hover, .isActive:focus, .isActive:visited {
	color: #000;
	text-decoration: underline;
}
.filter-button-group {
	margin-top: 30px;
	float: right;
}
.video-btn {
	color: #fff;
	text-decoration: none;	
}
.video-btn:hover, .video-btn:focus, .video-btn:visited, .video-btn:active {
	color: #fff;
	text-decoration: none;	
}

.classMate {
	width:80%;
	height:80%;
}
/*-------- vimeo ------*/

.modal-body {
  position:relative;
  padding:0px;
}
.close {
  top:0;
  z-index:999;
  font-size:2rem;
  font-weight: normal;
  color: #FFF;
  text-shadow: none !important;
  filter: none;
  opacity: 1 !important;    position: relative;
  right: -5%;
}
.ytFrame {
	width: 100%;
	height: 800px;
}
.modal-content {
	background-color:transparent;border: 0px !important;
	border: 0px !important;
	border-radius: 0px !important;
	outline: 0 !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}
/* {
  display: flex;
justify-content: center;
flex-direction: column;
text-align: center;
} */
/*------------- QUOTE ----------------*/
.content{
    width: 100%;
    margin: 0 auto;
    max-width: 600px;
    position: relative;
    z-index: 999;
 }
 .content img {
    position: absolute;
    left: -83px;
    top: 0;
    z-index: 999;
}
 .content img.graph {
    position: inherit;
    left: inherit;
    top: inherit;
    z-index: inherit;
}
.content div.quote p {
    font-size: 25px;
    padding-top: 60px;
    font-family: 'Montserrat', sans-serif;
}
.content div.author {
    font-size: 15px;
    float: right;
    font-family: 'Montserrat', sans-serif;
    padding-top: 20px;
}
 .margin{
	 margin-top: 150px;
	 
 }
 .margin:after{
	 margin-top: 100px;
	 
	 width: 100%;
 }
 .vlogpage {
 	margin-top: 150px;
 	margin-bottom: 100px;
}
 /*---------------VLOG------------*/
 .vlog:hover .bg-img {
  opacity: 0.3;
}

.vlog:hover .middle {
  opacity: 1;
}
.vlog {
	margin-top: 50px;
}
.bgDark {
	background-color: #000;
}
.bgContact {
	background-color: #000;
	padding-top: 200px;
	padding-bottom: 100px;
	color: #fff;
	height: 1000px;
}
.cMargin {
	margin-bottom: 40px;	
}
.bgImg {
	height: 1000px;
	background-repeat: no-repeat;
	background-size: cover;
}
.wpcf7-form-control {
	width: 100%;
	font-size: 18px;
	padding-left: 20px;
	border: 1px solid #fff;
	background-color: transparent;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	margin-bottom: 20px;
}
.wpcf7-recaptcha {
	border:none;
	padding-left: 0px;
}
input.wpcf7-form-control {
	height: 50px;
}
input.wpcf7-submit{
	width: 50%;
	float: right;
	padding-right: 20px;
	background-color: #dcd3cc !important;
	color: #000 !important;
	font-size: 15px;
	border: none !important;
	border-radius: 0px;
	font-weight: 800;
	text-transform: uppercase;
}
div.wpcf7 .ajax-loader {
	display: none !important;
}
textarea.wpcf7-form-control{
	height: 110px;
	padding-top: 10px;
}
::-webkit-input-placeholder { /* WebKit browsers */
    color:    #fff;
    font-weight: 100;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #fff;
   opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #fff;
   opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
   color:    #fff;
}
.footer {
	background-color: #aaaaaa;
	height: 600px;
	padding-top: 100px;
	color: #fff;
}
.footer h2 {
	font-weight: bold;
}
.footer ul {
	list-style: none;
	padding-left: 0px;
}
.footer li {
	
}
.footer a {
	color: #fff;
}
.footer a:hover, .footer a:visited, .footer a:active, .footer a:focus {
	color: #fff;
	text-decoration: none;
}
.subpage-margin {
	margin-top: 100px;
}
.navbar-collapse.collapse {
  display: block!important;
}

.navbar-nav>li, .navbar-nav {
  float: left !important;
}

.navbar-nav.navbar-right:last-child {
  margin-right: -15px !important;
}

.navbar-right {
  float: right!important;
}
div.wpcf7-mail-sent-ok {
	border: 0px solid #398f14 !important
}
 @media (max-width: 1765px) {
	 .grid-sizer,
	.grid-item {
		position: relative;
		width: 24.5%;
		margin: 1px;
		background-color: #000;
	}
}
@media (max-width: 768px) {
	.contactSection .bgImg {
		display: none;
	}
	.navbar-nav {
		margin-top: 60px;
		margin-right: 25px;
	}
	#head .logo img {
		padding-top: 15px;
		padding-bottom: 20px;
	}
	.fill{
    	width: 100%;
		height: 450px;
		background-position: center;
	}
	.wrapper-p {
		margin-left: 0px;
		margin-right: 0px;
		margin-bottom: 30px;
	}
	.grid-sizer,
	.grid-item {
		position: relative;
		width: 49.2%;
		margin: 1px;
		background-color: #000;
	}
	.grid-item .bg-img {
	  opacity: 0.5;
	}
	
	.grid-item .middle {
	  opacity: 1;
	}
	.category {
		text-transform: uppercase;
		text-decoration: underline;
		font-size: 10px;
	}
	.text {
		font-size: 13px;
	    color: #fff;
	    font-weight: bolder;
	    margin-top: 20px;
	    margin-bottom: 50px;
	    padding: 0px 20px;
	}
	.ytFrame {
		width: 100%;
		height: 500px;
		margin-top: 50px;
	}
	.classMate {
		width:95%;
		height:80%;
	}
	.close {
	  	top:0;
	  	z-index:999;
	  	font-size:2rem;
	  	font-weight: normal;
	  	color: #FFF;
	  	text-shadow: none !important;
	  	filter: none;
	  	opacity: 1 !important;    position: relative;
	  	right: 1%;
	}
	.content img {
    	position: absolute;
    	left: 15px;
    	top: -20px;
    	z-index: 999;
    }
    .vlog .bg-img {
		opacity: 0.5;
	}

	.vlog .middle {
		opacity: 1;
	}
	.footer {
		height: 800px;
	}
	.youtube-slider .content {
		padding-top: 80%;
	}
}
 @media (max-width: 600px) {
 	.content{
	    width: 100%;
	    margin: 0 auto;
	    padding-left: 15px;
	    padding-right: 15px;
	}
	.nav>li>a {
		padding: 10px 10px;
	}
 }
