/* FONTS */
@font-face {  font-family: 'Futura Std Book'; src: url('/fonts/FuturaStd-Book.eot'); src: url('/fonts/FuturaStd-Book.eot?#iefix') format('embedded-opentype'), url('/fonts/FuturaStd-Book.woff2') format('woff2'), url('/fonts/FuturaStd-Book.woff') format('woff'), url('/fonts/FuturaStd-Book.svg#webfont') format('svg'); font-weight: normal; font-style: normal; }
@font-face { font-family: 'Futura Std Medium Condensed'; src: url('/fonts/FuturaStd-Condensed.eot'); src: url('/fonts/FuturaStd-Condensed.eot?#iefix') format('embedded-opentype'), url('/fonts/FuturaStd-Condensed.woff2') format('woff2'), url('/fonts/FuturaStd-Condensed.woff') format('woff'), url('/fonts/FuturaStd-Condensed.svg#webfont') format('svg'); font-weight: normal; font-style: normal; }
@font-face { font-family: 'Futura Std Heavy'; src: url('/fonts/FuturaStd-Heavy.eot'); src: url('/fonts/FuturaStd-Heavy.eot?#iefix') format('embedded-opentype'), url('/fonts/FuturaStd-Heavy.woff2') format('woff2'), url('/fonts/FuturaStd-Heavy.woff') format('woff'), url('/fonts/FuturaStd-Heavy.svg#webfont') format('svg'); font-weight: normal; font-style: normal; }
@font-face { font-family: 'Futura Std Medium'; src: url('/fonts/FuturaStd-Medium.eot'); src: url('/fonts/FuturaStd-Medium.eot?#iefix') format('embedded-opentype'), url('/fonts/FuturaStd-Medium.woff2') format('woff2'), url('/fonts/FuturaStd-Medium.woff') format('woff'), url('/fonts/FuturaStd-Medium.svg#webfont') format('svg'); font-weight: normal; font-style: normal; }


/* COLORS
bluelogoverylight   22BBEA
bluelogolight       0094D8
bluelogodark        043882
grey                F3F3F3
red                 8D1D00
*/

/* Global + colors ##################################################################################### */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Futura Std Book', sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color:#737373;
}

main {
  margin-bottom: 10rem;
}

.btn {
  background-color: #22BBEA;
  color:#FFF;
}
.btn:hover {
  background-color: #043882;
  color:#FFF;
}
.mobileonly {
  display: none;
}

.bluelogoverylight {
  color:#22BBEA !important;
}
.bluelogolight {
  color:#0094D8 !important;
}
.bluelogodark {
  color:#043882 !important;
}
.grey {
  color:#F3F3F3 !important;
}
.bg-bluelogoverylight {
  background-color:#22BBEA !important;
}
.bg-bluelogolight {
  background-color:#0094D8 !important;
}
.bg-bluelogodark {
  background-color:#043882 !important;
}
.bg-grey {
  background-color:#F3F3F3 !important;
}

b, strong {
  font-family: 'Futura Std Heavy', sans-serif;
  font-weight: normal;
}

hr {
    display:block;
    border:0px;
    height:10px;
    background:url('../images/bg-footer.gif') no-repeat top right;
    margin: 2rem 0;
}

h2 {
  font-size: 60px;
  color:#043882;
  text-transform: uppercase;
  text-align: center;
  margin: 1rem auto;
  background: URL('../images/bg-h2-a.gif') no-repeat center;
  min-height:50px;
  padding-top: 7px;
}
h2:nth-of-type(2) {
  background: URL('../images/bg-h2-b.gif') no-repeat center;
}
h2:nth-of-type(3) {
  background: URL('../images/bg-h2-c.gif') no-repeat center;
}
h2:nth-of-type(4) {
  background: URL('../images/bg-h2-d.gif') no-repeat center;
}
h2:nth-of-type(5) {
  background: URL('../images/bg-h2-e.gif') no-repeat center;
}
h3 {
  font-size: 1.7rem;
}
h3.bottom {
  position: absolute;
  bottom: 1rem;
  left:0;
  right:0;
  display: block;
  margin: 0 auto;
  text-transform: uppercase;
  color:#FFF;
  letter-spacing: 2px;
  z-index: 100;
  transition: bottom .3s ease-in-out;
  -webkit-transition: bottom .3s ease-in-out;
  -moz-transition: bottom .3s ease-in-out;
}
.level2 h2 {
  color: #8D1D00;
}

