form {
    width: 100%;
}

fieldset {
    margin: 0 auto;
    padding: 16px;
    width: 938px;
    height: auto;
}

    fieldset.context {
        margin: 0 auto;
        padding: 16px;
        background-color: #F8F8F8;
        width: 908px;
        height: auto;
    }


/* Wrapper de Campos no Formulário */
.container-field,
.container-field-half,
.container-field-four {
    height: auto;
    margin-bottom: 15px;
}

.container-field-half {
    display: inline-block;
    width: 48%;
    margin-bottom: 0;
}

.container-field-four {
    display: inline-table;
    width: 206px;
    margin-right: 17px;
    margin-bottom: 0;
}

.container-field:last-of-type {
    margin-bottom: 15px;
}

label {
    color: #3F3F3F;
    font-style: normal;
    font-size: 13px;
    margin: 0 0 6px 0;
    display: block;
}

input[type="text"], input[type="password"] {
    -moz-border-radius: 0px !important;
    -webkit-border-radius: 0px !important;
    border-radius: 0px !important;
    height: 26px !important;
    width: 100%;
    font-size: 12px;
    border: 1px solid #DDDDDD;
    text-indent: 7px;
    line-height: 26px !important;
    color: #444;
    padding: 0;
}

    input[type="text"]:disabled {
        border: 1px solid #BABBBF;
        background: #EEEEEE;
    }

input:focus {
    border-color: #216CF2 !important;
    outline: none !important;
}

/* Attach */
input[type="submit"] {
    background-color: #004F75;
    cursor: pointer;
    padding-left: 20px;
    padding-right: 20px;
    height: 40px;
    line-height: 40px;
    color: #fff;
    border: 0;
}

    input[type="submit"]:hover, input[type="submit"]:focus {
        background-color: #00ABFD;
        -webkit-transition: background-color 0.6s ease;
        -moz-transition: background-color 0.6s ease;
        -o-transition: background-color 0.6s ease;
        -ms-transition: background-color 0.6s ease;
        transition: background-color 0.6s ease;
    }

    input[type="submit"].processando {
        background: url("../../../Content/images/ajax-loader.gif") no-repeat scroll 7px center #004F75;
        text-indent: 8px;
    }

.required {
    z-index: 9;
    height: 26px;
    top: -19px;
    position: relative;
    border-left: 5px solid #B20000;
}

aside ~ form, aside ~ div {
    width: 700px;
    margin-top: 63px;
    float: right;
}


.msg {
    width: 100%;
    margin: 14px 0 23px 0;
    padding: 5px 0 5px 0;
    text-indent: 15px;
    font-size: 13px;
    color: #444;
}

div.info {
    background-color: #D9EDF7;
    border: 1px solid #ADD9ED;
}

div.error {
    background-color: #E2B9BA;
    border: 1px solid #E2B9BA;
}

div.success {
    background-color: #DFF0D8;
    border: 1px solid #A3D38D;
}


form button, .button {
    min-width: 98px;
    height: 31px;
    background: url('../../../Content/images/bg-button.png') #DEDEDE;
    border: 1px solid #BABBBF;
    margin: 5px 0px 0 0;
    font-size: 13px;
    color: #444;
    cursor: pointer;
}

    form button:disabled, .button:disabled {
        background-image: url('../../../Content/images/btn-disabled.png');
        color: #AEAEAE;
        border-color: #DDDDDF;
        cursor: inherit;
    }

    form button:hover, .button:hover {
        background-image: url('../../../Content/images/bg_botao_hover.png');
    }

    form button:disabled:hover, button:disabled:hover {
        background-image: url('../../../Content/images/btn-disabled.png');
    }


/* Customização */
div > .msg {
    margin: 6px 0 6px 0;
}


/* Mensagem de erro para input */
span.error {
    color: #B20000;
    font-size: 9px;
    margin-top: 2px;
    font-weight: bold;
    width: 100%;
    position: relative;
    float: right;
    text-align: right;
}

.fielderror {
    border: 1px solid #B20000 !important;
    border-radius: 0 !important;
}

.obrigatorio {
    border-left: 5px solid #B20000;
}

#login-wrapper > header > .msg {
    width: 590px;
    margin: 5px auto;
}

#login-wrapper input[type=text], #login-wrapper input[type=password] {
    height: 39px !important;
    line-height: 29px;
}

.msg h4 {
    margin: 0;
    line-height: normal;
    font-weight: bold;
}

.msg span {
    padding: 0;
    display: block;
    line-height: normal;
}


/*Summary*/
#summary {
    padding: 8px 10px 12px 25px;
    margin: 5px 0 10px 0;
    background: #F2DEDE;
    border: 1px solid #E2B9BA;
    color: #444444;
    font-size: 14px;
}

    #summary ul {
        margin: 15px 0 0 20px;
    }

        #summary ul li {
            margin: auto;
            height: 16px;
            margin: 3px 0 3px 0;
            line-height: 16px;
        }

.FechaAviso {
    font-weight: bold;
    display: inline-block;
    float: right;
    cursor: pointer;
}


/* Botão Processando */
button.processando {
    background-image: url("../../../Content/images/btn_loading.gif") !important;
    background-repeat: no-repeat;
    background-position: right -12px center;
}


/* Campo de Upload */
.upload {
    position: relative;
    background-color: #fff;
    overflow: hidden;
    border: 1px solid #ddd;
    height: 26px;
    line-height: 26px;
    text-indent: 10px;
    font-size: 12px;
}

    .upload input {
        position: absolute;
        display: block;
        width: 200%;
        top: 0;
        right: 0;
        margin: 0;
        padding: 0;
        font-size: 20px;
        cursor: pointer;
        opacity: 0;
        filter: alpha(opacity=0);
    }

.attach {
    background: url('../../../Content/images/tic-upload.png') no-repeat center #eee;
    width: 26px;
    height: 26px;
    float: right;
}

.detail-file {
    float: left;
    font-size: 12px;
    margin-top: 5px;
}

    .detail-file img {
        float: left;
        vertical-align: middle;
        margin-left: auto;
        margin-right: auto;
    }

    .detail-file span {
        float: left;
        margin-right: 10px;
        line-height: 18px;
        width: auto;
        text-indent: 5px;
    }

.remover-image {
    margin-top: 3px;
    cursor: pointer;
    display: inline-block;
}

    .remover-image span {
        margin-top: -3px;
        font-size: 10px;
        color: #666;
    }

/* Campo obrigatórios */
#campo-obrigatorio-lembrete {
    float: right;
    height: 25px;
    line-height: 25px;
    margin-top: 5px;
    text-indent: 10px;
    font-size: 12px;
    border-left: 5px solid #B20000;
}

/* Datepicker customizado */
.k-datepicker {
    border-radius: 0 !important;
}

.datepicker .wrapper-field {
    height: 28px !important;
}

        .datepicker .wrapper-field input.fielderror {
            border-color: #b20000 !important;
        }


        .submitedd .ng-invalid, 
        .submitedd .ng-invalid + .k-select { border-color: #b20000 !important; }


.fielderror .k-picker-wrap .k-select {
    border-color: #b20000 !important;
}

/* DropDownList customizado */
.k-dropdown + .fielderror {
    border: 0 !important;
}

div.wrapper-field.obrigatorio > span.fielderror {
    border-color: #b20000 !important;
}

.fielderror > .k-dropdown-wrap.k-state-default {
    border: 0 !important;
}
