/*Login Page CSS*/

* {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: border-box;
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    cursor: pointer;
}

body{
	font-family: "Roboto",sans-serif;
	color: #333;
	font-size: 14px;
	line-height: 20px;

	/*Code fo BG Image*/
/*	background: url('../include/images/login/bg_mytophostpanel.jpg') no-repeat; 
	background-position: 50%;
	background-repeat: no-repeat;
	background-size: cover;
	margin: 0 auto;
	max-height: 1080px;
	max-width: 1920px;*/
	/*min-height: 800px;*/

	/* Location of the image */
	background-image: url('../include/images/login/bg_mytophostpanel.jpg') ;

	/* Background image is centered vertically and horizontally at all times */
	background-position: center center;

	/* Background image doesn't tile */
	background-repeat: no-repeat;

	/* Background image is fixed in the viewport so that it doesn't move when 
	 the content's height is greater than the image's height */
	background-attachment: fixed;

	/* This is what makes the background image rescale based
	 on the container's size */
	background-size: cover;

	/* Set a background color that will be displayed
	 while the background image is loading */
	background-color: #464646;
	
}


.valid_phone{
    text-align: center;
    background-color: #E5E6E8;
    margin: auto;
    margin-top: 10%;
    max-width: 50%;
    min-width: 50%;
    border-radius: 7px;
}

.valid_phone .inner{
    /*padding: 15px;*/
}

.login_area{
	background-color: #E5E6E8;
	margin: auto;
	/*min-height: 460px;*/
	max-width: 340px;
	min-width: 300px;
	border-radius: 7px;

	position: fixed;
	top: 50%;
	left: 50%;
	/* bring your own prefixes */
	/*transform: translate(-50%, -50%);*/

/*
	width:200px; 
	height:200px; */
	position: fixed; 
	top: 50%; 
	left: 50%; 
	margin-top: -200px; 
	margin-left: -170px; 
}

.login_area .inner{
	/*padding: 15px;*/
}

.w-logo-link {
    display: block;
    height: 100%;
    width: 70%;
}
.w-logo-link {
    overflow: hidden;
    text-decoration: none;
    vertical-align: top;
}


.w-logo-img {
    display: inline-block;
    max-height: 100%;
    max-width: 220px;
    /*padding: 10px 0;*/
    vertical-align: middle;
}

img {
    border: 0 none;
    height: auto;
}

.item.padding{
	padding: 10px;
}



.header{
	min-height: 60px;
}

.header div{
	float: left;
	display: block;
}

.lang{
	width: 30%;
	height: 100%;
	margin-top: 16px;
	margin-bottom: 17px;
	text-align: right;
}

.lang a{
	font-size:12px;
	color:#3d3d3d;
	text-decoration: underline;
	cursor: pointer;
}

 .lang a.selected{
 	color:#a3a3a3;
 	text-decoration: none; 
 }

.valid_phone .title{
    /*min-height: 75px;*/
    background-color: #DB3F40;
    font-size: 28px ;
    line-height: 28px;
    display: block;
    color: #fff;
    text-align: center;
    padding:10px;
    font-family: "Roboto Slab",serif;
    min-height: 75px;
    /*margin-top: 60px;*/
}


.login_area .title{
	/*min-height: 75px;*/
	background-color: #DB3F40;
	font-size: 28px ;
	line-height: 28px;
	display: block;
	color: #fff;
	text-align: center;
	padding:10px;
	font-family: "Roboto Slab",serif;
	min-height: 75px;
	/*margin-top: 60px;*/
}

.item.error{
	background-color: #DB3F40;
	font-size: 20px ;
	line-height: 28px;
	display: block;
	color: #fff;
	text-align: center;
	padding:12px;
	padding-left:0px;
	padding-right: 0px;
	font-family: "Roboto Slab",serif;
	min-height: 75px;
}

.valid_phone .content{
    text-align: center;
}

.login_area .content{
	text-align: center;
}

input[type="text"],
input[type="password"]{
	display: inline-block;
	width: 100%;
	background: #fff;
	color: #8b8b8b;
	padding: 5px;
	position: relative;
	width: 100%;
	border: 0px;
	box-shadow: 0 0 5px #ccc;
	margin-top: 10px;
	margin-bottom: 10px;
	height: 35px;
	font-size: 14px;
	font-family: "Roboto";
}

select{
	display: inline-block;
	width: 100%;
	background: #fff;
	color: #8b8b8b;
	padding: 5px;
	position: relative;
	width: 100%;
	border: 0px;
	box-shadow: 0 0 5px #ccc;
	margin-top: 10px;
	margin-bottom: 10px;
	/*height: 35px;*/
	font-size: 14px;
	font-family: "Roboto";
	padding-top: 8px;
	padding-bottom: 8px;
}

input[type="text"].error,
input[type="password"].error{
	box-shadow: 0 0 5px #db4040;
}

.show_password{
	font-size:11px;
	color:#3d3d3d;
	text-align: left;
	margin-bottom: 10px;
}

