﻿/********************/
/* Built with love ♥, Brackets.io [] and SASS by:

Torfaen County Borough Council, Communications Team

Credits:
Coding by: Chris Goodwin (Front-End Developer)

Version 0.9 ("Sorry IE LT 9")
Last update on 11/09/2015 at 10:28:54 (by Chris) */
/********************/
/********************/
/* _Normalise       */
/********************/
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
  display: block;
}

audio, canvas, video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden], template {
  display: none;
}

html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

a {
  background: transparent;
}

a:focus {
  outline: thin dotted;
}

a:active, a:hover {
  outline: 0;
}

h1 {
  font-size: 2em;
  margin: .67em 0;
}

p {
  line-height: 1.5em;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b, strong {
  font-weight: 700;
}

dfn {
  font-style: italic;
}

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

mark {
  background: #ff0;
  color: #000;
}

code, kbd, pre, samp {
  font-family: monospace,serif;
  font-size: 1em;
}

pre {
  white-space: pre-wrap;
}

q {
  quotes: "\201C" "\201D" "\2018" "\2019";
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 0;
}

fieldset {
  border: 1px solid silver;
  margin: 0 2px;
  padding: .35em .625em .75em;
}

legend {
  border: 0;
  padding: 0;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
}



button, select {
  text-transform: none;
}

button, html input[type=button], input[type=reset], input[type=submit] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled], html input[disabled] {
  cursor: default;
}

