/* ==========================================================================
   Global Styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css?family=Montserrat:500,500i,700,700i,800,800i,900,900i&display=swap');


*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  background: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.31578;
  color: #878787;
}

#page {
  overflow: hidden;
  position: relative;
  padding-top: 153px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: padding .3s ease-in-out;
}

#page.page-with-promo-row {
  padding-top: 195px;
}

body.scrolled #page {
  padding-top: 103px;
}

body.scrolled #page.page-with-promo-row {
  padding-top: 145px;
}

a {
  text-decoration: none;
  transition: color .3s ease-in-out, background-color .3s ease-in-out, border-color .3s ease-in-out;
}

a:hover {
  text-decoration: underline;
}

p {
  margin: 12px 0 22px;
}

ul, ol {
  margin: 12px 0 22px;
  padding: 0 0 0 1em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  line-height: 1.1;
  margin: 1em 0 .5em;
  color: #0F5563;
}

h1 {
  font-size: 50px;
  line-height: 53px;
  letter-spacing: 4px;
}

h2 {
  font-size: 40px;
  font-size: 42px;
  letter-spacing: 3px;
}

h3 {
  font-size: 25px;
  line-height: 27px;
  letter-spacing: 2px;
}

h4 {
  font-size: 20px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

p:first-child, ul:first-child, ol:first-child, h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
  margin-top: 0;
}

p:last-child, ul:last-child, ol:last-child, h1:last-child, h2:last-child, h3:last-child, h4:last-child, h5:last-child, h6:last-child {
  margin-bottom: 0;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-justify {
  text-align: justify;
}

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

.embed-responsive {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  overflow: hidden;
  z-index: 5;
}

.embed-responsive-16by9 {
  padding-bottom: 56.25%;
}

.embed-responsive-4by3 {
  padding-bottom: 75%;
}

.embed-responsive .embed-responsive-item,
.embed-responsive embed,
.embed-responsive iframe,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.container {
  padding: 0 10px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.container:before,
.container:after {
  content: " ";
  display: table;
}

.container:after {
  clear: both;
}

.row {
  margin: 0 -10px;
}

.row:before,
.row:after {
  content: " ";
  display: table;
}

.row:after {
  clear: both;
}

.container-large {
  position: relative;
  z-index: 1;
  margin: auto;
}

@media (max-width: 767px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
  }

  h1 {
    font-size: 40px;
    line-height: 42px;
    letter-spacing: 3px;
  }

  h2 {
    font-size: 30px;
    line-height: 32px;
    letter-spacing: 2px;
  }
}

@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}

@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}

@media (min-width: 1230px) {
  .container {
    width: 1200px;
  }
}

@media (max-width: 991px) {
  h1 {
    font-size: 48px;
  }
  
  h2 {
    font-size: 32px;
  }
}

/* ==========================================================================
   Header
   ========================================================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  color: #ffffff;
}

#header a {
  color: inherit;
}

#header #top-row {
  line-height: 22px;
  padding: 10px 0;
  font-size: 16px;
}

#header #top-row .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#header #top-row .container:before,
#header #top-row .container:after {
  display: none;
}

#header #top-row a + a {
  margin-left: 10px;
}

#header #header-content {
  padding: 40px 0;
  transition: all .3s ease-in-out;
}

body.scrolled #header #header-content {
  padding: 15px 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#header-content .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#header-content .container:before,
#header-content .container:after {
  display: none;
}

#header .button {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 20px;
}

@media (min-width: 992px) {
  #menu-toggle {
    display: none;
  }

  #navigation {
    flex: 1;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
  }
  
  #navigation:before {
    display: block;
    content: "";
    width: 1px;
  }

  #navigation .menu {
    display: block;
    list-style: none;
    margin: 0;
  }

  #navigation .menu > li {
    display: block;
    float: left;
    position: relative;
  }

  #navigation .menu > li > a {
    display: block;
    float: left;
    font-size: 13px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  #navigation .menu > li + li {
    margin-left: 20px;
  }

  #navigation .menu .sub-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    padding: 15px ;
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease-in-out;
  }

  #navigation .menu .sub-menu li {
    display: block;
  }

  #navigation .menu .sub-menu li + li {
    margin-top: 10px;
  }

  #navigation .menu .sub-menu a {
    display: block;
    text-decoration: none;
    color: #878787;
    white-space: nowrap;
    font-size: 14px;
    line-height: 20px;
  }

  #navigation .menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
  }

  #navigation .right-menu {
    display: flex;
    align-items: center;
  }

  #navigation .social-links {
    margin-right: 10px;
  }

  #navigation .social-links a {
    margin-right: 10px;
    display: inline-block;
    vertical-align: top;
  }
}

@media (min-width: 992px) and (max-width: 1229px) {
  #navigation {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  #navigation:before {
    display: none;
  }

  #navigation .right-menu {
    order: -1;
    width: 100%;
    justify-content: flex-end;
    margin: 0 0 10px;
  }
}

@media (max-width: 991px) {
  #page {
    padding-top: 103px;
  }

  #page.page-with-promo-row {
    padding-top: 145px;
  }

  #header #header-content {
    padding: 15px 0;
  }

  #header-content .container {
    flex-wrap: wrap;
  }

  #logo {
    flex: 1;
    margin-right: 15px;
  }

  #navigation {
    display: none;
    width: 100%;
  }

  #menu-toggle {
    display: inline-block;
    vertical-align: top;
    padding: 10px 0;
    line-height: 20px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
  }
  
  #menu-toggle .bars {
    display: block;
    float: left;
    height: 20px;
    width: 30px;
    border-top: solid 2px;
    border-bottom: solid 2px #ffffff;
    margin: 0 10px 0 0;
    position: relative;
    transition: border-color .3s ease-in-out;
  }
  
  #menu-toggle .bars:before {
    border-top: solid 2px #ffffff;
    position: absolute;
    top: 7px;
    left: 0;
    width: 100%;
    display: block;
    content: "";
    transition: border-color .3s ease-in-out;
  }

  #navigation .menu {
    display: block;
    list-style: none;
    margin: 20px 0 0;
    padding: 20px 0;
    border-top: solid 1px #ffffff;
  }

  #navigation .menu > li {
    display: block;
  }

  #navigation .menu > li > a {
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 22px;
  }

  #navigation .menu > li + li {
    margin-top: 10px;
  }

  #navigation .menu .sub-menu {
    display: none;
    padding: 10px 0 0 10px;
    margin: 0;
    list-style: none;
  }

  #navigation .menu li.active > .sub-menu {
    display: block;
  }

  #navigation .menu .sub-menu a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    line-height: 20px;
  }

  #navigation .menu .sub-menu li + li {
    margin-top: 10px;
  }

  #navigation .right-menu {
    padding: 0 0 20px;
  }

  #navigation .social-links {
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  #header #top-row .left-column {
    display: none;
  }

  #header #top-row .right-column {
    margin-left: auto;
  }
}

@media (max-width: 480px) {
  #header #top-row a {
    font-size: 0;
  }

  #header #top-row a span {
    font-size: 20px;
  }
}

.page-banner {
  display: flex;
  min-height: 435px;
  padding: 50px 0;
  color: #ffffff;
  display: flex;
  align-items: center;
  background: #cccccc no-repeat center;
  background-size: cover;
  position: relative;
  z-index: 5;
}

.page-banner.banner-height-medium {
  min-height: 535px;
}

.page-banner.banner-height-large {
  min-height: 605px;
}

.page-banner .banner-text {
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.page-banner h1, .page-banner h2, .page-banner h3, .page-banner h4, .page-banner h5, .page-banner h6, .page-banner a {
  color: inherit;
}

.page-banner .banner-buttons {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.page-banner .banner-buttons .button {
  margin: 10px 0;
}

.page-banner .live-help-button {
  display: block;
  position: absolute;
  color: #ffffff;
  border-radius: 40px 0 0 40px;
  padding: 30px 35px 30px 90px;
  font-size: 20px;
  font-weight: 800;
  line-height: 23px;
  text-decoration: none;
  background: url('../images/d4-icon-live-help.png') no-repeat 30px center;
  bottom: -41px;
  right: 0;
  letter-spacing: 1px;
}


/* ==========================================================================
   Homepage
   ========================================================================== */

