/**********************************************************************

    Estils del nou pct-blau-cms

    1. General
    4. Menú d'accions
    7. Formularis inline
    8. Selector d'idiomes
    9. Menú
    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;
}
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;
}


/**********************************************************************
 * 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;
}

/**********************************************************************
 * 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.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 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;
    }


/**********************************************************************
 * 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;
    }
    
.avis_lopd {
    font-size: 0.8em;
    color: #444;
}
.logofooter img {
    max-width: 100%;
    height: auto;
}


/**********************************************************************
 *  14. Media PRINT
 **********************************************************************/
.print, .imprimir { display:none; }

@media print {

    .print, .imprimir { display:block; }
    .no-print, .no-imprimir { display:none; }

    body,
    body.max800,
    body.max1024 {
        background-color:#fff;
        max-width: 100%;
    }

    #header, #footer {
        display:none;
    }

    #content h2 {
        text-align: left;
        border-bottom:1px solid #ddd;
        color:#000;
        margin:0px;
        padding:0px;
        margin-bottom:10px;
    }

    a {color:#000; text-decoration: none;}

    .pestanyes {
        display:none;
    }

    .formPro, #innerContent {
        margin:0px;
        padding:0px;
    }

    .formPro fieldset{
        border:0px;
        background: #fff;
        margin-bottom: 5px;
    }
    .formPro fieldset legend {
        border-bottom: 1px solid #ccc;
        width:100%;
        font-size:0.9em;
        margin-bottom:10px;
        color:#333;
        font-weight: bold;
    }


    .formPro fieldset div {
        width: 100%; 
        max-width: 30%;/* default */

        padding: 5px 5px 5px 0px;
        margin-right: 5px;
        margin-bottom:5px;
        
        page-break-inside:avoid;

    }


    .formPro fieldset div.mida200 { max-width:25%; }
    .formPro fieldset div.mida300 { max-width:37%; }
    .formPro fieldset div.mida400 { max-width:48%; }
    .formPro fieldset div.mida600 { max-width:74%; }
    .formPro fieldset div.mida-maxima { max-width:100%; }


    .formPro fieldset * { color:#000; }

.formPro fieldset div label { font-weight: bold; }


    .formPro fieldset div input, 
    .formPro fieldset div textarea, 
    .formPro fieldset div input[disabled="disabled"], 
    .formPro fieldset div textarea[disabled="disabled"] {
        border: 0px !important;
        border-left: 5px solid #ccc !important;
        background: #fff !important;
        height:auto;
        min-height: auto;
    }

    .formPro .FieldInfo {
        display:none;
    }

    table.Registers {
        width: 100%;
        font-size:0.9em;
    }

    table.Registers tr td {
        background-color: #fff;
        border-bottom: 1px solid #ccc;
        padding: 0.5em 0.5em;
        page-break-inside:avoid;
    }

    table.Registers tr.Odd td, table.Registers tr:nth-child(odd) td {
        background-color: #fff;
    }

    table.Registers tr th {
        background: #fff;
        border-bottom: 2px solid #000;
        font-weight: bold;
        padding: 1em 0.5em;
    }
    .formPro fieldset div.mida275{
    	float: left;
    	width: 310px;
    	height: 55px;
    }
    .formPro fieldset div.mida400{
		height: 45px;    	
    }
    .formPro fieldset div.one-row{
    	height: 30px;
    }
    .formPro fieldset div label{
    	font-size: 0.8em;
    	margin-bottom: 5px;
    }
    .formPro fieldset div input[type="text"]{
		font-size: 0.8em;
    }
    .formPro fieldset textarea{
    	height: 45px!important;
    }
    .formPro fieldset div.one-row label{
        float: left;
        width: 65px;
        margin-right: 10px;
        white-space: normal;
        margin-bottom: 0px;
    }
    .formPro fieldset div label.checkbox{
    	font-size: 0.8em;
    	border-left: 5px solid #ccc !important;
    	padding-left: 5px;
    }

    .formPro .resposta {
        font-size: 0.8em;
        border-left: 5px solid #ccc !important;
        padding-left: 5px;

    }

    .formPro fieldset div.one-row label.checkbox{
        float: left;
        width: 50px;
        padding: 0px 5px; 
        white-space: nowrap;
        display: inline;
    }
    .formPro fieldset div.one-row input[type="text"]{
        float: left;
        width: 90px;
        padding: 0px 5px;
    }
    .formPro fieldset div.one-row input[type="hidden"]{
    	display: none;
    }
    .formPro fieldset div.mida400 input[type="text"]{
        float: left;
        width: 120px;
        padding: 0px 5px;
    }


}
