/*--A Design by W3layouts 
Author: W3layout
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
--*/


/*--- reset code ---*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,dl,dt,dd,ol,nav ul,nav li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
	margin:0;
	padding:0;
	border:0;
	font-size:100%;
	font:Georgia, "Times New Roman", Times, serif;
	vertical-align:baseline;
}
article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {
	display: block;
}
ol,ul {
	list-style:none;
	margin:0px;
	padding:0px;
}

/* drop down menu */
.dropbtn {
    background-color: #333;
    color: white;
    padding: 10px 24px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}
.dropbtn:hover, .dropbtn:focus {
    background-color: #111;
}
.dropdown {
    position: relative;
    display: inline-block;
	display: none;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
/*    min-width: 160px;	*/
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.dropdown-content a {
    color: black;
    padding: 12px 18px;
    text-decoration: none;
	text-align: left;
    display: block;
}
.dropdown a:hover {background-color: #f1f1f1}
.show {display:block;}




#menuL {
     width: 50%;
     padding: 0;
     margin: 0;
     display: block;
     position: fixed;
}
#menuR {
     width: 50%;
     padding: 0;
     margin: 0;
     display: block;
     float: right;
}
.space {
	width: 240px;
}


.linkR ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.linkL ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.linkL li {
    float: right;
}
.linkR li {
    float: left;
}

.linkL li a {
    display: block;
    color: white;
    text-align: center;
    padding: 13px 16px;
    text-decoration: none;
    background-color: #333;
}
.linkR li a {
    display: block;
    color: white;
    text-align: center;
    padding: 13px 16px;
    text-decoration: none;
    background-color: #333;
}


.active {
    background-color: #4CAF50;
}

/* Change the link color to #111 (black) on hover */
li a:hover {
    background-color: #111;
}




blockquote,q {
	quotes:none;
}
blockquote:before,blockquote:after,q:before,q:after {
	content:'';
	content:none;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}

/* start editing from here */
a {
	text-decoration:none;
}
.txt-rt {
	text-align:right;
}/* text align right */
.txt-lt {
	text-align:left;
}/* text align left */
.txt-center {
	text-align:center;
/*-- W3Layouts --*/	
}/* text align center */
.float-rt {
	float:right;
}/* float right */
.float-lt {
	float:left;
}/* float left */
.clear {
	clear:both;
}/* clear float */
.pos-relative {
	position:relative;
}/* Position Relative */
.pos-absolute {
	position:absolute;
}/* Position Absolute */
.vertical-base {	
	vertical-align:baseline;
}/* vertical align baseline */
.vertical-top {	
	vertical-align:top;
}/* vertical align top */
nav.vertical ul li {	
	display:block;
}/* vertical menu */
nav.horizontal ul li {	
	display: inline-block;
}/* horizontal menu */
img {
	max-width:100%;
}

/*--- end reset code ---*/
body {
	background:url(../images/bg.png);
	background-repeat:no-repeat;
	background-attachment:fixed;
	background-position:center;
	background-size:cover;
	-webkit-background-size:cover;
	-moz-background-size:cover;
	-o-background-size:cover;
	-ms-background-size:cover;
	font-family: 'Poiret One', cursive;
}

#header {
	padding:0px 0;
}
/*-- Agile ITS --*/
.header h1 {
	font-size: 45px;
    font-weight: 600;
    color: #fff;
    text-align: center;
	font-family: 'Poiret One', cursive;
	z-index:99;
}

#logo-wrap{
	margin:0 auto;
	position: fixed;
	height:197px; 
	width: 65%;
	max-width:475px;
	top:0;
	left:0;
	right:0;
	background:url(../images/header-logo.png) top center no-repeat;
	background-size: contain;
	z-index:10;
}
#menu-wrap{
	position: fixed;
	top:0;
	height:45px;
	width:100%;
	background-color: #333;
	z-index:4;
}

.logo-link{
	display: block;
	position: relative;
	height: 130px;
	
}

.content {
/*	width: 100%;  */
	margin:0 auto;
	margin-top: 130px;
}
.content-img {
	text-align:center;
} 
.header img.w3l-img {
	width: 100%;
	max-width:600px;
	height:auto;
	padding: 0px 0;
}
/*-- login form code --*/