.intro-text-block {
  padding: 130px 0;
}

.text-wrapper {
  max-width: 780px;
  margin: auto;
}

.buckets {
  padding: 140px 0 120px;
  color: #ffffff;
}

.buckets .buckets-row {
  display: flex;
  margin: 0 -10px;
  justify-content: space-between;
}

.buckets .buckets-row .item {
  text-align: center;
  flex: 1;
  padding: 0 10px;
}

.buckets a {
  display: inline-block;
  vertical-align: top;
  color: inherit;
  text-decoration: none;
  letter-spacing: 1px;
  font-weight: 800;
}

.buckets img {
  margin: 0 auto 10px;
}

.buckets .item-icon {
  display: block;
  width: 90px;
  height: 90px;
  line-height: 90px;
  border-radius: 100%;
  background: #ffffff;
  font-size: 40px;
  margin: 0 auto 25px;
  transition: background .3s ease-in-out, color .3s ease-in-out;
}

.buckets .item-icon span {
  display: inline-block;
  vertical-align: top;
  line-height: 90px;
}

.buckets a:hover {
  color: #ffffff;
}

.image-buckets {
  background: #f1f6f9;
  padding: 110px 0 0;
  margin: 0 0 60px;
  overflow: hidden;
}

.image-buckets .buckets-row {
  display: flex;
  justify-content: space-between;
  margin: 60px -10px 0;
  position: relative;
}

