

/* Global Styles */

* {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight:300;
}

html, body {
  color: #000;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}

/*
@font-face {
  font-family: 'SF Display';
  src: url('/user/themes/horizonholidays/fonts/sf-display.woff2') format('woff2');
}

@font-face {
  font-family: 'SF Display Bold';
  src: url('/user/themes/horizonholidays/fonts/sf-display-bold.woff2') format('woff2');
}
*/

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/poppins-v6-latin-300.eot');
  /* IE9 Compat Modes */
  src: local('Poppins Light'), local('Poppins-Light'), url('../fonts/poppins-v6-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('../fonts/poppins-v6-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
  url('../fonts/poppins-v6-latin-300.woff') format('woff'), /* Modern Browsers */
  url('../fonts/poppins-v6-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
  url('../fonts/poppins-v6-latin-300.svg#Poppins') format('svg');
  /* Legacy iOS */
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/poppins-v8-latin-500.eot');
  /* IE9 Compat Modes */
  src: local('Poppins Medium'), local('Poppins-Medium'), url('../fonts/poppins-v8-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('../fonts/poppins-v8-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
  url('../fonts/poppins-v8-latin-500.woff') format('woff'), /* Modern Browsers */
  url('../fonts/poppins-v8-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
  url('../fonts/poppins-v8-latin-500.svg#Poppins') format('svg');
  /* Legacy iOS */
}

/* poppins-600 - latin */

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/poppins-v6-latin-600.eot');
  /* IE9 Compat Modes */
  src: local('Poppins SemiBold'), local('Poppins-SemiBold'), url('../fonts/poppins-v6-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('../fonts/poppins-v6-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
  url('../fonts/poppins-v6-latin-600.woff') format('woff'), /* Modern Browsers */
  url('../fonts/poppins-v6-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
  url('../fonts/poppins-v6-latin-600.svg#Poppins') format('svg');
  /* Legacy iOS */
}

/* poppins-900 - latin */

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/poppins-v8-latin-900.eot');
  /* IE9 Compat Modes */
  src: local('Poppins Bold'), local('Poppins-Bold'), url('../fonts/poppins-v6-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('../fonts/poppins-v8-latin-900.woff2') format('woff2'), /* Super Modern Browsers */
  url('../fonts/poppins-v8-latin-900.woff') format('woff'), /* Modern Browsers */
  url('../fonts/poppins-v8-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
  url('../fonts/poppins-v8-latin-900.svg#Poppins') format('svg');
  /* Legacy iOS */
}


a, a:hover, a:active, a:focus, a:visited, a.active {
  color: #000;
  text-decoration: none;
  box-shadow: none;
}

p a, p a:hover {
  text-decoration: underline;
}

a.active {
  font-weight:600;
  text-decoration: none;
}

button {
  outline-style: none;
}

::selection {
  background: #eee;
  color: #000;
}

/* Header */

.top-bar {
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 2;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.top-bar-content {
  width: 1280px;
  margin: 0 auto;
  text-align: right;
}

.top-bar {
  display: flex;
  align-items: center;
  padding: 6px 0 0 0;
}

.top-bar span {
  color: #fff;
  font-size: 12px;
  padding: 0 10px;
  font-size: 14px;
  cursor: pointer;
}

.logo-container {
  width: 1280px;
  margin: 0 auto;
}

.logo {
  position: fixed;
  top: 6px;
  z-index: 2;
  height: 40px;
  margin-left:10px;
}

/* Slideshow */

body.homepage-section .main-carousel {  height: 100vh !important;  top: -85vh !important;}

.main-carousel {
  background: #222;
  margin-bottom: -30px;
  z-index: 0;
  height: 400px;
  display: flex;
  position: sticky !important;
  position:-webkit-sticky !important;
  z-index: 1;
  top: -85vh;
}

@media (max-width: 980px) {
.main-carousel {

}
}

.carousel-cell {
  width: 100%;
  text-align: center;
  height: 100%;
}

.carousel-cell:nth-of-type(1) {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('/user/themes/horizonholidays/images/homepage-slideshow.jpg') center center;
  background-size: cover;
}

.carousel-cell:nth-of-type(2) {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('/user/themes/horizonholidays/images/homepage-slideshow2.jpg') center center;
  background-size: cover;
}

.carousel-cell:nth-of-type(3) {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('/user/themes/horizonholidays/images/homepage-slideshow3.jpg') center center;
  background-size: cover;
}

.carousel-cell:nth-of-type(4) {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('/user/themes/horizonholidays/images/homepage-slideshow4.jpg') center center;
  background-size: cover;
}

.flickity-viewport {
  position: absolute;
  height: 100% !important;
  width: 100%;
}

/* draggable */

.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* ---- flickity-button ---- */

.flickity-prev-next-button {
  display: none;
}

.flickity-button {
  position: absolute;
  border: none;
  background: none !important;
  color: #fff !important;
}

.flickity-button:hover {
  background: white;
  cursor: pointer;
}

.flickity-button:focus {
  outline: none;
  box-shadow: 0 0 0 5px #19F;
}

.flickity-button:active {
  opacity: 0.6;
}

.flickity-button:disabled {
  opacity: 0 !important;
  cursor: auto;
  /* prevent disabled button from capturing pointer up event. #716 */
  pointer-events: none;
}

.flickity-button-icon {
  fill: currentColor;
}

/* ---- Flickity Slider ---- */

.flickity-slider {
  transform: none !important;
}

.carousel-cell {
  left: 0 !important;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.carousel-cell.is-selected {
  opacity: 1;
  z-index: 0
}

.flickity-page-dots {
  display: none;
}

.cell {
  height:100%;
}

.carousel-h1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding:0 10px;
}

.carousel-h1 h1 {
  font-size: 3.5em;
  margin-bottom: 0;
  padding-bottom: 0;
  font-weight:500;
}



.carousel-h1 img {
  text-align: center;
  display: block;
}

.regions {
  background: rgba(0, 0, 0, 0.7);
  display: inline-block;
  margin: 0 auto;
  padding: 3px 15px;
  margin-top: 0px;
  margin-bottom: 40px;
  cursor: pointer;
}

.carousel-cell a:hover {
  text-decoration: none;
}

.flag {
  margin: 0 auto;
}

.flickity-viewport {
  color: #fff;
}

/* Navigation */

.md-content h3 {
  padding-top: 30px;
}

a.view-all {
  color: #666;
  border-bottom: 1px solid #ccc;
  width: 150px;
  margin: 0 auto;
  padding-bottom: 10px;
}

.dropmenu ul.popup-menu {
  padding-top: 40px;
}

.dropmenu ul.popup-menu li {
  border: none;
  padding: 5px 0;
}

.dropmenu ul li ul li {
  display: none;
}

nav.dropmenu {
  width: 1270px;
  justify-content: center;
  margin: 0 auto;
  z-index: 9999;
}

@media (max-width:1280px) {
  nav.dropmenu {
    width: 100%;
  }
  .dropmenu ul li a {
    font-size: 0.8em;
  }
}

#header {
  position: sticky;
  position:-webkit-sticky;
  top: 70px;
  z-index: 2;
  margin-top:-62px;
}


.dropmenu ul {
  display: flex;
  list-style-type: none;
  justify-content: space-around;
  margin: 0;
  padding: 0;

}

.dropmenu ul li {
  padding: 7px 0;
  border-right: 1px solid #e5e5e5;
  text-align: center;
  margin-bottom: 12px;
  margin-top: 20px;
  width: 100%;

}

.dropmenu ul li a {
  text-align: center;
  width: 100%;
  font-weight:500;
}

.dropmenu ul li a:hover {
  text-decoration: none;
  color: #666;
}

.dropmenu ul li a.active{
  color:#000;
  font-weight:900;
}
.dropmenu ul li a.active:hover {
  color: #000
}

.dropmenu ul li:last-of-type {
  border: none;
}

#body-wrapper {
  background: #fff;
  z-index: 0;
  margin: 0;
  margin-top: -32px;
  position: sticky;
  position:-webkit-sticky;
  top: 100px;
  padding-top: 50px;
  margin: 0 auto;
}

/* Content */

.search-item {
  margin: 0;
  margin-bottom: 40px;
}

.search-item h1 {
  transform: scale(0.5) !important;
  opacity: 0.25;
}

.search-item hr {
  height: 1px;
  background: #ccc;
  border: 0;
  margin-top: 40px;
}

p img.responsive {
  width: 640px;
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
}

h4.homepage-h4 {
  margin-top: 20px;
  text-align: center;
  font-style: italic;
  padding-bottom: 10px !important;
  display: block;
  color: #555;
}

.calltoaction .darken {
  background: rgba(0, 0, 0, 1);
  height: 100%;
  width: 100%;
  color: #fff;
  display: inline-block;
  margin:0;
  padding:0;
}

.calltoaction {
  margin:20px 0;
}
.calltoaction img {
  opacity: 0.6;
}

.calltoaction h4 {
  position: relative;
  margin-top: -68px;
  text-align: center;
  padding-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.calltoaction a:hover {
  text-decoration: none;
}

.calltoaction img:hover {
  opacity: 0.7
}

.calltoaction h1 {
  transform: scale(0.6);
  color: #fff !important;
  position: absolute;
  margin-bottom: -100px;
  z-index: 999;
  margin-top: 32px;
  text-align: left !important;
  margin-left: -20px !important.top-bar;
}

h1.grey {
  opacity: 0.25;
  transform: scale(0.6);
  margin: 0;
}

.responsive {
  max-width: 100%;
}

img.center {
  text-align: center;
  margin: 0 auto;
  display: block;
  margin-bottom: 20px;
}

.container.grid-lg {
  max-width: 1280px;
  padding: 0 20px;
}



.container p {
  text-align: justify;
}

.container h1 {
  color: #000;
  position: relative;
  line-height: 1.3em;
  margin-left: 40px;
  font-size: 2.2em;
  text-align: center;
  font-weight:500;
  padding:0;
  margin:0;
  padding-bottom:12px;
  margin-bottom:20px;
}

.container h1:before {
  background: url('/user/themes/horizonholidays/images/h1.svg');
  background-position: center top left;
  background-repeat: no-repeat;
  background-size: 70%;
  height: 100px;
  width: 100px;
  content: " ";
  position: absolute;
  margin-left: -40px;
  margin-top: -20px;
}

.calltoaction h1:before {
  background-image: url('/user/themes/horizonholidays/images/h1-white.svg');
}

.calltoaction h1:after {
  font-family: 'Poppins', sans-serif !important;
  font-weight: normal !important;
  font-size: 0.65em;
  color: #FFE681;
  position: absolute;
  top: 0;
  left: 70px;
  margin-top: -42px;
}

.calltoaction h1.experience:after {
  content: "Start the"
}

.calltoaction h1.expressions:after {
  content: "Read the"
}

.calltoaction h1.excitement:after {
  content: "Share the"
}

/* Footer */

#footer {
  color: #fff;
  background-image: linear-gradient(black, black), url('/user/themes/horizonholidays/images/homepage-slideshow.jpg');
  background-size: cover;
  background-position: center center;
  background-blend-mode: saturation;
  margin-top:40px;
}

#footer img {
  margin-right: 20px;
  height: 40px;
  margin-bottom: 10px;
}

#footer .darken {
  background: rgba(0, 0, 0, 0.55);
  height: 100%;
  width: 100%;
  color: #fff;
}

#footer .container {
  padding: 0 10px;
  padding-bottom:40px;
}

#footer .columns {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

#footer .column {
  padding: 80px 0 0 0;
}

/* Navigation Popup */

.md-content button.md-close {
  background: url('/user/themes/horizonholidays/images/close.svg');
  position: absolute;
  margin-top: 50px;
  text-align: center;
  width: 100%;
  height: 100%;
  background-size: 25px;
  font-size: 0;
  display: flex;
  align-self: center;
  background-position: top center;
  background-repeat: no-repeat;
  left: 0;
  height: 100vh;
}

.view-all {
  text-align: center;
  display: block;
}

a.view-all {
  color: #666
}

ul.popup-menu {
  flex-wrap: wrap;
}

ul.popup-menu li {
  width: 25%;
  margin: 0;
}

ul.popup-menu li a {
  padding: 0;
}

.md-modal {
  position: fixed;
  top: 0%;
  left: 0%;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  z-index: 2000;
  visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateX(-0%) translateY(-0%);
  -moz-transform: translateX(-0%) translateY(-0%);
  -ms-transform: translateX(-0%) translateY(-0%);
  transform: translateX(-0%) translateY(-0%);
}

.md-show {
  visibility: visible;
}

.md-content {
  color: #000;
  background: #fff;
  position: relative;
  margin: 0 auto;
  -webkit-transform: translateY(-10%);
  -moz-transform: translateY(-10%);
  -ms-transform: translateY(-10%);
  transform: translateY(-10%);
  opacity: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.md-show .md-content {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
}

.md-content h3 {
  margin: 0;
  padding: 0.4em;
  text-align: center;
  font-size: 2.4em;
  font-weight: 300;
  opacity: 0.8;
}

.md-content>div {
  padding: 15px 0px 30px;
  margin: 0;
  font-weight: 300;
  font-size: 1.15em;
}

.md-content>div p {
  margin: 0;
  padding: 10px 0;
}

.md-content>div ul {
  margin: 0;
  padding: 0 0 30px 0px;
  justify-content: flex-start;
}

.md-content>div ul li {
  padding: 5px 0;
}

button {
  border: none;
  padding: 0.6em 1.2em;
  background: #000;
  color: #fff;
  font-family: 'Lato', Calibri, Arial, sans-serif;
  font-size: 1em;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-block;
  margin: 3px 2px;
}

.md-content button {
  display: block;
  margin: 0 auto;
  font-size: 0.8em;
}

.md-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  visibility: hidden;
  top: 0;
  left: 0;
  z-index: 1000;
  opacity: 0;
  background: rgba(0, 0, 0, 0.8);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.md-show~.md-overlay {
  opacity: 1;
  visibility: visible;
}

.md-content .search-wrapper, .md-content p.popup-text {
  padding: 40px;
  width: 100%;
}

.md-content .search-wrapper .search-input {
  width: 100%;
}

@media (max-width: 980px) {
  nav.dropmenu ul {
    visibility: hidden;
  }
  nav.dropmenu ul.popup-menu {
    visibility: visible;
  }
  .top-bar {display:none;}

.carousel-h1 h1 {
  font-size: 3em;

}
}

/* Menu Styles */

.primary-nav {
  position: fixed;
  z-index: 999;
  right:0;
  margin-top:-4px;
  padding-top:4px;
}

.menu {
  position: relative;
  height: 100vh;
  padding-left:2em;
  padding-top:5em;
}

.menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.open-panel {
  border: none;
  background-color: #fff;
  padding: 0;
}

.hamburger {
  position: relative;
  display: block;
  text-align: center;
  padding: 11px 0;
  width: 50px;
  height: 50px;
  right: 0;
  top: 0;
  z-index: 1000;
  cursor: pointer;
  background: none;
}

.hamburger:before {
  content: "\2630";
  /* hamburger icon */
  display: block;
  color: #fff;
  line-height: 35px;
  font-size: 35px;
}

.openNav .hamburger:before {
  content: "\2715";
  /* close icon */
  display: block;
  color: #fff;
  line-height: 35px;
  font-size: 35px;
}

.hamburger:hover:before {
  color: #fff;
}

.primary-nav .menu li {
  position: relative;
}

.menu .icon {
  position: absolute;
  top: 12px;
  right: 10px;
  pointer-events: none;
  width: 24px;
  height: 24px;
  color: #fff;
}

.menu, .menu a, .menu a:visited {
  color: #fff;
  text-decoration: none!important;
  position: relative;
}

.menu a {
  display: block;
  white-space: nowrap;
  padding: 0.5em;
  padding-left:0;
  font-size: 15px;
}

.menu a:hover {
  color: #aaa;
}

.menu {
  margin-bottom: 3em;
}

.menu-dropdown li .icon {
  color: #777;
}

.menu-dropdown li:hover .icon {
  color: #fff;
}

.menu label {
  margin-bottom: 0;
  display: block;
}

.menu label:hover {
  cursor: pointer;
}

.menu input[type="checkbox"] {
  display: none;
}

input#menu[type="checkbox"] {
  display: none;
}

.sub-menu-dropdown {
  display: none;
}

.new-wrapper {

}

#menu:checked+ul.menu-dropdown {

}

