.newsletter .newsletter-header-img.row {
  margin: 2em -15px;
}
.img-xunta-newsletter {
  text-align: center;
  margin-bottom: 4em;
}
.img-logo-newsletter {
  text-align: center;
}
@media screen and (min-width: 992px) {
  .img-xunta-newsletter {
    text-align: left;
    margin-bottom: 0;
  }
  .img-logo-newsletter {
    text-align: right;
  }
}
/*Boletin admin pantalla*/

.page-admin-config-newsletter .region-content {
  padding: 0px 15px;
}

.page-admin-config-newsletter #newsletter-header a {
  float: left;
}

.page-admin-config-newsletter #newsletter-header p a {
  float: none;
}

.page-admin-config-newsletter #newsletter-header a.pull-right {
  float: right;
}

.page-admin-config-newsletter #newsletter-header {
  clear: both;
  overflow: hidden;
}

.page-admin-config-newsletter #newsletter-header p {
  clear: both;
  float: left;
  margin: 25px 0px 0px;
}

.page-admin-config-newsletter .region-content h2 {
  font-size: 22px;
  text-transform: none !important;
}

.page-admin-config-newsletter .region-content h2 span {
  padding-bottom: 5px;
  background-position: 5px 6px;
}

.page-admin-config-newsletter .notices-row {
  margin: 0px;
}

.page-admin-config-newsletter .documents-document {
  padding-bottom: 5px;
}

.page-admin-config-newsletter .button-plus-content {
  border: none;
  border-top: 1px solid #387DA1 !important;
  text-align: center;
  width: 100%;
  border-radius: 0px;
  border: none;
  padding-top: 0px;
}

@media screen and (max-width: 768px) {

  .page-admin-config-newsletter .footer_control {
    font-size: 1.5em;
  }

  .page-admin-config-newsletter #newsletter-documents .documents-document a {
    font-size: 1.5em;
  }

  .page-admin-config-newsletter .documents-document {
    padding-bottom: 9px;
    margin-bottom: 0px;
  }

  .page-admin-config-newsletter .notices-notice h3 {
    margin-top: 5px;
  }

  .page-admin-config-newsletter .date {
    font-size: 1.5em;
  }

  #newsletter-header img {
    max-width: 100%;
  }

  .page-admin-config-newsletter #newsletter-header a {
    width: 70%;
  }

  .page-admin-config-newsletter #newsletter-header a.pull-right {
    width: 30%;
  }

  .page-admin-config-newsletter #newsletter-header .collapse {
    display: block;
  }

  p.entrada-biblio, p.enlace-princ-biblio {
    padding: 10px;
  }

}

.page-boletin section#block-system-main {
  padding: 0px 15px 20px;
}

.page-boletin-ver .header h2 {
  font-size: 20px;
  text-transform: none;
}

.page-boletin-ver .notices-row{
  clear: both;
  margin: 10px 0 20px !important;
  overflow: hidden;
  width: 100%;
}

.page-boletin-ver .button-plus-content {
  border-top: 1px solid #387DA1 !important;
  text-align: center;
  width: 100%;
  border-radius: 0;
  padding-top: 0px;
}

.page-boletin-ver .button-plus-content a {
  background: url("../../../../../all/modules/custom/newsletter/imaxes/ver_mas.png") no-repeat 6px 2px;
}

.page-boletin-ver .notices-notice .date {
  font-size: 14px !important;
}

.page-boletin-ver .notices-notice h3 {
  margin-top: 5px;
}

.page-boletin-ver .notices-notice h3{
  font-size: 17px !important;
  font-weight: bold !important;
}

#newsletter-header {
  padding-top: 10px;
}

#newsletter-header table {
  width: 100% !important;
}

#newsletter-header .logo-biblio {
  width: 70%;
  float: left;
}

#newsletter-header .logo-xunta {
  width: 30%;
  float: right;
  text-align: right
}

#newsletter-header p {
  font-size: 14px;
}

#newsletter-subject h1 {
  color: #333;
  font-size: 22px;
  margin-left: 10px;
}

#newsletter-body {
  background-color: #e0e1e0;
  padding: 20px;
  color: #333;
  margin-bottom: 30px;
}

#newsletter-body p {
  margin-top: 0px;
  margin-bottom: 10px;
  line-height: 22px;
}