.show_password input[type=checkbox] {
	position: relative;
	top: 2px;
	border:0px;
	box-shadow: 0px;
	background-color: #fff;
	
}


.g-btn.type_primary {
    background-color: #db4040 !important;
    color: #ffffff ;
    font-family: "Roboto",serif;
    font-size: 15px ;
    font-weight: bold;
    margin: 25px 0;
    padding: 15px 30px;
    margin: auto;
    
    box-shadow: 0 -2px 0 rgba(0, 0, 0, 0.15) inset;
    font-weight: 700;
    line-height: 22px;
    text-transform: uppercase;
    transition: all 0.25s ease 0s;
    display: inline-block;
    position: relative;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	white-space: nowrap;
	border: medium none !important;
	font-family: inherit;
	/*max-width: 100%;*/
	width: auto;
	border-radius: 5px;
	cursor: pointer;
}

.g-btn.type_primary:hover, input[type="submit"]:hover {
    box-shadow: 0 0 0 50px rgba(0, 0, 0, 0.1) inset;
}


.footer{
	background-color: #D9D9D7;
	border-radius: 0 0 7px 7px;
	display: inline-block;
	width: 100%;
	padding: 10px;
	margin-top: 10px;
	font-size:11px;
	color:#3d3d3d;
	line-height: 14px;
}

.footer div{
	float: left;
}

.footer div:first-child{
	width: 55%;
	padding-top: 7px;
	/*text-align: center;*/
	padding-left: 15px;
}


.footer div:last-child{
	text-align: left;
	text-align: right;
	width: 40%;
}

.footer a{
	font-size:11px;
	color:#3d3d3d;
	vertical-align: bottom;
}


.rememberMeArea{
    /* Safari 3-4, iOS 1-3.2, Android 1.6- */
    -webkit-border-radius: 5px; 
    /* Firefox 1-3.6 */
    -moz-border-radius: 5px;    
    /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
    border-radius: 5px; 
    font-size: 11px;
    background-color : #DAD9D7;
    padding: 5px 5px 5px 0 !important;
    margin-top: 8px;
    /*width: 95%;*/
    margin-left: 3px;
    margin-bottom:10px;
    text-align:left;
    clear: both;
    min-height: 40px;
    line-height: 14px;
}

.rememberMeArea div{
	float:left;
}

.rememberMeArea div:first-child{
	width:8%;
	padding-top:5px;
}

.rememberMeArea div:last-child{
	width:92%;
}

select#new_phone_code{
	margin-right: 8px;
	width: 38%;
	float: left;
}

#new_phone{
	width: 58%;
	float: left;
	height: 36px;
}

#create_account{
	cursor: pointer;
	text-decoration: underline;
}

.errormsg{
	color: #DB3F40;
	font-weight: bold;
	text-align: left;
	display: none;
}

/*#new_pass_error,*/
#new_email_error
{
	display: block;
}

.password_strength{
	display: none !important;
}


/* 3-Step Authentication */

/* old */

.align_left{
    text-align: left;
}

.align_center{
    text-align: center;
}

.security_info{
    padding: 2px 2px 15px;
}

.input_info_a{
    font-size:13px;
    padding-bottom:15px;
}

.input_info_b{
    font-size:12px;
    padding-bottom:15px;
}

.item.active .step_number{
    color:#DB3F40;
    font-weight: bold;
    text-align: left    ;
}

.item.inactive .step_number{
    font-weight: bold;
}


.valid_phone.security_settings{
    top:45% !important;
}

.valid_phone.security_settings .title {
    padding-top: 23px;
}

.login_area.security_settings{
    top:45% !important;
}

.login_area.security_settings .title {
    padding-top: 23px;
}

.item.inactive .step_content{
    display: none;
}

.item.inactive .step_title{
    background-color: #DFDFDF;
    padding: 15px 5px;
}

.item.active .step_title{
    display: none;
}

.item.link{
    font-size:12px;
}

/* new */


.firststep .security_info.info_b{
    display: none;
}



.infowhiteincon{
    display: inline-block;
    position: relative;
    left: 3px;
    top: 15px;
}

.item .i_input_input  input{
    width: 92%;
    float: left;
}

.tooltip {
    color: #000000;
    outline: none;
    cursor: help;
    text-decoration: none;
    position: relative;
}

.tooltip span {
    /*padding: 0.5em 0.8em 0.8em 2em;*/
    padding: 10px 10px 10px 20px;
    margin-left: -999em;
    position: absolute;
}

.tooltip:hover span {
    color: #000000;
    border-radius: 5px 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 5px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 5px 5px rgba(0, 0, 0, 0.1);
    font-family: Arial, Candara, Tahoma, Geneva, sans-serif;
    font-size: 12px;
    position: absolute;
    left: -130px;
    bottom: 30px;
    z-index: 99;
    margin-left: 0;
    width: 250px;
}

.tooltip:hover .tooltipimg {
    border: 0;
    margin: -10px 0 0 -50px;
    float: left;
    position: absolute;
}