/** fonts used for the icons **/ 
@font-face {
    font-family: 'FontomasCustomRegular';
    src: url('../fonts/fontomas-webfont.eot');
    src: url('../fonts/fontomas-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/fontomas-webfont.woff') format('woff'),
         url('../fonts/fontomas-webfont.ttf') format('truetype'),
         url('../fonts/fontomas-webfont.svg#FontomasCustomRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Magnolia'; /*a name to be used later*/
    src: url('../fonts/magnolia_sky.ttf'); /*URL to font*/
}

a.hiddenanchor{
	display: none;
}
/** The wrapper that will contain our two forms **/
#wrapper{
	width: 90%;
	max-width: 500px;
	right: 0px;
/*	min-height: 560px;	*/
	margin: 40px auto;
	padding-top: 50px;	
	position: relative;	
	color:#fff;
	background: rgba(0, 0, 0, 0.36);
}
/**** Styling the form elements **/

/**** general text styling ****/
/*-- W3Layouts --*/
#wrapper a{
	color: #FFF;
	text-decoration: none;
	font-weight:bold;
}

#wrapper h2{
	font-size: 40px;
	color: rgb(236, 169, 170);
	padding: 2px 0 10px 0;
	font-weight: bold;
	text-align: center;
	padding-bottom: 30px;
	font-family: 'Poiret One', cursive;
	z-index:99;
}
/** For the moment only webkit supports the background-clip:text;
#wrapper h2:after{
	content: ' ';
	display: block;
	width: 100%;
	height: 2px;
	margin-top: 30px;
	background:#fff;
} */

#wrapper p{
	margin-bottom:15px;
	z-index:99;
}
#wrapper label{
	color: #fff;
    font-size:19px;
	position: relative;
}

/**** advanced input styling ****/
/* placeholder */
::-webkit-input-placeholder  { 
	color:#fff; 
}
input:-moz-placeholder,
textarea:-moz-placeholder{ 
	color:#fff;	
} 
input:not([type="checkbox"]) {
	/*-- Agile ITS --*/
  outline: none;
}

/* all the input except submit and checkbox */
#wrapper input[type=text], 
#wrapper input[type=submit], 
#wrapper textarea {
	width: 93%;
	/*    color: #fff; */
	z-index: 99;
	margin: 10px auto;
	font-size: 16px;
	font-family: 'Raleway', sans-serif;
	padding: 10px 15px 10px 15px;
	border: 1px solid rgba(125, 0, 0, 0.19);
	/*    background: rgba(68, 0, 0, 0.33); */
	-webkit-appearance: textfield;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
	/* [disabled]background-color: #FFF; */
	color: #000;
}
textarea {
    max-width: 93%;
}

.ui-state-error {
	background-color:#BB1100;
	color:white;
}


.attend, .guest1, .guest2, .guest3, .guest4, .guest5, .guest6, 
.guest7, .guest8, .guest9, .guest10 {
	display:none;  
}

input[aria-invalid="true"],
textarea[aria-invalid="true"]
{
  border:1px solid #f00;
  box-shadow:0 0 4px 0 #f00;
}


#wrapper input:not([type="checkbox"]):active,
#wrapper input:not([type="checkbox"]):focus{
	
} 

/** the magic icon trick ! **/
[data-icon]:after {
    content: attr(data-icon);
    font-family: 'FontomasCustomRegular';
    color:#fff;
    position: absolute;
    left: 10px;
    top: 43px;
	z-index:99;
	width: 30px;
}

/*styling both submit buttons */
#wrapper p.button input:not([type="radio"]){
	width: 30%;
	z-index:99;
	cursor: pointer;	
/*	background:0 0; */
	border-radius: 4px;
	padding: 8px 5px;
	color: #fff;
	font-size: 20px;	
	border: 1px solid #fff;	
	margin-bottom: 10px;	
	-webkit-transition: all 0.2s linear;
	   -moz-transition: all 0.2s linear;
	     -o-transition: all 0.2s linear;
	        transition: all 0.2s linear;
}
#wrapper p.button input:hover{
	background:#fff;
	color:rgb(83, 29, 42);
	border: 1px solid #fff;
}
#wrapper p.button input:active,
#wrapper p.button input:focus{
	background:#fff;
	position: relative;
	top: 1px;
	color:rgb(74, 179, 198);
	border: 2px solid #fff;	
}


