@import url(https://fonts.googleapis.com/css?family=Open+Sans:700,300,300italic);

/* Universal Styles */


html {
	-webkit-text-size-adjust: none;
    height: 100%;
}

body {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.6em;
	color: #555555;
	margin: 0;
	padding: 0;
}

h1 {
	margin: 0 0 1em 0;
	font-size: 2.8em;
	font-weight: 300;
	color: #555555;
}

h2 {
	text-align: center;
	margin: 0 0 0.5em 0;
	font-size: 2.5em;
	line-height: 1.2em;
	font-family: "freight-display-pro", Georgia, "Times New Roman", Serif;
	font-style: italic;
	font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

h3 {
	text-align: center;
	margin: 0 0 0.5em 0;
	font-size: 1.5em;
	line-height: 1.2em;
	color: #555555; 
	font-family: "freight-display-pro", Georgia, "Times New Roman", Serif;
	font-style: italic;
	font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

h4 {
	text-align: center;
	margin: 0 0 0.5em 0;
	font-size: 1em;
	line-height: 1.2em;
	color: #555555; 
	font-family: "freight-display-pro", Georgia, "Times New Roman", Serif;
	font-style: italic;
	font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

h5 {
	text-align: center;
	margin: 0 0 0.5em 0;
	font-size: 1.6em;
	line-height: 1em;
	color: #FFF; 
	font-family: "freight-display-pro", Georgia, "Times New Roman", Serif;
	font-style: italic;
	font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

h4.underlinetext {
	font-weight: bold;
}

.blueline {
	border: aqua 1px solid;
}
section {
	margin: 0 0 0 0;
	text-align: center;
}

section .hair {
	text-align: center;
	margin-left:auto; 
    margin-right:auto;
}

a {
	color: #958f34;
	text-decoration: none;
}

a:visited {
	color: #958f34;
	text-decoration: none;
}

a.btn {
	font-size: 1em;
	color: #FFFFFF !important;
	border-radius: 2em;
    background-color: #e78a6f;
    padding: 0.5em 1em 0.5em 1em; 
	
    height: 50%; 
    text-decoration: none;
    -webkit-transition: background-color .5s;
    -moz-transition: background-color .5s;
    -o-transition: background-color .5s;
    transition: background-color .5s;
}

a.btn:hover {
    background-color: rgba(149,143,52,1);
}

a.btnterms {
	font-size: 1em;
	color: #FFF;
	border-radius: 2em;
    background-color: #958f34;
    padding: 0.5em 1em 0.5em 1em; 
    width: 100%;
    height: 50%; 
    text-decoration: none;
    -webkit-transition: background-color .5s;
    -moz-transition: background-color .5s;
    -o-transition: background-color .5s;
    transition: background-color .5s;
}



figure {
	margin: 0px;
}



 
/* Utils */
 
.product.hide {
    display: none;
}
 
[ng\:cloak],
[ng-cloak],
[data-ng-cloak],
[x-ng-cloak],
.ng-cloak,
.x-ng-cloak {
  display: none !important;
}

/* Header */
	
header {
	height: 452px;
}

/* Navigation */

/* Text flex nav 
.flex-container-nav {
	display:-webkit-flex;
	display: -ms-flexbox;
	display: flex;
	border: 1px solid #333;
	margin: -3.7em 0 0 0;
	max-width: 1366px;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	margin-left: auto;
	margin-right: auto;
	-webkit-flex-flow: column wrap;
	-ms-flex-wrap: column wrap;
	flex-flow: column wrap;
}

.flex-topnav {
	border: 1px solid #e32f2f;
	border-radius: .3em;
	box-sizing: border-box;
	display:-webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	
}

.flex-topnavleft {
	border: 1px solid #2fe3a1;
	border-radius: .3em;
	box-sizing: border-box;
	max-width: 550px;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	flex: 1 1 auto;
}

.flex-topnavright {
	border: 1px solid #1a8446;
	border-radius: .3em;
	box-sizing: border-box;
	max-width: 550px;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	flex: 1 1 auto;
}

.flex-topnav ul li {
	display:-webkit-flex;
	display: -ms-flexbox;
	display: flex;
	border: 1px solid #e32fb9;
	border-radius: .3em;
}

.flex-btmnav {
	border: 1px solid #4a2fe3;
}

*/

nav
{
   position: fixed; 
   z-index: 1;
   width: 100%;
   height: 84px;
   background-color:rgba(255, 255, 255, 1);
   font-weight: 400;
}

nav ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
	overflow: hidden;
	max-width: 1366px;
}

nav ul li {
	float: left;
}

nav .divider {
	background-image: url(../images/main/navdivider.jpg);
	background-repeat: repeat-x;
	background-position: inherit;
	margin-top: 84px;
	height: 3px;
}

nav .primary {
	z-index: 2;
	max-width: 1200px;
	display: block;
	text-align: center;
	margin: -67px auto -67px auto;
	position: relative;
	background-color:rgba(0, 0, 0, 0.5);
}

nav .primary .left {
	float: left;
	display: flex;
	max-width: 550px
}

nav .primary ul li a {
	display: inline-block;
	color: #958f34;
	text-decoration: none;
	position: relative;
	padding: 8px 20px;
	margin-left: 10px;
	margin-right: 10px;
	
}

nav .primary ul li a:visited {
	color: #958f34;
}

nav .primary ul li a:hover {
	color: #FFFFFF;
	border-radius: 2em;
    background-color: #958f34;
    width: auto;
    height: 50%; 
    text-decoration: none;
    -webkit-transition: background-color .5s;
    -moz-transition: background-color .5s;
    -o-transition: background-color .5s;
    transition: background-color .5s;
}

nav .primary .right {
	float: right;
	display: flex;
	max-width: 550px
}

nav .primary ul li.icon {
	display: none;
}



/* When the screen is less than 970 pixels wide, hide all list items, except for the first one ("Home"). Show the list item that contains the link to open and close the topnav (li.icon) 
?@media screen and (max-width:970px) {
  nav .primary ul li {display: none;}
  nav .primary .right ul li:not(:last-child) {display: none;}
  nav .primary ul li.icon {
    float: right;
    display: inline-block;
  }
} */

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens 
@media screen and (max-width:970px) {
  nav .primary ul.responsive {position: relative;}
  nav.primary ul.responsive li.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  nav .primary ul.responsive li {
    float: none;
    display: inline;
    z-index: 3;
  }
  nav .primary ul.responsive li a {
    display: block;
    text-align: left;
    z-index: 3;
  }
} */



.activelink {
	color: #FFFFFF !important;
	border-radius: 2em;
    background-color: #958f34;
    padding: 0px;
}

/* ID Styles */

@media only screen and (min-device-width : 749px) 

 {

#logo {
	position: absolute;
	left: 50%;
	display: block;
	width: 432px;
	height: 177px;
	margin-top: 6px;
	margin-left: -216px;
	text-align: center;
	background-image: url(../images/main/logo.png);
	background-repeat: no-repeat;
}

}

/* Class Styles */

.divider {
	background-color: #aaa65d;
	width: 100%;
	height: 3px;
}

.hero {
	height: 452px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

.herohome {
	background-image: url(../images/headers/home-desktop.jpg);
}

.herobeautytreatments {
	background-image: url(../images/headers/beautytreatments.jpg);
}

.heroproducts {
	background-image: url(../images/headers/products.jpg);
}

.heroblog {
	background-image: url(../images/headers/beautysecrets-main.jpg);
}

.heroaboutus {
	background-image: url(../images/headers/aboutus.jpg);
}

.herocontact {
	background-image: url(../images/headers/contact.jpg);
}

.herooilpulling {
	background-image: url(../images/headers/beautysecrets-oilpullingcover.jpg);
}

.heroskincareoils {
	background-image: url(../images/headers/beautysecrets-skincareoils.jpg);
}

.heroapplecider {
	background-image: url(../images/headers/beautysecrets-applecider.jpg);
}

.heromassagechair {
	background-image: url(../images/headers/beautysecrets-massagechair.jpg);
}

.content {
	max-width: 1366px;
	margin: 0 auto;
	position: relative;
	padding: 0 50px 0 50px;
}

.topheading {
	padding-top: 50px;
}

.leafbg {
	background-image: url(../images/sectionimgs/leaftop.png);
	background-repeat: no-repeat;
	background-position: center top;
	background-size: inherit;
	width: auto;
	height: auto;
}
.centreimg {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	display:block;
}

.list {
	list-style-type: none;
	text-align: center;
}

.bookonlineimg {
	height: 780px;
	background-image: url(../images/sectionimgs/downloadapp1.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	position: relative;	
}

.bookonlineimg h2 > a {
	color: #FFFFFF;
}

.bookonlineimg p {
	color: #FFF;
}

.contentright {
	max-width: 500px;
	margin: 0 15% auto auto;
	float: right;
}

.sendusanoteimg {
	height: 710px;
	background-image: url(../images/sectionimgs/sendusanote.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	position: relative;	
}

.contentleft {
	max-width: 500px;
	float:left;
	margin: 0 auto auto 15%;
	padding-top: 7%;
	display: block;
}

.colourbg {
	background-color: #f4f0e7;
}

.opacity {
   opacity: 0.7;
   transition: opacity .5s ease-in-out;
   -moz-transition: opacity .5s ease-in-out;
   -webkit-transition: opacity .5s ease-in-out;
}

.opacity:hover {
    opacity: 1;
}

.promoimage {
    margin-bottom: 0;
    padding-bottom: 0px;
    align-items: baseline;
}

.promoimage img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 439px;
	margin-left:auto; 
    margin-right:auto; 
    padding-top: 15px;
}

p.product-title {
	font-size: 0.8em;
	margin:0px;
}

p.product-description {
	font-size: 0.7em;
	margin:0px;
}

a.productbtn {
	font-size: 0.6em;
	color: #FFF;
	border-radius: 2em;
    background-color: #e78a6f;
    padding: 0.5em 1em 0.5em 1em; 
    width: 100%;
    height: 50%; 
    text-decoration: none;
    -webkit-transition: background-color .5s;
    -moz-transition: background-color .5s;
    -o-transition: background-color .5s;
    transition: background-color .5s;
}

table tr td a.productbtnleft {
	float: left;
	color: #FFF;
	border-radius: 2em;
    background-color: #e78a6f;
    padding: 0.1em; 
    width: 100%;
    height: 50%; 
    text-decoration: none;
    -webkit-transition: background-color .5s;
    -moz-transition: background-color .5s;
    -o-transition: background-color .5s;
    transition: background-color .5s;
}

a.treatmentbtn {
	font-size: 0.8em;
	color: #FFF;
	border-radius: 2em;
    background-color: #e78a6f;
    padding: 0.5em 1em 0.5em 1em; 
    width: 100%;
    height: 50%; 
    text-decoration: none;
    -webkit-transition: background-color .5s;
    -moz-transition: background-color .5s;
    -o-transition: background-color .5s;
    transition: background-color .5s;
}

a.productbtn:hover {
    background-color: rgba(149,143,52,1);
}

/* Flex */

.flex-container {
	display:-webkit-flex;
	display: -ms-flexbox;
	display: flex;
	margin: 1em 0;
	max-width: 1366px;
	-webkit-justify-content: space-around;
	-ms-flex-pack: justify;
	justify-content: space-around;
	margin-left: auto;
	margin-right: auto;
	-webkit-flex-flow: row wrap;
	-ms-flex-wrap: row wrap;
	flex-flow: row wrap;
}

.flex-container-paragraph {
	display:-webkit-flex;
	display: -ms-flexbox;
	display: flex;
	margin: 0;
	/* border: 1px solid #333; */
	max-width: 1366px;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
	-webkit-flex-flow: row wrap;
	-ms-flex-wrap: row wrap;
	flex-flow: row wrap;
}

.flex-container-products {
	display:-webkit-flex;
	display: -ms-flexbox;
	display: flex;
	margin: 0;
	/* border: 1px solid #333; */
	max-width: 1366px;
	-webkit-justify-content: space-around;
	-ms-flex-pack: justify;
	justify-content: space-around;
	margin-left: auto;
	margin-right: auto;
	-webkit-flex-flow: row wrap;
	-ms-flex-wrap: row wrap;
	flex-flow: row wrap;
}

.flex {
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
}

.box {
	border-radius: .3em;
	box-sizing: border-box;
	max-width: 350px;
}

.boxmobile {
	border-radius: .3em;
	box-sizing: border-box;
	max-width: 750px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	padding-right: 5px;
}

.boxfulcol {
	border-radius: .3em;
	box-sizing: border-box;
	max-width: 1262px;
	/* border: 1px solid #e91d1d; */
}

.boxtwocol {
	border-radius: .3em;
	box-sizing: border-box;
	max-width: 550px;
}

.boxonecol {
	border-radius: .3em;
	box-sizing: border-box;
	max-width: 450px;
}

.boxproducts {
	padding-bottom: 15px;
}

.flex-container-promo {
	display:-webkit-flex;
	display: -ms-flexbox;
	display: flex;
	margin-top: -3em;
	margin-bottom: -3.7em;
	max-width: 1366px;
	-webkit-justify-content: space-around;
	-ms-flex-pack: justify;
	justify-content: space-around;
	margin-left: auto;
	margin-right: auto;
	-webkit-flex-flow: row wrap;
	-ms-flex-wrap: row wrap;
	flex-flow: row wrap;
	align-items: center;
}

.boxpromo {
	border-radius: .3em;
	box-sizing: border-box;
	max-width: 550px;
	min-width: 350px;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	text-align: center;
	align-items: center;
	padding: 2em;
}


label  {
	background: #fae8e2;
	padding: 5px;
}

/* .flex-container table tr td:nth-of-type(2n+0) {
	font-weight: bold;
	} */


	@media only screen and (max-width: 720px) {
		flex-container  {
			display: block;
		}
}

/* Tables */

table {
	float: left;
	
}

.flex-container table td:nth-of-type(2n+0) {
	min-width: 60px;
}

th {
	text-align: center;
	font-size: 1.5em;
	color: #555555; 
	font-family: "freight-display-pro", Georgia, "Times New Roman", Serif;
	font-style: italic;
	font-weight: 300;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 1em;
}

td {
	text-align: left;
	font-size: 14px;
	width: auto;
	padding-left: 40px;
}

.blogarticle {
	width: 100%;
	clear: both;
	padding-top: 20px;
	text-align: left;
}

.blogimg {
	max-width: 100%;
    height: auto;
    float: left;
    padding-right: 2%;
}

.blogtext {
	text-align: left;
}

.blogtext ol li {
	margin-left: -3em;
	padding-left: -6em;
}

.blogtext h3 {
	text-align: left;
}

.blogtext h4 {
	text-align: left;
}

h2.formheading > a {
	color: #FFFFFF;
}

a.readmorebtn {
	font-size: 1em;
	color: #FFF;
	border-radius: 2em;
    background-color: #e78a6f;
    padding: 0.5em 1em 0.5em 1em; 
    width: 100%;
    height: 50%; 
    text-decoration: none;
    -webkit-transition: background-color .5s;
    -moz-transition: background-color .5s;
    -o-transition: background-color .5s;
    transition: background-color .5s;
}

a.readmorebtn:hover {
    background-color: rgba(170,166,93,1);
}


/* Form */


#feedback-page{
	text-align:center;
}

#form-main{
	width:100%;
	float:left;
	padding-top:0px;
}

#form-div {
	padding-left:35px;
	padding-right:35px;
	padding-top:5px;
	padding-bottom:50px;
	width: 450px;
	float: left;
	left: 50%;
	position: absolute;
	margin-top:30px;
	margin-left: -260px;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-radius: 13px;
}

.feedback-input {
	color:#3c3c3c;
	font-size: 16px;
	border-radius: 0;
	line-height: 22px;
	background-color: #fbfbfb;
	padding: 13px 13px 13px 54px;
	margin-bottom: 10px;
	width:100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	border: 3px solid rgba(0,0,0,0);
	-moz-border-radius: 13px;
	-webkit-border-radius: 13px;
	border-radius: 13px;
}

.feedback-input:focus{
	background: #fff;
	box-shadow: 0;
	border: 3px solid #958f34;
	color: #958f34;
	outline: none;
	padding: 13px 13px 13px 54px;
}

.focused{
	color:#958f34;
	border:#958f34 solid 3px;
}


td .popup {
	font-size: 0.9em;
}

td .popup-trigger {
	font-size: 0.8em;
}

/* Styling the Popup Window */

.popup-trigger { display: block; margin: 0 auto; max-width: 80px; background-color: #e78a6f; color: #fff; font-size: 0.6em; text-align: center; cursor: pointer; border-radius: 2em;  text-decoration: none;  -webkit-transition: background-color .5s; -moz-transition: background-color .5s; -o-transition: background-color .5s; transition: background-color .5s; }

.popup-trigger:hover { 
	background-color: rgba(149,143,52,1); 
}

.popup {
	display: none; 
	position: absolute;
	top: 500px;
	left: 50%;
	max-width: 700px;
	margin-left: -350px;
	padding: 30px 30px;
	background: rgb(54, 25, 25); /* Fall-back for browsers that don't support rgba */
    background: rgba(149,143,52, .95);
    color: #FFF; 
    font-size: 0.8em; 
    line-height: 1.6em; 
    border: none; 
    z-index: 9999; 
    border-radius: 2em;
}

.popup-mobile {position: relative; top: 0; left: 0; margin: 30px 0 0; width: 100%;}		
.popup-btn-close {position: absolute; top: 8px; right: 14px; color: #FFF; font-size: 0.9em; font-weight: bold; text-transform: uppercase; cursor: pointer;}


.popuptext {
	text-align: left;
}

.boxproducts ul li {
	padding-left: 0px;
	text-align: left;
	margin-left: -28px;
}

/* Icons ---------------------------------- */
#name{
	background-image: url(../images/sectionimgs/name.svg);
	background-size: 30px 30px;
	background-position: 11px 8px;
	background-repeat: no-repeat;
}

#name:focus{
	background-image: url(../images/sectionimgs/nameactive.svg);
	background-size: 30px 30px;
	background-position: 8px 5px;
	background-position: 11px 8px;
	background-repeat: no-repeat;
}

#email{
	background-image: url(../images/sectionimgs/email.svg);
	background-size: 30px 30px;
	background-position: 11px 8px;
	background-repeat: no-repeat;
}

#email:focus{
	background-image: url(../images/sectionimgs/emailactive.svg);
	background-size: 30px 30px;
	background-position: 11px 8px;
	background-repeat: no-repeat;
}

