/*------------------------------- MOBILE --------------------------------- */
/* Moviles muy pequeños */
@media (max-width : 480px) 
{
    #banner-mobile{
        display: block;
    }
    .xxs-hidden{
      display: none;
    }
    header .logos{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    height: inherit;
    }
      /* NEWLSETTER */
    input, textarea, .uneditable-input,.newsportada input[type="text"], .newsfooter input[type="text"]{
      width: 200px;
      margin-left: -20px;
    }

    .article-header h2{
      font-size: 36px;
      line-height: 36px;
    }
    input, textarea, .uneditable-input, .newsportada input[type="text"], .newsfooter input[type="text"]{
      margin-left: 5px;
      width: 182px;
    }
    .article {
		max-width: 280px;
        -ms-flex-flow: column wrap;
            flex-flow: column wrap;
    }
	.article p, .article blockquote {
		margin: 0 0 18px;
		height: auto;
		width: 100%;
	}
	.article blockquote {
		width: 90%
	}

    .hemeroteca .categories-list{
        margin: 0;
    }
    .hemeroteca .row{
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    .hemeroteca .row >.column{
        margin-right:0;
    }
    .hemeroteca .column{
        width: 100%;
    }
    .hemeroteca .column img {
        width: 207px;
        height: 280px;
    }
}
a:link, a:visited{
  color:#232D4B;
}
.img-text
{
  /*position: absolute;*/
  z-index: 2;
  color:#fff;
  font-family: 'DINPro Bold';
  font-size: 26px;
  background-color: #ab2a3e;
  padding: 12px 0px;
  top:199px;
  text-align:center;
  /*width: 168px;*/
}
.home-editorial-img
{
  width: 100%;
}
.staff h4{
  text-align: center;
}
/* Móviles en horizontal o tablets en vertical
   ------------------------------------------------------------------------- */
@media (max-width: 768px){
    #banner-mobile{
        display: block;
    }
   .col-xs-1 {
    width: 8.33333333%;
    }
  .col-xs-2 {
    width: 16.66666667%;
    }
  .col-xs-3 {
    width: 25%;
    }
  .col-xs-4 {
    width: 33.33333333%;
    }
  .col-xs-5 {
    width: 41.66666667%;
    }
  .col-xs-6 {
    width: 50%;
    }
  .col-xs-7 {
    width: 58.33333333%;
    }
  .col-xs-8 {
    width: 66.66666667%;
    }
  .col-xs-9 {
    width: 75%;
    }
  .col-xs-10 {
    width: 83.33333333%;
    }
  .col-sxs-11 {
    width: 91.66666667%;
    }
  .col-xs-12 {
    width: 100%;
    }
  .col-xs-offset-3{
        left: 25%;
    }
 .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
      position: relative;
      min-height: 1px;
      float: left;
  }

  .col-xs-12 img{
    width: 100%;
  }
.portada *
{
    padding: 0;
    /*margin: 0;*/
 }

  .article-content p,.article-header h2{
    margin-left: 0;
  }
  /*#content{
    padding-right: 20px;
  }*/

  .portada-destacados-left,.article-header,.article-content{
    margin: 0 20px;
    text-align: justify;
  }

