﻿@import url(https://fonts.googleapis.com/css?family=Montserrat);

#msform {
	margin: 50px auto;
	text-align: center;
	position: relative;
}
#msform fieldset {
	background: white;
	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:100%;
	/*stacking fieldsets above each other*/
	position: relative;
}
/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
	display: none;
}
/*inputs*/
#msform input, #msform textarea, #msform select {
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 3px;
	margin-bottom: 10px;
	width: 100%;
	box-sizing: border-box;
	color: #2C3E50;
	font-size: 13px;
}
/*buttons*/
#msform .action-button {
	width: 100px;
	background: #CB0D0F;
	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 #CB0D0F;
}
/*headings*/
.fs-title {
	text-transform: uppercase;
	color: #2C3E50;
	margin-bottom: 10px;
}
.fs-subtitle {
	font-weight: normal;
	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: #333338;
	text-transform: uppercase;
	width: 33.33%;
	float: left;
	position: relative;
}
#progressbar li:before {
	content: counter(step);
    counter-increment: step;
    width: 40px;
    line-height: 40px;
    display: block;
    font-size: 23px;
    color: #333;
    background: #eee;
    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: #cb0d0f;
	color: white;
}
.error{
    width:auto;
    float:none;
}
.field-icon {
    float: right;
    /* margin-top: -45px; */
    right: 5px;
    position: absolute;
    z-index: 2;
    top: 17px;
    color: #cb0d0f;
}
/* Add a green text color and a checkmark when the requirements are right */
.valid {
  color: green;
}

.valid:before {
  position: relative;
  content: "✔ ";
}

/* Add a red text color and an "x" when the requirements are wrong */
.invalid {
  color: red;
}

.invalid:before {
  position: relative;
  content: "✖ ";
}
#PassWordValidation {
    display:none;
  position: absolute;
    background: #FFFFFF;
    padding: 15px;
    border: 1px solid #DDDDDD;
    margin-top: 20px;
    right: 0;
    top: 69%;
}
#PassWordValidation:before, #PassWordValidation:after {
  content: '';
  display: block;
  position: absolute;
  bottom: 100%;
  width: 0;
  height: 0;
}
#PassWordValidation:before {
  left: 19px;
  border: 11px solid transparent;
  border-bottom-color: #ddd;
}
#PassWordValidation:after {
  left: 20px;
  border: 10px solid transparent;
  border-bottom-color: #fff;
}
@media only screen and (max-width:767px)
{
    .field-icon {
    top: 55px;
}
}
.register-middle {
    margin: 0 auto;
    background: #fff;
    color: #CB0D0F;
    margin-top: 60px;
}
#SubmitAgent:disabled
{
    cursor:not-allowed;
    opacity:0.6;
}
.full-container{
    width:90% !important;
    max-width:90% !important;
}
.Invalid{
    border:1px solid red !important;
}
#StudentRegistrationForm form #progressbar li {
    width:25%;
}
.displayNone {
    display:none !important;
}
figure {
        position: relative;
        text-align: center;
        margin-bottom: 20px;
        min-height: 330px;
    }

    figcaption {
        position: absolute;
        bottom: 100%;
        left: 0;
        right: 0;
        top: -6px;
        text-align: left;
        padding: 20px;
        background-color: rgba(0, 0, 0, .45);
        overflow: hidden;
        width: 100%;
        height: 0;
        width: 200px !important;
        margin: 0 auto;
        color: #fff;
        opacity: 0;
        transition: .7s ease;
    }

    figure:hover figcaption {
    bottom: 0;
    opacity: 1;
    height: 128px;
}
figure figcaption .btn-sm, .steps figure figcaption .btn-sm:focus, .steps figure figcaption .btn-sm:hover {
        outline: none;
    }

.example-image:hover {
        opacity: .7;
    }

figure input[type="checkbox"] + span:before {
        border-color: #fff;
}
.example-image{
    font-size:120px;
}
figure label{
    width:100%;
}