.field-validation-error,
.text-danger
{
    color: #e56461;
}
a, a:link, a:visited {
    color: #1f395e;
    text-decoration: none;
}
a:hover,a:active {
    color: white;
    text-decoration: none;
}
.bgLogin {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    background: #183D5D url(../images/bgLogin1.jpg) center center fixed no-repeat;
    background-size: cover;
}

.loginBg {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    background: #183D5D url(../images/extranet/background.jpg) center center fixed no-repeat;
    background-size: cover;
}
footer p {
    padding:0;
    margin:0;
}
.WindowsFormLogin {
    width: 380px;
    position: absolute;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 2;
    background-color: rgba(24, 61, 93, 0.9);
    color: white;
}

    .WindowsFormLogin section
    {
        display: table;
        width: 90%;
        margin: 0 auto;
    }

    .WindowsFormLogin .brand
    {
        margin: 0 auto 7em auto;
    }

    .WindowsFormLogin .submit
    {
        padding: 0.8em 4em;
        text-transform: uppercase;
        color: #2c3b54;
    }

.dlog-input
{
    position: relative;
    margin-bottom: 30px;
}

    .dlog-input .dlog-form-control
    {
        font-size: 16px;
        padding: 10px 10px 10px 5px;
        display: block;
        border: none;
        border-bottom: 1px solid #CACACA;
        box-shadow: none;
        width: 100%;
        background: transparent !important;
        border-radius: 0;
        color: white;
    }

    .dlog-input label
    {
        color: rgba(255, 255, 255, 0.5);
        font-size: 16px;
        font-weight: normal;
        position: absolute;
        pointer-events: none;
        left: 5px;
        top: 10px;
        transition: 0.2s ease all;
        -moz-transition: 0.2s ease all;
        -webkit-transition: 0.2s ease all;
    }

    .dlog-input .bar:before
    {
        left: 50%;
        box-shadow: 0 0 10px wheat;
    }

    .dlog-input .bar:after
    {
        right: 50%;
        box-shadow: 0 0 10px wheat;
    }

    .dlog-input .highlight
    {
        position: absolute;
        height: 60%;
        width: 100px;
        top: 25%;
        left: 0;
        pointer-events: none;
        opacity: 0.5;
    }

    .dlog-input .dlog-form-control:focus ~ label, .dlog-input .dlog-form-control:valid ~ label
    {
        top: -22px;
        font-size: 14px;
    }

    .dlog-input .bar:before, .dlog-input .bar:after
    {
        content: '';
        height: 2px;
        width: 0;
        bottom: 0px;
        position: absolute;
        background: rgb(255, 190, 0);
        transition: 0.2s ease all;
        -moz-transition: 0.2s ease all;
        -webkit-transition: 0.2s ease all;
    }

    .dlog-input .dlog-form-control:focus ~ .bar:before, .dlog-input .dlog-form-control:focus ~ .bar:after
    {
        width: 50%;
        box-shadow: 0 0 1px wheat;
    }

    .dlog-input .input-validation-error ~ .bar
    {
        display: none !important;
    }

.WindowsFormLogin .alert-danger
{
    color: #ffffff;
    background-color: #bb2424;
    border-color: rgba(255, 255, 255, 0.24);
    text-align: center;
    border-radius: 0;
}

.ErrorMessage .alert-dismissable .close, .ErrorMessage .alert-dismissible .close
{
    position: relative;
    top: -2px;
    right: -21px;
    color: inherit;
    font-size: 36px;
}

.ErrorMessage
{
    position: relative;
    width: inherit;
    margin: -50px 0 0 0;
}

@media all and (max-width: 425px)
{
    .WindowsFormLogin
    {
        width: 100%;
    }

    body, html, .WindowsFormLogin
    {
        overflow: hidden;
    }

    .field-validation-error, .text-danger
    {
        font-size: smaller;
    }
}