.image-buckets .buckets-row:after {
  top: 40%;
  bottom: 0;
  left: 50%;
  width: 200vw;
  margin-left: -100vw;
  background: #ffffff;
  position: absolute;
  display: block;
  content: "";
  z-index: 0;
}

.image-buckets .buckets-row .item {
  text-align: center;
  width: 25%;
  padding: 0 10px;
  position: relative;
  z-index: 1;
}

.image-buckets a {
  display: inline-block;
  vertical-align: top;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 1px;
}

.image-buckets .item-icon {
  display: block;
  margin: 0 0 25px;
}

.image-buckets .item-icon img {
  margin: auto;
  border-radius: 100%;
  transition: box-shadow .3s ease-in-out;
}

.image-buckets a:hover .item-icon img {
  box-shadow: 0px 3px 14px rgba(0, 0, 0, 0.4);
}

.image-and-text {
  overflow: hidden;
  padding: 50px 0;
}

.image-and-text .section-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0 -10px;
}

.image-and-text .section-row > div {
  padding: 0 10px;
  width: 50%;
}

.image-and-text .image-column {
  position: relative;
  z-index: 5;
}

.image-and-text .text-box {
  max-width: 420px;
}

.image-and-text .bottom-links {
  position: relative;
  padding: 40px 0 30px;
  margin: 30px 0 0;
}

.image-and-text .bottom-links > div {
  position: relative;
  z-index: 1;
}

.image-and-text .bottom-links:after {
  display: block;
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 200vw;
  margin-left: -100vw;
  height: 100vh;
  background: #F1F6F9;
}

.image-and-text .bottom-links a {
  display: inline-block;
  vertical-align: top;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 0 20px 10px 0;
}


@media (max-width: 767px) {
  .page-banner .live-help-button {
    font-size: 0;
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 20px 0 0 20px;
    background-size: 36px auto;
    background-position: center;
  }
  
  .intro-text-block {
    padding: 70px 0;
  }

  .buckets {
    padding: 50px 0;
  }

  .buckets .buckets-row {
    display: block;
  }

  .buckets .buckets-row .item + .item {
    margin-top: 50px;
  }

  .image-buckets {
    padding: 60px 0 0;
  }

  .image-buckets .buckets-row {
    display: block;
    margin-top: 30x;
    padding-top: 50px;
  }

  .image-buckets .buckets-row:after {
    top: 0;
  }

  .image-buckets .buckets-row .item {
    width: auto;
  }

  .image-buckets .buckets-row .item + .item {
    margin-top: 50px;
  }

  .image-and-text .section-row {
    display: block;
  }

  .image-and-text .section-row > div {
    width: 100%;
  }

  .image-and-text .section-row .image-column {
    margin-bottom: 50px;
  }

  .image-and-text .text-box {
    max-width: none;
  }
}


