﻿/* Campos Adicionales*/
#afc_main {
    width: 100%;
    margin: 0;
    display: inline-block;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 100%;
    min-height: 300px;
    padding-bottom: 50px;
}

    #afc_main .mCSB_container {
        width: auto !important;
    }

.afc-row {
    display: block;
    padding: 1px 2px 0px 2px;
    height: auto;
    min-height: 20px;
    margin-bottom: 0px;
    white-space: nowrap;
    vertical-align: middle;
}

    .afc-row.title {
        text-overflow: ellipsis;
        width: 100%;
        color: #8DA5A3;
        text-indent: 8px;
    }

        .afc-row.title span {
            width: 100%;
            word-wrap: break-word;
            white-space: pre-line;
        }

    .afc-row.value {
        width: 100%;
    }

.content__field {
    display: inline-block;
    width: 50%;
}

    .content__field.long_text {
        width: 100%;
    }

.afc-row.value span {
    text-indent: 0 !important;
}

    .afc-row.value span.form-control.k-widget {
        margin-top: 5px;
    }


.afc-field > span {
    display: block;
    font-family: ClearSans-Regular;
    margin: 8px 10px 10px 4px;
    width: 100%;
    font-size: 15px;
}

#afc_title {
    padding: 4px 4px 8px 6px;
}

    #afc_title span {
        color: #666666;
        font-size: 12px;
    }

.afc-row.value input[type="text"]:focus, .afc-row.value textarea:focus {
}

.pickerWrapper_Default {
    height: inherit !important;
}
/* Fin Campos Adicionales */

/* Tooltip */
.basic_tooltip, .basic_tooltip_alt {
    background-color: #556D82;
    border: 1px solid #556D82;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    color: #fff;
    font-size: 10px;
    height: 16px;
    line-height: 16px;
    left: 610px;
    padding: 4px 5px;
    position: absolute;
    top: 427.067px;
    max-width: 80px;
    word-wrap: break-word;
    white-space: pre;
    display: none;
}

    .basic_tooltip img, .basic_tooltip_alt img {
        position: absolute;
        top: 5px;
        left: -9px;
    }

/* Fin Tooltip*/



.additional-field-textarea, .additional-field {
    width: 100%;
    display: inline-block;
}

.additional-field-checkbox {
    width: auto;
    left: 4px;
    position: relative;
}

.afc-row.value .additional-field-textarea {
    height: 100px;
}

.additional-field-checkbox {
}

.additional-field-select {
    width: 100%;
    padding-right: 4px;
    box-sizing: content-box;
}

    .additional-field-textarea:disabled, .additional-field:not(.k-input):disabled, .additional-field-checkbox:disabled, .additional-field-select:disabled {
        background-color: #E6E6E6;
    }

input.additional-field.k-input[type=text], input.additional-field.k-input[type=text]:focus {
    height: 22px;
    outline: 0;
    margin: -3px;
    padding: 0;
    background-color: transparent;
}

.k__select-override.additional-field-valid-false,
.additional-field-textarea.additional-field-valid-false,
input.additional-field-valid-false {
    border: 1px solid #9d1919 !important;
    box-shadow: 0 0 4px #9d1919 !important;
}

.additional-label-valid- {
    text-indent: 0px !important;
}

.additional-label-valid-false {
    color: #9d1919;
}

.afc-row.value input[type="text"]:-moz-read-only, .afc-row.value textarea:-moz-read-only {
    background-color: #E6E6E6;
}

.afc-row.value input[type="text"]:read-only, .afc-row.value textarea:read-only {
    background-color: #E6E6E6;
}

.afc-row.value input[type="text"]:-moz-read-only:focus, .afc-row.value textarea:-moz-read-only:focus {
    outline: none;
}

.afc-row.value input[type="text"]:read-only:focus, .afc-row.value textarea:read-only:focus {
    outline: none;
}

.k-widget.k-tooltip {
    height: auto;
    top: 11px;
}

.afc-main .k-widget.k-datetimepicker.k-header {
    width: 100%;
    margin-left: 0px;
}

.afc-main .k-widget.k-datetimepicker.k-header {
    padding: 0;
    border: solid 1px #ccc;
    height: 23px;
}

