/*
 Theme Name:   DAR 2024
 Theme URI:    https://understrap.com
 Description:  Theme for sound files and picture galleries
 Author:       the Understrap Contributors
 Author URI:   https://github.com/understrap/understrap-child/graphs/contributors
 Template:     understrap
 Version:      1.2.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: understrap/understrap-child
*/

body.logged-in {
    /*background: url(https://www.kpdsb-dar.ca/2023/wp-content/uploads/sites/7/2023/12/post.png);*/
    background-size: 1600px;
    background-repeat: no-repeat;
    background-position: top center;
    background-color: #ffffff;
}

#wrapper-navbar {
    background-color: #c41231;
    color: #ffffff;
    background-image: url(imgs/audio-pattern.svg);
    background-position: bottom center;
    background-size: 400px;
    background-repeat: repeat-x;
}

.home #wrapper-navbar .report-intro {
    text-align: center;
    padding: 65px 30px 105px;
    max-width: 800px;
    margin: 0 auto;
}

.home #wrapper-navbar .logo img {
    width: 150px;
    margin-bottom: 34px;
}

.home #wrapper-navbar h1 span {
    display: block;
}

.home #wrapper-navbar h1 span.p1 {
    font-size: 57px;
    font-weight: 400;
    margin-bottom: 6px;
}
.home #wrapper-navbar h1 span.p2 {
   font-size: 77px;
   font-weight: 700;
   margin-bottom: -11px;
}
.home #wrapper-navbar h1 span.p3 {
    text-transform: uppercase;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 33px;
}
.home #wrapper-navbar h2 {
    font-size: 43px;
    font-weight: 700;
    margin-bottom: 20px;
}
.home #wrapper-navbar .site-description {
    font-size: 25px;
}

#navbar {
    padding: 35px 0 85px;
}

#navbar .logo img {
    width: 272px;
}



.bars {
    --mb-bar-width: 50px;
    --mb-bar-height: 4px;
    --mb-bar-spacing: 8px;
    --mb-animation-function: ease;
    --mb-animation-duration: 0.25s;
    --mb-animation-delay: 0s;
    position: relative;
    display: block;
    width: var(--mb-bar-width);
    height: calc(var(--mb-bar-height) * 3 + var(--mb-bar-spacing) * 2);
}

.bar {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    height: var(--mb-bar-height);
    border-radius: calc(var(--mb-bar-height)/ 2);
    background: #ffffff;
    color: inherit;
    opacity: 1;
    transition: none var(--mb-animation-duration) var(--mb-animation-function) var(--mb-animation-delay);
}

.bar--top {
    bottom: calc(50% + var(--mb-bar-spacing) + var(--mb-bar-height)/ 2);
    transition-property: bottom,transform;
    transition-delay: calc(var(--mb-animation-delay) + var(--mb-animation-duration) * .4),var(--mb-animation-delay);
}

.is-cross .bar--top {
    bottom: calc(50% - var(--mb-bar-height)/ 2);
    transform: rotate(45deg);
    transition-delay: var(--mb-animation-delay),calc(var(--mb-animation-delay) + var(--mb-animation-duration) * .4);
}

.bar--middle {
    top: calc(50% - var(--mb-bar-height)/ 2);
    transition-property: opacity;
    transition-delay: calc(var(--mb-animation-delay) + .1s);
}

.is-cross .bar--middle {
    opacity: 0;
    transition-delay: var(--mb-animation-delay);
}

.bar--bottom {
    top: calc(50% + var(--mb-bar-spacing) + var(--mb-bar-height)/ 2);
    transition-property: top,transform;
    transition-delay: calc(var(--mb-animation-delay) + var(--mb-animation-duration) * .4),var(--mb-animation-delay);
}

.is-cross .bar--bottom {
    top: calc(50% - var(--mb-bar-height)/ 2);
    transform: rotate(-45deg);
    transition-delay: var(--mb-animation-delay),calc(var(--mb-animation-delay) + var(--mb-animation-duration) * .4);
}

.our-stories-container {
    padding: 75px 30px 80px;
    text-align: center;
    letter-spacing: 2px;
}

.our-stories-container h3 {
    font-size: 33px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #c41231;
}

.our-stories-container .story-btn {
    font-size: 32px;
    font-weight: 600;
    display: block;
    max-width: 525px;
    margin: 0px auto 7px;
    padding: 9px 13px 7px;
    background: #fbeaec;
    color: #c41231;
    border-radius: 15px;
}