.tooltip:hover em {
    color: #000000;
    font-family: Arial, Candara, Tahoma, Geneva, sans-serif;
    font-size: 14px;
    font-weight: bold;
    display: block;
    font-style: normal;
    padding: 0 0 5px 0;
}

.tooltip {
    display: none;
    background: #ffeaa6;
    color: #111;
    /*border: 1px solid #000;*/
    border: 1px solid #FECC5D;
    font-size: 12px;
    width: 300px;
    text-align: center;
    padding: 10px;

    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -khtml-border-radius: 3px;

    box-shadow: 0 3px 7px #333;
    -moz-box-shadow: 0 3px 7px #333;
    -webkit-box-shadow: 0 3px 7px #333;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.tooltip:after {
    /*arrow added to downarrowdiv DIV*/
    content: '';
    display: block;
    position: absolute;
    top: 100%; /*should be set to 100% */
    left: 140px;
    width: 0;
    height: 0;
    border-color: #FECC5D transparent transparent transparent; /*border color should be same as div div background color*/
    border-style: solid;
    border-width: 10px;
}

#popupmessage{
    display: none;
}


/************** Error Dialog ****************/

.dialogmsg,
.errdialog {
    padding: 0px !important;
    border: 0px !important;
    box-shadow: 0 3px 7px #333;
    -moz-box-shadow: 0 3px 7px #333;
    -webkit-box-shadow: 0 3px 7px #333;
    max-width: 400px !important;
}

.dialogmsg .ui-dialog-titlebar,
.errdialog .ui-dialog-titlebar{
    background: #E4602F none repeat scroll 0 0 !important;
    color: #fff;
    border: 0px !important;
}

.errdialog .ui-dialog-titlebar{
    background: #db3f40 none repeat scroll 0 0 !important;
}

.dialogmsg .ui-widget-content,
.errdialog .ui-widget-content {
    border: 0px !important;
    color: #333;
    /*text-shadow: 0 1px 0 #fff;*/
    padding: 20px;
    text-align: center;
    font: 14px Arial, Helvetica, Sans-Serif;
}

.dialogmsg .ui-dialog-buttonset button,
.errdialog .ui-dialog-buttonset button{
    font: 14px Arial, Helvetica, Sans-Serif;
    border: 1px solid #9B9B9B;
    -moz-border-radius: 3px !important;
    -webkit-border-radius: 3px !important;
    border-radius: 3px !important;
    -khtml-border-radius: 3px;
    background: transparent none repeat scroll 0 0;
    color: #232d3d;
    font-weight: bold;
    text-shadow: 0 1px 0 #fff;
    cursor: pointer;
    box-shadow: 0 1px 2px #ccc;
    -moz-box-shadow: 0 1px 2px #ccc;
    -webkit-box-shadow: 0 1px 2px #ccc;
    padding: 4px 10px;
    margin: 0 3px 10px !important;
}

.dialogmsg .ui-dialog-titlebar-close.ui-state-hover,
.errdialog .ui-dialog-titlebar-close.ui-state-hover {
    background:transparent !important;
    border: 0px !important;
}

.dialogmsg .ui-dialog-titlebar-close:before,
.errdialog .ui-dialog-titlebar-close:before{
    content: "\f00d";
    font-family: "FontAwesome";
    font-size: 20px;
    /*left: 12px;*/
    position: absolute;
    top: -2px;
}

.dialogmsg .ui-dialog-titlebar-close,
.errdialog .ui-dialog-titlebar-close{
    right: 1em !important;
    color: #fff;
}

.dialogmsg .ui-dialog-content,
.errdialog .ui-dialog-content{
    padding: 10px;
}

.dialogmsg .ui-dialog-buttonpane,
.errdialog .ui-dialog-buttonpane{
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    padding: 10px;
}

.dialogmsg .ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br,
.errdialog .ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br {
    border-bottom-right-radius: 0px !important;
}

.dialogmsg .ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl,
.errdialog .ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl {
    border-bottom-left-radius: 0px !important;
}

.dialogmsg  .ui-dialog-buttonpane .ui-dialog-buttonset,
.errdialog  .ui-dialog-buttonpane .ui-dialog-buttonset {
    float: none !important;
    text-align: center;
}

.ui-dialog-titlebar-close span{
    background:none;
}

#password_reset_btn{
    margin-top:20px;
}


/************** #Error Dialog ****************/

/******* Fixes  for login ********/

body, html {
    width: 100%;
    height: 100%;
    /* min-height: 900px; */
}

.login_area {
    position: absolute;
    top:10px;
    left: 0;
    right:0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px!important;
    margin-bottom: 50px!important;
}

/* body.register {
    min-height: calc(100vh + 180px);
    max-height: 900px;
} */

@media screen and (max-height: 1000px) {
    body.register {
        min-height: 1000px;
        max-height: initial;
    }
}
@media screen and (max-width: 540px) {
    body.register {
        min-height: 1100px;
        max-height: initial;
    }
}