/*
Theme Name: Mbryonic
Author: Tom Szirtes
Description: Custom Mbryonic Theme
Version: 0.0.1
Tags: mbryonic
*/


.bgvideo {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 0;
	overflow: hidden;
}

.bgvideo video {
  /* Make video to at least 100% wide and tall */
  min-width: 100%; 
  min-height: 100%; 
  
  /* Setting width & height to auto prevents the browser from stretching or squishing the video */
  width: auto;
  height: auto;
  
  /* Center the video */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}




.pingrid {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	background-image: url("img/grid.png");
	background-repeat: repeat;
	z-index: 1;
}

.textover {
	top: 50%;
    transform: translateY(-50%);
	position: absolute;
	width: 100%;
	text-align: center;
	z-index: 2;
	
}

@media (max-width: 640px){
.bgvideo video {
	display: none;
	}
	
.pingrid {
	display: none;
}
}

.overlay {
  position: relative;
}

.overlay:after {
  position: absolute;
  content:"";
  top:0;
  left:0;  
  width:100%;
  height:100%;
  opacity: 0.1;
  transition: opacity 0.5s;
  background-color: #f80076;
}

.overlay:hover:after  {
  opacity: 0.5;
  transition: opacity 0.5s;
}


h1 {
	font-family: 'Playfair Display', serif;
	color: #f80076;
	font-weight: 400;
	font-size: 3em;
	line-height: 1.1em;
}


.margins{
	padding-left: 10%;
	padding-right: 10%;
}


/* HEADER */
div.nav { 
	position: fixed;
	float: left;
	padding-top: 15px;
	padding-bottom: 10px;
	padding-left: 30px;
	padding-right: 30px;
	display: block;
	width: 100%;
	color: white;
	background-color: rgba(38, 38, 38, 0.5);
	top: 0;
	z-index: 10000;
}


div.menu a {
	line-height: 40px;
	display: inline-block;
	margin-left: 20px;
}

div.menu {
	display: inline;
	float: right;
	max-width: 50%;
}

div.menu ul{
	font-size: 0.8em;
	list-style-type: none;
	vertical-align: middle;
}

div.menu li {
	display: inline-block;
}

#logo {
	max-width: 33%;
	max-height: 40px;
}


/* HERO SECTION */

.fullheight {
	min-height: 100vh;
	width: 100%;
}


#hero {
	background-image: url("img/herolarge.jpg");
}


section.hero {
	padding-left: 0;
	padding-right: 0;
	background-color: #3b424d;
	background-size: cover;
	background-position: center bottom;
	height: 100vh;
	color: white;
	overflow: hidden;
}

section.article {
	height: 900px !important;
}

section.hero h1 {
	color: white;
}

div.centered {
  vertical-align: middle;
  text-align: center;
  width: 100%;
}

div.verticalcentered {
	vertical-align: middle;
}

