html, body {
  	overflow-x: hidden;
}

a, a:hover {
	transition: color .3s;
}

/* forms */

.input-group input.form-control {
  	height: 51px;
    border-radius: 0;
}

.inputbox, input.required, textarea.required, .contentrow .search input.inputbox {
	display: inline-block;
	vertical-align: middle;
	padding: 15px;
	margin: 0;
	background-color: #d6e8ee;
	border: 1px solid #d6e8ee;
}

input.inputbox::-webkit-input-placeholder {
   color: #2c343c;
}

input.inputbox::-moz-placeholder {
   color: #2c343c;
}

input.inputbox:-ms-input-placeholder {
   color: #2c343c;
}

.contact-form input {
	max-width: 248px;
}

button, button.btn, a.btn, button.btn-primary, p.readmore a, a.readmore {
    display: inline-block;
    padding: 12px 35px;
    margin: 0;
    color: #2c343c;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 3px solid #d6e8ee;
    text-transform: uppercase;
    transition: all .3s;
    background: #fff;
}

button:hover, button.btn:hover, a.btn:hover, button.btn-primary:hover, p.readmore a:hover, a.readmore:hover {
  	color: #2c343c;
	text-decoration: none;
	background: #d6e8ee;
  	border: 3px solid #d6e8ee;
	transition: all .3s;
}

.search .btn {
	padding: 6px 35px;
}

dl.search-results a {
	font-size: 18px;
}

dl.search-results dd.result-created {
	color: #999;
	padding-top: 10px;
}

#login-form input {
	padding: 4px;
}

textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
	-webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

/* logorow */

.logorow {
	border-top: 10px solid #042e3e;
	border-bottom: 1px solid #d6e8ee;
}

.sparky_logo {
	display: inline-block;
	border-top: 10px solid #d44457;
	margin-top: -10px;
	padding-top: 12px;
	transition: all .3s;
}

.logorow .sparky_logo:hover {
	border-top: 10px solid #f5f5f5;
	transition: all .3s;
}

.sparky_cell.mp_logo {
	padding-top: 0;
	padding-bottom: 0;
}

.sparky_logo span:nth-child(1) {
	font-weight: 900;
}

.sparky_logo span:nth-child(2) {
	font-weight: 500;
}

.sparky_logo span:nth-child(3) {
	font-weight: 400;
}

.mnu_topmenu > li > a, .mnu_topmenu > li > span {
	text-transform: uppercase;
	transition: all 0s;
}

.mnu_topmenu li ul {
    padding-top: 10px;
    padding-bottom: 10px;
}

.mnu_topmenu li ul ul {
	margin-top: -10px;
}

.mnu_topmenu li.active:hover a {
	color: #fff !important;
}

.mp_search {
	text-align: right;
}

.logorow .input-group {
  	justify-content: flex-end;
  	margin-bottom: 0;
}

.logorow input.form-control {
	background:transparent;
	border: 0;
	border-left: 1px solid #d6e8ee;
	padding: 12px 0 12px 8px;
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	font-size: 16px;
	max-width: 100px;
	outline: none;
	-webkit-appearance: none;
}

