/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

* {
    box-sizing: border-box;
}

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

html, body {
    min-height: 100%;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}
/* ###### END RESET.CSS ###### */

/* ###### START STYLE.CSS ###### */

html, body {
    touch-action: pan-x pan-y !important;
}

body {
	background-image: url('../images/map-raw-1900x2224.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

div, p, a {
	box-sizing: border-box;
}

p, a {
	font-family: "Unkempt", cursive;
    color: #fceda9;
}

p { 
    line-height: 1.4;
    font-size: 24px;
    text-align: center;
    letter-spacing: 2.2px;
    padding: 12px 0;}

a {
	color: #eee;
	-webkit-transition: all .3s; /* Safari */
	-moz-transition: all .3s;
    transition: all .3s;
}

h1, h2 {
    font-family: "Henny Penny";
    font-size: 60px;
    color: #fceda9;
    font-weight: 300;
    line-height: 1.2;
    margin-top: 0;
    text-align: center;
}

h2 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 20px;
}

h3 {
    font-size: 22px;
    font-weight: bold;
    color: #42190c;
    display: block;
    text-align: center;
    font-family: "Henny Penny";}

a:hover {
	color: #fd8f2a;
}

body.map-page p {
    letter-spacing: initial;
}

.img-right,
.img-right-portrait {
    float: right; }

.img-left,
.img-left-portrait {
    float: left; }

.ama-button-link {
	border: 1px solid #f7b655;
	border-radius: 3px;
	background-color: #df9d3b;
	color: #311c04;
	padding: 3px 15px;
	display: inline-block;
	text-decoration: none;
}

.ama-button-link:hover {
	background-color: #2b1b03; /*#ffca7b; */
	box-shadow: 5px 5px 8px rgba(0,0,0,.4);
}

.text-engraved-brown {
    text-shadow: -1px 1px rgba(255, 255, 255, 0.58), 1px -1px rgba(47, 15, 5, 0.89);
    letter-spacing: 2px;
}

.text-body-engrave {
    text-shadow: -1px 1px rgba(255, 255, 255, 0.56);
}

.soft-box-shadow {
    -webkit-filter: drop-shadow(-15px 10px 10px rgba(0,0,0,0.7));
    filter: drop-shadow(-15px 10px 10px rgba(0,0,0,0.7));
}

.heavy-box-shadow {
    -webkit-filter: drop-shadow(0 0 10px rgba(0,0,0,0.9)) drop-shadow(-15px 10px 10px rgba(0,0,0,0.9));
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.9)) drop-shadow(-15px 10px 10px rgba(0,0,0,0.9));
}

.inset-shadowing {
    -webkit-filter: drop-shadow(1px -1px 0 rgb(0, 0, 0)) drop-shadow(-1px 1px 0 rgb(0, 0, 0)) drop-shadow(-2px 2px 0 rgb(255, 248, 232));
    filter: drop-shadow(1px -1px 0 rgb(0, 0, 0)) drop-shadow(-1px 1px 0 rgb(0, 0, 0)) drop-shadow(-2px 2px 0 rgb(255, 248, 232));
}

.icon-drop-shadow {
    -webkit-filter: drop-shadow(-3px 3px 2px #333);
    filter: drop-shadow(-3px 3px 2px #333);

    max-width: 130px;
    max-height: 100px;
}

.subtle-drop-shadow {
    -webkit-filter: drop-shadow(-3px 3px 2px #333);
    filter: drop-shadow(-3px 3px 2px #333);
}

.engraved-text-light {
    text-shadow: 1px -1px 1px #111;
}

.engraved-text-dark {
    text-shadow: -1px 1px 1px #fceda9;
}

.vertical-center {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

#ama-menu-bar {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    z-index: 999;
}

#ama-menu-bar a {
    text-decoration: none;
    font-family: "Henny Penny", cursive;
}

.menu-button {
    width: 250px;
    height: 50px;
    /*font-family: "Unkempt", cursive;*/
    font-family: "Henny Penny", cursive;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 1px -1px 0 #000;
    text-align: center;
    color: #fff;
    line-height: 48px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.menu-button-left {
    background-image: url('../images/button-timber-post-brownish-left-250x69.png');
}

.menu-button-right {
    background-image: url('../images/button-timber-post-brownish-right-250x65.png');
}

.menu-button-right span {
    top: 3px;
    margin-left: 10px;
}

.x-close-box {
    position: absolute;
    /*right: 6%;*/
    /*top: 5%;*/
    right: 10px;
    top: 10px;
    color: rgba(41, 29, 2, 0.7);
    cursor: pointer;
    webkit-transition: color .2s;
    transition: color .2s;
}

#ama-icon-details-side .x-close-box {
    right: 6%;
}

.x-close-box:hover {
    color: #dd1515;
}

.side-title-bar {
    font-family: "Henny Penny";
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    padding: 0 8px 0 0;
    line-height: 1.5;
    letter-spacing: 3px;
    backface-visibility: hidden;
    /*max-width: 65%;*/
    /*display: inline-block;*/
    /*vertical-align: middle;*/

    width: 100%;
    margin-top: 15px;
}

#icon-details-title-container {
    display: table;
    width: 100%;
    margin: 0;
}

.side-title-bar {
    font-family: "Henny Penny";
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    padding: 0 8px;
    line-height: 1.3;
    letter-spacing: 3px;
    /*display: table-cell;*/
    display: block;
    vertical-align: middle;
    width: 100%;
}

/*.aligning-item {
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
}*/

/*.side-icon {
    text-align: center;
    max-width: 35%;
    display: inline-block;
    vertical-align: middle;
}*/

.side-icon {
    text-align: center;
    /*max-width: 35%;*/
    width: 100%;
    min-width: 120px;
    /*display: table-cell;*/
    display: block;
    vertical-align: middle;
}

.side-icon a {
    text-align: center !important;
}

/* for fluid display */
.side-icon img {
    max-width: 200px;
    max-height: 100px;
}

.image-cont {
    background-image: url('../images/oldparchment-300x422.png');
    background-position: center;
    background-size: 100% 100%;
    padding: 20px;
    margin: 0 auto 80px;
}

.image-cont img {
    max-width: 90% !important;
}

.img-grid {
    margin-bottom: 50px;
    overflow: hidden;
}

#ama-lang-cont {
  padding: 3px;
  position: fixed;
  top: 0;
  background-color: rgba(0,0,0,.5);
}

#ama-lang-cont a {
  font-family: "arial";
  text-decoration: none;
  padding: 3px 7px;
  font-size: .8em;
  font-weight: bold;
  border-right: solid 1px #fff;
}

#ama-lang-cont a:last-child {
  border-right: none;
}

.ama-lang-box {
  float: left;
  color: #fff;
  text-align: center;
}

/* ##### CONTACT FORM ##### */

#ama-page-text-cont.contact dd{
    padding-bottom: 20px;
}

#ama-page-text-cont form {
    padding: 20px 0;
    overflow: hidden;
}

#ama-page-text-cont.contact p {
    width: 100%;
}

