/*
Theme Name: 	Birmingham Art Map
Theme URI: 		https://birminghamartmap.org
Description: 	Birmingham Art Map
Version: 		1.0
Author: 		An Endless Supply
Author URI: 	https://anendlesssupply.co.uk
Tags: 			clean, basic
*/

/*
===========================
CONTENTS:

01 Sensible defaults
02 Typography
03 Media queries 
===========================
*/

/* ---------------------------------------------------------------------------------------------------------- 
01 Sensible defaults ----------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

@import "css/reset.css";
@import "css/icomoon.css";

div,
article,
section,
header,
footer,
nav,
li					{ position:relative; /* For absolutely positioning elements within containers (add more to the list if need be) */ }
.group:after 		{ display:block; height:0; clear:both; content:"."; visibility:hidden; /* For clearing */ }
body 	{ 
	background:#ccffe4; 
	color: #000; 
	font-family: 'Maison Neue Book', 'Helvetica Neue', Helvetica, Arial, sans-serif; 
	font-weight: 400; 
}
::-moz-selection 	{ background:#9932cc; color:#fff; }
::selection 		{ background:#9932cc; color:#fff; }

/* ---------------------------------------------------------------------------------------------------------- 
02 Typography -----------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

body,
input,
textarea 			{ 
}

h1, 
h2, 
h3, 
h4, 
h5, 
h6	{ 
	font-family:"Maison Neue Bold", Helvetica, Arial, Sans-Serif, sans-serif; font-weight:bold; font-style:normal;
}
a	{
	color: #9932cc;
	text-decoration: none;
}
a:hover {
	color: #000;
}
b, strong {
	font-family:"Maison Neue Bold", Helvetica, Arial, Sans-Serif, sans-serif; font-weight:bold; font-style:normal;
}

body { 
	line-height: 17px;
	padding: 20px 10px;
	margin: 0 auto;
	width: 1030px;
}
div {
	position: relative;
	float: none;
}
p, .social-links {
	margin-bottom: 12px;
}
h1, 
h2, 
h3, 
h4, 
h5, 
h6	{ 
	font-size: 26px;
	line-height: 34px;
	margin-bottom: 16px;
}
h1.logo	{ 
	font-size: 50px;
	line-height: 90px;
	text-transform: none;
	display: block;
    float: left;
    margin-bottom: 0;
    padding-bottom: 22px;
	border-bottom: 1px solid #000;
    position: relative;
    width: 1024px;
    text-align: center;
    z-index: 102;
    margin-left: 3px;
}
h1 a {
	background: url("/img/logo.png") no-repeat scroll 0 0 transparent;
	background-size: contain;
    color: #000;
    display: inline-block;
    height: 50px;
    width: 470px;
}
header {
	font-size: 18.5px; 
	line-height: 24px;
	font-family:"Maison Neue Bold", Helvetica, Arial, Sans-Serif, sans-serif; font-weight:bold; font-style:normal;
	width: 1030px;
}
header .group, #undefined-sticky-wrapper {
	display: block;
}

ul.date-weather {
	float: right;
	margin-top: 2px;
	z-index: 101;
	width: auto;
}
ul.mobile-date-weather {
	display: none;
}
ul.date-weather li {
	float: left;
	margin-left: 18px;
	font-size: 13px;
	line-height: 26px;
}
li.weather {
	//opacity: 0;
}
img.weather-icon {
	height: 26px;
	width: 26px;
	border-radius: 50%;
	margin: -2px 3px 0;
	behavior: url(/csspie/PIE.htc);
}
.nav-wrapper {
	width: 100%;
	background: #ccffe4;
	z-index: 1000;
}
.nav-mobile {
	width: 100%;
	background: #ccffe4;
	z-index: 1000;
	display: none;	
}
.nav-group {
	font-size: 26px;
	line-height: 33px;
	border-bottom: 1px solid #000;
	padding: 4px 2px 2px;
	width: 1020px;
	margin-left: 3px;
	z-index: 100;
	background: #ccffe4;
	display: block;
}
nav {
	text-transform: uppercase;
	float: left;
}
nav li {
	float: left;
	margin-right: 23px;
}
nav a {
	color: #000;
}
nav a:hover, nav li.current_page_item a {
	color: #9932cc;
}
div.search {
	float: right;
}
#main-content {
	float: left;
	margin-top: 20px;
	width: 1024px;
	margin-left: 5px;
}
#main-content p, #mc_embed_signup {
	font-size: 13px;
	line-height: 17px;
}	
#map-canvas {
	width: 100%;
	max-width: 1024px;
	height: 440px;
	margin-bottom: 4px;
	margin-left: -2px;
	float: left;
}
.acf-map {
	width: 100%;
	max-width: 1024px;
	height: 440px;
	margin-bottom: 4px;
	margin-left: -2px;
	float: left;
}
.acf-map img {
   max-width: inherit !important;
}
.infowindow, .infowindow p, .infowindow strong, .infowindow a, .infowindow div {
	margin:0 !important; padding:0 !important;
	font-family: sans-serif !important;
}
.infowindow strong {
	float: left;
	margin-right: 8px !important;
}
.infowindow a {
	float: left;
	font-size: 16px !important;
	line-height: 16px !important;
	margin: 0; padding: 0;
}
.infowindow p {
	font-size: 11.5px !important;
	line-height: 15px !important;
	margin-top: 3px;
	clear: both;
}
.infowindow {
	max-height: 54px;
	overflow: none;
}

#on-now {
	width: 100%;
	margin: 20px 0 20px -2px;
	padding: 8px 0 7px;
	float: left;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
}
#on-now h2 {
	float: left;
	margin-bottom: 0;
	text-align: left;
	width: auto;
	border-bottom: 0;
	padding-bottom: 0;
}
.on-mobile {
	display: none;
}
.on-key {
	float: left;
	margin: 9px 0 0 20px;
	display: block;
}
.on-circle {
	width: 17px;
	height: 17px;
	font-size: 13px;
	line-height: 17px;
	border-radius: 50%;
	behavior: url(/csspie/PIE.htc);
	background: #0f0;
	display: block;
	float: left;
}
.on-sml {
	width: 13px;
	height: 13px;
	font-size: 13px;
	line-height: 13px;
	border-radius: 50%;
	behavior: url(/csspie/PIE.htc);
	background: #0f0;
	display: block;
	float: right;
	position: relative;
}
.on-text {
	font-size: 13px;
	line-height: 17px;
	text-transform: uppercase;
	font-family:"Maison Neue Bold", Helvetica, Arial, Sans-Serif, sans-serif; font-weight:bold; font-style:normal;
	float: left;
	margin-left: 6px;
}
.roaming {
	font-size: 34px;
	line-height: 17px;
	font-family:"Maison Neue Bold", Helvetica, Arial, Sans-Serif, sans-serif; font-weight:bold; font-style:normal;
	float: left;
	margin-left: 12px;
	margin-top: 8px;
}
#listings-announcement {
	float: left;
	z-index: 103;
	width: 100%; 
	height: auto; 
	padding: 0; 
	text-align: center;
	margin: 0;
	behavior: url(/csspie/PIE.htc);
} 
#listings-announcement p {
	font-size: 14px !important;
	line-height: 20px !important;
	font-family:"Maison Neue Bold", Helvetica, Arial, Sans-Serif, sans-serif; font-weight:bold; font-style:normal;
	text-align: center;
	z-index: 104;
	position: relative;
	color: #9932CC;
	margin-bottom: 0;
}
#listings {
	clear: both;
	margin-bottom: 20px;
	position: relative;
	float: left;
	width: 1020px;
}
.listings-col {
	position: relative;
	float: left;
	width: 294px;
	margin-right: 24px;
	margin-bottom: 24px;
	padding: 12px 15px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	background:#ccffe4;
}
.listings-col-last {
	margin-right: 0;
}
.listings-col-first {
	clear: both;
}
.listings-col:hover {
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}
.no-shadow {
	-webkit-box-shadow: 1px 1px 1px 1px #9932CC !important;
    -moz-box-shadow:1px 1px 1px 1px #9932CC !important;
    box-shadow: 1px 1px 1px 1px #9932CC !important;
	background: url('https://birminghamartmap.org/img/scribble_yellow.png') repeat !important;
}
.no-shadow:hover {
	-webkit-box-shadow: 1px 1px 1px 1px #9932CC !important;
    -moz-box-shadow:1px 1px 1px 1px #9932CC !important;
    box-shadow: 1px 1px 1px 1px #9932CC !important;
}
.no-shadow-circle {
	width: 108px !important;
	height: 108px !important;
	margin-right: 0 !important;
	margin-bottom: 24px;
	padding: 15px;
	-webkit-box-shadow: 1px 1px 1px 1px #9932CC !important;
    -moz-box-shadow:1px 1px 1px 1px #9932CC !important;
    box-shadow: 1px 1px 1px 1px #9932CC !important;
	background: url('https://birminghamartmap.org/img/scribble_yellow.png') repeat !important;
	border-radius: 50%;
	behavior: url(/csspie/PIE.htc);
	transform: rotate(4deg);
	-webkit-transform: rotate(4deg);
	-moz-transform: rotate(4deg);
	-ms-transform: rotate(4deg);
	-o-transform: rotate(4deg);
	display: table !important;
}
.no-shadow-circle #listings-announcement {
	display: table-cell !important;
	vertical-align: middle !important;
	float: none !important;
	behavior: url(/csspie/PIE.htc);
}
.not-on-map {
	font-size: 60px !important;
	line-height: 60px !important;
}
.map-number {
	float: right;
	margin-top: -4px;
	padding-left: 2px;
}
.map-number-mobile {
	float: right;
	margin-top: -4px;
	padding-left: 2px;
	display: none;
}
.social-links {
	font-size: 20px;
}
.venue-name {
	font-size: 26px; 
	line-height: 34px;
	display: block;
	margin-top: -4px;
}
.listing-title {
	font-size: 14px;
	line-height: 16px;
	margin: 0;
	padding: 0;
}
.listing-date, .listing-description p, .listing-information ul li p {
	margin-bottom: 0;
}
.listing-information ul li {
	border-top: 1px solid #bbbbbb;
	padding: 8px 0;
}
.listing-information ul li:last-child {
	padding: 8px 0 0;
}
.static-map {
	margin-bottom: 12px;
	display: none;
	height: auto;
	width: 100%;
}
.static-map-toggle {
	display: none;
}
.show-map {
	font-size: 13px;
	margin-top: 1px;
	margin-left: 4px;
	position: absolute;
}

#info-content {
	float: left;
	width: 786px;
}
.mailing-list {
	float: left;
	width: 238px;
	margin: 0 0 20px 0;
}
.item {
	width:  238px;
	margin: 0 24px 10px 0;
	height: auto;
	float: left;
}
input {
	font-family: 'Maison Neue Book', 'Helvetica Neue', sans-serif;
	-webkit-border-radius: 0px;
	padding: 2px 4px;
	border: 0;
}
input[type="submit"] {
    cursor: pointer;
	margin: 4px 0 0 0;
	border-bottom: 2px solid #000;
}
input:focus {
	outline: none;
}
.col-content img {
	height: auto;
    max-width: 100%;
}

div.col-Download p:first-child {
	margin-bottom: 12px;
}
div.col-Download p {
	margin-bottom: 0;
}

/* ---------------------------------------------------------------------------------------------------------- 
03 Media Queries --------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
	/* Styles */
	body { 
		width: 480px;
		padding: 20px 0px;
	}
	header {
		width: 480px;
	}
	h1.logo	{ 
		width: 474px;
		line-height: 60px;
	}
	h1 a {
		background: url("/img/logo_mobile.png") no-repeat scroll 0 0 transparent;
		background-size: contain;
	    height: 108px;
	    width: 274px;
	}
	.nav-wrapper, #undefined-sticky-wrapper {
		display: none;	
	}
	.nav-mobile {
		display: block;	
	}
	.nav-mobile ul.date-weather {
		display: none;
	}
	.nav-group {
		width: 470px;
	}
	nav {
		text-align: center;
		float: none;
	}
	nav li {
		float: none;
		display: inline-block;
	}
	nav li:last-child {
		margin-right: 0;
	}
	#main-content {
		width: 474px;
	}
	#map-canvas {
		width: 474px;
		height: 240px;
	}
	.acf-map {
		width: 100%;
		height: 240px;
	}
	#listings {
		width: 100%;
	}
	.listings-col {
		width: 440px;
	}
	#info-content {
		width: 474px;
	}
	.mailing-list {
		width: 474px;
	}
	.item {
		width:  474px;
	}
	.static-map-toggle {
		display: inline;
	}
	.map-number {
		display: none;
	}
	.map-number-mobile {
		display: block;
	}
	.on-key {
		display: none;
	}
	#on-now h2 {
		display: block;
		text-align: center;
		float: none;
	}
}

