body {
	background-size: cover;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow: hidden;
	overflow-y: scroll;
}

.item-page h2 {
	font-size: 40px !important;
}

/* read more button */

p.readmore a, p.readmore a.btn {
	display: inline-block;
	padding: 4px 12px;
	color: #333333;
	text-align: center;
	vertical-align: middle;
	background-color: #f5f5f5;
	border: 1px solid #cccccc;
}

p.readmore a:hover, p.readmore a:focus,
p.readmore a.btn:hover, p.readmore a.btn:focus{
	color: #333333;
	text-decoration: none;
}

/* forms */

.inputbox, input.required, textarea, .form-control {
	display: inline-block;
	vertical-align: middle;
	padding: 8px;
	margin: 0;
	background-color: #ffffff;
	color:#555555;
	border: 1px solid #cccccc;
}

.button, .btn, a.btn, button.btn {
	display: inline-block;
	padding: 8px;
	margin: 0;
	color: #333333;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	background-color: #f5f5f5;
	border: 1px solid #cccccc;
}

.button:hover, .btn:hover, a.btn:hover, button.btn:hover {
	color: #333333;
	text-decoration: none;
	background-color: #e6e6e6;
}

img.img_left {
	float:left;
	margin:0 30px 30px 0;
}

img.img_right {
	float:right;
	margin:0 0 30px 30px;
}

/* abovecontent and belowcontent modules */

div.abovecontent {
	padding: 0 0 30px 0;
}

div.belowcontent {
	padding: 30px 0 0 0;
}

p.copyright {
	text-align: center;
	padding: 25px 0;
	margin: 0;
	color: #666;
}

p.copyright a {
	color: #999;
}

/* toprow */

.mp_logo.sparky_cell {
	text-transform: uppercase;
	line-height: 1;
	padding-top: 20px;
}

.toprow {
	position: relative;
  	border-bottom: 1px solid #2e485e;
}

.toprow canvas, .bottomrow canvas {
	position: absolute;
	z-index: -1;
}

.mnu_topmenu > li > a {
	text-transform: uppercase;
}

.mnu_topmenu > li > a, .mnu_topmenu > li > span {
	box-sizing:content-box;
}

.mp_search.sparky_cell {
	border-left: 1px solid #88a1b7;
	margin-top: 20px;
}

.mp_search input {
	background: transparent;
	border: 0;
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	box-shadow: none;
	color: #88a1b7;
}

.mp_search input:focus {
	background: transparent;
	box-shadow: none;
	color: #fff;
}

.mp_search input::placeholder {
	color: #999;
}

/* carousel */

.carouselrow .sparky_container > .sparky_cell {
  	padding: 0;
}

.hot_swipe_carousel_slides1 .contents {
	width: 1328px !important;
}

.hot_swipe_carousel_slides1 .contents p {
	max-width: 700px;
	text-shadow: 1px 1px 1px #333;
}

.hot_swipe_carousel_slides1 .contents h2 {
	font-weight: 300;
	color: #fff;
	text-shadow: 1px 1px 1px #333;
}

.hot_swipe_carousel_slides1 .contents h2 span {
	font-weight: 900;
}

/* advertrow */

.advertrow {
	text-align: center;
	font-size: 20px;
	color: #999;
	font-weight: 300;
	margin-bottom: 50px;
}

.advertrow h3 {
	text-align: center;
	font-weight: 300;
	padding: 75px 0 30px 0;
	margin: 0;
	line-height: 1;
	font-size: 60px;
}

.advertrow p {
/*	max-width: 750px;*/
	margin: 15px auto;
}

.mp_advert2 h3 {
	padding: 30px 0;
}

.mp_advert2 .cell_pad {
	padding-bottom: 50px;
}

/* contentrow */

.contentrow {
	padding: 50px 0;
}

.category-desc {
    text-align: center;
    padding-bottom: 50px;
    font-size: 20px;
    color: #999;
    font-weight: 300;
}

.blog h1 {
	padding: 0;
}

/* bottomrow */

.bottomrow {
	color: #ccc;
	min-height: 412px;
}

.bottomrow .sparky_cell {
	padding-top: 50px;
	padding-bottom: 50px;
}

.bottomrow h3 {
	color: #fff;
	font-weight: 300;
	margin-bottom: 30px;
}

ul.latestnews {
	margin: 0;
	padding: 0;
	list-style: none;
}

.latest_news_image {
	width: 50%;
	height: auto;
	float: left;
	margin: 0 15px 25px 0;
	border: 1px solid #111;
	transition:all .3s;
}

.latest_news_image:hover {
	transform: scale(1.05);
	transition:all .3s;
}

ul.latestnews h4 {
	padding: 0;
	text-transform: uppercase;
}

ul.latestnews h4 a {
	color: #fff;
	font-weight: 700;
}

ul.latestnews .article-info {
	font-size: 0.9em;
}

.social_links {
	margin-top: 25px;
}