.sub-menu-checkbox:checked+ul.sub-menu-dropdown {

}

.openNav .new-wrapper {
  position: absolute;
  transition: transform .45s cubic-bezier(0.77, 0, 0.175, 1);
}

.downarrow {
  background: transparent;
  position: absolute;
  right: 50px;
  top: 12px;
  color: #777;
  width: 24px;
  height: 24px;
  text-align: center;
  display: block;
}

.downarrow:hover {
  color: #fff;
}

.menu {
  position: absolute;
  display: block;
  right: -300px;
  top: 0;
  width: 300px;
  transition: all 0.45s cubic-bezier(0.77, 0, 0.175, 1);
  background-color: #000;
  z-index: 999;
}

.menu-dropdown {
  top: 0;
  overflow-y: auto;
}

.overflow-container {
  position: relative;
  overflow-y: auto;
  z-index: -1;
  display: block;
}

.menu a.logotype {
  position: absolute !important;
  top: 11px;
  display: block;
  font-family: 'Work Sans', sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  color: #000;
  font-size: 21px;
  padding: 10px;
}

.menu a.logotype span {
  font-weight: 400;
}

.menu a.logotype:hover {
  color: #777;
}

.sub-menu-dropdown {
  background-color: #333;
}
.screen-reader-text {display:none;}
.menu:hover {

}

