﻿/* Font initialisation */

@font-face {
  font-family: "neue";
  src: url("/SiteElements/Fonts/neue-kabel.otf");
}

@font-face {
  font-family: "monty";
  src: url("/SiteElements/Fonts/montserrat-regular.ttf");
  font-weight: normal;
 font-style: normal;
}

@font-face {
  font-family: "monty";
    src: url("/SiteElements/Fonts/montserrat-bold.ttf");
     font-weight: bold;
 font-style: normal;
}
/*-------------LOGO-------------------*/
#cpflogo{
  padding:20px;
}
/*-----------GENERIC------------*/
* {
    box-sizing: border-box;
}

body {
    font-family:  'monty', sans-serif;
    font-size:14px;
    line-height:1.5;
    margin: 0;
    padding: 0;
    color:#08282d;
 }

.main{
    min-height: 100vh;
    margin-left: 10%;
    margin-right: 10%;
}

a {
	color: #ce141d;
        text-decoration:none;
    font-weight: bold;
}

h1{
	margin-top: 20px;
	margin-bottom: 20px;
	color: #08282d;
 font-family:  'neue', sans-serif;
	font-weight:bold;
}

h2,h3,h4,h5{
	margin-top: 20px;
	margin-bottom: 10px;
	color: #08282d;
 font-family:  'neue', sans-serif;
	font-weight:bold;
}

/* .mss-top-margin {
    margin-top:25px;
} */
.fa-chevron-down:before{
  margin-left:5px;
}

/* -----------------background boxes --------------------*/
    .myBox {
       background: #fcdd57;
      border-radius: 10px;
      margin: 5px;
       padding: 5px 20px 5px 20px;
       width: 50%;
}

.myBoxWarn {
    background: #ce141d;
    border-radius: 15px;
    margin: 5px;
       padding: 20px 20px 20px 20px;
       width: 100%;
}

.myBoxWarn > h2{
    color: white;
    margin:10px 0px 20px 0px;
}

.myBoxWarn > p{
    color: white;
}

.myBox > h2{
    margin:10px 0px 20px 0px;
}

.myBox > p{
    color:#08282d;
}

 /*-------------------------HOMEPAGE FLEX LAYOUT-----------------------------*/ 

#news > h2 {
  color:white;
}

#news > p {
  color:white;
}

#news > ul {
  color:white;
}

#myMain {
    display: flex;
    flex: 1;
    /* flex-wrap: wrap; */
}

#news, #qlinks
{
    flex: 0 0 20vw;
     text-align:left;
     margin:10px;
}

#news
{
     background-color: #ce141d;
}

#qlinks
{
     background-color: #fcdd57;
}

#maincontent {
    flex: 1;
}

#news, #qlinks,
#maincontent {
    padding: 1em;

}

#news > div a {
    text-decoration: none;
    color: #ce141d;
    /*font-size: 1em;*/
}


/* .header-padding{
    margin-bottom:25px 0 25px 0;
} */

/* HOMEPAGE COVER IMAGE */
.cvrimgcontainer {
  position: relative;
  text-align: center;
}

.cvrimg{
    width:100%;
    overflow-x:hidden;
}

.pageheadingcentered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background:rgb(0, 0, 0);
  background:rgba(0, 0, 0, 0.5);
  padding:15px;
width:60%;
}

.pageheadingcentered > h1{
  font-size:48px;
  color:#fcdd57; 
 }

 .pageheadingcentered > h2{
  font-size:24px;
  color:#fcdd57; 
 }

