
/*----------------------------------------------------
# Fonts
----------------------------------------------------*/

@font-face {
	font-family: 'OceanSansLight';
	src: url('../fonts/OceanSansStd-Light.eot?#iefix') format('embedded-opentype'), 
		url('../fonts/OceanSansStd-Light.otf')  format('opentype'), 
		url('../fonts/OceanSansStd-Light.woff') format('woff'), 
		url('../fonts/OceanSansStd-Light.ttf')  format('truetype'), 
		url('../fonts/OceanSansStd-Light.svg#OceanSansStd-Light') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'OceanSansBook';
	src: url('../fonts/OceanSansStd-Book.eot?#iefix') format('embedded-opentype'),  
		url('../fonts/OceanSansStd-Book.otf')  format('opentype'),
		url('../fonts/OceanSansStd-Book.woff') format('woff'), 
		url('../fonts/OceanSansStd-Book.ttf')  format('truetype'), 
		url('../fonts/OceanSansStd-Book.svg#OceanSansStd-Book') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'CronosBold';
	src: url('../fonts/CronosPro-Bold.eot?#iefix') format('embedded-opentype'),  
		url('../fonts/CronosPro-Bold.otf')  format('opentype'),
		url('../fonts/CronosPro-Bold.woff') format('woff'), 
		url('../fonts/CronosPro-Bold.ttf')  format('truetype'), 
		url('../fonts/CronosPro-Bold.svg#CronosPro-Bold') format('svg');
	font-weight: normal;
	font-style: normal;
}


/*----------------------------------------------------
# General / Reset
----------------------------------------------------*/

*, body, div, h1, h2, h3, h4, h5, h6, p, a {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
	height: 100%;
	font-family: 'OceanSansBook', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'OceanSansBook';
	font-weight: 400;
	color: #222;
	text-transform: none;
}

p, li {
	font-weight: 400;
	font-family: 'OceanSansBook';
}

li {
	margin-left: 1em;
}

a {
	text-decoration: none;
//	color: #195bc4;
	color: #3953a4;
//	border-bottom: 1px dotted #37bfa6;
}


/*----------------------------------------------------
# Layout
----------------------------------------------------*/

.main {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	height: 100%;
}

.container {
	padding-right: 0;
	padding-left: 0;
}


/*----------------------------------------------------
# Nav Sidebar
----------------------------------------------------*/

.navbar {
	padding: 0;
}

.navbar-fixed-left {
	background-color: #F7F7F7;
}

.navbar-fixed-left > .container {
	background-color: #F7F7F7;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	height: 100%;
}

.navbar-nav li {
	margin-left: 0;
	text-align: center;
}

.navbar-fixed-left a {
	border-bottom: none;
}

.navbar-default .navbar-nav > li > a {
	font-size: 17px;
	color: #333;
}

.navbar-default .navbar-nav > li > a:hover {
	color: #3953a4;
}

/* logo */

.cjp-logo {
	padding: 15px 0 40px;
	text-align: center;
}

.cjp-logo img {
	max-width: 150px;
	width: auto;
}

.cjp-logo .logo-title {
	color: #3953a4;
	font-family: 'OceanSansBook';
	font-size: 26px;
	text-transform: uppercase;
}

.cjp-logo .subhead {
	padding-top: 30px;
}

/* dropdown menu */

.dropdown-menuq {
	display: none;
	width: 283px;
	list-style-type: none;
	padding-bottom:5px;
}

.dropdown-menuq li {
	padding: 5px 0;
}

.dropdown-menuq li a {
	font-size: 16px;
	color: #111;
}

.dropdown-menuq li a:hover {
	text-decoration: none;
	color: #3953a4;
}

.nav .dropdownq.open > a, 
.nav .dropdownq.open > a:focus, 
.nav .dropdownq.open > a:hover {
	background-color: transparent;
}

/* social icons */ 

.nav.social-menu {
	margin-top: auto;
}

