﻿body {
    font-family: 'Montserrat';
}

#pagecontainer {
    min-height: 100vh;
    position: relative;
}

#pagecontentwrapper {
    padding-bottom: 400px;
}

@media (min-width:544px) {
    #pagecontentwrapper {
        padding-bottom: 270px;
    }
}

@media (min-width:992px) {
    #pagecontentwrapper {
        padding-bottom: 130px;
    }
}

#dcms_body_1 {
    background-color: white;
}

.dcms-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    min-height:130px;
}

a, a:hover {
    text-decoration: none;
}

.dcms-workspace {
    flex: 1;
    background-color: inherit;
}

#dcms_workspace_1 {
    background-color: transparent;
}

#menu-footer ul {
    list-style: outside none none;
}

.edge-badge {
    font-size: 11px;
    margin-left: -20px;
    margin-top: -45px;
}

#dcms-country-flag {
    width: 24px;
    height: 14px;
    padding: 0;
}

/* Fix file input on Firefox */
input.form-control[type="file"] {
    height: auto;
}

/* Footer */
div.menu-footer ul {
    display: inline-block;
}

@media (min-width: 992px) {
    #navbar-search-mobile {
        display: none;
    }

    #navbar-search {
        display: block;
    }
}

@media (max-width: 991px) {
    #navbar-search {
        display: none;
    }

    #navbar-search-mobile {
        margin-left: 15px;
    }
}

.dcms-row {
    margin-left: 30px;
    margin-right: 30px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.dcms-workspace div.container {
    background-color: white;
    padding: 0 30px 0 30px;
}

    .dcms-workspace div.container .row {
        padding-top: 30px;
    }

.dcms-footer {
    font-size:90%;
    line-height:normal;
}

    .dcms-footer div.container {
        background-color: #7c0000;
        padding-bottom: 30px;
        color:white;
    }

.dcms-footer a[href='#'] {
    color: white;
    font-size: 120%;
}

.dcms-text-center {
    text-align: center;
}

.dcms-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    height: inherit;
}

.dcms-flex-left-center {
    display: flex;
    align-items: center;
    height: inherit;
}

.dcms-flex-center-top {
    display: flex;
    justify-content: center;
    height: inherit;
}

.dcms-flex-right-center {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: inherit;
}

.row.dcms-flex div.col-md-4 {
    flex: 1;
}

.dcms-flex-full-height {
    height: 100%;
}

img.img-responsive {
    width: 100%;
}

.dcms-img-footer-text {
    max-height: 3em;
    overflow: hidden;
    color: grey;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    padding-top: 0;
    min-height: 3em;
}

#input-search::placeholder {
    color: #CCCCCC;
}

#accordion .panel-title > a[aria-expanded='true']:after {
    font-family: 'Glyphicons Halflings';
    content: "\e253";
    float: right;
}

#accordion .panel-title > a[aria-expanded='false']:after {
    font-family: 'Glyphicons Halflings';
    content: "\e252";
    float: right;
}

.img-link, .img-link:hover {
    text-decoration: none;
}

.div-background-image {
    width: 100%;
    height: 0;
    padding-top: 100%;
    background-size: cover;
}

.header-background {
    background-color: #b5a688;
}

.header-top-row {
    color: white;
    border-left: 1px white solid;
    border-right: 1px white solid;
    height: 2.75em;
}

.header-bottom-row {
    background-color: white;
    color: #616162;
    min-height: 2.5em;
}

.panel-body-department {
    width: 100%;
}

.panel-body, .panel-footer {
    padding: 0;
}

.social-wrapper img {
    width:96%;
}

@media (max-width: 991px){

    .social-wrapper img {
        width: 20vw;
    }
}

.inline-menus {
    list-style: none;
    border-left: solid 1px #98D5E9;
    border-right: solid 1px #98D5E9;
    text-align: center;
    padding-inline-start: 0;
}

    .inline-menus a {
        color: #616162;
    }

.home-page-nav {
    flex: 1 0 25%;
}

.col1row1-text-mobile {
    display: none;
}

#signup-normal{
    display:block;
}

#signup-mobile{
    display:none;
}

@media (max-width:414px) {
    .home-page-nav {
        display:none;
    }
}

.dropdown-menu{
    border:white;
}

.dropdown-item {
    color: white;
    opacity: 0.95;
}

    .dropdown-item:hover {
        color: white;
        opacity: 1;
        background-color: #7c0000;
    }

.ekko-lightbox-nav-overlay a span {
    color:black;
    padding: 0!important;
    text-align:unset;
}

/*
    Site specific changes

*/
:root {
    --logocolour1: #00aeef;
    --logocolour1-lighten: #56d1ff;
    --logocolour2: #a56bc2;
    --logocolour2-lighten: #d1b3e0;
    --default-background: white;
    --default-header-background: transparent;
    --default-menu-background: transparent;
    --default-text: black;
    --default-text-size: 1.5rem;
    --default-text-weight: normal;
    --default-heading-text: #a56bc2;
    --default-care-table-text-size: 1.25rem;
    --default-time-table-text-size: 1.15rem;
    --site-footer-topmenu-background: inherit;
    --site-footer-topmenu-text: #6f2b90;
    --site-footer-topmenu-text-size: 1rem;
    --site-footer-topmenu-text-weight: bold;
    --site-footer-menu-background: inherit;
    --site-footer-menu-text: white;
    --site-footer-menu-text-size: 1rem;
    --site-footer-menu-text-weight: bold;
}

