/* 
	
This is to quickly build a stylesheet for a section for the CMS	
	
---------------------------------------------------------------------*/
/* 1. Button Colours
-----------------------------------------------------------------------------------------------
===============================================================================================*/
body.y-sioe-rhino.subSubSection1 li.subSubSectionLink1 a.button,
body.y-sioe-rhino.subSubSection1 li.subSubSectionLink1 a.buttonIcon,
body.y-sioe-rhino.subSubSection1 li.subSubSectionLink1 a.buttonIcon span.icon,
body.y-sioe-rhino.subSubSection1 li.subSubSectionLink1 a.button span.icon,
body.y-sioe-rhino.subSubSection1 li.subSubSectionLink1 a.button span.label,
body.y-sioe-rhino.subSubSection2 li.subSubSectionLink2 a.button,
body.y-sioe-rhino.subSubSection2 li.subSubSectionLink2 a.buttonIcon,
body.y-sioe-rhino.subSubSection2 li.subSubSectionLink2 a.buttonIcon span.icon,
body.y-sioe-rhino.subSubSection2 li.subSubSectionLink2 a.button span.icon,
body.y-sioe-rhino.subSubSection2 li.subSubSectionLink2 a.button span.label,
body.y-sioe-rhino.subSubSection3 li.subSubSectionLink3 a.button,
body.y-sioe-rhino.subSubSection3 li.subSubSectionLink3 a.buttonIcon,
body.y-sioe-rhino.subSubSection3 li.subSubSectionLink3 a.buttonIcon span.icon,
body.y-sioe-rhino.subSubSection3 li.subSubSectionLink3 a.button span.icon,
body.y-sioe-rhino.subSubSection3 li.subSubSectionLink3 a.button span.label,
body.y-sioe-rhino.subSubSection4 li.subSubSectionLink4 a.button,
body.y-sioe-rhino.subSubSection4 li.subSubSectionLink4 a.buttonIcon,
body.y-sioe-rhino.subSubSection4 li.subSubSectionLink4 a.buttonIcon span.icon,
body.y-sioe-rhino.subSubSection4 li.subSubSectionLink4 a.button span.icon,
body.y-sioe-rhino.subSubSection4 li.subSubSectionLink4 a.button span.label,
body.y-sioe-rhino.subSubSection5 li.subSubSectionLink5 a.button,
body.y-sioe-rhino.subSubSection5 li.subSubSectionLink5 a.buttonIcon,
body.y-sioe-rhino.subSubSection5 li.subSubSectionLink5 a.buttonIcon span.icon,
body.y-sioe-rhino.subSubSection5 li.subSubSectionLink5 a.button span.icon,
body.y-sioe-rhino.subSubSection5 li.subSubSectionLink5 a.button span.label,
body.y-sioe-rhino.subSubSection6 li.subSubSectionLink6 a.button,
body.y-sioe-rhino.subSubSection6 li.subSubSectionLink6 a.buttonIcon,
body.y-sioe-rhino.subSubSection6 li.subSubSectionLink6 a.buttonIcon span.icon,
body.y-sioe-rhino.subSubSection6 li.subSubSectionLink6 a.button span.icon,
body.y-sioe-rhino.subSubSection6 li.subSubSectionLink6 a.button span.label,
body.y-sioe-rhino.subSubSection7 li.subSubSectionLink7 a.button,
body.y-sioe-rhino.subSubSection7 li.subSubSectionLink7 a.buttonIcon,
body.y-sioe-rhino.subSubSection7 li.subSubSectionLink7 a.buttonIcon span.icon,
body.y-sioe-rhino.subSubSection7 li.subSubSectionLink7 a.button span.icon,
body.y-sioe-rhino.subSubSection7 li.subSubSectionLink7 a.button span.label,
body.y-sioe-rhino.subSubSection8 li.subSubSectionLink8 a.button,
body.y-sioe-rhino.subSubSection8 li.subSubSectionLink8 a.buttonIcon,
body.y-sioe-rhino.subSubSection8 li.subSubSectionLink8 a.buttonIcon span.icon,
body.y-sioe-rhino.subSubSection8 li.subSubSectionLink8 a.button span.icon,
body.y-sioe-rhino.subSubSection8 li.subSubSectionLink8 a.button span.label,
body.y-sioe-rhino.subSubSection9 li.subSubSectionLink9 a.button,
body.y-sioe-rhino.subSubSection9 li.subSubSectionLink9 a.buttonIcon,
body.y-sioe-rhino.subSubSection9 li.subSubSectionLink9 a.buttonIcon span.icon,
body.y-sioe-rhino.subSubSection9 li.subSubSectionLink9 a.button span.icon,
body.y-sioe-rhino.subSubSection9 li.subSubSectionLink9 a.button span.label,
body.y-sioe-rhino.subSSubection10 li.subSubSectionLink10 a.button,
body.y-sioe-rhino.subSubSection10
  li.subSubSectionLink10
  a.buttonIcon
  body.y-sioe-rhino.subSubSection10
  li.subSubSectionLink10
  a.buttonIcon
  span.icon,