.nav.social-menu ul {
	display: flex;
	flex-direction: row;
	list-style-type: none;
}

.nav.social-menu li {
	margin: 0;
	padding: 0.8em;
}

.nav.social-menu li a {
	color: #9F9F9F;
	font-size: 20px;
}

.nav.social-menu li a:hover {
	border-bottom: none;
	color: #333333;
}


/*----------------------------------------------------
# Home Slider
----------------------------------------------------*/

#cjpCarousel.carousel .item,
#cjpCarousel .carousel-inner,
#cjpCarousel .carousel-inner > .item > img {
    height: 100%;
}

#cjpCarousel {
	height: 100vh;
}

#cjpCarousel .first-slide {
	background-image: url('../images/slider-2.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	width: 100%;
	height: 100%;
}

.carousel-caption {
	right: 15%;
	bottom: auto;
	top: 15px;
	left: 15%;
}

.carousel-caption h1 {
	color: #fff;
	font-size: 65px;
	font-family: 'OceanSansBook';
	padding: 6px 0 10px;
	text-transform: uppercase;
}

.carousel-caption h2 {
	color: #fff;
	font-size: 30px;
	text-transform: none;
	font-family: 'OceanSansBook';
}


/*----------------------------------------------------
# Homepage Content
----------------------------------------------------*/

.cjp-home-body-title {
 	text-align: center;
}

.cjp-home-body-title h2 {
	font-size: 50px;
	color: #222;
	letter-spacing: -1px;
	padding-bottom: 30px;
}

.cjp-home-body-title p {
  	position: relative;
  	color: #fff;
  	margin-bottom: 20px;
	font-size: 21px;
	font-weight: 300;
	line-height: 1.4;
	padding: 10px 0;
	background-color: #45474c;
}

.featurette-heading {
  	line-height: normal;
  	padding-bottom: 15px;
  	margin-top: 0 !important;
  }

.row-eq-height .col-height,
.row-eq-height .col-height-sm {
	display: flex;
	align-items: center;
}

.row-eq-height .featurette-image {
text-align: center;
}

.featurette-image:not(.blur) {
	position: relative;
	z-index: 999;
}

.featurette-image.blur {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	filter: blur(15px);
		-webkit-filter: blur(15px);
		-moz-filter: blur(15px);
		-o-filter: blur(15px);
		-ms-filter: blur(15px);
	transform: scale(0.95);
//	opacity: 0.6;
	margin-top: 10px;
}

.btn.btn-outline-primary {
	border: 1px solid #3953a4;
	background: transparent;
	font-family: 'OceanSansBook';
	font-size: 18px;
	line-height: 25px;
	padding: 9px 18px;
	transition: 0.2s all ease;
}

.btn.btn-outline-primary:hover {
	color: #fff;
	background: #3953a4;
}


/*----------------------------------------------------
# Inner Pages Content
----------------------------------------------------*/

/* title slider section */

#titleSection.carousel .item,
#titleSection .carousel-inner,
#titleSection .carousel-inner > .item > img {
    height: 380px;
}

#titleSection {
	height: 380px;
}

#titleSection .container {
	height: 100%;
}

#titleSection .carousel-caption {
	position: relative;
	top: auto;
	right: auto;
	left: auto;
	display: flex;
	height: 100%;
	justify-content: center;
	align-items: center;
}

#titleSection .carousel-caption h1 {
	text-shadow: 1px 1px 1px rgba(0,0,0,0.7);
}

/* content */

.cjp-content p {
	margin-bottom: 20px;
	font-size: 21px;
	font-weight: 300;
	line-height: 1.4;
}


/*----------------------------------------------------
# Request Estimate Section
----------------------------------------------------*/

.cjp-content .request-estimate {
	padding: 60px 0 50px;
}

