@font-face {
  font-family: "blurredborders";
  src: url("../fonts/blurredborders.eot");
  src: url("../fonts/blurredborders.eot?#iefix") format("embedded-opentype"), url("../fonts/blurredborders.woff") format("woff"), url("../fonts/blurredborders.ttf") format("truetype"), url("../fonts/blurredborders.svg#blurredborders") format("svg");
  font-weight: normal;
  font-style: normal;
}

[data-icon]:before {
  font-family: "blurredborders" !important;
  content: attr(data-icon);
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  speak: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[class^="icon-"]:before,
[class*=" icon-"]:before {
  font-family: "blurredborders" !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  speak: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-bars:before {
  content: "\61";
}

.icon-chevron-down:before {
  content: "\62";
}

.icon-chevron-left:before {
  content: "\63";
}

.icon-chevron-right:before {
  content: "\64";
}

.icon-chevron-up:before {
  content: "\65";
}

.icon-close:before {
  content: "\66";
}

.icon-download:before {
  content: "\67";
}

.icon-home:before {
  content: "\68";
}

.icon-how-to-use:before {
  content: "\69";
}

.icon-listen:before {
  content: "\6a";
}

.icon-login:before {
  content: "\6b";
}

.icon-logout:before {
  content: "\6c";
}

.icon-resources:before {
  content: "\6d";
}

.icon-search:before {
  content: "\6e";
}

body {
  background: #fff;
  line-height: 1.7;
  font-family: 'Open Sans', arial, sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
  font-size: 90%;
  color: #333;
}

a {
  font-size: 1em;
  outline: 0 !important;
}

a:link {
  color: #333;
  text-decoration: underline;
}

a:visited {
  color: #333;
  text-decoration: underline;
}

a:hover {
  color: #333;
  text-decoration: none;
}

a:active {
  color: #333;
  text-decoration: underline;
}

p, table, td, p a, li a, table a, dl a {
  font-size: 1em;
}

h1, h2, h3, h4, h5, h6, ul, ol, dl, p, pre, table, fieldset, hr {
  margin: 0 0 1.2em 0;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 1em;
  line-height: 1.2;
  color: #093655;
  font-family: 'Open Sans', arial, sans-serif;
  font-weight: 600;
  margin: 0.3em 0 1.2em 0;
}

h1 {
  font-size: 1.9em;
}

h1.choose-a-pack {
  text-transform: uppercase;
  font-size: 1.4em;
  letter-spacing: .085em;
  border-bottom: 2px solid #093655;
  position: relative;
  margin-bottom: 30px;
  text-align: center;
}

h1.choose-a-pack span {
  display: inline-block;
  background: #fff;
  padding: 0 16px 0 0;
  position: relative;
  top: 12px;
}

h1.choose-a-pack span {
  padding: 0 16px;
}

h2 {
  margin-top: 1.2em;
  font-size: 1.8em;
}

h3 {
  margin-top: 1em;
  font-size: 1.6em;
}

h4 {
  font-size: 1.3em;
}

h5 {
  font-size: 1.1em;
}

h6 {
  font-size: 1em;
}

ul ul, ul ol, ol ul, ol ol {
  margin-bottom: 0;
}

strong {
  font-family: 'Open Sans', arial, sans-serif;
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
  border: none;
}

a.button {
  display: inline-block;
  font-family: 'Open Sans', arial, sans-serif;
  font-weight: 700;
  background: #093655;
  color: #fff;
  text-decoration: none;
  line-height: 36px;
  font-size: 1em;
  padding: 0 22px;
  border: none;
  position: relative;
}

a.button:hover {
  background: #07273e;
  cursor: pointer;
}

a.button[class*=" icon-"] {
  padding-left: 45px;
}

a.button[class*=" icon-"]:before {
  position: absolute;
  font-size: 18px;
  top: 50%;
  left: 13px;
  margin-top: -9px;
}

body.model-open {
  overflow: hidden;
}

.container {
  margin: 0 auto;
  max-width: 1220px;
  padding: 0 10px;
  box-sizing: border-box;
  position: relative;
}

.container:before {
  content: "";
  display: table;
  clear: both;
}

.container:after {
  content: "";
  display: table;
  clear: both;
}

.main {
  padding: 45px 0;
}

.floatleft {
  float: left;
}

.floatright {
  float: right;
}

.default-r {
  width: 23%;
}

.default-l {
  width: 72%;
}

.utility-nav {
  background: #093655;
}

.utility-nav:before {
  content: "";
  display: table;
  clear: both;
}

.utility-nav:after {
  content: "";
  display: table;
  clear: both;
}

.utility-nav ul, .utility-nav li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.utility-nav ul {
  display: inline-block;
}

.utility-nav ul.utility-l {
  float: left;
  border-left: 1px solid #0b456c;
}

.utility-nav ul.utility-l li a {
  border-right: 1px solid #0b456c;
}

.utility-nav ul.utility-l li:first-child a:before {
  margin-right: 0;
}

.utility-nav ul.utility-r {
  float: right;
  border-right: 1px solid #0b456c;
}

.utility-nav ul.utility-r li {
  position: relative;
}

.utility-nav ul.utility-r li a {
  border-left: 1px solid #0b456c;
}

.utility-nav ul.utility-r li div {
  display: none;
  position: absolute;
  top: 42px;
  right: 0;
  z-index: 1000000;
  background: #19496a;
  width: 265px;
  box-sizing: border-box;
  padding: 15px;
}

.utility-nav ul.utility-r li div form label {
  color: #fff;
  display: block;
  margin: 0 0 5px 0;
  font-size: .9em;
}

.utility-nav ul.utility-r li div form input[type="text"], .utility-nav ul.utility-r li div form input[type="password"] {
  background: #5e8097;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 7px;
  font-size: .9em;
  border: none;
  color: #fff;
  font-size: .9em;
  margin: 0 0 10px 0;
}

.utility-nav ul.utility-r li div form .forgot-your-password {
  font-size: .9em;
  margin: 0 0 10px 0;
}

.utility-nav ul.utility-r li div form .forgot-your-password a {
  color: #87adc8;
}

.utility-nav ul.utility-r li div form button {
  display: inline-block;
  font-family: 'Open Sans', arial, sans-serif;
  font-weight: 700;
  background: #093655;
  color: #fff;
  text-decoration: none;
  line-height: 36px;
  font-size: 1em;
  padding: 0 22px;
  border: none;
  position: relative;
  background: #dae1e6;
  color: #093655;
}

.utility-nav ul.utility-r li div form button:hover {
  background: #07273e;
  cursor: pointer;
}

.utility-nav ul.utility-r li div form button[class*=" icon-"] {
  padding-left: 45px;
}

.utility-nav ul.utility-r li div form button[class*=" icon-"]:before {
  position: absolute;
  font-size: 18px;
  top: 50%;
  left: 13px;
  margin-top: -9px;
}

.utility-nav ul.utility-r li div form button:hover {
  background: #c5d0d8;
}

.utility-nav ul > li {
  float: left;
}

.utility-nav ul > li > a {
  display: block;
  line-height: 42px;
  color: #fff;
  font-size: 1em;
  background: #093655;
  font-family: 'Open Sans', arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0 15px;
  position: relative;
}

.utility-nav ul > li > a:hover {
  color: #fff;
  background: #19496a;
  text-decoration: none;
}

.utility-nav ul > li > a:before {
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  font-size: 17px;
  line-height: 42px;
}

.utility-nav ul > li > a.active {
  background: #19496a;
}

.header {
  padding: 60px 0;
}

.header:before {
  content: "";
  display: table;
  clear: both;
}

.header:after {
  content: "";
  display: table;
  clear: both;
}

.header .logo {
  display: block;
  float: left;
  width: 300px;
}

.header .logo img {
  width: 100%;
  display: block;
}

.header .searchform {
  position: absolute;
  top: 50%;
  margin-top: -30px;
  right: 10px;
  display: inline-block;
  width: 300px;
  vertical-align: top;
}

.header .searchform form {
  position: relative;
  width: 100%;
}

.header .searchform form:before {
  content: "";
  display: table;
  clear: both;
}

.header .searchform form:after {
  content: "";
  display: table;
  clear: both;
}

.header .searchform input[type="search"] {
  width: 100%;
  float: left;
  box-sizing: border-box;
  background: #e5eaee;
  padding: 5px 58px 5px 10px;
  font-size: .9em;
  border: none;
  font-family: 'Open Sans', arial, sans-serif;
  font-weight: 400;
  color: #093655;
  height: 60px;
}

.header .searchform button {
  position: absolute;
  right: 0;
  top: 0;
  width: 60px;
  height: 60px;
  border: none;
  background: none;
}

.header .searchform button:hover {
  cursor: pointer;
  opacity: .8;
}

.header .searchform button:before {
  color: #093655;
  font-size: 22px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -11px;
  margin-top: -11px;
}

a.icon-bars {
  display: none;
  color: #093655;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  text-decoration: none;
  position: absolute;
  top: 50%;
  margin-top: -15px;
  right: 10px;
}

a.icon-bars:before {
  font-size: 24px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -12px;
  margin-left: -12px;
}

a.icon-bars:hover, a.icon-bars.active {
  color: #19496a;
}

#menu-panel {
  display: none;
  background: #fff;
  font-family: 'Open Sans', arial, sans-serif;
  font-weight: 700;
  font-size: .9em;
}

#menu-panel ul, #menu-panel li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#menu-panel ul {
  width: 100%;
  margin: 0;
  padding: 0 0 0 0;
}

