/**********************************************************************

    Estils del nou pct-blau-cms

    1. General
    2. Capçalera
    3. Barra superior
    4. Menú d'accions
    5. Peu de pàgina
    6. Taules i coses interiors
    7. Formularis inline
    8. Selector d'idiomes
    9. Menú
    10. Pestanyes 
    11. Icones dels links botó
    12. Altres coses
    13. Media Queries
    14. Media PRINT

 **********************************************************************/




/**********************************************************************
 * 1. General
 **********************************************************************/

body {
    font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
    font-size: 10px;
    background-color: #cfcfcf;
    margin: 0;
}


body.max800 {
    max-width: 800px;
    margin:0px auto;
}

body.max1024 {
    max-width: 1024px;
    margin:0px auto;
}

body.max1250 {
    max-width: 1250px;
    margin:0px auto;
}

a {
    color:#00F;

}

a img {
    border-width: 0;
}

input,
textarea {
    font-family: sans-serif;
    font-size: 1em;
}



.ErrorMessage {
    background-color: #fea;
    border: 1px solid #c89;
    padding: 1em;
    margin: 2em auto;
    width: 70%;
    text-align: center;
}

.FieldError {
    color: #f00;
    font-weight: bold;
}

.InfoBox
{
    background-color: #EBEBEB;
    border: 1px solid #333;
    padding: 1em;
    margin: 2em auto;
    width: 95%;
    text-align: left;
}

.OkBox
{
    background-color: #E9FF8F;
    border: 1px dotted #505F12;
    text-align: center;
    padding: 1em;
    margin: 2em auto;
    width: 95%;
}


form {
    margin: 0;
    padding: 0;
}

label[for]
{
    cursor: pointer;
}

dl dt
{
    font-weight: bold;
}

dl dt:before
{
    content: "\2023  ";
    margin: 1em 0;
}

dl dd
{
    margin: 1em 0 1em 2em;
    padding: 0;
}

pre, code
{
    overflow: auto;
    background: #eee;
}

ul
{
    margin: 1em 0 1em 1.5em;
    padding: 0;
    list-style: square;
}

ul li
{
    margin: 0;
    padding: 0;
}

/**********************************************************************
* 2. Capçalera
**********************************************************************/

#header {
    /*background: url(../images/pct/hdrbg.gif) repeat-x top left;*/
    background:#fff;
    padding-top:10px;
}

    #innerHeader {
        width: 100%;
        min-height: 90px;
        padding-bottom:10px;
        margin:0px auto;
    }

        #header h1 {
            float:left;
            margin: 0;
            padding: 5px;
            width: 100%;
            max-width: 233px;
        }

        #home {
            display: block;
            text-align: center;
        }

        #moreInnerHeader {
            
            height: 75px;
            position: relative;
        }

        #contact {
            width:270px;
            float:right;
            margin-top: 0.5em;
            margin-right:10px;
            text-align: right;
            padding-bottom:10px;
        }

        #moreInnerHeader,
        #moreInnerHeader a {
            color: #383838;
        }

/**********************************************************************
 * 3. Barra superior
 **********************************************************************/

    #topBar {
        clear:both;
        position: relative;
        background: #777;
        font-size: 1.2em;
        line-height: 2.4em;
    }



    #topBar a {
        color:#ddd;
        text-decoration: none;
    }

        #topBar a:hover {
            text-decoration: underline;
        }


    #topBarLeft {
        padding-left: 10px;     
    }

    #topBarRight {
        float:right;
        margin-right: 10px;
        width: 270px;
        text-align: right;
        
    }

    #innerTopBarRight {
        padding-left: 16px;
    }


    #topBarLeft .expedients {
        color:#fff;
    }

/**********************************************************************
 * 4. Menú d'accions
 **********************************************************************/

#menu {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 10px;
}

#menu li .Title {
    height: 23px;
    line-height: 23px;
    color: #fff;
    font-weight: bold;
    padding-left: 1em;
    text-transform: uppercase;
}

