/* General */
[class ^= "ta-"] input[type=text], [class *= " ta-"] input[type=text] {
    /*display:inline-block;*/
    box-sizing: border-box;
    width: 100%;
    height: 30px !important;
    padding: 4px !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc !important;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

[class ^= "ta-"] .panel-heading label, [class *= " ta-"] .panel-heading label {
    font-size: inherit;
    color: inherit;
}

[class ^= "ta-"] .riTextBox, [class *= " ta-"] .riTextBox {
    text-align: center;
}

/* RadioButtonList */
.ta-rbl {
    display: block;
}

    .ta-rbl label {
        font-weight: normal;
        display: inline-block;
    }

    .ta-rbl label {
        margin-right: 10px;
    }

    .ta-rbl input {
        margin-right: 4px !important;
    }

.ta .panel.panel-danger {
    background-color: #FDEDEC;
    margin-bottom: 10px;
}

/* Search */
.ta-search {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: #F4F6F6;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #D5DBDB;
}

    .ta-search div.form-group {
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .ta-search .riTextBox {
        width: 120px !important;
        text-align: center;
    }

    .ta-search .btn {
        margin: 0 0 0 5px !important;
        line-height: inherit;
    }

    .ta-search .form-group label {
        font-size: inherit;
    }

.ta-cmd {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

    .ta-cmd .btn {
        margin: 0;
    }

/* Anunci */
.ta-anunci {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    align-items: baseline;
}

    .ta-anunci i:first-child {
        color: #CCD1D1;
    }

    .ta-anunci > * {
        margin: 0 15px 0 0;
    }

    .ta-anunci .ta-content {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        flex-direction: column;
        margin-bottom: 15px;
    }

        .ta-anunci .ta-content > * {
            margin: 0 0 5px 0;
        }

    .ta-anunci .ta-title {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        flex-direction: row;
        align-items: baseline;
    }

        .ta-anunci .ta-title > * {
            margin: 0 5px 0 0;
        }

/* Form */
.ta-nou {
}

    .ta-nou .panel.panel-info {
        background-color: #EAF2F8;
        margin-bottom: 10px;
    }

        .ta-nou .panel.panel-info p {
            margin: 0;
        }



/* Pager */
.ta-pager {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

    .ta-pager span {
        margin-left: 10px;
        color: #777;
        font-size: 0.85em;
    }

    .ta-pager input[type=image]:not(:last-child) {
        margin-right: 3px;
    }

    .ta-pager .ta-pager-num {
        border: 1px solid #C0C0C0;
        background-color: #FFF;
        padding: 0;
        min-width: 25px;
        text-align: center;
        cursor: pointer;
        font-size: .9em;
        color: #666;
        margin-right: 4px;
        border-radius: 3px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
    }

        .ta-pager .ta-pager-num.selected {
            background-color: #666;
        }

            .ta-pager .ta-pager-num.selected a {
                color: #fff;
            }

        .ta-pager .ta-pager-num a {
            color: #777;
        }

    .ta-pager input[type=image] {
        margin-top: 1px;
    }





/* ------------------------------------------------------------ */
.pnlFiltre {
    border: 1px solid #888;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #ffffcc;
}

.clear {
    clear: both;
}

.ui-dialog.ui-widget{
    background:white;
}

#dialog-form, .ui-dialog-buttonpane {
    padding: 0 20px;
}


fieldset {
    padding: 0;
    border: 0;
    margin-top: 25px;
}

    fieldset label, fieldset input {
        display: block;
    }

.ui-dialog .ui-state-error {
    padding: 10px;
}

#dialog-form q {
    border: 1px solid transparent;
    padding: 10px;
}

/* ----- anunci ---*/
.anunci {
    background: transparent url(images/postbullets.png) left top no-repeat;
    width: 99%;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

    .anunci h3 {
        /*background-color:#A6A6A6;
    padding:5px 5px;*/
        margin-left: 2ex;
        padding-left: 1ex;
        color: #23437D;
        /*font-size:inherit;*/
    }

        .anunci h3 a {
            color: #23437D;
        }

    .anunci .detall {
        padding: 10px 3ex;
    }

    .anunci .organ .data {
        font-weight: normal;
    }

    .anunci .organ {
        padding: 2px 3.5ex;
    }

    .anunci .avisEsmena {
        padding: 2px 3.5ex;
        color: #ff0000;
    }

    .anunci .accions {
        margin: 5px 0 5px 0;
    }

    .anunci .posiciosegell {
        /*position:absolute;*/
        float: right;
    }

    .anunci .cos {
        /*background-color:#efefef; */
        padding: 0.5ex;
    }

    .anunci .segell {
        position: relative;
        top: -26px;
        right: 5px;
        margin: 0px 0 0px 0;
        width: 95%;
    }

div .clear {
    max-height: 50px;
    clear: none;
}

.anunci .pdf {
    /* float:left;    */
    min-height: 50px;
    margin: 5px 0 5px 0;
    /*text-align:center*/
}

.anunci .relacionats {
    border: 1px solid #cccccc;
    padding-bottom: 10px;
    margin-bottom: 5px;
}

    .anunci .relacionats h4 {
        background-color: #f6f6f6;
        padding: 5px 5px;
        margin: 0;
        /*font-size:inherit;*/
    }

    .anunci .relacionats .detall {
        padding: 5px 10px;
    }

.anunci .esmena {
    border: 1px solid #c99e9e;
    padding-bottom: 10px;
    margin-bottom: 5px;
}

    .anunci .esmena h4 {
        background-color: #f4d8d8;
        padding: 5px 5px;
        margin: 0;
        /*font-size:inherit;*/
    }

    .anunci .esmena .detall {
        padding: 10px 10px;
    }

.anunci .cancelat {
    background-color: #FFD1C1;
    padding: 5px;
    border: solid 1px #333
}

/* -- Grids --------------------------------------------------------------------------------------*/
.cc_grid {
    width: 95%;
    background-color: #fff;
    margin: 5px 0 10px 0;
    border: solid 1px #525252;
    border-collapse: collapse;
}

    .cc_grid td {
        padding: 2px;
        border: solid 1px #c1c1c1;
        color: #717171;
    }

    .cc_grid th {
        padding: 4px 2px;
        color: #fff;
        background: #424242 url(images/grd_head.png) repeat-x top;
        border-left: solid 1px #525252;
    }

    .cc_grid .alt {
        background: #fcfcfc url(images/grd_alt.png) repeat-x top;
    }

    .cc_grid .pager {
        background: #424242 url(images/grd_pgr.png) repeat-x top;
    }

        .cc_grid .pager table {
            margin: 5px 0;
        }

        .cc_grid .pager td {
            border-width: 0;
            padding: 0 6px;
            border-left: solid 1px #666;
            font-weight: bold;
            color: #fff;
            line-height: 12px;
        }

        .cc_grid .pager a {
            color: #fff;
            text-decoration: none;
        }

            .cc_grid .pager a:hover {
                color: #ff0000;
                text-decoration: none;
            }





.RadPicker.RadPicker_Default.staff-search__text-input {
    -webkit-appearance: none;
    border: 1px solid rgba(17,23,44,.85);
    display: block !important;
    padding: .65rem .75rem .5rem;
    margin: .35rem 0 1.5rem;
    width: 100% !important;
    font-weight: 400;
    color: #1c2441;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 1rem;
    -webkit-transition: all 170ms ease-out;
    transition: all 170ms ease-out;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.RadPicker.staff-search__text-input input {
    border: 0 !important;
    box-shadow: none !important;
    background: 0 0 !important;
}

select.staff-search__text-input {
    background: 0 0;
}

.RadPicker.staff-search__text-input .riSingle .riTextBox[type="text"] {
    height: 16px !important;
}

.RadPicker.staff-search__text-input .rcCalPopup {
    background-position: 0 -4px !important;
    height: 16px !important;
}


.wysiwyg li a.filters__link, .wysiwyg p a.documents__download {
    background-image: none;
}

/* taulell-Llista */

.label-cal {
    
    margin-left: -3em;
}


.header-related { 
    border-bottom:1px solid;
}