/*
 * Additions on top of the original Enkode theme (bootstrap.css + theme.css).
 * Everything the old jQuery plugins used to do with script is done here with CSS,
 * plus styles for the parts that are new in the static site.
 */

site-header,
site-footer,
post-list,
post-nav {
	display: block;
}

/* ---------- main menu: drop-down opens on hover / keyboard focus ---------- */
.tm_navbar .nav li:hover > ul,
.tm_navbar .nav li:focus-within > ul {
	display: block;
}
/* Invisible bridge over the gap between a menu item and its drop-down, so the menu stays open while the pointer crosses it. */
.tm_navbar .nav > li > ul::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -30px;
	height: 30px;
}
.tm_navbar .nav li a:focus-visible strong {
	color: #FFF;
}
.tm_navbar .nav li a:focus-visible span {
	top: -80px;
}

/* ---------- home page slider ---------- */
.slider {
	position: relative;
	margin-bottom: 0 !important;
	z-index: 500;
}
.hero-slider {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 30vw;
	min-height: 400px;
	background: #1d1f1b;
}
.hero-slide {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.8s ease, visibility 0s linear 0.8s;
}
.hero-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
	transition: opacity 0.8s ease;
}
.hero-slide > .hero-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	border: 0;
	object-fit: cover;
	object-position: center top;
}
.hero-slide.is-active .camera_caption {
	animation: hero-caption-in 0.9s ease 0.3s both;
}
@keyframes hero-caption-in {
	from { opacity: 0; }
	to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.hero-slide,
	.hero-slide.is-active {
		transition: none;
	}
	.hero-slide.is-active .camera_caption {
		animation: none;
	}
}

.camera_caption {
	position: absolute;
	display: block;
	left: 50%;
	margin-left: -470px;
	bottom: 17%;
}
.camera_caption_bg {
	text-align: left;
	width: 490px;
	padding: 0;
	margin: 0;
	float: none;
	text-shadow: 1px 1px 3px #2B2B2B;
}
.camera_caption .title1 {
	text-transform: uppercase;
	overflow: hidden;
	font-family: 'Jockey One', sans-serif;
	font-size: 72px;
	line-height: 62px;
	font-weight: normal;
	color: #FFF;
	text-shadow: 1px 1px 2px #080808;
	margin: 0;
}
.camera_caption .title2 {
	text-transform: lowercase;
	font-family: 'Jockey One', sans-serif;
	font-size: 40px;
	line-height: 40px;
	font-weight: 400;
	color: #FFF;
	margin: 0;
	width: 100%;
	letter-spacing: -1px;
	margin-bottom: 37px;
	text-shadow: 1px 1px 2px #080808;
}
.box1 {
	width: 310px;
	display: block;
	position: relative;
	overflow: hidden;
	margin-bottom: 6px;
}
.listcam {
	font-family: 'Ubuntu', sans-serif;
	font-size: 14px;
	line-height: 22px;
	font-weight: 400;
	color: #FFF;
	position: relative;
	margin-bottom: 14px;
	padding-left: 26px;
	float: left;
	display: block;
	background: url(../img/page1_icon1.png) 0 4px no-repeat;
}
.listcam:hover {
	color: #388832;
}

.camera_pag {
	z-index: 10;
	bottom: 7%;
	left: 50%;
	margin-left: -470px;
	position: absolute;
}
.camera_pag_ul {
	position: relative;
	text-align: center;
	width: 100%;
	height: 16px;
	overflow: hidden;
	margin: 0;
	padding: 0;
	list-style: none;
}
.camera_pag_ul li {
	margin: 0 21px 0 0;
	padding: 0;
	position: relative;
	cursor: pointer;
	width: 16px;
	height: 16px;
	display: inline-block;
	background: #FFF;
}
.camera_pag_ul li:hover,
.camera_pag_ul li.cameracurrent {
	background: #388832;
}
.camera_pag_ul li:focus-visible {
	outline: 2px solid #FFF;
	outline-offset: -4px;
}