#wrapper {
    clear:both;
    width: 100%;
    background: #fff; 
    margin: 0px auto;
    padding: 10px 0px 5px;
    position:relative;
}

#wrapper:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/* IE Hack */
* html #wrapper {
    height: 1%;
}


#content {
    width: 100%;
    padding:10px 0px;

}




#content h2 {
    
    font-size: 1.6em;
    font-weight:normal;

    padding-left: 20px;

    margin: 7px 0 15px 0;

    color: #ff6633;
}

#innerContent {
    margin: 0 2em 0 2em;
}

/**********************************************************************
 * 5. Peu de pàgina
 **********************************************************************/

#footer {
    color: #ddd;
    background-color:#777;
}

    #footer a {
        color: #eee;
        text-decoration: none;
    }

    #innerFooter {
        position: relative;
        width: 100%;
        min-height: 20px;

        margin:0px auto;

        text-align: center;
        line-height: 40px;
    }


/**********************************************************************
 * 6. Taules i coses interiors
 **********************************************************************/




table.Registers {
    width: 100%;
    font-size:1.2em;
}

table.Registers tr td {
    background-color: rgb(231, 243, 251);
    padding: 1em 0.5em;
}

table.Registers tr.Odd td, table.Registers tr:nth-child(odd) td {
    background-color: rgb(208, 232, 247);
}

table.Registers tr th {
    background: rgb(238, 238, 238);
    text-align: center;
    padding: 1em 0.5em;
}

table.Registers.vtop td {
    vertical-align: top;
} 


.paginacio {

    width:100%;
    clear:both;

    text-align: center;
    margin-top:10px;

    background: #ddd;
    font-size:1.2em;
    line-height: 2em;

}

    .paginacio span {

    }


    .paginacio a {
        padding: 0px 20px;
        background: #777;
        color:#fff;        
        text-decoration: none;
    }
    .paginacio a.anterior{ float:left;}
    .paginacio a.seguent{ float:right;}


.paginacio-rapida-select {
    background: transparent;
    border:0px;
}





.FormTable {
    border-collapse: collapse;
    width: 100%;
}

.FormTable caption {
    color: #fff;
    background: #369;
    font-weight: bold;
    padding: 0.2em 0;
}

.FormTable .Field .Label {
    text-align: right;
    padding-right: 0.5em;
    width: 7em;
    vertical-align: top;
    font-weight: bold;
    font-style: normal;
    white-space: nowrap;
}

.FormTable .Field .Label * {
    white-space: normal;
}

.FormTable .Field .Value {
    padding-right: 0;
}

.FormTable .FieldInfo {
    color: #666;
    font-size: 0.9em;
}

.FormTable .Required {
    color: #c30;
    font-size: 1.1em;
}

.FormTable .Field td {
    background-color: rgb(231, 243, 251);
    padding: 0.4em;
}

.FormTable .Field td td {
    text-align: left;
    background-color: transparent;
    padding: 0;
}

.FormTable .Even td, .FormTable tr:nth-child(even) td  {
    background-color: rgb(208, 232, 247);
}

.FormTable .Actions td {
    text-align: center;
    padding: 1em 0;
}

*[title] {
    cursor: help;
}

a[title] {
    cursor: pointer;
}

/**********************************************************************
 * 7. Formularis inline
 **********************************************************************/


.formPro {
    font-size:1.2em;
    margin-bottom:20px;
}