input[type=checkbox], input[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

input[type=search] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
  vertical-align: top;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/********************/
/* _Grid          */
/********************/
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.section {
  clear: both;
  padding: 0px;
  width: 100%;
  margin: 0 auto;
}

.group:before, .group:after {
  content: "";
  display: table;
}

.group:after {
  clear: both;
}

.span-1, .span-2,
.span-3, .span-4,
.span-5, .span-6,
.span-7, .span-8,
.span-9, .span-10,
.span-11, .span-12 {
  width: 96.8%;
}

/********************/
/* Grid Media Rules */
/********************/
.column {
  display: block;
  margin-right: 1.6%;
  margin-left: 1.6%;
}
@media (min-width: 850px) {
  .column {
    display: block;
    float: left;
    margin-right: 1.6%;
    margin-left: 1.6%;
  }
}

.column-no-gutter {
  display: block;
}
@media (min-width: 850px) {
  .column-no-gutter {
    display: block;
    float: left;
  }
}

.column-left-gutter {
  display: block;
  margin: 0%;
}
@media (min-width: 850px) {
  .column-left-gutter {
    display: block;
    float: left;
    margin: 0 0 0 1.6%;
  }
}
@media (min-width: 850px) and (min-width: 850px) {
  .column-left-gutter:first-child, .column-left-gutter.first-col {
    margin-left: 0 !important;
  }
}

.half-column-mobile {
  display: block;
  float: left;
  margin: 0;
  width: 50%;
}

@media (min-width: 850px) {
  .span-1 {
    width: 5.1333%;
  }
}

@media (min-width: 850px) {
  .span-2 {
    width: 13.4666%;
  }
}

@media (min-width: 850px) {
  .span-3 {
    width: 21.8%;
  }
}

@media (min-width: 850px) {
  .span-4 {
    width: 30.1333%;
  }
}

@media (min-width: 850px) {
  .span-5 {
    width: 38.4667%;
  }
}

@media (min-width: 850px) {
  .span-6 {
    width: 46.8%;
  }
}

@media (min-width: 850px) {
  .span-7 {
    width: 55.13333%;
  }
}

@media (min-width: 850px) {
  .span-8 {
    width: 63.4667%;
  }
}

@media (min-width: 850px) {
  .span-9 {
    width: 71.8%;
  }
}

@media (min-width: 850px) {
  .span-10 {
    width: 80.1334%;
  }
}

@media (min-width: 850px) {
  .span-11 {
    width: 88.4667%;
  }
}

@media (min-width: 850px) {
  .span-12 {
    width: 96.8%;
  }
}

@media (min-width: 850px) {
  .left-span-2 {
    width: 15.3333%;
  }
}

@media (min-width: 850px) {
  .left-span-3 {
    width: 23.8%;
  }
}

@media (min-width: 850px) {
  .left-span-4 {
    width: 32.26666%;
  }
}

@media (min-width: 850px) {
  .left-span-5 {
    width: 40.7333%;
  }
}

@media (min-width: 850px) {
  .left-span-6 {
    width: 49.2%;
  }
}

@media (min-width: 850px) {
  .left-span-7 {
    width: 57.6666%;
  }
}

@media (min-width: 850px) {
  .left-span-8 {
    width: 66.1333%;
  }
}

@media (min-width: 850px) {
  .left-span-9 {
    width: 74.6%;
  }
}

@media (min-width: 850px) {
  .full-span-1 {
    width: 8.33%;
  }
}

@media (min-width: 850px) {
  .full-span-2 {
    width: 16.66%;
  }
}

@media (min-width: 850px) {
  .full-span-3 {
    width: 25%;
  }
}

@media (min-width: 850px) {
  .full-span-4 {
    width: 33.33%;
  }
}

@media (min-width: 850px) {
  .full-span-5 {
    width: 41.66%;
  }
}

@media (min-width: 850px) {
  .full-span-6 {
    width: 50%;
  }
}

@media (min-width: 850px) {
  .full-span-7 {
    width: 58.33%;
  }
}

@media (min-width: 850px) {
  .full-span-8 {
    width: 66.66%;
  }
}

@media (min-width: 850px) {
  .full-span-9 {
    width: 75%;
  }
}

@media (min-width: 850px) {
  .full-span-10 {
    width: 83.33%;
  }
}

@media (min-width: 850px) {
  .full-span-11 {
    width: 91.66%;
  }
}

@media (min-width: 850px) {
  .full-span-12 {
    width: 100%;
  }
}

/********************/
/* _Typography       */
/********************/
a {
  color: #666666;
  text-decoration: underline;
}

.main h1 {
  font-size: 1.5em;
  color: #009488;
  font-weight: 400;
}
.main strong, .main b {
  font-weight: 700;
}
.main ul, .main ol {
  list-style-position: inside;
  padding-left: 2em;
  list-style: disc;
  margin: 0 0 1em 0;
}
.main li {
  padding: 0.25em 0;

}
.main ul ul {
  margin: 0;
}
.main li li {
  font-size: 1em;

}


/********************/
/* _Layout          */
/********************/
.options {
  padding-top: 2em;
  max-width: 1200px;
}
.options .logo {
  text-align: center;
  margin-bottom: 2em;
}
.options .logo .main-logo {
  background-image: url("images/torfaen-logo.png");
  display: inline-block;
  vertical-align: bottom;
  background-repeat: no-repeat;
  height: 75px;
  width: 300px;

}
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
  .options .logo .main-logo {
    background-image: url("images/torfaen-logo-2x.png");
    -webkit-background-size: 300px 75px;
    -moz-background-size: 300px 75px;
    -o-background-size: 300px 75px;
    background-size: 300px 75px;
  }
}
@media (min-width: 850px) {
  .options {
    padding-top: 100px;
    margin: 0 auto;
  }
}
@media (min-width: 1200px) {
  .options {
    padding-top: 150px;
  }
}
.options .lang-box {
  text-align: center;
}

.full-slider {
  position: fixed;
  z-index: -99;
}
.full-slider .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 9999;
  color: white;
}
.full-slider img {
  min-width: 100%;
  width: 100%;
}
.full-slider .fotorama__nav-wrap {
  display: none;
  top: 0;
}

/********************/
/* _Modules */
/********************/
.box-shadow {
  -webkit-box-shadow: 0px 0px 5px #666;
  -moz-box-shadow: 0px 0px 5px #666;
  box-shadow: 0px 0px 5px #666;
}

p {
  margin-top: 0;
}

.options .lang-box {
  margin-bottom: 1em;
}

.sys_accesskey-nav {
  display: none;
}

.main h2, .main h3, .main h4, .main h5, .main h6 {
  text-rendering: optimizelegibility;
  
  font-weight: 300;
  margin: 1em 0 0.5em 0;
}

.main h2 {
  font-size: 1.25em;
  color: #009488;
  font-weight: 400;
}

.main h3 {
  font-size: 1.125em;
  font-weight: 400;
}

.main h4 {
  font-size: 1em;
  font-weight: 400;
}

.main h5 {
  font-size: 1em;
}

.main h6 {
  font-size: 0.875em;
}