.logorow input.form-control:focus {
	-webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.logorow button.btn {
	border: 0;
	padding: 0;
	margin: 0;
  	width: 16px;
    background:url(../images/searchButton.gif) no-repeat center;
  	background-size: 16px 16px;
  	text-indent: -9999px;
  	opacity: 0.4;
}

.logorow button.btn:hover {
  	opacity: 1;
}

.mnu_topmenu li ul a:hover, .mnu_topmenu li ul span:hover {
	font-weight: 700;
}

ul.navv > li > a ~ span, ul.navv > li > a > span {
    position: absolute;
    line-height: 1;
    font-size: 0.8em;
    height: auto;
    top: 34px;
}

ul.navv > li > a > span {
  	left: 15px;
}

/* carouselrow */

.carouselrow .sparky_cell {
	padding: 0;
}

.gallery-cell h2, .gallery-cell h3, .gallery-cell p {
	z-index: 2;
	position: relative;
}

.gallery-cell h2 {
	margin: 0 !important;
}

.gallery-cell h3 {
	color: #fff;
	background: url(../images/custom/row_subheading_bg_white.png) no-repeat bottom left !important;
	line-height: 72px;
	padding-bottom: 25px !important;
	margin: 10px 0 30px 0 !important;
}

.gallery-cell h3.shadow {
	background: none;
	color: #000;
	position: absolute;
	font-size: 120px;
	z-index: 1;
	opacity: 0.1;
}

.gallery-cell a {
	color: #fff;
	font-weight: 900;
	border-bottom:1px solid #fff;
}

.gallery-cell a:hover {
	border-bottom:2px solid #fff;
}

.flickity-page-dots {
	bottom: 0 !important;
	height: 100px;
	background: rgba(1, 32, 44, 0.95);
}

.flickity-page-dots .dot {
	width: 100px !important;
	height: 100px !important;
	border-radius: 0 !important;
	margin: 0 !important;
	opacity: 1 !important;
}

.flickity-page-dots .dot.is-selected {
	border-bottom: 3px solid #d44457;
}

.flickity-page-dots .dot:nth-child(1) {
	background: url(../images/custom/icon1_white.png) no-repeat center;
}

.flickity-page-dots .dot:nth-child(2) {
	background: url(../images/custom/icon2_white.png) no-repeat center;
}

.flickity-page-dots .dot:nth-child(3) {
	background: url(../images/custom/icon3_white.png) no-repeat center;
}

.flickity-page-dots .dot:nth-child(4) {
	background: url(../images/custom/icon4_white.png) no-repeat center;
}

.flickity-page-dots .dot:nth-child(5) {
	background: url(../images/custom/icon5_white.png) no-repeat center;
}

.flickity-page-dots .dot:nth-child(6) {
	background: url(../images/custom/icon1_white.png) no-repeat center;
}

.flickity-page-dots .dot:nth-child(7) {
	background: url(../images/custom/icon1_white.png) no-repeat center;
}

.flickity-page-dots .dot.is-selected:nth-child(1) {
	background: #fff url(../images/custom/icon1_red.png) no-repeat center;
}

.flickity-page-dots .dot.is-selected:nth-child(2) {
	background: #fff url(../images/custom/icon2_red.png) no-repeat center;
}

.flickity-page-dots .dot.is-selected:nth-child(3) {
	background: #fff url(../images/custom/icon3_red.png) no-repeat center;
}

.flickity-page-dots .dot.is-selected:nth-child(4) {
	background: #fff url(../images/custom/icon4_red.png) no-repeat center;
}

.flickity-page-dots .dot.is-selected:nth-child(5) {
	background: #fff url(../images/custom/icon5_red.png) no-repeat center;
}

.flickity-page-dots .dot.is-selected:nth-child(6) {
	background: #fff url(../images/custom/icon1_red.png) no-repeat center;
}

.flickity-page-dots .dot.is-selected:nth-child(7) {
	background: #fff url(../images/custom/icon1_red.png) no-repeat center;
}

/* advertrow */

.advertrow {
	padding: 70px 0 0 0;
}

.advertrow .moduletable {
	clear: both;
	margin-bottom: 60px;
}

.advertrow .advert_image {
	float: left;
	width: 50%;
}

.advertrow .advert_text {
	float: right;
	width: 50%;
	padding-left:15px;
}

.advertrow img {
	-webkit-clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
	clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}

/* alternative way without clip-path */
/*.advertrow .custom::before {
	position: absolute;
	content: " ";
	width: 245px;
	height: 164px;
	background: url(../images/custom/14deg_right.png) top right no-repeat;
}*/

.advertrow .custom h3 {
	background: url(../images/custom/small_heading_bg_grey.png) bottom left no-repeat;
	padding: 12px 0;
	margin-bottom:15px;
	font-size: 36px;
	font-weight: 300;
}

/* pricingrow */

.pricingrow {
	padding: 60px 0;
	text-align: center;
}

.pricingrow h2.row_heading {
	background: none;
	display: block;
	font-size: 72px;
    line-height: 72px;
    font-weight: 900;
    -webkit-clip-path: none;
    clip-path: none;
    color: #2c343c;
    text-align: center;
    padding: 0 0 30px;
}

.pricingrow h2.row_heading span {
	font-weight: 900;
}

.pricingrow h3.row_subheading {
	text-align: center;
	background: none;
	padding-bottom: 0;
}

.pricingrow h3 {
	text-align: center;
	background: url(../images/custom/small_heading_bg_white.png) bottom center no-repeat;
	padding-bottom: 15px;
	font-size: 36px;
}

.pricingrow h3 span {
	font-weight: 900;
}

.pricingrow ul {
	margin: 15px 0 25px;
}

.pricingrow li {
	list-style: none;
	border-bottom: 1px solid #c9dde4;
	padding: 10px 0;
}

.pricingrow li.price {
	font-weight: 900;
	border-bottom: 0;
	padding-top: 20px;
}

.pricingrow a.btn {
	background: url(../images/custom/reserve_button_red.png) no-repeat;
	display: inline-block;
	width: 182px;
	height: 56px;
	font-weight: 500;
	color: #fff;
	border:0;
	line-height:26px;
}

.pricingrow a.btn:hover {
	background: url(../images/custom/reserve_button_white.png) no-repeat;
	color: #d44457;
	font-weight: bold;
}

/* countersrow */

.countersrow {
	padding: 30px 0;
}

.counter_number {
	font-weight: 900;
	margin: 20px 0 10px !important;
}

/* contentrow */

.contentrow {
	padding: 70px 0 50px;
}

.blog-featured .pull-right,
.blog .pull-right,
.blog-featured .pull-left,
.blog .pull-left {
	max-width: 50%;
}

.blog-item {
  	padding: 15px 0;
}

.sparky_home .blog-item {
  	padding-top: 0;
	padding-bottom: 60px;
}

.sparky_home .blog-item:last-child {
	padding-bottom: 0;
}

.item-image img {
	-webkit-clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
	clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
}

.item-page .item-image img {
	-webkit-clip-path: polygon(0 0, 100% 0, 87% 100%, 0 100%);
	clip-path: polygon(0 0, 100% 0, 87% 100%, 0 100%);
	padding-bottom: 45px;
}

/* alternative approach without clip-path */
/*.item-image::before {
	position: absolute;
	content: " ";
	background: url(../images/custom/14deg_left.png) bottom left no-repeat;
	width: 150px;
	height: 286px;
}*/

h2 {
	padding:30px 0;
}

h2.row_heading, .gallery-cell h2 {
	font-size: 20px;
	line-height:1.2;
	font-weight: 900;
	background: url(../images/custom/row_heading_bg_red.png) no-repeat;
	color: #fff;
	padding: 8px 25px 15px 30px;
	display: inline-block;
	margin: 0 10px;
	-webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 46px, 0 46px);
	clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 46px, 0 46px);
}