/* Smartphones (landscape) ----------- */
@media only screen 
and (min-width : 321px) {
/* Styles */
}

/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 320px) {
	/* Styles */
	body { 
		width: 320px;
		padding: 20px 0px;
	}
	header {
		width: 320px;
	}
	h1.logo	{ 
		width: 314px;
		line-height: 60px;
	}
	h1 a {
		background: url("/img/logo_mobile.png") no-repeat scroll 0 0 transparent;
		background-size: contain;
	    height: 108px;
	    width: 274px;
	}
	.nav-wrapper, #undefined-sticky-wrapper {
		display: none;	
	}
	.nav-mobile {
		display: block;	
	}
	.nav-mobile ul.date-weather {
		display: none;
	}
	.nav-group {
		width: 310px;
	}
	nav {
		text-align: center;
		float: none;
	}
	nav li {
		float: none;
		display: inline-block;
	}
	nav li:last-child {
		margin-right: 0;
	}
	#main-content {
		width: 314px;
	}
	#map-canvas, .acf-map {
		width: 314px;
		height: 240px;
	}	
	#listings {
		width: 100%;
	}
	.listings-col {
		width: 280px;
	}
	#info-content {
		width: 314px;
	}
	.mailing-list {
		width: 314px;
	}
	.item {
		width:  314px;
	}
	.static-map-toggle {
		display: inline;
	}
	.map-number {
		display: none;
	}
	.map-number-mobile {
		display: block;
	}
	.on-key {
		display: none;
	}
	#on-now h2 {
		display: block;
		text-align: center;
		float: none;
	}
}

