/* CSS crunched with Crunch - http://crunchapp.net/ */

/**** Anisette ****/
@import url("https://use.typekit.net/xwi4fhd.css");
/**** Lato ****/
@import url("https://use.typekit.net/xwi4fhd.css");

body {
  color: #FFFFFF;
  font-family: Arial, Helvetica, Sans-serif;
}
.parent {
  display: grid;
  grid-template-columns: repeat(5, auto);
  grid-template-rows: repeat(4, auto);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  }
  
  .div1 { grid-area: 1 / 1 / 2 / 6; background: #333369 url(../images/Header_BG.png) no-repeat;}
  .div2 { grid-area: 2 / 1 / 3 / 3; background: #D7BA66;}
  .div2.gallery { display: none;}
  .div3 { grid-area: 2 / 3 / 3 / 6; background: #DE5566;}
  .div4 { grid-area: 3 / 1 / 4 / 6; }
  .div4-2 { display: none;}
  .div5 { grid-area: 4 / 1 / 5 / 6; background: #333333 url(../images/Footer_BG.png) no-repeat;}

 

  /****** HEADER *******/
  #header .logo {
    width: 116px;
    height: 116px;
    margin: 53px auto 0 auto;
  }
  #header h1 {
    font-family: "anisette-petite", Arial, Helvetica, Sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 60px;
    text-transform: uppercase;
    text-align: center;
    margin: 32px 0;
  }
  #header h2 {
    font-family: "lato", Arial, Helvetica, Sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 19px;
    text-align: center;
  }
  #header .mobile_only {
    display: none;
  }
  #header #drop {
    width: 330px;
    margin: 45px auto 38px auto;
  }
  /* Dropdown Button */
.dropbtn {
  font-family: "anisette-petite", Arial, Helvetica, Sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  text-transform: uppercase;
  background: transparent url(../images/MenuArrow.png) 76% 50% no-repeat;
  border: 1px solid #D7BA66!important;
  color: #D7BA66;
  padding: 16px 30px;
  font-size: 16px;
  border: none;
  width: 330px;
}
#featured .dropbtn {
  text-transform: none;
  background: transparent url(../images/MenuArrow.png) 77% 53% no-repeat;
}
#email .dropbtn,
#ux .dropbtn {
  text-transform: none;
  background: transparent url(../images/MenuArrow.png) 88% 53% no-repeat;
}
#direct .dropbtn,
#printad .dropbtn {
  text-transform: none;
  background: transparent url(../images/MenuArrow.png) 73% 53% no-repeat;
}
#printco .dropbtn {
  text-transform: none;
  background: transparent url(../images/MenuArrow.png) 71% 53% no-repeat;
}
#logo .dropbtn {
  text-transform: none;
  background: transparent url(../images/MenuArrow.png) 75% 53% no-repeat;
}
#ooh .dropbtn {
  text-transform: none;
  background: transparent url(../images/MenuArrow.png) 85% 53% no-repeat;
}
#misc .dropbtn {
  text-transform: none;
  background: transparent url(../images/MenuArrow.png) 70% 53% no-repeat;
}
/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #FFFFFF;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 999;
}
/* Links inside the dropdown */
.dropdown-content a {
  font-family: "lato", Arial, Helvetica, Sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 19px;
  text-align: center;
  color: #333333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  width: 298px;
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: rgba(172, 175, 181, .4);}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}
/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {}
#header #contact {
  position: absolute;
  right: 20px;
  top: 360px;
}
/****** HEADER END *******/

.div2 {
  padding: 90px 0 90px 10%;
}
.div2 h3 {
  font-family: "lato", Arial, Helvetica, Sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
}
.div2 p {
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 40px;
  max-width: 465px;
  margin-top: 30px;
}
.div3 {
  padding: 90px 0 90px 10%;
}
.div3 h3 {
  font-family: "lato", Arial, Helvetica, Sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
}
.div3 p {
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 40px;
  max-width: 750px;
  margin-top: 30px;
}

/****** HOME PAGE LOGO SLIDER *******/
#home .div4 {
  background-color: #FFFFFF;
  height: 204px;
  max-width: 1600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.div4 .carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 204px;
  max-width: 1600px;
  padding: 0;
  margin: 0;
  opacity: 0;

  &.animation-reveal {
    animation: reveal 1s cubic-bezier(0.77, 0, 0.175, 1);
  }

  @keyframes reveal {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
}

.div4 .card {
  margin: 0 1rem;
  overflow: hidden;
  height: 109px;
  max-width: 1600px;
  display: block;
  position: relative;
  background-position: 50%;
  background-size: cover;
  cursor: pointer;
  transition: width 0.16s ease-in-out, height 0.16s ease-in-out;
}

