/*
Theme Name: SLAM
Theme URI: http://wordpress.org/themes/twentythirteen
Author: Mayden
Author URI: http://www.mayden.co.uk
Description: based on Wordpress Twenty Thirteen Theme, a theme for SLAM IAPT
Version: 1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:


*/

/** * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/) * http://cssreset.com */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ================ CSS tricks Border-Box Reset http://css-tricks.com/international-box-sizing-awareness-day/ ================ */

html {
    /* Chrome 9-, Safari 5-, iOS 4.2-, Android 3-, Blackberry 7- */
    -webkit-box-sizing: border-box;
    /* Firefox (desktop or Android) 28- */
    -moz-box-sizing: border-box;
    /* Firefox 29+, IE 8+, Chrome 10+, Safari 5.1+, Opera 9.5+, iOS 5+, Opera Mini Anything, Blackberry 10+, Android 4+ */
    box-sizing: border-box;
}

*, *:before, *:after {
    /* Chrome 9-, Safari 5-, iOS 4.2-, Android 3-, Blackberry 7- */
    -webkit-box-sizing: inherit;
    /* Firefox (desktop or Android) 28- */
    -moz-box-sizing: inherit;
    /* Firefox 29+, IE 8+, Chrome 10+, Safari 5.1+, Opera 9.5+, iOS 5+, Opera Mini Anything, Blackberry 10+, Android 4+ */
    box-sizing: inherit;
}

/* ================ Start Mayden Styles ================ */

body {
    background: #ffffff;
    font-family: Arial, 'Sans Serif';
    font-size: 14px;
    color: #453a36;
}

#page {
    background: #e6e6e6;
    float: left;
    clear: both;
    width: 100%;
}

.container {
    max-width: 960px;
    margin: auto;
}

.wrapper {
    float: left;
    width: 100%;
    background: #d9d9d9;
}

a {
    color: #cc0099;
    text-decoration: underline;
    font-weight: bold;
}

a:hover {
    text-decoration: none;
}

/* --------------------------- Header -----------------------------------*/

#masthead .container {
    padding: 25px 10px 25px 10px;
    height: 85px;
}

#masthead a {
    text-decoration: none;
}

h1.site-title {
    font-size: 16px;
    font-weight: bold;
    font-family: Arial, 'Sans Serif';
    line-height: 1.2em;
}

h2.site-description {
    font-size: 14px;
    font-weight: normal;
    font-family: Arial, 'Sans Serif';
    padding-left: 2px;
}

#masthead a.home-link {
    color: #453a36;
    float: left;
}

#urgenthelp, #NHSlogo {
    float: right;
    display: block;
    height: 28px;
    margin: 4px 0px;
    font-size: 18px;
    font-weight: bold;
}

#NHSlogo {
    width: 68px;
    overflow: hidden;
    line-height: 200px;
    background: url(images/logo-nhs.png) top right no-repeat;
    margin-left: 50px;
}

#urgenthelp {
    text-transform: uppercase;
    line-height: 28px;
}

/* Assistive text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    line-height: normal;
    padding: 15px 23px 14px;
    position: absolute;
    left: 5px;
    top: 5px;
    text-decoration: none;
    width: auto;
    z-index: 100000; /* Above WP toolbar */
}

/* --------------------------- Sidebar -----------------------------------*/

#navhead {
    float: left;
    width: 230px;
    clear: none;
}

#homespot {
    width: 100%;
    height: 160px;
    background: #e6e6e6;
    padding: 30px 10px 10px 10px;
}

#homespot a.home-link h1 {
    display: block;
    width: 43px;
    height: 39px;
    overflow: hidden;
    background: url(images/logo-home.png) top left no-repeat;
    line-height: 200px;
}

#menu-services-menu {
    margin: 15px 0 0 15px;
}

#menu-services-menu a {
    color: #453a36;
    text-decoration: none;
}

#menu-services-menu > li > a {
    display: block;
    width: 209px;
    height: 67px;
    padding: 15px;
    font-family: 'Cabin Sketch', sans-serif;
    font-size: 30px;
    color: #009999;
    font-weight: bold;
    margin-bottom: 5px;
    background: url(images/nav-bg-reg.png) top left no-repeat;
}

#menu-services-menu > li > a {
}

#menu-services-menu > li:hover > a,
#menu-services-menu > li.current-page-ancestor > a {
    background: url(images/nav-bg-hover.png) top left no-repeat;
    color: #ffffff;
}

/*----- Services Sub Page Menus ---------*/
#menu-services-menu > li ul.sub-menu {
    display: none;
    padding: 10px;
    line-height: 1.5em;
}

#menu-services-menu > li ul.sub-menu li.menu-item-has-children > a:after {
    content: " +";
}