/* WORK SECTION */
section.work {
	background: linear-gradient(to bottom, white, #ecf0f3);
	padding-bottom: 60px;
}

section.work h1{
	display: block;
	text-align: center;

}
.portfolio-list{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch; 	
	max-width: none;
}

button,.button{
	border: none;
	padding: 15px;
	margin: 0px;
	color: white;
	background-color: #f40a5f;
	font-family: 'Raleway', sans-serif;
	font-size: 0.8em;
	border: 0;
	text-align: center;
	vertical-align: middle;	
	cursor: pointer;
	min-width: 160px;
	-webkit-appearance: none;
}

div.portfolio-item button{
	margin-bottom: 100px;
}


button:hover,.button:hover{
	background-color: #ff196b;
}

div.portfolio-item {
	background-color: #f80076;
    max-width: 450px;
    min-width: 400px;
    height: 260px;
   	overflow: hidden;
	background-size: cover;
    background-position: center top;
	background-repeat: no-repeat;
	position: relative;
}

div.portfolio-list a {
   	margin-top: 15px;
   	margin-bottom: 15px;
	margin-left: 15px;
	margin-right: 15px;	
}



div.portfolio-item img {
	zoom: 2;
	position: absolute;
	display: block;
	margin: auto;
	height: auto;
	max-height: 100%;
	width: auto;
	max-width: 100%;
}

@media (max-width: 640px){
	div.portfolio-item{
		min-width: 0;
		width: 100vw;
	}

	div.portfolio-item img {
		margin-right: 0;
	}
}


div.portfolio-item span{
	color: white;
	position: absolute;
	top: 130px;
	width: 100%;
	text-align: center;
	display: block;
	font-family: 'Raleway', sans-serif;
	font-size: 1em;
	font-weight: 400;
	z-index: 100;
}


/* TESTIMONAL SECTION */
section.testimonal{
	display: none;
	padding-top: 80px;
	background-image: none;
	background-color: #ecf0f3;
}

/* DESCRIPTION SECTION */
section.about {
	min-height: 100vh;
	background-image: none;
	background-color: white;
	background-image: url("img/inverselip.png");
	background-repeat: no-repeat;
	background-position: center top;
}

@media (max-width: 640px){
section.about h1 {
	font-size: 2em;
}
}

/* FOR POSTS */
section.post {
	padding-top: 2em;
	font-size: 0.8em;
	
	padding-left: 10%;
	padding-right: 10%;
}

div.wrap {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

section.post img {
	width: 100%;
	height: auto;
}

section.post textarea, section.post input {
	background-color: lightgrey;
	margin-left: 0px;
	margin-bottom: 0px;
}
section.post li{
	margin-bottom: .5em;
}

section.post ul, section.post ol {
	margin-left: 2em;
	margin-bottom: 1em;
	line-height: 1.5em;
}

h2 {
	color: #f80076;
	margin-bottom: 1em;
	margin-top: 1em;
}

h3 {
	margin-bottom: 1em;
}

p {
	margin-bottom: 1em;
	line-height: 1.5em;
}
 
/* CONTACT SECTION */
section.contact {
	background-color: #f40a5f;
	background-image: url("img/lipwhite.png");
	background-repeat: no-repeat;
	background-position: center top;
	color: white;
	padding-top: 80px;
}

section.contact h1{
		color: white;
}
@media (max-width: 640px){
section.contact h1 {
	font-size: 2em;
}
}
section.contact p{
	font-weight: 100;
}



/* SOCIAL SECTION */
section.social{
	padding-top: 80px;
	background-image: url("img/lippink.png");
	background-repeat: no-repeat;
	background-position: center top;
	background-color: #313131;
	min-height: 400px;
	color: white;
}

.whitelip {
	margin-top: 20px;
	background-image: url("img/lipwhite.png") !important;

}

section.social h1{
	color: #f40a5f;
}
@media (max-width: 640px){
section.social h1 {
	font-size: 2em;
}
}

section.social .icons{
	padding: 40px;
	letter-spacing: 20px;
}

section.post a{
	color: #f80076;
	text-decoration: underline;
}

/* POST LISTINGS */
section.posts {
	padding-top: 2em;
	font-size: 0.7em;
	
	position: relative;
	top: -180px;
	
	padding-left: 20px;
	padding-right: 20px;
}

section.posts img {
	width: 100%;
	height: auto;
}

.pixelgrid {
	background-color: transparent;
	background-image: url("img/09.png");
	background-repeat: repeat;
}

.post-list{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch; 	
	max-width: none;
}

.post-preview{
	max-width: 400px;
	background-color: #e8e8e8;
	margin: 10px;
}

.post-list-description h1{
	font-size: 1.8em;
	line-height: 1.2em;
	font-family: 'Raleway', sans-serif;
	margin-bottom: .5em;
	color: #414141;
}

.post-preview img:hover {
	opacity: 0.5;
	transition: opacity 0.5s;
}

.post-preview img {
	opacity: 1;
	transition: opacity 0.5s;
}

div.post-thumbnail {
	background-color: #f80076;
	max-height: 225px;
	overflow: hidden;
}

.post-list-description{
	padding: 15px;
}

.post-list-description a{
	color: #f80076;
	text-decoration: underline;
}

span.small{
	display: block;
	margin-bottom: 1em;
	font-size: 12px;
}

/* FOOTER */

footer {
	background-color: #414141; 
	width: 100%;
	font-size: 15px;
	color: #818181;
	padding:30px
}

footer p{ display:block; }
footer p span { display:block; float:right; text-align: right; }

/* HIGH LEVEL STYLES */

a {
	color: white;
	text-decoration: none;
}

textarea:focus, input:focus{
    outline: none;
}

textarea{
	
}

input.wpcf7-form-control.wpcf7-submit {
	background-color: #313131;
	color: #f40a5f;
	cursor: pointer;
	-webkit-appearance: none;
}

input.wpcf7-form-control.wpcf7-submit:hover {
	background-color: #616161;
}

div.mpcf7 .ajax-loader{
	display: none;
}

div.wpcf7-validation-errors, div.wpcf7-mail-sent-ng {
	font-size: 14px;
	border: 0px !important;
}

label {
	font-size: 16px;
}

input, select, textarea {
	font-family: 'Raleway', sans-serif;
	font-size: 18px;
	border: none;
	padding: 15px;
	margin-top: 15px;
	margin-bottom: 15px;
	min-width: 300px;	
	width: 100%;
	max-width: 400px;
}

textarea {
	max-height: 180px;
}

select {
	height: 50px;
	padding-left: 10px;
	padding-right: 30px;
	border-radius: 0;
}



body {
	font-family: 'Raleway', sans-serif;
	padding: 0px;
	margin: 0x;
	background-color: white;
	font-size: 24px;
	color: #3b424d;
	font-weight: 300;
	
}
@media (max-width: 800px){
	body {
		font-size: 18px;
		font-weight: 400;
	}
	
}


.flex-container {
	display: flex;
	align-items: center;
	justify-content: center;
}

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}


.flex-multi {
  float: left;
  width: 45%;
  margin-bottom: 100px;
}

.flex-multi + .flex-multi {
  float: right;
}

.clear {
  clear: both;
}

/* flexMenu styles */

.flexMenu-viewMore > a {
	/* used for collapsed menu */
}

.flexMenu-viewMore.active > a, .flexMenu-viewMore > a:hover {
  /* collapsed menu item */
}

.flexMenu-popup {
  list-style-type: none;
  padding: 0;
  margin: 0;
  background-color: rgba(38, 38, 38, 0.5);
}

.flexMenu-popup li {
	margin-left: 0px !important;
}

.lt-ie8 .flexMenu-popup {
}

.flexMenu-popup a {
  display: block;
}

.flexMenu-popup a:hover {

  color: #fff;
  display: block;
}


 video::-internal-media-controls-download-button {
    display:none;
   }

   video::-webkit-media-controls-enclosure {
        overflow:hidden;
   }

   video::-webkit-media-controls-panel {
        width: calc(100% + 30px); /* Adjust as needed */
   }
   
   .video-container {
	position:relative;
	padding-bottom:56.25%;
	padding-top:30px;
	height:0;
	overflow:hidden;
}

.video-container iframe, .video-container object, .video-container embed {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}