.baseline p {
  background-color: #FFF;
  padding: 5px 0;
  font-family: 'Futura Std Medium Condensed', sans-serif;
  text-align: center;
  color:#666;
  letter-spacing: 1.4px;
  margin-top:20px;
  font-size: 18px;
  line-height: 1.6;
  background: URL('../images/bg-baseline.gif') no-repeat top center;
}



/* HEADER w topmenu ##################################################################################### */

.jumbotron {
  background: URL('../images/Meura-header.gif') no-repeat top center;
  background-size: 1140px;
  max-height: 200px;
  margin-bottom: 0;
  padding: 4rem 0;
}

.topmenu li {
  list-style: none;
  text-align: right;
}
.topmenu li a {
  font-family: 'Futura Std Medium Condensed', sans-serif;
  color:#737373;
  font-size: 18px;
  letter-spacing: 2px;
  text-decoration: none;
  min-height: 35px;
  display: block;
  padding-top: 5px;
  padding-right: 40px;
}
.topmenu li a:hover {
  color:#22BBEA;
}
.topmenu a.community {
  background: URL('../images/icon-community.png') no-repeat top right;
}
.topmenu a.community:hover {
  background: URL('../images/icon-community-hover.png') no-repeat top right;
}
.topmenu a.contact {
  background: URL('../images/icon-contact.png') no-repeat top right;
}
.topmenu a.contact:hover {
  background: URL('../images/icon-contact-hover.png') no-repeat top right;
}
.topmenu a.jobs {
  background: URL('../images/icon-jobs.png') no-repeat top right;
}
.topmenu a.jobs:hover {
  background: URL('../images/icon-jobs-hover.png') no-repeat top right;
}
a {
  color:#043882;
}
a:hover {
  color:#0094D8;
  text-decoration: none;
}

.community-wrapper {
width:100%;
text-align: center;
}
.community-button {
  display: block;
  background: #043882 URL('../images/icon-community-white.svg') no-repeat center right;
  background-size: 40px 30px;
  color: #ffffff;
  padding:10px 50px 10px 20px;
  margin:0 auto;
  text-transform: uppercase;
  letter-spacing: .025em;
  font-size: 1.05em;
}

/* NAV - SIDEBAR ##################################################################################### */

.navburger {
  position: fixed;
  top: 230px;
  left: 0;
}
.navburger span {
  color:#043882;
  font-size: 44px;
  line-height: 0;
  min-height: 50px;
}
.closebtn {
  color:#043882 !important;
}
.closepanel {
  color:#FFF;
}
.closepanel:hover {
  color:rgba(255,255,255,.6);
  text-decoration: none;
}

.sidenav {
  width: 0;
  position: fixed;
  z-index: 200;
  top: 200px;
  left: 0;
  background-color: rgba(240,240,240,0.9);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
  padding-bottom: 60px;
}

.sidenav li {
  list-style: none;
}

.sidenav ul ul {
  padding-left: 1rem;
}

.sidenav > ul > li > span {
  text-transform: uppercase;
  text-decoration: underline;
}

.sidenav a {
  padding: 5px;
  font-size: 18px;
  color: #818181;
  display: block;
  transition: 0.3s;
  text-decoration: none;
}

