/*!
Theme Name: 	Bootsrap 4 on WordPress
Theme URI: 		http://bootstrap4onwordpress.babobski.nl/
Description: 	Bootstrap 4 on Wordpress
Version: 		1.6
Author: 		Babobski
Author URI: 	https://www.babobski.nl
Tags: 			babobski, bootstrap, basic theme
*/

h1, h2, h3, h4, h5, h6, button { font-family: 'Hind Siliguri', sans-serif; font-weight: 700; }
p, li { font-family: 'Hind Siliguri', sans-serif; font-weight: 400; font-size: 1.125rem; }
img { max-width: 100%; }
a, a:hover, a:active, a:focus { text-decoration: none; }
button, button:hover, button:focus, button:active { outline: 0; }
.vert-center { position: relative; top: 50%; transform: translateY(-50%); }


.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #002844e6;
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

.header-logo {
	padding: 1rem 1.5rem;
	background-color: black;
	color: white;
	font-family: 'Hind Siliguri', sans-serif; 
	font-weight: 700;
	line-height: 1.0;
	font-size: 1.25rem;
	display: table;
	margin-left: 0;
	margin-right: auto;
	transition: all 0.25s ease; -webkit-transition: all 0.25s ease; -moz-transition: all 0.25s ease; -o-transition: all 0.25s ease;
}

.header-logo:hover {
	color: black;
	background-color: white;
	transition: all 0.25s ease; -webkit-transition: all 0.25s ease; -moz-transition: all 0.25s ease; -o-transition: all 0.25s ease;
}

.navbar-expand {
	background-color: #efc932;
	padding: 1rem;
	color: #002844;
	display: table;
	margin-left: auto;
	margin-right: 0;
	font-size: 1.25rem;
	cursor: pointer;
	line-height: 1.0;
	box-shadow: 0 0 1rem black;
	transition: all 0.25s ease; -webkit-transition: all 0.25s ease; -moz-transition: all 0.25s ease; -o-transition: all 0.25s ease;
}

.navbar-expand:hover {
	background-color: white;
	transition: all 0.25s ease; -webkit-transition: all 0.25s ease; -moz-transition: all 0.25s ease; -o-transition: all 0.25s ease;
}

.navbar-nccrossings {
	padding-bottom: 1rem;
	background-color: transparent;
	position: fixed;
	width: 100%;
	z-index: 1;
	box-shadow: 0 0 0 transparent;
	transition: all 0.25s ease; -webkit-transition: all 0.25s ease; -moz-transition: all 0.25s ease; -o-transition: all 0.25s ease;
}

.navbar-nccrossings-02 {
	background-color: #002844;
	padding-bottom: 0;
	position: fixed;
	width: 100%;
	z-index: 1;
	box-shadow: 0 1rem 1rem #00000029;
	transition: all 0.25s ease; -webkit-transition: all 0.25s ease; -moz-transition: all 0.25s ease; -o-transition: all 0.25s ease;
}

.navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 0;
    font-family: 'Hind Siliguri', sans-serif;
    color: #efc932;
    font-weight: 700;
	transition: all 0.25s ease; -webkit-transition: all 0.25s ease; -moz-transition: all 0.25s ease; -o-transition: all 0.25s ease;
}

.navbar-nav .nav-link:hover {
	color: white;
	transition: all 0.25s ease; -webkit-transition: all 0.25s ease; -moz-transition: all 0.25s ease; -o-transition: all 0.25s ease;
}

.callout {
	position: relative;
	height: 80vh;
	overflow: hidden;
}
.video-bg,
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
	background-color: #002844;
}
.video-overlay {
	background: transparent;
	pointer-events: none; /* Allows right clicking on the video to pause etc */
}

.video-bg video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	opacity: 0.4;
}

.callout-inner h1, .callout-inner h5 {
	color: white;
	text-shadow: 0 0 3rem black, 0 0 1rem black;
}

.callout-inner h1 {
	font-size: 4rem;
}

.callout-inner h5 {
	font-size: 1.75rem;
}

.callout-inner {
    position: absolute;
    width: 100%;
	height: 100%;
    text-align: center;
    padding: 0 3rem;
}

.video-overlay-logo {
	height: 25rem;
	width: 48.6875rem;
	background-image: url('images/north-central-crossroads-logo.png');
	background-size: contain;
	background-repeat: no-repeat;
	left: 50%;
	margin-left: -24.34375rem;
	margin-top: -12.5rem;
	top: 50%;
	position: absolute;
	transition: all 0.25s ease; -webkit-transition: all 0.25s ease; -moz-transition: all 0.25s ease; -o-transition: all 0.25s ease;
}

.video-overlay-logo-02 {
	height: auto;
	padding-top: 3%;
	width: 10%;
	background-image: url('images/shrunk-header-logo.png');
	background-size: contain;
	background-repeat: no-repeat;
	left: 2%;
	margin-left: 0;
	margin-top: 0;
	top: 0.5rem;
	z-index: 1;
	position: fixed;
	transition: all 0.25s ease; -webkit-transition: all 0.25s ease; -moz-transition: all 0.25s ease; -o-transition: all 0.25s ease;
}

.solid-text {
	padding-top: 5%;
	padding-bottom: 5%;
	text-align: center;
	background-color: white;
	background-image: url(images/white-bg.jpg);
	background-size: cover;
	background-position: center center; 
}