.social_links i {
	width: 40px;
	height: 40px;
	text-align: center;
	line-height: 40px;
	border: 1px solid #88a1b7;
	margin: 0 10px 0 0;
	color: #88a1b7;
	font-size: 24px;
	transition:all .3s;
}

.social_links i:hover {
	border: 1px solid #fff;
	color: #fff;
	transition:all .3s;
}

.hot_simple_contact input, .hot_simple_contact textarea, .hot_simple_contact input.button {
	background: transparent;
	border: 1px solid #88a1b7;
	border-radius: 0;
	height: 40px;
	line-height: 40px;
	width: 100%;
	font-family: 'Lato', sans-serif;
	color: #88a1b7;
	transition:all .3s;
	padding-top: 0;
	padding-bottom: 0;
}

.hot_simple_contact input, .hot_simple_contact textarea {
	margin-bottom: 10px;
}

.hot_simple_contact input::placeholder, .hot_simple_contact textarea::placeholder {
	color: #88a1b7;
}

.hot_simple_contact textarea {
	height: 87px;
}

.hot_simple_contact input.button {
	width: auto;
	padding-left: 30px;
	padding-right: 30px;
	line-height: 1;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 13px;
}

.hot_simple_contact input:focus, .hot_simple_contact textarea:focus, .hot_simple_contact input.button:hover, .hot_simple_contact input.button:focus, .hot_simple_contact input.button:active {
	background: transparent;
	border: 1px solid #fff;
	color: #fff;
	transition:all .3s;
	outline: 0;
}

/* message */

#system-message-container {
    position: fixed;
    z-index: 999;
    bottom: 30px;
    right: 30px;
}

#system-message-container span.info {
    border: 0;
    background: transparent;
    padding: 0;
}

#system-message-container span.info::before {
    float: none;
}

/* copyrightrow */

.copyrightrow {
	background: #222;
}

/* Effect 21: borders slight translate */

.pagination ul {
	text-transform: uppercase;
	font-size: 20px;
}

.pagination a {
	box-sizing: border-box;
	padding: 10px 20px;
	transition:all 0.5s;
	border: 1px solid #ccc;
}

.pagination a:hover {
	border: 5px solid #ccc;
	transition:all 0.5s;
}

/* lightbox */

#responsivelightbox {
	max-width: 1330px;
	margin: 0 auto;
}

/* slicebox */

.sb-slider {
	margin: 0 auto 10px;
}

/* POLYGONS SCRIPT */

.content_sparky *,
.content_sparky *:after,
.content_sparky *:before {
	box-sizing: border-box;
}

.clearfix:before,
.clearfix:after {
	content: '';
	display: table;
}

.clearfix:after {
	clear: both;
}

body.body--hidden {
	overflow: hidden;
}

body.body--hidden .codrops-header,
body.body--hidden .content--related {
	opacity: 0;
}

.codrops-header,
.content--related {
	transition: opacity 300ms ease-in-out;
}

.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}

/* CARD */

.card {
	position: relative;
	float: left;
	width: 29%;
	height: 0;
	margin: 2%;
	padding-bottom: 20%;
	border-radius: 0;
    border: 0;
}

.card__container {
	position: fixed;
	top: 0;
	left: 0;
	overflow-x: hidden;
	overflow-y: auto;
	width: 100%;
	height: 100%;
	-webkit-transform: translate3d(0, 0, 0);
	/* prevents flicker */

	-webkit-overflow-scrolling: touch;
}

.card__container--closed {
	position: absolute;
	overflow: hidden;
}

.card__image {
	position: relative;
	left: 50%;
	display: block;
	height: 100%;
	max-height: 500px;
	transform: translateX(-50%);
}

.card__container--closed .card__image {
	width: 100%;
	cursor: pointer;
	border: 0;
	transition: all 0.5s;
	border: 1px solid #2e485e;
}

.card__container--closed .card__image:hover {
	border: 4px solid #2e485e;
	transition: all 0.3s;
}

.card__content {
	position: relative;
	width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 30px 40px 22px;
	color: #888;
	background: #fff;
}

.card__container--closed .card__content {
	margin-top: 0;
	padding: 5px 32px 5px 0;
	pointer-events: none;
	background: transparent;
	position: relative;
	top: -20px;
}

.card__caption {
	font-size: 2em;
	max-width: 900px;
	margin: 0 auto;
	padding: 35px 30px;
}

.card__container--closed .card__caption {
	font-size: 1em;
	max-width: none;
	padding: 20px;
	transform: translateY(-100%);
	background: rgba(0,0,0,0.5);
}

h2.card__title {
	line-height: 1;
	padding: 0;
	font-size: 1.5em;
}

.card__container--closed .card__title {
	color: #fff;
}

.card__subtitle {
	font-size: .95em;
	line-height: 1;
	margin: 5px 0 0;
	color: #777778;
}

.card__container--closed .card__subtitle p {
	margin: 0;
}

.card__container--closed .card__subtitle {
	color: #f5f5f5;
}

