/*
This CSS resource incorporates links to font software which is the valuable copyrighted property of Monotype Imaging and/or its suppliers. You may not attempt to copy, install, redistribute, convert, modify or reverse engineer this font software. Please contact Monotype Imaging with any questions regarding Web Fonts:  http://www.fonts.com
*/

body {
  font-family: Helvetica, "sans-serif";
  color: #3d609a;
  padding-top: 70px;
}
@font-face{
    font-family:"ITC Franklin Gothic LT W01 Bk";
    src:url("../fonts/00faf685-e292-40f6-8318-fce19d0576b1.eot?#iefix");
    src:url("../fonts/00faf685-e292-40f6-8318-fce19d0576b1.eot?#iefix") format("eot"),url("../fonts/35d6841f-a247-4989-95f3-b023bab7c876.woff2") format("woff2"),url("../fonts/e0c48fbf-6e3e-4d4a-8443-7905cf3d47f4.woff") format("woff"),url("../fonts/52a8cfe0-c0a3-4424-80ae-baf160636666.ttf") format("truetype"),url("../fonts/df864b94-3d8a-4e16-9ec8-ed159a688ca5.svg#df864b94-3d8a-4e16-9ec8-ed159a688ca5") format("svg");
}
@font-face{
    font-family:"ITC Franklin Gothic LT W01 Hv";
    src:url("../fonts/aac2697b-6343-4781-a190-041d179ef71d.eot?#iefix");
    src:url("../fonts/aac2697b-6343-4781-a190-041d179ef71d.eot?#iefix") format("eot"),url("../fonts/dd6ca8ac-ac45-4491-ba7f-44318004a032.woff2") format("woff2"),url("../fonts/8ad9aabf-0264-40a8-807d-43b7ff3ceb3e.woff") format("woff"),url("../fonts/1039b059-b995-46d5-9f80-e462084e557f.ttf") format("truetype"),url("../fonts/509aebf1-77a3-4e8d-bebd-59785a4ef2d3.svg#509aebf1-77a3-4e8d-bebd-59785a4ef2d3") format("svg");
}
@font-face{
    font-family:"ITC Franklin Gothic LT W01BkCn";
    src:url("../fonts/f1c68698-0462-43d2-94f5-eab3273cdf99.eot?#iefix");
    src:url("../fonts/f1c68698-0462-43d2-94f5-eab3273cdf99.eot?#iefix") format("eot"),url("../fonts/372b62d1-1266-4226-a5cc-22201cb1f770.woff2") format("woff2"),url("../fonts/ec9fc863-ec1c-485e-8238-d37e5dc9b8eb.woff") format("woff"),url("../fonts/0e810e56-b457-4a4e-aa8a-341f6d3c9375.ttf") format("truetype"),url("../fonts/73f3f924-1ff8-439d-8f87-e6057ea81820.svg#73f3f924-1ff8-439d-8f87-e6057ea81820") format("svg");
}
@font-face{
    font-family:"ITC Franklin Gothic LT W01DmCm";
    src:url("../fonts/15a06fc9-63fc-497b-bc6f-d01d06a83aea.eot?#iefix");
    src:url("../fonts/15a06fc9-63fc-497b-bc6f-d01d06a83aea.eot?#iefix") format("eot"),url("../fonts/7089f9c8-406a-4162-b5c7-3cffa5d6d3d8.woff2") format("woff2"),url("../fonts/42d7564d-dbd2-4098-b346-18b43c615bb2.woff") format("woff"),url("../fonts/52171dea-72ee-43a9-b4c9-5b10196032eb.ttf") format("truetype"),url("../fonts/012dd83b-291a-4fc6-875c-05c63d0f9d1f.svg#012dd83b-291a-4fc6-875c-05c63d0f9d1f") format("svg");
}