#comment{
	background-image: url(../images/sectionimgs/comment.svg);
	background-size: 30px 30px;
	background-position: 11px 8px;
	background-repeat: no-repeat;
}

#comment:focus{
	background-image: url(../images/sectionimgs/commentactive.svg);
	background-size: 30px 30px;
	background-position: 11px 8px;
	background-repeat: no-repeat;
}

textarea {
    width: 100%;
    height: 150px;
    line-height: 150%;
    resize:vertical;
}

input:hover, textarea:hover,
input:focus, textarea:focus {
	background-color:white;
}

#button-send{
	font-size: 1em;
	color: #FFF;
	border-radius: 2em;
    background-color: #e78a6f;
    padding: 0.5em 1em 0.5em 1em; 
    width: 100%;
    height: 50%; 
    text-decoration: none;
    -webkit-transition: background-color .5s;
    -moz-transition: background-color .5s;
    -o-transition: background-color .5s;
    transition: background-color .5s;
	float:left;
	border: 0;
}

#button-send:hover{
	background-color: rgba(149,143,52,1);
	color: #FFFFFF;
}
	
.submit:hover {
	color: #FFFFFF;
	background-color: rgba(146,96,100,.8);
}



/* Footer */

footer {
	font-size: .7em;
	line-height: 1.4em;
	background-color: #e7e6d2;
	width: 100%;
}

