/* 
	
This is to quickly build a stylesheet for a section for the CMS	
	
---------------------------------------------------------------------*/
/* Light/Pebble colour
@buttText: #323b40;
@buttHoverText: #323b40;
@buttBg: #dce1df;
@buttHoverBg: #fff;
@buttActiveText: #36312d;
@buttActiveBg: #fff;

Rhino: #323b40
Pebble: #dce1df
Teal: #008c9b
*/
/* 1. Button Colours
-----------------------------------------------------------------------------------------------
===============================================================================================*/
body.pebble-fflam.subSubSection1 li.subSubSectionLink1 a.button,
body.pebble-fflam.subSubSection1 li.subSubSectionLink1 a.buttonIcon,
body.pebble-fflam.subSubSection1 li.subSubSectionLink1 a.buttonIcon span.icon,
body.pebble-fflam.subSubSection1 li.subSubSectionLink1 a.button span.icon,
body.pebble-fflam.subSubSection1 li.subSubSectionLink1 a.button span.label,
body.pebble-fflam.subSubSection2 li.subSubSectionLink2 a.button,
body.pebble-fflam.subSubSection2 li.subSubSectionLink2 a.buttonIcon,
body.pebble-fflam.subSubSection2 li.subSubSectionLink2 a.buttonIcon span.icon,
body.pebble-fflam.subSubSection2 li.subSubSectionLink2 a.button span.icon,
body.pebble-fflam.subSubSection2 li.subSubSectionLink2 a.button span.label,
body.pebble-fflam.subSubSection3 li.subSubSectionLink3 a.button,
body.pebble-fflam.subSubSection3 li.subSubSectionLink3 a.buttonIcon,
body.pebble-fflam.subSubSection3 li.subSubSectionLink3 a.buttonIcon span.icon,
body.pebble-fflam.subSubSection3 li.subSubSectionLink3 a.button span.icon,
body.pebble-fflam.subSubSection3 li.subSubSectionLink3 a.button span.label,
body.pebble-fflam.subSubSection4 li.subSubSectionLink4 a.button,
body.pebble-fflam.subSubSection4 li.subSubSectionLink4 a.buttonIcon,
body.pebble-fflam.subSubSection4 li.subSubSectionLink4 a.buttonIcon span.icon,
body.pebble-fflam.subSubSection4 li.subSubSectionLink4 a.button span.icon,
body.pebble-fflam.subSubSection4 li.subSubSectionLink4 a.button span.label,
body.pebble-fflam.subSubSection5 li.subSubSectionLink5 a.button,
body.pebble-fflam.subSubSection5 li.subSubSectionLink5 a.buttonIcon,
body.pebble-fflam.subSubSection5 li.subSubSectionLink5 a.buttonIcon span.icon,
body.pebble-fflam.subSubSection5 li.subSubSectionLink5 a.button span.icon,
body.pebble-fflam.subSubSection5 li.subSubSectionLink5 a.button span.label,
body.pebble-fflam.subSubSection6 li.subSubSectionLink6 a.button,
body.pebble-fflam.subSubSection6 li.subSubSectionLink6 a.buttonIcon,
body.pebble-fflam.subSubSection6 li.subSubSectionLink6 a.buttonIcon span.icon,
body.pebble-fflam.subSubSection6 li.subSubSectionLink6 a.button span.icon,
body.pebble-fflam.subSubSection6 li.subSubSectionLink6 a.button span.label,
body.pebble-fflam.subSubSection7 li.subSubSectionLink7 a.button,
body.pebble-fflam.subSubSection7 li.subSubSectionLink7 a.buttonIcon,
body.pebble-fflam.subSubSection7 li.subSubSectionLink7 a.buttonIcon span.icon,
body.pebble-fflam.subSubSection7 li.subSubSectionLink7 a.button span.icon,
body.pebble-fflam.subSubSection7 li.subSubSectionLink7 a.button span.label,
body.pebble-fflam.subSubSection8 li.subSubSectionLink8 a.button,
body.pebble-fflam.subSubSection8 li.subSubSectionLink8 a.buttonIcon,
body.pebble-fflam.subSubSection8 li.subSubSectionLink8 a.buttonIcon span.icon,
body.pebble-fflam.subSubSection8 li.subSubSectionLink8 a.button span.icon,
body.pebble-fflam.subSubSection8 li.subSubSectionLink8 a.button span.label,
body.pebble-fflam.subSubSection9 li.subSubSectionLink9 a.button,
body.pebble-fflam.subSubSection9 li.subSubSectionLink9 a.buttonIcon,
body.pebble-fflam.subSubSection9 li.subSubSectionLink9 a.buttonIcon span.icon,
body.pebble-fflam.subSubSection9 li.subSubSectionLink9 a.button span.icon,
body.pebble-fflam.subSubSection9 li.subSubSectionLink9 a.button span.label,
body.pebble-fflam.subSSubection10 li.subSubSectionLink10 a.button,
body.pebble-fflam.subSubSection10
  li.subSubSectionLink10
  a.buttonIcon
  body.pebble-fflam.subSubSection10
  li.subSubSectionLink10
  a.buttonIcon
  span.icon,
