/* CSS Document */
@import url(http://fonts.googleapis.com/css?family=Open+Sans:700);
html, body {
    height: 100%;
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
}
.clearfix {
    clear: both;
    height: 0;
    font-size: 0;
}
a {
    text-decoration: none;
    color: #D51F27;
}
#main {
}
#mainhome {
    background-image: url(../images/D85_3405.jpg);
    text-align: right;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top center;
}
#content {
    text-align: left;
    width: 90%;
    max-width: 1280px;
    background-image: url(../images/fadewhite.png);
    background-repeat: repeat;
    background-color: transparent;
    min-height: 300px;
    margin: 0 auto;
    position: relative;
    padding: 1% 5%;
    font-size: 18px;
    line-height: 2.0;
}
header {
    min-height: 100px;
    padding: 10px;/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+13,008a00+100 */
}
#logo {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 200px 10px 0 0;
}
#logobar {
    width: 100%;
    background-image: url(../images/logobar.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top center;
}
.mappy {
	display:inline-block;
	padding:20px;
	
}
#votebar {
    background: #fff;
    width: 100%;
    font-size: 2em;
    color: #f00;
    margin: 0 0 20px;
    padding: 5px 0 0 0;
    font-family: 'Josefin Sans', sans-serif;
    text-align: center;
}
#votebar a {
    color: #143B8A;
    text-decoration: underline;
    text-decoration-style: dotted;
}
#topper {
    font-family: 'Josefin Sans', sans-serif;
    display: inline-block;
}
#banner {
    width: 100%;
}
.container .gallery a img {
    float: left;
    width: 20%;
    height: auto;
    border: 2px solid #fff;
    -webkit-transition: -webkit-transform .15s ease;
    -moz-transition: -moz-transform .15s ease;
    -o-transition: -o-transform .15s ease;
    -ms-transition: -ms-transform .15s ease;
    transition: transform .15s ease;
    position: relative;
}
.container .gallery a:hover img {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    z-index: 5;
}
.clear {
    clear: both;
    float: none;
    width: 100%;
}
footer {
    border-top: #f00 10px solid;
    min-height: 100px;
    background: url(../images/stripes.png);
    color: #000;
    text-align: center;
    padding-top: 20px;
}
footer a {
    color: #f00;
    font-weight: bold;
}
#countdownTimer {
    position: absolute;
    height: 100%;
    width: 150px;
    padding: 0 10px;
    z-index: 999;
    top: 0;
    right: 0;
    background: url('../images/fadeblack.png') repeat;
}
nav {
    background: #283488;
    width: auto;
    position: relative;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 1;
    display: block;
    zoom: 1;
}
nav ul:after {
    content: " ";
    display: block;
    font-size: 0;
    height: 0;
    clear: both;
    visibility: hidden;
}
nav ul li {
    display: inline-block;
    padding: 0;
    margin: 0;
}
nav.align-right ul li {
    float: right;
}
nav.align-center ul {
    text-align: center;
}
.gallerySquare {
    max-width: 500px;
    width: 100%;
    margin: 10px;
    display: inline-block;
    text-align: center;
}
.gallerySquare img {
    margin: 0 auto;
    max-width: 96%;
}
nav ul li a {
    color: #7C83B0;
    text-decoration: none;
    display: block;
    padding: 15px 25px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    position: relative;
    -webkit-transition: color .25s;
    -moz-transition: color .25s;
    -ms-transition: color .25s;
    -o-transition: color .25s;
    transition: color .25s;
}
nav ul li a:hover {
    color: #FFF;
}
nav ul li a:hover:before {
    width: 100%;
}
nav ul li a:after {
    content: "";
    display: block;
    position: absolute;
    right: -3px;
    top: 19px;
    height: 6px;
    width: 6px;
    background: #ffffff;
    opacity: .5;
}
nav ul li a:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background: #FFF;
    -webkit-transition: width .25s;
    -moz-transition: width .25s;
    -ms-transition: width .25s;
    -o-transition: width .25s;
    transition: width .25s;
}
nav ul li.last > a:after, nav ul li:last-child > a:after {
    display: none;
}
nav ul li.active a {
    color: #FFF;
}
nav ul li.active a:before {
    width: 100%;
}
nav.align-right li.last > a:after, nav.align-right li:last-child > a:after {
    display: block;
}
nav.align-right li:first-child a:after {
    display: none;
}
#contact-area {
    z-index: 10;
    margin-top: 25px;
    width: 100%;
}
.floatpic {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 0;
}
.floatpic img {
    width: 100%;
    max-width: 380px;
}
#contact-area input, #contact-area textarea {
    padding: 5px;
    width: 50%;
    font-family: Helvetica, sans-serif;
    font-size: 1.4em;
    margin: 0px 0px 10px 0px;
    border: 2px solid #f00;
}
#contact-area textarea {
    height: 90px;
}
#contact-area textarea:focus, #contact-area input:focus {
    border: 2px solid #D51F27;
}
#contact-area input.submit-button {
    width: 51%;
    margin: 0 115px;
}
label {
    padding-top: 5px;
    font-family: 'Josefin+Sans';
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
}
textarea.rounded {
    border: 1px solid #923337;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 40px;
    margin: 7px 7px 7px 0;
    padding: 12px 12px;
    outline: 0;
    -webkit-appearance: none;
    width: 360px;
    height: 42px;
    font-family: 'montserratlight', sans-serif;
}
input.rounded, select {
    border: 1px solid #923337;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 40px;
    margin: 7px 7px 7px 0;
    padding: 0px 12px;
    outline: 0;
    -webkit-appearance: none;
    max-width: 360px;
    width: 80%;
    height: 42px;
    font-family: 'montserratlight', sans-serif;
}
select option {
    font-size: 14px;
    padding: 3px 0 3px 8px;
}
textarea.rounded {
    height: 200px;
    line-height: 1.5;
}
input.rounded:focus, textarea.rounded, input.shortrounded:focus {
    border-color: #943235;
}
.modal-box {
    display: none;
    position: absolute;
    z-index: 1000;
    width: 36%;
    padding: 1%;
    background: white;
    border-bottom: 1px solid #aaa;
    border-radius: 4px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-clip: padding-box;
}
.modal-box header, .modal-box .modal-header {
    padding: 0;
    border-bottom: 1px solid #ddd;
    min-height: 1px;
}
.modal-box header h3, .modal-box header h4, .modal-box .modal-header h3, .modal-box .modal-header h4 {
    margin: 0;
}
.modal-box .modal-body {
    padding: 2em 1.5em;
}
.modal-box footer, .modal-box .modal-footer {
    padding: 1em;
    border-top: 1px solid #ddd;
    background: rgba(0, 0, 0, 0.02);
    text-align: right;
    min-height: 10px;
}
.modal-overlay {
    opacity: 0;
    filter: alpha(opacity=0);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 900;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3) !important;
}
a.close {
    line-height: 1;
    font-size: 1.5em;
    position: absolute;
    top: 5%;
    right: 2%;
    text-decoration: none;
    color: #bbb;
}
a.close:hover {
    color: #222;
    -webkit-transition: color 1s ease;
    -moz-transition: color 1s ease;
    transition: color 1s ease;
}
.rotate {
    margin: -50px 0 20px 100px;
    font-size: 20px;
    /* Safari */
    -webkit-transform: rotate(-90deg);
    /* Firefox */
    -moz-transform: rotate(-90deg);
    /* IE */
    -ms-transform: rotate(-90deg);
    /* Opera */
    -o-transform: rotate(-90deg);

/* Internet Explorer */
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

@media screen and (max-width: 900px) {
header {
    background: #fff;
}
#logobar {
    min-height: 150px;
    background-size: 200%;
    background-position: top left;
}
.modal-box {
    width: 90%;
}
		#content img {
		float:none !important;
		margin:20px auto !important;
		max-width:none !important;
	}
}

@media screen and (max-width: 768px) {
header {
    background: #fff;
}
nav ul li {
    float: none;
    display: block;
}
nav ul li a {
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-bottom: 1px solid #7C83B0;
}
	#content img {
		float:none !important;
		margin:20px auto !important;
		max-width:none !important;
	}
nav ul li.last > a, nav ul li:last-child > a {
    border: 0;
}
nav ul li a:after {
    display: none;
}
nav ul li a:before {
    display: none;
}
.floatpic img {
    display: none;
}
}

@media screen and (max-width: 620px) {
#logo {
    width: 60%;
    max-width: 800px;
    height: auto;
    margin: 20px 10px 100px 0;
}
#logobar {
    min-height: 100px;
    background-size: 200%;
}
}

@media screen and (max-width: 500px) {
#logobar {
    min-height: 60px;
    background-size: 180%;
}
}
