/*
Theme Name: Cambridge Estates 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: 'Roboto', sans-serif;
	color: #545454;
	background-color: #ffffff;
	font-size: 16px; /* Default 16px */
	font-weight: 300;
}
p {
	line-height: 2em;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Playfair Display', serif;
	color: #8c734d;
	line-height: 1.5em;
}

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



/* PADDING / MARGINS */
.nopadding {
	padding: 0 !important;
	margin: 0 !important;
}
/* COLOURS */
.white {
	color: #ffffff;
}
.grey {
	color: #545454;
}
.gold {
	color: #8c734d;
}
.gold-border {
	border-color: #8c734d;
	border-style: solid;
	border-width: 1px;
}

hr { 
    display: block;
    margin-top: 25px;
    margin-bottom: 25px;
    margin-left: auto;
    margin-right: auto;
    border-style: inset;
	border-bottom-color: #8c734d;
	border-bottom-style: solid;
	border-bottom-width: 1px;
}


/* SECTION FADE */
.section-fade {
	background-image: linear-gradient(to right, #545454, #8c734d);
	color: #ffffff;
}
.section-fade a:link {
	color: #ffffff;
	text-decoration: none;
}
.section-fade a:visited {
	color: #ffffff;
	text-decoration: none;
}
.section-fade a:hover {
	color: #ffffff;
	text-decoration: none;
}
.section-fade 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:visited {
	color: #ffffff;
	text-decoration: none;
}
.section-grey a:hover {
	color: #cccccc;
	text-decoration: underline;
}
.section-grey a:active {
	color: #ffffff;
	text-decoration: none;
}



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



/* MOBILE MENU */
.overlay {
    height: 0%;
    width: 100%;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
	background-color: #8c734d;
    /*background-color: rgb(0,0,0);*/
    /*background-color: rgba(0,0,0, 0.9);*/
    overflow-y: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 10%;
    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;
	font-family: 'Playfair Display', serif;
}

.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;
  }
}



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


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