/********************************/
/* Add your custom styles below */
/********************************/
body { margin: 0 !important; }
.region-branding,
.site-branding {
  height: 65px;
}
p a.button {
  text-decoration: none;
}
.modal-video-1 .h6 {
    bottom: -38px;
}
.boxed.unmarg--bottom {
  margin-bottom: 0;
}
.cta-8 .boxed {
  padding: 5em 2.4375em;
}
.cta-8.section--overlap:not(:first-child) [class*='col-']:last-child {
  margin-top: 10em;
}
p.lead {
  margin-bottom: 1.1304347826087em !important;
}
section.wide-grid .masonry__item {margin-bottom: 0}
.modal-video-1 .video-play-icon--sm + .h6 {
  /*bottom: -6px !important;*/
}
.modal-video-1 .video-play-icon--sm + div {
  bottom: 22px;
}
.section--overlap:not(:first-child) {
  margin-top: -5em;
}
.barchart .barchart__progress {
  height: 100%;
}
.region-sidebar-second .block { margin-bottom: 40px; }

/* Main menu */
.menu > li > span.dropdown__trigger {
  padding: 0 1.3em;
  height: 100%;
  display: inline-block;
}
.nav-bar.bg--white .menu > li > span.dropdown__trigger {
  color: #767676;
}
.nav-bar.bg--dark .menu > li > span.dropdown__trigger {
  color: #fff;
}
.menu > li ul li span.dropdown__trigger {
  width: 100%;
  color: #fff;
  display: inline-block;
  padding: 0 1em 1.3em 1em;
  transition: 0.2s linear;
  -webkit-transition: 0.2s linear;
  -moz-transition: 0.2s linear;
  opacity: .5;
  padding-left: 0;
}
.menu > li ul li:last-child span.dropdown__trigger {
  padding-bottom: 0;
}
.menu > li ul li span.dropdown__trigger:hover {
  transform: translate3d(5px, 0, 0);
  -webkit-transform: translate3d(5px, 0, 0);
  opacity: 1;
}
@media all and (max-width: 990px) {
  .menu > li > span.dropdown__trigger {
    padding: 0;
  }
}
@media all and (min-width: 991px) {
  .nav-bar.nav--transparent:not(.nav--scrolled):not(.nav--fixed) .menu > li > span.dropdown__trigger {
    color: #fff;
  }
}
.menu > li:hover > span.dropdown__trigger {
  opacity: .6;
}
.menu > li span.dropdown__trigger {
  color: #232323;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  transition: 0.2s linear;
  -webkit-transition: 0.2s linear;
  -moz-transition: 0.2s linear;
}
.menu > li > ul > li.active > a,
.menu > li > ul > li > ul > li.active > a  {
  opacity: 1;
}
.nav-bar .nav-module.right {
  padding: 0 1.625em !important;
}

/* Admin menu */

/* Search form */
.modal-content #search-block-form .input-group {
  width: 100%;
}
.modal-content .field--name-body {
  display: none;
}
/* Blog masory */
.path-blog-small-sidebar #main-container {
    margin-top: 100px;
}
.blog-sidebar {
    float: left;
    width:  100%;
}
.blog-sidebar .view-header {
  padding: 0 15px 50px;
}
div[data-overlay] h1 a, div[data-overlay] h2 a, div[data-overlay] h3 a, div[data-overlay] h4 a, div[data-overlay] h5 a, div[data-overlay] h6 a {
    color: #fff;
}
h1 a, h2 a, h3 a, h4 a, h4 a, h5 a, h6 a {
    font-family: 'Montserrat', 'Helvetica', 'Arial', sans-serif;
    text-decoration: none;
}
h2.block-title { font-size: 1em; }
footer h2.block-title {
  color: #f5f5f5;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  margin-bottom: 2.36363636363636em;
  font-size: 0.625em;
  line-height: 2.6em;
}

/* Recent news */
.view-blog-recent .views-row {
  margin-bottom: 10px;
}
.view-blog-recent .views-field-title a {
  text-decoration: none;
  font-weight: 500;
  color: #f5f5f5 !important;
}
/* Blog detail */
.media-holder {
    margin-bottom: 50px;
}
.field--name-field-tags {
    padding: 30px 0;
}
.field--name-field-tags .field--item {
    display: inline-block;
}
.blog-post__comments article.comment {
    margin-bottom:  30px;
}
.blog-post__comments .indented {
    padding-left: 20%;
}
article.comment h5.comment_title {
    margin-bottom: 0;
}
article.comment .comment__meta {
    margin-bottom: 20px;
    color: #767676;
    font-style: italic;
}
article.comment .comment-author-name a {
    color: #767676;
    text-decoration: none;
    font-style: italic;
}
.comment-form textarea,
.comment-form .filter-wrapper {
    border: none;
    min-height: 60px;
}
.comment-form .form-submit {
    position: relative;
    padding-left: 55px;
}
.comment-form .form-submit span {
    position: absolute;
    top: 8px;
    left: 20px;
}
.comment-form .filter-help {
    position: relative;
    padding-left: 50px;
}
.comment-form .filter-help span.icon {
    position: absolute;
    top: -10px;
    left: 0;
}
.comment__link {
  padding: 1em 0;
}

