/**GENERAL**/

body, p, li {
  font-family: "sofia-pro-soft", sans-serif;
  font-weight: 400;
  font-style: normal;
	font-size:1.3rem;
	line-height: 1.5rem;
}

h1, h2, h3, h4, h5 {
font-family: "sofia-pro-soft", sans-serif;
font-weight: 700;
font-style: normal;
margin: 25px 0px 25px 0px;
}

h1 {font-size: 2.7rem; line-height: 2.9rem;}
h2{font-size: 2.4rem; line-height: 2.6rem;}
h3{font-size: 1.9rem; line-height: 2.1rem;}
h4{font-size: 1.8rem; line-height: 2.0rem;}
h5{font-size: 1.6rem; line-height: 1.8rem;}

a {transition-duration: 0.5s;}

iframe {max-width:100%;}

img {max-width:100%;}

hr {
max-width: 200px;
background-color: #139335;
height: 2px;
border: 0;
}

.bold {font-weight: bold;}

strong {font-weight: bold;}

.side-padding {
    padding: 5px 30px !important;
}

.cta{
	text-transform: uppercase;
	font-size:1.3rem;
	display:inline-block;
  font-family: "sofia-pro-soft", sans-serif;
  font-weight: 400;
  font-style: normal;
	border-radius: 10px;
	margin-bottom:20px;
	text-decoration: none !important;
}

.logo {
  max-width: 400px;
  width: 100%;
	margin-top:35px;
}


/**WHITE BACKGROUND**/
.white-background {
color:#36323E;
background-color:#ffffff;
}

