.head_login {
    display: inline-block;
    font-size: 21px;
    background: none;
    width: 50%;
    text-align: center;
    padding: 8px;
}

.head_login.selected {
	font-weight: bold;
	background: whitesmoke;
	border-radius:5px 5px 0 0;
    
}

img.out_login_button{
	filter: brightness(0) contrast(3) grayscale(1) invert(1);
}

img.oauth_image{
	width:80px;
	height:80px;
	border:7px solid #fff;
	border-radius:50%;
	background:white;
}

div.oauth_name{
	font-weight:bold;
	margin-top:10px;
	font-size: 20px;
}

div.oauth_image_div{
	position:relative;
	display:inline-block;
}

.provider_image_type{
	font-family: FontAwesome;
	font-style: normal;
	font-weight: 400;
}

.provider_image_type::before {

  content: "\f067";
  position: absolute;
  top: 0px;
  right: 0px;
  display: block;
  padding: 3px;
  padding-top: 3px;
  background: black;
  color: white;
  width: 34px;
  height: 34px;
  text-align: center;
  vertical-align: middle;
  border-radius: 17px;
  padding-top: 4px;
  border: 3px solid #f0f0f0 !important;
}

.oauth_image_div.facebook .provider_image_type::before{
content: "\f09a";	
color:white;
background: #4267B2;
}

.oauth_image_div.google .provider_image_type::before{
content: "\f1a0";	
background: #DB4437;
}

.oauth_image_div.apple .provider_image_type::before{
content: "\f179";	
background: black;
}


div.oauth_parent_container{
	text-align:center;
}

.oauth_form{
	text-align:left;
	margin-top:20px;
	border-radius:10px;
}

#old_login_div{
	padding:15px;
	background:white;
	display:none;
}

.oauth_form label{
font-weight: normal;
display: block;
background: #4267b2;
color: white;
padding: 8px;
border-radius: 6px;
cursor:pointer;
position:relative;
}

.oauth_form label input{
display:none;
}

.oauth_form label input + span.chevron::before{
	content: "\f054";	
	font-family: FontAwesome;
	position: absolute;
	right: 10px;
}

.oauth_form label input:checked + span.chevron::before{
	display:none;
}


a.fpass_link {
    color: #00289e;
    font-size: smaller;
    display: block;
    text-decoration: underline;
}

a.social_button_login  {
	color:white;
	border:0px;
	margin:0px;
	display: inline-block;
	background: white;
	border-radius: 5px;
	box-shadow: 1px 1px 1px rgba(128, 128, 128, 0.2);
	white-space: nowrap;
	width: 100%;
	padding: 5px 0;
	text-align: initial;
	text-decoration:none;
	cursor: pointer;
}


.social_button_login span.icon{
  display: inline-block;
  width: 10%;
  vertical-align:top;
}

.social_button_login span img{
	height: 25px;
	padding-left: 5px;
	vertical-align: text-top;
}

.social_button_login span.icon i{
	font-size: 26px;
	padding-left: 5px;    
}


.social_button_login span.buttonText{
  display: inline-block;
  width: 82%;
  font-family: Helvetica,Arial,sans-serif;
  font-weight: bold;
  font-size: 18px;
  margin-top: 3px;
  /* Use the Roboto font that is loaded in the <head> */
}

#login_form_wrapper{
	margin:auto;
	width:100%;
	max-width:600px;
	background:none;
	float:none;
	margin: 10px auto;
    border-radius: 5px;
	margin-top: 40px;
}

#login_form, #register_form {
	margin:0px;
	float:none;
	padding:30px;
	background:whitesmoke;
	width:100%;
	border-radius: 0px 0px 13px 13px;
}

#login-alert{
	color: red;
	margin: 10px 10px 20px 0;
	font-size: 20px;
}



hr.style {
	border-top: 1px solid #bbb;
	text-align: center;
	overflow: visible;
}

hr.style:before {
	content: 'или';
	display: inline-block;
	position: relative;
	top: -12px;
	padding: 0 10px;
	background: whitesmoke;
	color: black;
	font-size: 18px;
}

#agreement {
overflow-y: auto;
padding-top: 0px;
padding-right: 0px;
}

.agreement-height {
max-height: 150px;
}

.rotate-dropdown-icon {
  transform: rotate( 180deg );
}


#a-register{
	font-size: 18px;	
	display: inline-block;
}
	
#a-register a {
	font-size: 18px;	
}

#btn-login{
	width:200px;
}

.newfooter {
	display: none;
}

.rtable_right.label{
	margin-bottom: 10px;
}

.butn span:before{
	display: inline-block;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: 400;
	border-radius:50%;
	aspect-ratio: 1 / 1;
	width:20px;
	margin-right:5px;
}

.butn.facebook span:before{
	content: "\f09a";
	background: rgba(255,255,255,0.2);
	color:white;
	
}

.butn.google span:before{
	content: "\f1a0";
	background: #DB4437;
	color:white;
	
}

.butn.apple span:before{
	content: "\f179";
	background: rgba(255,255,255,0.4);
	color:white;
	
}



.butn.facebook, .butn.facebook:hover{
	background: #4267B2;
	color:white;
}

.butn.google, .butn.google:hover{
	background: white;
	color:black;
}

.butn.apple, .butn.apple:hover{
	background: black;
	color:white;
}

.social_button_wrapper{
	text-align:center;
}

a.butn{
	display: inline-block;
	padding: 6px 7px;
	margin-bottom:5px;
	font-size: 14px;
	font-weight: normal;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	touch-action: manipulation;
	cursor: pointer;
	user-select: none;
	background-image: none;
	border: 1px solid rgba(0,0,0,.3);
	border-radius: 4px;
}

a.butn.login{
width: 32%;
margin-left: 1px;
margin-right: 1px;
}

@media (max-width: 550px) {
	a.butn, a.butn.login{
		width:100%;
		margin:5px;
	}
}

@media only screen and (min-width : 768px) {
.rtable_left {
    width: 35%;
    float: left;
    margin-top: 8px;
}

.rtable_right {
    float: left;
    width: 65%;
}
}
	
@media only screen and (max-width : 768px) {    
    body, #login-password, #login-username, #btn-login {
        font-size: 18px;
        /*padding: 10px;*/
    }
	
	#btn-login{
		width: 100%;
	}
	
	#a-register {
		padding: 10px 0;
	}	
	
	.social_button_login  {
	  width: 100%;
	}
	
}


@media only screen and (max-width: 600px) {
		#login_form{
		margin:0px;
		float:none;
		padding:10px;
		background:whitesmoke;
		width:100%;
		}

	.social_button_login {
		width: 100%;
		float:none;
		margin-bottom: 11px;
	}

	#login_form_wrapper{
		border: 0;
		border-radius: 13px;
		margin-top:10px;
	}
		
	#login_form{
		border-radius: 0px;
	}

}


input.field_error{
	color:red !important;
	font-weight:800 !important;;
}

input.field_loading{
	color:orange !important;
}

input.field_ok{
	color:green !important;
	font-weight:800;
}

span.help-block{
	font-size:12px !important;
	color:red !important;
}