.div4 .card.is-custom-selected {
  max-width: 1600px;
  height: 109px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.div4 .card-bg {
  height: 109px;
  width: 1600px;
  background-position: center;
  background-size: cover;
}

.div4 .flickity-enabled {
  position: relative;
}

.div4 .flickity-enabled:focus {
  outline: none;
}

.div4 .flickity-viewport {
  position: relative;
  height: 100%;
}

.div4 .flickity-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 100%;
  height: 100%;
}
/****** HOME PAGE LOGO SLIDER *******/

/****** CONTACT *******/
.div4 {
  background-color: #FFFFFF;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 150px 0;
}
.div4 .contact {

}
.div4 .contact ul {

}
.div4 .contact ul li {
  float: left;
  margin-right: 150px;
}
.div4 .contact ul li:last-child {
  margin-right: 0;
}
.div4 .contact ul li a {
  font-family: "anisette-petite", Arial, Helvetica, Sans-serif;
  color: #000000;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid #DE5566;
}
.div4 .contact ul li.first a {
  padding: 13px 121px;
}
.div4 .contact ul li.sec a {
  padding: 13px 87px;
}
.div4 .contact ul li.third a {
  padding: 13px 89px;
}
@media screen and (max-width: 1024px){
  .div4 .contact ul li {
    float: none;
    margin-right: 0;
    margin-bottom: 100px;
  }
}
/****** CONTACT END *******/

/****** WORK PAGES *******/
#featured .div4,
#email .div4,
#ux .div4,
#direct .div4,
#printad .div4,
#printco .div4,
#logo .div4,
#ooh .div4,
#misc .div4 {
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}
#featured .div4 .inner,
#email .div4 .inner,
#ux .div4 .inner,
#direct .div4 .inner,
#printad .div4 .inner,
#printco .div4 .inner,
#logo .div4 .inner,
#ooh .div4 .inner,
#misc .div4 .inner {
  align-self: center;
  margin: 0;
  width: 100%;
  position: relative;
}
.rslides {
  position: relative;
  align-self: center;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0 0 0 0;
  }
.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  padding-top: 100px;
  }
#home .rslides li {
  padding-top: 0;
}
.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }
.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }
.rslides .caption {
  color: #B1B1B1;
  position: absolute;
  top: 10%;
  width: 100%;
  display: flex;
  flex-flow: column wrap;
  align-items: center;
}
.rslides .caption p {
  width: 100%;
  text-align: center;
}
.rslides .caption p.lead {
  font-family: "lato", Arial, Helvetica, Sans-serif;
  font-weight: bold;
  font-style: normal;
  font-size: 13px;
  text-transform: uppercase;
  line-height: 24px;
}
.rslides .caption p.secondary {
  font-family: "lato", Arial, Helvetica, Sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 12px;
  line-height: 24px;
}
.rslides .caption p span {
  margin-left: 2%;
}
.rslides .caption p span:first-child {
  margin-left: 0;
}
a.prev {
  background: transparent url(../images/lft_arrow.png) no-repeat;
  display: inline-block;
  width: 26px;
  height: 30px;
  text-indent: -9999px;
  position: absolute;
  top: 50%;
  left: 35px;
  z-index: 9999;
}
a.next {
  background: transparent url(../images/rgt_arrow.png) no-repeat;
  display: inline-block;
  width: 26px;
  height: 30px;
  text-indent: -9999px;
  position:absolute;
  top: 50%;
  right: 35px;
  z-index: 9999;
}

/****** WORK PAGES END *******/

#footer {
  font-family: "lato", Arial, Helvetica, Sans-serif;
  font-weight: 400;
  font-style: normal;
  padding-top: 118px;
}
#footer .inner {
  margin: 0 0 0 100px;
}
#footer .logo {
  float: left;
}
#footer .contact {
  float: left;
  margin: 0 8% 0 2%;
  font-size: 20px;
  line-height: 40px;
}
#footer .contact a {
  color: #FFFFFF;
  text-decoration: none;
}
#footer .menu {
  float: left;
  font-size:18px;
}
#footer .menu ul {
  float: left;
}
#footer .menu ul li {
  margin-right: 60px;
  line-height: 40px;
}
#footer .menu ul li:last-child {
  margin-right: 0;
}
#footer .menu ul li a {
  color: #FFFFFF;
  text-decoration: none;
}
#footer .copyright {
  clear: both;
  font-size: 17px;
  line-height: 28px;
  margin: 0 0 0 140px;
  padding: 80px 0 85px 0;
}
@media screen and (max-width: 1450px) and (min-width: 1251px) {
  #footer .contact {
    float: left;
    margin: 0 3% 0 0;
    font-size: 14px;
    line-height: 30px;
  }
  #footer .menu {
    float: left;
    font-size:16px;
  }
  #footer .copyright {
    clear: both;
    font-size: 12px;
    line-height: 18px;
    margin: 0 0 0 85px;
    padding: 80px 0 85px 0;
  }
}

