body {
    margin: 0;
    font-family: Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff;
}

.login-box {
    width: 360px;
}

.login-page {
    -ms-flex-align: center;
    align-items: center;
    background: #e9ecef;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100vh;
    -ms-flex-pack: center;
    justify-content: center;
}

.login-card-body {
    background: #fff;
    border-top: 0;
    color: #666;
    padding: 20px;
}


h2 {
    font-size: 2rem;
    color: #666;
    font-weight: 500;
}


h2.center {
    text-align: center;
}

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}



.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 0 solid rgba(0,0,0,.125);
    border-radius: .25rem;
}


.form-control {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    box-shadow: inset 0 0 0 transparent;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}


.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}


.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    box-shadow: none;
    cursor: pointer;
}


.btn-block {
    display: block;
    width: 100%;
}


/*.btn:hover {
    color: #212529;
    text-decoration: none;
}


.btn-primary:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}*/

.input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}

.mb-3 {
    margin-bottom: 1rem!important;
}


.nav-tabs {
    border-bottom: 1px solid #dee2e6;
}

.nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}

.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

.nav-tabs .nav-item {
    margin-bottom: -1px;
}

.nav-link {
    display: block;
    padding: .5rem 1rem;
}

nav a {
    cursor: pointer;
    text-decoration: none;
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
     border-color: #e9ecef #e9ecef #dee2e6;
}

.hr-separator{
    background-color: #007bff;
    height: 5px;
    border: 0;
}

.login-container{
    display: inline-grid;
    grid-template-columns: auto auto;    
    grid-column-gap: 10px;
}

.adds-box{
    width: 400px;
    max-height: 455px;
    overflow-y: auto;
}

.adds-box-body {
    background: #fff;
    border-top: 0;
    color: #666;
    padding: 10px;
    min-height: 455px;
}

.mt-4 {
    margin-top: 1.5rem;
}

.text-center {
    text-align: center;
}

.d-block {
    display: block;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.text-secondary {
    color: #6c757d;
}

.fs-5 {
    font-size: 1.25rem;
}

.ms-2 {
    margin-left: 0.5rem;
}

@media (max-width:800px){

    .login-container{
        display: grid;
        grid-template-columns: auto;    
        grid-column-gap: 10px;
        grid-row-gap: 10px;
    }

    .adds-box{
        max-width: 360px;
    }

    .login-page {
        height: 150vh;
        display: flex;
    }
    .login-container{
        padding: 0px;

    }
}

@media (max-width:800px){

    .login-page {
        height: auto;
        display: inline;   
    }

    .login-box {
        margin: auto;
        width: 90%;
        padding: 10px;
        max-width: none;
        min-width: 250px;    
    }

    .adds-box{
        max-height: none;
        margin: auto;
        width: 90%;
        padding: 10px;
        max-width: none;
        min-width: 250px;    
    }
}

