/* For FAQ accordian */
[data-orientation="vertical"] > div[role="region"] {
	transition: height 0.3s ease;
	overflow: hidden;
}

/* Contact form animations */
.alert-danger {
	padding: 10px;
	background: red;
	border: 2px solid black;
	margin-bottom: 15px;
	font-size: 0.8em;
	font-weight: bold;
 }

.alert-success {
	padding: 10px;
	background: green;
	border: 2px solid black;
	margin-bottom: 15px;
	font-size: 0.8em;  
}

.alert-danger p, .alert-success p {
  color: white !important;
}

.checkmark__circle {
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
  fill: none;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-miterlimit: 10;
  stroke-width: 2;
}
.checkmark {
  animation: fill 0.4s ease-in-out 0.4s forwards, scaleOne 0.3s ease-in-out 0.9s both;
  border-radius: 50%;
  box-shadow: inset 0 0 0;
  display: block;
  /* height: 56px; */
  margin: 10% auto;
  stroke: #fff;
  stroke-miterlimit: 10;
  stroke-width: 2;
  width: 56px;
}
.checkmark.error {
  color: red;
}
.checkmark.error .success {
  display: none;
}
.checkmark.error .checkmark__circle {
  stroke: white;
}
.checkmark.success {
  color: green;
}
.checkmark.success .error {
  display: none;
}
.checkmark.success .checkmark__circle {
  stroke: white;
}

.checkmark__check {
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  transform-origin: 50% 50%;
}

.checkmark__cross {
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-linecap: round;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes scaleOne {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}
@keyframes fill {
  100% {
    box-shadow: inset 0 0 0 30px;
  }
}
@keyframes unfill {
  100% {
    box-shadow: inset 0 0 0;
  }
}
@keyframes unstrokeCheck {
  100% {
    stroke-dashoffset: 48;
  }
}
@keyframes unstrokeCircle {
  100% {
    stroke-dashoffset: 166;
  }
}
@keyframes scaleTwo {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

.checkmark.reverse {
  animation: scaleTwo 0.3s ease-in-out, unfill 0.4s ease-in-out 0.4s forwards;
  box-shadow: inset 0 0 0 30px;
}
.checkmark.reverse .checkmark__circle {
  animation: unstrokeCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
  stroke-dashoffset: 0;
}
.checkmark.reverse .checkmark__check,
.checkmark.reverse .checkmark__cross {
  animation: unstrokeCheck 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
  stroke-dashoffset: 0;
}

/* policies formating */
.policies {
    font-weight: bold;
}

.policies h2 {
    font-size: 1em;
    margin-top: 20px;
    margin-bottom: 20px;
}

.policies h3 {
    font-size: 1em;
    margin-top: 20px;
    margin-bottom: 20px;
}

.policies h4 {
    font-size: 1em;
    margin-top: 20px;
    margin-bottom: 20px;
}

.policies p {
    margin-bottom: 20px;
    font-weight: normal;
}

.policies ul {
    list-style: circle;
    font-weight: normal;
    margin-left: 35px;
    margin-bottom: 20px;
    margin-top: -20px;
}

/* For review carosel on homepage */
.review-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;      /* number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;

  /* Optional fallback */
  max-height: 6em;
}

/* For animations on booking page */
@keyframes bounce {
    0%,to {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(.8,0,1,1)
    }

    50% {
        transform: none;
        animation-timing-function: cubic-bezier(0,0,.2,1)
    }
}

.animate-bounce {
    animation: bounce 1s infinite
}

@keyframes fade-in {
    0% {
        opacity: 0
    }

    50% {
        opacity: 0
    }

    100% {
        opacity: 1
    }        
}

.animate-fade-in {
    animation: fade-in 1s ease-out forwards
}

@keyframes pulse {
    50% {
        opacity: .5
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite
}

@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.animate-slide-up {
    animation: slide-up .6s ease-out forwards
}