.top-parent-18 #menu-services-menu > li,
.top-parent-16 #menu-services-menu > li,
.top-parent-20 #menu-services-menu > li,
.top-parent-22 #menu-services-menu > li {
    display: none;
}

.top-parent-18 #menu-services-menu > li.current_page_ancestor,
.top-parent-16 #menu-services-menu > li.current_page_ancestor,
.top-parent-20 #menu-services-menu > li.current_page_ancestor,
.top-parent-22 #menu-services-menu > li.current_page_ancestor,
.top-parent-18 #menu-services-menu > li.current_page_ancestor > ul.sub-menu,
.top-parent-16 #menu-services-menu > li.current_page_ancestor > ul.sub-menu,
.top-parent-20 #menu-services-menu > li.current_page_ancestor > ul.sub-menu,
.top-parent-22 #menu-services-menu > li.current_page_ancestor > ul.sub-menu {
    display: block;
}

#menu-services-menu > li > ul.sub-menu > li {
    margin-bottom: 10px;
}

#menu-services-menu > li ul.sub-menu a {
    font-weight: normal;
    font-size: 14px;
}

#menu-services-menu > li ul.sub-menu ul.sub-menu a {
    font-size: 12px;
}

#menu-services-menu > li ul.sub-menu a:hover {
    text-decoration: underline;
}

#menu-services-menu > li ul.sub-menu .current_page_ancestor > a,
#menu-services-menu > li ul.sub-menu .current-menu-item > a {
    font-weight: bold;
    color: #009999;
}

#menu-services-menu .sub-menu .sub-menu {
    list-style: circle;
    display: none;
    margin: 0px 10px;
    padding: 0px 5px;
}

#menu-services-menu .sub-menu li.current_page_item > .sub-menu,
#menu-services-menu .sub-menu li.current-page-ancestor > .sub-menu {
    display: block;
}

/* --------------------------- Generic menu ------------------------------*/

#main #navbar {
    height: 160px;
    width: 100%;
    background: rgba(225, 225, 225, 0.5);
    padding: 30px 0 0 15px;
}

.generic-menu a {
    font-weight: normal;
    text-decoration: none;
    color: #990099;
    font-size: 12px;
}

.generic-menu a:hover {
}

.generic-menu > li,
.generic-menu > li > a {
    display: block;
    float: left;
    text-align: center;
    width: 169px;
    min-height: 46px;
    margin-right: 9px;
}

.generic-menu > li > a {
    padding: 10px 15px;
    background: transparent url(images/bg-topnav-reg.png) top left no-repeat;
}

.generic-menu > li > a:hover {
    text-decoration: underline;
}

.generic-menu > li.current-menu-item > a {
    background: transparent url(images/bg-topnav-rollover.png) top left no-repeat;
}

.generic-menu > li ul.sub-menu {
    display: none;
    text-align: left;
    list-style: circle;
}

.generic-sub ul.menu {
    list-style: none;
    text-align: left;
}

.generic-sub ul.menu li {
    list-style: none;
    display: inline;
}

.generic-sub ul.menu li:first-child .seperator {
    display: none;
}

.generic-sub ul.menu li a {
    font-weight: normal;
    text-decoration: none;
}

.generic-sub ul.menu li a:hover {
    text-decoration: underline;
}

.generic-sub ul.menu li.current-menu-item a {
    font-weight: bold;
}

/*--- Self referral ----*/
.generic-menu > li.referral-button {

    clear: left;
}

.generic-menu > li.referral-button > a {
    margin-top: 10px;
    background: url(images/bg-topnav-refer.png?v=2) top left no-repeat;
    font-weight: bold;
    font-size: 14px;
    color: #fff;
}

/* --------------------------- Main -----------------------------------*/

#main {
    width: 730px;
    min-height: 550px;
    background: #ffffff url(images/header-contact.png) top left no-repeat;
    float: left;
}

/* croydon header */
.top-parent-18 #main {
    background-image: url(images/header-croydon.png);
}

/* lambeth header */
.top-parent-16 #main {
    background-image: url(images/header-lambeth.png);
}

.top-parent-16 #main #parent-title {
    color: #fff;
}

/* lewisham header */
.top-parent-20 #main {
    background-image: url(images/header-lewisham.png);
}

/* southwark header */
.top-parent-22 #main {
    background-image: url(images/header-southwark.png);
}

/* problems header */
.top-parent-6 #main {
    background-image: url(images/header-generic.png);
}

/* how we can help header */
.top-parent-8 #main {
    background-image: url(images/header-how-we-can-help.png);
}

/* self help header */
.top-parent-10 #main {
    background-image: url(images/header-self-help.png);
}

#content {
    padding: 30px;
}

#page h1,
#page h2 {
    font-family: 'Cabin Sketch', sans-serif;
    font-size: 30px;
    color: #574e4b;
    font-weight: bold;
    padding: 10px 0px;
    clear: both;
}

