/*
	Theme Name: Mexican Society New
	Theme URI: http://www.mexicansociety.com.au/
	Description: Custom Theme for Mexican Society
	Version: 1.0.0
	Author: Hazelnut Creative
	Author URI: http://hazelnutcreative.com
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

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

html {
	font-size: 1em;
    line-height: 1.4;
}
body {
	font-family: 'texgyreadventor', 'helvetica', sans-serif;
    color: black;
    font-size: 0.8em;
    letter-spacing: 2px;
    line-height: 1.2em;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#DC987C;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

h3 {
	font-size: 1.5em;
}
.noDesktopDisplay {
	display: none;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
}
/* header */
.header {

}
/* logo */
.logo {

}
.logo-img {

}
/* nav */
.nav {

}
/* sidebar */
.sidebar {

}
/* footer */
.footer {

}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

#scroll-down {
	cursor: pointer;
}

.heading-icons img {
	max-height: 63px;
	width: auto;
}

.leftLine, .rightLine {
	margin-top: -100px;
}

.menuButtons {
	display: inline-block;
	background: black;
	color: white;
	padding: 15px;
	text-transform: uppercase;
	font-size: 1.5em;
	width: 150px;
	font-weight: bold;
}
.menuButtons:hover { 
	color: white;
}
#foodMenu {
    -ms-transform: rotate(-3deg); /* IE 9 */
    -webkit-transform: rotate(-3deg); /* Chrome, Safari, Opera */
    transform: rotate(-3deg);
    background: url(/wp-content/themes/mexicansociety/img/button-1.svg) no-repeat scroll center;
}
#foodMenu:hover {
    background: url(/wp-content/themes/mexicansociety/img/button-1-hover.svg) no-repeat scroll center;	
}
#drinksMenu {
    -ms-transform: rotate(6deg); /* IE 9 */
    -webkit-transform: rotate(6deg); /* Chrome, Safari, Opera */
    transform: rotate(6deg);
    background: url(/wp-content/themes/mexicansociety/img/button-2.svg) no-repeat scroll center;
}
#drinksMenu:hover {
    background: url(/wp-content/themes/mexicansociety/img/button-2-hover.svg) no-repeat scroll center;
}
#tequilaMenu {
    -ms-transform: rotate(-2deg); /* IE 9 */
    -webkit-transform: rotate(-2deg); /* Chrome, Safari, Opera */
    transform: rotate(-2deg);
    background: url(/wp-content/themes/mexicansociety/img/button-3.svg) no-repeat scroll center;
}
#tequilaMenu:hover {
    background: url(/wp-content/themes/mexicansociety/img/button-3-hover.svg) no-repeat scroll center;
}
#shareMenu {
    -ms-transform: rotate(4deg); /* IE 9 */
    -webkit-transform: rotate(4eg); /* Chrome, Safari, Opera */
    transform: rotate(4deg);	
    background: url(/wp-content/themes/mexicansociety/img/button-4.svg) no-repeat scroll center;
}
#shareMenu:hover {
    background: url(/wp-content/themes/mexicansociety/img/button-4-hover.svg) no-repeat scroll center;
}

.hola-man {
	position: absolute;
	bottom: 0;
	left: 0;
}

/* contact bar */
#contactBar {
	width: 100%;
	text-align: center;
	background: black;
	color: white;
	position: fixed;
	top: 0;
	z-index: 1;
	line-height: 25px;
}
#contactBar a {
	color: white;
}
#contactBar a:hover {
	color: #DC987C;
}
#book-button {
	display: inline-block;
}
#book-button a {
	background: white;
	color: black;
	padding: 3px 6px;;
    margin-left: 20px;
}
#book-button a:hover {
	background: #DC987C;
	color: white;
}

#bottom-section {
	/*background: #ffffff url("/wp-content/themes/mexicansociety/img/hola-man.svg") no-repeat left bottom;
	background-size: 30%;*/
}