#Mmenu1, #Mmenu2 {
    border-right: none;
}
.editorial .item-pageeditorial {
    margin-left: 20px;
    margin-top: 0;
}
/* -- MENU --*/
  #close-mobile-menu{
    display: block;
  }
  #mobile-icon{
    display: block;
    margin:20px;
    float:right;
    cursor: pointer;
  }
  #mobilemenu{
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 20px;
    
  }
  #mobilemenu ul{
     margin: 0;
  }
  #mobilemenu li
  {
    list-style: none;
    padding: 0;
    line-height: 40px;
    padding-left: 20px;
    -webkit-transition: border 1s ease;
    transition: border 1s ease;
  }
    #mobilemenu li:hover{
      background-color: #4285f4; 
      color: #FFF ;
      border-right:20px #1D51A7 solid ;
      font-weight: bold;
    }

    #mobilemenu li::last-child{
     
    }
    #mobilemenu li a{
      text-decoration: none;
      color: inherit;
    }
    body{
      padding: 0;
    }
    header {
        background: white;
        height: inherit;
        width: 100%;
    }
    .container{
     
    }
    .row.top{
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
    }
    .xs-left{
      padding-left:20px;
    }
    .xs-right{
      padding-right: 20px;
      margin-left: auto;
    }
    header .top,header .logos{
      background: #dce7f2;
    }
    header .logos{
      height: 130px;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
    }
    header .logos img {
      width: inherit!important;
      height: inherit!important;
    }
  .newsfooter{
    padding: 30px 0;
    height: auto !important;
  }
  .newsfooter h2{
    text-align: center;
    float: none;
    width: 100%;
    margin-left: 0;
  }
  .xs-hidden{
    display: none;
  }
  .newsfooter .input-group {
    text-align: center;
  }

  .col-xs-3{
    width: 20%;
  }
  .col-xs-9{
    width: 80%;
  }

    input, textarea, .uneditable-input, .newsportada input[type="text"]{
    margin-left:16%;
  }