h2.row_heading span, .gallery-cell h2 span, .page-header h1 span {
	font-weight: 300;
}

h3.row_subheading, .gallery-cell h3, .page-header h2 {
	font-size: 72px;
	line-height: 72px;
	font-weight: 900;
	background: url(../images/custom/row_subheading_bg.png) no-repeat bottom left;
	padding:0 10px 15px 0;
	margin: 10px 10px 60px;
}

h3 span {
	font-weight: 900;
}

h3.row_subheading.shadow, .page-header h1.shadow, .page-header h2.shadow {
	background: none;
	color: #f7f7f7;
	position: absolute;
	font-size: 120px;
	line-height: 1.1;
	z-index: -1;
	white-space: nowrap;
	max-width: 1000px;
	overflow: hidden;
  	box-shadow: none !important;
}

.page-header h1 {
	margin: 0;
	padding: 0 0 45px;
}

.page-header h2 {
	margin: 10px 0 30px;
}

.item-page .page-header h2 {
    margin: 10px 0 90px;
}

.item-page h3 {
  padding-top:30px;
}

.page-header h2.shadow {
	margin-top: 0;
	max-width: 775px;
}

h2.item-title {
	background: url(../images/custom/small_heading_bg_grey.png) bottom left no-repeat;
	margin-bottom: 30px;
	padding-bottom:15px;
	font-weight: 900;
}

