@font-face {
  font-family: 'arialnarrow';
  src: url("../fonts/arialbd.ttf");
}
@font-face {
  font-family: 'monotype';
  src: url("../fonts/MTCORSVA.TTF");
}
@font-face {
  font-family: 'arialln';
  src: url('../fonts/ARIALN.TTF');
}
@font-face {
  font-family: 'vegur';
  src: url('../fonts/Vegur-Light.otf');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'vegur';
  src: url('../fonts/Vegur-Regular.otf');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'vegur';
  src: url('../fonts/Vegur-Bold.otf');
  font-weight: 700;
  font-style: normal;
}
* {
  margin: 0;
  padding: 0;
}
body {
  font-family: helvetica;
}
header {
  width: 100%;
  background: #0055a5;
  min-height: 130px;
  height: auto;
  color: white;
  position: relative;
  z-index: 2;
}
h1 {
  font-family: 'monotype', script;
  font-weight: lighter;
  color: #043562;
}
h2 {
    font-family: myriad pro, 'vegur', arial, helvetica;
    font-weight: 400;
    color: #043562;
}
p {
  font-family: myriad pro, 'vegur', arial, helvetica;
  font-weight: lighter;
  line-height: 1.5em;
  padding: 10px 0;
}
.emphasis {
  font-family: 'monotype', script;
  font-weight: lighter;
  color: #043562;
  font-size: 1.1em;
}
.image-container img {
  width: 100%;
  height: auto;
}
#headerLogo {
  position: absolute;
  max-width: 339px;
  width: 24%;
  float: left;
  margin-right: 1%;

}
#headerLogo img {
  -webkit-box-shadow: 1px 2px 2px rgba(0,0,0,0.5);
          box-shadow: 1px 2px 2px rgba(0,0,0,0.5);
  min-width: 198px;
}
.header-content {
  float: right;
  width: 74%;
  margin-right: 1%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 130px;
}
.header-info {
  text-align: right;
  font-family: myriad pro, 'vegur', arial;
  font-weight: lighter;
  font-size: 28px;
}
.header-info p {
  padding-top: 0;
}
.header-info a {
  color: white;
  text-decoration: none;
}
.header-info img {
  width: 31px;
  height: 31px;
  margin-left: 5px;
}
nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 97%;
  margin-left: 3%;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
#navBar {
  -webkit-transition: opacity .4s ease-out;
  -o-transition: opacity .4s ease-out;
  transition: opacity .4s ease-out;
  opacity: 1;
}
#navBar .nav-item:first-of-type {
  margin-left: 10px;
}
.nav-item {
  padding: 3px 0;
}
.nav-item a {
  font-size: 14px;
  font-family: myriad pro,'vegur', arial;
  color: white;
  text-decoration: none;
  margin-right: 5px;
}
.nav-item a:hover {
  opacity: 0.8;
}
.mobile-bar {
  position: absolute;
  right: 0;
  bottom: 0;
  display: none;
}
#bars {
  height: 30px;
  width: 40px;
  margin-right: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}