.footercontactdetails {
	display:-webkit-flex;
	display: -ms-flexbox;
	display: -moz-flex;
	display: flex;
	max-width: 220px;
	padding-left: 10px;
}

.flex-container-footer {
	display:-webkit-flex;
	display: -ms-flexbox;
	display: -moz-flex;
	display: flex;
	max-width: 1366px;
	-webkit-flex-flow: row wrap;
	-moz-flex-flow: row wrap;
	-ms-flex-wrap: row wrap;
	flex-flow: row wrap;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	margin-left: auto;
	margin-right: auto;
	height: 100px; 
	-webkit-align-items: center;
	-ms-align-items: center;
	align-items: center;
}

.flex-container-terms {
	display:-webkit-flex;
	display: -ms-flexbox;
	display: -moz-flex;
	display: flex;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	margin-left: auto;
	margin-right: auto;
	height: 50px; 
	text-align: center;
	margin-top: -20px;
	margin-bottom: -10px;
}

.footerbox {
	flex-grow: 1;
	flex-basis: auto;
	max-height: 44px;
	display: block;
	flex: 1 1 auto;
}

.flex-container-footer img { 
	max-height: 44px; 
}

picture {
	max-height: 44px !important; 
	display:-webkit-flex;
	display: -ms-flexbox;
	display: flex;
	display: -moz-flex;
	max-width: 150px;
}