/* Nav Tab */
.user-logged-in nav.tabs {
  position: fixed !important;
  left: 0;
  top: 30%;
  transition: all 0.5s ease 0.25s;
  z-index: 1000;
}
.user-logged-in nav.tabs ul.tabs--primary {
  background: #fff none repeat scroll 0 0;
  border: medium none;
  list-style: outside none none;
  opacity: 0.9;
}
.user-logged-in nav.tabs ul.tabs--primary li {
  float: none;
  opacity: 0.8;
}
.user-logged-in nav.tabs ul.tabs--primary li a {
  margin-right: 0;
}
.user-logged-in nav.tabs ul.tabs--primary li.active a,
.user-logged-in nav.tabs ul.tabs--primary li:hover a {
  background: #ffb500 none repeat scroll 0 0;
  border: none;
  border-radius: 0;
  color: #fff;
}
.user-logged-in nav.tabs ul.tabs--primary li.active,
.user-logged-in nav.tabs ul.tabs--primary li:hover {
  opacity: 1;
}

/* Search result page */
body.path-search .region-content #search-form {
    margin: 40px 0
}
body.path-search .region-content ol {
    padding-left: 0;
    list-style-position: unset;
}
body.path-search .region-content li {
    padding-bottom: 40px;
}
.search-help-link {
  display: none;
}
.input-group input.form-search.form-control:last-child {
    transition: 0.2s linear;
    -webkit-transition: 0.2s linear;
    -moz-transition: 0.2s linear;
    color: #767676;
    padding-left: 1.625em;
    padding-right: 1.625em;
    height: 52px;
    border-radius: 50px;
}
.input-group input.form-search.form-control:focus {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.05);
}
#search-block-form .input-group-btn,
.search-form .input-group-btn {
  font-size: initial;
}
#search-block-form .input-group-btn .button .icon,
.search-form .input-group-btn .button .icon {
  font-size: 2em;
}
/* Footer extra */
.top-link {
  position: unset;
}

/* Slider extra */
.slider.partners-1 img {
    max-height: 1.625em;
    opacity: .3;
    margin: 0;
}
.slider.unpad .slides li {
    padding: 0;
}

/* Tabs extra */
.tabs-3 .tabs-container .tabs li {
  margin-right: 0;
}
.tabs-3 .tabs-container .tabs .tab__title {
  position: relative;
  overflow: hidden;
  width: 250px;
  height: 150px;
  text-align: center;
}
.tabs-3 .tabs-container .tabs .tab__title h5 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  -webkit-transform: translate3d(-50%, -50%, 0);
  z-index: 2;
  color: #fff;
  width: 100%;
}
.tabs-4 .tabs-container .tabs li {
  margin-right: 0;
}
.tabs-4 .tabs-container .tabs li:first-child {
  position: relative;
  left: 5px;
}
.tabs-4 .tabs-container .tabs li:first-child .btn {
  border-radius: 50px 0 0 50px;
}
.tabs-4.tabs-container .tabs li:last-child {
  position: relative;
  right: 5px;
}
.tabs-4 .tabs-container .tabs li:last-child .btn {
  border-radius: 0 50px 50px 0;
}
.tabs-4 .tabs-container .tabs li.active .btn {
  background: #232323;
}
.tabs-4 .tabs-container .tabs li.active .btn .btn__text {
  color: #fff;
}
.tabs-4 .tabs-container .tabs li:not(.active) .btn {
  border-color: #232323;
}
@media all and (max-width: 767px) {
  .tabs-4 .tabs-container .tabs li {
    margin: 0;
  }
}

