/* Used for Eisteddfod Genedlaethol  */
.dark-pink {
  background-attachment: fixed;
  background-position: center top;
  background-repeat: repeat-x;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  position: relative;
  z-index: 0;
}
body.dark-pink.subSection div.sectionHeading {
  padding-bottom: 5%;
}
.dark-pink .s4cContent div.masonryItemInfo a {
  color: #bc3679;
}
.dark-pink .s4cContent div.masonryItemInfo a:hover {
  color: #8e5217;
}
.dark-pink .s4cContent a.button,
.dark-pink .s4cContent a.buttonIcon {
  background: #bc3679 !important;
  color: #fff !important;
}
.dark-pink .s4cContent a.button span.skew,
.dark-pink .s4cContent a.buttonIcon span.skew {
  background: #ed84b5 !important;
}
.dark-pink .s4cContent a.button:hover span.icon,
.dark-pink .s4cContent a.buttonIcon:hover span.icon {
  color: #fff;
}
.dark-pink .s4cContent div.masonryItemInfo h2 > a {
  color: #36312d;
}
.dark-pink .s4cContent div.masonryItemInfo h2 > a:hover {
  color: #36312d;
}
.dark-pink .s4cContent a.carouselControl {
  background: #bc3679;
  color: #fff;
}
.dark-pink .s4cContent a.carouselControl:hover {
  background: #8e5217;
  color: #fff;
}
.dark-pink div.masonryItemInfo ul li {
  list-style: outside none disc;
  margin: 0 0 0.5em 1em;
}
.dark-pink div.masonryItemInfo a {
  color: #bc3679;
}
.dark-pink div.masonryItemInfo a:hover {
  color: #000;
}
.dark-pink.ybydarbedwar a.button span.icon {
  background: #bc3679 !important;
}
.dark-pink.ybydarbedwar a.button span.icon {
  margin-right: 10px;
  padding: 0;
  background: #bc3679 !important;
  color: #ffffff !important;
}
.dark-pink.ybydarbedwar a.button:hover span.icon {
  background: #ed84b5 !important;
  color: #ffffff !important;
}
/* fix for broken selected menu item */
body.subSubSection1.dark-pink li.subSubSectionLink1 a.button,
body.subSubSection1.dark-pink li.subSubSectionLink1 a.buttonIcon,
body.subSubSection1.dark-pink li.subSubSectionLink1 a.buttonIcon span.icon,
body.subSubSection1.dark-pink li.subSubSectionLink1 a.button span.icon,
body.subSubSection2.dark-pink li.subSubSectionLink2 a.button,
body.subSubSection2.dark-pink li.subSubSectionLink2 a.buttonIcon,
body.subSubSection2.dark-pink li.subSubSectionLink2 a.buttonIcon span.icon,
body.subSubSection2.dark-pink li.subSubSectionLink2 a.button span.icon,
body.subSubSection3.dark-pink li.subSubSectionLink3 a.button,
body.subSubSection3.dark-pink li.subSubSectionLink3 a.buttonIcon,
body.subSubSection3.dark-pink li.subSubSectionLink3 a.buttonIcon span.icon,
body.subSubSection3.dark-pink li.subSubSectionLink3 a.button span.icon,
body.subSubSection4.dark-pink li.subSubSectionLink4 a.button,
body.subSubSection4.dark-pink li.subSubSectionLink4 a.buttonIcon,
body.subSubSection4.dark-pink li.subSubSectionLink4 a.buttonIcon span.icon,
body.subSubSection4.dark-pink li.subSubSectionLink4 a.button span.icon,
body.subSubSection5.dark-pink li.subSubSectionLink5 a.button,
body.subSubSection5.dark-pink li.subSubSectionLink5 a.buttonIcon,
body.subSubSection5.dark-pink li.subSubSectionLink5 a.buttonIcon span.icon,
body.subSubSection5.dark-pink li.subSubSectionLink5 a.button span.icon,
body.subSubSection6.dark-pink li.subSubSectionLink6 a.button,
body.subSubSection6.dark-pink li.subSubSectionLink6 a.buttonIcon,
body.subSubSection6.dark-pink li.subSubSectionLink6 a.buttonIcon span.icon,
body.subSubSection6.dark-pink li.subSubSectionLink6 a.button span.icon {
  background: #6c0f3d;
}
* {
  box-sizing: border-box;
}