body.y-sioe-rhino.subSubSection10 li.subSubSectionLink10 a.button span.icon,
body.y-sioe-rhino.subSubSection10 li.subSubSectionLink10 a.button span.label {
  color: #323b40;
}
.y-sioe-rhino.greenUI a.button,
.y-sioe-rhino.greenUI a.buttonIcon,
.y-sioe-rhino .buttonIconInner,
.y-sioe-rhino .buttonInner,
.y-sioe-rhino .buttonIconInner,
.y-sioe-rhino .buttonInner {
  /*color: @buttText;*/
}
.y-sioe-rhino .s4cContent div.masonryItemInfo a,
.y-sioe-rhino .s4cContent div.masonryItemInfo a span.icon {
  color: #323b40;
}
.y-sioe-rhino .s4cContent div.masonryItemInfo a:hover,
.y-sioe-rhino .s4cContent div.masonryItemInfo a span.icon:hover {
  color: #fff;
}
.y-sioe-rhino .s4cContent a.button,
.y-sioe-rhino .s4cContent a.buttonIcon {
  background: #323b40;
  color: #fff;
}
.y-sioe-rhino .s4cContent a.button span.skew,
.y-sioe-rhino .s4cContent a.buttonIcon span.skew {
  background: #dce1df;
  color: #323b40;
}
.y-sioe-rhino .buttonIconInner:hover,
.y-sioe-rhino .buttonInner:hover {
  color: #323b40;
}
.y-sioe-rhino.greenUI a.button:hover span.icon,
.y-sioe-rhino.greenUI a.buttonIcon:hover span.icon {
  color: #323b40;
}
.y-sioe-rhino a.button span.icon,
.y-sioe-rhino a.buttonIcon span.icon {
  color: #fff;
}
.y-sioe-rhino .lightBG a,
.y-sioe-rhino .darkBG a {
  color: #323b40;
}
.y-sioe-rhino .lightBG a:hover,
.y-sioe-rhino .darkBG a:hover {
  color: #dce1df;
}
.y-sioe-rhino .actions a.button,
.y-sioe-rhino .actions a.buttonIcon {
  background: #323b40;
  color: #fff;
}
.y-sioe-rhino .s4cContent a.button,
.y-sioe-rhino .s4cContent a.buttonIcon {
  background: #323b40;
  color: #fff;
}
.y-sioe-rhino .s4cContent a.button span.skew,
.y-sioe-rhino .s4cContent a.buttonIcon span.skew {
  background: #dce1df;
  color: #323b40;
}
.y-sioe-rhino .buttonIconInner:hover,
.buttonInner:hover {
  color: #323b40;
}
.y-sioe-rhino.greenUI a.button:hover span.icon,
.y-sioe-rhino.greenUI a.buttonIcon:hover span.icon {
  color: #323b40;
}
.y-sioe-rhino strong {
  font-weight: bold;
}
.y-sioe-rhino a.button span.icon,
.y-sioe-rhino a.buttonIcon span.icon {
  color: #fff;
}
.y-sioe-rhino.greenUI a.carouselControl {
  background: #323b40;
}
/* Custom Styles */
.y-sioe-rhino.darkBG .carouselControls a.carouselControl,
.y-sioe-rhino.lightBG .carouselControls a.carouselControl {
  color: #fff;
}
.y-sioe-rhino.greenUI a.carouselControl:hover {
  background: #dce1df;
}
.y-sioe-rhino hr {
  background: #323b40;
}
.y-sioe-rhino .s4cContent div.masonryItemInfo h2 a,
.y-sioe-rhino .s4cContent div.masonryItemInfo h2 a:hover {
  color: #33312d;
}
.y-sioe-rhino strong {
  font-weight: bold;
}
.y-sioe-rhino {
  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;
}
@supports (-webkit-overflow-scrolling: touch) {
  .y-sioe-rhino {
    background-attachment: scroll;
  }
}
.y-sioe-rhino .hero {
  margin-bottom: 0;
  border-top: 1px solid #fff;
}
.y-sioe-rhino .explore-main .masonryGridItemContent {
  background: none;
  color: #fff;
}
.music-4.y-sioe-rhino .subSectionMenu,
.cerddoriaeth-4.y-sioe-rhino .subSectionMenu,
.drama-2.y-sioe-rhino .subSectionMenu,
.drama-3.y-sioe-rhino .subSectionMenu,
.ffeithiol-2.y-sioe-rhino .subSectionMenu,
.factual-2.y-sioe-rhino .subSectionMenu,
.adloniant-3.y-sioe-rhino .subSectionMenu,
.entertainment-3.y-sioe-rhino .subSectionMenu {
  padding-bottom: 5%;
}
.y-sioe-rhino {
  background-size: cover;
}