#menu-panel ul li a {
  display: block;
  padding: 10px 10px 10px 35px;
  color: #fff;
  text-decoration: none;
  background: #093655;
  position: relative;
  border-bottom: 1px solid #0b456c;
}

#menu-panel ul li a:hover {
  background: #19496a;
}

#menu-panel ul li a:before {
  position: absolute;
  top: 50%;
  left: 10px;
  margin-top: -7px;
  font-size: 14px;
}

#menu-panel ul li.bail-and-criminal-process a {
  background: #397677;
}

#menu-panel ul li.bail-and-criminal-process a:hover {
  background: #418788;
}

#menu-panel ul li.family-violence a {
  background: #7f5297;
}

#menu-panel ul li.family-violence a:hover {
  background: #8d5ca6;
}

#menu-panel .searchform {
  margin: 10px;
}

#menu-panel .searchform form {
  position: relative;
  width: 100%;
}

#menu-panel .searchform form:before {
  content: "";
  display: table;
  clear: both;
}

#menu-panel .searchform form:after {
  content: "";
  display: table;
  clear: both;
}

#menu-panel .searchform input[type="search"] {
  width: 100%;
  float: left;
  box-sizing: border-box;
  background: #e5eaee;
  padding: 5px 58px 5px 10px;
  font-size: .9em;
  border: none;
  font-family: 'Open Sans', arial, sans-serif;
  font-weight: 400;
  color: #093655;
  height: 60px;
}

