/*
Theme Name: Blue Pencil
Theme URI: http://whitesignet.com/
Author: White Signet
Author URI: http://whitesignet.com/
Description: WordPress Theme for Blue Pencil Advertising website.
Version: 1.0
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

html {
  box-sizing: border-box;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}

.Themed {
  font-family: "Stolzl", sans-serif;
}

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

@font-face {
  font-family: "Bebas Neue";
  font-weight: 400;
  src: url('fonts/BebasNeue.eot');
  src: url('fonts/BebasNeue.eot?#iefix') format('embedded-opentype'),
       url('fonts/BebasNeue.woff') format('woff'),
       url('fonts/BebasNeue.ttf')  format('truetype'),
       url('fonts/BebasNeue.svg#BebasNeueRegular') format('svg');
}
@font-face {
  font-family: "Stolzl";
  font-weight: 200;
  src: url('fonts/Stolzl-Light.eot');
  src: url('fonts/Stolzl-Light.eot?#iefix') format('embedded-opentype'),
       url('fonts/Stolzl-Light.woff') format('woff'),
       url('fonts/Stolzl-Light.ttf')  format('truetype'),
       url('fonts/Stolzl-Light.svg#Stolzl-Light') format('svg');
}

@font-face {
  font-family: "Stolzl";
  font-weight: 600;
  src: url('fonts/Stolzl-Bold.eot');
  src: url('fonts/Stolzl-Bold.eot?#iefix') format('embedded-opentype'),
       url('fonts/Stolzl-Bold.woff') format('woff'),
       url('fonts/Stolzl-Bold.ttf')  format('truetype'),
       url('fonts/Stolzl-Bold.svg#Stolzl-Bold') format('svg');
}

@font-face {
  font-family: "Haboro";
  font-style: italic;
  font-weight: 300;
  src: url('fonts/Haboro-MediumItalic.eot');
  src: url('fonts/Haboro-MediumItalic.eot?#iefix') format('embedded-opentype'),
       url('fonts/Haboro-MediumItalic.woff') format('woff'),
       url('fonts/Haboro-MediumItalic.ttf')  format('truetype'),
       url('fonts/Haboro-MediumItalic.svg#Haboro-ConMedIt') format('svg');
}

@font-face {
  font-family: "Haboro";
  font-weight: 600;
  src: url('fonts/Haboro-Black.eot');
  src: url('fonts/Haboro-Black.eot?#iefix') format('embedded-opentype'),
       url('fonts/Haboro-Black.woff') format('woff'),
       url('fonts/Haboro-Black.ttf')  format('truetype'),
       url('fonts/Haboro-Black.svg#Haboro-ConBla') format('svg');
}

@font-face {
  font-family: "Open Sans";
  font-weight: 400;
  src: url('fonts/OpenSans-Regular.eot');
  src: url('fonts/OpenSans-Regular.eot?#iefix') format('embedded-opentype'),
       url('fonts/OpenSans-Regular.woff') format('woff'),
       url('fonts/OpenSans-Regular.ttf')  format('truetype'),
       url('fonts/OpenSans-Regular.svg#OpenSans-Regular') format('svg');
}

@font-face {
  font-family: "Open Sans";
  font-weight: 600;
  src: url('fonts/OpenSans-Bold.eot');
  src: url('fonts/OpenSans-Bold.eot?#iefix') format('embedded-opentype'),
       url('fonts/OpenSans-Bold.woff') format('woff'),
       url('fonts/OpenSans-Bold.ttf')  format('truetype'),
       url('fonts/OpenSans-Bold.svg#OpenSans-Bold') format('svg');
}

.Main {
  height: 100%;
  left: 0;
  min-height: 568px;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
}

.Main.Main--Map {
  min-height: 100px;
}

.Spacer { height: 100vh; min-height: 650px; }
.MenuSpacer { height: 100px; }

.Secondary {
  overflow: hidden;
  position: relative;
}

.Container {
  align-items: center;
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
  transition: all 0.4s ease;
}

.ContainerMap {
  right: auto;
  width: 65%;
}

.ContainerMapForm {
  left: auto;
  width: 35%;
}

.Container--image {
  background: #0C129C;
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #FFFFFF;
}

.Container--half { height: 50%; }

.Container--clear { color: #FFFFFF; }
.Container--white { background: #FFFFFF; }
.Container--blue { background: #0C129C; }
.Container--pink { background: #D7167C; }

.Container-text {
  bottom: -20px;
  color: #FFFFFF;
  font-size: 265px;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  left: -20px;
  line-height: 0.75;
  opacity: 0.1;
  pointer-events: none;
  position: absolute;
  right: -20px;
  top: -20px;
}

.Container-content {
  position: relative;
  max-width: 96%;
}

.Container-content--image {
  max-width: 75%;
  width: 400px;
}
.Container-content--special {
  text-align: center;
  width: 610px;
}
.Container-content--small { width: 400px; }
.Container-content--medium { width: 500px; }
.Container-content--large { width: 600px; }
.Container-content--xlarge { width: 1600px; }
.Container-content--center { text-align: center; }

.Columns {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 1600px;
}
.Columns--padded {
  padding: 80px 0;
}

.Column {
  flex-grow: 1;
  text-align: center;
  vertical-align: middle;
}

.Column--1of2 { width: 50%; }
.Column--1of3 { width: 30%; }
.Column--2of3 { width: 60%; }
.Column--padded { padding: 0 80px; }
.Column--left { text-align: left; }
.Column--right { text-align: right; }
.Column--top { vertical-align: top; }

.Logo {
  left: 25px;
  position: absolute;
  top: 25px;
  width: 75px;
  z-index: 99;
}

.Menu {
  font-size: 40px;
  right: 25px;
  position: absolute;
  top: 25px;
  z-index: 99;
}
.Container--menu {
  z-index: 999;
}

.Menu--white { color: #FFFFFF; }
.Menu--blue { color: #0C129C; }

.Navigation {
  list-style: none;
  margin: 0;
  padding: 0;
}

.Navigation .menu-item a {
  color: #FFFFFF;
  font-family: "Bebas Neue", sans-serif;
  font-size: 80px;
  font-weight: 400;
  line-height: 0.9;
  margin: 0;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.4s ease;
}
.Navigation .menu-item a:hover {
  color: #A1BCD5;
}

.Image {
  height: auto;
  max-width: 90%;
  width: 90%;
}

.Image--medium {
  width: 200px;
}

.SpecialLogo {
  max-width: 500px;
}

.Image-subtitle {
  font-family: "Stolzl", "Arial", sans-serif;
  font-size: 14px;
  letter-spacing: 10px;
  margin: 5px 0;
  text-transform: uppercase;
}

.Display {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  margin: 50px auto;
  max-width: 1200px;
  text-align: center;
  width: 100%;
}

.Display-Image {
  flex-grow: 1;
  margin: 50px -4px 50px 0;
  position: relative;
  width: 100%;
  text-align: center;
  transition: all 1.6s ease;
}
.Display-Image img {
  max-width: 100%;
  transition: all 1.6s ease;
}

.Display-Image--Full { display: block; margin: 0 auto; }
.Display-Image--1of4 { width: 25%; }
.Display-Image--1of3 { width: 30%; }
.Display-Image--1of2 { width: 50%; }

.Display-Image--Padded { padding: 25px; }
.Display-Image--OffsetLeft { margin-left: 100%; }
.Display-Image--OffsetRight { margin-left: -200%; }
.Display-Image--Shake {
  animation-name: shake;
  animation-duration: 1s;
  animation-iteration-count: 1
}
.Display-Image--RotateLeft {
  transform-origin: left;
  transform: rotate3d(0,1,0,90deg);
}
.Display-Image--RotateRight {
  transform-origin: right;
  transform: rotate3d(0,1,0,90deg);
}
.Display-Image--ScreenOff {
  transform: scale(0.000,0.0001) translate3d(0,0,0);
}
.Display-Image--ScreenOn {
  animation-name: turn-on;
  animation-duration: 0.8s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

.Pencil {
  background-image: url('images/pencil.png');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  left: -280px;
  margin: 0 80px;
  top: 0;
  width: 120px;
  height: 2000px;
}

.Pencils {
  background-image: url('images/pencils.png');
  background-position: top left;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  left: 60%;
  top: 190px;
  width: 550px;
  height: 550px;
}

.Count {
  color: #FFFFFF;
  font-family: "Haboro", serif;
  font-size: 160px;
  font-weight: 600;
  left: -300px;
  line-height: 0.9;
  opacity: 0.6;
  position: absolute;
  width: 270px;
  text-align: right;
}

h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 80px;
  font-weight: 400;
  line-height: 0.9;
  margin: 20px 0;
  text-transform: uppercase;
}

.Title-White { color: #FFFFFF; }
.Title-DarkBlue { color: #0C129C; }
.Title-LightBlue { color: #A1BCD5; }

h2 {
  font-family: "Stolzl", "Arial", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  margin: 5px 0;
  text-transform: uppercase;
}

.Subtitle--lower {
  font-size: 20px;
  line-height: 1.6;
  text-transform: none;
}

h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  margin: 0;
}

p {
  font-family: "Stolzl", "Arial", sans-serif;
  font-size: 20px;
  margin: 15px 0;
}

.Lead {
  font-family: "Haboro", serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  margin: 20px 0;
  text-decoration: underline;
}

.Pagination {
  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
}

.Pagination--white { color: #FFFFFF; }
.Pagination--gray { color: #8A8B89; }

.Pagination-link { transition: all 0.4s ease; }
.Pagination-link:hover { color: #A1BCD5; }

.Pagination--gray .Pagination-link:hover { color: #000000; }

.Transition-icon {
  color: #A1BCD5;
  display: block;
  left: 0;
  padding: 10px 0;
  position: absolute;
  right: 0;
  text-align: center;
}

.Transition-icon--bottom { bottom: 2%; }
.Transition-icon--top { top: 0; }

.Transition--hide-bottom { top: 100%; bottom: -100%; }
.Transition--hide-right { left: 100%; right: -100%; }
.Transition--hide-top { bottom: 100%; top: -100%; }
.Transition--hide-left { right: 100%; left: -100%; }

.Map {
  bottom: 0;
  height: 764px;
  min-height: 100%;
  min-width: 100%;
  position: absolute;
  right: 0;
  width: 1440px;
}

.Map-link {
  opacity: 0;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

input,
textarea {
  background: #0C129C;
  border: 1px solid #8E92B6;
  border-radius: 1px;
  color: #FFFFFF;
  display: block;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  margin: 20px 0;
  max-width: 100%;
  padding: 10px 20px;
  width: 600px;
}

input:focus {
  outline-color: #485B96;
}

textarea::placeholder, input::placeholder { color: #485B96; }
textarea::-webkit-input-placeholder, input::-webkit-input-placeholder { color: #485B96; }
textarea::-moz-placeholder, input::-moz-placeholder { color: #485B96; }
textarea:-ms-input-placeholder, input:-ms-input-placeholder { color: #485B96; }
textarea:-moz-placeholder, input:-moz-placeholder { color: #485B96; }

textarea {
  max-width: 100%;
  min-width: 100%;
}

input[type="button"] {
  -webkit-appearance: none;
  background: #0C129C;
  border: 1px solid #FFFFFF;
  border-radius: 1px;
  color: #FFFFFF;
  cursor: pointer;
  display: block;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 20px 0;
  padding: 10px 20px;
  text-transform: uppercase;
  transition: all 0.6s ease;
  width: 100% !important;
}

input[type="button"]:hover {
  background: #FFFFFF;
  color: #0C129C;
}

.nf-form-fields-required {
  display: none;
}

.Gallery {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 20px 0 0;
  text-align: center;
  width: 100%;
  max-width: 1600px;
}

.Gallery-item {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: inline-block;
  flex-grow: 1;
  height: 300px;
  padding: 0;
  margin: 0 -4px 0 0;
  position: relative;
  vertical-align: middle;
}

.Gallery-item-hover {
  background: rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
  align-items: center;
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  overflow: hidden;
  opacity: 0;
  padding: 20px;
  position: absolute;
  right: 0;
  top: 0;
  transition: all 0.6s ease;
}

.Gallery-item-hover * { max-width: 380px; }

.Gallery-item:hover .Gallery-item-hover { opacity: 1; }

.Gallery-item--small { width: 30%; }
.Gallery-item--medium { width: 50%; }
.Gallery-item--large { width: 70%; }

.Gallery-item-logo {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 70px;
  position: absolute;
  max-width: 80%;
  width: 250px;
}

.Gallery-item-logo--TopRight { background-position: center right; top: 25px; right: 25px; }
.Gallery-item-logo--TopLeft { background-position: center left; top: 25px; left: 25px; }
.Gallery-item-logo--BottomRight { background-position: center right; bottom: 25px; right: 25px; }
.Gallery-item-logo--BottomLeft { background-position: center left; bottom: 25px; left: 25px; }

@media (max-width: 1000px) {
  .Menu { font-size: 30px }
  .Navigation { text-align: center; }
  .Navigation-link { font-size: 64px; }

  h1 { font-size: 72px; }
  .Title--small { font-size: 64px; }
  .Navigation .menu-item a { font-size: 72px; }
  h2 { font-size: 24px; margin: 5px auto; }
  h3 { font-size: 24px; }
  .Lead { font-size: 22px; margin: 20px auto; }

  .Container-text { font-size: 140px; }
  .Container-content--offset { padding-left: 50px; }
  .Pencil {
    left: -35px;
    margin: 0 20px;
    width: 60px;
  }
  .Pencils {
    background-image: url('images/pencil.png');
    background-position: top center;
    height: 2000px;
    left: -30px;
    margin: 0 20px;
    top: 20px;
    width: 40px;
  }

  .Container-content--counted { padding-left: 100px; }
  .Count {
    font-size: 70px;
    left: -50px;
    margin: 0 20px;
    width: 120px;
  }

  .Columns--padded {
    padding: 20px 0;
  }
  .Column { width: 100%; }
  .Column--left,
  .Column--right { text-align: center; }
  .Column--padded { padding: 0 40px; }

  .Gallery-item { height: 300px; width: 100%; }
  .Gallery-item-logo {
    background-position: center;
    bottom: 25px;
    max-width: 100%;
    left: 25px;
    right: 25px;
    top: auto;
    width: auto;
  }
}

@media (max-width: 450px) {
  h1 { font-size: 50px; margin: 5px auto; }
  h2 { font-size: 15px; margin: 5px auto; }
  h3 { font-size: 15px; margin: 5px auto; }
  .Lead { font-size: 14px; margin: 5px auto; }

  .Container {
    padding-top: 70px;
  }
  .MainMap {
    overflow: visible;
  }
  .ContainerMap {
    height: 100%;
    top: 100%;
    width: 100%;
  }
  .ContainerMapForm {
    height: 100%;
    padding: 0 20px;
    top: 0;
    width: 100%;
  }

}


@media (min-width: 1600px) {
  .Gallery-item--small { width: 20%; }
  .Gallery-item--medium { width: 35%; }
  .Gallery-item--large { width: 45%; }
  .Gallery-item-logo {
    background-position: center;
    bottom: 25px;
    max-width: 100%;
    left: 25px;
    right: 25px;
    top: auto;
    width: auto;
  }
}

@keyframes shake {
    from {
        transform: scale3d(1, 1, 1)
    }
    10%,
    20% {
        transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg)
    }
    30%,
    50%,
    70%,
    90% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)
    }
    40%,
    60%,
    80% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)
    }
    to {
        transform: scale3d(1, 1, 1)
    }
}
@keyframes turn-on {
  0%{
    animation-timing-function:$ease-in-quint;
    transform:scale(0.000,0.0001) translate3d(0,0,0);
    -webkit-filter:brightness(50);
    filter:brightness(50);
  }
  40%{
    transform:scale(0.98,0.001) translate3d(0,0,0);
    -webkit-filter:brightness(10);
    filter:brightness(10);
  }
  100%{
    transform:scale(1,1) translate3d(0,0,0);
    -webkit-filter:brightness(1);
    filter:brightness(1);
    opacity:1;
  }
}