@media only screen and (max-width: 1000px) {

picture {
	max-width: 50px;
	flex: auto;
}

}

.flex-container-sitedetails p {
	display:-webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	padding: 0px;
	margin: 0;
}

.flex-container-footer .opacity {
   opacity: 0.4;
   transition: opacity .5s ease-in-out;
   -moz-transition: opacity .5s ease-in-out;
   -webkit-transition: opacity .5s ease-in-out;
}



/* Media Queries */

@media all and (max-width: 953px) {

	.bookonlineimg .contentright p {
		color: #3a2b43;
	}
}	

@media all and (max-width: 480px) {
	.clearboth {
		clear: both;
		float: left:
	}
}

@media all and (max-width: 940px) {

    .desktoptreatments {display:none;}
    .mobiletreatments {display:block;}

}


@media all and (min-width: 941px) {

    .desktoptreatments {display:block;}
    .mobiletreatments {display:none;}

}



@media only screen and (max-width: 970px) {

nav .primary ul li a {
	display: inline-block;
	color: #958f34;
	text-decoration: none;
	position: relative;
	padding: 8px 16px;
	margin-left: 2px;
	margin-right: 2px;
	font-size: smaller;
}

}

@media all and (max-width: 1183px) {
	.hero {
	height: 452px;
	background-repeat: no-repeat;
	background-size: contain;
    background-position: center bottom;
    
}
}