.container-fluid {
  padding: 0;
}
#header, .navbar-default {
  background-color: #3d609a;
  color: white;
  padding-bottom: 20px;
  border: none;
}
.nav {
  font-size: 24px;
  margin-left: 50px;
  margin-top: 23px;
}
.navbar-default .navbar-nav > li > a {
  padding-left: 0;
  padding-right: 0;
  margin-left: 40px;
}
#pageName {
  font-size: 24px;
  text-transform: uppercase;
  margin-top: 16px;
}
.jumbotron a {
  color: white;
}
.navbar-default .navbar-nav > li > a:link,
.navbar-default .navbar-nav > li > a:visited,
.jumbotron a:link, 
.jumbotron a:visited,
#footer a:link,
#footer a:visited {
  color: white;
  padding-bottom: 5px;
}
.navbar-default .navbar-nav > li > a:hover, 
.navbar-default .navbar-nav > li > a:active,
.jumbotron a:hover, 
.jumbotron a:active,
#footer a:hover,
#footer a:active {
  color: white;
  border-bottom: solid 1px #fff;
  text-decoration: none;
}
.container-fluid .jumbotron,
.container .jumbotron {
  padding: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 10;
}
.more {
  z-index: 100;
  position: absolute;
  bottom: 30px;
  right: 190px;
  font-size: 30px;
}
.more a {
    text-shadow: 1px 1px 2px black;
}
.modal-dialog {
  width: 570px;
  background-color: #3d609a;
  padding: 30px;
}
.modal.fade .modal-dialog {
    transform: translate(0px, 50%);
}
.modal-content {
  color: white;
  font-size: 30px;
  background-color: #3d609a;
  box-shadow: none;
  text-shadow: none;
  border: none;
}
.modal-footer {
  border-top: none;
  padding: 0;
  margin: 0;
}
.close {
  color: white;
  font-size: 30px;
  font-weight: normal;
  text-shadow: none;
}
#message, #submessage {
  background-color: white;
  font-family: "ITC Franklin Gothic LT W01BkCn", Helvetica, sans-serif;
  font-size: 40px;
  line-height: 125%;
  padding-top: 2.5%;
  padding-bottom: 5%;
}
#message p {
  margin: 0;
  margin-bottom: 1em;
}
#aboutPage #heading h1 {
  font-family: "ITC Franklin Gothic LT W01BkCn", Helvetica, sans-serif;
  font-size: 487.5%;
  margin-bottom: 5%;
  padding-top: 35px;
}
#submessage {
  font-size: 34px;
  line-height: 44px;
}
#advertisingPage #message {
  padding-bottom: 0;
}
#websitesPage #message {
  padding-bottom: 32px; /* was 20px */
}
#websitesPage #message p {
  margin-bottom: 0 !important; /* was 1em */
}
#advertisingPage #main {
  padding-bottom: 50px;
}
#aboutPage .item,
#clientsPage .item {
  margin-bottom: 5%;
}
#aboutPage .item p {
  font-family:"ITC Franklin Gothic LT W01BkCn";
  font-size: 487.5%;
  line-height: 125%;
  color: #3d609a;
}
#aboutPage .item span {
  font-size: 24px;
  font-family: Helvetica, "sans-serif";
}
#footer {
  background-color: #3d609a;
  font-size: 24px;
  line-height: 44px;
  color: white;
  padding-top: 35px;
  padding-bottom: 35px;
}
#footer p {
  padding-left: 20px;
  padding-right: 20px;
}
#phone {
  margin-right: 25px;
}
.modal.fade .modal-dialog {
     -webkit-transform: scale(0.1);
     -moz-transform: scale(0.1);
     -ms-transform: scale(0.1);
     transform: scale(0.1);
     top: 100px;
     opacity: 0;
     -webkit-transition: all 0.3s;
     -moz-transition: all 0.3s;
     transition: all 0.3s;
}

.modal.fade.in .modal-dialog {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transform: translate3d(0, 100px, 0);
    transform: translate3d(0, 100px, 0);
    opacity: 1;
}
#aboutPage .modal.fade .modal-dialog {
     top: 50px;
}
#aboutPage .modal.fade.in .modal-dialog {
    -webkit-transform: translate3d(0, 50px, 0);
    transform: translate3d(0, 50px, 0);
}