.main a {
  color: #009488;
}
.main a:hover, .main a:focus {
  color: #00ae9f;
}
.main a:hover, .main a:focus {
  text-decoration: underline;
}
.main a:active {
  color: #007b71;
}

.main-section-header, table > caption, .sys_search-query-control .sys_search-label {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

input[type="submit"] {
  border-radius: 5px;
  background-color: #009488;
  border: none;
  cursor: pointer;
  position: relative;
  color: #FFFFFF;
  display: inline-block;
  height: 30px;
  padding: 5px;
  
}
input[type="submit"]:hover, input[type="submit"]:focus {
  background: #00ae9f;
}
input[type="submit"]:active {
  background: #007b71;
}

.options .lang-box a.english, .options .lang-box a.welsh {
  display: inline-block;
  border-radius: 5px;
  background: #565858;
  cursor: pointer;
  
  border: 1px solid #858585;
  color: #FFFFFF;
  padding: 10px 10px;
  font-size: 1.5em;
  text-decoration: none;
}
.options .lang-box a.english:hover, .options .lang-box a.welsh:hover, .options .lang-box a.english:focus, .options .lang-box a.welsh:focus {
  background: #ffffff;
  color: #665555;
  border: 1px solid #2ca88f;

}

.options .lang-box {
  background: white;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 5px;
  padding: 10px;
}

/********************/
/* _HTML-Elements   */
/********************/
html {
  min-height: 100%;
}

body {
  font-size: 1em;
  color: #665555;
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 400;
}

img {
  max-width: 100%;
}

ul, ol {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

ul li ul li {
  list-style-type: circle;
}

dl {
  margin: 0;
}

a {
  color: #155F60;
}
a:hover, a:focus {
  -webkit-transition: all 0.25s;
  -moz-transition: all 0.25s;
  -ms-transition: all 0.25s;
  -o-transition: all 0.25s;
  transition: all 0.25s;
}

iframe {
  border: 0;
}

blockquote {
  color: #666666;
  
  margin-left: 2em;
  padding: 0;
}

table {
  border: 0;
  font-size: 1em;
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  margin: 1em 0;
}
@media (min-width: 850px) {
  table {
    display: table;
  }
}

th {
  text-align: left;
  font-style: normal;
  font-weight: 700;
  color: #636565;
  border: 1px solid;
  background: #e1e1e1;
}

td, th {
  padding: 8px 10px;
}

td {
  border: 1px solid;
}

th p, td p, td h2, td h3 {
  margin: 0;
}

/***********************/
/* _Full Screen Slider */
/***********************/
.svg #background {
  position: fixed;
  width: 100%;
  height: 100%;
}

.svg #background img {
  display: none;
}

.svg #fss-content {
  position: relative;
}

@media (min-width: 850px) {
  .svg .fss-next {
    background-image: url("images/next-slide.png");
    display: inline-block;
    vertical-align: bottom;
    background-repeat: no-repeat;
    height: 32px;
    width: 32px;
    text-indent: -9999px;
  }
}
@media only screen and (min-width: 850px) and (-webkit-min-device-pixel-ratio: 2), only screen and (min-width: 850px) and (-moz-min-device-pixel-ratio: 2), only screen and (min-width: 850px) and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-width: 850px) and (min-device-pixel-ratio: 2), only screen and (min-width: 850px) and (min-resolution: 192dpi), only screen and (min-width: 850px) and (min-resolution: 2dppx) {
  .svg .fss-next {
    background-image: url("images/next-slide-2x.png");
    -webkit-background-size: 32px 32px;
    -moz-background-size: 32px 32px;
    -o-background-size: 32px 32px;
    background-size: 32px 32px;
  }
}

@media (min-width: 850px) {
  .svg .fss-prev {
    background-image: url("images/prev-slide.png");
    display: inline-block;
    vertical-align: bottom;
    background-repeat: no-repeat;
    height: 32px;
    width: 32px;
    text-indent: -9999px;
  }
}
@media only screen and (min-width: 850px) and (-webkit-min-device-pixel-ratio: 2), only screen and (min-width: 850px) and (-moz-min-device-pixel-ratio: 2), only screen and (min-width: 850px) and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-width: 850px) and (min-device-pixel-ratio: 2), only screen and (min-width: 850px) and (min-resolution: 192dpi), only screen and (min-width: 850px) and (min-resolution: 2dppx) {
  .svg .fss-prev {
    background-image: url("images/prev-slide-2x.png");
    -webkit-background-size: 32px 32px;
    -moz-background-size: 32px 32px;
    -o-background-size: 32px 32px;
    background-size: 32px 32px;
  }
}