#menu-panel .searchform button {
  position: absolute;
  right: 0;
  top: 0;
  width: 60px;
  height: 60px;
  border: none;
  background: none;
}

#menu-panel .searchform button:hover {
  cursor: pointer;
  opacity: .8;
}

#menu-panel .searchform button:before {
  color: #093655;
  font-size: 22px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -11px;
  margin-top: -11px;
}

#menu-panel .searchform input[type="search"] {
  height: 40px;
  padding-right: 38px;
}

#menu-panel .searchform button {
  width: 40px;
  height: 40px;
}

#menu-panel .searchform button:before {
  font-size: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
}

.scotch-is-showing #menu-panel {
  display: block;
}

.overlay {
  position: fixed;
  background: rgba(0, 0, 0, 0.75);
  width: 100%;
  height: 100%;
  display: none;
  z-index: 999999;
  transition: all 225ms ease;
  animation-duration: 1s;
  animation-fill-mode: both;
  animation-name: fadeIn;
  cursor: pointer;
}

.scotch-is-showing .overlay {
  display: block;
}

.primary-nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.primary-nav ul li.disappear {
  display: none;
}

.primary-nav ul li.col-3-layout {
  width: 33.33333%;
}

.primary-nav ul li.col-12-layout {
  width: 100%;
}

.primary-nav ul li {
  list-style-type: none;
  margin: 0;
  padding: 0;
  float: left;
  width: 50%;
  margin-top: 70px;
  text-align: center;
  box-sizing: border-box;
}

.primary-nav ul li a {
  display: block;
  background: #7f5297;
  color: #fff;
  font-family: 'Open Sans', arial, sans-serif;
  font-weight: 600;
  letter-spacing: .085em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 1em;
  padding: 18px 10px;
  position: relative;
}

.primary-nav ul li a:before {
  position: absolute;
  width: 182px;
  height: 88px;
  top: -70px;
  left: 50%;
  margin-left: -91px;
  content: "";
  background-size: contain;
  background-repeat:no-repeat;
}

.primary-nav ul li .pack {
  padding: 55px 10px;
  box-sizing: border-box;
  background: #e5dcea;
  display: block;
}