h2.item-title span {
	font-weight: 300;
}

.blog-featured h2.item-title {
	padding-top: 0;
}

ul.tags.inline li a.label {
	font-size:400;
}

legend {
    margin: 30px 0;
}

legend h4 {
    display: inline-block;
    position: relative;
    top: -30px;
    padding: 0 10px;
    left: -10px;
    margin: 0;
	background: #fff;
}

.mp_right {
	background: #fff;
}

.mp_right .moduletable {
	padding-bottom: 30px;
}

.mp_right .moduletable:last-child {
	padding-bottom: 0;
}

.mp_right h3 {
	background: url(../images/custom/small_heading_bg_grey.png) bottom left no-repeat;
	padding-bottom: 15px;
	margin-bottom: 15px;
	font-size: 36px;
	font-weight: 700;
	clear:both;
}

.mp_right i {
	font-size: 36px;
	width: 36px;
	text-align: center;
    float: left;
    margin: 0 15px 15px 0;
}

.mp_right h4 {
	clear: both;
}

.mp_right h4 a {
	font-weight: 300;
	text-transform: uppercase;
}

.mp_right h4 a span {
	font-weight: 900;
}

.mp_right .newsflash img {
	max-width: 120px;
	float: right;
	margin: 0 0 10px 10px;
	-webkit-clip-path: polygon(17px 0, 100% 0, 100% 100%, 0 100%);
	clip-path: polygon(17px 0, 100% 0, 100% 100%, 0 100%);
}

.mnu_sidemenu > li {
	border-bottom:1px solid #e7f0f9;
}

/* testimonialsrow */

.testimonialsrow {
	padding: 70px 0 50px;
}

.testimonialsrow .custom > div {
	max-width: 230px;
	float: left;
	margin-right: 20px;
}