.card__copy {
	font-size: 1.25em;
	max-width: 900px;
	margin: 0 auto;
	padding: 25px 30px 100px;
	color: #3b393d;
}

.card__copy p:first-of-type {
	font-size: 1.5em;
	padding: 0 0 1em 0;
}

.card__btn-close {
	font-size: 36px;
	position: absolute;
	top: 0;
	right: 0;
	padding: 36px;
	cursor: pointer;
}

.card__btn-close:hover {
	color: #000;
}

.card__container--closed .card__btn-close {
	display: none;
}

.meta {
	font-size: .85em;
	display: flex;
	padding: 0 0 35px 0;
	align-items: center;
}

.card__container--closed .meta {
	visibility: hidden;
}

.meta__author {
	font-weight: bold;
}

.meta__date {
	margin: 0 0 0 auto;
}

@media screen and (max-width: 1209px) {
    .toprow nav:not(.opened) ul.menu {
		display: none;
	}
  	.toprow nav.opened ul.menu ul ul {
		padding: 0 15px;
	}
}

@media only screen and (max-width: 992px) {
	.card {
		width: 29%;
		padding-bottom: 22.2%;
	}
	.card__image {
		max-height: 260px;
	}
	.card__content {
		margin-bottom: 0;
		padding-right: 20px;
		padding-left: 20px;
	}
}

@media only screen and (max-width: 768px) {
	.card {
		width: 96%;
		padding-bottom: 53%;
	}

	.card__image {
		max-height: 360px;
	}

}

@media only screen and (max-width: 400px) {
	.card__caption {
		font-size: 1.25em;
		padding: 35px 0px 0px;
	}
	.meta {
		padding: 0 0 25px 0;
	}
	.card__copy {
		font-size: 90%;
		padding: 25px 0px 100px;
	}
}

/* PATTERN */

.pattern {
	position: fixed;
	z-index: -1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.pattern--hidden {
	visibility: hidden;
	opacity: 0;
}

.pattern--hidden .polygon {
	transition-duration: 0ms;
}

.pattern svg {
	width: 100%;
	height: 100%;
}

.polygon {
	transition: transform 300ms ease-in-out, opacity 300ms ease-in-out;
	transform: scale(1);
	transform-origin: center bottom;
	fill: transparent;
}

.polygon--hidden {
	opacity: 0;
	transform: scale(0);
}

/* disable scale on firefox */

.ff .polygon {
	transform: scale(1)!important;
}

/* contact */

.com-contact.contact dt {
    float: inline-start;
    clear: both;
    padding-top: 15px;
}

.com-contact.contact dd {
    padding-inline-start: 30px;
}

.com-contact.contact dt + dd {
    padding-top: 15px;
}

@media (min-width: 992px) {

    .com-contact.contact {
        display: flex;
        flex-wrap: wrap;
    }

    .com-contact.contact .page-header,
    .com-contact.contact h1 {
        width: 100%;
    }

    .com-contact__container {
        width: 34%;
    }

    .com-contact__form.contact-form {
        width: 66%;
        margin-top: 15px;
    }

    .com-contact__form.contact-form legend {
        background: transparent;
        padding: 15px 0;
        font-size: 24px;
        line-height: 1.4;
        font-weight: 700;
        text-transform: uppercase;
    }

    .com-contact.contact > h2 {
        display: none;
    }

}

/* responsive */

.nav-toggle {
    background: url(../images/tinynav_white.png);
    background-size: 42px 84px;
    margin-top: 15px;
}

@media only screen and (max-width: 1399px) {

	.card__container--closed .card__image {
		border: 0;
	}

	.gallery-cell .contents {
		width: 90% !important;
		top: 60px !important;
	}

	.card__container--closed .card__caption {
		position: relative;
		left: 1px;
	}

}

@media only screen and (max-width: 1210px) {

	.sparky_container > .mp_topmenu.sparky_cell {
		width: 50%;
	}

	.sparky_container > .mp_search.sparky_cell {
		width: 25%;
	}

}

@media only screen and (max-width: 992px) {

	.latest_news_image {
		width: 100%;
		float: none;
		margin: 0 15px 10px 0;
	}

	.gallery-cell .contents h2 {
		font-size: 40px !important;
	}

	.gallery-cell .contents {
		font-size: 18px !important;
		top: 30px !important;
	}

}

@media only screen and (max-width: 768px) {

	.sparky_container > .mp_logo.sparky_cell,
  	.sparky_container > .mp_topmenu.sparky_cell {
		width: 50% !important;
		float: left;
	}

	.sparky_container > .mp_search.sparky_cell {
		width: 100% !important;
		float: none;
		clear: both;
		text-align: left;
      	border-left: 0;
	}

	.gallery-cell img {
		min-height: 250px;
	}

	.gallery-cell .contents h2 {
		font-size: 32px !important;
	}

	.gallery-cell .contents {
		font-size: 16px !important;
		top: 30px !important;
	}
}

	
