/*
Theme Name: Construct Films
Author: Motion 12
Description: Construct Films Theme
Version: 1.0
*/

@font-face { font-family: Offside; src: url('fonts/Offside/Offside-Regular.ttf'); }
@font-face { font-family: Avenir; src: url('fonts/Avenir/AvenirLTStd-Roman.otf'); }
@font-face { font-family: Avenir; src: url('fonts/Avenir/AvenirLTStd-Black.otf');
	font-weight: bold;
}

html,body{
	width:100%;
	margin:0;
	height:100%;
	font-family: Avenir, sans-serif;
	background: #ffffff;
}
.homescreen .image-vertical-center {
	height: inherit;
}

h1, h2 {

	font-family: Offside, sans-serif;
	color: #000000;
}

h4 {
	font-family: Avenir, sans-serif;
	color: #424242;
}

.navbar .navbar-nav .nav-item.active .nav-link,
.bootstrap-datetimepicker-widget table thead tr:first-child .prev,
.bootstrap-datetimepicker-widget table thead tr:first-child .next,
.bootstrap-datetimepicker-widget a[data-action]:hover span,
.bootstrap-datetimepicker-widget a[data-action]
{
	color: #525252 !important;
}

.dropdown-menu .dropdown-item:focus, .dropdown-menu .dropdown-item:hover, .dropdown-menu a:active, .dropdown-menu a:focus, .dropdown-menu a:hover,
.bootstrap-datetimepicker-widget table td.active:hover>div, .bootstrap-datetimepicker-widget table td.active>div,
.slider .noUi-connect,
.carousel > .zoom-buttons > button,
.carousel > .download-button > button,
.timelapse-video > .download-button > button
{
	background: #525252;
}

.sub-menu.dropdown-menu {
	transform-origin: 50% 0;
}

.underlined-logo {
	border-bottom-width:4px !important;
	border-bottom-color: #525252 !important;
}

.navbar h2 {
	margin: 0 0 !important;
}

.logo {
	position: relative;
	top: 15px;
	/* width: 100% !important; */
	/* max-width: 200px; */
	max-height: 100px;
}

.navbar {
	background: #ededed !important;
}

.navbar .navbar-nav .nav-item .nav-link {
	font-size: 19px !important;
	color: black !important;
	font-weight: 600;
}

.navbar .navbar-nav .nav-item.active {
	background: #fefefe;
	border-top: 4px solid;
	border-top-color: #525252;
}

.navbar .navbar-nav .nav-item:hover {
	background-color: #fefefe;
	border-top: 4px solid;
	border-top-color: #525252;
}

.nav-tabs .nav-link.active {
	border-color: #525252 !important;
}

.navbar {
	z-index: 1000;
}

.side-bar {
	border: 0;
	background: #ededed;
	width: 100%;
	z-index: 0;
}

.bootstrap-datetimepicker-widget table td.today>div:before {
	content: none;
}


.content {
	background: #ffffff;
}

.carousel-item > img{
	margin:auto;
}

.carousel > .zoom-buttons {
	position: absolute;
	right: 30px;
	bottom: 10px;
	z-index: 16;
}

.carousel > .zoom-slider {
	position: absolute;
	left: 30px;
	bottom: 10px;
	width: 37%;
	z-index: 16;
}

.carousel > .zoom-slider > .noUi-horizontal {
	height: 8px;
}

.carousel > .zoom-slider .noUi-handle {
	width: 25px;
	height: 25px;
	top: -9px;
	border-color: #525252;
}


.carousel > .current-date {
	position: absolute;
	top: 0;
	left: 0;
	background: #ffffff;
	font-weight: 600;
}

.side-bar .current-date {
	font-size: calc(12px + 1vw);
	text-align: center;
}

.carousel > .download-button, .timelapse-video > .download-button {
	position: absolute;
	top: 10px;
	right: 30px;
}

.page-footer {
	color: black;
	background: #d1d1d1;
}

.drop-shadow {
	box-shadow: 20px 20px 20px -20px;
}

.video-link {
	position: relative;
	margin-bottom: 30px;
}

.video-link > .video-date {
	position: absolute;
	bottom: 0px;
	background: white;
}

.video-link:before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(251,176,49, 0.5);
	-moz-transition: background .3s linear;
	-webkit-transition: background .3s linear;
	-o-transition: background .3s linear;
	transition: background .3s linear;
}

.h-lg-100 {
	height: 100% !important;
}


.side-bar {
    flex-direction: column;
}