@media screen and (max-width: 1250px) {
  #footer {
    padding: 50px 0;
  }
  #footer .menu {
    display: none;
  }
  #footer .inner {
    margin: 0 0;
    text-align: center;
  }
  #footer .logo {
    float: none;
    width: 89px;
    margin: 0 auto;
  }
  #footer .contact {
    float: none;
    margin: 20px auto 30px auto;
    font-size: 17px;
    line-height: 30px;
    width: 305px;
  }
  #footer .copyright {
    clear: both;
    font-size: 12px;
    line-height: 18px;
    margin: 0 auto;
    padding:0;
    width: 285px;
  
  }
}


 /****** MOBILE *******/
 @media screen and (max-width: 1024px) {
  .parent {
    display: grid;
    grid-template-columns: repeat(5, auto);
    grid-template-rows: repeat(5, auto);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    }
  .div2 { display:none;}
  .div2.gallery { display:block; grid-area: 2 / 1 / 3 / 6; background: #FFFFFF;}
  .div3 { grid-area: 3 / 1 / 4 / 6; background: #DE5566;}
  #home .div4 { display: none !important;}
  .div4-2 { display: block!important; grid-area: 4 / 1 / 5 / 6;}
  .div5 { grid-area: 5 / 1 / 6 / 6; background: url(../images/Footer_BG.png) no-repeat;}
  #header #drop {
    display: none;
  }
  #header .mobile_only {
    display: block;
    font-family: "lato", Arial, Helvetica, Sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 20px;
    color: #BFBFBF;
    text-align: center;
    margin: 30px 0 38px 0;
  }

  #header #contact {
    display: none;
  }

  #home .div2.gallery {
    background-color: #FFFFFF;
    height: 270px;
    max-width: 1600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 20px 0;
  }
  
  .div2.gallery .carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 270px;
    max-width: 1600px;
    padding: 0;
    margin: 0;
    opacity: 0;
  
    &.animation-reveal {
      animation: reveal 1s cubic-bezier(0.77, 0, 0.175, 1);
    }
  
    @keyframes reveal {
      0% {
        opacity: 0;
      }
      100% {
        opacity: 1;
      }
    }
  }
  
  .div2.gallery .card {
    margin: 0 1rem;
    overflow: hidden;
    height: 270px;
    max-width: 304px;
    display: block;
    position: relative;
    background-position: 50%;
    background-size: cover;
    cursor: pointer;
    transition: width 0.16s ease-in-out, height 0.16s ease-in-out;
  }
  
  .div2.gallery .card.is-custom-selected {
    max-width: 304px;
    height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .div2.gallery .card-bg {
    height: 270px;
    width: 304px;
    background-position: center;
    background-size: cover;
  }
  
  .div2.gallery .flickity-enabled {
    position: relative;
  }
  
  .div2.gallery .flickity-enabled:focus {
    outline: none;
  }
  
  .div2.gallery .flickity-viewport {
    position: relative;
    height: 100%;
  }
  
  .div2.gallery .flickity-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    height: 100%;
  }
  .div3 {
    padding: 90px 19% 90px 10%;
  }
  .div3 h3 {
    font-family: "lato", Arial, Helvetica, Sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 26px;
    line-height: 32px;
  }
  .div3 p {
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 26px;
    max-width: 750px;
    margin-top: 30px;
  }
  #home .div4-2 {
    background-color: #FFFFFF;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 150px 0;
  }
  #home .div4-2 .contact ul li {
    float: none;
    margin-right: 0;
    margin-bottom: 100px;
    text-align: center;
  }
  #home .div4-2 .contact ul li:last-child {
    margin-bottom: 0;
  }
  #home .div4-2 .contact ul li a {
    font-family: "anisette-petite", Arial, Helvetica, Sans-serif;
    color: #000000;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #DE5566;
  }
  #home .div4-2 .contact ul li.first a {
    padding: 13px 121px;
  }
  #home .div4-2 .contact ul li.sec a {
    padding: 13px 87px;
  }
  #home .div4-2 .contact ul li.third a {
    padding: 13px 89px;
  }
}
@media screen and (max-width: 480px) {
  #header .logo {
    width: 116px;
    height: 116px;
    margin: 40px auto 0 auto;
  }
}
/****** MOBILE *******/