.white-background h1, .white-background h2, .white-background h3, .white-background h4, .white-background h5 {color:#36323E;}

.white-background hr {background-color: #36323E; margin: 0;}

.white-background a {color: #36323E; text-decoration: underline; text-underline-offset: 3px;}
.white-background a:hover {color: #348426; text-decoration: underline; text-underline-offset: 3px;}

.white-background .cta {
	padding:12px 18px 12px 18px;
	background: #216416;
	color:#ffffff;
	transition: 0.5s;
	display: inline-block;
}
.white-background .cta:hover{
	background: #36323E;
	color:#fff;
	transition: 0.5s;
}

/**GREEN BACKGROUND**/
.green-background {
color:#000;
background-color:#45A035;
}

.green-background h1, .green-background h2, .green-background h3, .green-background h4, .green-background h5 {color:#000;}

.green-background hr {background-color: #000; margin: 0;}

.green-background a {color: #000; text-decoration: underline; text-underline-offset: 3px;}
.green-background a:hover {color: #000; text-decoration: none; text-underline-offset: 3px;}

.green-background .cta {
	padding:12px 18px 12px 18px;
	background: #36323E;
	color:#ffffff;
	transition: 0.5s;
	display: inline-block;
}
.green-background .cta:hover{
background: #000;
	color:#fff;
	transition: 0.5s;
}
/**LIGHT GREEN BACKGROUND**/
.light-green-background {
color:#000;
background-color:#83bd35;
}

.light-green-background h1, .light-green-background h2, .light-green-background h3, .light-green-background h4, .light-green-background h5 {color:#000;}

.light-green-background hr {background-color: #000; margin: 0;}

.light-green-background a {color: #000; text-decoration: underline; text-underline-offset: 3px;}
.light-green-background a:hover {color: #000; text-decoration: none; text-underline-offset: 3px;}

.light-green-background .cta {
	padding:12px 18px 12px 18px;
	background: #36323E;
	color:#ffffff;
	transition: 0.5s;
	display: inline-block;
}
.light-green-background .cta:hover{
background: #13480a;
	color:#fff;
	transition: 0.5s;	
}
/**GREY BACKGROUND**/
.grey-background {
color:#36323E;
background-color:#e6e6e6;
}

.grey-background h1, .grey-background h2, .grey-background h3, .grey-background h4, .grey-background h5 {color:#36323E;}

.grey-background hr {background-color: #36323E; margin: 0;}

.grey-background a {color: #36323E; text-decoration: underline; text-underline-offset: 3px;}
.grey-background a:hover {color: #2a711d; text-decoration: underline; text-underline-offset: 3px;}

.grey-background .cta {
	padding:12px 18px 12px 18px;
	background: #36323E;
	color:#ffffff;
	transition: 0.5s;
	display: inline-block;
}
.grey-background .cta:hover{
	background: #216416;
	color:#fff;
	transition: 0.5s
}

/**CHARCOLE BACKGROUND**/
.charcole-background {
color:#ffffff;
background-color:#36323E;
}

.charcole-background h1, .charcole-background h2, .charcole-background h3, .charcole-background h4, .charcole-background h5 {color:#ffffff;}

.charcole-background hr {background-color: #d1e8cd; margin: 0;}

.charcole-background a {color: #ffffff; text-decoration: underline; text-underline-offset: 3px;}
.charcole-background a:hover {color: #92CC44; text-decoration: underline; text-underline-offset: 3px;}

.charcole-background .cta {
	padding:12px 18px 12px 18px;
background: #83bd35;
  color: #000;
	transition: 0.5s;
	display: inline-block;
}
.charcole-background .cta:hover{
background: #45a035;
  color: #000;
  transition: 0.5s;
}
/**TRANSPARENT LIGHT GREEN BACKGROUND**/
.transparent-white-background {
color:#36323E;
background-color: rgba(255, 255, 255, 0.8);
}

.transparent-white-background h1, .transparent-white-background h2, .transparent-white-background h3, .transparent-white-background h4, .transparent-white-background h5 {color:#36323E;}

.transparent-white-background hr {background-color: #36323E; margin: 0;}

.transparent-white-background a {color: #36323E; text-decoration: underline; text-underline-offset: 3px;}
.transparent-white-background a:hover {color: #348426; text-decoration: underline; text-underline-offset: 3px;}

.transparent-white-background .cta {
	padding:12px 18px 12px 18px;
	background: #36323E;
	color:#ffffff;
	transition: 0.5s;
	display: inline-block;
}
.transparent-white-background .cta:hover{
	background: #216416;
	color:#fff;
	transition: 0.5s;
}

/**TRANSPARENT GREEN BACKGROUND**/
.transparent-charcole-background {
color:#ffffff;
background-color: rgba(54, 50, 62,0.5);
}

.transparent-charcole-background h1, .transparent-charcole-background h2, .transparent-charcole-background h3, .transparent-charcole-background h4, .transparent-charcole-background h5 {color:#ffffff;}

.transparent-charcole-background hr {background-color: #ffffff; margin: 0;}

.transparent-charcole-background a {color: #ffffff; text-decoration: underline; text-underline-offset: 3px;}
.transparent-charcole-background a:hover {color: #92CC44; text-decoration: underline; text-underline-offset: 3px;}

.transparent-charcole-background .cta {
	padding:12px 18px 12px 18px;
background: #83bd35;
  color: #000;
	transition: 0.5s;
	display: inline-block;
}
.transparent-charcole-background .cta:hover{
background: #45a035;
  color: #000;
  transition: 0.5s;	
}

/**SPACING**/
.spacing {
margin-top: 70px;
margin-bottom: 70px;
}

.gwasanaethau-padding {
  padding-top: 70px;
  padding-left: 0px;
  padding-right: 0px;
  padding-bottom: 70px;	
}

.gwasanaethau .hmy-content-wrapper {
  padding: 10px;
}

.gwasanaethau .tiles-tile-image-link-container {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.spacing-lg {
  margin-top: 120px !important;
  margin-bottom: 120px !important;
}

.main-padding {
  padding-top: 70px;
  padding-bottom: 70px;
}

/**TOP-ROW & FOOTER**/

.top-row a {
text-decoration: none !important;	
}

.p7LBM-01{
            min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer{
    margin-top: auto;
}

.footer ul {
  list-style: none;
	padding-left:0px;
}

.footer li {
  margin-bottom: 10px !important;
}

.sub-footer {border-top: 8px solid #d2cdcd;}

/**IMAGES**/

.logo-ss {
max-width: 300px;
  width: 100%;
  margin-top: 130px;
  margin-bottom: 200px;
}

.logo-footer {
max-width: 180px;
  width: 100%;
  margin-top: 30px;
	  transition-duration: 0.5s;
}

.silhouette {
width: 100%;
  margin-top: -308px;
  z-index: 3000;
  position: relative;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-bottom: 20px;
}

/**PROJECT SEVEN**/
.lbm-centered hr {margin:auto;}
.lbm-right hr {margin-right: 0 !important; margin: auto;}
.p7AMM.amm-rootlinks-mint ul a {
  background-color: transparent;
}
.p7AMM li a {
  display: block;
  padding: 15px 20px;
  font-size: 1.2rem;
  font-family: "sofia-pro-soft", sans-serif;
  font-weight: 400;
  font-style: normal;
text-decoration: none !important;	
}

.p7AMM.amm-rootlinks-mint ul a:hover, .p7AMM.amm-rootlinks-mint ul a:focus, .p7AMM.amm-rootlinks-mint ul a.amm-trigger.open {
  background-color: rgb(54, 50, 62);
  color: #FFF;
  border-radius: 10px;
}

.p7AMM.amm-subs-green ul ul {background-color: rgb(69, 160, 53);}

.p7AMM.amm-subs-green ul ul {
  background-color: rgb(69, 160, 53);
  border-radius: 10px;
}

.p7AMM.amm-subs-green ul ul a:hover, .p7AMM.amm-subs-green ul ul a:focus, .p7AMM.amm-subs-green ul ul a.amm-trigger.open {
  background-color: rgb(34,34,34);
  color: #FFF;
}

.p7AMM ul ul li {padding: 5px 5px;}

.p7ISM.ism-root-green .ism-outer-wrapper, .p7ISM .ism-panel.ism-panel-green, .p7ISM.ism-arrow-green .ism-arrow-left, .p7ISM.ism-arrow-green .ism-arrow-right, .ism-pags-color-green.ism-paginator a, .ism-pags-hover-green.ism-paginator a:hover, .ism-pags-down-green.ism-paginator a.down {
  background-color: transparent;
  color: #FFF;
}

.p7ISM.ism-root-white .ism-outer-wrapper, .p7ISM .ism-panel.ism-panel-white, .p7ISM.ism-arrow-white .ism-arrow-left, .p7ISM.ism-arrow-white .ism-arrow-right, .ism-pags-color-white.ism-paginator a, .ism-pags-hover-white.ism-paginator a:hover, .ism-pags-down-white.ism-paginator a.down {
  background-color: transparent;
  color: #000;
}

.ism-pad-30 .ism-content {
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 25px;
  padding-right: 25px;
}

.p7ISM {
  padding-top: 20px;
  padding-bottom: 20px;
}

.whats-on .ism-content  h3 {margin-top: 0px; }
/**SLIDESHOW**/
.ss-box {
margin-top: 185px;
  border-radius: 20px;
  margin-bottom: 200px;
}

/**IMAGE TITLE**/

.image-tile-margin {
  margin-top: 30px;
}

.image-tile-image-left {
padding: 0px;
width: 100%;
  margin: 0;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
height: 25rem;
  border-radius: 20px;
}

.image-tile-image-left img{
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	-o-object-position: center;
	object-position: center;
	transition: -webkit-transform .5s;
	transition: transform .5s;
	transition: transform .5s,-webkit-transform .5s;
}

.image-tile-image-right {
	padding: 0px;
width: 100%;
  margin: 0;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
height: 30rem;
  margin-bottom: -65px;
  margin-top: -65px;
  border-radius: 20px;
}

.image-tile-image-right img{
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	-o-object-position: center;
	object-position: center;
	transition: -webkit-transform .5s;
	transition: transform .5s;
	transition: transform .5s,-webkit-transform .5s;
}

.image-tile-image-banner {
	padding: 0px;
width: 100%;
  margin: 0;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
 height: 26rem;
}

.image-tile-image-banner img{
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	-o-object-position: center;
	object-position: center;
	transition: -webkit-transform .5s;
	transition: transform .5s;
	transition: transform .5s,-webkit-transform .5s;
}



.tile-image-link:hover img{
 -webkit-transform:scale(1.1);
 transform:scale(1.1);
	
}

/*
***************************************************
ITS TILES PAGE
***************************************************
*/

.list-grid h2 {
  font-size: 1.6rem !important;
  line-height: 2rem !important;
}

.list-grid .hmy-content, .section-grid .hmy-content {padding: 10px;}

.its h2 {
  font-size: 1.8rem;
  line-height: 2.0rem;
}
.its {margin-top: -25px;
  border-radius: 20px;}


/*
***************************************************
SPONSORS PAGE
***************************************************
*/
.partners-grid .hmy-content {padding: 10px;}


/*
***************************************************
NEWS PAGE
***************************************************
*/
.news-grid .hmy-content {padding: 10px;}
.news-grid .tiles-tile-description h2 {
  font-size: 1.8rem;
  margin-top: 7px;
  margin-bottom: 7px;
  line-height: 2.4rem;
}

/*
***************************************************
HOME NEWS PAGE HMY
***************************************************
*/

.news-grid-hmy .hmy-content {
	padding: 5px 10px 5px 0.5px;}

.description-border-top-hmy {
  border-top: 4px solid #45a035;
	/*margin-bottom: 30px;*/}
.grey-background .hmy-pad .cta {
	margin-top: 30px!important;}

/*
***************************************************
HOME NEWS PAGE HMY/SLIDER STYLE
***************************************************
*/
.news-slider .ism-pad-30 .ism-content {
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 0.5px;
  padding-right: 10px;
}

/*
***************************************************
HOME NEWS PAGE  ORIGINAL SLIDER STYLE
***************************************************
*/

.image-tile-left {
  padding: 0px;
  width: 500px;
  margin: 0;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
  height: 20rem;
 /* border-radius: 20px;*/
}
.image-tile-left img{
	width: 100%;
	height: 310px;
	-o-object-fit: cover;
	object-fit: cover;
	-o-object-position: center;
	object-position: center;
	transition: -webkit-transform .5s;
	transition: transform .5s;
	transition: transform .5s,-webkit-transform .5s;
	padding-right: 20px;
}

.wraparound-img-left-news {
  width: 100%;
  max-width: 40%;
 padding: 10px;
  padding: 0px;
  float: left;
}

.news-slider-org{
	padding: 20px
}

.slider  .cta {
	padding:12px 18px 12px 18px;
	background: #36323E;
	color:#ffffff;
	transition: 0.5s;
	display: inline-block;
	margin-top: 20px;
	font-weight: initial;
}
.slider  .cta:hover{
	background: #216416;
	color:#fff;
	transition: 0.5s
}

.slider .ism-content a {
	border-bottom: 0px dotted;}

/*
***************************************************
TILES LISTING PAGE
***************************************************
*/
.tiles-image-tile-image{
	padding: 0px;
    width: 100%;
    margin: 0;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow: hidden;
  height: 22rem;
}


.tiles-image-tile-image img{
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	-o-object-position: center;
	object-position: center;
	/*-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: -webkit-transform .5s;*/
	transition: -webkit-transform .5s;
	transition: transform .5s;
	transition: transform .5s,-webkit-transform .5s;	
	border-radius: 0px 0px 0px 0px;
}

.tiles-tile-image-link:hover img{
 -webkit-transform:scale(1.1);
 transform:scale(1.1)
}

.tiles-tile-image-link{
	text-decoration: none !important;
}

.tiles-tile-image-link-container{
	transition: box-shadow .5s,transform .5s,-webkit-box-shadow .5s,-webkit-transform .5s;
	-webkit-box-shadow: 0 10px 40px -15px rgba(0,0,0,.2);
	box-shadow: 0 10px 40px -15px rgba(0,0,0,.2);	
}

.tiles-tile-description{
	padding:5px 15px 15px 20px;
	border-radius: 0px 0px 0px 0px;
	background-color: #fff;
}

.description-border-top {border-top: 4px solid #45a035;}

.description-border-bottom {border-bottom: 4px solid #45a035;}

.tiles-tile-description h2{
	font-size: 2.0rem;
	margin-top:7px;
	margin-bottom:7px;
}

.tiles-tile-description p{
	font-size: 1.2rem;
  line-height: 1.4rem;
  margin-top: 10px;
  margin-bottom: 10px;
}

.tiles-tile-description hr{
	border-bottom: 5px solid #131C47;
	margin:-15px 0px 0px 0px;
	width: 100px;
	max-width: 100%;
	border-top: none;
}

.gwasanaethau-mobile {display:none;}
.gwasanaethau-desktop {display:block;}
/*
***************************************************
IMAGE BOX LISTING PAGE
***************************************************
*/
.box-image-tile-image{
	padding: 0px;
    width: 100%;
    margin: 0;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow: hidden;
  height: 26rem;
}


.box-image-tile-image img{
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	-o-object-position: center;
	object-position: center;
	/*-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: -webkit-transform .5s;*/
	transition: -webkit-transform .5s;
	transition: transform .5s;
	transition: transform .5s,-webkit-transform .5s;		
}

.box-tile-image-link:hover img{
 -webkit-transform:scale(1.1);
 transform:scale(1.1)
}

.box-tile-image-link{
	text-decoration: none;
}

.box-tile-image-link-container{
	transition: box-shadow .5s,transform .5s,-webkit-box-shadow .5s,-webkit-transform .5s;
	-webkit-box-shadow: 0 10px 40px -15px rgba(0,0,0,.2);
	box-shadow: 0 10px 40px -15px rgba(0,0,0,.2);	
}


.box-tile-description hr{
	border-bottom: 5px solid #131C47;
	margin:-15px 0px 0px 0px;
	width: 100px;
	max-width: 100%;
	border-top: none;
}

/**SUB PAGES**/
.sub-main a.p7AP4-01 {
	background-color: #fff;
	color: #000;
	background-image: url(../p7ap4/img/p7AP4_east_black.png);
	box-shadow: inset 0px 4px 4px rgba(255,255,255,0.02);
}
.sub-main a.p7AP4-01:hover {
	background-color: #e6e6e6;
	color: #36323E;
	background-image: url(../p7ap4/img/p7AP4_south_black.png);
	box-shadow: inset 0px 28px 3px rgba(255,255,255,0.025);
}
.sub-main a.p7AP4-01.ap4Trigs_down {
	background-image: url(../p7ap4/img/p7AP4_south_black.png);
	background-color: #83bd35;
	color: #000;
}
.sub-main a.p7AP4-01.ap4Trigs_down:hover {
	background-color: #e6e6e6;
	color: #36323E;
}
.sub-main a.p7AP4-01.current_mark {
	font-weight: normal;
}
.sub-main .p7AP4-01.ap4-trig-border a.p7AP4-01 {
  /*border-bottom: 1px solid #000;*/
}

.sub-main .p7AP4-01.ap4-panel-border .p7AP4-01.p7AP4content {
  border-left: none;
  border-right: none;
}

.sub-main .p7AP4-01.ap4-trig-border a.p7AP4-01, .sub-main .p7AP4-01.ap4-trig-border a.p7AP4-01, .sub-main .p7AP4-01.ap4-trig-border a.p7AP4-01.ap4last, .sub-main .p7AP4-01.ap4-trig-border a.p7AP4-01.p7AP4_ext.ap4last {
  border-bottom: 4px solid #83bd35;
}

.sub-main li.agm-current-category {font-weight: normal;}

.sub-main .agm-white .agm-section.agm-down a {border-color: rgb(131, 189, 53);}

.sub-main .agm-caption {background-color: rgb(131, 189, 53); color: #000;}

.sub-main .p7AP4-01.p7AP4trig a, .p7AP4-01.p7AP4trig h3, .p7AP4-01.p7AP4trig h4 {
  line-height: 1.7rem;
  font-size: 1.3rem;
  text-transform: capitalize;
 text-decoration: none;
}

.contact-col .hmy-content, .llogi-col .hmy-content, .llogi-col-bottom .hmy-content {padding: 0px 20px;}

/**DESKTOP**/

.hide-on-desktop {display:none!important;}
.display-on-desktop {display:block!important;}

/**RESPONSIVE FORM**/

input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=tel],
input[type=number]
 {
	max-width:500px;
	width: 98%;
	padding:10px;	
	border: 1px solid #191010;
	font-family: "sofia-pro-soft", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size:1.3rem; 
	 margin-bottom:15px;
	 display: inline-block;
	 margin-top: 5px;
}

textarea{
	max-width:500px;
	width: 98%;
	border: 1px solid #191010;	
	font-family: "sofia-pro-soft", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 1.3rem; 
	margin-bottom:15px;
	padding:10px;
	resize: none;
	display: inline-block;
	margin-top: 5px;
  }

select {
	max-width:514px;
	width: 98%;
	border: 1px solid #191010;	
	font-family: "sofia-pro-soft", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 1.3rem; 
	margin-bottom:15px;
	padding:10px;	
	color:#191010;
	display: inline-block;
	background: #ffffff;
	margin-top: 5px;
}


select[multiple] option:checked { background: none; }

select option:focus,
select option:hover,
select option:active ,
select option {
	background:#191010;
	color: #fff;
}

input[type=submit]{
	padding:12px 18px 12px 18px;
	background: #36323E;
	color:#ffffff;
	transition: 0.5s;
	display: inline-block;
	text-transform: uppercase;
	font-size:1.3rem;
  font-family: "sofia-pro-soft", sans-serif;
  font-weight: 400;
  font-style: normal;
	border-radius: 10px;
	margin-bottom:20px;
	text-decoration: none !important;
	-webkit-appearance: none;
	border: none;
}

input[type=submit]:hover{
	background: #216416;
	color:#fff;
	transition: 0.5s;
}

select option:focus, select option:hover, select option:active, select option {
  background: #003466;
  color: #fff;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #191010;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #191010;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #191010;
}

.name_2{
	display: none !important;
}


.wraparound-img-left {
	width: 100%;
    max-width: 640px;
    padding: 10px;
    padding: 10px 10px 10px 0px;
    float: left;
}

.wraparound-img-right {
	width: 100%;
    max-width: 640px;
    padding: 10px;
    padding: 10px 0px 10px 10px;
    float: right;
}

/**RESPONSIVE**/
@media only screen  and (min-width: 0px) and (max-width: 1549px) {

.news-grid-hmy .tiles-tile-description {min-height: 130px;}	

.news-slider .tiles-tile-description {min-height: 155px;}	
}

@media only screen  and (min-width: 0px) and (max-width: 1460px) {
.news-grid .tiles-tile-description {min-height: 130px;}

}

@media only screen  and (min-width: 1205px) and (max-width: 1405px) {
	.sub-main div.mbx-thumbs li img {max-height: 250px;}
}

@media only screen and (min-width: 1000px) and (max-width: 1400px) {
	body, p, li {
font-size:1.2rem;
line-height: 1.4rem;
}

	input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=tel],
input[type=number],
input[type=date],
textarea,
select {font-size: 1.2rem;}
	
h1 {font-size: 2.4rem; line-height: 2.6rem;}
h2{font-size: 2.0rem; line-height: 2.2rem;}
h3{font-size: 1.7rem; line-height: 1.9rem;}
h4{font-size: 1.6rem; line-height: 1.8rem;}
h5{font-size: 1.5rem; line-height: 1.7rem;}

.cta{font-size:1.2rem;}
input[type=submit]{font-size:1.2rem;}
input::placeholder {font-size:1.2rem;}	

	.ss-box {
  margin-top: 0px;
  margin-bottom: 0px;
	padding-top:150px;
		padding-bottom:150px;
}
	.spacing-lg {
  margin-top: 85px !important;
  margin-bottom: 60px !important;
}
.main-padding {
  padding-top: 30px;
  padding-bottom: 30px;
}	
  .spacing {
    margin-top: 30px;
    margin-bottom: 30px;
  }	
	.tiles-tile-description h2 {
  font-size: 1.7rem;
}

}
@media only screen and (min-width: 1200px) and (max-width: 1400px) {
.box-image-tile-image {
  height: 20rem;
}
	.logo-footer {
  max-width: 150px;
	  transition-duration: 0.5s;	
}
	.tiles-image-tile-image {
  height: 19rem;
}	
}

@media only screen and (min-width: 950px) and (max-width:1375px) {
.list-grid .tiles-tile-description {min-height: 80px;}
}

@media only screen  and (min-width: 980px) and (max-width: 1300px) {
.partners-grid .hmy-section {flex-basis: 25% !important;}
}

@media only screen  and (min-width: 1005px) and (max-width: 1205px) {
	.sub-main div.mbx-thumbs li img {max-height: 200px;}
}

@media only screen and (min-width: 900px) and (max-width: 1200px) {
	.wraparound-img-left, .wraparound-img-right {max-width: 500px;}
}

@media only screen and (min-width: 760px) and (max-width: 900px) {
	.wraparound-img-left, .wraparound-img-right {max-width: 450px;}
}

@media only screen and (min-width: 700px) and (max-width: 760px) {
	.wraparound-img-left, .wraparound-img-right {max-width: 400px;}
}

@media only screen and (min-width: 700px) and (max-width: 1200px) {
	.hide-on-tablet {display:none!important;}	
	.display-on-tablet {display:block!important;}
	
}



@media only screen and (min-width: 0px) and (max-width: 1200px) {
	.hide-on-tablet {display:none;}
	
}

@media only screen and (min-width: 1100px) and (max-width: 1200px) {
		.box-image-tile-image {height: 18rem;}
	.logo-footer {
  max-width: 140px;
		  transition-duration: 0.5s;
}
	.tiles-image-tile-image { height: 17rem;}
}

@media only screen and (min-width: 1000px) and (max-width: 1200px) {
	.croeso .width-60{
width: 55% !important;
float: left;
}

.croeso .width-40{
width: 45% !important;
float: left;
}
	
	.image-tile-image-right {height: 32rem;}
	
}
@media only screen and (min-width: 1000px) and (max-width: 1100px) {
		.box-image-tile-image {height: 16rem;}
		.logo-footer {
  max-width: 120px;
 transition-duration: 0.5s;	
}
	.tiles-image-tile-image {height: 15rem;}
}

@media only screen  and (min-width: 630px) and (max-width: 1050px) {
	.news-grid .hmy-section {flex-basis: 50% !important;}
	.news-grid-hmy .hmy-section {flex-basis: 50% !important;}
	.news-slider .ism-panels-3 .ism-panel {
    min-width: 50%!important;
  }
	.news-slider .ism-pad-30 .ism-content {
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 25px;
    padding-right: 25px;
}
}

@media only screen  and (min-width: 905px) and (max-width: 1005px) {
	.sub-main div.mbx-thumbs li img {max-height: 175px;}
}

@media only screen and (min-width: 900px) and (max-width: 1000px) {
		.box-image-tile-image {
  height: 14rem;
}
			.logo-footer {
  max-width: 100px;
 transition-duration: 0.5s;	
}
  .tiles-tile-description h2 {
    font-size: 1.6rem;
  }
	.tiles-image-tile-image {
  height: 13rem;
}	
}
@media only screen and (min-width: 700px) and (max-width: 1000px) {
	.croeso .width-60{
width: 50% !important;
float: left;
}

.croeso .width-40{
width: 50% !important;
float: left;
}
		.image-tile-image-right { height: 32rem;}
	
		.spacing-lg {
  margin-top: 85px !important;
  margin-bottom: 60px !important;
}
	
	.main-padding {
  padding-top: 30px;
  padding-bottom: 30px;
}
	  .spacing {
    margin-top: 30px;
    margin-bottom: 30px;
  }	
	}

@media only screen and (min-width: 0px) and (max-width: 1000px) {
.top-row .width-30{
width: 100%;
float: left;
padding-top: 30px;
}

  .top-row .width-70 {
    width: 100%;
    float: left;
   margin-top: -120px;
  }
	
  .logo {
    max-width: 270px;
    width: 100%;
	 margin-top: 0px; 
  }
	  .p7AMM.amm-responsive .amm-toolbar a {
    color: #000;
    opacity: 1;
  }
	
	  .p7AMM.amm-responsive .amm-toolbar a:hover {opacity: 0.7; }
	
	.p7AMM.amm-responsive .amm-toolbar {background-color: transparent;  }
	
.p7AMM li a {
  padding: 7px 20px;
  font-size: 1.1rem;
}	
.slideshow .width-50 { width: 100%;}
	
body, p, li {
font-size:1.1rem;
line-height: 1.3rem;
}
	
.dcf-table thead {
	font-size: 1.1rem;}	
.dcf-table tbody {
	font-size: 1.1rem;	
	}
input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=tel],
input[type=number],
input[type=date],
textarea,
select {font-size: 1.1rem;}

h1 {font-size: 2.0rem; line-height: 2.2rem;}
h2{font-size: 1.8rem; line-height: 1.9rem;}
h3{font-size: 1.5rem; line-height: 1.7rem;}
h4{font-size: 1.4rem; line-height: 1.6rem;}
h5{font-size: 1.3rem; line-height: 1.5rem;}


.cta{font-size:1.1rem;}
input[type=submit]{font-size:1.1rem;}
input::placeholder {font-size:1.1rem;}

	.ss-box {
  margin-top: 0px;
  margin-bottom: 0px;
	padding-top:50px;
		padding-bottom:50px;
}
}

@media only screen  and (min-width: 690px) and (max-width: 980px) {
.partners-grid .hmy-section {flex-basis: 33% !important;}
}

@media only screen and (min-width: 900px) and (max-width: 950px) {
		.image-tile-image-right { height: 34rem;}
}

@media only screen and (min-width: 0px) and (max-width: 950px) {
.its h2 {
  font-size: 1.4rem;
  line-height: 1.6rem;
}
}

@media only screen and (min-width: 650px) and (max-width:950px) {
.list-grid .tiles-tile-description {min-height: 80px;}
.list-grid .hmy-section {flex-basis: 50% !important;}
}

@media only screen  and (min-width: 550px) and (max-width: 905px) {
	.sub-main div.mbx-thumbs li img {max-height: 150px;}
}

@media only screen and (min-width: 0px) and (max-width: 900px) {
	.hide-on-mobile {display:none;}	
	.gwasanaethau-mobile {display:block;}
.gwasanaethau-desktop {display:none;}	
	.footer-bottom hr {display:none;}	
.croeso .width-60{
width: 100% !important;
float: left;
}
.spacing {
  margin-top: 0px;
  margin-bottom: 0px;
}	
		.spacing-lg {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}	
.lluniau .width-25{
width: 50%;
float: left;
}	
		.box-image-tile-image {height: 14rem;}	
.mobile-left {text-align: left;}
	.footer-left {text-align: right !important;}
	.footer .width-50{
width: 50%;
float: left;
padding-bottom:1px;
}

.footer .width-30{
width: 50%;
float: left;
padding-bottom:1px;	
}
		.ism-panel-1 {min-width: 50% !important;}
	
		.tiles-tile-description h2 {
  font-size: 1.5rem;
}
	.tiles-image-tile-image {
  height: 13rem;
}	
.whats-on .width-60 {
width:100% !important;
float:left;
}
.gwasanaethau-mobile .ism-pad-30 .ism-content {
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 10px;
  padding-right: 10px;
}	
}

@media only screen and (min-width: 0px) and (max-width: 830px) {
	.news-grid .tiles-tile-description h2 {
		font-size: 1.6rem;
		line-height: 2.2rem;
	}
	.news-grid-hmy .tiles-tile-description h2 {
		font-size: 1.6rem;
		line-height: 2.2rem;
	}
}

@media only screen and (max-width: 800px) {
	.ism-panel2 {min-width: 33% !important;}
	.tiles-image-tile-image {
  height: 11rem;
}	
.ism-panel-3 {min-width: 50% !important;}	
	
.ystafell-grid .hmy-section {
	flex-basis: 100% !important;
    margin-top: 3px;
    margin-bottom: 3px;
    background-color: #e6e6e6;
	}
	
.llogi-col-bottom .hmy-content {padding: 10px 20px 0px 20px;}
	 .wraparound-img-left-news {

  max-width: 100%;
  padding: 10px;
  padding: 0px;
 
}
	 .image-tile-left img {
    width: 100%;
    height: 16rem;
	padding-bottom: 10px;}
	
.image-tile-left  {
	width: 100%;
	height: 16rem!important;}
.image-tile-left img {
	padding-right: 0px;}
	
}

@media only screen and (min-width: 0px) and (max-width: 790px) {
	.its-row .width-70, .its-row .width-30 {width: 100% !important; float: left !important;}
	.its {
  border-radius: 0px;
  margin: 0;
    margin-bottom: 0px;
  margin-bottom: 20px;
}
}

@media only screen and (max-width: 700px) {
	.ism-panel2 {min-width: 50% !important;}
	.mobile-side-padding {padding: 10px 30px !important;}
		.hide-on-mobile-portrait {display:none;}	
		  .box-image-tile-image {
    height: 18rem;
  }
	.main-padding {
  padding-top: 10px;
  padding-bottom: 10px;
}
  .spacing {
    margin-top: 0px;
    margin-bottom: 0px;
  }
		.footer-left {
  text-align: left !important;
}
		.tiles-tile-description h2 {
  font-size: 1.4rem;
}	
	.hide-on-mobile {display:none!important;}
	.display-on-mobile {display:block!important;}
	
	.wraparound-img-left, .wraparound-img-right {max-width: 700px;}
		

 .news-slider-org {
  padding: 10px;
}	
	
}

@media only screen  and (min-width: 490px) and (max-width: 690px) {
.partners-grid .hmy-section {flex-basis: 50% !important;}
}

@media only screen and (min-width: 0px) and (max-width:650px) {
.list-grid .tiles-tile-description {min-height: auto;}
.list-grid .hmy-section {flex-basis: 100% !important;}
.list-grid h2 {font-size: 1.4rem !important; line-height: 1.8rem !important;}
	

}

@media only screen  and (min-width: 0px) and (max-width: 630px) {
	.news-grid .hmy-section {flex-basis: 100% !important;}
	.news-grid .tiles-tile-description {min-height: auto;}
	.news-grid .tiles-tile-description h2 {
		font-size: 1.5rem;
		line-height: 2.1rem;
	}
	.news-grid-hmy .hmy-section {flex-basis: 100% !important;}
	.news-grid-hmy .tiles-tile-description {min-height: auto;}
	.news-grid-hmy .tiles-tile-description h2 {
		font-size: 1.5rem;
		line-height: 2.1rem;
	}
.white-background .hmy-content {
    padding: 20px 0px 20px 0px;
}
	
.llogi-col .hmy-content{ 
	padding: 0px 20px !important;
	}	
	
	.dcf-table-bordered td, .dcf-table-bordered th, .dcf-table-striped td, .dcf-table-striped th {
  padding-left: 0.5em;
}
	    .news-slider .tiles-tile-description {
			min-height: auto;}
.news-slider .ism-pad-30 .ism-content {
    padding-left: 25px;
    padding-right: 25px;
	}
}

@media only screen and (max-width: 600px) {
	
	.top-row .width-30{
width: 100%;
float: left;
padding-top: 20px;
}

  .top-row .width-70 {
    width: 100%;
    float: left;
   margin-top: -90px;	  
	padding-right:20px;
  }
	
.logo {
  max-width: 160px;
  width: 100%;
  margin-top: 0px;
}

.box-image-tile-image {height: 16rem; }
	.ism-panel-1 {min-width: 100% !important;}
	.tiles-image-tile-image {height: 13rem;}	
.ism-panel-3 {min-width: 100% !important;}	
}

@media only screen  and (min-width: 400px) and (max-width: 550px) {
	.sub-main div.mbx-thumbs li img {max-height: 125px;}
}
@media only screen  and (min-width: 0px) and (max-width: 500px) {
      .image-tile-left img {
        height: 15rem;
		  padding-bottom: 0px;}
}

@media only screen  and (min-width: 0px) and (max-width: 490px) {
.partners-grid .hmy-section {flex-basis: 100% !important;}
}

@media only screen and (max-width: 450px) {
	.ism-panel2 {min-width: 100% !important;}
    .tiles-image-tile-image { height: 12rem;}	
}

@media only screen and (max-width: 400px) {
	.sub-main div.mbx-thumbs li img {max-height: 110px;}
 }

@media only screen and (min-device-width : 320px) and (max-device-width : 1024px) {
     html {
        -webkit-text-size-adjust: none;
     }
}