.y-sioe-rhino: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://dlo6cycw1kmbs.cloudfront.net/media/media_assets/YSioeCefndir20231600x898_2.jpg)
    center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

@viewport {
  width: device-width;
  zoom: 1;
}
.y-sioe-rhino .explore-main .masonryItemInfo,
.y-sioe-rhino .explore-main .masonryItemInfo p {
  font-size: 1.9rem;
}
body.subSection.pori-10.y-sioe-rhino .sectionHeading,
body.subSection.explore-10.y-sioe-rhino .sectionHeading {
  padding: 2% 20px 0;
}
.pori-10.y-sioe-rhino h1.largeHeading,
.explore-10.y-sioe-rhino h1.largeHeading {
  padding: 4% 0 0;
}
.y-sioe-rhino .sponsor {
  padding: 5.5% 0;
}
.y-sioe-rhino div.masonryItemInfo ul li {
  list-style: outside none disc;
  display: list-item;
  margin: 0 0 0.5em 1em;
}
.y-sioe-rhino #contact-form {
  padding: 25px 0 20px;
}
.y-sioe-rhino #contact-form div {
  margin-bottom: 25px;
}
.y-sioe-rhino #contact-form label span {
  cursor: pointer;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 2.4rem;
  margin: 5px 0;
}
.y-sioe-rhino #contact-form input[type='text'],
.y-sioe-rhino #contact-form input[type='email'],
.y-sioe-rhino #contact-form input[type='tel'],
.y-sioe-rhino #contact-form input[type='url'],
.y-sioe-rhino #contact-form textarea,
.y-sioe-rhino #contact-form select {
  background: none repeat scroll 0 0 #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 1px 2px #ddd inset, 0 1px 0 #fff;
  margin: 0 0 5px;
  padding: 10px;
  width: 100%;
}
.y-sioe-rhino #contact-form select {
  height: 50px;
}
.y-sioe-rhino #contact-form input[type='text']:hover,
.y-sioe-rhino #contact-form input[type='email']:hover,
.y-sioe-rhino #contact-form input[type='tel']:hover,
.y-sioe-rhino #contact-form input[type='url']:hover,
.y-sioe-rhino #contact-form textarea:hover,
.y-sioe-rhino #contact-form select:hover {
  border: 1px solid #aaa;
  transition: border-color 0.3s ease-in-out 0s;
}
.y-sioe-rhino #contact-form input[type='checkbox'] {
  background: none repeat scroll 0 0 #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 1px 2px #ddd inset, 0 1px 0 #fff;
  margin: 0 0 5px;
  padding: 10px;
}
.y-sioe-rhino #contact-form input[type='checkbox']:hover {
  border: 1px solid #aaa;
  transition: border-color 0.3s ease-in-out 0s;
}
.y-sioe-rhino #contact-form textarea {
  height: 100px;
  max-width: 100%;
}
.y-sioe-rhino #contact-form select {
  height: 50px;
  max-width: 100%;
}
.y-sioe-rhino #contact-form button[type='submit'] {
  background: #323b40;
  border: medium none;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  margin: 0 0 5px;
  max-width: 250px;
  padding: 10px;
  text-align: center;
  width: 100%;
}
.y-sioe-rhino #contact-form button[type='submit']:hover {
  background: none repeat scroll 0 0 #dce1df;
  transition: background-color 0.3s ease-in-out 0s;
}
.y-sioe-rhino #contact-form button[type='submit']:active {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) inset;
}
.y-sioe-rhino #contact-form input:focus,
.y-sioe-rhino #contact-form textarea:focus {
  border: 1px solid #999;
  outline: 0 none;
}
.y-sioe-rhino #name_trp {
  display: none;
}

.y-sioe-rhino h1.largeHeading {
  font-size: 7.8rem;
  text-transform: uppercase;
}

.y-sioe-rhino div.subSubSection div.sectionHeading {
  padding: 2% 20px 0;
}

