/* 
Theme Name:		 Democracy Wales
Theme URI:		 http://childtheme-generator.com/
Description:	 Democracy Wales is a child theme of Twenty Twenty Three, created by ChildTheme-Generator.com
Author:			 Russell Davies
Author URI:		 http://childtheme-generator.com/
Template:		 twentytwentythree
Version:		 1.0.0
Text Domain:	 democracy-wales
*/

.wp-site-blocks {
    padding-top: 0px;
    padding-bottom: 0px;
}

:where(.wp-site-blocks) > * {
    margin-block-start: 0rem;
    margin-block-end: 0;
}

img.video_lightbox_anchor_image {
    max-width: 100%;
}

#walesmapholder {
    background-image: url(/wp-content/themes/democracywales/walesmap/walesmapsprite.png);
    background-repeat: no-repeat;
    background-position-x: -10px;
    background-position-y: -10px;
    max-width: 520px;
    max-height: 629px;
    }

.ua-list {
        max-height: 500px;
        overflow-y: scroll;
        overflow-x: hidden;
        scrollbar-width: thin;
        scrollbar-color: var(--wp--preset--color--primary) white;
        padding-right: 1.5rem;

} 
  /* Works on Chrome, Edge, and Safari */
  .ua-list::-webkit-scrollbar {
    width: 10px;
  }
  
  .ua-list::-webkit-scrollbar-track {
    background: #ddd;
    background-image: url(/wp-content/themes/democracywales/scrollbar-track.png);
    background-position: center;
    background-repeat: repeat-y;
    width: 2px;
  }
  
  .ua-list::-webkit-scrollbar-thumb {
    background-color: white;
    border-radius: 20px;
    border: 1px solid var(--wp--preset--color--primary);
    max-height: 20px;
  }

  .wpml-ls-legacy-list-horizontal a {
    display: flex;
    text-decoration: none;
    padding: 0px;
    line-height: 1;
}

.wpml-ls-legacy-list-horizontal>ul {
  padding: 0;
  margin: 0 !important;
  list-style-type: none;
  text-align: end;
}

[class*="wpml"] a:where(:not(.wp-element-button)):hover {
  text-decoration: underline;
}

a:where(:not(.wp-element-button)) {
  color: var(--wp--preset--color--primary) !important;
  text-decoration: underline;
  height: 44px;
  display: contents;
}

footer a:where(:not(.wp-element-button)), .cookie-notice-container a:where(:not(.wp-element-button)), #wpadminbar a:where(:not(.wp-element-button)) {
  color: var(--wp--preset--color--base) !important;
}


figure.wp-block-image.size-full.is-resized.header-splash-image {
  display: block;
  position: absolute;
  top: 40px;
}

.video-panel p {
  margin-top: 0px;
  font-size: medium;
  font-weight: 800;
}

img.headerbubble {
  max-width: 320px;
  display: block;
  position: absolute;
  top: 10px;
  z-index: 999;
}

img.footer-bubble {
  display: block;
  
}
 
/* .video-panel p::before {
  content: "\f008";
  font-family: "Font Awesome 6 Pro";
  margin-right: 1rem;
  font-size: 2rem;
  display: block;
  float: left;
  margin-top: auto;
} */

.ui-accordion .ui-accordion-header {
  display: flex !important;
  gap: 1.5rem;
  cursor: pointer;
  position: relative;
  margin: 0px 0px 2rem 0px !important;
  padding: 0px !important;
  font-size: unset !important;
}

.ui-accordion .ui-accordion-header h4 {
  padding: 0px;
  margin: 10px 0px 0px;
}

.ui-accordion .ui-accordion-header img {
  max-width: 90px;
  max-height: 90px;
}

.ui-accordion .ui-accordion-content {
  padding: 0px !important;
  border-top: 0;
  overflow: auto;
}

.ui-accordion .ui-accordion-content p {
  padding: 0px 0px 3rem 0px !important;
  margin-top: 0rem;
}
.ui-accordion-content a {
  text-align: right;
  display: block;
  margin-bottom: 2rem;
}
.ui-accordion-content a::after {
  margin-left: 0.5rem;
  content: "\f08e";
  font-family: "Font Awesome 6 Pro";
  font-size: 0.9rem;
}

@media only screen and (max-width: 600px) {
  .hide-mobile {
    display: none;
  }

  .ua-list {
    max-height: none;
    overflow-y: visible;
    overflow-x: visible;
  }
} 

.skip-div {
  text-align: right;
  padding-top: 0.5rem;
}

#cookie-notice .cn-button:not(.cn-button-custom) {
  font-weight: 600 !important;
}
/*Cookie notice*/
.cookie-notice-container a {color: #fff!important; text-decoration: underline;}
.cookie-notice-container a:hover {color: #ffff00!important;}

a#cn-accept-cookie:hover,a#cn-refuse-cookie:hover {background-color:#e1e23e!important;color:#000!important;}
a#cn-accept-cookie:focus,a#cn-refuse-cookie:focus {outline: 2px dashed #fff!important;}

#cookie-notice {
    font-size: 17px!important;
	/*border-bottom: 2px solid #e1e23e;*/
	text-align: left!important;
	top: -1px;
}

.cookie-notice-container {text-align: left!important;
    padding-top: 30px!important;
    padding-bottom: 45px!important;}

#cookie-notice h2 {color: #fff!important; margin-top:0px!important;margin-bottom:15px!important;text-align: left!important;font-size:2rem !important;}

#cn-accept-cookie:hover,#cn-accept-cookie:focus,#cn-refuse-cookie:hover,#cn-refuse-cookie:focus {
  outline: 3px solid #fd0 !important;
  text-decoration: underline !important;
}


/* END */