/*
Theme Name: Masonic Medical v1
Theme URI: http://www.masonicmedical.nz
Description: WordPress Theme
Author: Macstudio
Author URI: http://www.macstudio.co.nz
Version: Masonic Medical 1.0
Tags: MacStudio Design
*/

html, body {
	-webkit-font-smoothing: antialiased;
}

body {
	background: #FFF;
	color: #404651;
	font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1em;
	line-height: 1.5em;
	margin: 0px;
	padding: 0px;
}
p {
	font-size: 1em;
	line-height: 1.5em;
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 15px;
	margin-left: 0px;
}
/* LINKS */

a:focus {
	outline: none;
	color: #7d2526
}
a, a:link {
	text-decoration: none;
	color: #7d2526
}
a:visited {
	text-decoration: none;
	color: #7d2526
}
a:hover {
	text-decoration: none;
	color: #7d2526
}
a:active {
	text-decoration: none;
	color: #7d2526
}
/* HEADINGS */

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	line-height: 1em;
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 15px;
	margin-left: 0px;
}
h1 {
	font-size: 1.8em;
}
h2 {
	font-size: 1.6em;
}
h3 {
	font-size: 1.4em;
}
h4 {
	font-size: 1.3em;
}
h5 {
	font-size: 1.2em;
}
h6 {
	font-size: 1.1em;
}
/* FOOTER */

#footer-left ul {
	margin: 0px;
	padding: 0px;
}
#footer-left li {
	list-style-type: none;
	padding: 0px;
	display: block;
	float: left;
	margin-top: 0px;
	margin-right: 15px;
	margin-bottom: 0px;
	margin-left: 0px;
}
/* STYLES */

.padding {
	padding: 10px;
}
.alignleft {
	float: left;
	margin-right: 15px;
	margin-bottom: 15px;
}
.alignright {
	float: right;
	margin-bottom: 15px;
	margin-left: 15px;
}
.clear {
	clear: both;
}
.rounded {
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	overflow: hidden;
}
.footer {
	background: #404651;
}
.background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -99;
	margin: 0;
	padding: 0;
}
.rslides {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	overflow: hidden;
}
.rslides li {
	width: 100%;
	height: 100%;
}
.one, .two, .three, .four, .five {
	background-position: center;
}
.one {
	background-image: url(images/banner-1.jpg);
	background-size: cover;
}
.two {
	background-image: url(images/banner-2.jpg);
	background-size: cover;
}
.banner {
	height: auto;
	padding-bottom: 45%;
	width: 100%;
}
.logo {
	padding: 10px 0;
}
.social object, .social img {
	height: auto;
	max-width: 60px;	
}
.home-wrap {
	background-color: #99E0DB;
	margin-top: 0;
	padding-top: 20px;
	padding-bottom: 20px;
}
.side-bar {
	background: #404651;
	color: #fff;
}


.home-wrap h1, 
.home-wrap h3, 
.post h1,
.post h3 {
	text-transform: uppercase;
}
.home-wrap h3 {
	color: #fff;
}
#nav ul.menu {
	width: auto;
	float: right;
}
#top-bar {
	height: 8px;
	width: 100%;
	background: #7d2526;
}
.open-times {
	float: none;
	width: 100%;
	position: relative;
}
.footer-content .open-times {
	float: left;
	width: 100%;
	margin-left: -10px;
}
.times {
	font-size: 0.7em;
	width: auto;
	position: relative;
	transform: none;
	width: 100%;
	text-align: center;
}