/* -------------------------cover images ---------------------------------*/
.cover-image-home {
    background-image: url("/SiteElements/images/cover-images/coverimage.jpg");
    background-color: #fff;
    height: 480px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.cover-image-contactus {
    background-image: url("/SiteElements/images/cover-images/contact-us.jpeg");
    background-color: #fff;
    height: 480px;
    background-position: center;
    background-repeat: no-repeat;
   background-size: auto;
    position: relative;
}
.cover-image-about-us {
    background-image: url("/SiteElements/images/cover-images/about-us.png");
    background-color: #fff;
    height: 480px;
    background-position: center;
    background-repeat: no-repeat;
   background-size: auto;
    position: relative;
}
.cover-image-employer-information {
    background-image: url("/SiteElements/images/cover-images/employer-information.png");
    background-color: #fff;
    height: 480px;
    background-position: center;
    background-repeat: no-repeat;
   background-size: auto;
    position: relative;
}
.cover-image-help-and-guidance {
    background-image: url("/SiteElements/images/cover-images/help-and-guidance.png");
    background-color: #fff;
    height: 480px;
    background-position: center;
    background-repeat: no-repeat;
   background-size: auto;
    position: relative;
}
.cover-image-videos {
    background-image: url("/SiteElements/images/cover-images/videos.png");
    background-color: #fff;
    height: 480px;
    background-position: center;
    background-repeat: no-repeat;
   background-size: auto;
    position: relative;
}
.cover-image-latest-news {
    background-image: url("/SiteElements/images/cover-images/latest-news.jpg");
    background-color: #fff;
    height: 480px;
    background-position: center;
    background-repeat: no-repeat;
   background-size: auto;
    position: relative;
}
.cover-image-lgpsscheme {
    background-image: url("/SiteElements/images/cover-images/lgps-scheme.jpeg");
    background-color: #fff;
    height: 480px;
    background-position: center;
    background-repeat: no-repeat;
   background-size: auto;
    position: relative;
}
.cover-image-formermembers {
    background-image: url("/SiteElements/images/cover-images/former-members.jpeg");
    background-color: #fff;
    height: 480px;
    background-position: center;
    background-repeat: no-repeat;
   background-size: auto;
    position: relative;
}
.cover-image-alreadyacontributingmember {
    background-image: url("/SiteElements/images/cover-images/already-a-contributing-member.jpeg");
    background-color: #fff;
    height: 480px;
    background-position: center;
    background-repeat: no-repeat;
   background-size: auto;
    position: relative;
}
.cover-image-retireddependantmembers {
    background-image: url("/SiteElements/images/cover-images/retired-dependant-members.jpeg");
    background-color: #fff;
    height: 480px;
    background-position: top;
    background-repeat: no-repeat;
   background-size: auto;
    position: relative;
}
.cover-image-formsresources {
    background-image: url("/SiteElements/images/cover-images/forms-resources.jpeg");
    background-color: #fff;
    height: 480px;
    background-position: center;
    background-repeat: no-repeat;
   background-size: auto;
    position: relative;
}
.cover-image-councillor {
    background-image: url("/SiteElements/images/cover-images/councillor.jpeg");
    background-color: #fff;
    height: 480px;
    background-position: center;
    background-repeat: no-repeat;
   background-size: auto;
    position: relative;
}
.cover-image-governance {
    background-image: url("/SiteElements/images/cover-images/governance.jpeg");
    background-color: #fff;
    height: 480px;
    background-position: center;
    background-repeat: no-repeat;
   background-size: auto;
    position: relative;
}
.cover-image-thinkingofjoining {
    background-image: url("/SiteElements/images/cover-images/thinking-of-joining.jpeg");
    background-color: #fff;
    height: 480px;
    background-position: center;
    background-repeat: no-repeat;
   background-size: auto;
    position: relative;
}
.cover-image-mss {
    background-image: url("/SiteElements/images/cover-images/mss.jpeg");
    background-color: #fff;
    height: 480px;
    background-position: center;
    background-repeat: no-repeat;
   background-size: auto;
    position: relative;
}
.cover-image-roadmapactive {
    background-image: url("/SiteElements/images/content-images/roadmapactive.png");
    background-color: #ffffff;
    height: 700px;
        max-width: 100%;
    background-position: center;
    background-repeat: no-repeat;
   background-size: contain;
    position: relative;
}
.cover-image-roadmapactivecy {
    background-image: url("/SiteElements/images/content-images/roadmapactivecy.png");
    background-color: #ffffff;
    height: 700px;
        max-width: 100%;
    background-position: center;
    background-repeat: no-repeat;
 background-size: contain;
    position: relative;
}
.cover-image-roadmapdeferred {
    background-image: url("/SiteElements/images/content-images/roadmapdeferred.png");
    background-color: #ffffff;
    height: 700px;
        max-width: 100%;
    background-position: center;
    background-repeat: no-repeat;
 background-size: contain;
    position: relative;
}
.cover-image-roadmapdeferredcy {
    background-image: url("/SiteElements/images/content-images/roadmapdeferredcy.png");
    background-color: #ffffff;
    height: 700px;
    max-width: 100%;
    background-position: center;
    background-repeat: no-repeat;
   background-size: contain;
    position: relative;
}
.cover-image-paw-en{
    background-image: url("/SiteElements/images/cover-images/pawbanneren.png");
    background-color: #ffffff;
    height: 480px;
    max-width: 100%;
    background-position: center;
    background-repeat: no-repeat;
   background-size: auto;
    position: relative;
}
.cover-image-paw-cy{
    background-image: url("/SiteElements/images/cover-images/pawbannercy.png");
    background-color: #ffffff;
    height: 480px;
    max-width: 100%;
    background-position: center;
    background-repeat: no-repeat;
   background-size: auto;
    position: relative;
}
.cover-image-investment{
    background-image: url("/SiteElements/images/cover-images/investment.png");
    background-color: #ffffff;
    height: 480px;
    max-width: 100%;
    background-position: center;
    background-repeat: no-repeat;
   background-size: auto;
    position: relative;
}
.cover-image-funding{
    background-image: url("/SiteElements/images/cover-images/funding.png");
    background-color: #ffffff;
    height: 480px;
    max-width: 100%;
    background-position: center;
    background-repeat: no-repeat;
   background-size: auto;
    position: relative;
}

.cover-image-cllr-toj{
    background-image: url("/SiteElements/images/cover-images/cllr-toj.png");
    background-color: #ffffff;
    height: 480px;
    max-width: 100%;
    background-position: center;
    background-repeat: no-repeat;
   background-size: auto;
    position: relative;
}

.cover-image-cllr-cppc{
    background-image: url("/SiteElements/images/cover-images/cllr-cppc.png");
    background-color: #ffffff;
    height: 480px;
    max-width: 100%;
    background-position: center;
    background-repeat: no-repeat;
   background-size: auto;
    position: relative;
}

.cover-image-cllr-arap{
    background-image: url("/SiteElements/images/cover-images/cllr-arap.png");
    background-color: #ffffff;
    height: 480px;
    max-width: 100%;
    background-position: center;
    background-repeat: no-repeat;
   background-size: auto;
    position: relative;
}
.cover-image-cllr-nlpc{
    background-image: url("/SiteElements/images/cover-images/cllr-nlpc.png");
    background-color: #ffffff;
    height: 480px;
    max-width: 100%;
    background-position: center;
    background-repeat: no-repeat;
   background-size: auto;
    position: relative;
}

.cover-image-mccloud{
    background-image: url("/SiteElements/images/cover-images/mccloud.png");
    background-color: #ffffff;
    height: 480px;
    max-width: 100%;
    background-position: center;
    background-repeat: no-repeat;
   background-size: auto;
    position: relative;
}
/* ---------------------Containers --------------------------------*/
.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /*font-size: 16px;*/
    /* margin-top: 25px; */
    align-items: center; 
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, 180px);
    justify-content: center;
    margin-top:50px;
    grid-gap:20px;
    font-size:14px;
}

