/*
Theme Name: WhanauMaramaParenting
Author: Jianyang Zhang
Version: 1.1

*/

/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */

/**
 * 1. Change the default font family in all browsers (opinionated).
 * 2. Correct the line height in all browsers.
 * 3. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */

/* Document
   ========================================================================== */

html {
  font-family: sans-serif; /* 1 */
  line-height: 1.15; /* 2 */
  -ms-text-size-adjust: 100%; /* 3 */
  -webkit-text-size-adjust: 100%; /* 3 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers (opinionated).
 */

body {
  margin: 0;
}

/**
 * Add the correct display in IE 9-.
 */

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */

figcaption,
figure,
main { /* 1 */
  display: block;
}

/**
 * Add the correct margin in IE 8.
 */

figure {
  margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */

a {
  background-color: transparent; /* 1 */
  -webkit-text-decoration-skip: objects; /* 2 */
}

/**
 * Remove the outline on focused links when they are also active or hovered
 * in all browsers (opinionated).
 */

a:active,
a:hover {
  outline-width: 0;
}

/**
 * 1. Remove the bottom border in Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */

b,
strong {
  font-weight: inherit;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font style in Android 4.3-.
 */

dfn {
  font-style: italic;
}

/**
 * Add the correct background and color in IE 9-.
 */

mark {
  background-color: #ff0;
  color: #000;
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

audio,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Remove the border on images inside links in IE 10-.
 */

img {
  border-style: none;
}

/**
 * Hide the overflow in IE.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */

button,
html [type="button"], /* 1 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Change the border, margin, and padding in all browsers (opinionated).
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */

details, /* 1 */
menu {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Scripting
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */

template {
  display: none;
}

/* Hidden
   ========================================================================== */

/**
 * Add the correct display in IE 10-.
 */

[hidden] {
  display: none;
}

*, *::before, *::after{
	box-sizing: border-box;
}

html{
	font-size: 100%;
}

body{
	font-family: Arial, sans-serif;
	font-size: 1.2rem;
	line-height: 1.15;
	background-color: #666;
	margin: 0;
	padding: 0;
	text-align: justify;
}

a{
	color: #1c1d4b;
	font-weight:bold;
	text-decoration: none;
}

p{
	line-height: 1.65;	
}

img{
	max-width: 100%;
	height: auto;
}

div.container{
	position: relative;
	width: 100%;
	padding: 90px 0rem 250px 0rem; /* bottom padding is to offset footer height */
	margin: 0 auto;
	background-color: #fff;
	overflow: hidden;
	min-height: 100vh;
}

@media (min-width: 870px) {

  div.container {
    padding-top: 150px;
  }
}

@media (min-width: 1100px) {

  div.container {
    width: 80%;
  }
}

/* Scroll down mouse recursive movement */

@-webkit-keyframes scoll-down-arrow{
	0%	 { -webkit-transform: translateY(-25%); transform: translateY(-25%) }
	50%  { -webkit-transform: translateY(25%); transform: translateY(25%) }
	100% { -webkit-transform: translateY(-25%); transform: translateY(-25%) }
}

@keyframes scoll-down-arrow{
	0%	 { -webkit-transform: translateY(-25%); transform: translateY(-25%) }
	50%  { -webkit-transform: translateY(25%); transform: translateY(25%) }
	100% { -webkit-transform: translateY(-25%); transform: translateY(-25%) }
}

.site-header{
	text-align: center;
	margin: 0 auto;
	padding: 0 2.5rem;
	position: fixed;
	z-index: 25;
	top: 0;
	width: 100%;
	background: #d49601;
	background: -webkit-linear-gradient(top, #d49601, #fff);
	background: linear-gradient(to bottom, #d49601, #fff);
	height: 90px;
	-webkit-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;

}

.site-header::after {
  content: "";
  display: table;
  clear: both;
}

@media (min-width: 870px) {

  .site-header {
    height: 150px;
  }

  .site-header:after {
    background: url('assets/images/customheader.jpg') top center no-repeat;
    opacity: 0.2;
    position: absolute;
    z-index: -10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

@media (min-width: 1100px) {

  .site-header {
    width: 80%;
  }
}

.site-header__menu-icon{/* primary menu toggle button */
  display: inline-block;
  width: 30px;
  height: 29px;
  position: absolute;
  z-index: 10;
  top: 30px;
  right: 30px;
  border: 2px solid #1c1d4b;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.site-header__menu-icon--collapsed{
  top: 10px;
}

@media (min-width: 870px) {

  .site-header__menu-icon {
    display: none;
  }
}

.site-header__menu-icon::before{/* top bar of hamburger menu */
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 3px;
  background-color: #1c1d4b;
  -webkit-transform-origin: 0 0%;
          transform-origin: 0 0%;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.site-header__menu-icon__bar{/* middle bar of hamburger menu */
  position: absolute;
  top: 11px;
  left: 4px;
  width: 18px;
  height: 3px;
  background-color: #1c1d4b;
  -webkit-transform-origin: 0 50%;
          transform-origin: 0 50%;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.site-header__menu-icon::after{/* bottom bar of hamburger menu */
  content: "";
  position: absolute;
  bottom: 4px;
  left: 4px;
  width: 18px;
  height: 3px;
  background-color: #1c1d4b;
  -webkit-transform-origin: 0 100%;
          transform-origin: 0 100%;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

/* when menu pop out, menu icon change to a "X" button */

.site-header__menu-icon--close-x::before{
  top: 20%;
  left: 30%;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.site-header__menu-icon--close-x .site-header__menu-icon__bar{
  opacity: 0;
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
}

.site-header__menu-icon--close-x::after{
  bottom: 20%;
  left: 30%;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.site-header__menu-content{
  opacity: 0;
  position: relative;
  float: right;
  max-width: 20rem;
  z-index: -10;
  -webkit-transform: scale(0.6);
          transform: scale(0.6);
  -webkit-transition: all 0.6s ease-out;
  transition: all 0.6s ease-out;
}

.site-header__menu-content--visible{
  opacity: 1;
  z-index: 1;
  background-color: #fff;
  -webkit-transform: scale(1) translateY(90px);
          transform: scale(1) translateY(90px);
}

@media (min-width: 530px) {

  .site-header__menu-content {
    max-width: 30rem;
  }
}

@media (min-width: 870px) {

  .site-header__menu-content {
    opacity: 1;
    max-width: 2000px;
    background: initial;
    z-index: 1;
    -webkit-transform: scale(1) translateY(0);
            transform: scale(1) translateY(0);
  }
}

.site-header--height-collapsed{/* height collapse to 1/2 */
  height: 45px;
}

@media (min-width: 870px) {

  .site-header--height-collapsed {
    height: 75px;
  }
}

.site-footer{
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1rem 0;
	text-align: center;
	background-color: #d49601;
	color: #eee;
	border-top: 12px solid #1c1d4b;
	font-size: 0.8rem;
	font-weight: 100;
	height: 250px;
}

@media (min-width: 530px) {

  .site-footer {
    font-weight: 300;
    font-size: 1rem;
  }
}

@media (min-width: 1100px) {

  .site-footer {
    font-size: 1.2rem;
  }
}

.site-footer__contact{/* address and phone number */
  margin: 0 auto 1rem auto;
  line-height: 2rem;
  font-weight: 100;
}

.site-footer__policy{/* copyright; terms and conditions link*/
  padding: 1.2rem 0 0.2rem 0;
  margin: auto;
  max-width: 280px;
}

@media (min-width: 530px) {

  .site-footer__policy {
    max-width: 100%;
  }
}

.site-footer__policy a:link, .site-footer__policy a:visited{
  color: #eee;
  font-weight: 100;
}

.site-footer__policy__seperator{/* begin to show the seperator "|" at small screen */
  display: none;
}

@media (min-width: 530px) {

  .site-footer__policy__seperator {
    display: inline;
  }
}

/* policy */

.site-footer__menu-link:hover{
  border-bottom: 1px solid #eee;
}

.banner{
	position: absolute;
	top: 0;
	left: 2rem; /* headline */
}

.banner::after {
  content: "";
  display: table;
  clear: both;
}

.banner__logo-img{/* banner logo image */
  width: 90px;
  height: 90px;
  float: left;
  border-radius: 45px;
  position: relative;
  z-index: 10;
  -webkit-transition: 0.5s ease-out;
  transition: 0.5s ease-out;
}

@media (min-width: 870px) {

  .banner__logo-img {
    width: 150px;
    height: 150px;
    border-radius: 75px;
  }
}

.banner__logo-img:hover{
  -webkit-transform: rotate(-20deg) scale(1.1);
          transform: rotate(-20deg) scale(1.1);
}

.banner__headline{/* site title and description */
  min-width: 312px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  color: #f8ec1f;
  -webkit-text-stroke: 1px #1c1d4b;
  display: none;
}

@media (min-width: 870px) {

  .banner__headline {
    display: none;
  }
}

.banner__headline a{
  color: #f8ec1f;
  font-weight: 900;
  -webkit-text-stroke: 2px #1c1d4b;
}

.primary-nav ul{/* Main Menu */
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.primary-nav ul li{/* Main Menu Item */
  float: left;
  position: relative;
  font-weight: 500;
}

.primary-nav ul li a:link, 
			.primary-nav ul li a:visited {/* Main Menu Link */
  width: 9.375rem;/* 150px equal width for each main menu link */
  display: inline-block;
  padding: 0.8rem 1.2rem;
  text-align: left;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  border: 2px solid #d49601;
  border-radius: 5px;
  margin: 0.2rem;
}

@media (min-width: 870px) {

  .primary-nav ul li a:link, 
			.primary-nav ul li a:visited {
    width: auto;
    border: none;
    text-decoration: none;
    border-radius: 0;
    margin: 0;
  }
}

.primary-nav ul li a:hover {
  background-color: #1c1d4b;
  color: #eee;
}

.primary-nav ul li ul{/* Sub Menu */
  position: absolute;
  z-index: 9;
  top: -999px;
  left: 0;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
  height: auto;
  background-color: #fff;
}

.primary-nav ul li ul::after {
  content: "";
  display: table;
  clear: both;
}

/*Sub Menu Item */

.primary-nav ul li ul li a:link,
					.primary-nav ul li ul li a:visited {/* Sub Menu Item Link */
  width: 9.375rem;
  position: relative;
  border: 2px solid #d49601;
  border-radius: 5px;
  font-weight: 100;
  font-size: 1rem;
}

@media (min-width: 870px) {

.primary-nav ul li ul li a:link,
.primary-nav ul li ul li a:visited {
    border: none;
    border-radius: 0;
    border-bottom: 2px solid #1c1d4b;
  }
}

.primary-nav ul li ul li a:link::before,
.primary-nav ul li ul li a:visited::before{
/* Add a "* " before every sub menu text. e.g. : * board */
  content: "";
  display: inline;
}

.primary-nav ul li ul li:hover > ul{/* Sub sub-menu */
  top: 0%;
  left: -100%;/* sub sub menu pop out on the left */
  opacity: 1;
}

.primary-nav ul li ul li:hover > ul a:link,
.primary-nav ul li ul li:hover > ul a:visited{
  font-size: 0.8rem;
}

.primary-nav ul li:hover > ul {/* showing sub menu */
  top: 100%;
  opacity: 1;
}

.primary-nav ul li.current-menu-item{/* the current page being showed */
}

.primary-nav ul:before, 
	.primary-nav ul:after {
  content: "";
  display: table;
}

.primary-nav ul:after{
  clear: both;
}

.primary-nav__logo-icon{/* Small logo icon at left side of nav bar */
  display: none;
}

@media (min-width: 1100px) {

  .primary-nav__logo-icon {
    display: inline-block;
    width: 3rem;
    height: 3rem;
    float: left;
  }
}

.page-section{
	width: 100%;
	padding: 0 2rem;
}

.page-section:nth-of-type(2){
  padding-top: 2rem;
}

@media (min-width: 870px) {

  .page-section {
    padding: 2rem;
  }
}

.page-section--grey{
  background-color: #eee;
}

.page-section__title{
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  padding: 2rem 0;
  color: #1c1d4b;
}

.wrapper{
	text-align: center;
	margin: auto;
	position: relative;
}

.wrapper::after {
  content: "";
  display: table;
  clear: both;
}

@media (min-width: 530px) {

  .wrapper {
    margin: 2rem auto;
  }
}

@media (min-width: 1100px) {

  .wrapper {
    width: 80%;
  }
}

.wrapper--bottom{
  position: absolute;
  bottom: 0;
  margin: 0;
  width: 95%;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.wrapper--align-left{
  text-align: left;
}

.wrapper--no-top-margin{
  margin-top: 0;
}

.post{
	text-align: center;
	margin: 0 auto;
	padding: 1.5rem 2rem 5rem 2rem; /* bottom padding is to offset button link at bottom */
	background-color: #fff;
	color: #1c1d4b;
	position: relative;
	min-width: 80%;
}

.post::after {
  content: "";
  display: table;
  clear: both;
}

.post__featured-image{
  margin: 2rem auto;
}

.post__title{
  padding: 1rem 0;
}

.post__subtitle{}

.post__info{
  font-weight: 100;
  font-size: 1rem;
  line-height: 1.65;
}

.post__description{
  text-indent: 2rem;
  font-weight: 100;
  text-align: left;
  font-size: 1rem;
}

.post:last-of-type{
  margin-bottom: 2rem;
}

.post--course{
  border: 2px solid #1c1d4b;
  border-radius: 10px;
  padding-bottom: 8rem;
  width: 100%;
}

.post--coursetype{
  border: 2px solid #1c1d4b;
  border-radius: 10px;
}

.post--coursetype::before{/* course type icon */
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 1px solid #1c1d4b;
  border-radius: 25px;
  background-size: 50px 50px;
  background: url('assets/images/icons/course.png') no-repeat center;
}

.large-hero{
	margin: 0 -2rem;
	position: relative;
}

.large-hero__img{
  display: block;
  width: 100%;
  z-index: 0;
  opacity: 0.3;
  position: absolute;
}

.large-hero__content{
  width: 80%;
  position: relative;
  top: 0.5rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

@media (min-width: 530px) {}

.large-hero__title{
  font-weight: 300;
  font-size: 1rem;
  text-align: center;
  text-shadow: 2px 2px 2px #d49601;
}

@media (min-width: 530px) {

  .large-hero__title {
    font-size: 1.4rem;
  }
}

@media (min-width: 870px) {

  .large-hero__title {
    font-weight: 500;
    font-size: 1.8rem;
  }
}

@media (min-width: 1100px) {

  .large-hero__title {
    font-weight: 900;
    font-size: 2rem;
  }
}

.large-hero__description{
  font-weight: 100;
  font-size: 0.8rem;
  text-indent: 3.2rem;
  color: #1c1d4b;
}

@media (min-width: 530px) {

  .large-hero__description {
    font-size: 1rem;
  }
}

@media (min-width: 870px) {

  .large-hero__description {
    font-weight: 300;
    font-size: 1.3rem;
  }
}

@media (min-width: 1100px) {

  .large-hero__description {
    font-weight: 500;
    font-size: 1.3rem;
  }
}

.general-content{
	color: #2854d4;
	padding: 1rem;
	margin: auto;

}

.general-content::after {
  content: "";
  display: table;
  clear: both;
}

.general-content img{
  margin: 0 1rem 0.5rem 0;
}

.general-content h1, .general-content h2, .general-content h3, .general-content h4, .general-content h5, .general-content h6{
	font-family: Helvetica, Arial, sans-serif;
  font-weight: 400;
  margin: 0.625rem 0;
}

.general-content h1{
  text-align: center;
  text-transform: uppercase;
  font-size: 2.25rem;
}

.general-content h2{
  font-size: 1.875rem;
}

.general-content h3{
  font-size: 1.5rem;
}

.general-content h4{
  font-size: 1.25rem;
}

.general-content h5{
  font-size: 1.125rem;
}

.general-content h6{
  font-size: 1rem;
}

.general-content p{
  color: #000;
  font-weight: 100;
  font-size: 0.9375rem;
  margin: 1rem 0;
  line-height: 1.5;
}

.carousel{
	overflow: visible;
	position: relative;
	-webkit-transition: 0.5s ease-out;
	transition: 0.5s ease-out;

}

.carousel__list{/* ul */
  list-style-type: none;
  padding: 0;
  margin: 0;
  position: relative;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

.carousel__list::after {
  content: "";
  display: table;
  clear: both;
}

.carousel__item{/* li */
  float: left;
  position: relative;
  width: 100%;
  opacity: 0;
  -webkit-transition: opacity 1s ease-out;
  transition: opacity 1s ease-out;
}

@media (min-width: 530px) {

  .carousel__item {
    padding: 0 2rem;
  }
}

.carousel__item--active{
  height: auto;
  opacity: 1;
}

.carousel__anchor{/* previous and next button */
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  opacity: 0;
}

@media (min-width: 870px) {

  .carousel__anchor {
    -webkit-transform: translateY(-50%) scale(1.5);
            transform: translateY(-50%) scale(1.5);
  }
}

.carousel__anchor--previous{
  left: 0;
}

.carousel__anchor--next{
  right: 10px;
}

.carousel__title{
  text-align: center;
}

.carousel__content{
  padding-top: 1px;
}

.carousel__content::after {
  content: "";
  display: table;
  clear: both;
}

.carousel__indicator-container{
  position: absolute;
  bottom: 5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.carousel__indicator-container::after {
  content: "";
  display: table;
  clear: both;
}

.carousel__indicator{
  float: left;
  margin: 0 2px;
  background-color: #fff;
  border: 2px solid #1c1d4b;
  width: 12px;
  height: 12px;
  border-radius: 6px;
  cursor: pointer;
  -webkit-transition: background-color 0.5s ease-out;
  transition: background-color 0.5s ease-out;
}

.carousel__indicator:hover{
  background-color: #f8ec1f;
}

.carousel__indicator--active{
  cursor: default;
  background-color: #d49601;
}

.carousel__indicator--active:hover{
  background-color: #d49601;
}

.carousel:hover .carousel__anchor{
  opacity: 1;
  -webkit-transform: translateY(-50%) scale(1);
          transform: translateY(-50%) scale(1);
}

.carousel img{
  float: none;
  margin: 1rem;
}

@media (min-width: 530px) {

  .carousel img {
    margin: 1rem 2rem;
  }
}

.arrow{
	width: 20px;
	height: 30px;
}

.arrow::before{
  content: "";
  background-color: #1c1d4b;
  width: 30px;
  height: 5px;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.arrow::after{
  content: "";
  background-color: #1c1d4b;
  width: 30px;
  height: 5px;
  position: absolute;
  top: 100%;
  left: 0;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.arrow--left::before{
  -webkit-transform-origin: 100% 0;
          transform-origin: 100% 0;
  -webkit-transform: rotate(-33deg);
          transform: rotate(-33deg);
}

.arrow--left::after{
  -webkit-transform-origin: 100% 100%;
          transform-origin: 100% 100%;
  -webkit-transform: rotate(33deg);
          transform: rotate(33deg);
}

.arrow--right::before{
  -webkit-transform-origin: 0% 0%;
          transform-origin: 0% 0%;
  -webkit-transform: rotate(33deg);
          transform: rotate(33deg);
}

.arrow--right::after{
  -webkit-transform-origin: 0% 100%;
          transform-origin: 0% 100%;
  -webkit-transform: rotate(-33deg);
          transform: rotate(-33deg);
}

.arrow--up::before{
  -webkit-transform-origin: 0 100%;
          transform-origin: 0 100%;
  -webkit-transform: rotate(-45deg) translateY(425%) scaleX(0.85);
          transform: rotate(-45deg) translateY(425%) scaleX(0.85);
}

.arrow--up::after{
  -webkit-transform-origin: 100% 100%;
          transform-origin: 100% 100%;
  -webkit-transform: rotate(45deg) translateY(-425%) scaleX(0.85);
          transform: rotate(45deg) translateY(-425%) scaleX(0.85);
}

.arrow--down::before{
  -webkit-transform-origin: 0 0%;
          transform-origin: 0 0%;
  -webkit-transform: rotate(45deg) translateY(425%) scaleX(0.85);
          transform: rotate(45deg) translateY(425%) scaleX(0.85);
}

.arrow--down::after{
  -webkit-transform-origin: 100% 0%;
          transform-origin: 100% 0%;
  -webkit-transform: rotate(-45deg) translateY(-425%) scaleX(0.85);
          transform: rotate(-45deg) translateY(-425%) scaleX(0.85);
}

/* Scroll down mouse icon */

.arrow--scroll{
  width: 15px;
  height: 25px;
  position: relative;
  display: block;
  margin: auto;
  -webkit-animation: scoll-down-arrow 3s infinite;
          animation: scoll-down-arrow 3s infinite;
}

.arrow--scroll::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border: 1px solid #1c1d4b;
  border-radius: 6px 6px 8px 8px;
}

.arrow--scroll::after{
  content: "|";
  font-size: 10px;
  color: #1c1d4b;
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.arrow:hover::before, .arrow:hover::after {
  background-color: #d49601;
  box-shadow: 2px 2px 2px #1c1d4b;
}

.btn{
	background-color: #d49601;
	color: #eee;
	font-weight: 300;

	display: block;
	width: 9.375rem;
	padding: 0.5rem 1rem;
	margin: 1rem auto;
	border: 2px solid #1c1d4b;
	border-radius: 5px;
	text-align: center;
	-webkit-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;

}

.btn:hover{
  background-color: rgba(212,150,1, 0.7);
  box-shadow: 3px 3px 3px #1c1d4b;
}

.modal{
	position: fixed;
	z-index: -20;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(255, 255, 255, 0.9);
	opacity: 0;
	overflow: scroll;
	-webkit-transform: scale(0.8);
	        transform: scale(0.8);
	-webkit-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
	
}

.modal--visible{
  z-index: 50;
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
}

.modal__close{
  position: absolute;
  color: #1c1d4b;
  font-weight: 700;
  top: 1rem;
  right: 1rem;
  -webkit-transform: scaleX(1.1);
          transform: scaleX(1.1);
}

@media (min-width: 870px) {

  .modal__close {
    top: 3rem;
    right: 3rem;
  }
}

.modal__close:hover{
  color: #d49601;
  cursor: pointer;
}

.row::after {
  content: "";
  display: table;
  clear: both;
}

.row--gutters{
  margin-right: -50px;
}

.row--gutters > div{
  padding-right: 50px;
  margin-bottom: 2rem;
}

@media (min-width: 870px) {

  .row--gutters > div {
    margin-bottom: 0;
  }
}

@media (min-width: 870px) {

  .row--equal-height-at-medium {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

.row--equal-height-at-medium > div{
  float: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media (min-width: 870px) {

  .row__medium-3 {
    float: left;
    width: 25%;
  }

  .row__medium-4 {
    float: left;
    width: 33.33%;
  }

  .row__medium-6 {
    float: left;
    width: 50%;
  }

  .row__medium-12 {
    float: left;
    width: 100%;
  }
}

@media (min-width: 1100px) {

  .row__large-3 {
    float: left;
    width: 25%;
  }

  .row__large-4 {
    float: left;
    width: 33.33%;
  }

  .row__large-6 {
    float: left;
    width: 50%;
  }

  .row__large-12 {
    float: left;
    width: 100%;
  }
}

.testimonial{
	border: 2px solid #1c1d4b;
	border-radius: 20px;
	position: relative;
	padding: 1rem;
	font-weight: 300;
	color: #1c1d4b;
	text-indent: 2rem;
	text-align: left;
}

.testimonial::before{/* testimonial icon */
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 1px solid #1c1d4b;
  border-radius: 25px;
  background-size: 50px 50px;
  background: url('assets/images/icons/testimonial.png') no-repeat center;
}

.reveal-item{
	opacity: 0;
	-webkit-transform: scale(0.9);
	        transform: scale(0.9);
	box-shadow: 5px 5px 5px #1c1d4b;
}

.reveal-item--is-visible{
  -webkit-transition: opacity 1s, box-shadow 0.5s ease-out, -webkit-transform 1.2s;
  transition: opacity 1s, box-shadow 0.5s ease-out, -webkit-transform 1.2s;
  transition: transform 1.2s, opacity 1s, box-shadow 0.5s ease-out;
  transition: transform 1.2s, opacity 1s, box-shadow 0.5s ease-out, -webkit-transform 1.2s;
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
}

.reveal-item:hover{
  box-shadow: none;
}