.phone-wrap {
	width: auto;
	float: none;
	box-sizing: border-box;
	text-align: center;	
	background: #99e0db;
	font-weight: 700;
	margin-left: 10px;
	position: relative;
	padding: 10px 20px;
}
.footer-content .open-times .phone-wrap {
	background: #fff;
	
}
.footer-content h1 {
	font-family: 'Josefin Slab', 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.phone-icon {
	position: absolute;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	left: 0;
	top: 50%;
}
.phone-icon img {
	height: 35px;
}
ul.menu li, 
#nav ul.menu li a {
	padding-bottom: 0;
	margin-bottom: 0;
	font-size: 1em;

}
ul.menu li:last-of-type, 
#nav ul.menu li:last-of-type a {
	margin-right: 0;	
	padding-right: 0;	
}
.slide-title {
	font-family: 'Josefin Slab', 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 2.5em;
	width: 100%;
	margin-bottom: 10px;
	text-transform: uppercase;
}
.slide_bg {
	position: absolute;
	left: 60%;
	right: 0;
	top: 0;
	bottom: 0;
	padding: 50px;
	box-sizing: border-box;
	background: rgba(125, 37, 38, 0.44);
	color: #fff;
	font-weight: 400;
	display: none;
}
.slide_bg:after,
.slide_bg:before {
	content: '';
	position: absolute;
	height: 100%;
	/* top: -15px; */
	width: 20px;
	background: rgba(125, 37, 38, 0.44);
	color: #fff;
	-webkit-transform: skewY(-50deg);
	-moz-transform: skewY(-50deg);
	-mos-transform: skewY(-50deg);
	-o-transform: skewY(-50deg);
	transform: skewY(-50deg);
	left: -20px;
	top: 13.9%;
}
.slide_bg:before {
	-webkit-transform: skewY(50deg);
	-moz-transform: skewY(50deg);
	-ms-transform: skewY(50deg);
	-o-transform: skewY(50deg);
	transform: skewY(50deg);
	left: -20px;
	top: -90%;
}
.number a {
	
	color: #fff;
}

.footer-content .number a {
	
	color: #7d2526;
}

.post ul {
	margin: 1em 0;
	padding: 0 0 0 40px;
	list-style: disc;
}
.table-wrap {
	background: #fff;
	padding: 20px;
}
.latest-news-link {
	color: #99e0db;
	font-size: 0.8em;
	text-transform: uppercase;
	text-align:center;
	padding: 30px 0px;
}
.footer-content {
	color: #fff; 
	padding-top: 20px;
	padding-bottom: 20px;
	font-size: 0.9em;
}
.address {
	float: left;
	width: 100%; 
	margin: 10px 0;
}
.alert {
	padding: 30px;
	text-align: center;
	background: #f00;
	margin-bottom: 20px;
	color: #fff;
	font-size: 1.5em;
}
.address a, .small a {
	color: #99e0db; 
}
.table {
	display: table;
}
.row {
	display: table-row;
}
.cell {
	display: table-cell;
	padding: 5px;
	position: relative
}
.cell input, 
.cell textarea, 
.cell select {
	width: 100%;
	padding: 5px;
	border: 1px solid #7d2526;
	box-sizing: border-box;
	background: #fff;
	font-family: inherit;
	font-weight: 400;
	font-size: 0.8em;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	position: relative;
	
}
.cell textarea {
	height: 150px;
}
.cell input[type="submit"] {
	background: #7d2526;
	padding: 10px 5px;
	color: #fff;
}
.cell .select-wrap:after {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #000;
  content: '';
  position: absolute;
  right: 15px;
  top: 50%;
  z-index: 9999;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
 }
.row  .cell:nth-child(1) {
	width: 30%;
}
.footer-green {
	font-size: 1.1em;
	color: #99e0db;
}
@media only screen and (min-width: 641px) {
.col-3-home-image {
	width: 49.1525%;
	clear: none;
	margin-left: 1.6949%;
}
.zeroMargin_tablet {
	margin-left: 0;
}
ul.menu li, 
#nav ul.menu li a {
	font-size: 0.9em;
}
.home-wrap {
	margin-top: -200px;
	padding-top: 220px;
	padding-bottom: 220px;	
}
.open-times {
	float: right;
	width: auto;
}
.times {
	position: absolute;
	/* margin-right: 10px; */
	/* left: -100px; */
	top: 50%;
	-webkit-transform: translate(-106%, -50%);
	-moz-transform: translate(-106%, -50%);
	-o-transform: translate(-106%, -50%);
	-ms-transform: translate(-106%, -50%);
	transform: translate(-106%, -50%);
	white-space: normal;
	line-height: 1.3;
	text-align: right;
}
	
.phone-wrap {
	float: left;
}
.slide_bg {
	display: block;
	font-size: 0.8em;
	line-height: 1.3
}

}

/* Desktop Layout: 769px to a max of 1232px.  Inherits styles from: Mobile Layout and Tablet Layout. */

@media only screen and (min-width: 769px) {
.col-3-home-image {
	width: 23.7288%;
	margin-left: 1.6949%;
	clear: none;
}
.zeroMargin_desktop {
	margin-left: 0;
}
ul.menu li, 
#nav ul.menu li a {
	font-size: 0.8em;
}

}
@media only screen and (min-width: 850px) {

ul.menu li, 
#nav ul.menu li a {
	font-size: 1em;
}
.slide_bg {
	display: block;
	font-size: 1em;
	line-height: 1.3
}

}