#ama-page-text-cont.contact label {
    text-align: left;
}

.contact-required {
    color: #e91717;
    border-bottom: none !important;
    text-decoration: none;
}

#ama-page-text-cont.contact #sendcont {
    text-align: right;
}

#ama-page-text-cont.contact input[type='text'],
#ama-page-text-cont.contact input[type='submit'],
#ama-page-text-cont.contact textarea {
    width: 100%;
    font-family: "Unkempt", cursive;
    font-size: 24px;
    line-height: 1.3;
    padding: 4px 7px;
    box-sizing: border-box;
}

#ama-page-text-cont.contact input[type='text'],
#ama-page-text-cont.contact textarea {
    background: #f9efda;
    border-radius: 10px;
}

#ama-page-text-cont.contact textarea {
   padding: 4px 7px;
}

#ama-page-text-cont.contact input[type="submit"] {
    width: auto;
    font-weight: bold;
    padding: 4px 15px;
}

/* ------------------------ */

#ama-contact-box {
  position: fixed;
  bottom: 5px;
  right: 0;
}

#ama-contact-box a {
  font-family: arial,sans-serif;
  padding: 5px 14px;
  background-color: rgba(0,0,0,.5);
  text-decoration: none;
  display: block;
}

#ama-menu-wrapper {
	width: 100%;
	position: relative;
	margin-top: 30px;
}

.map-page #ama-menu-top {
    display: none;
}

.map-page #ama-menu-side {
    display: block;
}

#preload {
    display: none;
}

#ama-menu-cont {
    width: 220px;
    height: 410px;
    padding-top: 85px;
    background-image: url('../images/scroll-str-1-250x383.png');
    background-repeat: no-repeat;
    background-size: 220px 410px;
    background-position: top left;
    overflow: hidden;
    position: relative;
    left: 0;
    z-index: 20;}

#ama-menu-cont.ama-menu-dd {
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 30px;
    display: none;
    /*display: block;*/
    position: fixed;
    z-index: 998;
}

#ama-home-logo-cont {
    right: 20%;}

#ama-about-col-left {
    float: left;
    width: 35% !important;}

#ama-about-col-right {
    float: left;
    width: 65% !important;}

#ama-menu-header {
    width: 220px;
    height: 79px;
    position: fixed;
    left: 0;
    right: 0;
    background-image: url('../images/scroll-top-222x74.png');
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 196px 79px;
    margin: 0 auto;
    z-index: 999;
    display: block;
    top: 30px;
    -webkit-transiton: box-shadow .6s;
    transition: box-shadow .6s;
    cursor: pointer;
}

#ama-menu-cont.ama-menu-dd a {
	width: 93%;
}

#ama-menu-cont a, #ama-menu-header a {
	font-size: 22px;
	font-weight: bold;
	color: #42190c;
	display: block;
	text-align: center;
	font-family: "Henny Penny", cursive;
	width: 80%;
	-webkit-transition: padding .3s, text-shadow .3s; /* Safari */
	-moz-transition: padding .3s, text-shadow .3s;
    transition: padding .3s, text-shadow .3s;}

#ama-menu-cont a {
	line-height: 1.4em;
}

#ama-menu-header h3 {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-52%, -40%);
	-moz-transform: translate(-52%, -40%);
	transform: translate(-52%, -40%);}

.current-link {
	color: #fff !important;
	text-shadow: 0 0 12px #000, 0 0 10px #000, 0 0 10px #000;}

#ama-menu-cont a:nth-child(1), #ama-about-body a:nth-child(1) {
	padding: 10px 20px 8px 0;}

#ama-menu-cont a:nth-child(2), #ama-about-body a:nth-child(2) {
	padding: 10px 10px 8px 23px;}

#ama-menu-cont a:nth-child(3), #ama-about-body a:nth-child(3) {
	padding: 10px 15px 8px 55px;}

#ama-menu-cont a:nth-child(4), #ama-about-body a:nth-child(3) {
	padding: 10px 15px 8px 65px;}

#ama-menu-cont a:nth-child(5), #ama-about-body a:nth-child(3) {
    padding: 10px 15px 8px 70px;}

#ama-menu-cont a {
	text-decoration: none;
}

#ama-menu-cont a:hover {
	padding-top: 8px;
	padding-bottom: 10px;
	text-shadow: -4px 4px 3px #444;}

#ama-home-logo-cont {
	width: 45%;
	position: absolute;
	top: 15%;
	right: 10%;
	background-image: url('../images/logo-hat-329x329.png');
	background-repeat: no-repeat;
	background-size: 300px;
    background-position: top right;
    }

#ama-home-logo-cont p {
    margin-top: 50px;
}

#ama-home-msg-cont {
	padding: 3% 0;}

#ama-home-msg-box {
	margin: 0 auto;
	width: 80%;
	padding: 20px 90px 20px 20px;
	background-color: #fff;
	background-image: url('../images/handmade-paper.png'),url('../images/car-with-surfboards-ds-120x86.png');
	background-repeat: repeat, no-repeat;
	background-position: center, center right 5%;
	background-size: 90px;}

/* ### page text ### */
#ama-home-text-row,
#ama-page-text-row {
    margin: 160px auto 0;
}

#ama-page-maps-row {
    margin-top: 140px;
}

#ama-page-maps-row.map-page {
    width: 100%;
    /*min-width: 1600px;*/
}

#opaque-masking {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    background-color: rgba(0,0,0,.65);
    z-index: 998;
}

#opaque-masking.opaque-masking-active {
    display: block;
}

#ama-home-text-cont,
#ama-page-text-cont,
#ama-page-map-cont,
#ama-page-map-grid {
    margin: 0 auto;
    padding: 50px 10px 80px;
    text-align: center;
}

.map-front,
.map-back {
    display: inline-block;
    width: 90%;
    padding: 40px 0;
}

.map-front img,
.map-back img {
    width: 100%;
}

.text-cont,
.img-grid {
    position: relative;
    margin-bottom: 50px;
}

#ama-home-text-cont {
    padding-top: 0;
}

#ama-home-logo {
    text-align: center;
}

#ama-home-logo img {
    max-width: 200px;
    padding-bottom: 30px;
}

#ama-page-text-cont img,
#ama-page-text-cont .img-right,
#ama-page-text-cont .img-left,
#ama-page-text-cont.story-page img,
#ama-page-text-cont.story-page .img-right,
#ama-page-text-cont.story-page .img-left {
	width: 100%;
	max-width: 400px;
    margin: 0 auto 20px;
}

#ama-page-text-cont .title-image img {
    max-width: 500px;
    padding: 0;
    box-shadow: 0 0 8px #1b1003, 0 0 8px #1b1003;
    margin: 4% auto;
    border-radius: 3px;
}

#ama-page-text-cont .img-right-portrait,
#ama-page-text-cont .img-left-portrait,
#ama-page-text-cont.story-page .img-right-portrait,
#ama-page-text-cont.story-page .img-left-portrait {
    max-width: 250px;
    margin: 3px auto;
}