@media all and (max-width: 1031px) {
	.hero {
	height: 400px;
	background-repeat: no-repeat;
	background-size: contain;
    background-position: center bottom;
    
}

header {
	height: 400px;
}

}

@media all and (max-width: 900px) {
	.hero {
	height: 380px;
	background-repeat: no-repeat;
	background-size: contain;
    background-position: center bottom;
    
}

header {
	height: 380px;
}
}

@media all and (max-width: 822px) {
	.hero {
	height: 350px;
	background-repeat: no-repeat;
	background-size: contain;
    background-position: center bottom;
    
}

header {
	height: 350px;
}
}



@media only screen 
and (min-width : 415px) 
and (max-width : 749px)
 {
	 
.hero {
	height: 340px;
	background-repeat: no-repeat;
	background-size: contain;
    background-position: center bottom;
    
}
	
header {
	height: 340px;
}
	
	
#logo {
	position: absolute;
	left: 50%;
	display: block;
	width: 300px !important;
	height: 76px !important;
	margin-top: 6px;
	margin-left: -150px;
	text-align: center;
	background-image: url(../images/main/logosmlthin.png) !important;
	background-repeat: no-repeat;
	visibility: visible;
}	
	
nav
{
   position: absolute;
   z-index: 1;
   width: 100%;
   height: 170px;
   background-color:rgba(255, 255, 255, 1);
   font-weight: 400;
}
	