body.pebble-fflam.subSubSection10 li.subSubSectionLink10 a.button span.icon,
body.pebble-fflam.subSubSection10 li.subSubSectionLink10 a.button span.label {
  color: #36312d;
}
.pebble-fflam.greenUI a.button,
.pebble-fflam.greenUI a.buttonIcon,
.pebble-fflam .buttonIconInner,
.pebble-fflam .buttonInner,
.pebble-fflam .buttonIconInner,
.pebble-fflam .buttonInner {
  color: #323b40;
}
.pebble-fflam .s4cContent div.masonryItemInfo a,
.pebble-fflam .s4cContent div.masonryItemInfo a span.icon {
  color: #323b40;
}
.pebble-fflam .s4cContent div.masonryItemInfo a:hover,
.pebble-fflam .s4cContent div.masonryItemInfo a span.icon:hover {
  color: #323b40;
}
.pebble-fflam .s4cContent a.button,
.pebble-fflam .s4cContent a.buttonIcon {
  background: #dce1df;
  color: #323b40;
}
.pebble-fflam .s4cContent a.button span.skew,
.pebble-fflam .s4cContent a.buttonIcon span.skew {
  background: #fff;
  color: #323b40;
}
.pebble-fflam .buttonIconInner:hover,
.pebble-fflam .buttonInner:hover {
  color: #323b40;
}
.pebble-fflam.greenUI a.button:hover span.icon,
.pebble-fflam.greenUI a.buttonIcon:hover span.icon {
  color: #323b40;
}
.pebble-fflam a.button span.icon,
.pebble-fflam a.buttonIcon span.icon {
  color: #323b40;
}
.pebble-fflam .lightBG a,
.pebble-fflam .darkBG a {
  color: #323b40;
}
.pebble-fflam .lightBG a:hover,
.pebble-fflam .darkBG a:hover {
  color: #323b40;
}
.pebble-fflam .actions a.button,
.pebble-fflam .actions a.buttonIcon {
  background: #dce1df;
  color: #323b40;
}
.pebble-fflam .s4cContent a.button,
.pebble-fflam .s4cContent a.buttonIcon {
  background: #dce1df;
  color: #323b40;
}
.pebble-fflam .s4cContent a.button span.skew,
.pebble-fflam .s4cContent a.buttonIcon span.skew {
  background: #fff;
  color: #323b40;
}
.pebble-fflam .buttonIconInner:hover,
.buttonInner:hover {
  color: #323b40;
}
.pebble-fflam.greenUI a.button:hover span.icon,
.pebble-fflam.greenUI a.buttonIcon:hover span.icon {
  color: #323b40;
}
.pebble-fflam strong {
  font-weight: bold;
}
.pebble-fflam a.button span.icon,
.pebble-fflam a.buttonIcon span.icon {
  color: #323b40;
}
.pebble-fflam.greenUI a.carouselControl {
  background: #dce1df;
}
.pebble-fflam.s4cSection2 ul.feedLinks span.icon {
  color: #36312d;
}
.pebble-fflam.s4cSection2 .masonryGridItem a:hover {
  color: #36312d;
}
.pebble-fflam.s4cSection2 ul.feedLinks a:hover span.icon,
.pebble-fflam.s4cSection2 ul.feedLinks a:focus span.icon {
  color: #36312d;
}
ul.feedLinks a:hover,
ul.feedLinks a:focus {
  -webkit-box-shadow: inset -30px 0 0 0 #dce1df;
  -moz-box-shadow: inset -30px 0 0 0 #dce1df;
}
/* Custom Styles */
.pebble-fflam.darkBG .carouselControls a.carouselControl,
.pebble-fflam.lightBG .carouselControls a.carouselControl {
  color: #323b40;
}
.pebble-fflam.greenUI a.carouselControl:hover {
  background: #fff;
}
.pebble-fflam hr {
  background: #dce1df;
}
.pebble-fflam .s4cContent div.masonryItemInfo h2 a,
.pebble-fflam .s4cContent div.masonryItemInfo h2 a:hover {
  color: #33312d;
}
.pebble-fflam strong {
  font-weight: bold;
}
.pebble-fflam {
  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;
}
.pebble-fflam .hero {
  margin-bottom: 0;
  border-top: 1px solid #fff;
}
.pebble-fflam .explore-main .masonryGridItemContent {
  background: none;
  color: #fff;
}
.music-4.pebble-fflam .subSectionMenu,
.cerddoriaeth-4.pebble-fflam .subSectionMenu,
.drama-2.pebble-fflam .subSectionMenu,
.drama-3.pebble-fflam .subSectionMenu,
.ffeithiol-2.pebble-fflam .subSectionMenu,
.factual-2.pebble-fflam .subSectionMenu,
.adloniant-3.pebble-fflam .subSectionMenu,
.entertainment-3.pebble-fflam .subSectionMenu {
  padding-bottom: 5%;
}
.pebble-fflam .explore-main .masonryItemInfo,
.pebble-fflam .explore-main .masonryItemInfo p {
  font-size: 1.9rem;
}
body.subSection.pori-10.pebble-fflam .sectionHeading,
body.subSection.explore-10.pebble-fflam .sectionHeading {
  padding: 2% 20px 0;
}
.pori-10.pebble-fflam h1.largeHeading,
.explore-10.pebble-fflam h1.largeHeading {
  padding: 4% 0 0;
}
.pebble-fflam .sponsor {
  padding: 5.5% 0;
}
.pebble-fflam div.masonryItemInfo ul li {
  list-style: outside none disc;
  margin: 0 0 0.5em 1em;
}
.pebble-fflam #contact-form {
  padding: 25px 0 20px;
}
.pebble-fflam #contact-form div {
  margin-bottom: 25px;
}
.pebble-fflam #contact-form label span {
  cursor: pointer;
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 2.4rem;
  margin: 5px 0;
}
.pebble-fflam #contact-form input[type='text'],
.pebble-fflam #contact-form input[type='email'],
.pebble-fflam #contact-form input[type='tel'],
.pebble-fflam #contact-form input[type='url'],
.pebble-fflam #contact-form textarea,
.pebble-fflam #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%;
}
.pebble-fflam #contact-form select {
  height: 50px;
}
.pebble-fflam #contact-form input[type='text']:hover,
.pebble-fflam #contact-form input[type='email']:hover,
.pebble-fflam #contact-form input[type='tel']:hover,
.pebble-fflam #contact-form input[type='url']:hover,
.pebble-fflam #contact-form textarea:hover,
.pebble-fflam #contact-form select:hover {
  border: 1px solid #aaa;
  transition: border-color 0.3s ease-in-out 0s;
}
.pebble-fflam #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;
}
.pebble-fflam #contact-form input[type='checkbox']:hover {
  border: 1px solid #aaa;
  transition: border-color 0.3s ease-in-out 0s;
}
.pebble-fflam #contact-form textarea {
  height: 100px;
  max-width: 100%;
}
.pebble-fflam #contact-form select {
  height: 50px;
  max-width: 100%;
}
.pebble-fflam #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%;
}
.pebble-fflam #contact-form button[type='submit']:hover {
  background: none repeat scroll 0 0 #323b40;
  transition: background-color 0.3s ease-in-out 0s;
}
.pebble-fflam #contact-form button[type='submit']:active {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) inset;
}
.pebble-fflam #contact-form input:focus,
.pebble-fflam #contact-form textarea:focus {
  border: 1px solid #999;
  outline: 0 none;
}
.pebble-fflam #name_trp {
  display: none;
}