.bottom-img {
    /*padding-bottom: 190px;*/
    padding-bottom: 63%;
}

.bottom-img-portrait {
    padding-bottom: 360px;
}

.bottom-img img,
.bottom-img-portrait img {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 3px auto;
}

.img-grid img {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#ama-page-text-cont form {
  /*padding: 20px 40px;
  background-color: rgba(0,0,0,.6);
  border-radius: 12px;*/
}

#ama-page-text-cont.ama-contact {
  color: #fceda9;
  padding: 20px 40px;
  background-color: rgba(68, 68, 68, 0.88);
  border-radius: 12px;
  margin-bottom: 40px;
}

.ama-contact p {
  width: 100%;
}

.ama-contact label {
  width: 100%;
  float: left;
}

.ama-contact abbr[title] {
  border: none;
  text-decoration: none;}

.ama-contact input, .ama-contact textarea {
  background-color: transparent;
  border: solid 2px #5a5a5a;
  color: #eccfa5;
  padding: 8px;
  border-radius: 5px;
  width: 80%;
  font-size: 16px;
  box-sizing: border-box;
}

.ama-contact textarea {
  width: 100%;
}

.ama-contact input:focus, .ama-contact textarea:focus {
  -webkit-box-shadow: 0 0 20px #e04b02;
  -moz-box-shadow: 0 0 20px #e04b02;
  box-shadow: 0 0 20px #e04b02;
}

/* ##### MAPS GRID ##### */

#ama-map-grid-container {
    display: flex;
    flex-flow: row-wrap;
    justify-content: space-around;
}

#ama-page-map-grid {
    display: flex;
    flex-flow: column;
}

#ama-page-map-grid h2 {
    text-align: left;
    border-bottom: 2px solid rgba(252, 237, 169, 0.6);
    width: 90%;
    margin: 0 auto 30px;
}

#ama-page-map-grid h3 {
    color: #fceda9;
}

.ama-map-grid-section {
    margin-bottom: 5vw;
    position: relative;
    padding: 20px 20px 30px;
}

.parchment-bg-semiop {
    background-image: url('https://artmapsaustralia.com.au/images/oldparchment-blank.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    opacity: .5;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.ama-map-box {
    opacity: 1;
}

#ama-page-map-grid img {
    width: 100%;
    -webkit-transition: opacity .5s, visibility .5s, transform .3s, filter .3s;
    transition: opacity .5s, visibility .5s, transform .3s, filter .3s;
}

