/* 
 * Styles for Media Center Shortcodes
 */



/* 
 * Featured Media Content Slider 
 */

/* Swiper Slider for Media Center*/

	@import url("https://unpkg.com/swiper/swiper-bundle.min.css");

   .guppe-mc.featured-media   .swiper-container {
      width: 100%;
      height: 100%;
    }

   .guppe-mc.featured-media   .swiper-slide {
      display: -webkit-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      -webkit-justify-content: center;
      justify-content: center;
      -webkit-box-align: center;
      -ms-flex-align: center;
      -webkit-align-items: center;
      align-items: center;
    }

/* Swiper Overrides */


/* Updated 11/09/2021 ~DWC Bagination CSS had broken - causing bullets to fall to bottom of container */
.guppe-mc.featured-media .swiper-horizontal>.swiper-pagination-bullets, 
.guppe-mc.featured-media .swiper-pagination-bullets.swiper-pagination-horizontal{

    bottom: unset;
    top: 0;
    background-color: #0c2e4d;
    border-bottom: 2px solid #0c2e4d;
    opacity: .8;
}

span.swiper-pagination-bullet {
    background: #36a2b9;
    opacity: 1;
}

span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: white;
}


.guppe-mc.featured-media  .swiper-button-next, 
.guppe-mc.featured-media  .swiper-button-prev {
    position: absolute;
    top: 28px;
    width: 20px;
    height: 18px;
    color: white;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 18px;
    font-weight: 900;
}







/* Global */
.guppe-mc {
    font-size: 18px;
    line-height: 28px;
}

.guppe-mc h2 {
    font-family: Lora;
    font-weight: 400;
    margin-bottom: 20px;
}





/* Featured Media */ 
.guppe-mc.featured-media span.photo-credit {
    font-size: 13px;
    line-height: 16px;
    color: #808285;
    text-align: right;
    display: block;
}

.guppe-mc.featured-media span.news-outlet {
    font-weight: 800;
}

.guppe-mc.featured-media span.news-date{
	color: #808285;
}






/* All Media */

/* FacetWP Filters & More */

    /*.container,*/
    div.five-col-flex .facet-wrap {
      display: flex;
      flex-wrap: wrap;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      align-content: center
    }

    div.five-col-flex .facet-wrap div.facetwp-type-dropdown{
      flex: 0 0 auto;
      margin: 10px;
    }



    /* Select Boxes */
    div.facetwp-type-dropdown select {
      /* styling */
        border: 1px solid;
        border-radius: 0px;
        min-width: 200px;

      /* reset */
          margin: 0;      
          -webkit-box-sizing: border-box;
          -moz-box-sizing: border-box;
          box-sizing: border-box;
          -webkit-appearance: none;
          -moz-appearance: none;
    }

    div.facetwp-type-dropdown select {
        background-image: 
            linear-gradient(45deg, transparent 50%, gray 50%), 
            linear-gradient(135deg, gray 50%, transparent 50%), 
            linear-gradient(to right, #ccc, #ccc);

        background-position: 
            calc(102% - 18px) calc(1em + 7px), 
            calc(102% - 13px) calc(1em + 7px), 
            calc(103% - 2.6em) 0.5em;

        background-size: 
            5px 5px, 
            5px 5px, 
            1px 2.3em;

        background-repeat: no-repeat;
    }


    /* Filter List */
    #guppe-news-selections  .facetwp-selections li {
        display: inline-block;
        line-height: 1.75;
        margin-right: 20px;
    }

    span.facetwp-selection-label {
        text-transform: uppercase;
        padding-right: 8px;
        letter-spacing: 2px;
        font-size: 12px;
        color: #6D6E71;
    }


    /* We CAN overide that pesky X! */
    .facetwp-selections span.facetwp-selection-value {
        background-image: unset;
    }

    span.facetwp-selection-value::after {
        margin: 7px;
        content: 'x';
        color: #36a2b9;
        font-weight: 300;
        font-family: Arial, sans-serif;
        font-size: 19px;
    }


    /* Clear Filters Button */
    input#fwclearall {
        float: right;
        margin: 0 10px;
        display: none;
    }

    div#guppe-news-selections {
        border-bottom: 1px solid #36a2b9;
    }



    /* FacetWP Load More */
    .facetwp-facet.facetwp-facet-news_pager.facetwp-type-pager {
        text-align: center;
    }
    button.facetwp-load-more {
        border: 1px solid #aaa;
        padding: 7px 19px;
        margin: 0 auto;
        display: inline-block;
        transition: all 0.2s ease;
        -webkit-transition: all 0.2s ease;
        font-size: 16px;
        line-height: 18px;
        font-weight: 400;
        color: #000;
        background: white;
        font-family: 'Open Sans';
        cursor: pointer;
    }

    /* On screens that are 690px wide or less, go from four columns to two columns */
    @media screen and (max-width: 690px) {
        div.five-col-flex .facet-wrap div.facetwp-type-dropdown {
            width: 100%;
            margin: 10px 0;
        }

        /* Clear Button Full width */
        input#fwclearall {
            float: none;
            margin: 12px auto;
            display: none;
            width: 100%;
        }

        /* Tidy up Filters */
        span.facetwp-selection-value {
            font-size: 14px;
            white-space: nowrap;
        }

        div.facetwp-selections ul {
            text-align: center;
        }

    }






