/*
Theme Name: Eyes Wide Bay
Description: Eyes Wide Bay Website Theme
Version: 1.0
Author: The Code Co.
Author URI: http://thecode.co
*/

/*
Theme Name: Baseplate
Theme URI: [GitHub Link]
Description: Baseplate theme
Version: 1.0
Author: The Code Co.
Author URI: http://thecode.co
*/

/* Author Styles */

html {
	font-family: 'Source Sans Pro', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Source Sans Pro', sans-serif;
}

/* Layout */

.mobmenu, nav .label {
	display: none;
}

.cntr {
	margin: 0 auto;
	width: 100%;
	max-width: 1080px;
}

section.row .cntr {
	max-width: 1130px;
}

.row {
	padding: 50px 0;
    width: 100%;
	float: left;
}

.grey {
	background: #eee;
}

.full {
	width: 80%;
	float: left;
	margin: 0 10%;
}

.half {
	width: calc(50% - 50px);
	float: left;
	margin: 0 25px;
}

.third {
	width: calc(33.33% - 50px);
	float: left;
	margin: 0 25px;
}

.twothird {
	width: calc(66.66% - 50px);
	float: left;
	margin: 0 25px;
}

.divider {
	width: 50px;
	height: 4px;
	background: #999;
	margin: 0 auto;
}

p a {
	color: #8E7352;
	font-weight: 700;
	text-decoration: none;
}

a.button {
	padding: 15px 20px;
	border: 1px solid #8E7352;
	color: #8E7352;
	border-radius: 3px;
	font-weight: bold;
	font-size: 14px;
	text-decoration: none;
	display: inline-block;
	margin-top: 5px;
}

a.button:hover {
	background: #8E7352;
	color: #fff;
}

.mobileMenu {
	display: none;
}

/* Header */

header {
	width: 100%;
	float: left;
	height: 141px;
}

header .cntr {
	position: relative;
}

header .logo {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
}

header .contact {
	float: right;
	margin-top: 90px;
}

header .contact {
	color: #8E7352;
	font-size: 32px;
	font-weight: bold;
}

header .contact span {
	color: #585858;
	font-size: 18px;
}

nav {
	width: 100%;
	background: #EDDAAD;
	background-image: url(assets/images/nav-bg.png);
	background-repeat: repeat-y;
	background-position: center;
	height: 50px;
	float: left;
	position: relative;
}

nav .cntr ul {
	width: calc(100% - 114px);
	margin: 0;
	text-align: right;
	height: 50px;
	background: #8E7352;
	padding: 0 15px 0 15px;
	float: right;
}

nav .cntr ul li {
	display: inline-block;
	position: relative;
	z-index: 11;
}

nav .cntr ul li:hover ul {
	display: block;
}

nav .cntr ul li a {
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	font-weight: bold;
	padding: 12px;
	display: block;
}

nav .cntr ul li ul {
	position: absolute;
	display: none;
	width: 250px;
	z-index: 10;
	padding: 0;
	top: 49px;
	height: auto;
	z-index: 2000;
}

nav .cntr ul li.double ul {
	width: 500px;
}

nav .cntr ul li.double ul li {
	width: 50%;
}

nav .cntr ul li.double ul li:nth-child(even) {
	float: right
}

nav .cntr ul li.double ul li:last-child {
	float: left
}

nav .cntr ul li.double ul li:nth-last-child(2) a {
	border-bottom: 1px solid #9e805c;
}

nav .cntr ul li ul li {
	width: 100%;
	margin: 0;
	text-align: left;
}

nav .cntr ul li ul li a {
	padding: 10px 12px;
	border-top: 1px solid #9e805c;
}

nav .cntr ul li a:hover {
	background: #9e805c;
}

/* Slideshow */

#slideshow {
	width: 100%;
	float: left;
	height: 550px;
	position: relative;
	overflow: hidden;
}

#slideshow .item {
	width: 100%;
	height: 550px;
	background-size: cover;
	background-position: center center;
}