/* iPhone 5 (landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) 
and (orientation : landscape) { 
	/* Styles */
	body { 
		width: 568px;
		padding: 20px 0px;
	}
	header {
		width: 568px;
	}
	h1.logo	{ 
		width: 562px;
		line-height: 60px;
		display: block;	
	}
	h1 a {
		background: url("/img/logo.png") no-repeat scroll 0 0 transparent;
		background-size: contain;
	    height: 50px;
	    width: 470px;
	}
	.nav-wrapper, #undefined-sticky-wrapper {
		display: none;	
	}
	.nav-mobile {
		display: block;	
	}
	.nav-mobile ul.date-weather {
		display: none;
	}
	.nav-group {
		width: 558px;
	}
	nav {
		text-align: center;
		float: none;
	}
	nav li {
		float: none;
		display: inline-block;
	}
	nav li:last-child {
		margin-right: 0;
	}
	#main-content {
		width: 562px;
	}
	#map-canvas {
		width: 562px;
		height: 240px;
	}
	#listings {
		width: 100%;
	}
	.listings-col {
		width: 529px;
	}
	#info-content {
		width: 562px;
	}
	.mailing-list {
		width: 562px;
	}
	.item {
		width: 562px;
	}
	.static-map-toggle {
		display: inline;
	}
	.map-number {
		display: none;
	}
	.map-number-mobile {
		display: block;
	}
	.on-key {
		display: none;
	}
	#on-now h2 {
		display: block;
		text-align: center;
		float: none;
	}
}