/* 
 * All News Listings 
 */ 
    /* Date Element From Blog */
    .guppe-mc.all-media .post-meta .date {
        padding-bottom: 17px;
        border-bottom: 1px solid #E6E6E6;
    }

    .guppe-mc.all-media .post-meta {
        display: inline-block;
        position: absolute;
        left: 0;
        top: 34px;
        border-right: 1px solid #E6E6E6;
    }

    .guppe-mc.all-media .post-meta .date {
        padding-bottom: 17px;
        border-bottom: 1px solid #E6E6E6;
    }

    .guppe-mc.all-media .post-meta .date {
        font-size: 12px;
        padding-bottom: 2px;
        margin-bottom: 12px;
        position: relative;
        transition: all 0.2s linear 0s;
    }

    .post-content.classic .post-meta .month {
        line-height: 1em;
    }
    .guppe-mc.all-media .post-meta .month, .guppe-mc.all-media .post-meta .year {
        display: block;
        font-size: 17px;
        line-height: 10px;
        text-align: center;
        text-transform: uppercase;
        margin-bottom: 4px;
        padding: 0;
        font-weight: 600;
    }

    .guppe-mc.all-media .post-meta .day {
        display: block;
        font-size: 30px;
        line-height: 29px;
        text-align: center;
        padding: 0 12px 0 12px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .guppe-mc.all-media .post-meta .year {
        margin-top: 5px;
    }
    .guppe-mc.all-media .post-meta .month, .post .post-meta .year {
        display: block;
        font-size: 17px;
        line-height: 10px;
        text-align: center;
        text-transform: uppercase;
        margin-bottom: 4px;
        padding: 0;
        font-weight: 600;
    }

    /* Hide Small date by Default */
    div.small-date{display:none;}



    /* News item */
    .guppe-mc.all-media .news-item {
        border-bottom: 1px solid #D1D3D4;
        padding: 20px 0 30px 95px;
        position: relative;
    }

    .guppe-mc.all-media .filter-name {
        text-transform: uppercase;
        color: #6D6E71;
        padding-right: 2px;
    }

    .guppe-mc.all-media span.term {
        white-space: nowrap;
    }



    /* Taxonomies & Custom Fields */
    /* Container for flexboxes */
    .guppe-mc.all-media .row {
      display: flex;
      flex-wrap: wrap;
    }

    .filters.row a {
        text-decoration: none;
        border-bottom: 1px dotted;
        color: #2E6BB4;
        font-weight: 800;
        display: inline;
        margin-left: 5px;
    }
    .filters.row a:hover {
        text-decoration: none;
        border-bottom: 1px dotted;
        display: inline;
        color: #D77B27;
        font-weight: 800;
        background-color: unset;
    }

    /* Create two equal columns */
    .guppe-mc.all-media .column {
        flex: 50%;
        padding: 5px 0px;
    }


/* On screens that are 999px wide or less, make the columns stack on top of each other instead of next to each other */
@media screen and (max-width: 999px) {
    /* Columns */
     .guppe-mc.all-media  .row {
        flex-direction: column;
      }


    /* Collapse Margin, Remove Date Badge */
    .guppe-mc.all-media .news-item {
        padding: 20px 0 30px 0;
    }
    .guppe-mc.all-media .post-meta {
        display: none;
    }
    /* Shrink Margin below title for small date, show date*/
    .guppe-mc.all-media div.small-date {
        font-size: 100%;
        margin-bottom: 20px;
        display: block;
        color: #0c2e4d;
        font-weight: 800;
    }

}





