/* Temporary shrink to Emergency Message */
.emergency-banner {
	padding-top: 5px;
	padding-bottom: 5px;
}
/*People block*/
.people li{
	display: block;
	width: 150px;
	float: left;
	min-height: 356px;
	text-align: center;
}

.grid-text__container ul.people li::before {
	content: "";
}

.body-text ul.people li::before {
	content: "";
}

.people li p a {
	font-weight: bold;
}

.highlightBox {
	border: 2px solid #747474;
	padding-left: 10px;
	padding-right: 10px;
}

/*Senedd Commission Specific Styles */

.hero-title{

display: block;

}

.header-background-image-container{
	opacity: 1.0;
	background-color: #653351;
}

.hero-sub-title__link:hover{
	color:#c90774;
}

.social-link__container{
	background-color: #653351;
}	

.footer.container{
	background-color: #653351;
}

.footer--white{
	background-color:white !important;
}

.link-out__container{
	display: flex;
    justify-content: center;
}

.preview-tags__container{
	bottom: -33px;
}

.card--title-and-grey-background:hover{
	border:none;
}


.body-text ul li::before, .grid-rte__container ul li::before, .grid-text__container ul li::before {
	content: "\25FC";
	color: #c90774;
	margin-right: 5px; 

}

.hero-sub-title__link {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.5rem;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    display: inline-block;
    background-color: #c90774;
    padding: 10px 25px;
    margin: 10px;
    transition: all 0.3s;

}

.hero-sub-title__link:hover {
  background-color: #9a054a;
  color: #ffffff
}


/* Fix pink things on Search Page */
.search-filter__title--open {
	background-color: #653351;
}

.checkbox__label .checkmark:after {
	border: solid #653351;
	border-width: 0 2px 2px 0;
}

/*If not desktop make sure images aren't too wide */
img {
	max-width:100%;
	height: auto;
}

.large {
	font-size: 1.6rem;
	font-weight: 700;
	margin-bottom: 10px;
}


/* Responsive Iframes */

.iframe-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}


.iframe-wrapper-square {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 75%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}


/* Then style the iframe to fit in the container div with full height and width */
.iframe-wrapper iframe, .iframe-wrapper-square iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}


.pink-button-full-width a.button.button--pink.button__with-arrow {
    max-width: 100%;
}

/* Fix to ensure column content fills the space correctly  */
@media (min-width: 600px){
	.column {
	align-items: stretch;
    flex-direction: column;
	}
}

/* Nav menu changes */

.site-navigation__category--microsite{
	margin-bottom:0px}

.header__nav--microsite .site-navigation__category-title{
	font-size:1.4rem; 
	font-weight: 300!important;}

.site-navigation__category-title-button, .site-navigation__category-title{
	font-size:1.6rem;
	padding: 5px;
	font-weight: 600!important;}

.site-navigation--microsite{margin:0px}

.site-hamburger__category-title-button:focus{outline:none}



.CommissionLinkList ul {
    display: block;
    list-style-type: none;
    margin: 5px 0;
    padding: 0;
}
.CommissionLinkList ul li {
    margin-left: 0px;
    width: 100%;
	padding:0;
}

.CommissionLinkList li a {
    background-color: #f8f9fa;
    display: block;
    margin: 2px 2px 2px 1px;
    padding: 10px 10px 10px 10px;
    text-align: left;
    text-decoration: none;
    border-left: 13px solid #653351;
    color: #3c3c3b;
    text-indent: 0;
}


.CommissionLinkList li a:hover{
	background: #f3f3f3;
	   border-left: 13px solid #a77584;
	   color:#c9187e;
	  
}
.CommissionLinkList li {
    float: left;
}

.CommissionLinkList ul li::before {
	display:none;
}

/** Accessibility fix, show all footer items without need to expand contract the sections **/

@media (max-width: 599px){
	
	.link-list {
		max-height: 500px;
		overflow: auto;
		-webkit-transition: max-height 0.5s ease-in-out;
		transition: max-height 0.5s ease-in-out;
	}

	.footer-title--down-arrow {
		width: 100%;
		cursor: default;
	}

	.footer-title--down-arrow:after {
		display:none;
	}

}

/* Expandable Boxes */

.sys_ToggleContainer {
  margin-bottom: 20px;
}

.sys_ToggleItem {
    border: 1px solid #ccc;
    display: block;
    margin-bottom: 10px;
	width:100%;
}


.sys_ToggleItem.mt-20 {
	margin-top:20px;
}


.sys_ToggleShowHide {
    background: url("/media/51olq1hv/expandsection-white.png") no-repeat 98% center;
    color: #000;
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 0;
    padding: 12px 40px 12px 12px;
    color: #fff;
    background-color: #653351;
}
	
.sys_ToggleShowHide.active {
    background-color: #3e2032 !important;
	color:#fff;
	background: url("/media/5fzo0zkf/contractsection-white.png") no-repeat 98% center;
}

.sys_ToggleShowHide:hover {
    background-color: #3e2032 !important;
    text-decoration: none;
    cursor: pointer;
    color: #fff;
}

.sys_ToggleSlidingDiv {
    color: #000;
    line-height: 20px !important;
    padding: 10px 15px 15px 15px;
	display:none;
}

.sys_ToggleSlidingDiv.active {
	display:block;
}

.sys_ToggleShowHide p {
    color: #fff;
    padding: 0;
    margin: 0;
}


/** Simple Table **/


table.simple-table {
    width: 100%;
    border: 1px solid #c1c1c1;
    border-collapse: collapse!important;
    border-spacing: 0;
    background-color: #fff
}

table.simple-table th {
    border: 1px solid #c1c1c1;
    border-right: none;
    text-align: left;
    padding: 10px 15px;
    color: #464646;
    vertical-align: top;
    font-size: 14px;
    font-weight: 600
}

table.simple-table thead {
    background-color: #f4f9fc
}

table.simple-table td {
    padding: 10px 15px;
    border: 1px solid #c1c1c1;
    border-top: none;
    border-right: none;
    -webkit-transition: all .25s ease-out;
    -moz-transition: all .25s ease-out;
    -o-transition: all .25s ease-out;
    -ms-transition: all .25s ease-out;
    transition: all .25s ease-out;
    vertical-align: top
}
