/*
Theme Name: Society Salamanca
Theme URI: 
Author: Tim Askey
Author URI: http://www.timaskey.com
Description: A custom wordpress theme for Society Salamanca
Version: 0.6.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: askey
Text Domain: askey
*/

/******************/

@font-face {
    font-family: 'St Marie';
    src: url(fonts/StMarie-Thin.otf);
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url(fonts/Montserrat/Montserrat-Thin.otf);
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url(fonts/Montserrat/Montserrat-ExtraLight.otf);
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url(fonts/Montserrat/Montserrat-Light.otf);
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url(fonts/Montserrat/Montserrat-Regular.otf);
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Playfair Display';
    src: url(fonts/Playfair_Display/PlayfairDisplay-Italic.ttf);
    font-style: italic;
}

/******************/

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

body {
	margin: 0;
	padding: 0;
	font: 300 14pt/1.6 'Montserrat' ,'Helvetica Neue', Helvetica, Arial, sans-serif;
	background-color: #111;
	color: #fff;
}

button, input, textarea {
	font: 300 14pt/1.6 'Montserrat' ,'Helvetica Neue', Helvetica, Arial, sans-serif;
	border-radius: 0;
}

button, input:not([type="checkbox"]), textarea {
	font: 400 12pt/1.4 'Montserrat' ,'Helvetica Neue', Helvetica, Arial, sans-serif;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

*,
*:after,
*:before {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

a:link,
a:visited,
a:hover, 
a:focus,
a:active { 
	text-decoration: none; 
	color: inherit; 
	outline: 0;
}

img {
	max-width: 100%;
	vertical-align: bottom;
}

section {
	display: block;
}

h1 {
	font-family: 'Montserrat';
	font-weight: 400;
	font-size: 30pt;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	line-height: 2;
}

h1 .italic {
	font-family: 'Playfair Display';
	font-style: italic;
	text-transform: none;
	letter-spacing: normal;
	font-size: 0.75em;
	margin-top: -0.25em;
}

h3 {
	font-family: 'Montserrat';
	font-weight: 400;
	font-size: 20pt;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.15em;
}

h4 {
	font-family: 'Montserrat';
	font-weight: 400;
	font-size: 16pt;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.15em;
}

h2 {
	font-family: 'St Marie';
	font-weight: 400;
	font-size: 26pt;
	margin: 0;
}

/***************/

.mc4wp-form {
	display: block;
	margin-top: 20px;
}

input,textarea {
	border: 1px solid #aaa;
	color: #fff;
	background-color: #111;
	outline: none;
}

input[type="text"],  input[type="email"] {
	padding: 0 15px;
	line-height: 48px;
	height: 50px;
	width: 400px;
	font-weight: 400;
}

input[type="submit"] {
	background-color: #aaa;
	color: #fff;
	border: none;
	outline: none;
	padding: 0 30px;
	line-height: 50px;
	height: 50px;
	font-weight: 400;
	margin-left: 0px;
}

.social {
	margin-top: 30px;
}

@media screen and (max-width: 740px) {
	.mc4wp-form input[type="text"], .mc4wp-form input[type="email"] {
		width: 100%;
	}

	input[type="submit"] {
		margin-top: 10px;
		width: 100%;
	}
}

/*************/

.wpcf7 {
	margin: auto !important;
	display: block;
	text-align: left;
	line-height: 2;
}

.wpcf7 input[type="text"], .wpcf7 input[type="email"] {
	width: 100%;
	padding: 0 15px;
	line-height: 48px;
	height: 50px;
	border: 1px solid #aaa;
	outline: none;
}

.wpcf7 input[type="submit"] {
	width: 100%;
}

textarea {
	resize: none;
	outline: none;
	width: 100%;
	padding: 15px;
	border: 1px solid #aaa;
	font-weight: 400;
}

input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
	border-color: #fff;
}

/*************/

.show-on-scroll {
	opacity: 0;

	-webkit-transition: opacity 0.8s;
	transition: opacity 0.8s;
}

.show-on-scroll.active {
	opacity: 1;
}

/*************/

header {
	margin: auto;
	width: calc(100% - 80px);
	max-width: 1400px;
	height: 120px;
	text-align: right;
}

.header-logo {
	float: left;
}

.header-logo img {
	height: 120px;
	padding: 20px;
}

.header-nav {
	float: right;
	height: 120px;
	padding: 40px 20px;
	display: none;
}

header ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

header li {
	position: relative;
	display: inline-block;
	padding: 0 20px;
	line-height: 120px;
	text-transform: uppercase;
	font-weight: 400;
	letter-spacing: 2px;
	font-size: 10pt;
}

header ul a {
	padding: 6px 0 4px 2px;
}

.current_page_item a {
	border-bottom: 2px solid;
}

/* sub menu */

@media screen and (min-width: 740px) {

	header ul.sub-menu {
		display: none;
		position: absolute;
		margin-top: -30px;
		width: 100%;
		z-index: 2;
		right: 0;
	}

	header li:hover ul.sub-menu {
		display: block;
	}

	header ul.sub-menu li {
		display: block;
		line-height: 50px;
		text-align: right;
		background-color: rgba(0,0,0,0.6);
	}

}

/* sub menu end */

@media screen and (max-width: 740px) {
	
	.header-logo img {
		padding: 20px 0;
	}

	.header-nav {
		display: block;
		padding: 40px 0;
	}

	header ul.menu {
		position: absolute;
		z-index: 1;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		background-color: rgba(0,0,0,0.8);
		text-align: center;

		display: -webkit-flex;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		-ms-flex-align: center;
		flex-direction: column;

		-webkit-transform: translate3d(0,-100%,0);
		transform: translate3d(0,-100%,0);
	}

	.menu-active header ul.menu {
		-webkit-transition: -webkit-transform 0.5s;
		transition: transform 0.5s;

		-webkit-transform: translate3d(0,0,0);
		transform: translate3d(0,0,0);
	}

	header li {
		display: block;
		line-height: 60px;
		font-size: 14pt;
	}

	body.menu-active {
		overflow: hidden;
	}

	header ul.sub-menu li {
		font-size: 10pt;
		line-height: 40px;
	}
}


@media screen and (max-width: 480px) {
	header {
		width: calc(100% - 40px);
	}
}

/*************/

.wrapper {
	margin: auto;
	width: calc(100% - 80px);
	max-width: 1400px;
	height: 100%;
	padding-bottom: 1px;

	display: -webkit-flex;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	-ms-flex-align: center;
}

.wrapper > section, .wrapper > div {
	margin-bottom: 100px;
}

@media screen and (max-width: 480px) {
	.wrapper {
		width: calc(100% - 40px);
	}

	h1 {
		font-size: 20pt;
	}

	.wrapper > section, .wrapper > div {
		margin-bottom: 40px;
	}
}

.banner-section {
	position: relative;
	width: 100%;
	height: 75%;
	background-color: #555;

	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	overflow: hidden;
}

.banner-a {
	background-image: url('img/money.jpg');
}

.banner-b {
	background-image: url('img/Society_BW-2.jpg');
}

.banner-c {
	background-image: url('img/Society_BW-3.jpg');
}

.full-section {
	position: relative;
	width: 100%;
}

.meta {
	text-align: center;
	margin: auto;
	max-width: 700px;
}

.meta a {
	text-decoration: underline;
}

.button {
	display: inline-block;
	margin: 20px;
	border: 2px solid;
	padding: 20px;
	background-color: rgba(0,0,0,0.5);
	text-align: center;
}


.banner-overlay {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	overflow: hidden;
	background-color: rgba(0,0,0,0.4);
}

.banner-content {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	
	padding: 40px;

	overflow: hidden;
	text-align: center;

	display: -webkit-flex;
	display: flex;
	justify-content: center;
	align-items: center;
	-ms-flex-align: center;
}

.show-on-hover {
	opacity: 0;
	-webkit-transform: translate3d(0, 10%, 0);
	transform: translate3d(0, 10%, 0);

	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}

.banner-section:hover .show-on-hover {
	opacity: 1;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.hide-on-hover {
	opacity: 1;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);

	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}

.banner-section:hover .hide-on-hover {
	opacity: 0;
	-webkit-transform: translate3d(0, -10%, 0);
	transform: translate3d(0, -10%, 0);
}

.section-content {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	overflow: hidden;
}

.double-section {
	position: relative;
	width: calc(50% - 7px);
	padding: 40px;
	text-align: center;
}

@media screen and (max-width: 1200px) {
	.double-section {
		width: 100%;
	}
}

/****************/

#instafeed {
	display: -webkit-flex;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	-ms-flex-align: center;
}

.insta {
	width: calc(16.6666% - 12px);
}

@media screen and (max-width: 1024px) {
	.insta {
		width: calc(33.3333% - 10px);
		margin-bottom: 15px;
	}
}

#map {
	position: relative;
	width: 100%;
	height: 400px;
}

#map a {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
}

/************