.ama-map-box.active-map img {
    opacity: 1;
    visibility: visible;
    -webkit-filter: drop-shadow(-3px 2px 2px #222);
    filter: drop-shadow(-3px 2px 2px #222);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: scale(.95) translateZ(0); /* Chrome, Safari, Opera */
    transform: scale(.95) translateZ(0);
    cursor: pointer;
}

.ama-map-box.active-map img:hover {
    -ms-transform: scale(1) rotate(5deg); /* IE 9 */
    -webkit-transform: scale(1) rotate(2deg); /* Safari */
    transform: scale(1) rotate(2deg);
    -webkit-filter: brightness(120%) drop-shadow(-6px 4px 2px #222);
    filter: brightness(120%) drop-shadow(-6px 4px 2px #222);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

#ama-page-maps-cont {
    position: relative;
    text-align: center;
    padding-top: 0;
    padding-bottom: 50px;
    display: flex;
    flex-flow: column;
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
}

/* ##### THE MAP! ##### */

#mapContainer {
    overflow: hidden;
}

#theMap {
    /*background-image: url(../images/ArtMap-Robe-baseMap-772x1075.jpg), url(../images/oldparchment-inv-300x422.svg);*/
    /*background-image: url(../images/ArtMap-Robe-baseMap-1948x2712-glossy.jpg);*/
    background-image: url(../images/ArtMap-Robe-baseMap-1888x2612-glossy.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    margin: 0 auto;
    width: 100%;
    min-width: 1800px;
    padding-top: 138.8%;
    display: block;
    position: absolute;
    order: 0;
}

.icon-box {
    display: block;
    position: absolute;
    opacity: 0;
    background-repeat: no-repeat !important;
    background-size: contain;
    -webkit-transition: opacity .5s, visibility .5s, transform .3s, filter .3s;
    transition: opacity .5s, visibility .5s, transform .3s, filter .3s;
    visibility: hidden;
}

.icon-box.display-active-icon {
    opacity: 1;
    visibility: visible;
    -webkit-filter: drop-shadow(-3px 2px 2px #222);
    filter: drop-shadow(-3px 2px 2px #222);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: scale(.9) translateZ(0); /* Chrome, Safari, Opera */
    transform: scale(.9) translateZ(0);
    cursor: pointer;
}

.icon-box.display-inactive-icon {
    opacity: 1;
    visibility: visible;
}

.icon-box.display-active-icon:hover {
    -ms-transform: scale(1) rotate(5deg); /* IE 9 */
    -webkit-transform: scale(1) rotate(5deg); /* Safari */
    transform: scale(1) rotate(5deg);
    -webkit-filter: brightness(120%) drop-shadow(-6px 4px 2px #222);
    filter: brightness(120%) drop-shadow(-6px 4px 2px #222);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.icon-box.highlightIcon {
    -webkit-filter: drop-shadow(0 0 3px #eee) drop-shadow(0 0 3px #eee);
    filter: drop-shadow(0 0 3px #eee) drop-shadow(0 0 3px #eee);    
}

.static-icon-shadow {
    -webkit-filter: drop-shadow(-6px 4px 2px #222);
    filter: drop-shadow(-6px 4px 2px #222);
}

#ama-categories,
#ama-icon-details-side {
    background-image: url('../images/oldparchment-300x422.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto;
    padding: 0;
    height: 1px;
    color: #42190c;
    opacity: 0;
    font-family: "Unkempt", cursive;
    font-weight: normal;
    text-align: left;
}

/* #####   EVENTS  ##### */

#ama-events-cont {
    background-image: url('../images/scroll-str-skew-250x383.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto;
    /*padding: 36px 6% 40px 10%;*/
    /*padding: 36px 0 40px 20px;*/
    padding: 0;
    height: 1px;
    /*min-width: 350px;*/
    max-width: 600px;
    max-height: 800px;
    color: #42190c;
    opacity: 0;
    font-family: "Unkempt", cursive;
    font-weight: normal;
    text-align: left;
    -webkit-transition: all .5s;
    transition: all .5s;
    /*z-index: 605;*/
    z-index: 999;
}

#ama-events-cont.display-events-list {
    opacity: 1;
}

.display-events-list h3 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 60px;
}

.events-list-box {
    width: 70%;
    background: rgba(115, 90, 42, 0.3);
    border-top: 1px inset #4a3104ba;
    border-right: 1px inset #4a3104ba;
    border-left: 1px inset #eee4d1;
    border-bottom: 1px inset #eee4d1;
    border-radius: 6px;
}

.events-list-box h4 {
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    padding: 4px;
}

.event-title {
    border-radius: 4px;
    background: rgba(0,0,0,.7);
    color: #fff;
}

.event-text {
    background-color: #fffaf1;
    background-image: url(../images/stucco.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    border-radius: 4px;
}

.events-list-box p, .events-list-box a {
    color: #000;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    line-height: 1.1;
    letter-spacing: initial;
    padding: 3px 0;
}

.events-list-box a {
    text-align: center;
}

.event-logo img {
    width: 100%;
}

.events-list-box2 {
    width: 70%;
}

.events-list-box2 h4 {
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    padding: 4px;
}

.event-title2 {
    background-image: url(../images/scroll-heading-300w.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.event-text2 {
    /*background-color: #fffaf1;*/
    background-image: url(../images/scroll-text-bg-300w.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    color: #fceda9;
    /*border-radius: 4px;*/
}

.events-list-box2 p, .events-list-box2 a {
    /*color: #000;*/
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    line-height: 1.1;
    letter-spacing: initial;
    padding: 3px 0;
}

.events-list-box2 a {
    text-align: center;
}

.event-logo2 img {
    width: 100%;
}

/* ----------------------- */

#ama-categories {
    position: fixed;
    z-index: 900;
    -webkit-transition: left .4s;
    transition: left .4s;
}

#ama-categories-dropdown {
    background-image: url('../images/oldparchment-300x422.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto;
    padding: 20px 30px;
    /*height: 1px;*/
    color: #42190c;
    /*opacity: 0;*/
    font-family: "Unkempt", cursive;
    font-weight: normal;
    text-align: left;
    display: flex;
}

#ama-categories-dropdown {
    position: fixed;
    display: none;
    flex-flow: column;
    z-index: 900;
    top: 55px;
}

#ama-categories-slats-container {
    position: fixed;
    display: none;
    z-index: 1100;
    top: 65px;
    padding: 10px;
}

#category-tab {
    position: absolute;
    display: block;
    top: 2px;
    right: -40px;
    width: 60px;
    height: 45px;
    background-image: url(../images/artists-palette-w60.png), url(../images/parchment-tab-100.png);
    background-size: 60%, contain;
    background-repeat: no-repeat;
    background-position: center, center;
}

.mobile-category-open {
    left: -20px !important;
}

#ama-icon-details-side {
    position: fixed;
    z-index: 601;
    left: 2.5%;
    opacity: 0;
    height: 0;
    top: 3000px;
    -webkit-transition: opacity .5s, bottom .5s, height .5s;
    transition: opacity .5s, bottom .5s, height .5s;
}

.ama-category-item {
    display: flex;
    flex-flow: row;
    align-items: center;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
}

.ama-category-item.all-categories {
    width: 100%;
    border-bottom: 3px dotted #42190c;
    padding-bottom: 5px;
}

.ama-category-item label {
    cursor: pointer;
}

.ama-category-item span {
    height: 20px;
    width: 20px;
    border: 2px solid #42190c;
    display: inline-flex;
    vertical-align: middle;
    border-radius: 1em;
    margin-right: 10px;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.ama-category-item:hover span {
    background: #42190c;
}

.ama-category-item span.halflings-tick:before {
    position: absolute;
    font-size: 26px;
    left: 1px;
    top: -8px;
    color: green;
}

.ama-category-item span.halflings-tick:before {
    opacity: 1;
}

.ama-category-item span.halflings-tick.hide-tick:before {
    opacity: 0;
}

.category-label {
    font-size: 20px;
    max-width: 84%;
    width: 84%;
    font-weight: bold;
}

.ama-category-dropdown-item {
    display: -webkit-flex;
    display: flex;
    flex-flow: row;
    align-items: center;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
}

.ama-category-dropdown-slat {
    display: block;
    position: relative;
    text-align: right;
    margin-bottom: 10px;
    float: left;
    clear: both;
}

.ama-category-slat-item {
    background-image: url(../images/sign-simple-timber-brownish-250x56.png);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 8px 0 8px 30px;
    cursor: pointer;
    float: right;
}


.category-slat-label {
    vertical-align: middle;
    display: initial;
    font-size: 18px;
    width: 78%;
    max-width: 78%;
    text-align: right;  
    margin-right: 55px;
    cursor: pointer;
    font-family: "Unkempt", cursive;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    /*text-shadow: 1px -1px 1px #000;*/
}

.category-slat-icon {
    position: absolute;
    top: -12px;
    right: -8px;
    width: 60px;
    height: 60px;
    background-image: url(../images/icons/eat-and-drink/cafe.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    -webkit-filter: brightness(120%);
    filter: brightness(120%);
}

#all .category-slat-icon {
    background-image: url(../images/icons/attractions/artist.png);
}

#attractions .category-slat-icon {
    background-image: url(../images/icons/attractions/camera.png);
}

[id='artisans & makers of Robe'] .category-slat-icon {
    background-image: url('../images/icons/artisans & makers of robe/artisans.png');
}

[id='recreation & entertainment'] .category-slat-icon {
    background-image: url('../images/icons/recreation & entertainment/fatbikes.png');
}

[id='eat & drink'] .category-slat-icon {
    background-image: url(../images/icons/eat-and-drink/cafe.png);
}

[id='parking toilets & bbq'] .category-slat-icon {
    background-image: url(../images/icons/parking-toilets-and-bbq/toilet.png);
}

[id='places to stay'] .category-slat-icon {
    background-image: url('../images/icons/places to stay/caravan-park.png');
}

[id='public services'] .category-slat-icon {
    background-image: url(../images/icons/public-services/tourist-info.png);
}

[id='services & trades'] .category-slat-icon {
    background-image: url('../images/icons/services & trades/scissors.png');
}

[id='shops'] .category-slat-icon {
    background-image: url('../images/icons/shops/shopping-trolley.png');
}

.ama-category-dropdown-item.all-categories {
    width: 100%;
    border-bottom: 3px dotted #42190c;
    padding-bottom: 5px;
}

.ama-category-dropdown-item label {
    cursor: pointer;
}

.ama-category-dropdown-item span {
    height: 20px;
    width: 20px;
    border: 2px solid #42190c;
    display: inline-flex;
    vertical-align: middle;
    border-radius: 1em;
    margin-right: 10px;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.ama-category-dropdown-item:hover span {
    background: #42190c;
}

.ama-category-dropdown-item span.halflings-tick:before {
    position: absolute;
    font-size: 26px;
    left: 1px;
    top: -8px;
    color: green;
}

.ama-category-dropdown-item span.halflings-tick:before {
    opacity: 1;
}

.ama-category-dropdown-item span.halflings-tick.hide-tick:before {
    opacity: 0;
}

.category-dropdown-label {
    font-size: 20px;
    max-width: 84%;
    width: 84%;
    font-weight: bold;
}

#ama-map-logo-box {
    position: fixed;
    top: 60px;
    right: 10px;
    z-index: 600;
}

#ama-map-logo-box a {
    display: block;
}

#ama-map-logo-box .map-logo {
    width: 100px;
    height: auto;
}

/*#ama-map-events-box {
    position: fixed;
    right: 0;
    top: 260px;
    z-index: 600;
    width: 110px;
    height: 80px;
    background-color: rgba(0,0,0,.65);
    border-top-left-radius: 55px;
    border-bottom-left-radius: 55px;
    cursor: pointer;
}*/

/*#ama-map-events-box {
    position: fixed;
    right: 0;
    top: 260px;
    z-index: 600;
    width: 70px;
    height: 180px;
    background-color: #2f190b;
    background-image: url("../images/fake-brick.png");
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}*/

#ama-map-events-box {
    position: fixed;
    right: 0;
    top: 180px;
    z-index: 600;
    width: 70px;
    padding: 6px 0 6px 5px;
    background-color: #bf1e2e;
    background-image: url("../images/fake-brick.png");
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    /*border: 3px solid #6c050f;*/
    /*border-right: none;*/
}

/*#ama-map-events-box .events-img {
    position: absolute;
    left: -10px;
    top: -30px;
    width: 120px;
    height: 140px;
    background-image: url('../images/events-marqueex2.png');
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    -webkit-transform: scale(.9) translateZ(0);
    transform: scale(.9) translateZ(0);
    -webkit-transition: transform .3s, filter .3s;
    transition: transform .3s, filter .3s;
}*/

#ama-map-events-box .events-img {
    width: 66px;
    height: 80px;
    background-image: url('../images/events-marquee.png');
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    -webkit-transform: scale(.9) translateZ(0); /* Chrome, Safari, Opera */
    transform: scale(.9) translateZ(0);
    -webkit-transition: transform .3s, filter .3s;
    transition: transform .3s, filter .3s;
    -webkit-backface-visibility: hidden; 
}

#ama-map-events-box .events-img:hover {
    -ms-transform: scale(1) rotate(5deg); /* IE 9 */
    -webkit-transform: scale(1) rotate(5deg); /* Safari */
    transform: scale(1) rotate(5deg);
    -webkit-filter: brightness(120%) drop-shadow(0 0 10px rgba(0,0,0,0.9)) drop-shadow(-15px 10px 10px rgba(0,0,0,0.9));
    filter: brightness(120%) drop-shadow(0 0 10px rgba(0,0,0,0.9)) drop-shadow(-15px 10px 10px rgba(0,0,0,0.9));
}

/*#zoom-button {
    position: fixed;
    top: 190px;
    right: 0;
    height: 40px;
    width: 160px;
    background-image: url('../images/button-timber-post-brownish-left-250x69.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    font-family: "Unkempt", cursive;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    line-height: 32px;
    color: #fff;
    z-index: 601;
}*/

/*.zoom-img {
    width: 70px;
    height: 50px;
    position: absolute;
    top: -10px;
    background-image: url('../images/other/Magnifying_Glass-tempBlue-300w.png');
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}*/

.zoom-img {
    width: 60px;
    height: 60px;
    background-image: url('../images/magnifying-glass.png');
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transform: scale(.9) translateZ(0); /* Chrome, Safari, Opera */
    transform: scale(.9) translateZ(0);
    -webkit-transition: transform .3s, filter .3s;
    transition: transform .3s, filter .3s;
    -webkit-backface-visibility: hidden;
    -webkit-filter: drop-shadow(-5px 5px 4px rgba(0,0,0,0.9));
    filter: drop-shadow(-5px 5px 4px rgba(0,0,0,0.9));
}

.zoom-img:hover{
    -ms-transform: scale(1) rotate(5deg); /* IE 9 */
    -webkit-transform: scale(1) rotate(5deg); /* Safari */
    transform: scale(1) rotate(5deg);
    -webkit-filter: brightness(120%) drop-shadow(-6px 6px 5px rgba(0,0,0,0.9)) drop-shadow(-6px 6px 5px rgba(0,0,0,0.9));
    filter: brightness(120%) drop-shadow(-6px 6px 5px rgba(0,0,0,0.9)) drop-shadow(-6px 6px 5px rgba(0,0,0,0.9));
}

.zoom-text {
    margin-left: 50px;
}

#ama-qrcode {
    position: fixed;
    right: 10px;
    bottom: 10px;
    width: 90px;
    height: 90px;
    border-radius: 10px;
    background-image: url('../images/other/ama-qrcode.png');
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 901
}

#welcome-message-container {
    position: fixed;
    left: 0;
    top: 0;
    height: 1px;
    width: 0;
    visibility: hidden;
    -webkit-transition: all .3s;
    transition: all .3s;
    z-index: 1010;
}

#welcome-message-container.display-welcome {
    left: 5%;
    top: 8%;
    width: 90%;
    visibility: visible;
    height: auto;
    /*padding-bottom: 20px;*/
}

