/*==============================
=            Global            =
==============================*/

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Source Sans Pro', sans-serif;
}

*, *:before, *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
  }

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


a:focus {
    outline: 0;
}

body {
    margin: 0;
    padding: 0;
    background-color: black;
}

p {
    margin: 0
}
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-weight: normal;
    text-rendering: optimizelegibility;
}

/*============================
=            Site            =
============================*/

.wrapper {
    width: 1343px;
    margin: 72px auto;
    background-color: black;

}


/*===============================
=            Top Bar            =
===============================*/

#bizzbar{  
    background:#d8294b;  
    width:100%;  
    text-align:center;  
    color:#fff;  
    padding:12px;  
    overflow:hidden;  
    height:73px;  
    z-index:1000;     
    position:fixed;  
    top:0;  
    left:0;  
    box-shadow:0 1px 5px rgba(0,0,0,.7)
}

#bizzbar p {
    font-family: 'Source Sans Pro', sans-serif; 
    font-weight: 200;
    font-size: 1.5em;
    vertical-align: middle;
}

#bizzbar span {
    font-weight: 700;
}

button.quiz-button {
    background-color: white;
    border-radius: 22px;
    border: none;
    color: black;
    padding: 13px 31px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Source Sans Pro', sans-serif; 
    font-weight: 700;
    font-size: 18px;
    margin: 0 0 0 20px;

}



/*============================
=            Hero            =
============================*/

.grad {
    z-index: 1;
    height: 100%;
    overflow: hidden;
    background: rgba(255,255,255,1);
    background: -moz-linear-gradient(left, rgba(255,255,255,1) 38%, rgba(255,255,255,0.29) 83%, rgba(255,255,255,0.07) 92%, rgba(255,255,255,0) 95%, rgba(255,255,255,0) 100%);
    background: -webkit-gradient(left top, right top, color-stop(38%, rgba(255,255,255,1)), color-stop(83%, rgba(255,255,255,0.29)), color-stop(92%, rgba(255,255,255,0.07)), color-stop(95%, rgba(255,255,255,0)), color-stop(100%, rgba(255,255,255,0)));
    background: -webkit-linear-gradient(left, rgba(255,255,255,1) 38%, rgba(255,255,255,0.29) 83%, rgba(255,255,255,0.07) 92%, rgba(255,255,255,0) 95%, rgba(255,255,255,0) 100%);
    background: -o-linear-gradient(left, rgba(255,255,255,1) 38%, rgba(255,255,255,0.29) 83%, rgba(255,255,255,0.07) 92%, rgba(255,255,255,0) 95%, rgba(255,255,255,0) 100%);
    background: -ms-linear-gradient(left, rgba(255,255,255,1) 38%, rgba(255,255,255,0.29) 83%, rgba(255,255,255,0.07) 92%, rgba(255,255,255,0) 95%, rgba(255,255,255,0) 100%);
}

.hero {
    position: relative;
    z-index: 1;
    overflow: hidden;
    height: 20vh;
    min-height: 379px;
    max-height: 500px;
/*    background-image: url("../images/hero.jpg");*/
    background-color: #e33834;
    background-blend-mode: screen;
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
}

.hero h1 {
    position: absolute;
    left: 0;
    top:20px;
    color: black;
    z-index: 4;
    font-family: 'Source Sans Pro', sans-serif; 
    font-weight: 200;
    font-style: italic;
    font-size: 8em;
    margin: 50px 0 0 100px;
}

.hero h3 {
    position: absolute;
    left: 0;
    top:182px;
    color: black;
    z-index: 4;
    font-family: 'Source Sans Pro', sans-serif; 
    font-weight: 200;
    font-size: 2.7em;
    margin: 30px 0 0 423px;
}

.hero-logo-text {
    position: absolute;
    z-index: 5;
    right: 100px;
    bottom: 29px;
    text-transform: uppercase;
    font-family: 'Source Sans Pro', sans-serif; 
    font-weight: 200;
}

.hero-logo {
    position: absolute;
    z-index: 5;
    right: 20px;
    bottom: 17px;
}