/* Position the image container (needed to position the left and right arrows) */
.slideshow-container {
  width: 70%;
  left: 0 !important;
  margin: 0 auto;
  position: relative !important;
  text-align: center;
}

.slideshow-inner {
  position: relative;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

.mySlides img {
  width: 100% !important;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50% !important;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

.prev {
  left: 10px;
}

/* Position the "next button" to the right */
.next {
  right: 10px !important;
  border-radius: 3px 0 0 3px !important;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 14px;
  position: absolute;
  top: 10px;
  left: 10px;
}

/* Container for image text */
.caption-container {
  text-align: center;
  background-color: #222;
  padding: 2px 14px;
  color: white;
}

.row {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 10px;
}

.row:after {
  content: '';
  display: table;
  clear: both;
}

/* Six columns side by side */
.column {
  float: left;
  width: 10%;
}

.column img {
  width: 90% !important;
}

/* Add a transparency effect for thumbnail images */
.demo {
  opacity: 0.6;
  transition: opacity 0.3s;
}

.active,
.demo:hover {
  opacity: 1;
}
.dark-pink.y-byd-ar-bedwar,
.dark-pink.ybydarbedwar {
  background-size: cover;
}

.dark-pink.y-byd-ar-bedwar:after,
.dark-pink.ybydarbedwar:after {
  content: '';
  position: fixed; /* stretch a fixed position to the whole screen */
  top: 0;
  height: 100vh; /* fix for mobile browser address bar appearing disappearing */
  left: 0;
  right: 0;
  z-index: -1; /* needed to keep in the background */
  background: url(https://www.s4c.cymru/media/media_assets/DSC00353_Mission_Photographic.jpg)
    center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.dark-pink.y-byd-ar-bedwar,
.dark-pink.ybydarbedwar {
  background-size: cover;
}

.dark-pink.y-byd-ar-bedwar:after,
.dark-pink.ybydarbedwar:after {
  content: '';
  position: fixed; /* stretch a fixed position to the whole screen */
  top: 0;
  height: 100vh; /* fix for mobile browser address bar appearing disappearing */
  left: 0;
  right: 0;
  z-index: -1; /* needed to keep in the background */
  background: url(https://www.s4c.cymru/media/media_assets/DSC00353_Mission_Photographic.jpg)
    center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.dark-pink.y-byd-ar-bedwar .sectionHeading h1.largeHeading img,
.dark-pink.ybydarbedwar .sectionHeading h1.largeHeading img {
  width: 100%;
}

@media screen and (min-width: 525px) {
  .dark-pink.y-byd-ar-bedwar .sectionHeading h1.largeHeading img,
  .dark-pink.ybydarbedwar .sectionHeading h1.largeHeading img {
    width: 80%;
    margin-left: 18%;
  }
}

@media screen and (min-width: 600px) {
  .dark-pink.y-byd-ar-bedwar .sectionHeading h1.largeHeading img,
  .dark-pink.ybydarbedwar .sectionHeading h1.largeHeading img {
    width: 50%;
  }
}

@media screen and (min-width: 800px) {
  .dark-pink.y-byd-ar-bedwar .sectionHeading h1.largeHeading img,
  .dark-pink.ybydarbedwar .sectionHeading h1.largeHeading img {
    width: 45%;
  }
}

@media screen and (min-width: 1024px) {
  .dark-pink.y-byd-ar-bedwar .sectionHeading h1.largeHeading img,
  .dark-pink.ybydarbedwar .sectionHeading h1.largeHeading img {
    width: 40%;
  }
}

@media screen and (min-width: 1440px) {
  .dark-pink.y-byd-ar-bedwar .sectionHeading h1.largeHeading img,
  .dark-pink.ybydarbedwar .sectionHeading h1.largeHeading img {
    width: 35%;
  }
}
