/*
Parent classes
*/
*
{
	margin: 0;
	padding: 0;
}

A:link, A:visited, A:active
{
	color: #32676D;
	text-decoration: none;
}

A:hover 
{
	text-decoration: underline;
}

body
{
	height: 100vh;
}

#page
{

	background-color: #212121;
	min-height: 100%;
	position: relative;
}

/*
Font styles
*/

#logo
{
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 30px;
	font-weight: bold;
}

#content h1
{
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 22px;
	padding: 15px 20px;
	background-color: orangered;
	color: #FDFDFD;
	margin-bottom: 20px;
}

#content p, #content label, #content input, #content select, #footer, #content .row .errorMessage, #content .row small, #content .errorSummary li, .help-text-link, legend
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 18px;
}

/*
Header and footer
*/
#header
{
	background-color: #FFF;
	border-bottom: 10px solid #FF4500;
}

#logo
{
	padding: 10px 20px;
}

#footer
{
	background-color: #FF4500;
	color: #DDD;
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	text-align: right;
}

/*
Content container
includes form elements
*/

#page .container
{
	padding-bottom: 30px;
}
#content
{
	background-color: #FFF;
	margin: 20px auto;
	padding: 0;
	width: 450px;
	background-image: -o-linear-gradient(-89deg, #FFFFFF 0%, #DBDBDB 100%);
    background-image: -moz-linear-gradient(-89deg, #FFFFFF 0%, #DBDBDB 100%);
    background-image: -ms-linear-gradient(-89deg, #FFFFFF 0%, #DBDBDB 100%);
    background-image: linear-gradient(-179deg, #FFF 0%, #DBDBDB 100%);
    -moz-box-shadow: 0 2px 4px 0 rgba(0,0,0,0.50), inset 0 1px 7px 0 rgba(255,255,255,0.50);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5), inset 0 1px 7px 0 rgba(255, 255, 255, 0.5);
    -moz-animation-name: loginappaer;
    -moz-animation-iteration-count: 1;
    -moz-animation-timing-function: ease-in;
    -moz-animation-duration: 0.5s;
    -webkit-animation-name: loginappaer;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: ease-in;
    -webkit-animation-duration: 0.5s;
    animation-name: loginappaer;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.3s;
    -webkit-backface-visibility: hidden;
}

#content p
{
	margin: 10px 30px;
}

#content p, #content .row
{
	clear: both;
}

#content .form
{
	padding: 10px 20px;
	margin: 10px;
}

#content .form .note
{
	font-weight: bold;
	margin: 5px 0;
}

#content .form .normal-note
{
	margin: 0 0 10px 0;
}

#content .form span.required, #page #content .form .errorSummary
{
	color: #990000;
	font-weight: bold;
}

#content .form .row .errorMessage
{
	clear: both;
	color: #990000;
	font-weight: bold;
	padding-top: 5px;
}

#content .form .row input, #content .form .row select
{
	padding: 10px 4px;
}
#content form input[type="text"], #content form input[type="password"],select{
     -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 0 #FFF, 0 -2px 5px rgba(0, 0, 0, 0.08) inset;
    -moz-box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0,0,0,0.08) inset;
    -ms-box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0,0,0,0.08) inset;
    -o-box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0,0,0,0.08) inset;
    box-shadow: 0 1px 0 #FFF, 0 -2px 5px rgba(0, 0, 0, 0.08) inset;
    border: 1px solid #C8C8C8;
    color: #777;
    font: 13px Helvetica, Arial, sans-serif;
}

#content .row .errorMessage, #content .form .buttons, #help-on-init
{
	text-align: center;
}

#content .form .buttons input
{
	clear: both;
	float: none;
	display: inline-block;
	margin-bottom: 0;
	font-weight: 400;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	background-image: none;
	border: 1px solid rgba(0, 0, 0, 0);
	white-space: nowrap;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	border-radius: 4px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	color: #FFF;
	background-color: #FF4500;
	border-color: #CCC;
}

#content .form .row.checkrow
{
	margin: 7px 0;
}

#content .form .row.checkrow input[type="checkbox"]
{
	margin: 3px 5px 0 0;
}

#content .form .row .help-text
{
	clear: both;
}

#content .form .row .help-text p
{
	margin: 0 0 0 0;
	padding-top: 5px;
}

#content .form .errorSummary
{
	border: 1px solid #E6F2F4;
	margin: 10px 0 10px 0;
	background-color: #fff;
	padding: 10px;
}

#content .form .errorSummary p
{
	padding: 0;
	margin: 0;
}

#content .form .errorSummary ul
{
	margin: 10px 40px 0 40px;
}

#content .bootstrap_warning
{
	padding: 0;
	color: #f00;
}

.radioButtonRow
{
    margin-bottom: 10px;
}

.radioButtonRow label
{
    padding-left: 5px;
}

.radioButtonRow:after
{
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

fieldset
{
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #c8c8c8;
    border-radius: 3px;
    width: 92%;
}

legend
{
    font-weight: bold;
}

#content .form .buttons input[disabled="disabled"]
{
    background-color: #FF8E66;
}

#content .form .buttons input[name="cancel"]
{
    background-color: #ccc;
    color: #333;
}

.form .row
{
    margin-bottom: 10px;
    overflow: hidden;
}

.form .row label
{
    font-weight: bold;
    display: block;
}

.form .row input[type="text"], .form .row input[type="password"]
{
    width: 87%;
}

.form .row select
{
    width: 90%;
}

#content .form .row.radiobuttonlist label, .form .row.checkrow label
{
    display: inline;
}

.form .row.checkrow label
{
    margin-right: 5px;
}

.form .row.checkrow input[type="checkbox"], .form .row.checkrow label, .form .row.checkrow .help-text-link
{
    float: left;
}

.checkrow
{
    overflow: auto;
}

#content .form .row.radiobuttonlist label
{
    font-weight: normal;
}

/*
Generic help classes
*/
.help-text
{
	background-color: #DDD;
	border-radius: 3px;
	-webkit-box-shadow: 0 1px 0 #FFF, 0 -2px 5px rgba(0, 0, 0, 0.08) inset;
	-ms-box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0,0,0,0.08) inset;
	-o-box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0,0,0,0.08) inset;
	box-shadow: 0 1px 0 #FFF, 0 -2px 5px rgba(0, 0, 0, 0.08) inset;
	border: 1px solid #C8C8C8;
}

/* NOTE:
   Setting the help-text 'defaults' rather
   than use display none so that the "reveal"
   animation is smooth. Thus moving padding/
   margins to the 'show' state.
   */
div.help-text {
	margin: 0;
	padding: 0;
}
div.iwSlideInit--open.help-text,
div.iwSlideSection--open.help-text {
	margin: 10px 5px 10px 0px;
	padding: 5px 10px 10px 10px;
}

#content .row.checkrow label{
    width: inherit;
}

/*
footer
*/
#footer p{
	padding: 4px 10px 0 0;
	margin:0;
}


@-moz-keyframes loginappaer {
    0% {
        -moz-transform: translateX(20px);
        opacity: 0;
    }
    100% {
        -moz-transform: translateX(0);
        opacity: 1;
    }
}
@-webkit-keyframes loginappaer {
    0% {
        -webkit-transform: translateX(20px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0);
        opacity: 1;
    }
}
@keyframes loginappaer {
    0% {
        transform: translateX(20px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