.testimonialsrow img {
	-webkit-clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
	clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

/* alternative approach without clip-path */
/*.testimonialsrow .custom > div:before {
    position: absolute;
    content: " ";
    background: url(../images/custom/14deg_left.png) bottom left no-repeat;
    width: 250px;
    height: 167px;
}*/

.testimonialsrow .custom h3 {
	background: url(../images/custom/small_heading_bg_grey.png) bottom left no-repeat;
	display: inline-block;
	padding-bottom: 15px;
	margin-bottom:15px;
	font-size: 36px;
	font-weight: 300;
}

/* bottomrow */

.bottomrow {
	padding: 30px 0 40px;
}

.bottomrow h3 {
	color: #d6e8ee;
	background: url(../images/custom/small_heading_bg_grey.png) bottom left no-repeat;
	padding-bottom: 15px;
	margin-bottom:15px;
	font-size: 36px;
	font-weight: 300;
}

.bottomrow h3 span {
	font-weight: 900;
}

.bottomrow li {
	border-bottom:1px solid #04374a;
}

.bottomrow li:last-child {
	border-bottom: 0;
}

/* footerrow */

.footerrow, .footerrow a {
	color: #53727d;
}

.footerrow .mp_copyright p {
	padding-top: 20px
}

.footerrow .mp_copyright a {
	text-decoration: underline;
}

.mp_copyright p {
	text-align: right;
}

.footerrow .sparky_logo {
	border-top: 0;
	margin-top: 0;
	padding-top: 5px;
}

/* responsive */

.nav-toggle {
	float: left;
	margin-top: 3px;
}

.nav-collapse.opened li a {
	height: auto;
}

.nav-collapse.opened > ul ul {
	padding: 0 10px;
}

@media (max-width: 1250px) {

	.hot_swipe_carousel_slides .contents {
		top:15% !important;
	}

	.gallery-cell h3 {
		font-size: 60px;
		line-height: 60px;
	}

	.gallery-cell h3.shadow {
		font-size: 100px;
	}


}

@media (max-width: 1090px) {

	h3.row_subheading.shadow, .page-header h1.shadow, .page-header h2.shadow {
		max-width: 900px;
	}

	.gallery-cell h3 {
		font-size: 48px;
		line-height: 48px;
	}

	.gallery-cell h3.shadow {
		font-size: 80px;
	}

	.hot_swipe_carousel_slides .contents {
		font-size: 14px !important;
	}

	.flickity-page-dots {
		height: 80px;
	}

	.flickity-page-dots .dot {
	    width: 80px !important;
	    height: 80px !important;
	}

	.mnu_topmenu > li > a, .mnu_topmenu > li > span {
	    padding: 0 10px;
	}
}

@media (max-width: 992px) {
  
    .one .mp_logo {
		width: 30% !important;
	}

	.one .mp_topmenu {
		width: 20% !important;
	}

	.one .mp_search {
		width: 50% !important;
	}

    .logorow nav:not(.opened) ul.menu {
		display: none;
	}

	.mp_search,
	.sparky_row6 > .container > [class*="span"] {
		width: 50%;
	}

	.mp_right .newsflash img {
		max-width: 100%;
	}

	.mp_right i {
		float: none;
		display: block;
	}

	.gallery-cell h3 {
		font-size: 32px;
		line-height: 32px;
	}

	.gallery-cell h3.shadow {
		font-size: 54px;
	}

	.hot_swipe_carousel_slides .contents {
	    left: 25% !important;
	    width: 60% !important;
	}

	.hot_swipe_carousel_slides .contents h2 {
	    font-size: 16px !important;
	    padding: 12px 25px 15px 30px;
	}

	.advertrow .moduletable {
	    margin-bottom: 30px;
	    min-height: 250px;
	}
  
  	h3.row_subheading.shadow, .page-header h1.shadow, .page-header h2.shadow {
    	max-width: 750px;
	}

}

@media (max-width: 768px) {

	.hot_swipe_carousel_slides .contents h2 {
	    font-size: 12px !important;
	    padding: 3px 25px 3px 15px;
	    background-size: cover;
	}

	.hot_swipe_carousel_slides .contents {
		font-size: 12px !important;
	}

	.gallery-cell h3 {
		font-size: 36px;
		line-height: 36px;
		padding-bottom: 15px !important;
	}

	.gallery-cell h3.shadow {
		font-size: 48px;
	}

	.flickity-page-dots {
		height: 40px;
	}

	.flickity-page-dots .dot {
	    width: 40px !important;
	    height: 40px !important;
	    background-size: 25px 25px !important;
	}

	h3.row_subheading.shadow, .page-header h1.shadow, .page-header h2.shadow {
		max-width: 725px;
	}

	.mp_advert5 {
		padding-bottom: 45px;
	}

	.countersrow.sparky_full {
	    background-image: url(../images/counters_bg_small.jpg);
	    background-position: top center !important;
	}

	.counter_field, .pricingrow .sparky_cell, .bottomrow .sparky_cell {
	    width: 50% !important;
	    float: left !important;
	}

	.pricingrow .sparky_cell:nth-child(even), .bottomrow .sparky_cell:nth-child(odd) {
		clear: both;
	}

	.content_sparky {
		padding-right: 15px !important;
	}

	.pull-right.item-image,
	.pull-left.item-image {
		float: none;
	    margin: 0 0 30px 0;
	    max-width: 100%;
	}

	.fontawesome-icon-list div {
	    width: 50%;
	}

	.mp_footer {
		text-align: center;
		padding-bottom: 0;
	}

	.footerrow .mp_copyright p {
		text-align: center;
	    padding-top: 20px;
      	margin-bottom: 0;
	}

}

@media (max-width: 767px) {
  
  	.nav-toggle {
      margin-top: 5px;
  	}

	.hot_swipe_carousel_slides .contents {
		top:10% !important;
	}

	.mp_advert1 {
		padding-top: 0;
		padding-bottom: 0;
	}

	.mp_advert2 {
		padding-top: 0;
	}

	.advertrow .moduletable {
    	margin-bottom: 60px;
	    min-height: 0;
	}

	.advertrow .advert_text {
		padding-left: 0;
	}

	h3.row_subheading.shadow, .page-header h1.shadow, .page-header h2.shadow {
		max-width: 90%;
	}

}

@media (max-width: 650px) {

	.one .mp_logo {
		width: 100% !important;
	}

	.one .mp_topmenu {
		width: 50% !important;
		padding-top: 0;
		padding-bottom: 0;
		border-top:1px solid #e1e1e1;
	}

	.one .mp_search {
		width: 50% !important;
		padding-top: 0;
		padding-bottom: 0;
		border-top:1px solid #e1e1e1;
	}

	.logorow input.inputbox {
		width: 80%;
		max-width: 100%;
		border-left:0;
	}

	.sparky_logo {
		padding-top: 0;
	}

	.flickity-viewport {
		height: 80vw !important;
		background:rgba(44, 52, 60, 0.95);
	}

	.gallery-cell h3 {
		font-size: 22px;
		line-height: 22px;
		padding-bottom: 5px !important;
		margin-bottom: 10px !important;
	}

	.gallery-cell h3.shadow {
		font-size: 40px;
	}

	.hot_swipe_carousel_slides .contents {
	    left: 5% !important;
	    width: 85% !important;
	    top: 100% !important;
    	margin-top: 15px;
	}

	.hot_swipe_carousel_slides .contents p {
		font-size: 11px !important;
		line-height: 1.3 !important;
	}

	.flickity-page-dots {
		height: 30px;
	}

	.flickity-page-dots .dot {
	    width: 40px !important;
	    height: 30px !important;
	    background-size: 25px 25px !important;
	}

	h3.row_subheading, .page-header h2, .pricingrow h2.row_heading {
	    font-size: 48px;
	    line-height: 48px;
	}

	h3.row_subheading.shadow, .page-header h2.shadow {
		font-size: 80px;
	}

	.advertrow .advert_image, .advertrow .advert_text {
	    float: none;
	    width: 100%;
	}

	.advertrow .advert_image, .testimonialsrow img {
		margin-bottom: 15px;
	}

	.testimonialsrow .custom > div {
		max-width: 100%;
	}

	.mp_right {
		padding-left: 10px;
	}

	.mp_right .newsflash img {
		max-width: 100px;
	}

	.counter_field, .pricingrow .sparky_cell, .bottomrow .sparky_cell {
	    width: 100% !important;
	    float: none !important;
	}

	.counter_number {
	    margin: 20px 0 0 !important;
	}

	.contact .dl-horizontal dd {
		margin-left: 0;
	}

	.contact .dl-horizontal dt {
	    width: 0;
	}

}

@media (max-width: 500px) {

	.flickity-viewport {
		height: 100vw !important;
	}

	.logorow input.inputbox {
		width: 60%;
	}

}

@media (max-width: 360px) {

	h2.row_heading {
		font-size: 14px;
		line-height: 24px;
	}

	.flickity-viewport {
		height: 120vw !important;
	}

}

	
/* Extasy home: never reserve 160px for an empty Joomla component output. */
body.p6-home.p6-empty-main main#main-content {display:none!important;}
body.p6-home.p6-empty-main > footer.footerrow {margin-top:0!important;}

/* Extasy home: footer follows the event overview without inherited offset. */
body.p6-home > footer.footerrow { margin-top: 0 !important; }
body.p6-home #main-content.visually-hidden { position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