.primary-nav ul li .pack img {
  margin: 0 auto;
  display: block;
  width: 100%;
  max-width: 265px;
}

.primary-nav ul li:nth-child(2n) {
  border-right: 1px solid #fff;
}

.primary-nav ul li:nth-child(n+1) {
  border-right: 1px solid #fff;
}

.primary-nav ul li:nth-child(n+1) a {
  background: #ef9121;
}

.primary-nav ul li:nth-child(n+1) a:before {
  background-image: url(../images/tenancy.svg);
}

.primary-nav ul li:nth-child(n+1) a:hover {
  background: #e68511;
}

.primary-nav ul li:nth-child(n+1) .pack {
  background: #ebc394;
}

.primary-nav ul li:nth-child(n+2) {
  border-right: 1px solid #fff;
}

.primary-nav ul li:nth-child(n+2) a {
  background: #F6BC14;
}

.primary-nav ul li:nth-child(n+2) a:before {
  background-image: url(../images/child-protection.svg);
}

.primary-nav ul li:nth-child(n+2) a:hover {
  background: #e8ae09;
}

.primary-nav ul li:nth-child(n+2) .pack {
  background: #F3E8C6;
}

.primary-nav ul li:nth-child(n+3) {
  border-right: 1px solid #fff;
}

.primary-nav ul li:nth-child(n+3) a {
  background: #556191;
}

.primary-nav ul li:nth-child(n+3) a:before {
  background-image: url(../images/child-protection.svg);
}

.primary-nav ul li:nth-child(n+3) a:hover {
  background: #4c5681;
}

.primary-nav ul li:nth-child(n+3) .pack {
  background: #d7e3ff;
}

.primary-nav ul li:nth-child(n+4) {
  border-right: 1px solid #fff;
}

.primary-nav ul li:nth-child(n+4) a {
  background: #7f5297;
}

.primary-nav ul li:nth-child(n+4) a:before {
  background-image: url(../images/family-violence.svg);
}

.primary-nav ul li:nth-child(n+4) a:hover {
  background: #714986;
}

.primary-nav ul li:nth-child(n+4) .pack {
  background: #e5dcea;
}

.primary-nav ul li:nth-child(n+5) {
  border-right: 1px solid #fff;
}

.primary-nav ul li:nth-child(n+5) a {
  background: #397677;
}

.primary-nav ul li:nth-child(n+5) a:before {
  background-image: url(../images/bail-and-criminal-process.svg);
}

.primary-nav ul li:nth-child(n+5) a:hover {
  background: #316566;
}

.primary-nav ul li:nth-child(n+5) .pack {
  background: #d7e4e4;
}

.primary-nav ul li:nth-child(n+6) {
  border-right: 1px solid #fff;
}

.primary-nav ul li:nth-child(n+6) a {
  background: #556191;
}

.primary-nav ul li:nth-child(n+6) a:before {
  background-image: none;
}

.primary-nav ul li:nth-child(n+6) a:hover {
  background: #4c5681;
}

.primary-nav ul li:nth-child(n+6) .pack {
  background: #d7e3ff;
}

.primary-nav-all-in-one ul li:nth-child(n+1) {
  border-right: 1px solid #fff;
}

.primary-nav-all-in-one ul li:nth-child(n+1) a {
  background: #7f5297;
}

.primary-nav-all-in-one ul li:nth-child(n+1) a:before {
  background-image: url(../images/family-violence.svg);
}

.primary-nav-all-in-one ul li:nth-child(n+1) a:hover {
  background: #714986;
}

.primary-nav-all-in-one ul li:nth-child(n+1) .pack {
  background: #d7e4e4;
}

.primary-nav-all-in-one ul li:nth-child(n+2) {
  border-right: 1px solid #fff;
}

.primary-nav-all-in-one ul li:nth-child(n+2) a {
  background: #397677;
}

.primary-nav-all-in-one ul li:nth-child(n+2) a:before {
  background-image: url(../images/bail-and-criminal-process.svg);
}

.primary-nav-all-in-one ul li:nth-child(n+2) a:hover {
  background: #316566;
}

.primary-nav-all-in-one ul li:nth-child(n+2) .pack {
  background: #d7e4e4;
}

.primary-nav-all-in-one ul li:nth-child(n+3) {
  border-right: 1px solid #fff;
}

.primary-nav-all-in-one ul li:nth-child(n+3) a {
  background: #556191;
}

.primary-nav-all-in-one ul li:nth-child(n+3) a:before {
  background-image: none;
}