#welcome-message-container .message-head {
    position: absolute;
    left: -15px;
    top: -30px;
    width: 25%;
    padding-top: 25%;
    background-image: url("../images/logos/neil-head.png");
    background-size: contain;
    background-position: bottom left;
    background-repeat: no-repeat;
}

#welcome-message-container .message-icon {
    position: absolute;
    bottom: -20px;
    right: 0;
    width: 20%;
    max-width: 70px;
    padding-top: 70px;
    margin-left: auto;
    margin-right: auto;
    background-image: url("../images/ama-logo-on-parchment-150w.png");
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
}

.welcome-message {
    font-family: "Unkempt", cursive;
    display: block;
    /*width: 90%;*/
    /*margin-left: 10%;*/
    /*padding: 20px 20px 10px 40px;*/
    padding: 40px 20px 30px;
    /*background-color: #be8a38;*/
    background-color: #916520;
    background-image: url("../images/fake-brick.png");
    /*border: 2px solid #fff8d9;*/
    border-radius: 4px;
    color: #fff8d9 !important;
}

.welcome-message ul {
    padding-left: 40px;
    padding-bottom: 20px;
}

.welcome-message p,
.welcome-message li {
    font-family: "Unkempt", cursive;
    font-size: 1px;
    line-height: 1.2;
    font-weight: bold;
    color: #916520 !important;
    text-align: left;
}

#welcome-message-container.display-welcome .welcome-message p,
#welcome-message-container.display-welcome .welcome-message li {
    font-size: 18px;
    color: #fff8d9 !important;
}

#pinch-message {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    top: 0;
    right: 0;
    width: 1px;
    height: 1px;
    max-width: 300px;
    padding: 14px 8px 14px;
    background-color: #be8a38;
    background-image: url("../images/fake-brick.png");
    border: 2px solid #eec789;
    border-radius: 4px;
    -webkit-transition: all .3s;
    transition: all .3s;
    z-index: 980;
}

#pinch-message p {
    font-size: 18px;
    color: #333;
    line-height: 1.2;
    font-weight: bold;
}

#pinch-message .pinch-graphic {
    background-image: url("../images/arrow-right-yellow.png");
    background-position: center;
    background-size: 70px;
    background-repeat: no-repeat;
    height: 30px;
    width: 100%;
}