/**************************************************************************************************************/
  .home-article
  {
    width: 100%;
  }

  .contenido-right
  {
    width: 100%;
  }
 .item-page {
    padding: 0 20px;
 }
   .portada .item-page{
      padding: 0;
  }
    footer{
        position: relative;
        width: 100%;
    }
    .newsfooter
    {
        width: 100%;
    }
    .article{
        padding: 0;
    }
    .blog-featured, .blog{
        padding: 0 20px;
    }
    
    /*NEWSLETTER FOOTER*/
    .newsfooter .input-group
    {
        padding: 0!important;
    }
    .newsfooter input[type="text"]{
        margin-left: inherit;
    }
    /* HOME */
    .col-flex{
        width: 100%;
    }

    /*  */
    .contenido-right
    {
        padding: 0 10px;
    }

    .col-flex-full .general_module h2{
        width: 100%;
        text-align: center;
    }
    /* Portada Newsletter */
    
    element.style {
        border: 0 none;
        height: 600px;
        overflow: hidden;
        width: 100%;
    }
    *, *::after, *::before {
        box-sizing: inherit;
    }
    *, *::after, *::before {
        box-sizing: inherit;
    }
    *, *::after, *::before {
        box-sizing: inherit;
    }
    body {
        color: #373a3c;
        font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
        font-size: 1rem;
        line-height: 1.5;
    }
    html {
        font-size: 16px;
    }
    html {
        font-family: sans-serif;
    }
    input, textarea, .uneditable-input, .newsportada input[type="text"], .newsfooter input[type="text"]
    {
        margin: 0;
        border-radius: 4px 0 0 4px;
    }
    .newsfooter input[type="submit"] {
        margin: 0 0 0 -5px !important;
    }
    .newsfooter div.acymailing_module, .newsfooter .acymailing_module div{
        margin-top: 9px;
    }
    .tabs-content > div .row {
           padding: 0;
           margin-left: 12px;
    }

    .footer-hemeroteca{
        margin-bottom: 10px;
    }
    .img-text{
        width: inherit;
        display: block;
    }
    .img-text{
        font-family: "DINPro Bold";
        font-size: 1.5em;
        margin: 0;
        padding: 5px 0px;
        text-align: center;
        width: 100%;
    }
    .portada .tabs-content > div   
    {
        max-height: 250px;
        min-height: 250px;
    }
    .portada .article-header h2{
        line-height: .9em;
    }
    header .mainmenu{
        margin: 0;
    }
   .portada .contenido-right  h3 > a {
        margin-left: 10px;
        display: inline-block;
    }
    .footer-hemeroteca h3 a:link, .footer-hemeroteca h3 a:visited
    {
        color:#FFF;
        font-size: 1.1em;
    }
    /* Aceptar las cookies DIV */
    #ca_banner{
        height: auto!important;
    }
    .carousel.colums-2 img{
        min-height: auto!important;
    }
    /* lEGISLACION 2 COLUMNAS */
     .legislacion .article > .left-column {
        min-width: inherit; 
        max-width: inherit; 
        padding: 0;
        margin: 0; 
    }
    .legislacion .article, .legislacion .item-page, .legislacion .item-page > .article > p{
        min-width: inherit; 
        max-width: inherit;
    }
    .article{
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    .blog-featured img, .blog img{
        padding: 0;
    }
    .left-column {
        border-radius: 0;
        float: none;
        height: inherit;
        width: inherit;
        -ms-flex-preferred-size: inherit;
        flex-basis: inherit; 
    }
    .right-column
    {
        padding: 20px;
        width: auto; 
        -ms-flex-preferred-size: inherit;
        flex-basis: inherit; 
        border: 0;
    }
     .legislacion .article > .right-column{
        min-width: inherit; 
        max-width: inherit; 
    }
    .c_autonoma .left-column{
        display: none;
    }
    .c_autonoma .right-column{
        width: auto;
        -ms-flex-preferred-size: inherit;
            flex-basis: inherit;
        padding: 0;
    }
    .sumario h3, .sumario a>div>h4{
        padding: 9px;
    }
}
/* mobiles apaisados */
@media  (min-width: 481px) and (max-width: 667px) and (orientation: landscape){
    .portada .xs-hidden{
        display: block;
    }
    .ultima-revista{
        background-color: #CCC;
    }
    .home-revista{
        width: 35%;
    }
    .home-separator{
        width: 5%;
    }
    .home-article{
        width: 60%;
        margin-left: -10px;
    }
    .img-text{
        position: absolute;
        width: 128px;
    }
    .legislacion .article > .left-column {
        min-width: inherit; 
        max-width: inherit; 
        padding: 0;
        margin: 0; 
    }
    .legislacion .article, .legislacion .item-page, .legislacion .item-page > .article > p{
        min-width: inherit; 
        max-width: inherit;
    }
    .article{
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    .blog-featured img, .blog img{
        padding: 0;
    }
    .left-column {
        border-radius: 0;
        float: none;
        height: inherit;
        width: inherit;
        -ms-flex-preferred-size: inherit;
        flex-basis: inherit; 
    }
    .right-column
    {
        padding: 20px;
        width: auto; 
        -ms-flex-preferred-size: inherit;
        flex-basis: inherit; 
        border: 0;
    }
    .legislacion .article > .right-column{
        min-width: inherit; 
        max-width: inherit; 
    }
    .c_autonoma .left-column{
        display: none;
    }
    .c_autonoma .right-column{
        width: auto;
        -ms-flex-preferred-size: inherit;
            flex-basis: inherit;
        padding: 0;
    }
}
/* TABLETS */
@media (min-width:600px) and (max-width:768px) and (orientation: portrait){
    .portada .xs-hidden{
        display: block;
    }
    .ultima-revista{
        background-color: #CCC;
    }
       .home-revista{
        width: 35%;
    }
    .home-separator{
        width: 5%;
    }
    .home-article{
        width: 60%;
        margin-left: -10px;
    }
    .img-text{
        position: absolute;
        width: 128px;
    }
    .portada .contenido-right  h3 > a{
        margin: 0;
    }
}
@media (min-width:769px) and (max-width:966px) and (orientation: landscape){
    .home-revista{
        width: 35%;
    }
    .home-separator{
        width: 5%;
    }
    .home-article{
        width: 60%;
        margin-left: -15px;
    }
    .img-text{
        position: absolute;
        width: 128px;
    }
    .newsfooter h2{
        margin-left: 15px;
        font-size: 19px;
    }
    .newsportada input[type="text"], .newsfooter input[type="text"]{
        width: 274px;
    }
    .portada .article-header h2 {
        font-size: 1.7em;
        line-height: 0.9em;
    }
    .portada .contenido-right  h3{
       padding: 6px 10px;
    }
    .portada .contenido-right  h3 > a{
        margin: 0;
    }
}
/* Tablets en horizonal y escritorios normales
   ------------------------------------------------------------------------- */
@media (min-width: 1024px) {
    .portada .img-text{
        position: absolute;
        width: 168px;
    }
    .portada .contenido-right  h3{
       padding: 6px 10px;
    }
    .portada .contenido-right  h3 > a{
        margin: 0;
    }
}