@media (max-width: 991px) {
	.mobile-height {
		height: 100vh !important;
	}

	.h-lg-100 {
		height: auto !important;
	}

	.timelapse-video {
		height: 50vh !important;
	}

	.video-link {
		min-width: 150px;
		margin-right: 30px;
	}

	.video-link .video-date {
		font-size: 0.8rem;
	}

	.side-bar {
		height: unset !important;
		z-index: 50;
        flex-direction: unset;
	}

    .side-bar .col-sidebar-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .side-bar .col-sidebar-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

	#nav-tabContent .tab-pane.show {
		display: flex;
	}

	.timelapse-video > .download-button {
		top: 110px;
		right: 10px;
	}

	.content .row.photo-select {
		height: 150px;
	}

	.form-group .bootstrap-datetimepicker-widget {
		top: 95px !important;
		left: 0 !important;
		right: 0 !important;
		margin-left: auto;
		margin-right: auto;
		transform-origin: 50% 0;
	}

	.side-bar .form-group {
		position: unset;
	}
}

.carousel-inner {
	overflow: unset;
}

.carousel-inner .carousel-item .img-fluid {
	max-height: 100%;
}

.dropdown-toggle:after {
	position: relative;
	top: 5px;
}

.contact-card {
	background: #efefef;
}

.contact-card h4 {
	font-size: 1.3rem;
	color: black;
}


.site-details h4, .site-details h2 {
	color: black !important;
}

#nav-tabContent .tab-pane {
	overflow: auto;
}

.video-link {
	cursor: pointer;
}

.dropdown-menu[x-placement=bottom-start] {
	transform-origin: 50% 0;
}

.row.carousel-row, .row.photo-select {
	margin: 0;
}

.row.photo-select .owl-carousel {
	height: 115px;
}

.owl-carousel .owl-stage {
	display: flex;
	height: 100%;
}

.owl-carousel .owl-stage-outer {
	height: 100%;
}

.owl-carousel .owl-item img {
	/*width: auto;*/
	width: 150px;
	height: 100%;
}

.d-block-carousel {
	display: block;
}

.owl-item {
	background: url("/wp-content/themes/construct-films/img/ajax-loader.gif") no-repeat center center;
}

.carousel-time {
	color: white;
	bottom: 0;
	width: 100%;
	position: absolute;
	background: black;
	opacity: 0.7;
	filter: alpha(opacity=70); /* For IE8 and earlier */
	left: 0;
	right: 0;
	padding-top: 2px;
	padding-bottom: 2px;
}


#loader {
	/* Uncomment this to make it run! */

       animation: loader 5s linear infinite;


	position: absolute;
	top: calc(50% - 20px);
	left: calc(50% - 20px);
}
@keyframes loader {
	0% { left: -100px }
	100% { left: 110%; }
}
#box {
	width: 50px;
	height: 50px;
	background: #fff;
	animation: animate .5s linear infinite;
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 3px;
}
@keyframes animate {
	17% { border-bottom-right-radius: 3px; }
	25% { transform: translateY(9px) rotate(22.5deg); }
	50% {
		transform: translateY(18px) scale(1,.9) rotate(45deg) ;
		border-bottom-right-radius: 40px;
	}
	75% { transform: translateY(9px) rotate(67.5deg); }
	100% { transform: translateY(0) rotate(90deg); }
}
#shadow {
	width: 50px;
	height: 5px;
	background: #000;
	opacity: 0.1;
	position: absolute;
	top: 59px;
	left: 0;
	border-radius: 50%;
	animation: shadow .5s linear infinite;
}
@keyframes shadow {
	50% {
		transform: scale(1.2,1);
	}
}

.content .tab-content.row,
.timelapse-video > nav {
	margin: 0;
}

.footer-logo {
	height: 24px;
}


.owl-carousel .owl-stage-outer {
	/*overflow-x: scroll;*/
}

.owl-carousel .owl-stage-outer::-webkit-scrollbar {
	width: 1em;
}

.owl-carousel .owl-stage-outer::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

.owl-carousel .owl-dots {
	display: none;
}

.row.photo-select .owl-carousel {
	margin-bottom: 15px;
}

.timelapse-video > nav {
	display: none !important;
}

.owl-scrollbar {
	border-radius: 10px;
	height: 5px;
	width: 100%;
	background: #f1f1f1;
	border: 1px solid #e4e4e4;
	box-shadow: inset 0 0 10px -9px rgba(30, 30, 30, .4);
	position: relative;
}

.owl-scrollbar .owl-scroll-handle {
	height: 15px;
	width: 15px;
	border-radius: 50%;
	display: inline-block;
	position: absolute;
	top: -5px;
	left: -1px;
}

.owl-scrollbar .owl-scroll-handle:hover {
	transform: scale(2);
	transition: transform .2s ease-in-out;
}

.owl-scrollbar .owl-scroll-progress {
	background: #333;
	height: 5px;
	border-radius: 10px;
	position: absolute;
	top: 0;
	left: 0;
}