#pinch-message .pinch-icon {
    background-image: url('../images/magnifying-glass.png');
    background-position: center;
    background-size: 60px;
    background-repeat: no-repeat;
    height: 40px;
    width: 100%;
}

.display-message {
    display: block;
    visibility: visible;
    opacity: 1;
    right: 80px;
    top: 160px;
    width: 70%;
}

#jonathon {
    position: fixed;
    bottom: 0;
    left: 1%;
    height: 80px;
    width: 300px;
    background-image: url('../images/icons/static/seagull-flying.png');
    background-size: 100%;
    background-position: top;
    background-repeat: no-repeat;
    filter: drop-shadow(-3px 3px 12px #000) drop-shadow(-3px 3px 12px #000);
    z-index: 1011;
    -webkit-transition: height .8s;
    transition: height .8s;
}

#jonathon.slide-jonathon-down {
    height: 50px;
}

#ama-icon-details-side .icon-text {
    display: inline-block;
    vertical-align: top;
    padding: 12px 0;
}

#ama-icon-details-side p,
#ama-icon-details-side a {
    display: inline-block;
    font-size: 16px;
    backface-visibility: hidden;
    text-align: left;
    font-weight: bold;
    color: #000;
    padding: 0;
    line-height: 1.3;
    letter-spacing: normal;
}

#ama-icon-details-side a {
    text-decoration: none;
    transition: all .3s;
    display: inline-block;
}

#ama-icon-details-side a:hover {
    text-decoration: underline;
}

#ama-icon-details-side a span {
    transition: all .3s;
}

#ama-icon-details-side a:hover span {
    color: green;
}

#ama-icon-details-side a:hover span.social-facebook {
    color: #1b4290;
}

#icon-details img {
    max-width: 70px;
    padding: 0 0 12px;
    background: transparent;
}

#icon-details h4 {
    padding-bottom: 6px;
}

#icon-details.display-active-icon-details {
    display: block;
    visibility: visible;
    opacity: 1;
    /*bottom: 1%;*/
}

#ama-icon-details-side img {
    /*max-width: 70px;*/
    /*padding: 0 0 12px;*/
    padding: 0;
    background: transparent;
    /*max-width: 100%;*/
    -webkit-transition: transform .3s, filter .3s;
    transition: transform .3s, filter .3s;
    -webkit-transform: perspective(1px) rotate(-1deg);
    transform: perspective(1px) rotate(-1deg);
}

#ama-icon-details-side img:hover {
    -webkit-transform: rotate(-2deg);
    transform: rotate(-2deg);
    -webkit-filter: drop-shadow(-4px 4px 3px #333);
    filter: drop-shadow(-4px 4px 3px #333);
}

#ama-icon-details-side h4 {
    padding-bottom: 6px;
}

#ama-icon-details-side.display-active-icon-details-side,
#ama-categories.display-categories {
    visibility: visible;
    opacity: 1;
    height: auto;
    /*padding: 25px 50px;*/
    padding: 25px 40px;
}

#ama-icon-details-side .icon-contacts {
    border-top: 3px dotted #42190c;
    padding-top: 12px;
    width: 100%;
}

.icon-contacts span {
    margin-right: 10px;
    font-size: 18px;
    vertical-align: middle;
    top: -2px;
}

.icon-contacts .contacts-socialmedia span {
    top: initial;
    font-size: 24px;
    margin-right: 20px;
}

.contacts-web {
    text-align: right;
}

#ama-icon-details-side .icon-contacts-local {
    display: inline-flex;
    flex-flow: column nowrap;
    width: 45%;
}

#ama-icon-details-side .icon-contacts-social {
    display: inline-flex;
    flex-flow: column nowrap;
}

/*.icon-contacts-local .halflings-map-marker {*/
.icon-contacts .halflings-map-marker {
    color: #bd0404;
}

/*.icon-contacts-social .social-facebook {*/
.icon-contacts .social-facebook {
    color: #4267b2;
}


/* ##### CONTENT SUBMISSION FORM ##### */

#submit-page, #success-page {
    text-align: center;
    padding-top: 2%;
}

#submit-container, #details-container {
    width: 95%;
    margin: 0 auto;
    padding: 15% 7%;
    background: url(../images/OldParchment-trp-2-600x844.png) no-repeat center;
    background-size: 100% 100%;
    text-align: left;
    max-width: 1200px;
}

#submit-container h1, #details-container h1 {
    font-family: "Unkempt", cursive;
    font-size: 40px;
    font-weight: bold;
    line-height: 1.1;
    color: #000;
}

#submit-container .submit-explanation {
    background: #ffedca;
    margin-bottom: 40px;
    border-radius: 8px;
}

.submit-explanation ol {
    margin-left: 20px;
}

.submit-explanation ol li {
    font-weight: bold;
}

.submit-explanation ol li > p {
    font-weight: normal;
    font-family: inherit;
    line-height: initial;
    font-size: 16px;
    letter-spacing: initial;
    color: #000;
    text-align: left;
    padding: 0 0 4px 8px;
}

#details-container h4, #details-container p,
.submit-middle p {
    font-family: "Unkempt", cursive;
    font-size: 22px;
    padding: 0;
    margin: 0;
    text-align: left;
    color: #000;
    line-height: 1.1;
}

#details-container h3 {
    padding: 10px 0;
}

#details-container p,
.submit-middle p {
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 14px;
    line-height: initial;
    letter-spacing: initial;
    padding-top: 4px;
    padding-bottom: 4px;
}

#details-container a {
    font-size: 16px;
    font-weight: bold;
    color: #42190c;
}

#details-container #sendDetails p,
.submit-middle p {
    font-size: 14px;
}

#sendDetails input[type='text'] {
    width: 70%;
}

#submit-page .submit-top,
#submit-page .submit-middle,
#success-page .success-bottom {
    border-top: dotted 4px #3e2b12;
}

/*#submit-page .submit-bottom,
#success-page .success-top,
#submit-page .submit-middle {
    border-top: dotted 4px #3e2b12;
    border-bottom: dotted 4px #3e2b12;
}*/

#submit-page input[type='text'],
#success-page input[type='text'],
textarea {
    background-color: #ffedca;
    padding: 6px;
    border-radius: 8px;
    width: 100%;
}

#submit-page textarea {
    height: 100px;
    line-height: 1.2;
}

#submit-page input[type='submit'] {
    padding: 6px 10px;
    font-weight: bold;
    margin-bottom: 12px;
}

#submit-container dl,
#details-container dl {
    margin-bottom: 12px;
}

#submit-container fieldset {
    border: 2px solid #000;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 12px;
}

#submit-container dt,
#submit-container legend,
#details-container dt {
    font-family: "Unkempt", cursive;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.2;
    padding: 0 6px;
    text-shadow: -1px 1px 0 #fceda9;
}

#details-container dt {
    text-shadow: none;
    color: #000;
}

#submit-container legend {
    width: auto;
}

#submit-container dd,
#details-container dd {
    margin-bottom: 6px;
}

#submit-container .smedia label,
#submit-container .smedia input {
    width: 100%;
}

