﻿
#sign-in-box {
    position: fixed;
    top: 0;
    padding-top: 200px;
    overflow-y: scroll;
    overflow-x:hidden;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: rgba(0,0,0,0.4);
}

#orderpw {
    display: block !important;
    color: #005B99;
    text-align: right;
}

#orderpw a {
    text-decoration: none !important;
    font-family: 'Roboto-Regular', 'Roboto', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 21px;
    white-space:nowrap;
}

.form-modal-sign-in {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 100px;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: auto;
}

 .form-modal-sign-in.showed {
        display: block;
 }

.form-modal-content-sign-in {
    background-color: #fff;
    margin: auto;
    border: 1px solid #2156A2;
    max-width: 1000px;
    border-radius: 0px;
    text-align: left;
    line-height: 24px;
    display: inline-block;
}

.form-content-sign-in {
    text-align: left;
    padding: 20px;
}

#sign-in-box .form-control.login_input {
    min-width:389px;
    width: 100%;
}


input {
    text-align: left;
    text-transform: none;
    border-color: transparent;
    padding: 1px 0px 1px 0px;
    box-sizing: border-box;
}

.menu_label-sign-in {
    font-family: 'Roboto-Regular', 'Roboto', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: #3F3F3F;
    text-align: left;
    line-height: 13px;
    margin-bottom: 20px;
    margin-top: 20px;
}

#sign-in-password-parent, #sign-in-close-parent {
    position: relative;
}

#sign-in-password {
    padding-right: 40px;
}

.signInTitle {
    font-family: 'Roboto-Bold', 'Roboto Bold', 'Roboto', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 32px;
    color: #000000;
    text-align: left;
    line-height: 48px;
    margin-bottom: 20px;
}
    .signInTitle p {
        font-size: 16px;
        font-weight: 400;
        line-height: 1.5;
        margin: 0rem;
        max-width: calc(100% - 32px);
    }
.signInTitleRedirect {
    font-family: 'Roboto-Regular', 'Roboto', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: #000000;
    text-align: left;
    line-height: 26px;
    margin-bottom: 30px;
    margin-top: 10px;
}

.sign-in-close {
    position: absolute;
    right: 0px;
    top: -70px;
    width: 32px;
    height: 32px;
    opacity: 0.3;
    cursor: pointer;
}

.sign-in-close:hover {
    opacity: 1;
}

.sign-in-close:before, .sign-in-close:after {
    position: absolute;
    left: 18px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #333;
}

.sign-in-close:before {
    transform: rotate(45deg);
}

.sign-in-close:after {
    transform: rotate(-45deg);
}

#sign-in-button {
    cursor: default;
}

.sign-in-button {
    background-color: #e87511;
    color: #fff;
    border-radius: 5px;
    padding: 0px 30px 0px 30px;
    height: 40px;
    line-height: 40px;
    display: block;
    text-align: center;
    text-decoration: none;
    width: 100%;
    min-width: 389px;
}

.sign-in-button:hover {
    background-color: #B24F00;
    text-decoration: none;
    color: #fff;
}

#sign-in-create-account {
    text-align: center;
    margin-top: 20px;
}

#sign-in-create-account a {
    text-decoration: none;
    font-family:'Roboto-Regular', 'Roboto', sans-serif;
    font-weight:400;
    font-size:16px;
}

#sign-in-create-account p span {
    font-family: 'Roboto-Bold', 'Roboto Bold', 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #000000;
}

#sign-in-password ~ .fa {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    font-size: 24px;
    color: #005B99;
}

.sign-in-checkbox-container {
    position: relative;
    display: block;
    margin-bottom: 12px;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.sign-in-checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 26px !important;
  width: 26px !important;
  z-index: 999;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 26px;
    width: 26px;
    box-sizing: border-box;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(204, 204, 204, 1);
    border-radius: 3px;
    display: block;
}


/* On mouse-over, add a custom background color */
.sign-in-checkbox-container:hover input ~ .checkmark {
    background-color: rgba(252, 238, 227, 1);
    box-sizing: border-box;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(204, 204, 204, 1);
    border-radius: 3px;
}

/* When the checkbox is checked, add a orange background */
.sign-in-checkbox-container input:checked ~ .checkmark {
    background-color: rgba(232, 117, 17, 0.898039215686275);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.sign-in-checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.sign-in-checkbox-container .checkmark:after {
    left: 9px;
    top: 0px;
    width: 10px;
    height: 20px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.sign-in-checkbox-container label {
    margin-left: 35px;
    font-size: 16px;
    color: #3F3F3F;
    text-align: left;
    line-height: 24px;
    font-family: 'Roboto-Regular', 'Roboto', sans-serif;
    font-weight: 400;
    font-style: normal;
    cursor: pointer;
}
@media only screen and (max-width:356px) {
    
    .form-content-sign-in {
        padding: 5px;
    }
}
@media only screen and (max-width:567px) {
    #sign-in-box .form-control.login_input {
        min-width:200px;
    }
}
@media only screen and (max-width:768px) {

    #sign-in-box {
        padding-top: 50px;
    }

    .form-modal-content-sign-in {
        width: 100%;
    }

    .sign-in-button {
        width: 100%;
        min-width: unset;
    }
}

@media only screen and (max-width:1024px) {
    
    .form-modal-sign-in {
        z-index: 1000;
    }
}


@media screen and (orientation:landscape) and (max-height:470px) {

    #sign-in-box {
        position: absolute;
    }

    body {
        overflow: auto !important;
    }
}