/* Carousel Fading slide */
#carousel1 .item img {
	border: none;
}
.carousel-fade .carousel-inner { background: #fff; }
.carousel-fade .carousel-control { z-index: 2; }  
.carousel-fade .item {
  opacity: 0;
  -webkit-transition-property: opacity;
  -moz-transition-property: opacity;
  -o-transition-property: opacity;
  transition-property: opacity;
  }

  .carousel-fade .next.left,
  .carousel-fade .prev.right,
  .carousel-fade .item.active { opacity: 1; }

  .carousel-fade .active.left,
  .carousel-fade .active.right {
    left: 0;
    opacity: 0;
    z-index: 1;
    }


/* Safari Fix */
@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
}




/* Carousel Control custom */
.carousel-control .control-icon {
  font-size: 48px;
  height: 30px;
  margin-top: -15px;
  width: 30px;
  display: inline-block;
  position: absolute;
  top: 50%;
  z-index: 5;
  }
  .carousel-control .prev { margin-left:  -15px;  left: 50%; } /* Prev */
  .carousel-control .next { margin-right: -15px; right: 50%; } /* Next */


/* Removing BS background */
.carousel .control-box { opacity: 0; }
a.carousel-control.left  { left: 0; background: none; border: 0;}
a.carousel-control.right { right: 0; background: none; border: 0;}


/* Animation */
.control-box, a.carousel-control, .carousel-indicators li {
  -webkit-transition: all 250ms ease;
  -moz-transition: all 250ms ease;
  -ms-transition: all 250ms ease;
  -o-transition: all 250ms ease;
  transition: all 250ms ease;   
  /* hardware acceleration causes Bootstrap carousel controlbox margin error in webkit */
  /* Assigning animation to indicator li will make slides flicker */
  } 


/* Hover animation */
.carousel:hover .control-box { opacity: 1; }
.carousel:hover a.carousel-control.left { left: 15px; }
.carousel:hover a.carousel-control.right { right: 15px; }  

.carousel-inner {
  margin-bottom: 80px;
}

/* Carouse Indicator */
.carousel-indicators li {
  background: #666;
  margin: 0 3px;
  width: 12px;
  height: 12px;
  }

.carousel-indicators li.active {
  background: #fff;
  margin: 0 3px;
  }
.carousel-indicators {
  bottom: -50px !important;
}
.carousel-indicators li,
.carousel-indicators li:active {
  list-style-type: circle !important;
  border: solid 1px #000;  
}

/* Digital page */
#digitalFB, #digitalTub {
  padding-left: 110px;
  margin-bottom: 85px;
}
#digitalPhone, #digitalPie {
  padding-left: 100px;
}
#leaderboard {
  min-width: 100%;
}
/* iPad portrait */
@media screen and (orientation:portrait) and (min-width: 768px),
screen and (max-width:768px) and (orientation:portrait) {
  .nav {
    margin-left: 0;
  }
  .navbar-default .navbar-nav > li > a {
    margin-left: 25px;
  }
  .more {
    bottom: 10px;
    right: 50px;
  }
}

/* iPhone5 portrait and base */
@media only screen and (max-width: 480px), only screen and (min-width: 640px) and (max-width: 1136px) and (-webkit-min-device-pixel-ratio: 2) and (orientation : portrait) {
  .navbar-collapse {
    border-top: none
  }
  .jumbotron p {
    font-size: 12px;
    margin-bottom: 0;
  }
  .more {
    bottom: 10px;
    right: 10px;
  }
  .modal-dialog {
    width: 300px;
  }
  .modal.fade.in .modal-dialog {
    -webkit-transform: translate3d(0, 50px, 0);
    transform: translate3d(0, 50px, 0)
  }
  .modal-content,
  .modal-content h1 {
    font-size: 18px;
  }
	#message {
		font-size: 150%;
		line-height: normal;
	}
  #aboutPage #heading h1 {
    font-size: 387%;
    padding-top: 0;
    margin-bottom: 10%;
  }
  #aboutPage .item p {
    font-size: 387%;
    line-height: 115%;
  }
  
}