.dcms-header, .dcms-footer {
    background-color: var(--default-header-background);
    color: var(--default-text);
    font-size: var(--default-text-size);
    font-weight: var(--default-text-weight);
}

.dcms-footer {
    background-color: var(--logocolour1);
}

#menu-footer li > a {
    background-color: var(--site-footer-topmenu-background);
    color: var(--site-footer-topmenu-text);
    font-size: var(--site-footer-topmenu-text-size);
    font-weight: var(--site-footer-topmenu-text-weight);
}

#menu-footer a.dropdown-item {
    background-color: var(--site-footer-menu-background);
    color: var(--site-footer-menu-text);
    font-size: var(--site-footer-menu-text-size);
    font-weight: var(--site-footer-menu-text-weight);
}

.footer-organisation {
    color: var(--site-footer-topmenu-text);
    font-size: var(--site-footer-topmenu-text-size);
    font-weight: var(--site-footer-topmenu-text-weight);
}

.footer-organisation-details {
    color: var(--site-footer-menu-text);
    font-size: var(--site-footer-menu-text-size);
    font-weight: var(--site-footer-menu-text-weight);
}

.navbar, .dropdown-menu {
    background-color: var(--default-menu-background);
}

.menu-text-colour {
    color: var(--default-text);
}

.menu-back-colour {
    background-color: var(--default-menu-background);
}

h2 {
    color: var(--default-heading-text);
}

h3 {
    color: var(--default-text);
    font-size: var(--default-care-table-text-size);
}

.logocolour1{
    color: var(--logocolour1);
}

.logocolour2 {
    color: var(--logocolour2);
}

.care-table {
    margin-left: auto;
    margin-right: auto;
    font-size: var(--default-care-table-text-size);
    border-collapse:unset;
}

    .care-table td {
        padding-left: 5px;
        padding-right: 5px;
    }

.time-table-row-odd, .time-table-row-even {
    font-size: var(--default-time-table-text-size);
    min-height:3.5rem;
    display: flex;
    align-items:center;
}

.time-col-2, .time-col-4{
    justify-content:center;
}

.time-col-2 > input, .time-col-4 > input {
    max-width:4rem;
}

/* Leigh Table */

.care-table-row-even, .time-table-row-even {
    background-color: var(--logocolour1);
    color: var(--default-background);
}

.care-table-row-odd, .time-table-row-odd {
    background-color: var(--logocolour2);
    color: var(--default-background);
}

/* Russy Table */
/*
.care-table-row-even, .time-table-row-even {
    background-color: var(--logocolour1-lighten);
    color: var(--default-text);
}

.care-table-row-odd, .time-table-row-odd {
    background-color: var(--logocolour2-lighten);
    color: var(--default-text);
}
*/

.care-col-1 {
    font-size: calc(var(--default-care-table-text-size) * 1.25);
    font-weight: bold;
}

.ourservice-table{
    width:100%;
}

.ourservice-table td{
    vertical-align: middle;
    height:4rem;
}

.broom-icon{
    max-width:48px;
}

h1.overlaid-text, h2.overlaid-text {
    color: white;
}

h1 {
    font-size: 1.25rem;
}

@media (min-width: 544px) {
    h1 {
        font-size: 1.5rem;
    }
}


@media (min-width: 768px) {
    h1 {
        font-size: 1.75rem;
    }
}
@media (min-width: 992px) {
    h1 {
        font-size: 1.75rem;
    }
}

@media (min-width: 1200px) {
    h1 {
        font-size: 2rem;
    }
}

h2 {
    font-size: 1.25rem;
}

@media (min-width: 544px) {
    h2 {
        font-size: 1.25rem;
    }
}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {
    h2 {
        font-size: 1.5rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    h2 {
        font-size: 1.5rem;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    h2 {
        font-size: 1.5rem;
    }
}


h3, #xmenu-footer li > a {
    font-size: 1.15rem;
}

@media (min-width: 544px) {
    h3, #xmenu-footer li > a {
        font-size: 1.15rem;
    }
}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {
    h3, #xmenu-footer li > a {
        font-size: 1.25rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    h3, #xmenu-footer li > a {
        font-size: 1.25rem;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    h3, #xmenu-footer li > a {
        font-size: 1.35rem;
    }
}

.dcms-page-home .dcms-header > .container-fluid {
    height: 40vh;
    max-height: 280px;
    min-height: 180px;
}

.dcms-header > .container-fluid {
    min-height: 18vh;
}

.dcms-dropdown-item{
    color:black!important;
    background-color:white!important;
    opacity:1!important;
    padding:0!important;
}

.dcms-dropdown-item:hover{
    background-color:white!important;
}

#menu-main.show{
    background-color:white!important;
    z-index:1000;
}

.broom-indent {
    text-indent: -3.25rem;
    padding-left: 3.25rem;
}

.broom-indent img{
    width: 48px;
}

#menu-footer a.dropdown-item{
    padding-left:0;
}

.navbar-light .navbar-toggler {
    color: black;   
    border-color: black;
}

.navbar-light .navbar-nav .nav-link {
    color: black;
}

@media (max-height: 450px) {
    .dcms-message {
        display: none!important;
    }
}

@media (max-width: 320px){
    .container-fluid{
        padding:0;
    }
}