.openNav .menu:hover {

}

.openNav .menu {
  transform: translate3d(-300px, 0, 0);
  transition: transform .45s cubic-bezier(0.77, 0, 0.175, 1);
}

/* label.hamburger {
		display: none;
	} */

/* look and feel only, not needed for core menu*/

@media (min-width:981px){
  .primary-nav {display:none;}
}


.moreless-button {cursor:pointer;padding:1em;margin:0 auto;display:inline-block;text-align:center;}
.moreless-button:hover {color:#FFE681;}

.moreless-button h1 {transform:scale(0.35);color:#FFE681;}
.moreless-button h1:before {background-image:url('/user/themes/horizonholidays/images/h1-yellow.svg')}

.about-image {margin-bottom:20px;}
#section {

  word-wrap: break-word;
}

.moretext {
  display: none;
}









ul.tabs {
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.tabs li {
  background: none;
  color: #222;
  display: inline-block;
  padding: 10px 15px;
  cursor: pointer;
}

ul.tabs li.current {
  background: #ededed;
  color: #222;
}

.tab-content {
  display: none;
  background: #ededed;
  padding: 15px;
  margin-bottom:40px;
}

.tab-content.current {
  display: inherit;
}





.travel-boxes .darken {
  background: rgba(0, 0, 0, 1);
  height: auto;
  width: 100%;
  color: #fff;
  display: inline-block;
}

.travel-boxes .column {
  margin-bottom:16px;
}
.travel-boxes img {
  opacity: 0.6;
}

.travel-boxes h4 {
  position: relative;
  margin-top: -54px;
  text-align: center;
  padding-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size:1em;
}

.travel-boxes a:hover {
  text-decoration: none;
}

.travel-boxes img:hover {
  opacity: 0.7
}

.travel-boxes h1 {
  transform: scale(0.6);
  color: #fff !important;
  position: absolute;
  margin-bottom: -100px;
  z-index: 999;
  margin-top: 32px;
  text-align: left !important;
  margin-left: 40px !important;
}

.travel-boxes h1:before {
  background-image: url('/user/themes/horizonholidays/images/h1-white.svg');
}

.travel-boxes h1:after {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 300 !important;
  font-size: 0.65em;
  color: #FFE681;
  position: absolute;
  top: 0;
  left: 43px;
  margin-top: -32px;
}

.travel-boxes h1:after {
  content: "Country"
}
.province h1:after {
  content: "Province"
}


.province .column:nth-of-type(1) h1:after {
  content: "8D7N"
}

.province .column:nth-of-type(2) h1:after {
  content: "8D6N"
}

.province .column:nth-of-type(3) h1:after {
  content: "8D6N"
}


.genre h1:after {
  content: "Genre"
}

.package h1:after {
  content: "Type"
}

@media (max-width:980px){
  .travel-boxes.columns {margin:0 !important;}
  .travel-boxes.columns .column {height:300px !important;overflow:hidden;}
  .travel-boxes.columns img {width:100% !important;}
}


.curveArea {
  overflow: hidden;
  width:1270px;
  max-width:100%;
  position:absolute;
  z-index:-1;
}


.mainBox {
  width: 100%;
  height: 150px;
  margin: 0 auto;
}

.curveSection {
  width: 200%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  left: -50%;
  right: 0;
  position: relative;

}

#header .curveSection {
  border-top:3px solid #EBB423;
}



@keyframes text-animate {
  0% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, -200, 0, 1);
    opacity: 0;
  }
  1.3% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, -158.014, 0, 1);
  }
  2.55% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, -121.865, 0, 1);
  }
  4.1% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, -83.942, 0, 1);
  }
  5.71% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, -53.064, 0, 1);
  }
  8.11% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, -21.098, 0, 1);
  }
  8.81% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, -14.56, 0, 1);
    opacity: 0;
  }
  11.96% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 3.217, 0, 1);
  }
  12.11% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 3.687, 0, 1);
  }
  15.07% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 8.441, 0, 1);
  }
  16.12% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 8.671, 0, 1);
  }
  27.23% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1.568, 0, 1);

  }
  27.58% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1.414, 0, 1);
  }
  38.34% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, -0.207, 0, 1);
  }
  40.09% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, -0.194, 0, 1);
  }
  50% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, -0.032, 0, 1);
  }
  60.56% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0.005, 0, 1);
  }
  82.78% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  100% {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    opacity: 1;
  }
}
@keyframes text-fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.carousel-h1 h1{
  animation: text-animate 810ms linear 0.3s both
}

