/*
Theme Name: NZ Flying Adventures 2018
Theme URI: http://www.macstudio.co.nz
Author: Jon Clamp
Author URI: http://www.macstudio.co.nz
Description: Bootstrap 4
Version: 1.0
License: MacStudio Limited
License URI: http://www.macstudio.co.nz
Tags: hello
Text Domain: bootstrap4
*/

body, td, th {
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	color: #28364f;
	background-color: #ffffff;
	font-size: 18px; /* Default 16px */
}
p {
	line-height: 1.5em;
}
h2, h3, h4, h5, h6 {
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
}

@font-face {
    font-family: 'bungee_regularregular';
    src: url('/wp-content/themes/nzflyingadventures2018/bungee-regular/bungee-regular-webfont.woff2') format('woff2'),
         url('/wp-content/themes/nzflyingadventures2018/bungee-regular/bungee-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

h1 {
	font-family: 'bungee_regularregular';
}


/* MOBILE HEADINGS */
h1 {
	font-size: 36px; /* Default 40px */
}
h2 {
	font-size: 28px; /* Default 32px */
}
h3 {
	font-size: 24px; /* Default 28px */
}
h4 {
	font-size: 22px; /* Default 24px */
}
h5 {
	font-size: 18px; /* Default 20px */
}
h6 {
	font-size: 16px; /* Default 16px */
}
/* END MOBILE HEADINGS */

a:link {
	color: #000000;
	text-decoration: none;
}
a:hover {
	color: #000000;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #000000;
}
a:active {
	text-decoration: none;
	color: #000000;
}



/* PADDING / MARGINS */
.nopadding {
	padding: 0 !important;
	margin: 0 !important;
}
/* COLOURS */
.white {
	color: #ffffff;
}
.blue {
	color: #28364f;
}
.lime {
	color: #b9c926;
}
.bg-blue {
	background-color: #28364f;
	color: #ffffff;
}
.bg-lime {
	background-color: #b9c926;
	color: #ffffff;
}
.bg-grey {
	background-color: #eeeeee;
	color: #000000;
}


/* BUTTONS */
.btn-lime {
	background-color: #b9c926;
	color: #FFF;
	border-radius: 0px;
}
.btn-lime:hover {
	background-color: #b9c926;
	color: #FFF;
	border-radius: 0px;
}
.btn-blue {
	background-color: #28364f;
	color: #FFF;
	border-radius: 0px;
}
.btn-blue:hover {
	background-color: #28364f;
	color: #FFF;
	border-radius: 0px;
}


/* SECTION BLUE */
.section-blue {
	background: #28364f;
	color: #ffffff;
}
.section-blue a:link {
	color: #ffffff;
	text-decoration: none;
}
.section-blue a:hover {
	color: #ffffff;
	text-decoration: none;
}
.section-blue a:visited {
	color: #ffffff;
	text-decoration: none;
}
.section-blue a:active {
	color: #ffffff;
	text-decoration: none;
}



/* SECTION LIME */
.section-lime {
	background: #b9c926;
	color: #ffffff;
}
.section-lime a:link {
	color: #ffffff;
	text-decoration: none;
}
.section-lime a:hover {
	color: #ffffff;
	text-decoration: none;
}
.section-lime a:visited {
	color: #ffffff;
	text-decoration: none;
}
.section-lime a:active {
	color: #ffffff;
	text-decoration: none;
}




/* SECTION GREY */
.section-grey {
	background: #999999;
	color: #ffffff;
}
.section-grey a:link {
	color: #ffffff;
	text-decoration: none;
}
.section-grey a:hover {
	color: #ffffff;
	text-decoration: underline;
}
.section-grey a:visited {
	color: #ffffff;
	text-decoration: none;
}
.section-grey a:active {
	color: #ffffff;
	text-decoration: none;
}



/* CAROUSEL CAPTION */
/*.carousel-caption {
	top: 50%;
	transform: translateY(-50%);
	bottom: initial;
}*/
.carousel-caption h1 {
	background-color: #b9c926;
	color: #ffffff;
	/*background: rgba(0,0,0,.1);*/
	padding: 20px;
}



/* TEXT ALIGNS */
.text-left-not-xs, .text-left-not-sm, .text-left-not-md, .text-left-not-lg {
    text-align: left;
}
.text-center-not-xs, .text-center-not-sm, .text-center-not-md, .text-center-not-lg {
    text-align: center;
}
.text-right-not-xs, .text-right-not-sm, .text-right-not-md, .text-right-not-lg {
    text-align: right;
}
.text-justify-not-xs, .text-justify-not-sm, .text-justify-not-md, .text-justify-not-lg {
    text-align: justify;
}
@media (max-width: 767px) {
    .text-left-not-xs, .text-center-not-xs, .text-right-not-xs, .text-justify-not-xs {
        text-align: inherit;
    }
    .text-left-xs {
        text-align: left;
    }
    .text-center-xs {
        text-align: center;
    }
    .text-right-xs {
        text-align: right;
    }
    .text-justify-xs {
        text-align: justify;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .text-left-not-sm, .text-center-not-sm, .text-right-not-sm, .text-justify-not-sm {
        text-align: inherit;
    }
    .text-left-sm {
        text-align: left;
    }
    .text-center-sm {
        text-align: center;
    }
    .text-right-sm {
        text-align: right;
    }
    .text-justify-sm {
        text-align: justify;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .text-left-not-md, .text-center-not-md, .text-right-not-md, .text-justify-not-md {
        text-align: inherit;
    }
    .text-left-md {
        text-align: left;
    }
    .text-center-md {
        text-align: center;
    }
    .text-right-md {
        text-align: right;
    }
    .text-justify-md {
        text-align: justify;
    }
}
@media (min-width: 1200px) {
    .text-left-not-lg, .text-center-not-lg, .text-right-not-lg, .text-justify-not-lg {
        text-align: inherit;
    }
    .text-left-lg {
        text-align: left;
    }
    .text-center-lg {
        text-align: center;
    }
    .text-right-lg {
        text-align: right;
    }
    .text-justify-lg {
        text-align: justify;
    }
}
/* END TEXT ALIGNS */





/* MOBILE MENU */
.overlay {
    height: 0%;
    width: 100%;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    background-color: #b9c926;
    overflow-y: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 15%;  /* was 25% */
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 30px;
    color: #ffffff;
    display: block;
    transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
    color: #ffffff;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

@media screen and (max-height: 450px) {
  .overlay {overflow-y: auto;}
  .overlay a {font-size: 20px}
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}






/* XS - Extra Small Devices, Phones */ 
/*@media (min-width : 320px) {
.container {
	max-width: 290px;
}
.text-align-left-desktop-centre-phone {
	text-align: center;
}
.text-align-right-desktop-centre-phone {
	text-align: center;
}
}*/


/* SM - Small Devices, Phones*/
@media (min-width: 576px) {
.container {
	max-width: 540px;
}
}


/* MD - Medium Devices, Tablets */
@media (min-width: 768px) {
.container {
	max-width: 720px;
}
}


/* LG - Large Devices, Desktops */
@media (min-width: 992px) {
.container {
	max-width: 960px;
}
	
/* DESKTOP HEADINGS */
h1 {
	font-size: 40px; /* Default 40px */
}
h2 {
	font-size: 32px; /* Default 32px */
}
h3 {
	font-size: 28px; /* Default 28px */
}
h4 {
	font-size: 24px; /* Default 24px */
}
h5 {
	font-size: 20px; /* Default 20px */
}
h6 {
	font-size: 16px; /* Default 16px */
}
/* END DESKTOP HEADINGS */	
	
}


/* XL - Large Devices, Wide Screens */
@media (min-width: 1200px) {
.container {
	max-width: 1140px;
}
}


/* XXL - Large Devices, Wide Screens */
@media (min-width: 1600px) {
.container {
	max-width: 1540px;
}
}


/* WORDPRESS */
.alignleft {
	float: left;
	margin-right: 15px
}
.alignright {
	float: right;
	margin-left: 15px
}