/* Landscape */
@media (max-device-width: 1023px) and (orientation: landscape) {
    .WindowsFormLogin {
        width: 100%;
    }

    .field-validation-error, .text-danger {
        font-size: smaller;
    }

    .WindowsFormLogin .brand {
        margin: 1em auto 3em auto;
    }

    .form-group.dlog-input {
        display: inline-block;
        width: 46%;
        vertical-align: text-top;
        margin-bottom: 13px;
    }

    .form-group-r.dlog-input {
        float: right;
    }

    .WindowsFormLogin .brand img {
        width: 140px;
    }

    .WindowsFormLogin .TheSubmit {
        position: relative;
        display: block;
        margin: -55px 0 0px 0;
    }
    .WindowsFormLogin .submit {
        padding: 0.6em 3em;
    }
    body {
        font-size: 12px;
    }
}
@media (max-device-width: 640px) and (orientation: landscape)
{
    .field-validation-error, .text-danger
    {
        white-space: nowrap;
        width: 100%;
        text-overflow: ellipsis;
        overflow: hidden;
        position: absolute;
    }

    .ErrorMessage
    {
        position: relative;
        width: inherit;
        margin: -25px 0 0 0;
        font-size: 12px;
    }

    .WindowsFormLogin .alert-danger
    {
        padding: 5px 35px 5px 5px;
    }
}

.full-width
{
    width: 100%;
}

    .full-width a
    {
        color: white;
    }

   
.ExtranetLogin body
{
    /*background: #ffffff url("/images/extranet/background.jpg") repeat scroll center center / cover;*/
}

.ExtranetLogin body #s4-simple-card {
    background-color: #fafcff;
    border-color: #e3e8ee #d9dde3 #bec2c7;
    border-style: solid;
    border-width: 1px 2px 2px 1px;
    box-shadow: 0 0 5px 0 #edf3f9;
    margin: 100px auto 0;
    width: 300px;
}

.ExtranetLogin div.s4-simple-iconcont {
    width: 100%;
    background: transparent url("/images/extranet/logologon.png") no-repeat scroll center center;
    width: 100%;
    height: 105px;
    float: none;
}

    .ExtranetLogin div.s4-simple-iconcont img {
        display: none;
    }

.ExtranetLogin body #s4-simple-card h1 {
    color: #003759;
    font-size: 1.4em;
    font-weight: normal;
    margin-bottom: 25px;
    padding-top: 3px;
    text-indent: -9999em;
    display: none;
}

.ExtranetLogin body #s4-simple-content {
    margin: 0;
}

.ExtranetLogin body #s4-simple-error-content {
    margin: 0px auto;
    min-height: 100px;
    text-align: center;
    width: 100%;
}

.ExtranetLogin #s4-simple-error-content div > span {
    display: block;
    font-size: 13px;
    line-height: 26px;
    text-align: center;
    width: 100%;
}

.ExtranetLogin #s4-simple-error-content input {
    border: 1px solid #999999;
    border-radius: 3px;
    display: block;
    font-size: 13px;
    line-height: 35px;
    padding: 0px;
    text-align: center;
    width: 100%;
    height: 35px;
}

.ExtranetLogin #s4-simple-error-content div > a {
    background-color: #1f395e;
    border-radius: 3px;
    color: #ffffff;
    display: block;
    font-size: 15px;
    line-height: 40px;
    margin: 23px auto 4px;
    text-align: center;
    width: 150px;
}

.ExtranetLogin #s4-simple-error-content .acciones a {
    background-color: transparent !important;
    color: #1f395e;
    display: inline-block;
    font-size: 12px;
    line-height: 40px;
    margin: 0;
    text-align: center;
    width: 150px;
    text-decoration: underline;
}

.ExtranetLogin group {
    position: relative;
}

.ExtranetLogin .group span {
    color: red;
    position: absolute;
    right: 5px;
    top: 5px;
    text-align: right !important;
    width: auto !important;
}

.ExtranetLogin .error {
    color: red;
    padding-top: 15px;
}