.entry-header h1 {
    font-size: 33px;
    text-transform: uppercase;
    color: #c41231;
    text-align: center;
    margin: 36px 0 6px;
    letter-spacing: 2.5px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.entry-header h1:before,
.entry-header h1:after {
    content: '';
    display: block;
    flex-grow: 1;
    background: #c41231;
    height: 3px;
    border-radius: 4px;
}

.audio-block {
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.audio-block .audio-icon {
    z-index: 10;
}

.audio-block .audio-icon img {
    width: 72px;
    margin: 0 auto -38px;
    display: block;
}

.audio-block .audio-description {
    background: #fbeaec;
    padding: 55px 20px 10px;
    border-radius: 10px;
    text-align: center;
    flex-grow: 1;
    font-size: 14px;
}

.audio-block .audio-description p {
    margin-bottom: 5px;
}

.audio-block .audio-description em {
    font-size: 10px;
    display: block;
}

.audio-block .audio-description .scroll-info,
.audio-files.sticky .audio-block .audio-description .info {
    display: none;
}

.audio-files.sticky .audio-block .audio-description .scroll-info {
    display: block;
}






.horizontal-audio-block {
    background: #fbeaec;
    padding: 25px 15px 25px;
    border-radius: 10px;
    margin: 0 30px;
}

.horizontal-audio-block .audio-container {
    display: flex;
    gap: 25px;
    align-items: center;
}

.horizontal-audio-block .audio-icon {
    margin-left: -45px;
    /*margin-right: 30px;*/
}

.horizontal-audio-block .audio-icon img {
    width: 72px;
}

.horizontal-audio-block .audio-description {
    display: block;
    flex-grow: 1;
    width: 60%;
}

.horizontal-audio-block .audio-description em {
    font-size: 10px;
    display: block;
}

.audio-picture {
    margin: -34px -50px -34px 0;
    z-index: 10;
}

.audio-picture img {
    height: 100%;
    width: auto;
}

.audio-files {
    display: flex;
    align-items: flex-end;
    gap: 15px;
}

.audio-files audio {
    flex-grow: 1;
    max-width: 100%;
}

.audio-files .transcript-btn {
    color: #c4122f;
    text-decoration: underline;
    cursor: pointer;
}

.audio-files .transcript-btn:hover {
    color: #810a1e;
}

.audio-transcript {
    padding: 25px 0 0 52px;
}

audio::-webkit-media-controls-panel {
	background-color: #fed8dc;
}

audio::-webkit-media-controls-play-button {
	/*background-color: yellow;*/
	/*color: blue;*/
}
audio::-webkit-media-controls-timeline-container {
	/*background-color: green;*/
}

/*Time*/
audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
	/*font-family: "Poppins";*/
	/*font-size: 16px;*/
}
audio::-webkit-media-controls-timeline {
	/*background-color: red;*/
}

audio::-webkit-media-controls-seek-back-button {
	/*background-color: pink;*/
}
audio::-webkit-media-controls-seek-forward-button {
	/*background-color: yellow;*/
}

audio::-webkit-media-controls-rewind-button {
	/*background-color: blue;*/
}
audio::-webkit-media-controls-return-to-realtime-button {
	/*background-color: green;*/
}
audio::-webkit-media-controls-toggle-closed-captions-button {
	/*background-color: purple;*/
}

@media (max-width: 575px) {
    .audio-transcript {
        padding: 25px 0 0 0;
    }
}


@media (max-width: 767px) {
    .audio-files {
        align-items: flex-start;
        flex-direction: column;
    }
}









.single.mm-wrapper--position-right .mm-slideout {
    /*-webkit-transform: none;*/
    /*transform: none;*/
}

#player {
  background: #c41231;
  /* border-radius: 8px; */
  box-shadow: 0px 0px 20px -5px #505050;
  overflow: hidden;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}


/*
===================
===================
Track
===================
===================
*/
#track {
  width: 100%;
  height: 6px;
  background: #fbeaec;
  overflow: hidden;
  cursor: pointer;
}

#progress {
  width: 0%;
  height: 100%;
  background: #9e0d26;
}


/*
===================
===================
Icons
===================
===================
*/
#controls {
  padding: 10px 0;
  text-align: center;
  vertical-align: middle;
}