.afc-row span {
    color: #676767;
    text-indent: 8px;
    font-size: 12px;
}

.afc-row input[type="text"] {
}

.afc-title-madatory {
    font-size: 13px;
    color: #999999;
    margin-bottom: 12px;
}


.k-picker-wrap.k-state-default {
    background-color: transparent;
    border-color: transparent;
    max-height: 25px;
}

.k-picker-wrap.k-state-hover, .k-picker-wrap.k-state-focused {
    box-shadow: none;
}

.case-form-additionalFields-content .k-picker-wrap.k-state-default,
.case-form-additionalFields-content .k-picker-wrap.k-state-hover > .k-select,
.case-form-additionalFields-content .k-picker-wrap.k-state-disabled {
    background: #f2f2f2;
    border-color: #f2f2f2;
    margin-top: -6px;
}

    .case-form-additionalFields-content .k-picker-wrap.k-state-default > .k-select {
        right: -4px;
        border: none;
        display: inline-block;
        position: relative;
        margin-top: -6px;
    }

.case-form-additionalFields-content .k-dropdown-wrap .k-input > span {
    text-indent: 8px !important;
    line-height: 20px;
}

.k-picker-wrap.k-state-disabled .k-select {
    display: none;
}

.additional__field-header {
    margin-right: 0;
}

.additional__field-button-save {
    text-align: right;
}

.afc_content_field_types {
    position: relative;
    top: -8px;
}

.additional-field-date {
    width: 93% !important;
    height: 17px;
}

.field.col-md-6 {
    padding: 0px;
}

.list-case__detail .field.col-md-6 {
    padding: 2.5px 5.5px 2.5px 5.5px;
}

.list-case__detail .additional__sections label.title {
    margin: 10px 8px 5px 4px;
}

.field.col-md-12 {
    padding: 0;
}

.row.afc-field,
.row.afc_content_field_types {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
}

#afc_01 {
    position: relative;
    width: 100%;
}

    #afc_01 > div {
        position: relative;
    }


.field__error {
    color: #D8000C !important;
    display: block;
    position: absolute;
    background-color: #FFBABA;
    z-index: 99;
    padding: 3px;
    border-radius: 2px;
    top: 54px;
}

    .field__error::after {
        content: '';
        position: absolute;
        bottom: 100%;
        left: 50%;
        margin-left: -8px;
        width: 0;
        height: 0;
        border-bottom: 8px solid #FFBABA;
        border-right: 8px solid transparent;
        border-left: 8px solid transparent;
    }