#rsvp{
	position: relative;
    top: 0px;
    width: 88%;
    padding: 18px 6% 80px 6%;
    margin: 0 0 35px 0;
    border: 1px solid rgba(156, 112, 112, 0.15);
}
#invite{
	position: relative;
    top: 0px;
    width: 88%;
    padding: 150px 6% 80px 6%;
    margin: 0 0 35px 0;
	background-image:url(../images/invite_bg.png);
    background-size: 100%;
    background-repeat: no-repeat;
    border: 1px solid rgba(156, 112, 112, 0.15);
}

p.invite {
    padding: 0;
	margin: 0;
	font-size:20px;
	text-align: center;
	text-wrap:none;
}
p.name {
	font-size:30px;
	font-family:Magnolia;
	color: rgb(236, 169, 170);
}
p.message {
	font-size:25px;
}
p.top {
    padding: 20px 0;
}
p.text {
    padding: 15px 0;
	font-size: 14px;
}
p.link {
	font-size: 22px;
	color: rgb(236, 169, 170);
}
p.link a {
	font-size: 26px;
	color: rgb(236, 169, 170);
}


a{text-decoration:none;}
.stretch_it{
    white-space: nowrap;
}
.justify{
    text-align:justify;
}
a{text-decoration:none;}
.stretch_it{
    white-space: nowrap;
}
.justify{
    text-align:justify;
}




.footer {
	text-align:center;
}
.footer p {
	padding:10px; 
	font-size:17px;
	color:#fff;
	line-height:27px;
	font-weight:normal;
}
.footer p a {
	color:#fff;
	text-decoration:none;
	transition: all 0.5s ease-in-out;
}
.footer p a:hover {
	color:#E62C59;
}

/*-- Responsive Design --*/
@media (max-width:1024px) {
.content {
/*    width: 100%; */
	margin-left:20px;
	margin-right:20px;
}
.header h1 {
    font-size: 40px;
}
#wrapper h2 {
    font-size: 37px;
}
}

@media (max-width:860px) {

#menuL {
	display: none;
}

#menuR {
	display: none;
}

.dropdown {
    display: inline-block;
}


}
@media (max-width:768px) {
#wrapper h2:after {
	margin-top: 20px;
}
.header h1 {
    font-size: 38px;
}
#wrapper h2 {
    font-size: 35px;
}
#wrapper label {
	font-size:18px;
}
#wrapper input:not([type="radio"]) {
	font-size:15px;
}
.footer p {
	font-size:16px;
}
}

@media (max-width: 640px) {
.header h1 {
    font-size: 35px;
}
#wrapper h2 {
    font-size: 33px;
}
}

@media (max-width: 568px) {
.header {
    padding: 0px 0;
}
#logo-wrap{
	width: 65%;
}
.content {
	margin-top: calc(30vw - 40px);
	}

}

@media (max-width: 480px) {
	#wrapper {
	width:inherit;
	margin:0;	
	}
	#rsvp,
	#invite {
	width:inherit;	
	}
	.content {
/*    width: 94%;  */
	}
.footer p {
	font-size:15px;
}
}

@media (max-width: 414px) {
#rsvp {
padding-bottom:100px;	
}
p.change_link {
    width: 255px;
	font-size:16px;
}
#wrapper p.change_link a {
	margin:10px 0 0 5px;
	padding:7px 20px;
}
.header h1 {
    font-size: 30px;
}
.content {
/*    width: 94%;  */
}
#wrapper h2 {
    font-size: 30px;
}
#wrapper label {
    font-size: 17px;
}
#wrapper input:not([type="radio"]), #wrapper textarea {
	width:90%;
}

}

@media (max-width: 384px) {
p.change_link {
    width: 268px;
}
.content {
/*    width: 94%;   */
}
#wrapper input:not([type="radio"]), #wrapper textarea {
    width: 90%;
}
}

@media (max-width: 375px) {
.content {
/*    width: 94%;  */
}
}

@media (max-width: 320px) {
.header h1 {
    font-size: 28px;
}
#wrapper p.button input {
    font-size: 15px;
}
#wrapper p.change_link a {
    font-size: 15px;
}
#wrapper h2 {
    font-size: 27px;
}
#wrapper label {
    font-size: 16px;
}
#wrapper input:not([type="radio"]) {
    font-size: 14px;
}

#wrapper input:not([type="radio"]), #wrapper textarea {
    width: 90%;
}
.footer p {
    font-size: 15px;
}
}
