
.loginbox {

-webkit-text-size-adjust: 100%;
-webkit-font-smoothing: antialiased;
line-height: 1em;

width: 330px;
height: auto;
left: 50%;
top: 10%;

padding: 15px 15px 15px 15px;
position: fixed;
display: inline-block;
background: white;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0,0,0, .4); 
text-align: center;
border: 1px solid #b4b1b1;
visibility: hidden;
z-index: 1001;

-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
-o-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);


-webkit-transition: opacity .5s, top .5s;
-moz-transition: opacity .5s, top .5s;
-ms-transition: opacity .5s, top .5s;
-o-transition: opacity .5s, top .5s;
transition: opacity .5s, top .5s;
}

.loginbox a:link {color:inherit;text-decoration:none;}
.loginbox a:hover {color:inherit;text-decoration:none;}
.loginbox a:visited {color:inherit;text-decoration:none;}


.loginbox .fblogin>div{
display:inline-block;
vertical-align: middle;
}
.loginbox .fblogin>div:nth-child(n+2) {
border-left: 1px solid #000;
margin-left: 10px;
padding-left: 13px;
border-left: 1px solid #888;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
}
.loginbox .fb-button {
    background: #4c69ba;
    background: linear-gradient(#4c69ba, #3b55a0);
    border-color: #4c69ba;
    border-radius: 2px;
    color: #fff;
    font-family: "Helvetica neue";
    -webkit-font-smoothing: antialiased;
    text-shadow: 0 -1px 0 #354c8c;
}
.loginbox .fb-button:hover {
    background: linear-gradient(#5b7bd5, #4864b1);
    border-bottom-color: #3b5998;
    border-left-color: #4961a8;
    border-right-color: #4961a8;
    border-top-color: #5874c3;
    box-shadow: inset 0 1px 0 #607fd6;
    cursor: pointer;
}

.loginbox .fb-logo{
display: inline-block;
padding: 4px;
height: 32px;
width: 32px;
}

.loginbox .loclogin {
padding-top:10px;
}

.loginbox .sep{
position: relative;
border-top: 2px solid #888;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
margin:15px;
}
.loginbox .sep>div{
position: absolute;
top: -8px;
left: 50%;
background: #FFF;
background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.9), rgba(255,255,255,0.9), rgba(255,255,255,0.1));
width:140px;
margin-left: -70px;
}


/* text fields */
.loginbox .text-field  {
display: block;
margin: 0 auto;
width: 180px;
height:15px;
border: 1px solid #c0c2c7;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
color: #8c8f90;

padding: 12px;
font-style: none;
font-size: 14px;
margin-bottom: 12px;

-moz-box-shadow: inset 0 1px 3px -1px #b4b1b1;
-webkit-box-shadow: inset 0 1px 3px -1px #b4b1b1;
box-shadow: inset 0 1px 3px -1px #b4b1b1;
}

.loginbox .text-field:focus { 
outline: none;
box-shadow:  
0 0 4px rgba(0,0,0,0.1),
0 0 5px 1px #51CBEE;
}

.loginbuttons {
display: inline-block;
vertical-align: top;
}
.loginbuttons.more {
position:relative;
margin-left: 10px;
padding-left: 13px;
border-left: 1px solid #888;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
}
.loginbuttons.more>div{
position:absolute;
top:0px;
left:13px;
}
.loginbutton {
position: absolute;
right: 0px;
 display: block;
 height: 30px;
 width: 45px;
 color: #33F;
}
.loginbutton {
display:inline;
}
.loginbutton  a {
 color: #33F;
 display: block;
 margin: 0 auto 0 auto;
 text-align: center;
 margin-top:10px;
 text-decoration: none;
}
.loginbutton  a:visited {
 color: #33F;
}
.loginbutton  a:hover {
 color: #00F;
 font-weight: bold;
}
/*
.logintext {
position: absolute;
right: 0px;
top: 0px;
 height: 30px;
 display: block;
 line-height: 30px;
 color: #000;
}
*/
/*correction for login button size
.header .title {
 margin-left: 50px;
} */

.loginbox input[type=submit] {
padding: 6px 28px;
border: 1px solid;
font-size: 14px;
cursor: pointer;
}

.loginbox input[type=submit].red {
color: #fff;
background: #09F;
 -webkit-border-radius:5px;
 -moz-border-radius:5px;
 border-radius:5px;
}

.loginbox input[type=submit].red:hover {
background: #06F; /* Old browsers */

}
.loginbox input[type=submit].red:active {
background: #06F;
}


.loginbox .loginerror {
position:absolute;
width: 360px;
height:50px;
margin-left:-16px;
padding: 8px 0 8px 0;
-webkit-border-bottom-right-radius: 5px;
-webkit-border-bottom-left-radius: 5px;
-moz-border-radius-bottomright: 5px;
-moz-border-radius-bottomleft: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;	
color: #D8000C;
background-color: #FFBABA;
font-family:"Arial Black", Gadget, sans-serif;
vertical-align:middle;
margin-top:17px;
}

.loginbox .contentheading {
font-family: Montserrat, sans-serif;
color: #803271;
line-height: 1.5em;
font-weight: bold;
font-size: 190%;
margin:0 0 5px 0;
}


.overlay:target+.loginbox {
top: 50%;
opacity: 1;
visibility: visible;
}

.overlay {
background-color: rgba(0, 0, 0, 0.8);
bottom: 0;
cursor: default;
left: 0;
opacity: 0;
position: fixed;
right: 0;
top: 0;
visibility: hidden;
z-index: 1000;

-webkit-transition: opacity .5s;
-moz-transition: opacity .5s;
-ms-transition: opacity .5s;
-o-transition: opacity .5s;
transition: opacity .5s;
}

.overlay:target {
visibility: visible;
opacity: 1;
}
/*
.loginbox .close {
background-image:url("https://fimfetch.net/img/close.png");
height: 48px;
width:48px;
position: absolute;
right: -18px;
text-align: center;
text-decoration: none;
top: -20px;
opacity: 0.8;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
-webkit-transition: opacity .5s;
-moz-transition: opacity .5s;
-ms-transition: opacity .5s;
-o-transition: opacity .5s;
transition: opacity .5s;
}

.loginbox .close:hover {
opacity: 1;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
-webkit-transition: opacity .5s;
-moz-transition: opacity .5s;
-ms-transition: opacity .5s;
-o-transition: opacity .5s;
transition: opacity .5s;
}
*/
a.register {
color: #666 !important;
font: 11pt Verdana, Geneva, sans-serif;
display: inline-block;
padding: 6px 8px 0px 8px;
}
a.register:hover {
color: #333 !important;
text-decoration: underline;
}
.loginremember {
height: 25px;
line-height:25px;
font-family: LatoRegular;
color: #7e7e7e;
font-size: 12px;
margin-bottom: -8px;
}
.loginremember a:hover{
color: #333 !important;
}