.y-sioe-rhino div.copy {
  padding-bottom: 58px;
}

.y-sioe-rhino .lightBG.ysioe-home {
  background-color: transparent;
}

.y-sioe-rhino .lightBG h2 a {
  color: #323b40;
}
.y-sioe-rhino div.pageSubSubTitle > h3 {
  text-align: center;
}
@media screen and (max-width: 1200px) {
  .y-sioe-rhino div.pageSubSubTitle > h3 {
    font-size: 1.6rem;
  }
}
.y-sioe-rhino div.pageSubSubTitle > h2 {
  text-align: center;
}
@media screen and (max-width: 1200px) {
  .y-sioe-rhino div.pageSubSubTitle > h2 {
    font-size: 1.9rem;
  }
}
.y-sioe-rhino div.subSectionMenu {
  display: none;
}

.y-sioe-rhino.s4cSection2 ul.feedLinks span.icon {
  color: #000;
}
.y-sioe-rhino.s4cSection2 .masonryGridItem a:hover {
  color: #7db33b;
}
.y-sioe-rhino.s4cSection2 ul.feedLinks a:hover span.icon,
.y-sioe-rhino.s4cSection2 ul.feedLinks a:focus span.icon {
  color: #7db33b;
}

.y-sioe-rhino header.s4c-header.sticky {
  background: #f4f7f8;
}

.y-sioe-rhino input[type='button'],
.y-sioe-rhino input[type='reset'],
.y-sioe-rhino input[type='submit'] {
  padding: 10px 50px;
}

.y-sioe-rhino .sponsor .textBlock {
  color: #222;
}

/* Slideshow container */
.y-sioe .slideshow-container {
  max-width: 600px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.fySleidiau {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white !important;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  box-shadow: none !important;
}

/* Position the "next button" to the right */
.next {
  right: 0 !important;
  border-radius: 3px 0 0 3px;
}

/* 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);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dotiau {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dotiau:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

.y-sioe-rhino.y-sioe {
  background-size: cover;
}

.y-sioe-rhino.y-sioe: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/1600x898_Landing-Page3.jpg)
    center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.y-sioe-rhino.y-sioe {
  background-size: cover;
}

.y-sioe-rhino.y-sioe div.subSubSection div.sectionHeading h1.largeHeading {
  padding: 5% 0 !important;
  background-image: url('https://www.s4c.cymru/media/media_assets/1600x898_Landing_Page2_Updated.png');
  background-position: center 100%;
  background-size: 55%;
  background-repeat: no-repeat;
}

.y-sioe-rhino.y-sioe div.subSubSection div.sectionHeading h1.largeHeading img {
  visibility: hidden;
  opacity: 0;
}

@media screen and (min-width: 525px) {
  .y-sioe-rhino.y-sioe div.subSubSection div.sectionHeading h1.largeHeading {
    padding: 35% 0 0 !important;
    background-position: center;
    background-size: 60%;
  }
}

@media screen and (min-width: 768px) {
  .y-sioe-rhino.y-sioe div.subSubSection div.sectionHeading h1.largeHeading {
    padding: 5% 0 0 !important;
    background-position: center 0;
    background-size: 35%;
  }

  .y-sioe-rhino.y-sioe div.subSubSection div.sectionHeading {
    padding-top: 12%;
    padding-bottom: 10%;
  }
}

@media screen and (min-width: 900px) {
  .y-sioe-rhino.y-sioe div.subSubSection div.sectionHeading h1.largeHeading {
    background-position: center 5%;
  }
}

@media screen and (min-width: 1024px) {
  .y-sioe-rhino.y-sioe div.subSubSection div.sectionHeading h1.largeHeading {
    background-position: center 5%;
    background-size: 25%;
  }
  .y-sioe-rhino.y-sioe div.subSubSection div.sectionHeading {
    padding-top: 6%;
    padding-bottom: 10%;
  }
}

@media screen and (min-width: 1200px) {
  .y-sioe-rhino.y-sioe div.subSubSection div.sectionHeading h1.largeHeading {
    background-position: center 15%;
  }
}

@media screen and (min-width: 1440px) {
  .y-sioe-rhino.y-sioe div.subSubSection div.sectionHeading h1.largeHeading {
    background-position: center 4%;
    background-size: 20%;
  }
  .y-sioe-rhino.y-sioe div.subSubSection div.sectionHeading {
    padding: 0;
  }
}

@media screen and (min-width: 2560px) {
  .y-sioe-rhino.y-sioe div.subSubSection div.sectionHeading h1.largeHeading {
    background-position: center 10%;
  }
}
