 /*
 Theme Name: pharmaboys
 Description: The custom theme pharmaboys using the parent theme Twenty Seventeen.
 Author: bomotion
 Author URI: pharmaboys.de
 Template: twentyseventeen
 Version: 1
 */
 
body.has-header-image .site-title, body.has-header-video .site-title, body.has-header-image .site-title a, body.has-header-video .site-title a {
 color:#fff;
 }
.twentyseventeen-front-page.has-header-image .custom-header-media, .twentyseventeen-front-page.has-header-video .custom-header-media, .home.blog.has-header-image .custom-header-media, .home.blog.has-header-video .custom-header-media, .videooverlay { 
 background: #000000; /* Old browsers */
background: -moz-linear-gradient(-45deg, #000000 0%, #3d3d3d 48%, #000000 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(-45deg, #000000 0%,#3d3d3d 48%,#000000 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg, #000000 0%,#3d3d3d 48%,#000000 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.panel-content, .site-content-contain {  
    background: #aeb7d8;
    background: -moz-linear-gradient(-45deg, #aeb7d8 0%, #f3aacf 100%);
    background: -webkit-linear-gradient(-45deg, #aeb7d8 0%,#f3aacf 100%);
    background: linear-gradient(135deg, #aeb7d8 0%,#f3aacf 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#aeb7d8', endColorstr='#f3aacf',GradientType=1 );    
}

.has-header-image .custom-header-media .logo img {
    height: auto;
    left: auto;
    -o-object-fit: inherit;
    object-fit: inherit;
    top: auto;
    -ms-transform: none;
    -moz-transform: none;
    -webkit-transform: none;
    transform: none;
    width: 100%;
    min-width: auto;
    min-height: auto;
    float: none;
    margin-left: 0;  
    margin-top:0;
    max-width:100%;
    margin-bottom:50px;
    position:relative;
}

div.logo {
    height: auto;
    left: auto;
    -o-object-fit: inherit;
    object-fit: inherit;
    top: auto;
    -ms-transform: none;
    -moz-transform: none;
    -webkit-transform: none;
    transform: none;
    width: 600px;
    min-width: auto;
    min-height: auto;
    margin-left: calc(50% - 300px);  
    margin-top:calc(50vh - 200px);
    z-index: 3;    
    position: absolute;
}
div.logo p {
    text-align:center;
}
.site-description strong {
    display:block;
    text-transform:uppercase;
    font-weight:500;
    font-size:24px;
}

.instagallery-actions .igact-instalink {

    line-height: 20px;
    font-size: 16px;
    background: #000;
    color: #fff;
    display: inline-block;
    padding: 5px 15px;
    -webkit-transition: all .3s;
    transition: all .3s;

}
.instagallery-actions .igact-instalink:hover {
    background: #ccc;
}

/* entire container, keeps perspective */
.flip-container {
	perspective: 1000px;
}

	/* flip the pane when hovered */
	.flip-container:hover .flipper, .flip-container.hover .flipper {
		transform: rotateY(180deg);
	}

.flip-container, .front, .back {
	width: 100%px;
	height: 480px;
}

/* flip speed goes here */
.flipper {
	transition: 0.6s;
	transform-style: preserve-3d;

	position: relative;
}

/* hide back of pane during swap */
.front, .back {
	backface-visibility: hidden;

	position: absolute;
	top: 0;
	left: 0;
}

/* front pane, placed above back */
.front {
	z-index: 2;
	/* for firefox 31 */
	transform: rotateY(0deg);
}

/* back, initially hidden pane */
.back {
	transform: rotateY(180deg);
}
#menu-item-9:before {
  display:block;
  width:0px;
  height:0px;
  background:url('/wp-content/themes/pharmaboys/assets/img/logo_color.jpg') no-repeat;
  content:"";
  position: absolute;
  margin-left:-130px;  
  -webkit-transition: all .8s;
  transition: all .8s;
}
#menu-item-9 {
  margin-left:0px;
  transition: all .8s;
}
.main-navigation a, article p {
    text-transform: uppercase; 
}
.navigation-top a {
    color: #767676;
}
.navigation-top .current-menu-item > a, .navigation-top .current_page_item > a { 
    color: #e52f8b;          
}
.site-navigation-fixed #menu-item-9:before {
  width:121px;
  height:49px;
} 
.site-navigation-fixed #menu-item-9 {
  margin-left:130px;
}
label {
    font-weight: normal;  
}
.site-footer {
    margin-top: 0;
	background: #fff;
}
.videooverlay {
  opacity:1;
  transition: all .8s; 
  width:100%;
  height:100%;
  position:absolute;
  z-index: 2;
}
.ohover {
  opacity:0;
}
@media only screen and (max-width: 600px) {
  div.logo {
      height: auto;
      left: auto;
      -o-object-fit: inherit;
      object-fit: inherit;
      top: auto;
      -ms-transform: none;
      -moz-transform: none;
      -webkit-transform: none;
      transform: none;
      width: 300px;
      min-width: auto;
      min-height: auto;
      margin-left: calc(50% - 150px);  
      margin-top:calc(50vh - 200px);
  }
  .back {
    display:none;
  } 
   /* flip the pane when hovered */
  	.flip-container:hover .back {
    display:block;
  	}   
  	.flip-container:hover .front {
    display:none;
  	}
}

@media only screen and (max-height: 600px) {  
  div.logo {
      height: auto;
      left: auto;
      -o-object-fit: inherit;
      object-fit: inherit;
      top: auto;
      -ms-transform: none;
      -moz-transform: none;
      -webkit-transform: none;
      transform: none;
      width: 200px;
      min-width: auto;
      min-height: auto;
      margin-left: calc(50% - 100px);  
      margin-top:calc(50vh - 150px);
  }
  .back {
    display:none;
  } 
   /* flip the pane when hovered */
  	.flip-container:hover .back {
    display:block;
  	}   
  	.flip-container:hover .front {
    display:none;
  	}

}
@media only screen and (max-width: 768px) {
.js .menu-toggle {
    display: none !important;
}
.custom-header {
    position: relative;
    margin-bottom: 0 !important;
}
.navigation-top {
    border: none !important;
}
.js .main-navigation ul, .main-navigation .menu-item-has-children > a > .icon, .main-navigation .page_item_has_children > a > .icon, .main-navigation ul a > .icon {
    display: block !important;
    padding-left: 160px !important;
}
.main-navigation li {
    border: 0 !important;
    display: inline-block !important;
    margin: 0 10px !important;
}
#menu-item-9::before {
    display: block !important;
    width: 140px;
    height: 50px;
    background: url('/wp-content/themes/pharmaboys/assets/img/logo_color.jpg') no-repeat;
    content: "";
    position: absolute;
    margin-left: -148px;
    -webkit-transition: all .8s;
    transition: all .8s;
}
	#wp-custom-header-video-button {
		display:none !important;
	}
}