/* iPads (landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
	/* Styles */
	body { 
		width: 1024px;
		padding: 20px 0px;
	}
	header {
		width: 1024px;
	}
	h1.logo	{ 
		width: 1018px;
		line-height: 90px;
	}
	h1 a {
		background: url("/img/logo.png") no-repeat scroll 0 0 transparent;
		background-size: contain;
	    height: 50px;
	    width: 470px;
	}
	.nav-wrapper, #undefined-sticky-wrapper {
		display: block;	
	}
	.nav-mobile {
		display: none;	
	}
	.nav-mobile ul.date-weather {
		display: none;
	}
	.nav-group {
		width: 1014px;
	}
	nav {
		text-align: left;
		float: left;
	}
	nav li {
		float: left;
		display: inline-block;
	}
	nav li:last-child {
		margin-right: 0;
	}
	#main-content {
		width: 1018px;
	}
	#map-canvas {
		width: 1018px;
		height: 440px;
	}
	#listings {
		width: 100%;
	}
	.listings-col {
		width: 292px;
	}
	#info-content {
		width: 780px;
	}
	.mailing-list {
		width: 236px;
	}
	.item {
		width:  238px;
	}
	.static-map-toggle {
		display: none;
	}
	.map-number {
		display: block;
	}
	.map-number-mobile {
		display: none;
	}
	.on-key {
		display: block;
	}
	#on-now h2 {
		display: inline-block;
		text-align: left;
		float: left;
	}
}