.carousel-h1 span {
  animation: text-fade 2s linear 0.4s both;
  font-weight:300;
}

.container.grid-lg {animation: text-animate 610ms linear 0.55s both;}

img.logo {animation: text-animate 810ms linear 0.1s both;}

.card {
  width:100%;
}

.card-subtitle, .card .hidden-info, .search-details, .card #sidebar {display:none;}
.card #item {width:100%;}
.card h1 {display:none;}
.card #item * {display: none;}
.card #item .show {display:block;}
h2.grey {
  transform: scale(0.5) !important;
    opacity: 0.25;
}

.homepage-banner {background:#fff;width:100%;border-bottom:1px solid #e5e5e5;border-top:1px solid #e5e5e5;margin-top:-40px !important;margin-bottom:30px;}
.homepage-banner img {padding:20px 0 10px 0;}
.shandong-logo {  animation: text-animate 810ms linear 0.3s both;width:120px;margin-top:5px;background:none;position:absolute;margin-left:-60px;z-index:999}
.shandong-link {z-index:2;position:absolute;padding-left:50%;width:100px;}



/* Slideshow */

.main-carousel {
  background: #222;
  margin-bottom: -30px;
  z-index: 0;
  height: 400px;
  display: flex;
  position: sticky;
  position:-webkit-sticky;
  z-index: 1;
  top: -310px;
}

@media(max-width:600px) {
  .shandong-logo {
    display:none;
  }
}

@media (max-width: 980px) {
.main-carousel {
  height:368px;
}
}

.carousel-cell {
  width: 100%;
  text-align: center;
  height: 100%;
}


.flickity-viewport {
  position: absolute;
  height: 100% !important;
  width: 100%;
}

/* draggable */

.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

a .inquire-button {
  color: #fff;
}

.inquire-button {
  padding: 10px !important;
  padding-left: 64px !important;
  background: #EBB423 url(../images/contact-icon.svg)!important;
  background-size: 40px !important;
  background-repeat: no-repeat !important;
  background-position: 13px center !important;
  position: fixed !important;
  top: 70vh;
  right: 0;
  z-index: 2;
  font-weight: bold !important;
  font-size: 0;
  height: 60px;
  padding-left: 55px !important;
  top: 70vh;
}

@media (max-width: 980px){
.curveArea {display:none;}

}
@media (min-width: 981px){
#header{box-shadow:0px 20px 20px rgba(255,255,255,0);}
/*div#header:after {
  content: " ";
  display: block;
  z-index: -1;
  height: 50px;
  position: absolute;
  background:red;
}*/
}

.columns {justify-content:center;}