.primary-nav-all-in-one ul li:nth-child(n+3) a:hover {
  background: #4c5681;
}

.primary-nav-all-in-one ul li:nth-child(n+3) .pack {
  background: #d7e3ff;
}

.packs {
  margin-bottom: 2rem;
}

.packs:before {
  content: "";
  display: table;
  clear: both;
}

.packs:after {
  content: "";
  display: table;
  clear: both;
}

.packs a.col-3-layout {
  width: 33.33333%;
}

.packs a {
  display: block;
  float: left;
  padding: 55px 10px;
  width: 50%;
  box-sizing: border-box;
}

.packs a img {
  margin: 0 auto;
  display: block;
  width: 100%;
  max-width: 265px;
}

.packs a:nth-child(2n) {
  border-right: 1px solid #fff;
}

.packs a:nth-child(n+1) {
  border-right: 1px solid #fff;
  background: #F3E8C6;
}

.packs a:nth-child(n+1):hover {
  background: #efe0b1;
}

.packs a:nth-child(n+2) {
  border-right: 1px solid #fff;
  background: #d7e3ff;
}

.packs a:nth-child(n+2):hover {
  background: #bed1ff;
}

.packs a:nth-child(n+3) {
  border-right: 1px solid #fff;
  background: #e5dcea;
}

.packs a:nth-child(n+3):hover {
  background: #d9cce0;
}

.packs a:nth-child(n+4) {
  border-right: 1px solid #fff;
  background: #d7e4e4;
}

.packs a:nth-child(n+4):hover {
  background: #c8dada;
}

.packs a:nth-child(n+5) {
  border-right: 1px solid #fff;
  background: #d7e3ff;
}

.packs a:nth-child(n+5):hover {
  background: #bed1ff;
}

.all-in-one-pack a:nth-child(2n+1) {
  border-right: 1px solid #fff;
  background: #d7e4e4;
}

.all-in-one-pack a:nth-child(2n+1):hover {
  background: #c8dada;
}

.in-this-pack h2 {
  text-transform: uppercase;
  font-size: 1.4em;
  letter-spacing: .085em;
  border-bottom: 2px solid #093655;
  position: relative;
  margin-bottom: 30px;
  text-align: center;
}

.in-this-pack h2 span {
  display: inline-block;
  background: #fff;
  padding: 0 16px 0 0;
  position: relative;
  top: 12px;
}

.in-this-pack h2 span {
  padding: 0 16px;
}

.in-this-pack ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.in-this-pack ul li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.in-this-pack ul li a {
  font-family: 'Open Sans', arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
  color: #5a809a;
  display: block;
  padding: 9px;
  border-bottom: 1px solid #dae1e6;
}

.in-this-pack ul li a:hover {
  color: #093655;
}

.in-this-pack ul li:last-child a {
  border-bottom: none;
}

.in-this-pack ul li.current a {
  color: #093655;
}

.section-title {
  text-transform: uppercase;
  font-size: 1.4em;
  letter-spacing: .085em;
  border-bottom: 2px solid #093655;
  position: relative;
  margin-bottom: 30px;
}

.section-title span {
  display: inline-block;
  background: #fff;
  padding: 0 16px 0 0;
  position: relative;
  top: 12px;
}

.section-bail-and-criminal-process .section-title {
  color: #397677;
  border-bottom-color: #397677;
}

.section-bail-and-criminal-process .page-title {
  color: #397677;
}

.section-family-violence .section-title {
  color: #7f5297;
  border-bottom-color: #7f5297;
}

.section-family-violence .page-title {
  color: #7f5297;
}

.select-category {
  margin-bottom: 1.5rem;
}

.select-category label {
  display: inline-block;
  font-family: 'Open Sans', arial, sans-serif;
  font-weight: 700;
  margin: 5px 10px 5px 0;
}

.select-category select {
  width: 200px;
  display: inline-block;
}

.card-grid:before {
  content: "";
  display: table;
  clear: both;
}

.card-grid:after {
  content: "";
  display: table;
  clear: both;
}

.card-grid .item {
  width: 18%;
  float: left;
  margin-left: 1.25%;
  margin-right: 1.25%;
  margin-bottom: 2rem;
}

.card-grid .item a {
  display: block;
}

.card-grid .item a img {
  width: 100%;
  display: block;
}

.card-grid .item:nth-child(5n+1) {
  margin-left: 0;
  clear: both;
}

.card-grid .item:nth-child(5n+5) {
  margin-right: 0;
}