.inline-container {
    display: flex;
}


.flex-container > div {
    margin: 10px;
    line-height: 1.5;
  }

  /*------------------------------- Buttons --------------------------------*/

.btnbg {
      color: #fcdd57;
       background-color: #08282d;
    border-radius: 10px;
    /* display: inline-block; */
    height: 125px;
    font-weight:bold;
    padding: 10px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
        text-decoration: none;
    transition: background-color 0.5s ease-in-out;
}

.btnbg:hover{
    background-color:#fcdd57;
    color:#08282d;
        border: 2px solid #08282d;
}

.btnbgmss {
      color: #fff;
       background-color: #ce141d;
    border-radius: 10px;
    height: 125px;
    padding: 10px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: background-color 0.5s ease-in-out;
}

.btnbgmss:hover{
    background-color:#fff;
    color:#ce141d;
    border: 2px solid #ce141d;
}
/*-----------------BACK BUTTON-----------------------------------*/

.btnback {
      color: #ffffff;
    background-color: #ce141d;
    border-radius: 10px;
    padding: 10px 15px;
    transition: background-color 0.5s ease-in-out;
}

.btnback:hover
{
    background-color:#fff;
    color:#ce141d;
    border: 2px solid #ce141d;
}

/* ----------------------------back to top button -------------------------------- */
.backtotop{
    margin:50px 0 25px 0;
} 