.pebble-fflam li ul,
.pebble-fflam li ol {
  font-size: 0.9rem;
}

.pebble-fflam .heroText {
  font-size: 1.4rem;
}

/* Garddio a Mwy */
.garddio-a-mwy .sponsor {
  background: #fff;
  color: #4f585c;
}

.pebble-fflam .lightBG.rownd-home {
  background: none;
  background-color: transparent;
}
.pebble-fflam .lightBG {
  padding-bottom: 2%;
}

@media only screen and (min-width: 640px) {
  div.pageTitle > h1 {
    font-size: 42px;
  }
}

div.contentBlock {
  padding: 5% 0 1% 0;
}

.fullWidthVideo {
  margin-top: 7%;
  margin-bottom: 15%;
}

.pebble-fflam.yr-amgueddfa {
  background-size: cover;
}
.pebble-fflam.yr-amgueddfa: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/1600x868_Master_Yr_Amgueddfa_2022.jpg)
    center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
@viewport {
  width: device-width;
  zoom: 1;
}

.pebble-fflam.y-swn {
  background: linear-gradient(180deg, #70f1cf 35%, #ffff00 35%) !important;
}

.pebble-fflam.y-swn .masonryGridItem.w2 .masonryGridItemContent {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media screen and (min-width: 375px) {
  .pebble-fflam.y-swn {
    background: linear-gradient(
      180deg,
      #70f1cf 36.7%,
      #ffff00 36.7%
    ) !important;
  }
}

@media screen and (min-width: 425px) {
  .pebble-fflam.y-swn {
    background: linear-gradient(180deg, #70f1cf 38%, #ffff00 38%) !important;
  }
}

@media screen and (min-width: 768px) {
  .pebble-fflam.y-swn {
    background: linear-gradient(
      180deg,
      #70f1cf 41.2%,
      #ffff00 41.2%
    ) !important;
  }
}

@media screen and (min-width: 1024px) {
  .pebble-fflam.y-swn {
    background: linear-gradient(180deg, #70f1cf 35.5%, #ffff00 35.5%) !important;
  }
  h1.largeHeading img {
    max-width: 35%;
  }
}

@media screen and (min-width: 1440px) {
  .pebble-fflam.y-swn {
    background: linear-gradient(180deg, #70f1cf 37%, #ffff00 37%) !important;
  }
}

@media screen and (min-width: 2560px) {
  .pebble-fflam.y-swn {
    background: linear-gradient(
      180deg,
      #70f1cf 44.3%,
      #ffff00 44.3%
    ) !important;
  }
}