/*.fullscreen-bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -100;
    margin-left: 534px;
}*/

.fullscreen-bg {
     width: 100%; 
  height:100%; 
  overflow:hidden;
}

/*.fullscreen-bg__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 454px;
}
*/

/*.fullscreen-bg__video {
    position: absolute;
    top: 50%; 
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    min-width: 100%; 
    min-height: 100%; 
    width: auto; 
    height: auto;
    z-index: -1000; 
    overflow: hidden;
}*/

.fullscreen-bg__video {
    position: absolute;
    top: 50%; 
    left: 74%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    min-width: 71%; 
    min-height: 100%; 
    width: auto; 
    height: auto;
    z-index: -1000; 
    overflow: hidden;
}


/*============================
=            GRID            =
============================*/

.row:before, .row:after {
    content: ' ';
    display: table;
}

.box-grid {
    position: relative;
    z-index: 10;
    -webkit-transform:translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.grid {
    position: relative;
    box-sizing: border-box;
    z-index: 1;
    overflow: hidden;
    border-top:1px solid #d8294b;
    border-left:1px solid #d8294b;
    background:#000;
    color: white;
}

.grid-wrapper {
    width: 1343px;
    position: relative;
    z-index: 1;
}


/*.card-1 {
    height: 559px;
}*/

.column {
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    margin:0;
    padding: 0;
    float: left;
    min-height: 2px;
}

.box {
    width: 33.3%;
    height: 559px;
    cursor: pointer;
}

.box:before {
    display: block;
    content: ' ';
    width: 100%;
}

.box .box-content {
    display: block;
    position: absolute;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-bottom: 1px solid #d8294b;
    border-right: 1px solid #d8294b;
    text-decoration: none;
}

.box .box-text {
    opacity: 1;
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.box-text.roll-state {
    opacity: 0;
    text-decoration: underline;
    color: black;
      -webkit-transition: 0.5s ease-in-out;
       -moz-transition: 0.5s ease-in-out;
       -o-transition: 0.5s ease-in-out;
       transition: 0.5s ease-in-out;

}

.box-text.initial-state {
    -webkit-transition: 0.5s ease-in-out;
       -moz-transition: 0.5s ease-in-out;
       -o-transition: 0.5s ease-in-out;
       transition: 0.5s ease-in-out;
}

.box-text-content {
    box-sizing: border-box;
    padding: 27% 0 0 12%;
    font-size: 3.9em;
}

.typography-card-title {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
    line-height: 1.2em;

}

.box .box-text .box-text-masked {
    -webkit-text-fill-color:transparent;
    -webkit-background-clip:text;
    background-size:100% auto;
    padding-bottom:10px;

}

/* Shrink */
.hvr-shrink {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
  text-decoration: underline;
}
.hvr-shrink:hover, .hvr-shrink:focus, .hvr-shrink:active {
  -webkit-transform: scale(0.97);
  transform: scale(0.97);
}

.button {
    background-color: #d8294b;
    border-radius: 22px;
    border: none;
    color: white;
    padding: 15px 52px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    display: block;
    margin: 0 auto;
    z-index: 2;
    position: relative;
    margin-top: 440px;
    text-transform: uppercase;
    cursor: pointer;
}

.button:hover {
    background-color: white;
    color: #d8294b;
    -webkit-transition: 0.5s ease-in-out;
       -moz-transition: 0.5s ease-in-out;
       -o-transition: 0.5s ease-in-out;
       transition: 0.5s ease-in-out;

}

/*----------  MASK TEXT  ----------*/


.hero-mask {
    color: white;  
      background: url("../images/card1-mask.jpg") no-repeat;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      text-fill-color: transparent;
}

.card-1 .box-text-masked {
    background-repeat:no-repeat;
    background-image:url("../images/card1-mask.jpg");
}

.card-2 .box-text-masked {
    background-repeat:no-repeat;
    background-image:url(https://images.apple.com/v/iphone/photography-how-to/a/images/overview/great_portrait_crop_large.jpg);
}

.card-4 .box-text-masked {
    background-repeat:no-repeat;
    background-image:url("../images/card3-mask.jpg");
}

.card-5 .box-text-masked {
    background-repeat:no-repeat;
    background-image:url("../images/card4-mask.jpg");
}


.card-7 .box-text-masked {
    background-repeat:no-repeat;
    background-image:url("../images/card7-mask.jpg");
}

.card-11 .box-text-masked {
    background-repeat:no-repeat;
    background-image:url("../images/card12-mask.jpg");
}


/*----------  BG HOVER  ----------*/

.box .box-image {
    opacity: 1;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    opacity: 0;
    -webkit-transition: 0.5s ease-in-out;
       -moz-transition: 0.5s ease-in-out;
       -o-transition: 0.5s ease-in-out;
       transition: 0.5s ease-in-out;
     background-size: cover;
    background-repeat: no-repeat;
    background-color: #e33834;
    background-blend-mode: screen;
}

.card-1 .box-image {
    background-image: url("../images/card1-image.jpg");
}

.card-2 .box-image {
    opacity: 1;
    background-image: url("../images/card2-image.jpg");

}

.card-3 .box-image {
    opacity: 1;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("../images/card3-image.jpg");
    background-blend-mode: normal;
}

.card-4 .box-image {
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("../images/card4-image.jpg");
    background-color: #e33834;
    background-blend-mode: screen;
}


/* underline for non hover cards */
.card-2 .box-text-content, .card-6 .box-text-content, .card-8 .box-text-content, .card-10 .box-text-content, .card-12 .box-text-content {
    color: black;
    text-decoration: underline;
}


.card-5 .box-image {
    background-image: url("../images/card5-image.jpg");

}


.card-6 .box-image {
    opacity: 1;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("../images/card6-image.jpg");
    background-color: #e33834;
    background-blend-mode: screen;
}

.card-7 .box-image {
    background-image: url("../images/card7-image.jpg");
}

.card-11 .box-image {
    background-image: url("../images/card11-image.jpg");
}

.card-8 .box-image {
    opacity: 1;
    background-image: url("../images/card8-image.jpg");
}

.card-9 .advertisement p {
    margin: 0;
    padding: 0;
}

.card-9 .advertisement  {
    width: 240px;
    margin: 88px auto 0 auto;
    background-color: white;
    text-transform: uppercase;
    text-align: center;
    color: black;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.7em;
    font-weight: 700;
    padding: 9px;
}

.ad-tag {
    text-align: center;
    margin: 60px 0 0 0;
}

.card-10 .box-image {
    opacity: 1;
    background-image: url("../images/card10-image.jpg");
}

.card-12 .box-image {
    opacity: 1;
    background-image: url("../images/card12-image.jpg");

}

/* Card 12 typography fix */

.card-12 .box-text-content {
    padding: 27% 0 0 5%;
    font-size: 3.4em;
}

/*=================================
=            Brand Bar            =
=================================*/

.h-bar {
    background-color: white;
    height: 85px;
    -webkit-box-shadow: 0px 3px 5px 1px rgba(0,0,0,0.10);
    -moz-box-shadow: 0px 3px 5px 1px rgba(0,0,0,0.10);
    box-shadow: 0px 3px 5px 1px rgba(0,0,0,0.10);
    margin:-74px 0 0 0;
    z-index: 10;
    position: absolute;
    width: 100%;
}

.h-bar-mnLogo {
    max-width: 150px;
    margin: 20px
}

.h-bar-sbmLogo {
    max-width: 150px;
    margin: 20px;
    float: right;
}

.h-bar-momstownLogo {
    max-width: 200px;
    margin: 20px;
    float: right;
}

.h-bar-wew {
    max-width: 150px;
    margin: 20px;
    float: right;
}

/*==================================
=            Video Unit            =
==================================*/

.video-unit {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.btn-video {
    margin-top: inherit;
    margin:-50px 0px 0 166px;
    /*margin:0px 0px 0 166px;*/
}

.btn-hero {
    margin-top: initial;
    position: absolute;
    top: 280px;
    left: 427px;
}

.btn-hero:hover {
    border:1px solid #d8294b;
}