#submit-container .smedia label {
    padding-left: 6px;
    line-height: 1.1;
}

#submit-container .important-note {
  color: #000;
  font-family: inherit;
  font-size: 12px;
  font-style: italic;
  letter-spacing: initial;
  line-height: initial;
  text-align: left;
  font-weight: bold;
  padding: 0;
}


#submit-page .submit-bottom .category-list label {
    width: 100%;
    margin-bottom: 6px;
}

#submit-page .submit-bottom .category-list input {
    margin-right: 6px;
}

#messagebanner {
    border-radius: 8px;
}

#messagebanner.submit-error {
    background-color: #cc3939;
    color: #000;
    opacity: 0;
    height: 0;
    -webkit-transition: all .3s; /* Safari */
    transition: all .3s;
}

#messagebanner.display-error {
    opacity: 1;
    height: auto;
}

#messagebanner .errorheading {
    border-bottom: 2px solid #fff;
    min-height: 2.5rem;
}

#messagebanner .errorcolour {
    color: #fff;
}

#messagebanner.submit-error p {
    font-size: 20px;
    line-height: 1.1;
}


/* ##### SUBMIT SUCCESS ##### */

#details-container h4 {
    text-align: left;
    font-weight: bold;
}

.submitted-logo img {
    width: 90%;
    margin: 10px auto;
}

#details-container .submitted-logo h4 {
    text-align: left;
}

#details-container .success-result-field {
    background: #ffedca;
    border-radius: 4px;
}

#details-container .no-logo {
  text-align: center;
  font-style: italic;
  color: #555;
  font-size: 12px;
  padding: 10px;
}

#details-container #sendDetails dd {
    text-align: right;
}

#success-page input[type='submit'] {
    padding: 4px;
    margin-top: 4px;
}

/*#success-page .print-success {
    border: 2px solid #000;
    border-radius: 8px;
}

#success-page .print-success p {
    display: inline-block;
    width: 70%;
}

#success-page .print-success button {
    display: inline-block;
}*/

#success-page .cat-tag {
    display: inline-block;
    margin-right: 8px;
    background: #42190c;
    color: #fff;
    padding: 2px 14px;
    border-radius: 4px;
    margin-bottom: 4px;
}

#success-page .details-preview {
    background-image: url('../images/map-raw-600x377-crop.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border: 2px inset #999;
    border-radius: 8px;
}

#ad-preview {
    background-image: url('../images/oldparchment-300x422.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    margin: 20px auto;
    padding: 13px 25px;
}

#ad-preview img {
    max-height: 60px;
    max-width: 100px;
}

#ad-preview h3 {
    font-size: 18px;
    width: 100%;
    text-align: center;
}

#ad-preview p {
    font-family: "Unkempt", cursive;
    font-size: 12px;
    font-weight: bold;
}

#ad-preview span {
    margin-right: 6px;
}

#ad-preview .preview-social,
#ad-preview .preview-social p {
    text-align: right;
}

.preview-social .social-facebook {
    color: #4666aa;
}

#confirmationEmailHeading {
    height: 0;
    opacity: 0;
    -webkit-transition: all .5s; /* Safari */
    -moz-transition: all .5s;
    transition: all .5s;
}

#confirmationEmailHeading.emailError,
#confirmationEmailHeading.emailSent {
    border-radius: 6px;
    height: auto;
    opacity: 1;
    padding: 3px 8px;
}

#confirmationEmailHeading.emailError {
    background: #cc3939;
    color: #fff;
}

#confirmationEmailHeading.emailSent {
    background: green;
    color: #fff;
}

#emailMessage {
    color: #fff !important;
}

/*
 * Author: http://stuffandnonsense.co.uk/blog/about/hardboiled_css3_media_queries/
 */

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-width : 320px) and (max-width : 480px) {

}

/* Smartphones (landscape) ----------- */
@media only screen and (orientation : landscape) {  /* min-width : 321px) { */
	#ama-menu-cont {
		left: 0;}

	/*#ama-menu-cont.ama-menu-dd {
		left: 14%;
	}*/

	#ama-home-logo-cont {
		right: 20%;}

	#ama-about-col-left {
		float: left;
		width: 35% !important;}

	#ama-about-col-right {
		float: left;
		width: 65% !important;}
}

/* Smartphones (portrait) ----------- */
@media only screen and (min-width : 320px) {

}

@media only screen and (min-width: 465px) {
    #icon-details {
        position: absolute;
        width: 340px;
        box-shadow: -5px 5px 8px #202020;
        bottom: auto;
    }

    #icon-details:after {
        left: 78px;
    }
}

@media only screen and (min-width: 768px) {
    .map-page #ama-menu-side {
        display: none;
    }

    .map-page #ama-menu-top {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-around;
        padding: 10px 20px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        max-width: 900px;
        margin: 0 auto;
        z-index: 99;
    }

    #ama-menu-top a {
        width: 20%;
        margin: 0 5px;
        padding: 18px 0 18px 13px;
        font-size: 24px;
        text-align: center;
        text-decoration: none;
        color: #42190c;
        background: url(../images/scroll-top-222x74.png) no-repeat center;
        background-size: 100% 100%;
    }

    #ama-categories-slats-container {
        left: 32%;
    }
    #welcome-message-container.display-welcome {
        left: 25%;
        top: 15%;
        width: 60%;
        visibility: visible;
        height: auto;
        /*padding-bottom: 20px;*/
    }

    #welcome-message-container .message-head {
        width: 15%;
        padding-top: 15%;
    }

    #ama-contact-box {
        left: 0;
        text-align: center;
    }

    #ama-contact-box a {
        padding: 15px 14px;
    }

    .image-cont {
        width: 70%;
    }

    #ama-page-text-cont.ama-contact {
        padding-left: 0;
        padding-right: 0;
    }

    #ama-page-text-cont form {
        padding: 20px;
    }

    .ama-contact input, .ama-contact textarea {
        width: 100%;
        font-size: 16px;
    }

    #ama-icon-details-side {
        width: 80%;
        padding: 15px 35px;
    }

    #ama-icon-details-side {
        left: 7%;
    }

    #icon-details-title-container {
        display: table;
        table-layout: fixed;
        width: 100%;
        margin: 0;
    }

    #icon-details .icon-sample {
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }

    .side-title-bar {
        display: table-cell;
    }

    .side-icon {
        text-align: center;
        max-width: 35%;
        min-width: 120px;
        display: table-cell;
        vertical-align: middle;
    }

    #jonathon {
        left: 8%;
        height: 100px;
        width: 400px;
        background-image: url('../images/icons/static/seagull-flying-600w.png');
    }

    #submit-container, #details-container {
        padding: 10% 7%;
    }

    #ad-preview {
        width: 95%;
    }
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-width : 768px) and (max-width : 1024px) {
/* Styles */
}

/* iPads (landscape) ----------- */
@media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : landscape) {
/* Styles */
}

/* iPads (portrait) ----------- */
@media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : portrait) {
/* Styles */
}