nav .divider {
	visibility: hidden;
}

nav .primary {
	z-index: 2;
	width: 100%;
	display: block;
	text-align: center;
	margin: 10px auto 80px auto;
	position: relative;
	background-color:rgba(0, 0, 0, 0.5);
}

nav .primary .left {
	width: 100%;
	display: inline;
	position: relative;
	text-align: center;
	margin-bottom: 6px;
	left: 50%;
	margin-left: -150px;
	clear: both;
}


nav .primary .right {
	width: 100%;
	display: inline;
	position: relative;
	text-align: center;
	left: 50%;
	margin-left: -150px;
	float: left;
}
	
nav .primary ul li a {
	display: inline-block;
	color: #958f34;
	text-decoration: none;
	position: relative;
	padding: 2px 8px;
	margin-left: 12px;
	margin-right: 12px;
	font-size: smaller;
}	
	
}


@media only screen 
and (min-width : 376px) 
and (max-width : 414px)
 {
	 
.hero {
	height: 310px;
	background-repeat: no-repeat;
	background-size: contain;
    background-position: center bottom;
    
}
	
header {
	height: 310px;
}
	
	
#logo {
	position: absolute;
	left: 50%;
	display: block;
	width: 300px !important;
	height: 76px !important;
	margin-top: 6px;
	margin-left: -150px;
	text-align: center;
	background-image: url(../images/main/logosmlthin.png) !important;
	background-repeat: no-repeat;
	visibility: visible;
}	
	