@media (min-width: 1220px) {
	.camera_pag {
		margin-left: -584px;
	}
	.camera_caption {
		margin-left: -585px;
		bottom: 15%;
	}
}
@media only screen and (max-width: 979px) {
	.camera_pag {
		bottom: 5%;
		margin-left: -360px;
	}
	.camera_caption {
		margin-left: -360px;
		bottom: 17%;
	}
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
	.camera_caption .title1 {
		font-size: 62px;
		line-height: 62px;
	}
	.camera_caption .title2 {
		font-size: 30px;
		line-height: 30px;
		margin-bottom: 5px;
	}
}
@media only screen and (max-width: 767px) {
	.camera_pag {
		bottom: 30px;
		left: 20px;
		margin-left: 0;
	}
	.camera_caption_bg {
		width: inherit;
	}
	.camera_caption {
		left: 20px;
		right: 20px;
		margin-left: 0;
		bottom: 70px;
	}
	.camera_caption .title1 {
		font-size: 62px;
		line-height: 62px;
	}
	.camera_caption .title2 {
		letter-spacing: 0;
		font-size: 30px;
		line-height: 30px;
		margin-bottom: 5px;
	}
}
@media only screen and (max-width: 500px) {
	.camera_pag {
		bottom: 40px;
	}
	.camera_caption {
		bottom: 100px;
	}
	.camera_caption .title1 {
		font-size: 45px;
		line-height: 50px;
	}
	.camera_caption .title2 {
		letter-spacing: 1px;
		font-size: 20px;
		line-height: 24px;
		margin-bottom: 10px;
	}
	.box1 {
		width: inherit;
		margin-bottom: 5px;
	}
}

/* ---------- portfolio: projects whose site is no longer online keep the screenshot, without a link ---------- */
.list_team li figure .thumb-offline {
	position: relative;
	width: 100%;
	display: block;
}
.list_team li figure .thumb-offline > img {
	width: 100%;
	border: 5px solid #e9e9e9;
}

/* ---------- posts ---------- */
.post header h1 {
	margin-top: 0;
}
.post .subtitle {
	margin-bottom: 10px;
}
.post .postinfo {
	clear: both;
	padding-top: 15px;
}
.post .text::after {
	content: "";
	display: table;
	clear: both;
}
#postnavigation {
	clear: both;
	padding-top: 20px;
}

/* ---------- post list (blog.html) ---------- */
.post-list-filter,
.post-list-empty {
	font-size: 16px;
}
.post-summary {
	padding: 10px 0 25px;
	border-bottom: 1px solid #e3e3e3;
}
.post-summary:last-child {
	border-bottom: 0;
}
.post-summary header h2 {
	padding: 22px 0 10px;
}
.post-summary header h2 a {
	color: #323232;
}
.post-summary header h2 a:hover {
	color: #388832;
	text-decoration: none;
}
.post-summary .text p {
	margin-bottom: 0;
}
.post-more {
	white-space: nowrap;
}

/* ---------- contact page ---------- */
#contact {
	padding-bottom: 30px;
}
#contact .contact-hours {
	color: #323232;
	margin-bottom: 30px;
}
#contact .contact-address {
	color: #323232;
	margin-bottom: 30px;
}
.contact-linkedin p {
	font-size: 16px;
	margin-bottom: 20px;
}
.contact-linkedin .btn1 {
	display: inline-block;
}
.contact-linkedin .btn1:hover {
	text-decoration: none;
}
.contact-linkedin .btn1 .fa {
	margin-right: 8px;
}

/* ---------- not found page ---------- */
.not-found {
	text-align: center;
	padding: 40px 0;
}
.not-found .not-found-code {
	font-family: 'Jockey One', sans-serif;
	font-size: 120px;
	line-height: 1;
	color: #388832;
	margin: 0 0 10px;
}
.not-found h1 {
	margin-bottom: 15px;
}
.not-found .btn1 {
	display: inline-block;
	margin: 15px 0 25px;
}
.not-found .btn1:hover {
	text-decoration: none;
}

/* ---------- page content ---------- */
.rates {
	margin: 10px 0 30px;
}
.rates th,
.rates td {
	padding: 12px 40px 12px 0;
	border-bottom: 1px solid #e3e3e3;
	text-align: left;
}
.rates th {
	color: #323232;
}
.rates th + th,
.rates td + td {
	text-align: center;
	padding-right: 0;
}
.server-photos {
	text-align: center;
	padding-top: 10px;
}
.server-photos img {
	max-width: 100%;
	height: auto;
}
.logo-list {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}
.logo-list li {
	padding: 22px 0;
	border-bottom: 1px solid #e3e3e3;
}
.logo-list li:last-child {
	border-bottom: 0;
}
.logo-list img {
	max-width: 100%;
	height: auto;
}
.logo-list .logo-band {
	background: #fff;
}
.resume h2.resume-summary {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 24px;
	font-weight: normal;
	text-transform: none;
	padding-top: 10px;
}
.resume .skills {
	display: flex;
	flex-wrap: wrap;
}
.resume .skills p {
	flex: 1 1 200px;
	margin-bottom: 15px;
}
.resume .page-text > strong {
	display: block;
	color: #323232;
	margin-top: 12px;
}
.resume .page-text ul {
	margin-bottom: 12px;
}
.plain-list {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
}
[ng-cloak] {
	display: none !important;
}
.calculator-notice {
	padding: 14px 18px;
	border: 1px solid #388832;
	border-radius: 3px;
	background: #e3f3e1;
	color: #454545;
	font-size: 14px;
}