#controls > div {
  vertical-align: middle;
}

.icon {
  display: inline-block;
  position: relative;
  margin: 4px 12px;
  cursor: pointer;
}

/* Buttons (Play) */
#play {
  position: relative;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #ffffff;
}

#play:hover {
  border-color: transparent transparent transparent #009688;
}

/* Buttons (Pause) */
#pause {
  position: relative;
  width: 16px;
  height: 18px;
}

#pause:before {
  content: "";
  position: absolute;
  width: 6px;
  height: 18px;
  top: 0;
  left: 0;
  background: #ffffff;
}

#pause:after {
  content: "";
  position: absolute;
  width: 6px;
  height: 18px;
  top: 0;
  right: 0;
  background: #ffffff;
}

#pause:hover:before,
#pause:hover:after {
  background: #009688;
}



#previous {
    content: '';
    position: relative;
    border-style: solid;
    border-width: 10px 14px 10px 0;
    border-color: transparent #ffffff transparent transparent;
}

#previous:before {
    content: "";
    position: absolute;
    width: 3px;
    height: 20px;
    top: -10px;
    left: 0px;
    background: #ffffff;
}

#next {
    content: '';
    position: relative;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #ffffff;
}

#next:before {
    content: "";
    position: absolute;
    width: 3px;
    height: 20px;
    top: -10px;
    right: 0px;
    background: #ffffff;
}

/* Buttons (stop) */
#stop {
  width: 18px;
  height: 18px;
  background: #ffffff;
}

#stop:hover {
  background: #009688;
}

/* Buttons (Mute) */
#mute {
  position: relative;
  border-style: solid;
  border-width: 10px 14px 10px 0;
  border-color: transparent #ffffff transparent transparent;
}

#mute:after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  top: 50%;
  margin-top: -4px;
  right: -8px;
  background: #ffffff;
}

#mute:before {
  content: "";
  position: absolute;
  width: 4px;
  height: 8px;
  top: 50%;
  margin-top: -4px;
  left: 16px;
  background: #ffffff;
  border-radius: 0 100% 100% 0;
}

#mute:hover,
.mute {
  border-color: transparent #009688 transparent transparent !important;
}

#mute:hover:after,
.mute:after {
  background: #009688 !important;
}

#mute:hover:before,
.mute:before {
  content: none !important;
}

/* Buttons (Volume) */
#volume {
  display: inline-block;
  width: 60px;
  height: 6px;
  margin-right: -60px;
  background: #26A69A;
  visibility: hidden;
  cursor: pointer;
}

#level {
  width: 100%;
  height: 100%;
  background: #009688;
}

#controls:hover #volume {
  visibility: visible;
}





















.divider {
    background: #c41231;
    height: 3px;
    border-radius: 4px;
}

.grid {
    margin: -15px; 
}

.grid-sizer, .grid-item {
    width: 100%;
}

.grid-item {
    padding: 15px;
}

.grid-item img {
    border-radius: 10px;
}

@media (min-width: 576px) {
    .grid-sizer, .grid-item {
        width: 50%;
    }
}

@media (min-width: 992px) {
    .grid-sizer, .grid-item {
        width: 33.333%;
    }
}


#wrapper-footer {
    background-color: #c41231;
    color: #ffffff;
    padding: 110px 30px 20px;
    background-image: url(imgs/audio-pattern-180.svg);
    background-position: top center;
    background-size: 400px;
    background-repeat: repeat-x;
}

#wrapper-footer .prev-reports {
    padding-top: 43px;
}

#wrapper-footer .prev-reports h3 {
    text-transform: uppercase;
    font-size: 23px;
    margin-bottom: 20px;
}

#wrapper-footer .prev-reports li {
    padding-bottom: 7px;
}

#wrapper-footer .prev-reports a {
    color: inherit;
    text-decoration: none;
    font-size: 18px;
}

#wrapper-footer .contact-info {
    text-align: right;
    font-size: 14px;
}

#wrapper-footer .contact-info .logo img {
    width: 270px;
    margin-bottom: 34px;
}

#wrapper-footer .contact-info .contact-block {
    margin-bottom: 10px;
}

#wrapper-footer .contact-info h5 {
    margin-bottom: 5px;
    font-size: inherit;
    font-weight: 600;
}

#wrapper-footer .contact-info p {
    margin-bottom: 0;
    line-height: 1.2;
}