/* Simplenews */
.form--merge .field--name-mail,
.simplenews-inline .block-simplenews div.field--name-mail {
  width: 66.67%;
  display: inline-block;
  float: left;
}
.form--merge .field--name-mail input,
.simplenews-inline .block-simplenews div.field--name-mail input {
  margin-top: 0;
}
.form--merge div.form-actions,
.simplenews-inline .block-simplenews div.form-actions {
  width: 33.33%;
  display: inline-block;
}
.form--merge button[type="submit"],
.block-simplenews button[type="submit"] {
  background: #425cbb;
  color: white;
}
.block-simplenews #edit-manage { display: none; }
.form--merge button[type="submit"],
.simplenews-inline .block-simplenews button[type="submit"] {
  width: 100%;
}
.form--merge button[type="submit"]:hover,
.block-simplenews button[type="submit"]:hover {
  background: #283d8c;
}
.form--merge .block-simplenews div.field--name-subscriptions,
.form--merge .block-simplenews div#edit-message {
  margin-bottom: 0;
}
footer #block-postscriptblocksubscription button.form-submit {
  padding-left: 2.25em;
}
.simplenews-inline .block-simplenews div.form-actions {
  padding-left: 2em;
}
.subscribe-5 form button[type="submit"]:last-child,
.subscribe-5 form div:last-child {
  margin-top: 2em;
}
.subscribe-5 .subscribe__feature:first-child {
  margin-top: 1em;
}
.subscribe__avatar img,
.features__avatar img {
  margin: 0;
}
.user-logged-in .block-simplenews button[type="submit"] {
  border-radius: 50px;
}

/* User registration */
.user-form button[type="submit"] {
  background: #425cbb;
  color: white;
}
.user-form button[type="submit"]:hover {
  background: #283d8c;
}
.registration-inline .user-form #edit-account {
  width: 66.67%;
  float: left;
}
.registration-inline .user-form #edit-account .form-item {
  width: 50%;
  float: left;
  padding-right: 2em;
  margin: 0;
}
.registration-inline .user-form #edit-account .form-item input {
  margin-top: 0;
}
.registration-inline .user-form #edit-actions {
  width: 33.33%;
  float: left;
}

/* Contact form */
.imagebg:not(.image--light):not(.form--dark) textarea {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  border: none;
}
.contact-form textarea {
  border-radius: 20px;
  padding: 20px;
}
button#edit-preview {
  display: none;
}

/* User page */
.path-user nav.tabs {
  padding-top: 100px;
}
#user-login-form,
#user-register-form,
#user-pass {
    margin-bottom: 100px;
}
#user-login-form .form-item,
#user-register-form .form-item,
#user-pass .form-item {
    margin: 20px 0;
}
#user-login-form button.button {
    position: relative;
    padding-left: 60px;
  background: #425cbb;
}
.user-pass button.button {
  background: #425cbb;
}
#user-login-form button.button span {
    position: absolute;
    top: 12px;
    left: 30px;
  font-size: 2em;
}
.login-page #block-userlogin ul {
  display: none;
}
.login-page #block-userlogin #user-login-form,
.login-page #user-register-form,
.login-page #user-pass {
  margin-bottom: 50px;
}
.viewsreference--view-title {
  display: none;
}

/* Toolbar */
nav.toolbar-lining {
  min-height: unset !important;
}

/* Piechart */
.piechart-3 .piechart__overlay {
  position: absolute;
  top: 40%;
  left: 5%;
  box-shadow: none;
}


body.toolbar-fixed .toolbar-oriented .toolbar-bar{
height: 79px;
}

.contextual-region .contextual .contextual-links a{
color: #000 !important;
}

.contextual-region.block.clearfix{
overflow: visible;
}

.field--name-field-imagenes {
  margin: 2em 0;
  /* text-align: center; */
}

.field--name-field-imagenes .field--item {
  max-width: calc(25% - 15px);
  margin: 5px;
  display: inline-block;
}
.field--name-field-imagenes img {
  margin: 0;
}
@media all and (max-width: 990px) {
  .field--name-field-imagenes .field--item {
    max-width: calc(33% - 15px);
  }
}

@media all and (max-width: 767px) {
  .field--name-field-imagenes .field--item {
    max-width: calc(50% - 15px);
  }
}


@media all and (max-width: 500px) {
  .field--name-field-imagenes .field--item {
    max-width: 100%;
    margin: 5px 0;
  }
}

blockquote{
  font-size: 1em;
  margin-left: 50px;
  margin-bottom: 1.625em;
  line-height: 1.625em;
}

.paragraph ul, .paragraph ol{
  list-style: circle;
  margin-left: 10px;
}

/* .menu > li a {
  color: #232323 !important;
}

 .nav-bar.nav--transparent:not(.nav--scrolled):not(.nav--fixed) .menu > li > span.dropdown__trigger {
   color: #232323;
 }
.menu > li ul li a {
  color: #fff !important;
} */

.field--name-field-galeria-fotos {
  text-align: center;
}

.field--name-field-galeria-fotos .view-content .views-row .views-field-field-imagenes ul li{
  list-style: none;
  display: inline-block;
  margin: 5px;
}

.field--name-field-galeria-fotos .view-content .views-row .views-field-field-imagenes ul li img{
  width: 230px;
  height: auto;
}

.page-node-type-article [class*='transition--']{
opacity: 1 !important;
}

.language-switcher-language-url ul.links li,
#block-topmenuicons,
.language-switcher-language-url{
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

.language-switcher-language-url ul.links li.en{
  display: none;
}