#content h1 {
    margin-bottom: 20px;
}

#content h2 {
    margin-top: 10px;
    font-size: 25px;
    font-weight: normal;
}

#content p {
    margin-bottom: 1em;
}

#homespot h2 {
    color: #910f91;
    font-size: 30px;
    padding: 7px;
    font-weight: bold;
}

h3,
#parent-title {
    color: #333333;
    font-weight: bold;
    font-size: 16px;
    padding: 10px 0px;
}

h4 {
    font-weight: bold;
    margin: 0px 0.5em;
}

#parent-title {
    height: 80px;
    padding: 30px;
}

#content {
    line-height: 1.5em;
}

b,
strong {
    font-weight: bold;
}

i,
em {
    font-style: italic;
}

u {
    font-decoration: underline;
}

#content ol,
#content ul {
    padding: 10px 20px;
}

#content p + ol,
#content p + ul {
    padding-top: 0px;
    padding-bottom: 1em;
}

#content ol {
    list-style: decimal;
}

#content ul {
    list-style: disc;
}

#content ol ol,
#content ul ol {
    list-style: lower-roman;
}

#content ol ul,
#content ul ul {
    list-style: circle;
}

hr {
    margin: 20px;
    border: 0;
    height: 1px;
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    background-image: -ms-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

}
blockquote {
    padding: 20px;
    font-style: italic;
}

cite {
    text-align: right;
    font-style: normal;
}

code {
    padding: 20px;
    font-family: 'Courier New';
}

img {

    max-width: 100%;
    padding: 5px 10px 10px 0;
    display: block;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.col-left,
.alignleft {
    float: left;
}

.col-right,
.alignright {
    float: right;
    padding: 0 0 10px 10px;
}

.aligncenter {
    margin: auto;
    padding: 10px;
}


.clear {
    clear: both;
}

.row {
    clear: both;
    float: left;
    margin: 0 -10px;
}
.col-third,
.col-half {
    box-sizing: border-box;
    padding: 10px;
}

.col-third {
    width: 33%;
}

.col-half {
    width: 50%;
}

/* --------------------------- Home -----------------------------------*/

.home #main {
    width: 730px;
    height: 550px;
    background: url(images/carousel_1.png) top right no-repeat;
    position: relative;
}

.bx-wrapper {
    margin: 0px;
}

.bx-wrapper .bx-viewport {
    border: 0px;
    box-shadow: none;
    left: 0px;
}

.bx-wrapper .bx-viewport img {
    margin: 0px;
    padding: 0px;
}

.bx-controls {
    position: relative;
    top: -54px;
    padding: 0px 24px;
}

.bx-wrapper .bx-pager {
    color: #ffffff;
    text-align: left;
}

.bx-wrapper .bx-pager.bx-default-pager a {
    height: 20px;
    width: 20px;
    border-radius: 10px;
    background: #fff;
    opacity: 0.5;
}

.bx-wrapper .bx-pager.bx-default-pager a.active,
.bx-wrapper .bx-pager.bx-default-pager a:hover {
    opacity: 1;
    background: #fff;
}

#primary {
    width: 100%
}

.home #primary {
    position: absolute;
    top: 0px;
}

.home #content {
    padding: 10px 30px;
}

#home-splash {
    width: 350px;
    color: #ffffff;
}

#home-splash.alt {
    color: #ffffff;
}

#home-splash h1 {
    font-size: 48px;
    line-height: 1.1em;
    color: #ffffff;
    margin: 0px;
    padding: 0px;
}

#home-splash h2 {
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    font-family: Arial, 'Sans Serif';
    line-height: 1.2em;
    margin: 10px 0 0 0px;
    padding: 0px;
}

/* --------------------------- Footer -----------------------------------*/

#colophon {
    clear: both;
}

#menu-footer-menu {
    padding: 20px 0px;
    float: left;
}

#menu-footer-menu li {
    float: left;
    padding: 1px 17px;
    font-size: 12px;
    border-right: 1px solid #453a36;
}

#menu-footer-menu li:last-child {
    border-right: 0px;
}

#menu-footer-menu li a {
    color: #453a36;
    font-weight: normal;
    text-decoration: none;
}

#menu-footer-menu li a:hover {
    text-decoration: underline;
}

#slam-logo {
    display: block;
    float: right;
    width: 262px;
    height: 35px;
    overflow: hidden;
    line-height: 200px;
    margin: 15px 20px;
    background: url(images/logo-slam.png) top right no-repeat;
}

#credits {
    clear: both;
    margin: 20px;
    color: #444;
}

#mayden-credit {
    color: #b3b2b2;
}

#mayden-logo {
    display: inline-block;
    width: 105px;
    height: 24px;
    overflow: hidden;
    position: relative;
    top: 7px;
    line-height: 200px;
    background: url(images/logo-mayden.png) top right no-repeat;
}