@media only screen and (min-width: 769px) {
    .menu-button {
        height: 68px;
        line-height: 65px;
        font-size: 28px;
    }

    #ama-categories,
    #ama-icon-details-side {
        text-align: left;
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        -webkit-transform: perspective(1px);
        transform: perspective(1px);
    }

    #ama-categories {
        -webkit-transform: rotate(-2deg);        
        transform: rotate(-2deg);  
        padding: 20px 50px;      
    }

    .ama-category-item {
        display: inline-block;
        width: 49%;
        margin-bottom: 10px;
    }

    .category-label {
        display: inline-block;
        vertical-align: middle;
        font-size: 18px;
        width: 78%;
        max-width: 78%;
    }

    #ama-categories {
        position: relative;
    }

    #category-tab {
        display: none;
    }

    #ama-categories-dropdown {
        text-align: left;
        right: 50%;
        top: 70px;
    }

    .ama-category-dropdown-item {
        display: inline-block;
        margin-bottom: 10px;
    }

    .category-dropdown-label {
        display: inline-block;
        vertical-align: middle;
        font-size: 18px;
        width: 78%;
        max-width: 78%;
    }

    #category-dropdown-tab {
        display: none;
    }
}

@media only screen and (min-width: 1025px) {
    h1 {
        font-size: 80px;
    }

    #ama-map-logo {
        top: 60px;
        right: 30px;
        width: 170px;
    }

    .img-right,
    .img-right-portrait {
        margin-left: 20px !important; }

    .img-left,
    .img-left-portrait {
        margin-right: 20px !important; }

    #ama-categories,
    #ama-icon-details-side {
        padding: 0;
        max-width: 550px;
    }
    #ama-home-text-row {
        margin-top: 0;
    }

    #ama-page-text-row,
    #ama-home-text-row,
    #ama-page-text-row {
        margin: 7% 5% 0 35%;
    }

    #ama-home-text-cont,
    #ama-page-text-cont,
    #ama-page-maps-cont {
        max-width: 750px;
        padding: 50px 30px;
    }

    #ama-map-logo-box {
        top: 60px;
        right: 30px;
    }

    #ama-map-logo-box .map-logo {
        width: 170px;
    }

    /*#ama-map-events-box {
        width: 160px;
        height: 110px;
        top: 380px;
    }*/

    #ama-map-events-box {
        width: 90px;
        top: 240px;
    }

    /*#ama-map-events-box .events-img {
        left: -10px;
        top: -40px;
        width: 150px;
        height: 170px;
    }*/

    #ama-map-events-box .events-img {
        height: 100px;
        width: 80px;
    }

    #ama-page-maps-cont {
        padding-top: 0;
        margin-left: 41%;
        width: 56%;
    }

    /*#zoom-button {
        top: 270px;
        right: 0;
        height: 40px;
        width: 180px;
        font-size: 22px;
    }*/

    .zoom-img {
        width: 80px;
        height: 60px;
    }

    .zoom-text {
        margin-left: 60px;
    }

    #ama-qrcode {
        right: 10px;
        bottom: 10px;
        width: 140px;
        height: 140px;
        border-radius: 10px;
    }

    /* full screen */
    #ama-page-maps-cont {
        position: absolute;
        top: 120px;
        z-index: 600;
    }

    #ama-page-maps-row .ama-map-sidebar {
        width: 39%;
        display: inline-block;
        vertical-align: top;
        position: fixed;
        left: 2%;
        left: 80px;
    }

    #ama-categories {
        -webkit-transform: rotate(-2deg);        
        transform: rotate(-2deg);        
    }

    .ama-category-item {
        margin-bottom: 10px;
    }

    .category-label {
        display: inline-block;
        vertical-align: middle;
    }

    #ama-icon-details-side img {
        /*padding: 0 0 12px;*/
        /*display: block;*/
        padding: 0;
        background: transparent;
        max-height: 100px;
        /*max-height: 80px;*/
        /*max-width: none;*/
    }

    #ama-icon-details-side h4 {
        padding-bottom: 6px;
    }

    #ama-menu-cont.ama-menu-dd {
        margin: 0;
        left: 10%;
        right: 0;
        position: fixed;
        top: 20%; 
    }

    .map-page #ama-menu-cont.ama-menu-dd {
        left: 6%;
        top: 80px; 
    }

    .map-page #ama-menu-cont.ama-menu-dd.map-page-menu {
        left: 0;
        top: 30px;
        top: 0;
        margin: 0 auto;
        position: absolute;
    }

    #ama-menu-header {
        display: none;
    }

    #ama-menu-header.map-page-menu {
        display: block;
        position: absolute;
        top: 0;
    }

    #ama-menu-cont {
        left: 11%;}

    .bottom-img,
    .bottom-img-portrait {
        padding-bottom: 10px;
    }

    .bottom-img img,
    .bottom-img-portrait img {
        position: initial;
    }

    .story-page p {
        text-align: left;
    }

    /* ##### CONTENT SUBMISSION FORM ##### */

    #submit-container, #details-container {
        padding: 4% 7% 3%;
    }

    #submit-page input[type='text'], textarea {
        width: 80%;
    }

    #submit-container .smedia input,
    #submit-container .submit-middle input[type='submit'] {
        width: 100%;
    }

    /* ##### CONTENT SUBMISSION FORM ##### */

    #submit-container {
        padding: 5% 7%;
    }

    #messagebanner .errorheading {
        border-bottom: none;
        border-right: 2px solid #fff;
    }

    /* ###### SUCCESS PAGE ##### */

    #submit-container, #details-container {
        padding: 4% 7%;
    }

    #details-container h4 {
        text-align: right;
    }

    /*.success-vertical-center {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
    }*/
}

/* Desktops and laptops ----------- */
@media only screen and (min-width : 1224px) {
	.ama-menu-item {
	}

    #ama-menu-cont.ama-home {
		position: fixed;
        top: 20%;
        left: 16%;
        margin-top: 0;}

	#ama-about-body {
		-webkit-transform: translateY(0%);
        transform: translateY(0%);
		display: block;
		padding-top: 70px;}

	#ama-home-logo-cont {
		width: 45%;
		float: right;
		margin-right: 15%;
		margin-top: 0;
		right: 0;}

	#ama-home-fishman-cont {
		width: 250px;
		height: 188px;
		bottom: 5px;
    }

    #jonathon {
        left: 18%;
        height: 100px;
        width: 400px;
        background-image: url('../images/icons/static/seagull-flying-600w.png');
    }
}

/* Large screens ----------- */
@media only screen and (min-width : 1500px) {
    #ama-page-maps-cont {
        margin-left: 40%;
        width: 53%;
    }

    #ama-page-maps-row .ama-map-sidebar {
        width: 38%;
    }

    #ama-categories {
        max-width: 490px;
    }

    .category-label {
        font-size: 20px;
    }

    #ama-map-logo-box {
        top: 60px;
        right: 70px;
    }

    #ama-map-logo-box .map-logo {
        width: 200px;
    }

    #jonathon {
        height: 140px;
        width: 540px;
    }
}

/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
/* Styles */
}