.formPro .Registers {
    font-size:1em;
}


    .formPro fieldset .FieldInfo {
        color:#333;
        font-style: italic;
        font-size:0.9em;
    }


    .formPro input[type="submit"] {
        border: 1px solid #eee;
        padding: 10px 20px;
        background: #8899ff;
        color:#fff;
        font-size:1.2em;
    }



    .formPro fieldset {
        border: 1px solid #eee;
        background: #fafaff;
        margin-bottom:20px;
    }

        .formPro fieldset legend {
            font-size: 1.3em;
            color:#009;
        }


    .formPro fieldset div {
        float:left;
        display:block;
        width: 100%; 
        max-width: 270px;/* default */
        padding: 5px 5px 5px 0px;
        margin-right: 5px;
        margin-bottom:10px;
        
    }

        .formPro fieldset div div {
            float:none;
            width: auto;
            padding: 0px;
            margin: 0px;
            border:0px;
        }

        .formPro fieldset div.mida275{
            height: 65px;
        }


    .formPro fieldset div.clear { clear:both;}
    .formPro fieldset div.mida200 { width:100%; max-width:200px; }
    .formPro fieldset div.mida300 { width:100%; max-width:300px; }
    .formPro fieldset div.mida400 { width:100%; max-width:400px; }
    .formPro fieldset div.mida600 { width:100%; max-width:600px; }

    .formPro fieldset div.mida-maxima { width: 100%; max-width:100%; }



        .formPro fieldset div label {
            font-size:1.2em;
            white-space: nowrap;
            width: 95%;
            line-height: 1.5em;
        }

        .formPro fieldset div label.checkbox {
            display:block;
            font-size:1em;
            padding: 7px 0px;
        }

            .formPro fieldset div label .Required {
                color: #f00;
            }


        .formPro fieldset div input[type="text"], .formPro fieldset div input[type="password"], .formPro fieldset div textarea {
            display:block;
            width: 95%;
            padding: 7px 5px;
            border: 1px solid #777;
        }

        .formPro fieldset div input[disabled="disabled"], .formPro fieldset div textarea[disabled="disabled"] {
            border: 1px solid #aaa;
            background-color:#fafafa;
        }


        .formPro fieldset div input.no-width{
            width: auto;
        }



    .formPro .alerta {
        color:#f00;
    }
    .formPro fieldset div.error {
        
    }
        .formPro fieldset div.error input, .formPro fieldset div.error textarea {
            border-color:#f00;
        }
        .formPro fieldset div.error label {
            color:#f00;
        }

        .formPro fieldset div.error .FieldError {
            font-weight:normal;
        }



    .formPro fieldset div div.checkboxlist {
        background: #fff;
        width:100%;
        height: 80px;
        border:1px solid #444;
        overflow-x:hidden;
        overflow-y:scroll;
    }
    .formPro fieldset div div.checkboxlist label {
        padding: 2px 10px;
    }


/**********************************************************************
 * 8. Selector d'idiomes
 **********************************************************************/

#languages {
    margin: 1em 0;
    text-align: right;
}

#languages ul {
    display: inline;
    list-style: none;
    margin: 0;
    padding: 0;
}

#languages ul li {
    display: inline;
    margin: 0 0 1em 0.3em;
    padding: 0;
}

#languages li.Active,
#languages li.Active a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
}

ul.Unstyled {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.Unstyled li {
    margin: 0;
    padding: 0;
}

/**********************************************************************
 * 9. Menú
 **********************************************************************/

    #menu {
        color: #fff;
        width: 171px;
        margin-bottom: 2em;
        font-style: italic;
    }

    #menu a {
        color: #fff;
        text-decoration: none;
        font-style: normal;
    }

    #menu a:hover {
        text-decoration: underline;
    }

    #menu h2 {
        font-size: 1em;
        padding: 0 0.5em;
        background: url(../images/pct/lftmnu13.gif) no-repeat top left;
        line-height: 23px;
        margin: 0;
        height: 23px;
    }

    #menu .Content {
        /* Fons */
        background: url(../images/pct/lftmnu07.gif) repeat-y top left;
    }

    #menu .Content .Inner01 {
        /* Vora dreta */
        background: url(../images/pct/lftmnu06.gif) repeat-y top right;
    }

    #menu .Content .Inner02 {
        /* Vora inferior */
        background: url(../images/pct/lftmnu12.gif) repeat-x bottom left;
    }

    #menu .Content .Inner03 {
        /* Vora superior */
        background: url(../images/pct/lftmnu12.gif) repeat-x top left;
    }

    #menu .Content .Inner04 {
        /* Cantonada superior-dreta */
        background: url(../images/pct/lftmnu04.gif) no-repeat top right;
    }

    #menu .Content ul.Level01 {
        /* Cantonada inferior-dreta */
        background: url(../images/pct/lftmnu05.gif) no-repeat bottom right;

        list-style: none;
        margin: 0;
        padding: 0.3em;
    }

    #menu ul.Level01 li {
        background: url(../images/pct/lftmnu10.gif) no-repeat left 1px;
        padding-left: 14px;
        margin: 0.4em 0;
    }

    #menu ul.Level02 {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #menu ul.Level02 li {
        background: url(../images/pct/subbullet1.gif) no-repeat left 5px;
        padding-left: 18px;
        margin: 0.4em 0;
    }
    