nav
{
   position: absolute;
   z-index: 1;
   width: 100%;
   height: 170px;
   background-color:rgba(255, 255, 255, 1);
   font-weight: 400;
}
	
nav .divider {
	visibility: hidden;
}

nav .primary {
	z-index: 2;
	width: 100%;
	display: block;
	text-align: center;
	margin: 10px auto 80px auto;
	position: relative;
	background-color:rgba(0, 0, 0, 0.5);
}

nav .primary .left {
	width: 100%;
	display: inline;
	position: relative;
	text-align: center;
	margin-bottom: 6px;
	left: 50%;
	margin-left: -150px;
	clear: both;
}


nav .primary .right {
	width: 100%;
	display: inline;
	position: relative;
	text-align: center;
	left: 50%;
	margin-left: -150px;
	float: left;
}
	
nav .primary ul li a {
	display: inline-block;
	color: #958f34;
	text-decoration: none;
	position: relative;
	padding: 2px 8px;
	margin-left: 12px;
	margin-right: 12px;
	font-size: smaller;
}	
	
}

@media only screen 
and (min-width : 320px) 
and (max-width : 375px)
 {
	 
.hero {
	height: 300px;
	background-repeat: no-repeat;
	background-size: contain;
    background-position: center bottom;
    
}
	
header {
	height: 300px;
}
	
	
#logo {
	position: absolute;
	left: 50%;
	display: block;
	width: 300px !important;
	height: 76px !important;
	margin-top: 6px;
	margin-left: -150px;
	text-align: center;
	background-image: url(../images/main/logosmlthin.png) !important;
	background-repeat: no-repeat;
	visibility: visible;
}	
	
nav
{
   position: absolute;
   z-index: 1;
   width: 100%;
   height: 170px;
   background-color:rgba(255, 255, 255, 1);
   font-weight: 400;
}
	
nav .divider {
	visibility: hidden;
}

nav .primary {
	z-index: 2;
	width: 100%;
	display: block;
	text-align: center;
	margin: 10px auto 80px auto;
	position: relative;
	background-color:rgba(0, 0, 0, 0.5);
}

nav .primary .left {
	width: 100%;
	display: inline;
	position: relative;
	text-align: center;
	margin-bottom: 6px;
	left: 50%;
	margin-left: -150px;
	clear: both;
}


nav .primary .right {
	width: 100%;
	display: inline;
	position: relative;
	text-align: center;
	left: 50%;
	margin-left: -150px;
	float: left;
}
	
nav .primary ul li a {
	display: inline-block;
	color: #958f34;
	text-decoration: none;
	position: relative;
	padding: 2px 8px;
	margin-left: 12px;
	margin-right: 12px;
	font-size: smaller;
}	
	
}