.backtotop a {
    background-color: #ce141d;
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 10px;
    transition: background-color 0.5s ease-in-out;
}

/*----------------------Breadcrumb ----------------------*/

.marge{
    margin-top:25px;
    margin-bottom:25px;
}

.crumbs{
border-bottom:1px solid #E5E5E5;
list-style-type: none;
padding:0;
margin:10px 0 5px 0;

}

.crumbs li {
display:inline;
margin-right:1px;
}

/*---------------------- Tables ------------------*/

.regTable {
  border-collapse: collapse;
  width: 100%;

}

.regTable td{
  border: 1px solid #08282d;
  padding: 8px;
  color:#08282d;
       vertical-align: top;
  }
  
  .regTable p {
       solid: #08282d;
  }

.regTable th {
      border: 1px solid #08282d;
  padding: 10px 10px 10px 10px;
  text-align: left;
  background-color:  #ce141d;
  color: white;
     text-align: center; 
}

  .regTable th:not(:first-child):not(:last-child) { 
  border-right:1px solid white;
}

.regTable th:nth-child(1) {
    border-right:1px solid white;
}

.regTableV {
  border-collapse: collapse;
  width: 100%;

}

.regTableV td{
  border: 1px solid #08282d;
  padding: 8px;
  color:#08282d;
       vertical-align: top;
  }
  
  .regTableV p {
       solid: #08282d;
  }

.regTableV th {
      border: 1px solid #08282d;
  padding: 10px 10px 10px 10px;
  text-align: left;
  background-color:  #ce141d;
  color: white;
     text-align: center; 
}

  .regTableV th:not(:first-child):not(:last-child) { 
  border-bottom:1px solid white;
}

.regTableV th:nth-child(1) {
    border-bottom:1px solid white;
}

.regTableVH {
  border-collapse: collapse;
  width: 100%;

}

.regTableVH td{
  border: 1px solid #08282d;
  padding: 8px;
  color:#08282d;
       vertical-align: top;
  }
  
  .regTableVH p {
       solid: #08282d;
  }

.regTableVH th {
      border: 1px solid #08282d;
  padding: 10px 10px 10px 10px;
  text-align: left;
  background-color:  #ce141d;
  color: white;
     text-align: center; 
}

  .regTableVH th:not(:first-child):not(:last-child) { 
  border-right:1px solid white;
  border-bottom:1px solid white;
}

.regTableVH th:nth-child(1) {
 border-right:1px solid white;
    border-bottom:1px solid white;
}

.regTableBOX {
  border-collapse: collapse;
  width: 100%;
    background-color: #ce141d;
}

.regTableBOX td{
  border: 1px solid #08282d;
  padding: 8px;
  color:#fff;
  vertical-align: top;
  }
  
  .regTableBOX p {
       solid: #08282d;
  }
  
  .regTablePAD {
  border-collapse: collapse;
  width: 100%;
background-color: #ce141d
}

.regTablePAD td{
  border: 5px solid #fff;
  padding: 8px;
  color:#fff;
  vertical-align: top;
  }
  
  .regTablePAD p {
       solid: #08282d;
  }