/* mailing list */
input[type="submit"] {
	background: black;
	color: white;
	border-radius: 0;
	border: none;
	padding: 6px;
    font-family: Courier New;
}
input[type=email] {
	border: 1px solid black;
	padding: 5px;
	font-family: Courier New;
	width: 60%;
}
.mailing-list-popup input[type=email] {
	width: 100%;
}
.mailing-list-popup input[type="submit"] {
	width: 100%;
	background: #db987b;
	margin-top: 10px;
}
.mailing-list-popup input[type="submit"]:hover {
	background: black;
}	
@media screen and (max-width: 767px) {
	#sib_signup_form_1, .mc4wp-form-64 {
		margin-left: 30px !important;
	}
	.mailing-list-popup #sib_signup_form_1 {
		margin-left: 0px !important;
	}
}
.mc4wp-alert.mc4wp-success {
	font-weight: bold;
    color: #DC987C;
}
.copyright {
	text-align: center;
	font-size: 10px;
	padding-bottom: 15px;
}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
    font-family: 'texgyreadventor';
    src: url('fonts/texgyreadventor-regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'texgyreadventor';
    src: url('fonts/texgyreadventor-bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

/*
==============================================
slideDown slow
==============================================
*/

/*------------------------------------*\
    ANIMATIONS
\*------------------------------------*/

/* slide down slow */
.slideDownSlow{
	animation-name: slideDownSlow;
	-webkit-animation-name: slideDownSlow;	

	animation-duration: 3s;	
	-webkit-animation-duration: 3s;

	animation-timing-function: ease;	
	-webkit-animation-timing-function: ease;	

	visibility: visible !important;						
}

@keyframes slideDownSlow {
	0% {
		transform: translateY(-100%);
	}		
	100% {
		transform: translateY(0%);
	}		
}

@-webkit-keyframes slideDownSlow {
	0% {
		-webkit-transform: translateY(-100%);
	}		
	100% {
		-webkit-transform: translateY(0%);
	}	
}

/* floating & floating delay */
.floating{
	animation-name: floating;
	-webkit-animation-name: floating;

	animation-duration: 1.5s;	
	-webkit-animation-duration: 1.5s;

	animation-iteration-count: infinite;
	-webkit-animation-iteration-count: infinite;
}

@keyframes floating {
	0% {
		transform: translateY(0%);	
	}
	50% {
		transform: translateY(8%);	
	}	
	100% {
		transform: translateY(0%);
	}			
}

@-webkit-keyframes floating {
	0% {
		-webkit-transform: translateY(0%);	
	}
	50% {
		-webkit-transform: translateY(8%);	
	}	
	100% {
		-webkit-transform: translateY(0%);
	}			
}

.floatingDelay {
	animation-name: floating;
	-webkit-animation-name: floating;
	
	-webkit-animation-delay: 3s; /* Safari 4.0 - 8.0 */
    	animation-delay: 3s;

	animation-duration: 1.5s;	
	-webkit-animation-duration: 1.5s;

	animation-iteration-count: infinite;
	-webkit-animation-iteration-count: infinite;
}

@keyframes floatingDelay {
	0% {
		transform: translateY(0%);	
	}
	50% {
		transform: translateY(8%);	
	}	
	100% {
		transform: translateY(0%);
	}			
}

@-webkit-keyframes floatingDelay {
	0% {
		-webkit-transform: translateY(0%);	
	}
	50% {
		-webkit-transform: translateY(8%);	
	}	
	100% {
		-webkit-transform: translateY(0%);
	}			
}

/* bigEntranceSlow */

.bigEntranceSlow{
	animation-name: bigEntranceSlow;
	-webkit-animation-name: bigEntranceSlow;	

	animation-duration: 3s;	
	-webkit-animation-duration: 3s;

	animation-timing-function: ease-out;	
	-webkit-animation-timing-function: ease-out;	

	visibility: visible !important;			
}

@keyframes bigEntranceSlow {
	0% {
		transform: scale(0.3) rotate(6deg) translateX(-30%) translateY(30%);
		opacity: 0.2;
	}
	30% {
		transform: scale(1.03) rotate(-2deg) translateX(2%) translateY(-2%);		
		opacity: 1;
	}
	45% {
		transform: scale(0.98) rotate(1deg) translateX(0%) translateY(0%);
		opacity: 1;
	}
	60% {
		transform: scale(1.01) rotate(-1deg) translateX(0%) translateY(0%);		
		opacity: 1;
	}	
	75% {
		transform: scale(0.99) rotate(1deg) translateX(0%) translateY(0%);
		opacity: 1;
	}
	90% {
		transform: scale(1.01) rotate(0deg) translateX(0%) translateY(0%);		
		opacity: 1;
	}	
	100% {
		transform: scale(1) rotate(0deg) translateX(0%) translateY(0%);
		opacity: 1;
	}		
}

@-webkit-keyframes bigEntranceSlow {
	0% {
		-webkit-transform: scale(0.3) rotate(6deg) translateX(-30%) translateY(30%);
		opacity: 0.2;
	}
	30% {
		-webkit-transform: scale(1.03) rotate(-2deg) translateX(2%) translateY(-2%);		
		opacity: 1;
	}
	45% {
		-webkit-transform: scale(0.98) rotate(1deg) translateX(0%) translateY(0%);
		opacity: 1;
	}
	60% {
		-webkit-transform: scale(1.01) rotate(-1deg) translateX(0%) translateY(0%);		
		opacity: 1;
	}	
	75% {
		-webkit-transform: scale(0.99) rotate(1deg) translateX(0%) translateY(0%);
		opacity: 1;
	}
	90% {
		-webkit-transform: scale(1.01) rotate(0deg) translateX(0%) translateY(0%);		
		opacity: 1;
	}	
	100% {
		-webkit-transform: scale(1) rotate(0deg) translateX(0%) translateY(0%);
		opacity: 1;
	}				
}


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/
/* mobile css */
@media screen and (max-width: 767px) {
	#firstDiv {
	  	background: #DC987C url(/wp-content/themes/mexicansociety/img/front-page-MS-bg.svg) no-repeat center top fixed;
	  	-webkit-background-size: 240%;
	  	-moz-background-size: 240%;
	  	-o-background-size: 240%;
	  	background-size: 240%;
	  	min-height: 450px;
	 }
	 #backgroundImage {
    		display: none;
	}
	 #mainLogo {
		width: 100%;
		max-width: 300px;
		margin-top: 100px;
	}
	#scrollBox {
		margin-top: 350px;
	}
	#menus, #info, #more {
		float: none;
		width: 100%;
	}
	#leftLine, #rightLine {
		display: none;
	}
	#menus {
		background: white;
	}
	.innerSecondDiv {
		width: 90%;
		margin: 0 auto;
	}
	footer {
		/*display: none;*/
	}
	#mobileFooter {
		display: block;
		padding-bottom: 20px;
		text-align: center;
	}
	
	.highlightBox {
		margin: 0px;
	}
	
	#book-button {
		margin: 5px auto;
	}
}

