/*
Theme Name: Stylish Tiles 2019s
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: 400;
	color: #000000;
	background-color: #ffffff;
	font-size: 18px; /* Default 16px */
}
p {
	line-height: 2em;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Oswald', sans-serif;
	font-weight: 500;
	text-transform: uppercase;
}

/* 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: #004a98;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #004a98;
}
a:hover {
	color: #004a98;
	text-decoration: none;
}
a:active {
	text-decoration: none;
	color: #004a98;
}



/* COLOURS */
.white {
	color: #ffffff;
}
.blue {
	color: #004a98;
}
.dark-blue {
	color: #003366;
}


/* BUTTONS */
.btn-blue {
	background-color: #004a98;
	color: #FFF;
	border-radius: 0px;
}
.btn-blue:hover {
	background-color: #004a98;
	color: #FFF;
	border-radius: 0px;
}

body .gform_wrapper .gform_footer input[type=submit] {
    background-color: #007a4c;
	color: #FFF;
	border-radius: 0px;
    border: none;
    text-transform: uppercase;
    font-size: 18px;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 7px;
    padding-bottom: 7px;
}

.btn-cyan {
	background-color: #0075c9;
	color: #FFF;
	border-radius: 0px;
}
.btn-cyan:hover {
	background-color: #0075c9;
	color: #FFF;
	border-radius: 0px;
}
.btn-green {
	background-color: #007a4c;
	color: #FFF;
	border-radius: 0px;
}
.btn-green:hover {
	background-color: #007a4c;
	color: #FFF;
	border-radius: 0px;
}
.btn-white {
	background-color: #ffffff;
	color: #003366;
	border-radius: 0px;
}
.btn-white:hover {
	background-color: #ffffff;
	color: #003366;
	border-radius: 0px;
}


/* BULLETS */
ul {
    margin-left: 0;
    padding-left: 0;
    list-style-type: none;
    list-style-image: none;
}

li {
    margin-left: 0;
    padding-left: 0;
    list-style-type: none;
    list-style-image: none;
}

/* GALLERY */
	.wp-block-gallery {
		margin-bottom:0px;
	}

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

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


/* SECTION CYAN */
.section-cyan {
	background: #0075c9;
	color: #ffffff;
}
.section-cyan a:link {
	color: #ffffff;
	text-decoration: none;
}
.section-cyan a:visited {
	color: #ffffff;
	text-decoration: none;
}
.section-cyan a:hover {
	color: #ffffff;
	text-decoration: none;
}
.section-cyan a:active {
	color: #ffffff;
	text-decoration: none;
}

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


/* BOOTSTRAP CAROUSEL CAPTION */
.carousel-caption {
	top: 50%;
	transform: translateY(-50%);
	bottom: initial;
}
.carousel-caption h1 {
	background: rgba(0,0,0,.5);
	padding: 30px;
}




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

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

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 24px; /* was 36px */
    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;
  }
}

/* OWL NAV */
.owl-prev {
    visibility: hidden;  
}

.owl-next {
    visibility: hidden;  
}





/* 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 */




/* 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 */	
	
/* OWL NAV */
.owl-prev {
    visibility: visible;  
}

.owl-next {
    visibility: visible;  
}	
	
}


/* 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
}