/* --------------------Headings----------------------*/

h1{
    text-align:center;
    font-size:40px;
}


h2 {
	font-size: 26px;
}

h3 {
	font-size: 20px;
}

h4 {
	font-size: 18px;
}

h5 {
	font-size: 16px;
}


/* --------------------------------------ACCORDIAN ----------------------------------*/

.myaccordion {
    /*font-family: Arial, sans-serif;*/
    background-color: white;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    /* height: 100vh; */
    margin: 0;
}

.accordion {
    width: 100%;
    /* max-width: 600px; */
    margin-top: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.accordion-item {
    border-top: 1px solid #eee;
}

.accordion-item:first-child {
    border-top: none;
}

.accordion-header {
    background: #08282d;
    color: white;
        font-weight: bold;
    padding: 1rem;
    text-align: left;
    width: 100%;
    display: block;
    cursor: pointer;
    transition: background 0.5s;
}

.accordion-header:hover {
    background: #fcdd57;
        color: #08282d;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 1rem;
}

.accordion-content p {
    padding: 10px 0;
    margin: 0;
}

.accordion-item input {
    display: none;
}

.accordion-item input:checked ~ .accordion-content {
    max-height: fit-content; /* Adjust based on your content */
    padding: 1rem;
}

/* --------------------------FOOTER------------------------------- */
.footer {
	background-color: #ce141d;
padding: 50px 0 50px 0;
/*margin-top: 50px;*/
}

.footerFlintshire{
  text-align: center;
}

.footerlinks a {
	color:#fff;
	text-decoration: none;
	/* font-weight:bold; */
}


.footeremail a {
	color:#fff;
	text-decoration: none;
}



.footerFlintshire, .footerFlintshire > a {
	color:#fff;
	/*font-weight:bold;*/
	 }
	 

/* Create two equal columns that floats next to each other */
.footercolumn {
  width: 100%;
  padding: 10px;
  text-align: center;
}

/* Clear floats after the columns */
.footerrow:after {
  content: "";
  display: table;
  clear: both;
}

/* --------------------------------------NAVBAR ------------------------------------------------------*/
.mynavbar {
      background-color: #fcdd57;
      text-align: center;
    }

/* .mynavbar .search-container {
  float: right;
} */

/* search */
.mynavbar input[type=text] {
  padding: 6px;
  margin-top: 8px;
  font-size: 14px;
  border: none;
}

.mynavbar .search-container button {
    float: right;
  padding: 6px 10px;
  margin-top: 8px;
  margin-right: 16px;
  background:#08282d;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

.mynavbar .search-container button:hover {
  background: #ccc;
}

.mynavbar .search-container {
display: flex;
height: fit-content;
}

	
    .mynav-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      justify-content: center;
      position:relative;
      z-index:1;
    }

    .mynav-item {
      position: relative;
	  list-style:none;
    }
	

    .mynav-item:hover > .nav-link {
         background-color: #08282d;
      color: #fcdd57;
    }

        .mynav-item:hover > .nav-link-lang {
      color: #fcdd57;
      background-color:#08282d;
    }

          .mynav-item:hover > .nav-link-mss {
      color: #fcdd57;
      background-color:#08282d;
    }


	
   .nav-link {
      display: block;
	  font-weight:bold;
      padding: 15px 10px;
      text-decoration: none;
      color: #08282d;
      height:100%;
      transition: background-color 0.5s ease;
    }

       .nav-link-lang {
      display: block;
	  font-weight:bold;
      padding: 15px 10px;
      text-decoration: none;
      color: #ce141d;
            height:100%;
      transition: background-color 0.5s ease;
    }

           .nav-link-mss {
      display: block;
	  font-weight:bold;
      padding: 15px 10px;
      text-decoration: none;
      color: white;
      background-color:#ce141d;
            height:100%;
      transition: background-color 0.5s ease;
    }
	
	  .subnav-link {
      display: block;
      padding: 15px 20px;
      text-decoration: none;
      color: white;
	  font-weight: bold;
	  background-color: #08282d;
      transition: background-color 0.5s ease;
    }

  .subnav-link:hover {
      background-color:#08282d;
      color: #fcdd57;
    }
	
    .submenu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
	  padding: 0;
	  margin:0;
	  width:fit-content;
	  overflow: hidden;
	  list-style:none;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.5s ease;
    }

    .mynav-item:hover > .submenu {
      display: block;
      opacity: 1;
      visibility: visible;
    }
	
	.arrow {
  border: solid #ce141d;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  margin:  5px 0 0 5px;
}

	.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

    /*----------------------- responsive <768 -------------------------------*/

    @media (max-width: 768px) {
    #myMain {
        flex-direction: column;
    }
    
   #maincontent {order:2;}
    #news {order:1;}
       #qlinks {order:3;}
       
    .pageheadingcentered > h1{
  font-size:22px;
  color:#fcdd57; 
}