.form-text {
	background-image: url('images/behind-contact-form.jpg');
	background-size: cover;
	background-position: center center;
	margin-top: 0;
	background-color: #125f87;
}

.solid-text h1, .solid-text p {
	color: black;
}

.solid-text h1, .form-text h3, .project-logos h2, .concept-videos h2 { 
	font-size: 4rem;
	color: #002844;
}

.solid-text h3 {
	color: #5283a2;
	margin-bottom: 2.5rem;
}

.solid-text h1 {
	margin-bottom: 0;
}

.solid-text h2 {
	color: #5283a2;
	margin-bottom: 0;
}

.form-text h3 {
	color: #5283a2;
	margin-bottom: 1rem;
	font-size: 3rem;
}

.why-nc {
	background-color: white;
	padding-top: 5%;
	padding-bottom: 5%;
	text-align: left;
	background-image: url(images/white-bg.jpg);
	background-size: cover;
	background-position: center center;
}

.why-row {
	margin-bottom: 3rem;
}

.why-row:nth-child(last) {
	margin-bottom: 0;
}

.why-row h3 {
	font-size: 3rem;
	margin-top: 1.5rem;
	color: #002844;
}

.form-text h3 {
	margin-bottom: 1rem;
	color: #efc932;
}

.form-text p {
	color: white;
}

.project-logos {
	background-color: white;
	padding-top: 5%;
	padding-bottom: 5%;
	text-align: center;
}

li.logo-slide {
	padding: 1rem;
	transition: all 0.25s ease; -webkit-transition: all 0.25s ease; -moz-transition: all 0.25s ease; -o-transition: all 0.25s ease;
}

li.logo-slide:hover img {
	opacity: 0.8;
	transition: all 0.25s ease; -webkit-transition: all 0.25s ease; -moz-transition: all 0.25s ease; -o-transition: all 0.25s ease;
}

.footer-logo {
	margin: 0 auto;
}

.footer {
	background-color: #002844;
	text-align: center;
	padding-top: 5%;
	padding-bottom: 5%;
}

img.footer-logo {
	width: 30%;
}

.concept-videos {
	background-color: #012d50;
	background-image: url('images/video-bg-02.jpg');
	background-size: cover;
	background-position: center center;
	text-align: center;
	padding-top: 5%;
	padding-bottom: 5%;
}

.concept-videos h2 {
	color: white;
	margin-bottom: 2rem;
	color: #efc932;
}

.concept-videos video {
	width: 100%;
}

.video-holder {
	padding: 1rem;
}

.bx-viewport { height: auto !important; }

.why-row p {
	font-size: 1.25rem;
}


/*==========  Boostrap 4 Non-Mobile First Method  ==========*/

@media only screen and (max-width: 1199px) {

html { font-size: 15px; }
.callout-inner { padding: 20.5% 3rem 0 3rem; }
.why-row h3 { font-size: 2rem; margin-top: 0; }
.solid-text h2, .form-text h3, .project-logos h2 { font-size: 3rem; }
.video-overlay-logo { height: 20rem; width: 38rem; margin-left: -19rem; margin-top: -10rem; }
.solid-text h1, .form-text h3, .project-logos h2, .concept-videos h2 { font-size: 3rem; }
.solid-text h2 { font-size: 2rem; }
.solid-text h3 { font-size: 1.5rem; }

}

@media only screen and (max-width: 991px) {

html { font-size: 14px; }
.callout-inner h1 { font-size: 3rem; }
.callout-inner h5 { font-size: 1.4rem; }
.callout-inner { padding: 28.5% 3rem 0 3rem; }
p, li { font-size: 1rem; }
.video-overlay-logo-02 { width: 18%; padding-top: 4%; }

}

@media only screen and (max-width: 767px) {

html { font-size: 13px; }
.callout-inner { padding: 37.5% 3rem 0 3rem; }
.solid-text h2, .form-text h3, .project-logos h2 { font-size: 2rem; }
.bx-wrapper .bx-pager, .bx-wrapper .bx-controls-auto { bottom: -5px; }
.video-overlay-logo { height: 16rem; width: 31rem; margin-left: -15.5rem; margin-top: -8rem; }
.solid-text h1, .form-text h3, .project-logos h2, .concept-videos h2 { font-size: 2.25rem; }
.solid-text h2, .form-text h3, .project-logos h2 { font-size: 1.5rem; }
.solid-text h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.why-row h3 { font-size: 1.5rem; margin-top: 0; }
.bx-wrapper .bx-pager, .bx-wrapper .bx-controls-auto { bottom: -5px !important; }

}

@media only screen and (max-width: 575px) {

html { font-size: 12px; }
.overlay a {font-size: 20px}
.overlay .closebtn { font-size: 40px; top: 15px; right: 35px; }
.callout-inner h1 { font-size: 2.5rem; }
.callout-inner { padding: 55.5% 3rem 0 3rem; }
.callout-inner h5 { font-size: 1.2rem; }
.video-overlay-logo { height: 12rem; width: 23rem; margin-left: -11.5rem; margin-top: -6rem; }
.video-overlay-logo-02 { width: 26%; padding-top: 7%; }

	
}