@import url('https://fonts.googleapis.com/css?family=Montserrat:700');

@font-face {
    font-family: 'cooper_blackregular';
    src: url('../font/cooper_black_regular-webfont.woff2') format('woff2'),
         url('../font/cooper_black_regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html, body{
	width: 100%;
    height: 100%;
}

body{
	margin: 0;
	padding: 0;
	text-align: center;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	color:#1E1E59;
}

.error{
	border-color: red !important;
}

.popIn{
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 20;
    display: none;
}

#addAgency{
	width: 600px;
	padding: 50px 0;
	position: absolute;
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	margin: auto;
	margin-top: -250px;
	background-color: #ffffff;
}

#addAgency .button{
	width: auto !important;
}

#addAgency h3{
    text-transform: uppercase;
    font-size: 20px;
    margin: 0 0 40px;
    padding: 0 0 65px;
    background-image: url('../img/flash-blue.png');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 30px 49px;
}

#agencyConfirmation{
	display: none;
}

#agencyConfirmation h4{
	font-size: 20px !important;
}

#logo{
	width: 344px;
	display: block;
	margin: 10px auto;
}

#logoFooter{
	width: 400px;
	display: block;
	margin: 0 auto;
}

#blockA{
	background-color: #fef15d;
	background-image: url('../img/background-pt.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: auto;
    -webkit-background-size: auto;
    -moz-background-size: auto;
    -o-background-size: auto;
	color:#1E1E59;
	padding: 300px 0 100px;
	height: 750px;
}

#blockA h1{
	font-family: 'cooper_blackregular', serif;
	font-size: 64px;
	margin: 26px 10px 50px;
}

#by{
	font-weight: 700;
	font-size: 20px;
	text-transform: uppercase;
}

#gift{
	height: 700px;
	color: #ffffff;
	padding: 50px 0;
	background-position: center center;
	background-size:cover;
	position: relative;
}

#gift:after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .3);
    z-index: 0;
}

#prev{
	color: white;
	text-transform: uppercase;
	font-size: 15px;
	z-index: 10;
    position: absolute;
    left: 40px;
    top: 48%;
}

#next{
	color: white;
	text-transform: uppercase;
	font-size: 15px;
	z-index: 10;
    position: absolute;
    right: 40px;
    top: 48%;
}

#date{
	text-transform: uppercase;
	font-size: 30px;
	margin: 150px 0 40px;
	z-index: 10;
    position: relative;
}


.navigation:before{
	display: block;
	margin: 0 auto;
	content: "";
	height: 2px;
	background-color: #ffffff;
	width: 15px;
	margin-bottom: 10px;
}

.navigation:after{
	display: block;
	margin: 0 auto;
	content: "";
	height: 2px;
	background-color: #ffffff;
	width: 15px;
	margin-top: 10px;
}

#date:after{
	display: block;
	margin: 0 auto;
	content: "";
	height: 4px;
	background-color: #ffffff;
	width: 25px;
	margin-top: 20px;
}

#giftTitle{
	font-family: 'cooper_blackregular', serif;
	font-size: 70px;
	margin: 15px auto 50px;
	z-index: 10;
    position: relative;
    width: 70%;
}

#registerMessage{
    text-transform: uppercase;
    font-size: 15px;
    margin: 0 0 40px 0;
    z-index: 10;
    position: absolute;
    display: inline-block;
    bottom: 0;
    width: 100%;
    left: 0;
    padding: 20px 0 40px;
    background-image: url('../img/arrow-white.png');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 30px 18px;
}

.navigation{
	z-index: 10;
	position: relative;
}


#blockC{
	padding: 60px 0;
	position: relative;
}

#blockC h3{
    text-transform: uppercase;
    font-size: 20px;
    margin: 0 0 40px;
    padding: 0 0 65px;
    background-image: url('../img/flash-yellow.png');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 30px 49px;
}

#missingMessage{
	font-size: 18px;
	margin: 30px 0 0 0;
}

#missingMessage a{
	color:#1E1E59;
	text-decoration: underline;
}

.message{
	font-size: 18px;
}

.message a{
	color:#1E1E59;
	text-decoration: underline;
}

#blockD{
	padding: 100px 0;
	position: relative;
	background-color: #fef15d;
}

.input{
	border: solid 4px #1E1E59;
	font-size: 16px;
	padding: 12px;
	width: 200px;
	color: #1E1E59;
	text-transform: uppercase;
	font-weight: bold;
	border-radius: 0;
}

.input::placeholder{
	color: #1E1E59;
}

.button{
	border: solid 4px #1E1E59;
	background-color: #1E1E59;
	font-size: 16px;
	padding: 12px;
	width: 200px;
	color: white;
	text-transform: uppercase;
	font-weight: bold;
}

#confirmation{
	display: none;
}

#confirmation h4{
	font-family: 'cooper_blackregular', serif;
	font-size: 30px;
	margin: 50px auto;
	z-index: 10;
    position: relative;
    width: 70%;
}

.message h4{
	font-family: 'cooper_blackregular', serif;
	font-size: 30px;
	margin: 50px auto;
	z-index: 10;
    position: relative;
    width: 70%;
}

/* Reset Select */
.select {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
	outline: 0;
	box-shadow: none;
	border: solid 4px #1E1E59;
	font-size: 16px;
	padding: 12px;
	width: 200px;
	color: #1E1E59;
	text-transform: uppercase;
	font-weight: bold;
	background: #ffffff;
	overflow: hidden;
	margin: 0 8px 0;
	cursor: pointer;
	border-radius: 0;
	background-image: url('../img/arrow-blue.png');
	background-repeat: no-repeat;
	background-position: 94%;
	background-size: 25px 15px;
}
.select::-ms-expand {
  display: none;
}

.footerLink{
	margin: 50px 10px 0;
	display: inline-block;
}

.footerLink img{
	width: 30px;
}

@media screen and (max-width: 880px) {
	#blockA{

	}

	#blockA h1{
		font-size: 38px;
	}

	#date{
		font-size: 20px;
	}

	#giftTitle{
		font-size: 38px;
	}

	#registerMessage{
		font-size: 12px;
	}

	.input, .select, .button{
		width: 150px;
		font-size: 12px;
	}

	.select{
		margin: 0 4px 0;
	}

	.navigation{
		display: none;
	}

}

@media screen and (max-width: 480px) {
	#blockA{

	}

	#blockA h1{
		font-size: 28px;
	}

	#logo{
		width: 240px;
	}

	#logoFooter{
		width: 240px;
	}

	#date{
		font-size: 15px;
	}

	#registerMessage{
		font-size: 10px;
	}

	#giftTitle{
		font-size: 30px;
	}

	.input, .select, .button{
		width: 90%;
		font-size: 12px;
	}

	.select{
		margin: 4px 0;
	}

	#addAgency{
		width: 100%;
	}

	#addAgency .button{
		width: 90% !important;
		margin-top: 5px;
	}

}