/*****
Theme Name: ARC2020 theme
Theme URI: http://www.arc2020.eu/
Description: Custom child theme for ARC2020 website.
Author: ARC2020
Author URI: http://www.arc2020.eu/
Template: mh-magazine
Version: 1.0.0
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*****/

/* Fonts
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: local(''),
         url('fonts/open-sans-v34-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('fonts/open-sans-v34-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: local(''),
         url('fonts/open-sans-v34-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('fonts/open-sans-v34-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: local(''),
         url('fonts/open-sans-v34-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('fonts/open-sans-v34-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: local(''),
         url('fonts/open-sans-v34-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('fonts/open-sans-v34-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 400;
    src: local(''),
         url('fonts/open-sans-v34-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('fonts/open-sans-v34-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

@font-face {
    font-family: 'FontAwesomeBrands';
    font-display: block;
    font-weight: 400;
    src: url("fonts/fontawesome/fa-brands-400.woff2") format("woff2"), url("../fonts/fontawesome/fa-brands-400.ttf") format("truetype");
}

/* General
–––––––––––––––––––––––––––––––––––––––––––––––––– */
body, html { font-family: 'Open Sans', Helvetica, Arial, sans-serif; }
a { color: #356000; text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus { outline-width: 0; }

.mh-container, .mh-container-inner {
    max-width: 1280px;
}

/* Navbar
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.mh-main-nav li {
  font-size: 12px;
}
.mh-main-nav-wrap li a:hover {
  text-decoration: none;
}

@media screen and (min-width: 768px) {
    .mh-preheader {
        display: none;
    }
}

/* Homepage
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.mh-home-2.mh_magazine_custom_posts .mh-custom-posts-thumb-xl {
  max-width: 335px;
}
.mh-custom-posts-widget .mh-meta.entry-meta {
  display: none;
}

/* Newsletter subscribe form (MailChimp)
–––––––––––––––––––––––––––––––––––––––––––––––––– */
form#mc-embedded-subscribe-form {
  margin: 20px 0 0;
}
form#mc-embedded-subscribe-form h2 {
  font-size: 1rem;
  margin: 0;
}
.indicates-required {
  font-size: 0.9rem;
  color: #999;
  margin: 0 0 20px;
}
.mc-field-group {
  margin: 0 0 10px;
}
.mc-field-group label,
.mc4wp-form-fields label {
  display: block;
}
.mc4wp-form input.button,
.mc4wp-form-fields input.button {
  width: 34%;
  margin-left: 2%;
  min-width: 0;
  padding: 6px;
  float: right;
}

/* Category
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.entry-content h3.widget-title {
  color: #000;
  padding: 10px 25px 10px 15px;
  border-left: 10px solid #356000;
  background: #f5f5f5;
  font-size: 0.875rem;
  text-transform: uppercase;
}.entry-content h3.widget-title a {
  color: #000;
  font-weight: 700;
}
.mh-slider-widget ul,
ul.mh-custom-posts-widget,
ol.flex-control-paging {
  margin-left: 0;
  margin-bottom: 0;
}
.mh-slider-widget ul .mh-slider-caption a,
.mh-slider-widget ul .mh-slider-caption a:hover {
  color: #fff;
}
.entry-content .mh-custom-posts-thumb-xl {
  float: left;
  max-width: 335px;
  margin: 0 1.25rem 0 0;
}

/* Author
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.mh-author-box-avatar {
    margin: 0 25px 25px 0;
}
.mh-author-box-bio p {
    margin-bottom: 1.25rem;
}

/* Tables */
ul.table-partner-logos {
    display: grid;
    list-style: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
    align-items: center;
}