.request-estimate .featurette-heading {
	font-size: 34px; 
	line-height: 56px; 
	color: #333; 
	text-align: center; 
	padding-bottom: 0;
	border: 1px solid #e7e7e7;
	background-color: #F7F7F7;
}

.request-estimate .col-md-3 {
	justify-content: flex-end;
}


/*----------------------------------------------------
# Gallery Page
----------------------------------------------------*/

.cjp-gallery {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}

.cjp-gallery .thumb-link {
	position: relative;
	overflow: hidden;
}

.cjp-gallery .thumb-caption {
	position: absolute;
	top: 45%;
	text-align: center;
	left: 0;
	right: 0;
	color: #fff;
	text-decoration: none;
	text-shadow: 1px 1px 1px #000;
}

.cjp-gallery .modal {
	text-align: center;
//	display: flex;
	align-items: center;
}

.modal-backdrop.in {
  	opacity: 0.8;
}

.cjp-gallery .modal-dialog {
	width: auto;
	display: inline-block; 
	max-height: calc(100vh - 60px);
}

.cjp-gallery a {
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
	width: 350px;
	height: 220px;
	margin: 5px;
}

.cjp-gallery .gallery-thumb {
	width: 350px;
	height: 220px;
}

.cjp-gallery .thumb-link:hover .gallery-thumb {
	filter: blur(3px);
}

.cjp-gallery .modal-content {
	border-radius: 0;
	background: transparent;
}

.cjp-gallery .modal-content img {

}

.cjp-gallery .modal-content .close {
	position: absolute;
	top: 3px;
	right: 10px;
	color: #fff;
	text-shadow: 1px 1px 1px #000;
	font-size: 36px;
	opacity: 0.75;
}

.cjp-gallery .modal-content .close:hover {
	opacity: 1;
}


/*----------------------------------------------------
# Contact Page & Estimate Page & Update Page
----------------------------------------------------*/

.form-control,
form select {
	height: auto;
	padding: 8px 12px;
	font-size: 15px;
	border-radius: 2px;
	width: 100%;
	line-height: 1.5;
	color: #555;
	background-color: #fff;
	border: 1px solid #ccc;
}

form select {
	padding: 10px 12px;
}

form select option[value=""] {
	color: #999;
}

form label {
	font-size: 15px;
}

.secondary-contact-block {
	display: none;
	width: 100%;
}

input.btn-send {
	background-color: #3953a4;
	text-transform:uppercase;
	border-color: #3953a4;
	letter-spacing: 0.4px;
	padding: 10px 30px;
	transition: all 0.5s ease;
}

input.btn-send:hover,
input.btn-send:active,
input.btn-send:focus,
input.btn-success.active.focus, 
input.btn-success.active:focus, 
input.btn-success.active:hover, 
input.btn-success:active.focus, 
input.btn-success:active:focus, 
input.btn-success:active:hover {
	background-color: #222;
	border-color: #222;
}

input.btn-success.disabled.focus, 
input.btn-success.disabled:focus, 
input.btn-success.disabled:hover, 
input.btn-success[disabled].focus, 
input.btn-success[disabled]:focus, 
input.btn-success[disabled]:hover, 
fieldset[disabled] input.btn-success.focus, 
fieldset[disabled] input.btn-success:focus, 
fieldset[disabled] input.btn-success:hover {
	background-color: #8e8e8e;
	border-color: #8e8e8e;
}

input.btn-send.button-submitting {
	background-color: #8e8e8e;
	border-color: #8e8e8e;
}

.form-footer {
	display: flex;
	align-items: center;
}

.form-footer .ajax-loading {
	display: none;
	margin-left: 10px;
	animation: ajax-loading 1.2s linear infinite;
}

.form-footer .ajax-loading.active {
	display: block;
}

@keyframes ajax-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#successMessage,
#errorMessage {
	display: none;
	width: 100%;
	padding: 15px 20px;
	font-size: 20px;
	color: #000;
	text-align: center;
	margin-bottom: 30px;
}

