html, body {
	height: 100%;
	bottom: 3rem;
	margin: 0;
	padding: 0;
	background: white;
	outline: none;
    font-family: "Tahoma", Helvetica, Arial, sans-serif;
}


#container {
  position: relative;
  width:100%;
  margin: 0 auto -3rem;
}

#main_block {
	max-height: 100%;
	padding-top: 5%;
	color: white;
}

#logo {
	position: relative;
	text-align: center;
}
#logo p{
	color: black;
	font-size: 1rem;
    margin-top: 0;
}
.logo {
	width: 150px;
	margin-left:auto;
    margin-right:auto;
}

#login_block {
	margin-left:auto;
    margin-right:auto;
}


#login_block {
}


.login_form {
    margin-left:auto;
    margin-right:auto;
    overflow: hidden;
    position: relative;

    max-width: 320px;
    padding: 30px 20px 40px 20px;
    font: 12px "Tahoma", Helvetica, Arial, sans-serif;
    color: #888;
    border:1px solid black;
    border-radius: 5px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    background: #333333; /* Old browsers */
	box-shadow: inset 0px 0px 18px 18px rgba(0,0,0,0.1);
    background: -moz-linear-gradient(top,  #333333 0%, #0c0c0c 150%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#333333), color-stop(150%,#0c0c0c)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #333333 0%,#0c0c0c 150%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #333333 0%,#0c0c0c 150%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #333333 0%,#0c0c0c 150%); /* IE10+ */
    background: linear-gradient(to bottom,  #333333 0%,#0c0c0c 150%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333333', endColorstr='#0c0c0c',GradientType=0 ); /* IE6-9 */

	z-index: 100;
}

.login_form.domain_form {
    max-width: 350px;
    padding:0;
    border:0;
    background:white;
    box-shadow:unset;
}

.login_form.password_reset {
    border: 1px solid #ccc;
    background:#f4f4f4;
    color: #000;
    box-shadow:unset;
}

.login_form h1 {
    font: 22px "Tahoma", Helvetica, Arial, sans-serif;
    font-weight: normal;
    padding: 0px 0px 10px 40px;
    display: block;
    margin: -10px -30px 30px -30px;
    color: #72B038;
}

.login_form.password_reset h1 {
    margin: -10px 0px 30px -30px;
}


.login_form h1>span {
    display: block;
    color: white !important;
    font-size: 11px;
}

.login_form.password_reset h1>span {
    display: block;
    color: #000 !important;
    font-size: 11px;
}

.login_form label {
    display: block;
    margin: 0px 0px 5px;
}
.login_form label>span {
    float: left;
    width: 20%;
    text-align: right;
    padding-right: 10px;
    margin-top: 10px;
    color: white;
    font-family: "Tahoma", Helvetica, Arial, sans-serif;
}

.login_form.password_reset label>span {
    color: #000;
}

.login_form input[type="text"], .login_form input[type="password"] {
	width:  70%;
	height: 20px;
	line-height:15px;
	font-size: 1rem;

    margin:  2px 6px 16px 0px;
    padding: 5px 0px 5px 5px;

    border:  1px solid #CCC;
    outline: 0 none;
    color: #888;

    border-radius: 5px;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
       -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    		   box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    	  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);

   	z-index: 1000;
}

#select_domain_label{
    color: #000;
    font-family: "Tahoma", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    white-space:nowrap;
    margin: 0px 0px 5px 0px;
}

.login_form #select_domain {
    width:100%;
    margin-left:14px;
    margin-right:10px;
    margin-bottom: 20px;
}

#domain {
	list-style-type: none;
	text-align: left;
	margin: 0 20px 0 0;
	padding-right: 4px;
    padding-left:0px;
}

#domain button{
    border:0;
    padding:16px;
    min-height:45px;
    margin-left:1px;
    margin-right:1px;
    margin-bottom:3px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    color: #fff;
    font-size: 1rem;
    width:100%;
    text-align:left;
    outline: none;
    background: #000 url('/toscawidgets/resources/endian.access.web/static/images/right-arrow-new.png') 280px center no-repeat;

}

#domain button:hover{
    background-color: #5C9924;
    cursor: pointer;
    outline: none;
    -webkit-box-shadow: 0px 7px 7px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 7px 7px rgba(0, 0, 0, 0.5);
}

.login_form .button, .cancel_button {
    background: #72B038;
    border: 0;
    padding: 10px 20px 7px 20px;
    color: white;
    font-size: 0.9rem;
    border-radius: 4px;
}

.login_form .cancel_button{
    margin-left:45px;
}

.login_form .button:hover, .cancel_button:hover {
    background-color: #5C9924;
    cursor: pointer
}

.login_form .registration {
    color: #72B038;
    font-weight: bold;
}

.login_form .registration:hover {
    color: #9ADB5E;
}

.error_message {
    color: red !important;
    text-align: center;
    margin-bottom: 0px !important;
}

.error_message span{
    font-size: 14px !important;
}


.login_form .success_message {
    color: #72B038;
    text-align: center;
    font-weight: bold;
}

.white_ovale {
    position: absolute;
    right:  -20px;
    bottom: -15px;
    width:  125px;
    height:  75px;
    border:   0px;
    background: white;

    -webkit-border-radius: 225px 0px 7px 0px / 130px 0px 7px 0px;
    -moz-border-radius: 225px 0px 7px 0px / 130px 0px 7px 0px;
    border-radius: 225px 0px 7px 0px / 130px 0px 7px 0px;

    -webkit-box-shadow: inset -10px -10px 0px 10px white;
    -moz-box-shadow: inset -10px -10px 0px 10px white;
    box-shadow: inset -10px -10px 0px 10px white;
}


.green_ovale {
    position: absolute;
    right:  -30px;
    bottom: -20px;
    width:  138px;
    height:  70px;
    border:   0px;
    background: #8AC557;

    -webkit-border-radius: 225px 20px 7px 0px / 130px 0px 7px 0px;
    -moz-border-radius: 225px 20px 7px 0px / 130px 0px 7px 0px;
    border-radius: 225px 20px 7px 0px / 130px 0px 7px 0px;

    -webkit-box-shadow: inset -10px -10px 0px 10px white;
    -moz-box-shadow: inset -10px -10px 0px 10px white;
    box-shadow: inset -10px -10px 0px 10px white;
}


#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 3rem;
    background: #111111;
    text-align: center;
    line-height: 3rem;
    z-index: 1000;
}
#footer span{
    color: grey;
    font-size: .8rem;
}

@media only screen and (max-device-width: 360px){

    .login_form {
        max-width: 80%;
    }

    .login_form.domain_form{
        max-width: 100%;
    }

    #select_domain_label{
        white-space: unset;
    }
}

