/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}











@font-face {
    font-family: 'din_alternateregular';
    src: url('../fonts/din_alternate-webfont.eot');
    src: url('../fonts/din_alternate-webfont.eot?#iefix') format('embedded-opentype'),
        url('../fonts/din_alternate-webfont.woff') format('woff'),
        url('../fonts/din_alternate-webfont.ttf') format('truetype'),
        url('../fonts/din_alternate-webfont.svg#din_alternateregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'din_alternatebold';
    src: url('../fonts/din_alternate_bold-webfont.eot');
    src: url('../fonts/din_alternate_bold-webfont.eot?#iefix') format('embedded-opentype'),
        url('../fonts/din_alternate_bold-webfont.woff') format('woff'),
        url('../fonts/din_alternate_bold-webfont.ttf') format('truetype'),
        url('../fonts/din_alternate_bold-webfont.svg#din_alternatebold') format('svg');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'MyriadProRegular';
    src: url('../fonts/myriadpro-regular-webfont.eot');
    src: url('../fonts/myriadpro-regular-webfont.eot?#iefix') format('embedded-opentype'),
        url('../fonts/myriadpro-regular-webfont.woff') format('woff'),
        url('../fonts/myriadpro-regular-webfont.ttf') format('truetype'),
        url('../fonts/myriadpro-regular-webfont.svg#webfontqSLjBSsd') format('svg');
    font-weight: normal;
    font-style: normal;

}










body {
    background-color: #DD261C;
    font-family: 'MyriadProRegular', Verdana, Geneva, sans-serif;
    font-size:12px;
}

#body {
    -webkit-box-shadow: 0px 0px 13px rgba(50, 50, 50, 1);
    -moz-box-shadow:    0px 0px 13px rgba(50, 50, 50, 1);
    box-shadow:         0px 0px 13px rgba(50, 50, 50, 1);
    background-color: white;
    background-image: url(../img/circle.png);
    background-size: 960px;
    background-repeat: no-repeat;
    width:960px;
    max-width:960px;
    margin: 40px auto;
}

a { color: #DD261C;}

header nav { background-color: #F2F2F2; padding-top: 0px; margin-bottom:20px;  }
header nav ul { margin:0px; }
header nav ul li { list-style: none; display: inline-block; border-right: 1px solid white; margin:0px; padding:33px 13px 5px; }
header nav ul li:last-of-type{ border-right:none; }
header nav ul li,
header nav ul li a { color: #B3B3B3; }
header nav ul li a.selected { color: #DD261C; }
header #nav2 { background-color: #E6E6E6; }

footer {
    font-size: 12px;
    vertical-align: middle;
    height: 132px;
    color: white;

    background: rgb(29,29,27);
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzFkMWQxYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM5OTk5OTkiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, rgba(29,29,27,1) 0%, rgba(153,153,153,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(29,29,27,1)), color-stop(100%,rgba(153,153,153,1)));
    background: -webkit-linear-gradient(top, rgba(29,29,27,1) 0%,rgba(153,153,153,1) 100%);
    background: -o-linear-gradient(top, rgba(29,29,27,1) 0%,rgba(153,153,153,1) 100%);
    background: -ms-linear-gradient(top, rgba(29,29,27,1) 0%,rgba(153,153,153,1) 100%);
    background: linear-gradient(to bottom, rgba(29,29,27,1) 0%,rgba(153,153,153,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1d1d1b', endColorstr='#999999',GradientType=0 );
    
}


footer a { font-weight: bold; text-decoration: none; color: white; }
footer > div { display:inline-block; margin: auto; vertical-align: middle; }
footer > div ul { list-style: none; padding:0px; margin:0px; }
footer > div ul li { list-style: none; padding:0px }
footer > .address a,
footer > .address { color: white; background: #DD261C; font-size:18px; font-weight: bold; text-decoration: none; }
footer > .address { height: 132px;  vertical-align: middle; padding:auto; margin: auto 0px;
    border-left: 1px solid white; float:right; }
footer > .address > div { display:inline-block; vertical-align: middle; margin: auto 45px; }

footer .footer1 { margin-left:10px; }
footer .footer2 { margin-left:35px; padding-right:65px; }
footer .footer3 { margin:auto 50px; }
footer > .separador {
    height: 132px;
    width:0px;
    border-right: 1px solid white;
    margin:0px !important;
    padding:0px;
}
footer > .address > div.separador {
    height: 132px;
    width:0px;
    border-right: none;
    margin:0px !important;
    padding:0px;
}



.float_left {margin: 0px; padding:0px; float:left; margin-top:40px;}
.float_right {margin: 0px; padding:0px; float:right; }
#cos_pagina {
}
#cos_pagina h1{
    color: #DD261C;
    margin-left: 45px;
    font-weight: normal;
    
}
#cos_pagina article {
    width:295px;
    padding-left: 45px;
    padding-right: 28px;
    padding-top: 35px;
    padding-bottom: 30px;
    
    background-color: #F2F2F2;
    line-height: 22px;
    
}

.taula_serveis {
    font-size:12px;
    width: 866px;
    margin: 0px 0px 80px auto;
}

.taula_serveis tr.odd td {
    background-color: #F2F2F2;
}
.taula_serveis tr.even td {
    background-color: #CCCCCC;
}


.taula_serveis strong {
    font-size: 14px;
    color: #DD261C;
    
}

.taula_serveis ul,
.taula_serveis ul li {
    margin:0px auto; padding:0px auto;
}

.taula_serveis ul {
    padding: 0px 0px 0px 16px;
}
.taula_serveis tr td:first-of-type {
    padding-left:20px;
}
.clau {
    background-image: url(../img/clau.png);
    background-size: 20px 24px;
    width:20px;
    height:24px;
    position: absolute;
    margin-left:-30px;
    
}
#clau {
    width: 223px;
    height: 231px;
    background-image: url(../img/clau_gran2.png);
    background-size: 223px 231px;
    background-repeat:no-repeat;
    position: absolute;
    margin-top: -140px;
    margin-left: 668px;
    border:0px;
}