body,
html {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'IBM Plex Sans', 'Merriweather', 'Helvetica Neue', Arial, sans-serif;
  
}

hr {
  max-width: 50px;
  border-width: 3px;
  border-color: #233d78;
}

hr.light {
  border-color: #fff;
}

a {
  color: #233d78;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

a:hover {
  color: #233d78;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.bg-white {
  background-colour: white;
}

.bg-primary {
  background-color: #223c75 !important;
}

.bg-dark {
  background-color: #212529 !important;
}

.text-faded {
  color: rgba(255, 255, 255, 0.7);
}

section {
  padding: 6rem 0;
}

.section-heading {
  margin-top: 30px;
  margin-bottom: 20px;
}

.section-footer {
	padding: 2rem 0;
}

::-moz-selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}

::selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}

img::selection {
  color: #fff;
  background: transparent;
}

img::-moz-selection {
  color: #fff;
  background: transparent;
}

#mainNav {
  border-bottom: 1px solid rgba(33, 37, 41, 0.1);
  background-color: #fff;
  font-family: 'Montserrat', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

#mainNav .navbar-brand {
  font-weight: 700;
  text-transform: uppercase;
  color: #233d78;
  font-family: 'Montserrat', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
 
}
#mainNav .navbar-brand img {
	height: 30px;
}

#mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
  color: #233d78;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #233d78;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
  color: #233d78;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active {
  color: #233d78 !important;
  background-color: transparent;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active:hover {
  background-color: transparent;
}

@media (min-width: 500px) {
  #mainNav {
    border-color: transparent;
    background-color: transparent;
  }
  #mainNav .navbar-brand {
    color: #212529;
  }
  #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
    color: #233d78;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link {
    padding: 0.5rem 1rem;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
    color: #212529;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: #233d78;
  }
  #mainNav.navbar-shrink {
    border-bottom: 1px solid rgba(33, 37, 41, 0.1);
    background-color: #fff;
  }
  #mainNav.navbar-shrink .navbar-brand {
    color: #233d78;
  }
  #mainNav.navbar-shrink .navbar-brand:focus, #mainNav.navbar-shrink .navbar-brand:hover {
    color: #233d78;
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus {
    color: #212529;
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: #233d78;
  }
}

header.masthead {
  padding-top: 10rem;
  padding-bottom: calc(10rem - 56px);
  #background-color: white;
  background-image: url('/img/backgrounddots.png');
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

header.masthead.countdown {
	background-image: none;
	background-color: transparent;
}

header.masthead hr {
  margin-top: 30px;
  margin-bottom: 30px;
}

header.masthead h1 {
  font-size: 2rem;
}

header.masthead p {
  font-weight: 300;
}

@media (min-width: 768x) {
  header.masthead p {
    font-size: 1.15rem;
  }
}

@media (min-width: 992px) {
  header.masthead {
    height: 100vh;
    min-height: 650px;
    padding-top: 0;
    padding-bottom: 0;
  }
  header.masthead h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1200x) {
  header.masthead h1 {
    font-size: 4rem;
  }
}

.service-box {
  max-width: 400px;
}

.portfolio-box {
  position: relative;
  display: block;
  max-width: 650px;
  margin: 0 auto;
}

.portfolio-box .portfolio-box-caption {
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  opacity: 0;
  color: #fff;
  background: rgba(35, 61, 120, 0.9);
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  text-align: center;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category,
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  padding: 0 15px;
  font-family: 'Montserrat', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  font-size: 18px;
}

.portfolio-box:hover .portfolio-box-caption {
  opacity: 1;
}

.portfolio-box:focus {
  outline: none;
}

@media (min-width: 768px) {
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
    font-size: 16px;
  }
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    font-size: 22px;
  }
}

.text-primary {
  color: #233d78 !important;
}

.btn {
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 300px;
  font-family: 'Montserrat', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.btn-xl {
  padding: 1rem 2rem;
}

.btn-primary {
  background-color: #233d78;
  border-color: #233d78;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  color: #fff;
  background-color: #233d78 !important;
}

.btn-primary:active, .btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(35, 61, 120, 0.5) !important;
}

.header-img,
.header-slogan {
	width: 80%;
}
.services-slider {
    background-image: linear-gradient(#dee5ff, #dcdce0);
    padding-top: 30px;
    padding-bottom: 20px;
}
.services-slider .container {
	/*background-color: #dadfea;*/
	position: relative;
	height: 400px;
}

/* overhanging image slider */
.services-slider .slider-image {
	width: 100%;
}

/* arrows on edge of slider */
.services-slider .slider-arrow {
    position: absolute;
    padding: 20px 10px 20px 10px;
    background-color: rgba(165, 165, 165, 0.18);
    font-size: 2rem;
    color: white;
	z-index: 99999;
}
.services-slider .fa-chevron-left.slider-arrow {
	left: 0;
	top: 40%;
	cursor: pointer;
}
.services-slider .fa-chevron-right.slider-arrow {
	right: 0;
	top: 40%;
	cursor: pointer;
}
.services-slider .container.heading {
	height: 100%;
}

#slider-title {
	color: #233d78;
    padding-top: 3px;
    padding-left: 0rem;
}
#slider-text {
	padding-left: 2rem;
    padding-top: 1rem;
}

/* nav bar slider */
.services-slider .slider-nav {
	padding-top: 2rem;
	padding-bottom: 2rem;
	font-size: 1.0rem;
}
.slider-nav div i {
	font-size: 30px;
	padding-bottom: 10px;
}
.slider-nav div {
	text-align: center;
	color: #5f5b5b;
}
.slider-nav div span {
	font-family: 'Montserrat', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	color: #5f5b5b;
	-webkit-user-select: none;  
	-moz-user-select: none;    
	-ms-user-select: none;      
	user-select: none;
	cursor: pointer;
}
.slider-nav div:hover * {
	color: #233d78;
	text-decoration: none;
}
.slider-nav div span.active {
	color: #233d78;
	text-decoration: underline;
}

.nav-icon,
.nav-icon a {
	padding-right: 5px;
	color: #212529
}
.nav-icon:hover,
.nav-icon a:hover {
	color: #233d78;
	cursor: pointer;
}

.site-location {
}
.site-location h3 {
	text-decoration: underline;
}
.site-location a {
	color: #000;
}
.site-location a:hover {
	color: #233d78;
}
.site-location .address {
}
.site-location .city {
}
.site-location .state {
	font-style: italic;
}

.site-location .number{

}

.footer {
	background-color: dimgray;
}
#services-long * {
	text-align: center;
}

#locations {
	padding-top: 60px;
	background-image: linear-gradient(#dee5ff, #dcdce0);
}

#about {
	padding-top: 30px;
}

#about-video {
	width: 100%;
}

#contactInputMessage {
	height: 325px;
	resize: none;
}
/* Styling for coutndown timer */
#countdownTimer {
	font-family: 'Montserrat', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
	font-size: 4rem;
}
/* Set number widths to stop them jumping around */
.countdown-cell {
	width: 4rem;
	display: inline-block;
}
/* use full background on countdown page*/
body.countdown {
	background-image: linear-gradient(#7f94a2, #322f56);
}
