/*
Theme Name: Talulas
Author: Danielle Zarcaro
Description: A theme for Talulas by Danielle Zarcaro with M Studio
Text Domain: Norse
*/

/* =Reset
------------------------------------ */
html, body, div, span, h1, h2, h3, h4, h5, h6, p,
blockquote, a, abbr, acronym, address, big, small, 
strike, strong, sub, sup, tt, var, ol, ul, li,
fieldset, form, label {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-family: 'Lato', serif;
	font-size: 12px;
	text-align: justify;
	color: #9dc8b9;
	letter-spacing: 1px;
	height: 100%;
}
body {
	height: 100%;
}
strong {
	font-weight: 700;
}
/* Global
----------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
	clear: both;
	display: block;
}
h1 {
	color: #fbc19b;
	font-size: 36px;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 5px;
	padding: 25px 0 10px 0;
}
h3 {
	font-size: 26px;
	color: #fbc19b;
	line-height: 0;
}
h4, h4 a {
	color: #a7a9ab;
	font-size: 20px;
	font-weight: 300;
	letter-spacing: 2px;
	text-transform: uppercase;
}
h5 {
	color: #a7a9ab;
	padding-bottom: 3px;
	font-size: 12px;
	font-weight: bold;
	line-height: 1.5;
}
h6 {
	font-size: 14px;
	color: #404041;
	padding-bottom: 25px;
}
img {
	border: none;
}
a {
	text-decoration: none;
	color: #fbc19b;
	transition: color 300ms, background-color 300ms, opacity 300ms;
	-moz-transition: color 300ms, background-color 300ms, opacity 300ms;
	-webkit-transition: color 300ms, background-color 300ms, opacity 300ms;
}
a:hover {
	color: #000;
}
p {
	color: #000;
	padding-bottom: 15px;
	font-size: 12px;
	font-weight: bold;
	line-height: 1.5;
}
/* WordPress Core
---------------------------------------------- */
.alignnone {
    float: none;
}
.aligncenter, div.aligncenter {
    display: block;
    margin: 0 auto;
}
.alignright {
    float: right;
}
.alignleft {
    float: left;
}
/* General Content
----------------------------------------------- */
#wrapper {
	width: 100%;
	min-height: 100%;
	margin-bottom: -38px;
	position: relative;
}
.home #wrapper {
	margin-bottom: -103px;
}
#content {
	padding-bottom: 38px;
	text-align: center;
	max-width: 700px;
	margin: 0 auto;
	padding: 0 20px;
}
.contact-page#content, .blog-page#content {
	max-width: 83%;
	padding: 0;
}
.gallery-page#content {
	width: 100%;
	max-width: none;
	padding: 0;
}
.home #content {
	overflow: hidden;
	position: absolute;
	top: 240px;
	right: 0;
	bottom: 103px;
	left: 0;
	max-width: 100%;
	margin: 0;
	padding: 0;
}
#page-content {
	background-color: #FFF;
	position: relative;
	padding-bottom: 100px;
}
#page-content img {
	max-width: 100%;
	height: auto;
}
.under-title {
	width: 100%;
	padding-bottom: 15px;
}
.under-title img {
	height: 22px;
	width: auto;
}
/* Header
----------------------------------------------- */
header {
	height: 302px;
	text-align: center;
	overflow: hidden;
}
.home header {
	height: 280px;
}
.header-link, .logo {
	width: 33%;
	float: left;
}
.logo {
	margin-top: 30px;
	margin-bottom: 30px;
}
.header-link {
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	font-size: 17px;
	letter-spacing: 4px;
	text-transform: uppercase;
	margin-top: 110px;
}
.header-link a {
	color: #000;
}
.header-link a:hover {
	color: #CCC
}
.mobile-header, .mobile-footer {
	display: none;
}
.nav-bar {
	overflow: hidden;
	height: 65px;
	width: 100%;
	background-color: #fbc19b;
	position: relative;
	z-index: 100;
}
nav {
	overflow: hidden;
	float: left;
}
nav ul {
	list-style: none;
}
nav li {
	display: inline-block;
	float: left;
	padding: 25px 30px 25px 25px;
}
nav li a {
	color: #FFF;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1.5px;
}
nav li a:hover, .current_page_item a {
	color: #3e529b;
}
.social {
	float: right;
	padding: 18px 20px 14px 15px;
}
.social img {
	padding: 5px;
	transition: opacity 300ms;
	-moz-transition: opacity 300ms;
	-webkit-transition: opacity 300ms;
}
.social img:hover {
	opacity: 0.5;
}
/* Home
----------------------------------------------- */
.home-content {
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.home-box {
	width: 25%;
	height: 100%;
	float: left;
	text-align: center;
	padding: 5% 0;
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 1;
	transition: opacity 300ms;
	-moz-transition: opacity 300ms;
	-webkit-transition: opacity 300ms;
}
.home-box:hover {
	opacity: 0.5;
}
.home-box p {
	position: absolute;
	bottom: 50px;
	width: 25%;
	color: #FFF;
	font-size: 14px;
	letter-spacing: 3px;
	text-transform: uppercase;
}
/* Page
----------------------------------------------- */
.second-nav {
	background-color: #3e529b;
	text-align: center;
	font-size: 16px;
}
.second-item {
	display: inline-block;
	padding: 20px 10px;
	font-weight: 300;
}
.divider {
	display: inline-block;
}
.second-nav div:last-child {
	display: none;
}
.second-nav a {
	color: #c3cdc9;
}
#blog-content {
	padding-bottom: 80px;
	max-width: 1100px;
}
.article {
	overflow: hidden;
	clear: both;
	margin-top: 50px;
}
.article-date {
	font-size: 13px;
	float: left;
	border-top: 1px solid #3e529b;
	border-bottom: 1px solid #3e529b;
	color: #c3cdc9;
	width: 55px;
	margin-right: 25px;
	padding: 5px 10px;
}
.article-img {
	float: right;
	width: 85%;
}
.article-img img {
	width: 100%;
	height: auto;
}
.article-text {
	float: right;
	width: 85%;
	text-align: left;
	color: #404041;
}
#map {
    width: 100%;
	height: 500px;
}
#mapContent {
	color: #000;
	width: 200px;
}
.gallery-container {
	overflow: hidden;
	margin: .5%;
	margin-bottom: 0;
	padding-bottom: 39px;
}
.insta-square {
	float: left;
	width: 24%;
	margin: .5%;
}
.insta-square img {
	width: 100%;
}
/* Footer
----------------------------------------------- */
footer {
	background-color: #c3cdc9;
	color: #FFF;
	font-size: 10px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	overflow: hidden;
	width: 100%;
	position: relative;
	z-index: 100;
}
.address, .phone {
	float: left;
	padding: 13px 20px;
}
.phone a {
	color: #FFF;
}
.newsletter {
	float: right;
	padding: 13px 20px;
}
/* Media Queries
----------------------------------------------- */
@media screen and (max-width:1050px){
	nav li {
		padding: 25px 5px 25px 25px;
	}
}
@media screen and (max-width:875px){
	nav li {
		padding: 25px 0 25px 15px;
	}
	.blog-page#content {
		width: 95%;
		max-width: 100%;
	}
}
@media screen and (max-width:770px){
	header, footer, .nav-bar {
		display: none;
	}
	.mobile-header, .mobile-footer {
		display: block;
	}
	.mobile-logo {
		text-align: center;
	}
	.mobile-logo img {
		height: 130px;
		padding: 15px;
	}
	#toggle {
		position: absolute;
		right: 10px;
		top: 98px;
		padding: 15px;
		cursor: pointer;
	}
	#toggle img {
		width: 35px;
	}
	nav {
		height: 0;
		float: none;
		background-color: #fbc19b;
		text-align: right;
		transition: height 300ms;
		-moz-transition: height 300ms;
		-webkit-transition: height 300ms;
	}
	nav li {
		width: 100%;
		padding: 10px 0;
	}
	nav li a {
		padding-right: 25px;
	}
	.show {
		height: 245px;
		padding: 15px 0;
	}
	.mobile-top-bar {
		font-size: 10px;
		letter-spacing: 1.5px;
		text-transform: uppercase;
		font-style: italic;
		overflow: hidden;
		width: 100%;
		background-color: #fbc19b;
		color: #FFF;
		border-top: 2px solid #FFF;
	}
	.phone {
		float: right;
		padding: 13px 25px 13px 5px;
	}
	.second-nav {
		font-size: 13px;
		padding: 5px 45px;
	}
	.second-item {
		padding: 10px;
	}
	.home #wrapper {
		margin-bottom: 0;
	}
	.home #content {
		position: relative;
		top: auto;
		bottom: auto;
	}
	.home-box {
		width: 100%;
		height: 200px;
		position: relative;
	}
	.home-box p {
		width: 100%;
		letter-spacing: 1.5px;
		font-size: 18px;
	}
	.insta-square {
		width: 49%;
	}
	.mobile-footer {
		background-color: #c3cdc9;
		text-align: center;
		overflow: hidden;
		width: 100%;
		position: relative;
	}
	.mobile-footer img {
		display: inline-block;
		padding: 10px 12px 6px 12px;
	}
}
@media screen and (max-width:720px){
	.article {
		margin-top: 10px;
	}
	.article-img {
		margin-top: 10px;
		width: 100%;
	}
	.article-text {
		width: 100%;
	}
}
@media screen and (max-width:425px){
	#content h1 {
		padding: 25px 15px;
	}
	#content h6 {
		padding: 0 55px 25px 55px;
	}
	#toggle {
		right: 0;
	}
	.mobile-logo img {
		margin-left: -25px;
	}
	.gallery-container {
		margin: 1% .5%;
	}
	.insta-square {
		margin: 0 .5%;
	}
}