.svg .fss-texture {
  position: absolute;
}

#fss-star,
#fss-none {
  background-color: transparent;
  background-position: 0 0;
  background-repeat: repeat;
  z-index: 10;
}

.svg #fss-star {
  background-image: url("images/star.png");
}

.no-svg #background img {
  display: none;
}

.no-svg #background img:first-child {
  display: block !important;
  min-height: 100%;
  min-width: 1024px;
  width: 100%;
  height: auto;
  position: fixed;
  top: 0;
}

/********************/
/* Skip To Content */
/********************/


#skip{
    position: absolute;
	left: 0;
	top: 0;
	width: 100%;
   	margin-left: 0;
	list-style: outside none;
  	text-align:center;
}


#skip a {
	position: absolute;
	left: -99999px;
	top: 30px;
}

#skip a:focus, #skip a:active{
	position: relative;
	left: 0;
	z-index:9999;
	width: 75%;
	height: auto;
	margin: 0 auto;
	padding: 10px 15px;
	text-align: center;
	text-decoration: none;
	font:14px "Arial", sans-serif !important;
    color: #fff;
	background: #565858 repeat scroll 0 0;
	border: 1px solid #fff;
}

/* Styles for new splash boxes layout */

.remember-me-link {
cursor: pointer;
font-size: 1.125em;
}

a.remember-me-link:hover {
color: #333;
}

.splash-cookie-message {
margin-top: 10px;
font-size: 0.9375em;
}

.splash-button-text {
display: block;
}

.no-cookie-text {
display: block;
font-size: 0.875em;
margin-top: 3px;
}
.card {
position: relative;
display: -ms-flexbox;
display: flex;
-ms-flex-direction: column;
flex-direction: column;
min-width: 0;
word-wrap: break-word;
background-color: #fff;
background-clip: border-box;
border: 1px solid rgba(0, 0, 0, 0.125);
border-radius: 0.25rem;
}

.card > hr {
margin-right: 0;
margin-left: 0;
}
.card-body {
-ms-flex: 1 1 auto;
flex: 1 1 auto;
padding: 1.25rem;
}

.card-text:last-child {
margin-bottom: 0;
}
.card-deck {
display: -ms-flexbox;
display: flex;
-ms-flex-direction: column;
flex-direction: column;
}

.card-deck .card {
margin-bottom: 15px;
}

@media (min-width: 576px) {
.card-deck {
-ms-flex-flow: row wrap;
flex-flow: row wrap;
margin-right: -15px;
margin-left: -15px;
}
.card-deck .card {
display: -ms-flexbox;
display: flex;
-ms-flex: 1 0 0%;
flex: 1 0 0%;
-ms-flex-direction: column;
flex-direction: column;
margin-right: 15px;
margin-bottom: 0;
margin-left: 15px;
}
}

.lang-choice-content a.english, .lang-choice-content a.welsh {
display: inline-block;

background: #565858;
cursor: pointer;

border: 1px solid #858585;
border-radius: 5px;
color: #FFFFFF;
padding: 10px 10px;
font-size: 1.4em;
text-decoration: none;
}
.lang-choice-content a.english:hover, .lang-choice-content a.welsh:hover, .lang-choice-content a.english:focus, .options .lang-box a.welsh:focus {
background: #ffffff;
color: #665555;
border: 1px solid #2ca88f;

}


.lang-choice-content {
background: white;
background: rgba(255, 255, 255, 0.75);
border-radius: 5px;
text-align: center;
}

.separator {
  width:100%;
  height: 2px;
  background-color: #666;
  margin-top: 20px;
  margin-bottom: 15px;
}

#fakeSubmitButton { position: absolute; left: -99999px;  bottom: 0; }

.visuallyHidden { border: 0px; clip: rect(0px, 0px, 0px, 0px); height: auto; margin: 0px; overflow: hidden; padding: 0px; position: absolute; width: 1px; white-space: nowrap; }