/* Footer
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.mh-copyright-wrap {
  overflow: hidden;
}
.mh-copyright-wrap .mh-container.mh-container-inner {
  float: left;
  width: auto;
}
nav.mh-footer-nav {
  float: right;
  background: #2a2a2a;
  font-size: 0.6875rem;
  padding: 10px 25px 13px;
  color: #999;
  border-top: 3px solid rgba(255, 255, 255, 0.3);
}
.mh-footer-nav li a {
  height: auto;
  padding: 0;
}
.mh-navigation.mh-footer-nav li {
  margin: 0 0 0 10px;
}
.mh-navigation.mh-footer-nav li a {
  color: #999;
}
.mh-navigation.mh-footer-nav li a:hover {
  color: #ccc;
}
.menu-footer-container,
ul#social-media {
  float: left;
}
ul#social-media a img {
  width: 20px;
  height: 20px;
}
#menu-footer {
  padding: 4px 0 0;
  margin: 0 10px 0 0;
  text-transform: none;
}
#menu-footer li {
  font-size: 12px;
}

/* The Events Calendar
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.tribe-events-view--widget-events-list .tribe-events-widget-events-list__view-more {
    display: none;
}

/* Contact Form 7
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.wpcf7-form p {
    margin-bottom: 1.3rem;
}
.wpcf7-form label {
    display: block;
}

/* Tabs
–––––––––––––––––––––––––––––––––––––––––––––––––– */
body .responsive-tabs ul.responsive-tabs__list {
    font-size: 13px;
    margin: 0;
}
body .responsive-tabs .responsive-tabs__list__item,
body .responsive-tabs .responsive-tabs__list__item:hover {
    text-decoration: none;
    margin: 0 4px 0 0;
    padding: 4px 10px;
    color: #5E5E5E;
    line-height: 24px;
    background-color: #EFEFEF;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 0;
}
body .responsive-tabs .responsive-tabs__list__item--active,
body .responsive-tabs .responsive-tabs__list__item--active:hover {
    cursor: text;
    color: #FFF;
    background-color: #5E5E5E;
    top: 0;
}
body .responsive-tabs .responsive-tabs__list__item--active:after {
    content:'';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    margin: 0 auto;
    width: 0;
    height: 0;
    border-top: 5px solid #5E5E5E;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}
body .responsive-tabs .responsive-tabs__panel {
    border: none;
    padding: 30px 0 0;
}

/* gTranslate language switcher
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.mh-header-bar-langbox {
    margin-left: 0;
    padding: 0 20px;
}
.mh-header-bar-langbox .mh-header-search-bottom {
    display: flex;
    justify-content: flex-end;
}
.mh-header-bar-langbox .mh-header-search-bottom .search-form {
    margin-right: 5px;
}
#langbox {
    display: flex;
    gap: 5px;
    margin: 2px 0 0 10px;;
}
#langbox a {
    margin-right: 5px;
}
.mh-header-bar-bottom-left {
    margin-left: 0;
}
@media screen and (max-width: 767px) {
    .mh-header-bar-langbox {
        padding: 0;
    }
    .mh-header-bar-langbox .mh-header-search-bottom {
        display: flex;
        justify-content: space-between;
    }
    .mh-header-bar-langbox .mh-header-search-bottom .search-form {
        margin: 0 20px;
    }
    #langbox {
        margin: 2px 20px 0 0;
    }
}

/* Block - Accordion
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.sow-accordion .sow-accordion-panel .sow-accordion-panel-content .sow-accordion-panel-border {
    background-color: #fafafa !important;
}
.sow-accordion .sow-accordion-panel .sow-accordion-panel-content .sow-accordion-panel-border p:last-of-type {
    margin-bottom: 10px;
}

/* Icons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.sm-icons a {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 0;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.sm-icons a:before {
    font-family: 'FontAwesomeBrands';
    font-size: 19px;
}
.sm-icons.sm-bluesky a:before {
    content: '\e671';
}
.sm-icons.sm-linkedin a:before {
    content: '\f0e1';
}
.sm-icons.sm-instagram a:before {
    content: '\f16d';
}

/* YouTube responsive */
.youtube-embed {
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 56.25%;
    padding-top: 25px; 
    height: 0;
}
.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Gallery */
#gallery-contributors .gallery {
    display: grid;
    grid-template-columns: repeat(4, 150px);
    gap: 15px;
}
#gallery-contributors .gallery-item {
    max-width: 100%;
    margin: 0;
}
#gallery-contributors .gallery-icon img {
    min-width: 150px;
}
#gallery-contributors figcaption {
    position: relative;
    background: none;
    color: #356000;
    opacity: 1;
    font-weight: 600;
}

@media screen and (max-width: 992px) {
    #gallery-contributors .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    #gallery-contributors .gallery-icon img {
        min-width: 100%;
    }
}
@media screen and (max-width: 480px) {
    #gallery-contributors .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}