/*custom font*/
@import url(https://fonts.googleapis.com/css?family=Montserrat);

/*basic reset*/
* {margin: 0; padding: 0;}

html {
	height: 100%;
	/*Image only BG fallback*/
	
	/*background = gradient + image pattern combo*/
	background: url(../Background_Image/RegistrationBackground.jpeg) no-repeat center center fixed;
    background-size: cover;
    
}

body {
	font-family: montserrat, arial, verdana;
}
/*form styles*/
.msform {
	width: 400px;
	margin: 200px auto;
	text-align: center;
	position: relative;
    
}
.msform fieldset {
	background: rgba(255,255,255,0.65);
	border: 0 none;
	border-radius: 3px;
	box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
	padding: 20px 30px;
	box-sizing: border-box;
	width: 80%;
	margin: 0 10%;
	
	/*stacking fieldsets above each other*/
	position: relative;
}
.text-menu{
    color: #2C3E50;
    display: inline-grid;
    padding: 2px 2px 2px 2px;
    margin-bottom: 12px;
    margin-top: 2px;
    background: rgba(255,255,255,0.65);
}
/*Hide all except first fieldset*/
.msform fieldset:not(:first-of-type) {
	display: none;
}
/*inputs*/
.msform input, .msform textarea {
	padding: 15px;
	border: 1px solid #ccc;
	border-radius: 3px;
	margin-bottom: 10px;
	width: 100%;
	box-sizing: border-box;
	font-family: montserrat;
	color: #2C3E50;
	font-size: 13px;
}
/*buttons*/
.msform .action-button {
	width: 100px;
	background: #27AE60;
	font-weight: bold;
	color: white;
	border: 0 none;
	border-radius: 1px;
	cursor: pointer;
	padding: 10px 5px;
	margin: 10px 5px;   
}

.msform .action-button:hover, .msform .action-button:focus {
	box-shadow: 0 0 0 2px white, 0 0 0 3px #27AE60;
}
/*headings*/
.fs-title {
	font-size: 15px;
	text-transform: uppercase;
	color: #2C3E50;
	margin-bottom: 10px;
}
.fs-subtitle {
	font-weight: normal;
	font-size: 13px;
	color: #666;
	margin-bottom: 20px;
}
/*progressbar*/
#progressbar {
	margin-bottom: 30px;
	overflow: hidden;
	/*CSS counters to number the steps*/
	counter-reset: step;
    
}
#progressbar li {
	list-style-type: none;
	color: white;
	text-transform: uppercase;
	font-size: 9px;
	/*width: 33.33%;*/
	float: left;
	position: relative;
}
#progressbar li {
	list-style-type: none;
	color: white;
	text-transform: uppercase;
	font-size: 9px;
	/*width: 25%;*/
	float: left;
	position: relative;
}
#progressbar li:before {
	content: counter(step);
	counter-increment: step;
	width: 20px;
	line-height: 20px;
	display: block;
	font-size: 10px;
	color: black;
	background: white;
	border-radius: 3px;
	margin: 0 auto 5px auto;
}
/*progressbar connectors*/
#progressbar li:after {
	content: '';
	width: 100%;
	height: 2px;
	background: white;
	position: absolute;
	left: -50%;
	top: 9px;
	z-index: -1; /*put it behind the numbers*/
}
#progressbar li:first-child:after {
	/*connector not needed before the first step*/
	content: none; 
}
/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before,  #progressbar li.active:after{
	background: #27AE60;
	color: white;  
}
#progressbar li.active .text-menu{
	background: #27AE60;
	color: white;  
}
nav{
     position: fixed;
    /*background: rgba(0,0,0,.75);*/
     top: 0;
     left: 0;
     width: 100%;
     height: 60px;
     padding: 20px 100px;
     box-sizing: border-box;
     transition: .3s;
     z-index: 1;
}
 nav.black{
     background: rgba(0,0,0,.75);
     height: 60px;
     padding: 10px 100px;
}
 .wrapper nav .logo{
     display: block;
     padding: 0px 0px;
     height: 80px;
     float: left;
     font-size: 24px;
     transition: .3s;
     z-index: 1;
     margin-top: -3vh;
     margin-left: -9vh;
}
 nav.black .logo{
     color: #fff;
}
 nav ul{
     list-style: none;
     float: right;
     margin: 0;
     padding: 0;
     display: flex;
}
 nav ul li{
     list-style: none;
}
 nav ul li a{
     line-height: 8px;
     color: #000;
     padding: 12px 30px;
     text-decoration: none;
     text-transform: uppercase;
     transition: .3s;
}
 nav.black ul li a{
     background: none;
     color: #fff;
}
 nav ul li a:focus{
     outline: none;
}
 nav ul li a.active{
     background: rgba(39,174,96,1);
     color: #fff;
     border-radius: 5px;
}
 nav ul li a.active:hover{
     background: rgba(255,255,255,.85);
     color: #27AE60;
}
 .wrapper .logo{
     display: none;
}
.right-togglebar{
    display: none;
}
.overlay{
    z-index: 1000;
    position: fixed;
    width: 100vw;
    height: 100%;
    background: #fff;
    top: 0%;
}
.buttons{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: inline-flex;
}
.recipient, .volunteer{
    margin-top: 12px;
    border: none;
    padding: 16px 40px;
    background: rgba(39,174,96,1);
    color: #fff;
    letter-spacing: 4px;
    font-weight: 600;
    font-size: 12px;
    border-radius: 5px;
    cursor: pointer;
}
.recipient{
    margin-right: 50px;
}
.volunteer{
    margin-left: 50px;
}
.recipient:hover, .volunteer:hover{
    box-shadow: 0 0 0 2px white, 0 0 0 3px #27AE60;
    background: #fff;
    color: rgba(39,174,96,1);
}
h1 {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: 2px;
}
.overlay_svg{
    width: 40%;
    position: fixed;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 50vh;
}
/*---------------------PHONES--------------*/
@media(max-width: 800px){
    html{
        overflow-x: hidden;
    }
     .wrapper nav{
         display: none;
    }
    .msform {
        margin: 20px auto;
        width: 400px;
    }
    h1{
        font-size: 18px;  
    }
    .recipient{
        margin-left: auto;
        padding-left: 15px;
        padding-right: 15px;
    }
    .volunteer{
        margin-left: auto;
        padding-left: 15px;
        padding-right: 15px;
    }
     .wrapper .logo{
         display: flex;
         padding: 0;
         margin-left: auto;
         margin-right: auto;
         justify-content: center;
         min-width: 50vh;
     }
     .right-togglebar {
         display: block;
         position: fixed;
         bottom: 1em;
         right: 1em;
         z-index: 5;
    }
     .floating-btn .fa-bars{
         margin: auto;
         display: inline-block;
         line-height: 3.5;
         width: 3.5em;
         height: 3.5em;
         border-radius: 50%;
         background-color: rgba(39,174,96,1);
         box-shadow: 0 2px 5px 0 hsla(0, 0%, 0%, .26);
         color: hsl(0, 0%, 100%);
         text-align: center;
         outline: 0;
    }
     .right-togglebar.active .floating-btn {
         box-shadow: inset 0 0 3px hsla(0, 0%, 0%, .3);
    }
     .right-togglebar .floating-btn:active {
         box-shadow: 0 4px 8px 0 hsla(0, 0%, 0%, .4);
    }
     .right-togglebar .floating-btn .fa-bar {
         font-size: 1.3em;
         transition: transform .2s ease;
    }
     .right-togglebar.active .floating-btn .fas{
        transform: rotate(-90deg);
        transition: transform .2s ease; 
    }
    
     .right-togglebar::after {
         display: block;
         content: "";
         width: 3.5em;
         height: 3.5em;
         border-radius: 50%;
         position: absolute;
         top: 0;
         right: 0;
         z-index: -2;
         background-color: rgba(39,174,96,.85);
         transition: all .3s ease;
    }
     .right-togglebar.active::after {
         transform: scale3d(5.5, 5.5, 1);
         transition-timing-function: cubic-bezier(.68, 1.55, .265, 1);
    }
     .right-togglebar .items-wrapper {
         padding: 0;
         margin: 0;
    }
     .right-togglebar .menu-item {
         position: absolute;
         top: .2em;
         right: .2em;
         z-index: -1;
         display: block;
         text-decoration: none;
         color: hsl(0, 0%, 100%);
         font-size: 1em;
         width: 3em;
         height: 3em;
         border-radius: 50%;
         text-align: center;
         line-height: 3;
         background-color: hsla(0,0%,0%,.1);
         transition: transform .3s ease, background .2s ease;
    }
     .right-togglebar .menu-item:hover {
         transform: rotate(-45deg);
         background-color: rgba(255,255,255,1);
         color: rgba(39,174,96,1);
    }
     .right-togglebar.active .menu-item {
         transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
     .right-togglebar.active .menu-item:nth-child(1) {
         transform: translate3d(1em,-7em,0);
    }
     .right-togglebar.active .menu-item:nth-child(2) {
         transform: translate3d(-3.5em,-6.3em,0);
    }
     .right-togglebar.active .menu-item:nth-child(3) {
         transform: translate3d(-6.5em,-3.2em,0);
    }
     .right-togglebar.active .menu-item:nth-child(4) {
         transform: translate3d(-7em,1em,0);
    }
}

@media(max-width: 500px){
    .msform {
        margin: 20px auto;
        width: 98%;
    }
}
