/*
 Theme Name:   Bridge Child
 Description:  Bridge child theme
 Author:       Be Bold
 Author URI:   http://be-bold.co.uk/
 Template:     bridge
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  bridge
*/


@font-face {
    font-family: 'Altone Variable';
    src: url('./fonts/Altone-VF.eot');
    src: url('./fonts/Altone-VF.eot?#iefix') format('embedded-opentype'),
         url('./fonts/Altone-VF.woff2') format('woff2'),
         url('./fonts/Altone-VF.woff') format('woff'),
         url('./fonts/Altone-VF.ttf')  format('truetype'),
         url('./fonts/Altone-VF.svg#Altone Variable') format('svg');
}

@font-face {
    font-family: 'Altone Variable Oblique';
    src: url('/fonts/Altone-Oblique-VF.eot');
    src: url('/fonts/Altone-Oblique-VF.eot?#iefix') format('embedded-opentype'),
         url('/fonts/Altone-Oblique-VF.woff2') format('woff2'),
         url('/fonts/Altone-Oblique-VF.woff') format('woff'),
         url('/fonts/Altone-Oblique-VF.ttf')  format('truetype'),
         url('/fonts/Altone-Oblique-VF.svg#Altone Variable') format('svg');
}


.altone {
    font-family: 'Altone Variable';
}
.altone-oblique {
    font-family: 'Altone Variable Oblique';
}


/* Custom filters */
.custom-posts-filters {
    display: flex;
    align-items: baseline;
    position: relative;
}
.button-filter {
    background: white;
    border: 1px solid #ccc;
    padding: 15px;
    margin: 10px;
}
@media screen and (max-width: 1000px) {
    .custom-posts-filters {
        flex-direction: column;
    }
    .button-filter {
        margin: 0;
        width: 100%;
    }
    .filter-toggle {
        width: 100%;
        display: block;
    }
    .filter-toggle:after {
        content: '+';
        position: absolute;
        right: 0;
        width: 30px;
        height: 30px;
    }
    .filter-toggle.active:after {
        content: '-';
    }
    .custom-post-filters-buttons {
        display: none;
    }
}
.button-filter.active {
    color: rgb(255, 255, 255);
    border-color: rgb(20, 58, 86);
    background-color: rgb(20, 58, 86);
}
.custom-posts-content .card {
    max-width: 22%; 
    margin: 10px;
    background:white;
}
@media screen and (max-width: 1000px) {
    .custom-posts-content .card {
        max-width: 46%;
    }
}
@media screen and (max-width: 600px) {
    .custom-posts-content .card {
        max-width: 100%;
    }
}
.custom-posts-content .card h6 {
    position: relative;
    margin-bottom: 20px;
}
.custom-posts-content .card h6:after {
    content: '';
    width: 10px;
    height: 2px;
    background-color: rgb(20, 58, 86);
    position: absolute;
    bottom: -10px;
    left: 0;
}
.custom-posts-content .card .post-feature-image {
    height: 150px;
    width: 100%;
    background-size: cover;
    background-position: center;
}
.custom-posts-content .card .post-excerpt {
    padding: 20px;
}




/* Custom fixed bottom nav */
/* .dropdown-toggle span {
    display: none;
}
.dropdown-list {
    display: block !important;
} */


/* Style the dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 0 -15px;

  }
  @media screen and (min-width:768px) {
    .dropdown {
        display: flex !important;
        flex-direction: row !important;
        width: 100%;
    }
    .dropdown-content {
        display: block !important;
        display: flex !important;
        flex-direction: row !important;
        padding: 0 !important;
    }
  }

  /* Style the dropdown button */
  .dropbtn {
    padding: 10px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    background-color: transparent;
    color: white;
    display: block;
    width: 100%;
    text-align: left;
  }
  .dropbtn:after {
    content: '...';
    position: absolute;
    right: 0;
  }

  /* Style the dropdown content (hidden by default) */
  .dropdown-content {
    display: none;
    flex-direction: column;
    position: absolute;
    bottom: 0;
    background-color: #f9f9f9;
    min-width: 265px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    z-index: 1;
    background-color: #1C3755;
    padding: 10px;
  }

  /* Style the dropdown links */
  .dropdown-content a {
    padding: 12px 16px;
    display: block;
    text-decoration: none;
    color: #333 !important;
    display: flex;
    flex-direction: column;
    background-color: white;
  }

  /* Change color on hover */
  .dropdown-content a:hover {
    background-color: #ddd;
  }