/* iPads (portrait) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait)  {
	/* Styles */
	body { 
		width: 768px;
		padding: 20px 0px;
	}
	header {
		width: 768px;
	}
	h1.logo	{ 
		width: 762px;
		line-height: 90px;
	}
	h1 a {
		background: url("/img/logo.png") no-repeat scroll 0 0 transparent;
		background-size: contain;
	    height: 50px;
	    width: 470px;
	}
	.nav-wrapper, #undefined-sticky-wrapper {
		display: block;	
	}
	.nav-mobile {
		display: none;	
	}
	.nav-mobile ul.date-weather {
		display: none;
	}
	.nav-group {
		width: 758px;
	}
	nav {
		text-align: left;
		float: left;
	}
	nav li {
		float: left;
		display: inline-block;
	}
	nav li:last-child {
		margin-right: 0;
	}
	#main-content {
		width: 762px;
	}
	#map-canvas {
		width: 762px;
		height: 440px;
	}
	#listings {
		width: 100%;
		margin-left: -2px;
	}
	.listings-col {
		width: 208px;
	}
	#info-content {
		width: 524px;
	}
	.mailing-list {
		width: 238px;
	}
	.item {
		width:  238px;
	}
	.static-map-toggle {
		display: none;
	}
	.map-number {
		display: block;
	}
	.map-number-mobile {
		display: none;
	}
	.on-key {
		display: block;
	}
	#on-now h2 {
		display: inline-block;
		text-align: left;
		float: left;
	}
}

.announcement-wrap {
	width:100%;
	float:left;
	clear:both;
	background: url('https://birminghamartmap.org/img/scribble_yellow.png') repeat !important;
	color:#1f91d3;
	margin-top:20px;
	font-size:19px;
	line-height: 1.45;
	letter-spacing: 0.5px;
}
.announcement-inner {
	padding:20px;
}
.announcement-wrap p {
	margin-bottom: 1.45em;
}
.announcement-wrap p:last-child {
	margin-bottom: 0;
}
.announcement-wrap a {
	border:2px dotted #1f91d3;
	padding:8px;
	display:inline-block;
	border-radius:3px;
	font-weight: 700;
}
.announcement-wrap a:hover {
	background:#1f91d3;
	color:rgba(0,255,255,0.6);
}