@media (max-width: 768px) {
  body {
    padding: 0; }

  h1, h2, h3, p, ul, li, iframe {
    float: left;
    width: 100%; }

  iframe {
    margin-bottom: 20px; }

  #carruselFondo {
    display: none; }

  #banner {
    height: auto;
    position: static; }

  .fila-gris {
    background: 0;
    height: auto; }

  #wrapper {
    float: left;
    margin: 0 !important;
    max-width: 100%;
    min-width: 100%;
    width: 100%;
    position: static; }

  #content {
    min-height: none;
    max-width: 100%;
    min-width: 100%;
    min-height: 0; }

  #navigation li.selected > ul {
    display: block !important; }

  #wrapper-content {
    background: 0 !important; }

  .fila-gris .portlet-column {
    float: left; }

  #column-1.aui-w100 {
    visibility: hidden;
    position: absolute;
    left: -9999px; }

  #column-2.aui-w30 {
    display: none; }

  .portlet-column {
    width: 100% !important; }

  .portlet-column.w300px {
    max-width: 320px; }

  .portlet-column-content {
    padding: 0 !important; }

  #footer {
    margin-top: 20px;
    width: 100%;
    margin-left: 0; }

  #footer .content-footer {
    max-width: 100%;
    min-width: 100%; }

  #footer .footer-verde {
    padding: 10px 4%;
    width: 92%; }

  .taglib-social-bookmarks li {
    float: left;
    margin-right: 5px;
    width: 83px; }

  .taglib-social-bookmarks li + li {
    width: 100px; }

  .taglib-social-bookmarks li + li + li {
    width: 83px; }

  .recursivas {
    padding-right: 0;
    width: 100%; }

  .menu-pie {
    display: none; }

  .redes-apps {
    width: 100%; }

  .logos {
    margin-top: 10px; }

  .logos img {
    float: left;
    height: auto !important;
    margin-left: 3%;
    margin-right: 3%;
    width: 27.3% !important; }

  .idiomas {
    padding-right: 0;
    position: absolute;
    right: 0;
    top: 5px;
    width: 66px !important; }

  .idiomas a {
    background: #7F7F7F;
    border: 0;
    border-radius: 30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    font-size: 17px;
    margin-left: 5px;
    padding: 2px 7px;
    text-align: center; }

  .idiomas a:hover {
    background: #333333; }

  .redes-apps p {
    float: left;
    margin-top: 10px; }

  .certificado {
    float: left;
    margin-bottom: 10px;
    margin-top: 10px;
    text-align: center;
    width: 100%; }

  .recursivas li {
    margin-left: 0;
    background: #CCCCCC;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#dfdfdf), to(#bfbfbf));
    /* Safari 5.1, Chrome 10+ */
    background: -webkit-linear-gradient(top, #dfdfdf, #bfbfbf);
    /* Firefox 3.6+ */
    background: -moz-linear-gradient(top, #dfdfdf, #bfbfbf);
    /* IE 10 */
    background: -ms-linear-gradient(top, #dfdfdf, #bfbfbf);
    /* Opera 11.10+ */
    background: -o-linear-gradient(top, #dfdfdf, #bfbfbf); }

  .recursivas li:hover {
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#bfbfbf), to(#dfdfdf));
    /* Safari 5.1, Chrome 10+ */
    background: -webkit-linear-gradient(top, #bfbfbf, #dfdfdf);
    /* Firefox 3.6+ */
    background: -moz-linear-gradient(top, #bfbfbf, #dfdfdf);
    /* IE 10 */
    background: -ms-linear-gradient(top, #bfbfbf, #dfdfdf);
    /* Opera 11.10+ */
    background: -o-linear-gradient(top, #bfbfbf, #dfdfdf);
    text-decoration: none; }

  .recursivas li a {
    float: left;
    font-size: 16px !important;
    padding: 10px 7%;
    width: 86%; }

  .bloqueRight {
    float: left;
    width: 100%; }

  .recursivas-pie {
    margin-left: 0;
    width: 100%;
    margin-top: 20px; }

  .recursivas-pie ul li {
    background: #CCCCCC;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#dfdfdf), to(#bfbfbf));
    /* Safari 5.1, Chrome 10+ */
    background: -webkit-linear-gradient(top, #dfdfdf, #bfbfbf);
    /* Firefox 3.6+ */
    background: -moz-linear-gradient(top, #dfdfdf, #bfbfbf);
    /* IE 10 */
    background: -ms-linear-gradient(top, #dfdfdf, #bfbfbf);
    /* Opera 11.10+ */
    background: -o-linear-gradient(top, #dfdfdf, #bfbfbf); }

  .recursivas-pie ul li a {
    float: left;
    font-size: 16px !important;
    padding: 10px 7%;
    width: 86%; }

  .recursivas-pie ul li:hover, .recursivas-pie ul li:active, .recursivas-pie ul li:focus {
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#bfbfbf), to(#dfdfdf));
    /* Safari 5.1, Chrome 10+ */
    background: -webkit-linear-gradient(top, #bfbfbf, #dfdfdf);
    /* Firefox 3.6+ */
    background: -moz-linear-gradient(top, #bfbfbf, #dfdfdf);
    /* IE 10 */
    background: -ms-linear-gradient(top, #bfbfbf, #dfdfdf);
    /* Opera 11.10+ */
    background: -o-linear-gradient(top, #bfbfbf, #dfdfdf);
    text-decoration: none; }

  .buscador {
    display: none; }

  .topBar {
    height: auto;
    margin-left: 3%;
    margin-right: 3%;
    width: 94%;
    margin-top: 10px;
    background: 0; }

  .contacto {
    width: 100%; }

  .contacto ul {
    margin: 0;
    padding: 0; }

  .contacto li {
    margin: 0;
    padding: 7px 3%;
    width: 30%;
    font-size: 13px;
    background: #008B20;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#008b20), to(#005c15));
    /* Safari 5.1, Chrome 10+ */
    background: -webkit-linear-gradient(top, #008b20, #005c15);
    /* Firefox 3.6+ */
    background: -moz-linear-gradient(top, #008b20, #005c15);
    /* IE 10 */
    background: -ms-linear-gradient(top, #008b20, #005c15);
    /* Opera 11.10+ */
    background: -o-linear-gradient(top, #008b20, #005c15);
    border-radius: 7px 0 0 0;
    -moz-border-radius: 7px 0 0 0;
    -webkit-border-radius: 7px 0 0 0; }

  .contacto li + li {
    width: 57%;
    border-left: 1px solid #005c15;
    width: 57.6%;
    border-radius: 0px 7px 0 0;
    -moz-border-radius: 0px 7px 0 0;
    -webkit-border-radius: 0px 7px 0 0; }

  .contacto li + li + li {
    float: left;
    font-size: 15px !important;
    padding: 7px 3%;
    width: 30%;
    border: 0;
    border-radius: 0px 0 0 7px;
    -moz-border-radius: 0px 0 0 7px;
    -webkit-border-radius: 0px 0 0 7px; }

  .contacto li + li + li + li {
    border-radius: 0px 0 7px 0px;
    -moz-border-radius: 0px 0 7px 0px;
    -webkit-border-radius: 0px 0 7px 0px;
    border-left: 1px solid #005c15;
    width: 57.6%; }

  .contacto li a:hover {
    padding-left: 0;
    text-decoration: none; }

  .dn.menu-responsivo {
    display: block !important; }

  .menu-responsivo {
    cursor: pointer;
    background-color: #7F7F7F;
    background-image: url(../images/agrupacio/iconResponsive.png) !important;
    height: 31px;
    position: absolute;
    left: 5px;
    top: 5px;
    width: 35px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px; }

  .menu-responsivo:hover, .menu-responsivo:active {
    cursor: pointer;
    background-color: #333 !important; }

  .menu-responsivo.active {
    cursor: pointer;
    background-color: #333 !important; }

  .dn.barra-responsive {
    display: block !important; }

  .barra-responsive {
    float: left;
    width: 100%;
    background: url(../images/agrupacio/fondo-navigation.png) repeat-x left top;
    height: 41px; }

  .dn.login-responsivo {
    display: block !important; }

  .login-responsivo {
    cursor: pointer;
    background-color: #7F7F7F;
    background-image: url(../images/agrupacio/iconResponsiveLogin.png) !important;
    height: 31px;
    position: absolute;
    right: 5px;
    top: 5px;
    width: 35px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px; }

  .login-responsivo:hover, .login-responsivo:active {
    cursor: pointer;
    background-color: #333 !important; }

  .login-responsivo.active {
    cursor: pointer;
    background-color: #333 !important; }

  #navigation {
    height: auto !important;
    background: 0;
    box-shadow: 0 0 0 #000;
    height: auto; }

  #navigation ul {
    margin: 20px 0 0;
    padding: 0 20px 0 0; }

  #navigation > ul {
    display: none; }

  #navigation li {
    width: 100%;
    position: relative;
    height: auto; }

  #navigation li.primero a {
    background: url("../images/agrupacio/fondo-navigation-movil.png") repeat-x scroll left bottom;
    height: 46px;
    padding-left: 5%;
    padding-top: 0;
    margin-left: 0px; }

  #navigation li:first-child {
    background: 0; }

  #navigation li a {
    float: left;
    height: 27px;
    margin: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    max-width: 95%;
    padding-left: 5%;
    padding-right: 0;
    padding-top: 8px;
    position: relative;
    text-transform: uppercase;
    width: 95%;
    min-width: 95%;
    background: url(../images/agrupacio/fondo-navigation-movil.png) repeat-x left top; }

  #navigation li a:hover, #navigation li a:active {
    background: #e6b50b; }

  #navigation li a span {
    float: left;
    padding-right: 5% !important;
    padding-top: 2px;
    width: 85% !important; }

  #navigation li .dn.dropdown-responsive {
    display: block !important;
    position: absolute;
    cursor: pointer;
    right: 0px;
    top: 0px;
    height: 45px !important;
    width: 41px !important;
    background: url(../images/agrupacio/menuArrow.png) no-repeat 0 0;
    padding: 0 !important; }

  #navigation .child-menu li .dn.dropdown-responsive {
    background: url(../images/agrupacio/menuArrow.png);
    background-position: 0 -92px; }

  #navigation li .dn.dropdown-responsive:hover, #navigation li .dn.dropdown-responsive:active {
    background-position: 0 -46px; }

  #navigation .dn.child-menu {
    width: 100%; }

  #navigation .child-menu .selected > a {
    background: #e6b50b; }

  #navigation .child-menu li a {
    background: url(../images/agrupacio/fondo-navigation-movil.png) repeat-x left bottom; }

  #navigation li a.selected, #navigation li.selected > a {
    background: #e6b50b; }

  #navigation .child-menu li a:hover, #navigation .child-menu li a:active, #navigation li a.active {
    background: #e6b50b; }

  #navigation li.primero a span {
    background: url("../images/agrupacio/home.png") no-repeat scroll left center transparent;
    height: 23px; }

  #navigation .child-menu {
    margin-top: 0; }

  #navigation .child-menu li {
    background: #f6f6f6; }

  #navigation .child-menu li > a {
    background: url(../images/agrupacio/li-arrow.png) no-repeat 20px center;
    font-size: 15px;
    height: 22px;
    max-width: 90%;
    min-width: 90%;
    padding-left: 10%;
    padding-top: 10px;
    width: 90%;
    border-top: 1px solid #ccc; }

  #navigation .grandchild-menu {
    margin-top: 0; }

  #navigation .grandchild-menu li > a {
    padding-left: 15%;
    width: 85%;
    max-width: 85%;
    min-width: 85%;
    background: #fff !important; }

  .web-form-portlet .aui-field-input.aui-field-input-text {
    padding: 1.5%;
    width: 91% !important; }

  .web-form-portlet input[type="submit"] {
    width: 90%; }

  .aui-field.aui-field-wrapper .aui-field-wrapper-content label.aui-field-label {
    width: 90%; }

  .web-form-portlet .portlet-msg-error {
    background-position: 3px center;
    float: left;
    padding: 5px 6%;
    width: 88%; }

  .webform-oficinas .aui-field-element input[type="text"] {
    width: 91%; }

  .aui-field.aui-field-wrapper .aui-field-wrapper-content label.aui-field-label {
    width: 100%; }

  .aui-button.aui-button-submit .aui-button-content .aui-button-input.aui-button-input-submit {
    width: 50%; }

  /** PAGINACION **/
  .taglib-page-iterator .search-pages .page-links {
    float: left;
    width: 100%; }

  .taglib-page-iterator .search-results {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 4px; }

  .taglib-page-iterator .search-pages .page-selector {
    margin-left: 0;
    margin-top: 10px;
    padding-left: 0; }

  .taglib-page-iterator .delta-selector {
    float: left;
    width: 100% !important; }

  .taglib-page-iterator .search-pages .page-links span, .taglib-page-iterator .search-pages .page-links a {
    background: #CCCCCC !important;
    border: 0 none;
    border-radius: 5px 5px 5px 5px;
    color: #FFFFFF;
    float: left;
    font-family: tahoma;
    font-size: 16px;
    margin-bottom: 3px;
    padding: 10px 0 !important;
    text-align: center;
    width: 100%; }

  .taglib-page-iterator .search-pages .page-links a {
    text-decoration: none;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#e26302), to(#c15400)) !important;
    /* Safari 5.1, Chrome 10+ */
    background: -webkit-linear-gradient(top, #e26302, #c15400) !important;
    /* Firefox 3.6+ */
    background: -moz-linear-gradient(top, #e26302, #c15400) !important;
    /* IE 10 */
    background: -ms-linear-gradient(top, #e26302, #c15400) !important;
    /* Opera 11.10+ */
    background: -o-linear-gradient(top, #e26302, #c15400) !important; }

  .taglib-page-iterator .search-pages .page-links a:hover, .taglib-page-iterator .search-pages .page-links a:focus, .taglib-page-iterator .search-pages .page-links a:active {
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#c15400), to(#e26302)) !important;
    /* Safari 5.1, Chrome 10+ */
    background: -webkit-linear-gradient(top, #c15400, #e26302) !important;
    /* Firefox 3.6+ */
    background: -moz-linear-gradient(top, #c15400, #e26302) !important;
    /* IE 10 */
    background: -ms-linear-gradient(top, #c15400, #e26302) !important;
    /* Opera 11.10+ */
    background: -o-linear-gradient(top, #c15400, #e26302) !important; }

  .portlet-navigation {
    display: none; }

  /** GO TOP **/
  .goTop {
    height: 48px;
    width: 48px;
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: url(../images/agrupacio/goTop.png) no-repeat center center;
    cursor: pointer;
    opacity: 0.5;
    filter: alpha(opacity=50); }

  .goTop:hover, .goTop:focus, .goTop:active {
    opacity: 0.8;
    filter: alpha(opacity=80); }

  .acceso-directo-central.interior {
    margin-right: 0; }

  .acceso-directo-central img {
    max-width: 97% !important;
    width: 97% !important;
    height: auto !important; }

  .acceso-directo-central.interior .bottom {
    width: 100%; }

  .acceso-directo-central.interior p {
    width: 62%; }

  .yui3-widget.aui-component.aui-panel.aui-dialog.yui3-widget-positioned.yui3-widget-stacked.yui3-dd-draggable.aui-resize {
    height: 400px !important;
    width: 314px !important;
    left: 0 !important;
    top: 106px !important;
    z-index: 1001 !important;
    min-width: 314px !important; } }