.sidenav a:hover {
  color: #043882;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* HOMEPAGE - News ##################################################################################### */

.carousel {
  width: 100%;
}
.carousel .col-lg-6 {
  float: left;
  border-right: 0 !important;
  text-align: center;
  min-height: 300px;
  padding: 1rem 3rem;
  overflow: hidden;
}
.sliderContent {
  color:#FFF;
}
.sliderContent a {
  background-color:#FFF;
  display: block;
}
.carousel-control-next, .carousel-control-prev {
  width: 5%;
}


/* HOMEPAGE - Parts ##################################################################################### */

.overlay {
  background: rgba(0,0,0,.3);
  position: absolute;
  /*top:400px;*/
  bottom: -110%;
  left: 0;
  right: 0;
  padding: 130px 2.5rem 0;
  /*min-height: 300px;*/
  height: 100%;
  color:#FFF;
  z-index:11;
  transition: bottom .3s ease-in-out;
  -webkit-transition: bottom .3s ease-in-out;
  -moz-transition: bottom .3s ease-in-out;
  z-index: 1;
}
.corporate .overlay {
  padding-top: 100px;
}
.consultancy .overlay {
  padding-left: 110px;
  padding-right: 110px;
  font-size:24px;
}
.overlay p {
  font-size: 20px;
  letter-spacing: 0.05rem;
}
.openPanel:hover .overlay {
  bottom: 0;
}

.openPanel:hover h3.bottom {
  bottom: 80%;
}

.openPanel.twolines:hover h3.bottom {
  bottom: 68%;
}

.openPanel, .openHalf {
  background-size: 100% !important;
}

.consultancy .openPanel {
  background-size: cover !important;
}

.twoparts {
  padding: 0 !important;
}
.twoparts:hover::before {
  height: 0 !important;
}
.twoparts:hover h3.bottom {
  z-index: -1;
}

.half {
  height: 50%;
  display: block;
  background-color:#FFF;
  overflow: hidden;
  position: absolute;
  left: 0;
  right: 0;
  transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  z-index: 2;
}
.half h4 {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-family: 'Futura Std Heavy', sans-serif;
  font-size: 30px;
  transition: top .3s ease-in-out;
  -webkit-transition: top .3s ease-in-out;
  -moz-transition: top .3s ease-in-out;
  z-index: 15;
}
.openHalf:hover {
  height: 100%;
  z-index: 5;
}
.openHalf:hover .overlay {
  bottom: 0;
}
.firstpart:hover h4,
.secondpart:hover h4 {
  top: 20px;
}

.firstpart {
  top: 0;
}
.secondpart {
  bottom: 0;
}
.firstpart h4 {
  color:#8d1d00;
  position:absolute;
  top: 75%;
  left: 0;
  right: 0;
}
.secondpart h4 {
  color:#f79e02;
  position:absolute;
  top: 0.5rem;
  left: 0;
  right: 0;
}

.home .parts .mainBox {
  border-right: solid 1px #FFF;
  border-bottom: solid 1px #FFF;
  background-color: #DDD;
  text-align: center;
  min-height: 300px;
  padding: 1rem 3rem;
  overflow: hidden;
}
.home .parts .mainBox {
  min-height: 280px;
}
.home .parts .openHalf:hover, .home .parts .openPanel:hover {
  cursor: pointer;
}
.home .parts .mainBox:before   {
  content: '';
	position: absolute;
	top: 70%;
	right: 0;
	bottom: 0;
	left: 0;
	background-image: linear-gradient(to top,#000000,transparent);
	opacity: .5;
  z-index: 10;
}


/* LEVEL 2 ##################################################################################### */

.headerRow {
  min-height: 370px;
  padding: 1rem;
  position: relative;
  background-size: contain !important;
}
.level2 .headerRow h1 {
  color: #FFF;
  font-family: 'Futura Std Heavy', sans-serif;
  text-transform: uppercase;
  font-size: 2rem;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.15rem;
  margin-top: 1rem;
}
.level2 .headerRow p {
  color: #FFF;
  text-align: right;
}

.row.products {
  /*width: 100%;*/
}
.products .firstlevel {
  text-align: center;
  overflow: hidden;
  border-right: solid 10px #FFF; /* was 20px */
}
.products .firstlevel:after {
  border-right: solid 1px #000;
}
.products.brewhouse .firstlevel:last-child {
  border-right: 0px;
}
.products .firstlevel .col-md-6:nth-child(odd) {
  border-right: solid 3px #FFF;;
}
.products .firstlevel .col-md-6:nth-child(even) {
  border-left: solid 3px #FFF;;
}

.firstlevel h3 {
  background-color: #043882;
  color:#FFF;
  text-transform: uppercase;
  padding: 0.35rem 0rem 0.25rem 0rem ;
  font-size: 1.05rem;
  margin-bottom: 0;
}
.firstlevel .row {
  margin: 0;
}
.firstlevel .row:nth-child(3), .firstlevel .row:nth-child(4) {
  margin-top: 5px;
}
.secondlevel {
  min-height: 182px;
  background-size: contain !important;
  background-position: top !important;
  background-color: #EEE !important;
}
.secondlevel:before {
    content:'\A';
    position:absolute;
    width:100%; height:100%;
    top:0; left:0;
    /*background:rgba(141,29,0,0.6);*/
    background:rgba(4,56,130,0.6);
    opacity:0;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}
.secondlevel:before {
    opacity:0;
}
.secondlevel:hover:before {
    opacity:1;
}
.secondlevel h4 {
  background: #FFF;
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  margin-bottom: 0;
  border: solid 1px #CCC;
  border-top: none;
  font-size: 1rem;
  color:#8D1D00;
  padding: 0.35rem 0rem 0.25rem 0rem ;
}
.secondlevel h4 a {
  color:#8D1D00;
}
.productsdescr {
  margin-top: 1rem;
  padding: 0 1rem 0.5rem 1rem;
  border: solid 1px #8D1D00;
  border-top: 0px;
  border-right: 0px;
}
.productsdescr p {
  font-size: 1rem;
  margin-bottom: 0;
}


/* LEVEL 3 ##################################################################################### */
.level3 .headerRow:not(.markets):before, .level2 .headerRow:before   {
  content: '';
	position: absolute;
	top: 50%;
	right: 0;
	bottom: 0;
	left: 0;
	background-image: linear-gradient(to top,#000000,transparent);
	opacity: .5;
  z-index: 0;
}
.level3 .headerRow {
  text-align: right;
  color: #FFF;
  position: relative;
}
.level3 .headerRow .horiLeft {
  text-align: left;
}
.level3 .news.headerRow {
  background-size: cover !important;
}
.level3 .product-detail h1, .level3 .product-detail h4 {
  color: #043882;
}
.level3 h1 {
  text-transform: uppercase;
  font-family: 'Futura Std Heavy', sans-serif;
  letter-spacing: 0.05em;
}
.level3 .jobs h1 {
  font-size: 4rem;
}
.level3 .textshadow h1, .level3 .textshadow p, .level3 .news h1, .level3 .news p {
  text-shadow: 2px 2px 20px #666;
}
.videoWrapper {
	position: relative;
	padding-bottom: 50%; /* format video */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.modal-header {
  padding: 0 1rem;
}
.modal-body {
  padding: 0;
}
.videoStill {
  position: relative;
  background: #CCC;
  min-height: 250px;
}
.playvideo {
  position: absolute;
  left: 40%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  border: none;
}
.detail-imagery h3, .detail-imagery h5 {
  color:#000;
  margin-top: 2rem;
}
.detail-imagery img {
  max-width: 100%;
}
.detail-text {
  color:#000;
  font-size: 1rem;
  padding-top: 2rem;
}
.detail-text .introtxt {
  font-size: 1.3rem;
  font-family: 'Futura Std Heavy', sans-serif;
  letter-spacing: 0.025rem;
}
.detail-pdf {
  text-align: center;
}
.detail-pdf .far {
  font-size: 2rem;
}

.detail-text img {
  max-width: 100%;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.detail-text table {
  width: 100%;
  margin-bottom: 2rem;
}
.detail-text table th, .detail-text table td {
  padding: 0.5rem 1rem;
}
.detail-text table th.products {
  background-color: #0094D8;
  color:#FFF;
  border-right: solid 1px #FFF;
}
.detail-text table th.products:last-child {
  border-right: solid 1px #0094D8;
}
.detail-text table th.kind {
  background-color: #E2E0E3;
  border-bottom: solid 1px #FFF;
}
.detail-text table th.kind:last-child {
  border-bottom: solid 1px #0094D8;
}
.detail-text table td {
  border-bottom: dotted 1px #DDD;
  border-right: dotted 1px #DDD;
}
.jobs {
  padding-top: 2rem;
}
.casestudy {
  margin: 2rem 0;
}
.casestudy .detail-text {
  padding-top: 0;
}

/* FOOTER ##################################################################################### */

footer {
  padding: 3rem 0;
  font-size: 1rem;
  background: URL('../images/bg-footer.gif') no-repeat top center;
}


/* IE 10 + 11 ##################################################################################### */

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .headerRow {
    height: 370px;
  }
  .carousel .col-lg-6 {
    height: 300px;
  }

  .sidenav {
    position: absolute;
    top: 0;
  }

  @media (max-width: 1200px) {
    .headerRow {
      height: 300px;
    }
  }

  @media (max-width: 768px) {
    .headerRow {
      height: 215px;
    }
  }

  @media (max-width: 667px) {
    .headerRow {
      height: 178px;
    }
  }

}


/* MOBILE ##################################################################################### */
@media (max-height: 775px) {
  #mySidenav, #mySidenav a {
    font-size: 15px;
  }
  #mySidenav a {
    padding: 2px;
  }
  #mySidenav {
    padding-top: 20px !important;
    padding-bottom: 10px !important;
  }
  #mySidenav span {
    display: inline-block;
    margin-top: 6px;
  }
}

