#thanks {
	display: none;
	position:absolute;
	width:450px;
	margin:0;
	padding:5px;
	right:calc((100% - 450px) / 2);
	z-index:50;
	top:230px;
	background:#E1A837;
    opacity:.98;
    border:2px solid #000;
}
#thanks p {
    font-family: "MJ Titr";
    margin:20px 40px;
    font-size:25px;
}

#thanks span {
	font-size:20px;
    font-family: "IR Lotus";
}


#sub-nav {
	text-align: right;
	margin:50px 3% 0 0;
}

#sub-nav li {
    border-radius: 0;
    border-top-right-radius:20px;
    border-top-left-radius:20px;
	cursor: pointer;
	color:#4b5265;
	box-shadow:none;
	border:1px solid #011348;
	border-bottom:none;
	width:auto;
}

#sub-nav li:hover {
	height:20px;
	font-size:unset;
	color:#011348;
}
#sub-nav li.active {
	height:20px;
	font-size:unset;
	color:#011348;
}

div#contact, div#form {
	font-family:"IR Lotus";
	font-size:18px;
	width: 80%;
	margin:0;
	text-align:right;
}

div#form form {
	margin:20px 40px;
	text-align:center;
}

div#form h3 {
	text-align:right;
	font-family: "MJ Titr";
	color:#011348;
	text-shadow: 2px 2px 5px #FFF;
	font-size:18px;
}

div#form form label.active, div#form form label:hover {
    background-color:#DDD;
}

div#form form label {
   cursor:pointer;
   display:inline-block;
   margin:10px;
   padding: 5px;
   border-radius:20px;
   background-color:rgba(159, 165, 164, .6);
   border:.5px solid;
   width:100px;
}
div#form form input[type="radio"] {
	display:none;
}

div#form form textarea {
	width:calc(100% - 20px);
	margin:0 0 20px 0;
	display:block;
	padding:10px 10px;
	border-radius:15px;
	min-height: 100px;
    opacity: 0.8;
    outline:none;
}

div#form form input[type="submit"] {
	background-color:green;
	color:#FFF;
	border:none;
	padding:5px 40px;
	border-radius:10px;
	border:.5px solid #000;
	cursor:pointer;
}

div#form form input[type="submit"]:hover {
    background-color:darkgreen;
}

div#contact {
	text-align:center;
	direction:ltr;
}

div#contact a {
    display: inline-block;
    width:60%;
    vertical-align: middle;
    margin:8px;
    border-radius:50px;
}

div#contact a img {
    width:40px;
    vertical-align: middle;
    background-color:#FFF;
    padding:2px;
    border-radius:100%;
}

div#contact a span {
	display:inline-block;
    width:calc(100% - 14px);
    background-color:#FFF;
    padding:8px 7px;
    border-radius:30px;
    vertical-align: middle;
}

div#contact a:hover span {
    background-color:#E1A837;
}

#contact a div:nth-child(2) {
    vertical-align: middle;
    width:50%;
    margin:0;
    border-radius:30px;
    background:transparent;
    border:2px solid #FFF;
    padding:3px;

}

#contact a div:nth-child(1) {
    vertical-align: middle;
    width:50px;
    margin:0;
    border-radius:30px;
    background:transparent;
    border:2px solid #FFF;
    padding:3px 0px;
    margin-right:5px;
}
