/* Styles for the CoverPop.js plugin */


html,
body {
    overflow: auto;
}

body {
    position: relative;
}

.CoverPop-open,
.CoverPop-open body {
    overflow: hidden;
}

#CoverPop-cover {
    display: none;
    position: fixed;
    overflow-y: scroll;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    -webkit-animation: fade-in .25s ease-in;
    -moz-animation-name: fade-in .25s ease-in;
    -ms-animation-name: fade-in .25s ease-in;
    -o-animation-name: fade-in .25s ease-in;
    animation-name: fade-in .25s ease-in;
}

    .CoverPop-open #CoverPop-cover {
        display: block;
        background-color: rgba(255, 255, 255, 0.75);
    }


@-webkit-keyframes fade-in {
    0% { opacity: 0; }
    25% { opacity: 0; }
    100% { opacity: 1; }
}

.CoverPop-content.splash-center {
    display: block;
    position: relative;
    margin: 20% auto;
    max-width: 600px;
    box-shadow: 0px 0px 5px #999;
    background: url(/wp-content/themes/upstater2015/lib/background.png) no-repeat center;
    background-size: cover;
}

div.cp-outer-box {
	padding: 30px;
}

div.cp-inner-box {
	padding: 20px;
	background-color: rgba(255, 255, 255, 0.75);
}

div.cp-inner-box h3 {
	text-transform: none;
	font-family: "Abril text", sans-serif;
	color: #000;
	-webkit-margin-before: 0;
	-webkit-margin-after: 0;
	font-size: 18px;
}

div.cp-inner-box p {
	font-family: "Abril text", sans-serif;
	color: #000;
	font-size: 11px;
}

div.cp-inner-box img {
	float: left;
	padding-right: 15px;
	margin-bottom: 20px;
}

div.CoverPop-content.splash-center div.cp-inner-box div.mc4wp-form-fields h3.newsletter {
	display: none;
}

div.CoverPop-content.splash-center div.cp-inner-box div.mc4wp-form-fields div#subscribe p {
	display: none;
}

div.CoverPop-content.splash-center div.cp-inner-box div.mc4wp-form-fields div#subscribe input[type=submit] {
	background-color: #182c63;
	color: #fff;
	font-size: 14px;
	text-transform: uppercase;
	padding: 0 25px;
	border: 0;
	min-height: 40px;
}

div.CoverPop-content.splash-center div.cp-inner-box input#mc4wp_email {
	display: inline-block;
	max-width: 160px;
	min-height: 41px;
}

div.CoverPop-content.splash-center div.cp-inner-box form.mc4wp-form {
	margin: 0;
}

div.CoverPop-content.splash-center div.cp-inner-box div#subscribe {
	background: none;
	margin: 0;
	padding: 0;
}

a.CoverPop-close {
	color: #fff;
	font-size: 20px;
	text-decoration: none;
	font-weight: bold;
	float: right;
}

@media screen and (max-width: 401px) {
	div.cp-inner-box img {
		float: left; }
}

@media screen and (max-width: 370px) {
	div.CoverPop-content.splash-center div.cp-inner-box input#mc4wp_email {
		max-width: 100%; }
}