@media (min-width: 995px) {
  .products.brewhouse .col-lg-2, .products.finemillingplant .col-lg-2 {
      -ms-flex: 0 0 14.28%;
      flex: 0 0 14.28%;
      max-width: 14.28%;
    }
    .products.finemillingplant .col-lg-4 {
      -ms-flex: 0 0 28.46%;
      flex: 0 0 28.46%;
      max-width: 28.46%;
    }
    .mL12 {
      margin-left: 12rem;
    }
    .level3 .headerRow.pad2 {
      padding: 2rem;
    }
    .level3 .headerRow.pad3 {
      padding: 3rem;
    }
    .level3 .headerRow.pad4 {
      padding: 4rem;
    }
    .level3 .headerRow.pad5 {
      padding: 5rem;
    }
}

/* Tablets HORI */
@media (max-width: 1200px) {

  .jumbotron {
    background-position: top left;
  }
  .jumbotron .row::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 200px;
    width: 60%;
    background-image: linear-gradient(to left,#FFFFFF,#FFFFFF,rgba(255,255,255,0));
    opacity: 1;
    z-index: 0;
  }
  main {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
  }
  .baseline p {
    background: none;
    border-top: #043882 solid 1px;
    border-bottom: #043882 solid 1px;
    margin-top: 0;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  h3.bottom {
    font-size: 1.25rem;
  }
  .overlay {
    padding-top: 100px;
    bottom: 0;
  }
  .corporate .overlay {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .consultancy .overlay {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 20px;
  }
  h3.bottom {
    bottom: 80%;
  }

  .navburger {
    z-index: 20;
    top: 200px;
  }
  .secondlevel {
    min-height: 175px;
  }
  .products .firstlevel {
    border-right: solid 10px #FFF;
  }
  .firstlevel h3 {
    min-height: 50px;
  }
  .openPanel {
    background-size: cover !important;
  }
  .headerRow {
    min-height: 300px;
    background-size: auto !important;
  }
  .headerRow.markets {
    background-size: contain !important;
  }

}

/* Tablets VERTI */
@media (max-width: 768px) {
  .products.brewhouse .firstlevel:last-child {
    border-right: solid 10px #FFF !important;
  }
  .firstlevel {
    margin-bottom: 2rem;
  }
  .firstlevel h3 {
    font-size: 1rem;
  }
  .headerRow {
    min-height: 215px;
  }
  .detail-imagery {
    padding-left: 0;
  }
  .detail-text {
    padding-right: 0;
  }
  .headerRow h1 {
    margin: 0 !important;
    font-size: 1.5rem !important;
  }
  .headerRow p {
    font-size: 16px;
    line-height: 20px;
    margin: 0 !important;
  }
  h2 {
    background: none !important;
  }
  .secondlevel {
    background-size: 100% !important;
    background-position: center !important;
  }

}

/* Phone HORI */
@media (max-width: 667px) {
  .jumbotron {
    background-size: 800px;
    padding: 1rem 0;
    min-height: 120px;
  }
  .sidenav {
    position: absolute;
    top: 0;
  }
  .home .parts .mainBox {
    min-height: 150px;
  }
  .home .parts .mainBox::before {
    z-index: 0;
  }
  .overlay {
    padding-top: 60px !important;
  }
  h3.bottom {
    top: 15%;
  }
  .headerRow {
    min-height: 178px;
  }
  h2 {
    font-size: 40px;
  }
  .firstlevel h3 {
    min-height: auto !important;
  }

}

@media (max-width: 575px) {
  .mobileonly {
    display: block;
  }
}

/* Phone VERTI */
@media (max-width: 400px) {
  body {
    font-size: 16px;
  }
  h3 {
    font-size: 1.5rem;
  }
  .carousel .col-lg-6 {
    padding: 1rem 2rem;
  }
  main {
    padding-left: 3rem;
    padding-right: 1.5rem;
  }
  .jumbotron {
    background-size: 800px;
    padding: 1rem 0;
    min-height: 130px;
  }
  .jumbotron .row::before {
    display: none;
  }
  .jumbotron a {
    width: 100% !important;
    min-height: 100px !important;
    display: block;
  }
  .baseline p {
    font-size: 16px;
    line-height: 1.3;
  }
  .navburger {
    top: 133px;
  }
  .headerRow {
    background-size: auto !important;
  }
  .headerRow.markets {
    background-size: contain !important;
    min-height: 100px !important;
  }
  h1 {
    font-size: 1.75rem !important;
  }
  h2 {
    font-size: 26px;
    background: none;
  }
  .products .firstlevel .col-md-6:nth-child(2n+1) {
    border-right: none;
  }
  .row.products {
    width: auto;
  }
  .carousel-inner .col-md-4 {
    min-height: 100px !important;
  }
  .overlay {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .overlay p {
    font-size: 18px;
    line-height: 1.2;
  }
  .detail-text .introtxt {
    font-size: 1rem;
  }
}