.pageheadingcentered > h2{
  font-size:18px;
  color:#fcdd57;
}

.cvrimg{
    width:100%;
}

h1{
    font-size:26px;
}

h2{
    font-size:20px;
}

h3{
    font-size:16px;
}

       
    .inline-container{
        flex-direction:column;
    }
       
    .myBox{
        width:100%;
    }

        .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, 140px);
    justify-content: center;
    margin-top:50px;
    grid-gap:10px;
    font-size: 14px;
}
    
.pageheadingcentered {
  width:100%;
  padding: 5px;
}

.cover-image-home {
  height:240px;
}
.cover-image-contactus {
 height:240px;
}

.cover-image-about-us {
   height:240px;
}

.cover-image-employer-information {
   height:240px;
}

.cover-image-help-and-guidance {
   height:240px;
}

.cover-image-videos {
   height:240px;
}

.cover-image-latest-news {
   height:240px;
}

.cover-image-lgpsscheme {
 height:240px;
}
.cover-image-formermembers {
height:240px;
}
.cover-image-alreadyacontributingmember {
height:240px;
}
.cover-image-retireddependantmembers {
height:240px;
}
.cover-image-formsresources {
    height:240px;
}
.cover-image-councillor {
  height:240px;
}
.cover-image-governance {
  height:240px;
}
.cover-image-thinkingofjoining {
  height:240px;
}
.cover-image-mss {
  height:240px;
}
.cover-image-roadmapactive {
  height:240px;
}
.cover-image-roadmapactivecy {
  height:240px;
}
.cover-image-roadmapdeferred {
  height:240px;
}
.cover-image-roadmapdeferredcy {
  height:240px;
}
.cover-image-paw-cy {
  height:240px;
}
.cover-image-paw-en {
  height:240px;
}
.cover-image-investment{
  height:240px;
}
.cover-image-funding{
  height:240px;
}
.cover-image-cllr-toj{
  height:240px;
}
.cover-image-cllr-cppc{
  height:240px;
}
.cover-image-cllr-arap{
  height:240px;
}
.cover-image-cllr-nlpc{
  height:240px;
}
.cover-image-mccloud{
  height:240px;
}

.mynavbar .search-container {
display: block;
}
}

/* ------------------------Responsive <1180 ----------------------*/
    @media only screen and (max-width: 1180px) {
      .mynav-list {
        flex-direction: column;
      }

      .mynav-item {
        width: 100%;
      }

      .submenu {
        top: 0;
        left: 0;
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
      }

      .mynav-item:hover > .submenu {
        display: block;
      }
      
      .mssinfobar{
          display:block;
      background-color:#08282d;
    padding: 3px;
    font-weight:bold;
    color: white;
    text-align:center;
}
.mynavbar .search-container button {
float: none;
  margin-bottom: 10px;
}

.mynavbar .search-container {
display:block;
}

    }


/* Added by Matt to hide Advanced Search */

.sys_search-search-control{display: none;}

button.sys_button.sys_login-button.js-wsfed-login{ display: none;}