/**********************************************************************
 * 10. Pestanyes de pàgina 
 **********************************************************************/




ul.pestanyes{
    border-bottom: 1px solid #aaa;
    min-height: 31px;
}
    ul.pestanyes li {
        display:block;
        float:left;
        line-height: 30px;
        margin-right:10px;
        border: 1px solid #777;
        background: #ccc;

        -webkit-border-top-left-radius: 5px;
        -webkit-border-top-right-radius: 5px;
        -moz-border-radius-topleft: 5px;
        -moz-border-radius-topright: 5px;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

        ul.pestanyes li.activa {
            border-bottom: 1px solid #fff;
            background: #fff;
        } 


        ul.pestanyes li.dreta {
            float:right;
        }

        ul.pestanyes li a {
            display:block;
            padding:0px 20px;
            line-height: 30px;
            text-decoration: none;
        }

        ul.pestanyes li span {
            padding:10px 20px;
        }



/**********************************************************************
 *  11. icones dels links botó
 **********************************************************************/

div.accions-element {
    margin-bottom:15px;
    font-size:1.3em;
} 
a.icona-afegir {
    background: transparent url(../images/pct/add.png) no-repeat center left;
    padding: 2px 0px 2px 20px;
}

a.icona-esborrar {
    background: transparent url(../images/pct/cross.png) no-repeat center left;
    padding: 2px 0px 2px 20px;
}

a.icona-editar {
    background: transparent url(../images/pct/pencil.png) no-repeat center left;
    padding: 2px 0px 2px 20px;
}

a.icona-exportar {
    background: transparent url(../images/pct/page_excel.png) no-repeat center left;
    padding: 2px 0px 2px 20px;
}

a.icona-cadenat {
    background: transparent url(../images/pct/lock.png) no-repeat center left;
    padding: 2px 0px 2px 20px;
}

a.icona-imprimir {
    background: transparent url(../images/pct/printer.png) no-repeat center left;
    padding: 2px 0px 2px 20px;
}

.pestanyes a.icona-imprimir { margin-left:20px;}
div.accions-element a { padding-right:5px;}

input.icona-cercador {
    background: transparent url(../images/pct/buscar.gif) no-repeat 10px center;
    padding-left:30px !important;
    width:85% !important;
}

/**********************************************************************
 *  12. Altres coses
 **********************************************************************/
 a.accio {  color: blue; }
 

.idioma_actual { 
    font-size:1.2em;
}

.banner-editar-contrasenya {
    position:absolute;
    top: 0px;
    right: 30px;
    
}

.inactiu{
    background-color: rgb(247, 208, 208) !important;
}

#selectsexe{
    display: block !important;
    width: 43% !important;
    padding: 6px 4px;
}

.minicamp{
    display: block !important;
    float: left !important;
    width: 200px !important;
    margin-top: -52px !important;
    margin-left: 133px !important;
}

#ipt_edat{
    display: block !important;
    width: 24% !important;
    padding: 7px 5px;
}

.botocorreu{
    margin-top: -2.4em;
    padding: 6px;
    font-size: 13px;
    margin-left: 21.5em;
}

#botocorreu2{
    margin-left: 31em;
}

.avis_lopd {
    font-size: 0.8em;
    color: #444;
}
.logofooter img {
    max-width: 100%;
    height: auto;
}

/**********************************************************************
 *  13. Media Queries
 **********************************************************************/