/* vertical tablet css */
@media screen and (min-width: 767px) and (max-width: 768px) {
	.noMobileDisplay {
		display: none;
	}
	.noDesktopDisplay {
		display: block;
	}
	h3 {
		margin-top: 5px;
	}
	html, body {
		width: 100%;
		height: auto;
	}
	#firstDiv {
	  	background: #DC987C url(/wp-content/themes/mexicansociety/img/front-page-MS-bg.svg) no-repeat center top fixed; 
	  	-webkit-background-size: 160%;
	  	-moz-background-size: 160%;
	  	-o-background-size: 160%;
	  	background-size: 160%;
	  	min-height: 650px;
	 }
	#backgroundImage {
    		display: none;
	}
	#smallDevicesMap {
		display: inline;
	}
	#largeDevicesMap {
		display: none;
	}
	
	footer {
		padding-top: 30px;
	}
 
}

/* horizontal tablet */
@media screen and (min-width : 769px) and (max-width : 1024px) { 
	#firstDiv {
	  	background: #DC987C url(/wp-content/themes/mexicansociety/img/front-page-MS-bg.svg) no-repeat center top fixed; 
	  	-webkit-background-size: 160%;
	  	-moz-background-size: 160%;
	  	-o-background-size: 160%;
	  	background-size: 160%;
	  	min-height: 670px;
	}
	#backgroundImage {
    		display: none;
	}
}
/* tablet css */
@media only screen and (min-width:767px) and (max-width : 940px) {	
	

}


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

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

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

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

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

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

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