#bars:hover {
  cursor: pointer;
}
.bar {
  height: 4px;
  background: white;
  width: 100%;
}
.hero {
  height: 500px;
  width: 100%;
  position: relative;
  z-index: 1;
}
.slide {
  height: 500px;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.slide p {
  font-size: 100px;
  color: #2b89e2;
  font-family: 'monotype', script;
  line-height: 0.8;
  -webkit-animation: fadeIn 1s .5s backwards;
          animation: fadeIn 1s .5s backwards;
  margin-top: 130px;
}
.slide span {
  font-size: 0.6em;
  color: #043562;
  font-family: myriad pro, 'vegur', arial, helvetica;
  font-weight: lighter;
}
#slide1 {
  background: url('../img/slide1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#slide2 {
  background: url('../img/slide2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#slide3 {
  background: url('../img/slide-3.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.service-box {
  text-align: center;
}
.service-box h2 {
  font-family: arial;
  color: #232462;
  margin-top: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;

}
.service-box h2 div {
  height: 1px;
  background: #232462;
  width: 100%;
  -webkit-box-flex: 1;
      -ms-flex: 1 1;
          flex: 1 1;
  margin: 0 5px;
}
.products-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.products-flex div {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 200px;
          flex: 1 1 200px;
}
.products-flex p {
  font-size: 1.5em;
  color: #232462;
  margin: 20px 0;
}
.products-link {
  text-decoration: none;
  transition: transform .4s;
}
.products-link:hover {
  transform: scale(1.025);
  z-index: 2;
}
/*PRODUCTS N SERVICES*/
.pns {
  padding: 20px;
  display: block;
  background: #0001;
  color: #043562;
  text-decoration: none;
  box-sizing: border-box;
  box-shadow: 0px 2px 2px #043562;
}
.pns:hover {
  background: #043562;
  color: white;
  box-shadow: 0px 1px 1px white;
  text-decoration: none;
}
/*SIDE FORM*/
.side-form p {
  color: white;
  background: #0055a5;
  padding: 35px 0;
  width: 100%;
  text-align: center;
  font-size: 25px;
}
.side-form input, .side-form textarea{
  padding: 10px 5px;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 15px auto;
  display: block;
  border-radius: 5px;
  border: 1px solid #0055a5;
  font-family: helvetica;
  color: black;
}
.side-form textarea {
  height: 125px;
}
.side-form input.submit {
  max-width:none;
  width: 100%;
  color: white;
  padding: 20px 0;
  background: #0055a5;
  font-size: 20px;
  font-weight: bolder;
  box-shadow: 0px 2px 2px rgba(0,0,0,0.7);
}
.side-form input.submit:hover {
  box-shadow: 0px 1px 1px rgba(0,0,0,0.7);
  cursor: pointer;
}
.side-form input.submit:active, .side-form input.submit:focus {
  box-shadow: 0px 0px 0px rgba(0,0,0,0.7);
  outline: 0;
}
/*PAGE*/
.clear {
  clear: both;
}
.container {
  max-width: 1250px;
  width: 100%;
  margin: 0 auto;
}
.spacing-wrapper {
  max-width: 1250px;
  width: 90%;
  margin: 0 auto;
}
.spacing-wrapper h1:first-child{
  padding-top: 40px;
  text-align: center;
}
.content-wrapper {
  width: 66%;
  float: left;
  padding: 25px 5px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.no-hero {
  margin-top: 75px;
}
.side-wrapper {
  width: 33%;
  float: left;
  padding: 25px 5px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.wrapper50 {
  width: 50%;
  float: left;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.wrapper33 {
  width: 33%;
  float: left;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.textcenter {
  text-align: center;

}
.mobile-on {
  display: none;
}
.mobile-off-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.mobile-br {
  display: none;
}
.featured-image {
  margin-top: 15px;
  padding-right: 15px;
  padding-left: 0;
  float: left;
  max-width: 200px;
}
.text-center {
  text-align: center;
}
.de-emphasis {
  opacity: 0.7;
}
.subheading {
  margin-top: 0;
  padding-top: 0;
}
.contact-us-form {
  max-width: 400px;
  width: 100%;
  padding: 0px 10px;
  box-sizing: border-box;
  margin: 0 auto;
}
/*Crowns and Bridges*/
.side-slide {
  max-width: 300px;
  margin: 20px auto 40px auto;
  width: 100%;
}
/*Partials*/
section {
  display: flex;
  padding: 20px 0px;
  align-items: center;
}
section h2 {
  padding: 0px 10px;
  flex: 1 2 20%;
  font-size: 18px;
}
section p {
  flex: 2 1 80%;
}
/*FOOTER*/
#ourServices,
.blue-section__heading {
  color: white;
  background: #002d56;
  text-align: center;
  padding: 10px 0;
}
#services,
.blue-section{
  background: #004585;
  color: white;
}
#services ul,
.blue-section ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  padding: 25px 0;
  list-style-image: url("../img/lil_tooth.png");
}
#services li,
.blue-section li {
  padding: 10px 0;
  line-height: 1.2em;
  font-family: myriad pro,'vegur', arial, helvetica;
  font-size: 20px;
}

.greybg {
  background: #c7c9d0;
}
.digital-file-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 90%;
  padding: 40px 0;
  background: #c7c9d0;
}
.footer-contact-info {
  color: #002d56;
  font-family: myriad pro, 'vegur', arial, helvetica;
}
.footer-contact-info td:first-of-type {
  padding-right: 46px;
}

.footer-contact-info td img {
  vertical-align: baseline;
}
.footer-contact-info p {
  font-weight: bold;
  font-size: 20px;
}
.logo-box {
  padding: 70px 0;
}
.logo-box-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.logo-box-flex .image-container {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 200px;
          flex: 0 0 200px;
  margin: 10px 4px;
  height: auto;
}
.bottom-footer {
  background: #004585;
  color: white;
  padding: 25px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.bottom-footer-text {
  text-align: center;
}
.bottom-footer a {
  color: white;
  text-decoration: none;
}
.bottom-footer .image-container {
  width: 300px;
}

.turn-around__header{
  color: white;
  background: #002d56;
  text-align: center;
  padding: 10px 0;
}

.turn-around__section {
  background: #004585;
}

.turn-around__sections{
  display: grid;
  padding: 0.5rem;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 2rem;
  grid-row-gap: 0.5rem;
}

.turn-around__item{
  color: white;
  margin: 0.5rem;
}

.turn-around__item ul {
  justify-content: flex-start;
}

.turn-around__section p {
  line-height: 0.2em;
}

.turn-around__item p:first-of-type {
  font-weight: bolder;
  margin-bottom: -2rem;
  font-size: 1.2rem;
  margin-left: -1rem;
}

/******************************************************************
MEDIA QUERIES
 ******************************************************************/
@media only screen and (max-width: 1050px) {
  .header-info p {
    font-size: 22px;
  }
  .nav-item a {
    font-size: 12px;
  }
}
@media only screen and (max-width: 850px) {
  .content-wrapper, .side-wrapper {
    float: none;
    width: 100%;
    margin: 0 auto;
  }
  nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .hero, .slide {
    height: 350px;
  }
  #services ul div,
  .blue-section ul div{
  }
  .header-info p {
    margin-left: 85px;
    width: initial;
    text-align: center;
  }
  #headerLogo img {
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  .slide p{
    font-size: 60px;
  }
  .digital-file-box {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .footer-contact-info {
    margin-top: 25px;
    margin-left: 10px;
    margin-right: 10px;
  }
  .fci1 {
    -webkit-box-ordinal-group: -1;
        -ms-flex-order: -2;
            order: -2;
    max-width: 250px;
  }
  .fci2 {
    -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
            order: -1;
    max-width: 250px;
  }
  .footer-contact-info p {
    text-align: center;
    font-size: 30px;
  }
  .logo-box-flex .image-container {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 110px;
            flex: 0 0 110px;
  }
  .logo-box {
    padding: 35px 0;
  }
  .products-flex {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .products-flex div {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 300px;
            flex: 0 1 300px;
  }
  nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    position: absolute;
    left: 0;
    background: grey;
    text-align: center;
    top: 130px;
    margin: 0;
    width: 100%;
    padding: 15px 0;
  }
  #navBar {
    opacity: 0;
    transform: translateX(-2000px);
    transition: all .5s ease-in-out;
  }
  .nav-item a {
    width: 100%;
    padding: 15px 0;
    display: block;
    margin-right: 0;
    -webkit-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
  }
  .nav-item a:hover {
    background: rgba(255,255,255,0.5);
    color: #e8f4ff;
  }
  .mobile-off {
    display: none;
  }
  .mobile-on {
    display: block;
  }
  .header-info p img {
    display: none;
  }
  .mobile-br {
    display: block;
  }
  .mobile-bar {
    display: block;
  }
  section {
    flex-direction: column;
  }
  .turn-around__sections{
    grid-template-columns: 1fr;
  }
}
@media only screen and (max-width: 590px) {
  #headerAddress {
    display: none;
  }
  .small-off {
    display: none;
  }
  .logo-box {
    padding: 20px 0;
  }
}

@media only screen and (max-width: 475px) {
  .featured-image {
    float: none;
    display: block;
    margin: 0 auto;
    width: 100%;
    padding: 0 10px 0 10px;
  }
}

@media only screen and (max-width: 375px) {
  .header-info p{
    font-size: 14px;
    margin-left: 120px;
  }
}
@-webkit-keyframes start {
  0%{

    -webkit-transform: translateY(-200px);

            transform: translateY(-200px);
  }
  100% {

    -webkit-transform: translateY(0px);

            transform: translateY(0px);
  }
}
@keyframes start {
  0%{

    -webkit-transform: translateY(-200px);

            transform: translateY(-200px);
  }
  100% {

    -webkit-transform: translateY(0px);

            transform: translateY(0px);
  }
}
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes smallSlide {
  0% {
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
  }
  100% {
    -webkit-transform: translateX(10px);
            transform: translateX(10px);
  }
}
@keyframes smallSlide {
  0% {
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
  }
  100% {
    -webkit-transform: translateX(10px);
            transform: translateX(10px);
  }
}
/*Animations*/
@-webkit-keyframes topX {
	0%{
		-webkit-transform: rotate(0deg);
		        transform: rotate(0deg);
	}
	100%{
		-webkit-transform: rotate(45deg) scale(0.8) translate(10px, 10px);
		        transform: rotate(45deg) scale(0.8) translate(10px, 10px);
	}
}
@keyframes topX {
	0%{
		-webkit-transform: rotate(0deg);
		        transform: rotate(0deg);
	}
	100%{
		-webkit-transform: rotate(45deg) scale(0.8) translate(10px, 10px);
		        transform: rotate(45deg) scale(0.8) translate(10px, 10px);
	}
}
@-webkit-keyframes bottomX {
	0% {
		-webkit-transform: rotate(0deg);
		        transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(-45deg) scale(0.8) translate(8px, -8px);
		        transform: rotate(-45deg) scale(0.8) translate(8px, -8px);
	}
}
@keyframes bottomX {
	0% {
		-webkit-transform: rotate(0deg);
		        transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(-45deg) scale(0.8) translate(8px, -8px);
		        transform: rotate(-45deg) scale(0.8) translate(8px, -8px);
	}
}
@-webkit-keyframes midX {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}
@keyframes midX {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}
@-webkit-keyframes topRX {
	0% {
		-webkit-transform: rotate(45deg) scale(0.8) translate(10px, 10px);
		        transform: rotate(45deg) scale(0.8) translate(10px, 10px);
	}
	100% {
		-webkit-transform: rotate(0deg);
		        transform: rotate(0deg);
	}
}
@keyframes topRX {
	0% {
		-webkit-transform: rotate(45deg) scale(0.8) translate(10px, 10px);
		        transform: rotate(45deg) scale(0.8) translate(10px, 10px);
	}
	100% {
		-webkit-transform: rotate(0deg);
		        transform: rotate(0deg);
	}
}
@-webkit-keyframes midRX {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
@keyframes midRX {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
@-webkit-keyframes bottomRX {
	0% {
		-webkit-transform: rotate(-45deg) scale(0.8) translate(8px, -8px);
		        transform: rotate(-45deg) scale(0.8) translate(8px, -8px);
	}
	100% {
		-webkit-transform: rotate(0deg);
		        transform: rotate(0deg);
	}
}
@keyframes bottomRX {
	0% {
		-webkit-transform: rotate(-45deg) scale(0.8) translate(8px, -8px);
		        transform: rotate(-45deg) scale(0.8) translate(8px, -8px);
	}
	100% {
		-webkit-transform: rotate(0deg);
		        transform: rotate(0deg);
	}
}