#newsletter-body p,
#newsletter-body ul li,
#newsletter-body ol li {
  font-size: 14px;
  color: #000;
}

#newsletter-body ul,
#newsletter-body ol {
  line-height: 26px;
  list-style: auto !important;
  padding-left: 30px;
}

#newsletter-footer {
  font-size: 14px;
  margin-top: 40px;
}

.header h2 {
  padding: 8px 0 7px 0px;
  background-color: #e0e1e0;
}

.header h2 span {
  margin-right: 10px;
  padding-bottom: 7px;
  padding-left: 42px;
  padding-top: 7px;
}

.notices-header h2 span {
  background: url("../../../../modules/custom/newsletter/imaxes/ico_avisos_titulo.png") no-repeat 5px 4px;

}

.documents-header h2 span {
  background: url("../../../../modules/custom/newsletter/imaxes/ico_documentos_titulo.png") no-repeat 7px 4px;
}

.notices-row {
  width: 100%;
  clear: both;
  overflow: hidden;
  margin: 10px 0px 20px;
  padding-bottom: 10px;
}

.notices-notice {
  text-align: justify;
  float: left;
  margin: 0 0.5%;
  width: 99%;
}

.img-notice {
  float: left;
  border-right: 10px solid #fff;
  margin-bottom: 5px;
}

.notices-notice img {
  max-width: 80px;
  border: 2px solid #fff;
  border-radius: 4px;
  background-color: #e0e1e0;
  padding: 5px;
}

.notices-notice h3 {
  font-size: 17px;
  margin-top: 5px;
  font-weight: bold;
}


.notices-notice h3 a {
  float: none;
  background-color: transparent;
}

.notices-notice .date {
  border-bottom: 1px solid #c4c4c4;
  color: #666666;
  font-size: 12px;
  margin-top: 5px;
}

.notices-notice .field-aviso-entradia {
  color: #333;
  font-size: 14px;
}

.date-date {
  background-color: #333;
  color: #fff;
}

.documents-header {
  margin-bottom: 20px;
}

.documents-document {
  background: url("../../../../modules/custom/newsletter/imaxes/ico_link.png") no-repeat 0px 0px;
  margin-bottom: 7px;
  margin-top: 15px;
  margin-left: 20px;
  padding-bottom: 5px;
  padding-left: 30px;
}

.documents-document a {
  color: #333;
}

.button-plus-content {
  text-align: center;

}

.button-plus-content a {
  background: url("../../../../modules/custom/newsletter/imaxes/ver_mas.png") no-repeat 6px 2px;
  color: #fff;
  display: block;
  font-size: 15px;
  height: 27px;
  line-height: 27px;
  margin: 0 auto;
  width: 150px !important;
}


.field-aviso-entradia {
  font-size: 14px;
}


@media screen and (width: 480px) and (max-width: 991px) {

  #newsletter-header .logo-biblio img {
    width: 95%;
  }

  #newsletter-header .logo-xunta img {
    width: 90%;
  }

}


@media screen and (max-width: 768px) {

  #newsletter-header .logo-biblio img {
    width: 95%;
  }

  #newsletter-header .logo-xunta img {
    width: 90%;
  }

  .notices-notice {
    float: none;
    width: 100%;
  }

  body {
    font-size: 80% !important;
  }

}

@media screen and (max-width: 480px) {

  .img-notice {
    border-right: none;
    float: none;
    margin-bottom: 5px;
    text-align: center;
  }

  .notices-notice img {
    width: auto;
    height: auto;
  }

  .notices-notice img {
    max-width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 520px) {
  .img-xunta-newsletter img {
    width: 100%;
  }
}

.button-plus-content a:hover {
  color: #fff;
}

.header h2 {
  border-bottom: 1px solid #387DA1;
}

.notices-notice h3 a{
  color: #387DA1;
}

.button-plus-content {
  border-top: 1px solid #387DA1;
}

.button-plus-content a,
.header h2 span,
.date-time {
  background-color: #387DA1;
}

.page-boletin-ver .button-plus-content a {
  background-color: #387DA1 !important;
}

#newsletter-newsubscriber-form .form-item-accept-lopd input {
  margin-left: -20px !important;
  zoom: normal;
}