/* ==========================================================================
   Internal pages
   ========================================================================== */

#internal-page-content {
  padding: 100px 0 50px
}

#internal-page-content > .container {
  display: flex;
  justify-content: space-between;
}

#internal-page-content > .container:before,
#internal-page-content > .container:after {
  display: none;
}

#internal-page-content .content-column {
  flex: 1;
}

#internal-page-content .sidebar {
  width: 300px;
  margin-right: 30px;
}

#internal-page-content .sidebar-menu {
  display: block;
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

#internal-page-content .sidebar-menu > li {
  display: block;
}

#internal-page-content .sidebar-menu > li + li {
  margin-top: 24px;
}

#internal-page-content .sidebar-menu > li > a {
  display: block;
  color: #AAAAAA;
  text-decoration: none;
}

.internal-page-buckets {
  display: flex;
  justify-content: space-between;
  margin: 30px -10px;
}

.internal-page-buckets .item {
  width: 25%;
  padding: 0 10px;
  max-width: 170px;
  text-align: center;
}

.internal-page-buckets a {
  display: inline-block;
  vertical-align: top;
  font-weight: 800;
  letter-spacing: 1px;
  text-align: center;
}

.internal-page-buckets .item-icon {
  display: block;
  margin: 0 auto 20px;
}

@media (max-width: 1229px) {
  #internal-page-content .sidebar {
    width: 360px;
  }
}

@media (max-width: 991px) {
  #internal-page-content .sidebar {
    width: 300px;
  }

  .internal-page-buckets {
    flex-wrap: wrap;
  }

  .internal-page-buckets .item {
    width: 50%;
    margin-bottom: 30px;
    max-width: 300px;
  }
}

@media (max-width: 767px) {
  #internal-page-content > .container {
    display: block;
  }

  #internal-page-content .sidebar {
    width: auto;
    max-width: 320px;
    margin: 0 0 40px;
  }
}

@media (max-width: 480px) {
  .internal-page-buckets {
    display: block;
  }

  .internal-page-buckets .item {
    max-width: none;
    width: auto;
  }
}


/* ==========================================================================
   Footer
   ========================================================================== */

#footer-cta {
  color: #ffffff;
  position: relative;
  padding: 120px 0 70px;
  margin-top: auto;
  text-align: center;
  font-size: 22px;
}

#footer-cta:before,
#footer-cta:after {
  display: block;
  content: "";
  position: absolute;
  z-index: 0;
  width: 592px;
  height: 217px;
  max-width: 40%;
  background: no-repeat left top;
  background-size: contain;
}

#footer-cta:before {
  top: 0;
  left: 0;
}

#footer-cta:after {
  bottom: 0;
  right: 0;
  transform: rotate(180deg);
}

#footer-cta h1, #footer-cta h2, #footer-cta h3, #footer-cta h4, #footer-cta h5, #footer-cta h6 {
  color: inherit;
}

#footer-cta p {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

#footer {
  margin-top: auto;
  color: #ffffff;
  padding: 60px 0 30px;
}

#footer-cta + #footer {
  margin-top: 0;
}

#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6, #footer a {
  color: inherit;
}

#footer .footer-columns-row {
  display: flex;
  justify-content: space-between;
}

#footer .footer-columns-row .footer-logo-column {
  width: 230px;
  padding-right: 10px;
  margin-right: 20px;
  align-self: flex-start;
  border-right: solid 1px #ffffff;
}

#footer .footer-columns-row .footer-logo-column a {
  display: inline-block;
  vertical-align: top;
}

#footer .footer-columns-row .footer-social-links {
  margin-left: 10px;
}

#footer .footer-columns-row .footer-columns {
  flex: 1;
  display: flex;
  justify-content: space-between;
  margin: 0 -10px;
}

#footer .footer-columns-row .footer-columns .column {
  width: 25%;
  padding: 0 10px;
  font-size: 14px;
  line-height: 20px;
}

#footer .footer-bottom-logos {
  text-align: center;
  padding: 50px 0 30px;
}

#footer .footer-bottom-logos a {
  display: inline-block;
  vertical-align: top;
}

#footer .footer-bottom-logos img {
  margin: auto;
}