#pager {
	position: absolute;
	bottom: 50px;
	width: 100%;
	text-align: center;
	z-index: 1;
}

#pager a {
	font-size: 0;
	width: 13px;
	height: 13px;
	border-radius: 30px;
	border: 2px solid #fff;
	margin: 0 10px;
	display: inline-block;
}

#pager a.selected {
	background: #fff;
}

/* Intro */

#intro {
	float: left;
	width: 100%;
	padding: 70px 0;
	text-align: center;
}

#intro .cntr {
	max-width: 800px;
}

#intro h1 {
	margin-top: 25px;
	font-weight: bold;
}

/* Services */

#services {
	text-align: center;
	background: #eee;
	width: 100%;
	float: left;
	padding: 70px 0;
}

#services .icon {
	width: 100%;
	height: 100px;
	margin-bottom: 20px;
	background-position: center center;
	background-repeat: no-repeat;
}

#services h3 {
	font-weight: bold;
	color: #8E7352;
}

section.row p a.more {
	border: 1px solid #8E7352;
	border-radius: 5px;
	padding: 10px 20px 12px;
	margin-top: 5px;
	display: inline-block;
}

section.row p a.more:hover {
	background: #8E7352;
	color: #fff;
}

/* Appointment */

#make {
	width: 100%;
	float: left;
	background-color: #F8EAC9;
}

#make .half {
	height: 415px;
	width: 50%;
	margin: 0;
	background-position: center center;
	background-size: cover;
	padding: 80px;
	display: table;
}

#make .half .text {
	width: 100%;
	display: table-cell;
	vertical-align: middle;
}

#make .half a.button {
	margin-right: 20px;
}

#make .call {
	color: #444;
	font-weight: bold;
}

#make .call span {
	color: #8E7352;
}

#make h2 {
	font-weight: bold;
	color: #8E7352;
}

/* Inner Styles */

section.row textarea {
	width: 100% !important;
	border: 1px solid #ccc !important;
}

section.row input {
	width: 100% !important;
}

section.row input[type="submit"] {
	padding: 10px;
	background: #8E7352;
	color: #fff;
	width: auto !important;
	border: 0;
}

section.row ul, section.row ol {
	padding: 0;
	margin: 10px 0;
}

section.row ul li {
	width: 100%;
	margin-left: 20px;
}

section.row ol li {
	width: 100%;
	margin-left: 15px;
	padding-left: 5px;
}

/* Footer */

footer {
	padding: 50px 0;
	float: left;
	width: 100%;
	color: #444;
	font-size: 14px;
}

footer ul {
	float: right;
	text-align: right;
	margin: 0;
	padding: 0;
}

footer ul li {
	display: inline-block;
}

footer ul li {
	margin-bottom: 0;
}

footer ul li ul {
	display: none;
}

footer ul li a  {
	margin-left: 15px;
	color: #444;
	text-decoration: none;
}

#disclaimer {
	font-size: 14px;
	width: 100%;
	float: left;
	color: #999;
	line-height: 22px;
	padding: 35px 0;
	text-align: center;
	background: #eee;
}

/* Accordion */

.acc-row {
	padding-top: 20px;
	margin-top: 20px;
	border-top: 1px solid #ddd;	
}

.acc-row .heading {
	color: #8E7352;
	text-decoration: none;
	font-size: 1.125rem;
}

.acc-row .hidden {
	width: 100%;
	float: left;
}

.acc-row .hidden, .acc-row .hidden p {
	color: #444;
}

img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}