body.modal-open .scotch-panel-canvas {
  transform: inherit;
}

.modal {
  background: rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
  position: fixed;
  padding: 20px;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 11;
  max-height: 100vh;
  overflow: auto;
}

.modal .modal-window {
  margin: 100px auto;
  background: #fff;
  max-width: 850px;
  position: relative;
  box-sizing: border-box;
  padding: 40px;
}

.modal .modal-window:before {
  content: "";
  display: table;
  clear: both;
}

.modal .modal-window:after {
  content: "";
  display: table;
  clear: both;
}

.modal .modal-window .modal-loading-overlay {
  position: absolute;
  z-index: 2;
  background: #fff;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
}

.modal .modal-window .gallery-pagination {
  position: absolute;
  top: -30px;
  left: 0;
  font-family: 'Open Sans', arial, sans-serif;
  font-weight: 700;
  color: #fff;
}

.modal .modal-window .icon-close {
  position: absolute;
  top: -30px;
  right: 0;
  display: inline-block;
  padding-right: 25px;
  font-family: 'Open Sans', arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
}

.modal .modal-window .icon-close:before {
  font-size: 12px;
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -6px;
}

.modal .modal-window .icon-chevron-left, .modal .modal-window .icon-chevron-right {
  position: absolute;
  top: 50%;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  display: inline-block;
  color: #fff;
  text-decoration: none;
}

.modal .modal-window .icon-chevron-left:before, .modal .modal-window .icon-chevron-right:before {
  font-size: 36px;
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -18px;
}

.modal .modal-window .icon-chevron-left {
  left: -50px;
}

.modal .modal-window .icon-chevron-right {
  right: -50px;
}

.modal .modal-window .modal-l {
  width: 30%;
}

.modal .modal-window .modal-l img {
  width: 100%;
  max-width: 250px;
}

.modal .modal-window .modal-r {
  width: 64%;
}

.modal .modal-window .modal-r h2 {
  font-size: 1.1em;
}

.modal .modal-window .modal-r .card-description {
  font-size: 1.1em;
}

.modal .modal-window .modal-r .meta {
  font-size: .9em;
}

.modal .modal-window .modal-r .select-language {
  border-top: 1px solid #dae1e6;
  padding: 1.5rem 0;
}

.modal .modal-window .modal-r .select-language:before {
  content: "";
  display: table;
  clear: both;
}

.modal .modal-window .modal-r .select-language:after {
  content: "";
  display: table;
  clear: both;
}

.modal .modal-window .modal-r .select-language label, .modal .modal-window .modal-r .select-language .select-container {
  margin-left: 10px;
  float: left;
  box-sizing: border-box;
}

.modal .modal-window .modal-r .select-language label #card-language, .modal .modal-window .modal-r .select-language .select-container #card-language {
  padding: 5px;
}

.modal .modal-window .modal-r .select-language label {
  font-family: 'Open Sans', arial, sans-serif;
  font-weight: 700;
  position: relative;
  padding-left: 27px;
  display: block;
  cursor: pointer;
}

.modal .modal-window .modal-r .select-language label:before {
  position: absolute;
  top: 50%;
  left: 0;
  font-size: 18px;
  margin-top: -9px;
}

.modal .modal-window .modal-r .download {
  border-top: 1px solid #dae1e6;
  padding: 1.5rem 0;
}

.sub-section-title {
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 2em;
}

.section-bail-and-criminal-process .sub-section-title {
  color: #397677;
}

.section-family-violence .sub-section-title {
  color: #7f5297;
}

@media (max-width: 767px) and (min-width: 0px) {
  .modal {
    padding-bottom: 100px;
  }
  .modal .modal-window .icon-close {
    right: 20px;
  }
  .modal .modal-window .gallery-pagination {
    left: 20px;
  }
}

.footer {
  padding: 12px 0;
  border-top: 1px solid #dae1e6;
}

.footer ul, .footer li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.footer ul:before, .footer li:before {
  content: "";
  display: table;
  clear: both;
}

.footer ul:after, .footer li:after {
  content: "";
  display: table;
  clear: both;
}

.footer li {
  display: inline-block;
  padding: 3px 22px;
  border-right: 1px solid #dae1e6;
}

.footer li a {
  text-transform: uppercase;
  color: #333;
  text-decoration: none;
  font-size: .8em;
  font-family: 'Open Sans', arial, sans-serif;
  font-weight: 700;
}