#successMessage p,
#errorMessage p {
	margin-bottom: 0;
}

#successMessage {
	background-color: #1b9cf7;
}

#errorMessage {
	background-color: #fc6f6f;
}






/*----------------------------------------------------
# Footer
----------------------------------------------------*/

footer {
	padding-bottom: 12px;
	padding-top: 15px;
	border-top: 1px solid #eee;
	margin-top: 50px;
}

footer .copyright {
	text-align: center;
	font-size: 14px;
	line-height: 20px;
	margin-bottom: 0;
}


/*----------------------------------------------------
# Mobile Responsive
----------------------------------------------------*/

@media screen and (max-width: 768px) {
	.row {
		margin-right: 0;
		margin-left: 0;
	}
}


/* main menu */

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

	.navbar .container > div {
		width: 100%;
	}

	.cjp-logo {
		padding: 0 0 15px;
	}

	.cjp-logo img {
		float: left;
	}

	.cjp-logo .logo-title {
		float: left;
	}

	.cjp-logo .subhead {
		display: none;
	}

	.navbar .container .nav.social-menu {
		display: none;
	}

	.dropdown-menuq {
		width: 100%;
	}

	.dropdown-menuq li {
		padding: 0;
	}

	.dropdown-menuq li a {
		padding: 11px 0;
		display: block;
	}

	.dropdown-menuq li:last-child {
		padding-bottom: 16px;
	}

	.navbar-default .navbar-nav > li > a {
		padding: 20px 0;
	}

	.navbar-nav > li {
		border-bottom: 1px solid #ccc;
	}

	.navbar-nav {
		margin-top: 0;
		margin-bottom: 0;
	}

}

@media screen and (min-width: 356px) and (max-width: 768px) {

	.navbar .container .navbar-header {
		padding: 6px 0;
	}

	.cjp-logo img {
		width: 90px;
		height: 66px;
	}

	.cjp-logo .logo-title {
		line-height: 66px;
	}

	.navbar-toggle {
		margin-top: 16px;
		margin-bottom: 16px;
	}

}

@media screen and (min-width: 390px) and (max-width: 425px) {

	.cjp-logo .logo-title {
		font-size: 23px;
	}

}


@media screen and (min-width: 328px) and (max-width: 389px) {

	.cjp-logo .logo-title {
		font-size: 20px;
	}

}

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

	.cjp-logo img {
		width: 70px;
		height: 51px;
	}

	.cjp-logo .logo-title {
	    line-height: 51px;
	}

	.navbar-toggle {
		margin-top: 8px;
		margin-bottom: 9px;
	}

	.navbar .container .navbar-header {
		padding: 10px 0;
	}

}

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

	.cjp-logo .logo-title {
		font-size: 18px;
	}

}


/* inner pages */

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

	#titleSection .carousel-caption h1 {
		font-size: 55px;
	}

	#titleSection.carousel,
	#titleSection.carousel .item, 
	#titleSection .carousel-inner, 
	#titleSection .carousel-inner > .item > img {
	    height: 200px;
	}

	#titleSection.carousel {
	    margin-bottom: 30px;
	}

}

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

	#titleSection .carousel-caption h1 {
		font-size: 55px;
	}

}


/* homepage */

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

	.row.featurette .btn-container {
		margin-bottom: 30px;
		text-align: center;
	}

	.row.featurette .featurette-heading {
		text-align: center;
	}

	.row.featurette .col-md-5.img-holder {
		padding-bottom: 10px;
	}

}

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

	.cjp-home-body-title h2 {
		font-size: 30px;
	}

	.cjp-home-body-title p {
		font-size: 19px;
	}

	.rhomboid-p {
		background-color: #5a5d65;
	}

	.container .featurette-divider {
		margin: 50px 0;
	}

	.row.featurette .col-height {
		height: auto;
	}

}


/* request estimate */

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

	.request-estimate .col-md-3 {
		justify-content: center;
	}

}