@media screen and (max-width: 1160px) {
	
	.cntr {
		padding: 0 40px;
	}
	
	nav .cntr ul {
		padding: 0 15px 0 75px;
	}
	
	nav .cntr ul li a {
		font-size: 14px;
		padding: 12px 8px;
	}
	
	#make .half {
		padding: 45px;
	}
	
	#make .half a.button {
		margin-right: 15px;
	}
	
}

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

	/* Layout */
	
	.cntr {
		padding: 0 30px;
	}
	
	.third {
		width: calc(33.33% - 40px);
	    display: inline;
	    float: left;
	    margin: 0 20px;
	}
	
	a.button {
		font-size: 13px;
		padding: 15px;
	}

	/* Intro */
	
	#intro {
		padding: 50px 0;
	}
	
	/* Services */
	
	#services {
		padding: 60px 0;
	}

	/* Make */
	
	#make .half a.button {
		width: 210px;
		margin-right: calc( 100% - 210px );
		margin-bottom: 20px;
		text-align: center;
	}

	/* Footer */

	footer {
		text-align: center;
		padding: 40px 0 20px;
	}

	footer ul {
		width: 100%;
		margin-top: 15px;
		text-align: center;
	}
	
	
	
}


@media screen and (max-width: 840px) {
	
	.contact a {
		text-decoration: none;
		color: #fff;	
	}
	
	.call a {
		text-decoration: none;
		color: #8E7352;
	}
	
	/* Layouts */
	
	.half, .third, .third, .twothird, .full {
		width: 100%;
		margin: 0;
	}
	
	.row {
		padding: 30px 0 25px;
	}
	
	.mobmenu {
		margin: 9px 20px;
		display: block;
	}
	
	/* Header */
	
	.mobileMenu {
		display: block;
	}
	
	header {
		height: 102px;
	}
	
	header .logo {
		width: 300px;
	}
	
	header .contact {
		position: absolute;
	    top: 19px;
	    left: 95px;
	    font-size: 16px;
	    color: #fff;
	    z-index: 100;
	}
	
	header .contact span {
		color: #EDDAAD;
		font-size: 16px;
	}
	
	/* nav */
	
	nav {
		background-color: #8E7352;
		background-image: none;
		height: auto;
		text-align: left;
	}
	
	nav .label {
		display: block;
	}
	
	nav .cntr {
		padding: 0;
	}
	
	nav .label {
		font-size: 13px;
		text-transform: uppercase;
		color: #fff;
		float: right;
		font-weight: bold;
		margin-top: 10px;
	}
	
	nav .cntr ul {
		display: none;
		padding: 0;
		width: 100%;
		float: left;
		height: auto;
		text-align: center;
		padding-top: 10px;
		padding-bottom: 10px;
		background: #585858;
	}
	
	nav .cntr ul li {
		width: 100%;
		margin-bottom: 0;
		float: left;
	}
	
	nav .cntr ul li a {
		padding: 6px 0;
		font-size: 18px;
	}
	
	nav .cntr ul li ul {
		position: relative;
		top: 0;
		width: 100%;
		background: #666;
	}
	
	nav .cntr ul li ul li a {
		text-align: center;
		padding: 5px 0;
		border: 0;
	}
	
	nav .cntr ul li.double ul {
		width: 100%;
	}
	
	nav .cntr ul li.double ul li {
		width: 100%;
	}
	
	nav .cntr ul li.double ul li:nth-child(even) {
		float: none
	}
	
	nav .cntr ul li.double ul li:last-child {
		float: none
	}
	
	#slideshow {
		width: 100%;
		float: left;
		height: 350px;
		position: relative;
		overflow: hidden;
	}
	
	#slideshow .item {
		width: 100%;
		height: 350px;
		background-size: cover;
		background-position: center center;
	}
	
	/* Make */
	
	#make .half {
		width: 100%;
		text-align: center;
		height: 380px;
	}
	
	#make .half a.button {
		display: block;
		width: auto;
		margin: 0 0 20px;
	}
	
	#services {
		padding: 45px 0;
	}
	
	#services .third {
		padding: 15px 0;
	}
	
	/* Footer */
	
	footer {
		text-align: left;
	}
	
	footer ul {
		text-align: left;
		margin: 7px 0 0;
		padding: 0;
	}
	
	footer ul li {
		margin: 0;
		width: 100%;
		padding: 5px 0px;
		text-align: left;
	}
	
	footer ul li a {
		margin-left: 0;
	}
	
}