.footer li a:hover {
  text-decoration: underline;
}

.footer li:first-child {
  padding-left: 0;
}

.footer li:last-child {
  border-right: none;
  padding-right: 0;
}

@media (min-width: 0px) and (max-width: 1023px) {
  .footer li {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media only screen and (min-width: 767px) {
  /* Closes the Panel on window resize from small to large. */
  /* Important tags aren't always bad otherwise you can close with JS on resize. */
  .scotch-panel-canvas {
    /* this turn position fixed off
		-o-transform: translate3d(0px, 0px, 0px) !important;
		-ms-transform: translate3d(0px, 0px, 0px) !important;
		-moz-transform: translate3d(0px, 0px, 0px) !important;
		-webkit-transform: translate3d(0px, 0px, 0px) !important;
		transform: translate3d(0px, 0px, 0px) !important;
		*/
    transform: inherit !important;
  }
  .overlay {
    display: none !important;
  }
  .primary-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  .primary-nav ul li {
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin: 70px 0 0;
  }
  .primary-nav ul li.active a:after {
    content: "";
    width: 12px;
    height: 12px;
    background-color: inherit;
    /* IE 9 */
    /* Chrome, Safari, Opera */
    transform: rotate(45deg);
    position: absolute;
    bottom: -6px;
    left: 50%;
    margin-left: -13px;
  }
}

@media (min-width: 767px) and (max-width: 992px) {
  .modal .modal-window .icon-chevron-left {
    top: inherit;
    bottom: -45px;
    left: 0;
  }
  .modal .modal-window .icon-chevron-right {
    top: inherit;
    bottom: -45px;
    right: 0;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  html, body {
    height: 100%;
  }
  body {
    font-size: 80%;
  }
  body.model-open .scotch-panel-canvas {
    transform: none !important;
  }
  .default-l, .default-r {
    float: none;
    width: 100%;
  }
  .main {
    padding-top: 0;
  }
  .header {
    padding: 25px 0;
  }
  .header .logo {
    width: 200px;
  }
  .header .searchform {
    display: none;
  }
  a.icon-bars {
    display: block;
  }
  .utility-nav {
    display: none;
  }
  .primary-nav .container ul li {
    display: none;
  }
  .primary-nav .container ul li.active {
    display: block;
    width: 100%;
  }
  .packs a {
    border-right: 1px solid #fff;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .packs a img {
    max-width: 150px;
  }
  .card-grid .item {
    width: 31%;
    margin-left: 1.75% !important;
    margin-right: 1.75% !important;
  }
  .card-grid .item:nth-child(5n+1) {
    clear: none;
  }
  .card-grid .item:nth-child(3n+1) {
    margin-left: 0 !important;
    clear: both;
  }
  .card-grid .item:nth-child(3n+3) {
    margin-right: 0 !important;
  }
  .modal .modal-window {
    margin: 50px auto;
    padding: 15px;
    margin-top: 40px;
  }
  .modal .modal-window .modal-l {
    width: 25%;
  }
  .modal .modal-window .modal-r {
    width: 71%;
  }
  .modal .modal-window .icon-chevron-left {
    top: inherit;
    bottom: -45px;
    left: 0;
  }
  .modal .modal-window .icon-chevron-right {
    top: inherit;
    bottom: -45px;
    right: 0;
  }
  .floatright.default-r .in-this-pack {
    display: none;
  }
  #menu-panel .sub-sidebar li a {
    padding: 10px 10px 10px 55px;
  }
  .on-modal-open {
    position: fixed;
    width: 100%;
  }
  .on-modal-close {
    position: static;
  }
  .listen-section {
    padding-top: 10px;
  }
}

@media (min-width: 0px) and (max-width: 479px) {
  h1.choose-a-pack {
    font-size: .9em;
  }
  .modal .modal-window {
    padding: 10px;
  }
  .modal .modal-window .modal-l, .modal .modal-window .modal-r {
    width: 100%;
    float: none;
  }
  .modal .modal-window .modal-l {
    margin-bottom: 1.5rem;
  }
  .modal .modal-window .modal-l img {
    margin: 0 auto 0 auto;
    display: block;
    max-width: 100px;
  }
  .modal .modal-window .modal-r .select-language label, .modal .modal-window .modal-r .select-language .select-container {
    width: 100%;
    float: none;
  }
  .modal .modal-window .modal-r .select-language label {
    margin-top: 15px;
  }
  .footer li {
    border: none;
    padding: 0;
    display: block;
  }
  .footer li:first-child {
    padding-left: 0;
  }
  .footer li:last-child {
    border-right: none;
    padding-right: 0;
  }
}

.card-left-title {
  width: 100%;
  float: left;
}

.listen-section {
  width: 100%;
  float: right;
  position: relative;
}

.main-section-title {
  border-bottom: none;
}

.horizontal-line {
  border-bottom: 1px solid #ccc;
  padding-bottom: 30px;
  clear: both;
}

.rsbtn.rsexpanded .rsbtn_exp {
  display: inline-block !important;
}

.rsbtn {
  padding-bottom: 0px !important;
}

/*  B Change */
.main .story-grid .item {
  width: 46%;
  float: left;
  border: 1px solid #ccc;
  margin: 5px;
  padding: 10px;
}

.main .story-grid .item img {
  float: right;
  padding-left: 10px;
}

.main .story-grid .item h4 {
  margin-top: 0;
  margin-bottom: 5px;
  color: #000;
}

.main .story-grid .item span {
  color: #000;
  word-wrap: break-word;
}

.main .story-grid .item a {
  text-decoration: none;
}

.main .story-grid .item:nth-child(2n+1) {
  clear: both;
}

@media (max-width: 767px) {
  .main .story-grid .item {
    width: 90%;
  }
  .insert-custom-img {
    padding-left: 60px !important;
    margin-bottom: 1.2em !important;
  }
  .insert-custom-img .img-out {
    margin-right: -50px !important;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .main .story-grid .item {
    width: 44%;
  }
  .insert-custom-img {
    padding-left: 60px !important;
    margin-bottom: 1.2em !important;
  }
  .insert-custom-img .img-out {
    margin-right: -50px !important;
  }
  .default-l {
    width: 100%;
  }
}

@media (min-width: 993px) and (max-width: 1199px) {
  .main .story-grid .item {
    width: 45%;
  }
  .insert-custom-img {
    padding-left: 60px !important;
    margin-bottom: 1.2em !important;
  }
  .insert-custom-img .img-out {
    margin-right: -50px !important;
  }
  .default-l {
    width: 100%;
  }
}

/*  B Change */
@media (min-width: 992px) {
  .card-left-title {
    width: 50%;
  }
  .listen-section {
    width: 50%;
  }
  #readspeaker_button1 {
    float: right;
  }
  .main .story-grid .item img {
    width: 148px;
  }
}

@media (max-width: 992px) {
  .listen-section {
    margin-top: 10px;
  }
  .main .story-grid .item h4 {
    float: none;
    margin-top: 10px;
  }
  .main .story-grid .item span {
    float: none;
  }
  .main .story-grid .item img {
    width: 144px;
  }
}

/* Froala Editor */
.custom-outlined-box {
  border: 1px solid #60a900;
  padding: 30px;
  border-radius: 30px 0px 30px 0px;
  margin-bottom: 1.2em;
}

.custom-filled-box {
  border: 1px solid white;
  background: #60a900;
  color: #ffffff;
  padding: 30px;
  border-radius: 30px 0px 30px 0px;
  box-shadow: 0 0 0 2px #60a900;
}

.custom-filled-box p:first-child {
  margin-bottom: 0px !important;
}

.insert-custom-img {
  position: relative;
  margin-bottom: 1.2em;
}

.insert-custom-img .img-out {
  position: absolute;
  right: 100%;
  top: 0;
  margin-right: 5px;
}

.header .logo {
  text-decoration: none;
}

.header .legal-aid-logo span {
  color: #093655;
  text-decoration: none;
  letter-spacing: 10px;
  word-spacing: 5px;
  padding-left: 15px;
}

@media (max-width: 767px) {
  .header .legal-aid-logo span {
    letter-spacing: 5px;
    word-spacing: 3px;
    padding-left: 7px;
  }
}


.primary-nav-all-in-one ul li.layout2 a {
  background: #556191;
}

.primary-nav-all-in-one ul li.layout2 a:hover {
  background: #4c5681;
}

@media (max-width: 767px) {
  .primary-nav-all-in-one {
    margin-top: -30px;
  }
}

.primary-nav-all-in-one .layout2 a:before {
  background: none;
}

.all-in-one-pack .container a.all-in-one {
  background: #dde0ef;
}

.all-in-one-pack .container a.all-in-one:hover {
  background: #cfd4e8;
}

.all-in-one-pack .layout3 {
  background: none !important;
}