#footer .footer-copyright {
  font-size: 11px;
  text-align: center;
}

@media (max-width:  1229px) {
  #footer .footer-columns-row {
    display: block
  }

  #footer .footer-columns-row .footer-columns {
    min-width: auto;
    margin-bottom: 30px;
  }

  #footer .footer-columns-row .footer-logo-column {
    width: auto;
    border: none;
    margin: 0 0 30px;
    text-align: center;
  }
}

@media (max-width: 767px) {
  #footer-cta {
    padding: 50px 0;
  }

  #footer .footer-columns-row .footer-columns {
    display: block;
    text-align: center;
  }

  #footer .footer-columns-row .footer-columns .column {
    width: auto;
    max-width: 320px;
    margin: auto;
  }

  #footer .footer-columns-row .footer-columns .column + .column {
    margin-top: 30px;
  }

  #footer .footer-columns-row .footer-social-links {
    margin: 0;
    text-align: center;
  }
}

/* ==========================================================================
   Global Elements
   ========================================================================== */

.button {
  display: inline-block;
  vertical-align: top;
  margin: 0;
  appearance: none;
  border: none;
  border-radius: 30px;
  line-height: 20px;
  padding: 15px 40px;
  max-width: 100%;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 1px;
  box-shadow: 0px 3px 14px rgba(0, 0, 0, 0.4);
}

.button:hover {
  text-decoration: none;
}

.button.white-button {
  background: #ffffff;
}



/* added by bogdan */
  #navigation .search-form {
	background-color: #fff;
	color: #0054a4;
	display: flex;
	align-items: center;
	width: 305px;
	border-radius: 25px;
	padding: 10px;
  }
  #navigation .search-form:before {
	border-bottom-color: #0054a4;
  }
  #navigation .search-form .search-field {
	appearance: none;
	background: transparent;
	border: none;
	color: #0054a4;
	flex: 1;
	line-height: 15px;
	padding: 10px;
	outline: none;
  }
  #navigation .search-form button {
	appearance: none;
	border: none;
	outline: none;
	color: #0054a4;
	background: transparent;
	font-size: 24px;
	line-height: 30px;
  }

  @media (min-width: 992px) {
	#navigation .menu > li.search-icon {
	  transition: opacity .3s ease-in-out;
	}

	body.search-form-visible #navigation .menu > li.search-icon {
	  opacity: 0;
	}

	#navigation .search-form {
	  position: absolute;
	  top: 100%;
	  right: -20px;
	  margin: -10px 0 0;
	  opacity: 0;
	  visibility: hidden;
	  transition: all .3s ease-in-out;
	}

	body.search-form-visible #navigation .search-form {
	  opacity: 1;
	  visibility: visible;
	  margin: 0;
	}

	#navigation .search-form:before{
	  display: block;
	  content: "";
	  position: absolute;
	  border: solid 12px transparent;
	  bottom: 100%;
	  right: 30px;
	}
  }

  .page-banner-wrap {
    position: relative;
  }
  .page-banner-wrap .live-help-button {
    display: block;
    position: absolute;
    z-index: 5;
    color: #ffffff;
    border-radius: 40px 0 0 40px;
    padding: 30px 35px 30px 90px;
    font-size: 20px;
    font-weight: 800;
    line-height: 23px;
    text-decoration: none;
    background: url('/aquapalace.com/images/d4-icon-live-help.png') no-repeat 30px center #1c4fa9;
    bottom: -41px;
    right: 0;
    letter-spacing: 1px;
  }
  .page-banner-wrap .live-help-button:hover {
    background-color: #7f27e7;
  }


.page-banner-wrap .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
}
.page-banner-wrap .owl-nav button.owl-prev {
  margin-left: 40px;
  color: #fff;
  font-size: 40px;
  outline: none;
}
.page-banner-wrap .owl-nav button.owl-next {
  float: right;
  margin-right: 40px;
  color: #fff;
  font-size: 40px;
  outline: none;
}
.page-banner-wrap .owl-dots {
  display: none;
}

.page-banner-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.page-banner-video-inner {
  position: absolute;
  width: 100%;
  height: 0;
  padding-top: 48.18%;
}
.page-banner-video video {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 100%;
}