.additional__sections {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

    .additional__sections label {
        font-family: ClearSans-Regular;
    }

        .additional__sections label.title {
            margin: 0px 8px 5px 4px;
            width: 100%;
            font-size: 15px;
        }

        .additional__sections label.subtitle {
            padding-left: 4px;
            font-size: 13px;
            color: #999999;
            margin-bottom: 10px;
            width: 100%;
        }

.div__itemselected {
    width: 16px;
    min-width: 16px;
    height: 16px;
    position: relative;
    display: inline-block;
    border-radius: 4px;
}

.checkitem {
    background-color: #ffffff;
    border: 1px solid #E8E8E8;
}

.div__itemselected label {
    cursor: pointer;
    position: absolute;
    width: 95%;
    height: 95%;
    border-radius: 4px;
}

    .div__itemselected label:after {
        content: '';
        position: absolute;
        width: 8px;
        height: 4px;
        background: transparent;
        top: 4px;
        left: 3px;
        border: 2px solid #FFFFFF;
        border-top: none;
        border-right: none;
        opacity: 0;
        transform: rotate(-45deg);
    }

.div__itemselected:hover {
    border: 1px solid #f5846f;
    background-color: #f5846f;
}

.div__itemselected label:hover {
    background-color: #f5846f;
}

    .div__itemselected label:hover::after {
        opacity: 0.5;
    }

.div__itemselected input[type=checkbox] {
    display: none;
}

.k-state-selected > div > .div__itemselected {
    background-color: #f5846f !important;
    border: 1px solid #f5846f !important;
}

    .k-state-selected > div > .div__itemselected label:after {
        opacity: 1 !important;
    }

.multi__container {
    display: flex;
    align-items: center;
}

.multi__span {
    color: #999999;
    padding-left: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.k-multiselect-wrap.k-floatwrap {
   height: 14px;
   min-height: 14px;
 }

.k-widget.k-multiselect ul{
    display: flex;
    flex-flow: row nowrap;
    width: 80%;
}
    .k-widget.k-multiselect ul li{
        background-color: #eeeff1;
        border-radius: 4px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        height: 20px;
        line-height: 18px;
        width: 25%;
        padding: 0;
    }
        .k-widget.k-multiselect ul li:nth-of-type(4) ~ li {
            display: none;
        }

        .k-widget.k-multiselect ul li > span {
            color: #999999;
            padding-left: 4px;
            font-family: ClearSans;
            font-size: 12px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .k-widget.k-multiselect ul li > span > span {
            color: #999999;
            text-transform: none;
            display: inline;
        }
            .k-widget.k-multiselect ul li > span > .k-icon.k-i-close {
                font-size: 0px !important;
                background-position: -160px -82px;
            }

            .list-case__detail .k-widget.k-multiselect ul li > span > .k-icon.k-i-close {
                margin-top: 2px;
            }

.k-multiselect.k-header {
    vertical-align: middle;
    display: inline-block;
    background-attachment: scroll;
    background-clip: border-box;
    background-color: #fff;
    background-image: none;
    background-origin: padding-box;
    background-position-x: 0;
    background-position-y: 0;
    background-repeat: repeat;
    background-size: auto auto;
    border-bottom-color: #ccc;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-image-outset: 0 0 0 0;
    border-image-repeat: stretch stretch;
    border-image-slice: 100% 100% 100% 100%;
    border-image-source: none;
    border-image-width: 1 1 1 1;
    border-left-color: #ccc;
    border-left-style: solid;
    border-left-width: 1px;
    border-right-color: #ccc;
    border-right-style: solid;
    border-right-width: 1px;
    border-top-color: #ccc;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-top-style: solid;
    border-top-width: 1px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #666666;
    font-family: ClearSans-Regular,Arial,Verdana,Helvetica,sans-serif;
    font-size: 12px;
    outline-color: -moz-use-text-color;
    outline-style: none;
    outline-width: medium;
    padding-bottom: 4px;
    padding-left: 4px;
    padding-top: 4px;
    resize: none;
}

.k-multiselect.k-header.k-state-hover {
    border: 1px solid #ccc;
    box-shadow: none; 
}

.k-multiselect.k-header.k-state-focused {
    background-color: #fff;
}

.k-multiselect-wrap .k-input {
    font-size: 12px;
    font-style: normal;
    font-family: ClearSans;
    color: #676767;
    padding-top: 0px !important;
    margin-top: 0px !important;
}

.hide-multiselect-input .k-multiselect-wrap .k-input {
    display: none;
}

.multiselect--amount-selected {
    position: relative;
    right: 54px;
    top: 5px;
    color: #444;
    display: inline-block !important;
    width: 0px;
}

.list-case__detail .multiselect--amount-selected {
 
    line-height: 25px;
}

.multiselect--amount-selected span{
    vertical-align: top !important;
    color: #444; 
    display: inline-block;
}

.multiselect--amount-selected .k-icon.k-i-arrow-s {
    font-size: 0px !important;
}

.field-disabled-multiselect:hover .k-widget.k-multiselect {
    height: 100%;
    max-height: none;
}
    .field-disabled-multiselect:hover .k-widget.k-multiselect ul{
        display: block;
        width: 100%;
    }
        .field-disabled-multiselect:hover .k-widget.k-multiselect ul li{
            width: auto;
            max-width: 90%;
        }
            .field-disabled-multiselect:hover .k-widget.k-multiselect ul li:nth-of-type(4) ~ li{
                display: block;
            }

.field-disabled-multiselect:hover .multiselect--amount-selected {
    display: none !important;
}

.field-disabled-multiselect .k-widget.k-multiselect ul li .k-select {
    display: none;
}