span.nowrap {white-space:nowrap}


/* CMS */
a.cmsLink {
    _left: 0px;
    _top: 0px;
    display: inline-block;
    border: 1px solid black;
    background-color: yellow;
    color: Black;
    width: 40px;
    height: 24px;
    font-size: 16px;
    position:absolute;
}

.rcs-nopaddingormargins{
    padding:0px; 
    margin:0px;
}


/* Override default w3.css settings here for font sizes etc. */
html, body {
    /* font-family: Verdana,sans-serif;    <<< Kept */
    font-size: 1em !important;              /* Adjusted from 15px to 1em */
    /* line-height: 1.5                    <<< Kept */
}

/* Set heading's as relative em sizes based on a 15px font */
h1{font-size:2.4rem !important;}
h2{font-size:2.0rem !important;}
h3{font-size:1.6rem !important;}
h4{font-size:1.4rem !important;}
h5{font-size:1.2rem !important;}
h6{font-size:1.07rem !important;}


/* Body */

body.rcs {
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: left top;
    background-color: white;
    background-size: auto;
    margin:0;

}




/* Header */
header.rcs {
    position: relative;
    height: 3em;
    /*max-width: 1820px; */
    width:100%;
}

    header.rcs div {
        position: absolute;
        margin: 0px;
        padding: 0px;
        z-index: 0;
        height: 3.6em;
    }

    header.rcs h1 {
        position: absolute;
        margin-left: 0.2em;
        margin-top: 0em;
        margin-bottom: 0.4em;
        font-family: 'Bradley Hand ITC';
        font-size: 2.5em;
        font-weight: bold;
        z-index: 100;
    }

    header.rcs h1 a{
        text-decoration: none;
    }



/* Contact Banner */

section.rcs.ul.li {
    display:inline-block;
}




/* General Page Block Sizing */
.rcs-maxwidth {
    max-width: 1820px;
}


/* Styling for SideBar */

.rcs-sidebar {
    height: fit-content;
    padding-bottom: 20px;
}





/* Main Body Where Content goes*/

.rcs-main {
    max-width: 1620px;
    padding-bottom: 20px;

}

.rcs-minheight {
    min-height: 400px;
}





/* Additional w3 */
.w3-medium {
    font-size: 14px !important
}

.w3-padding-tiny {
    padding: 2px 4px !important
}

/* Menu Styling */


.rcs-systm {
    background-image: url(/images/icons/computer-26.png)
}

.rcs-econsult {
    background-image: url(/images/icons/phone1-26.png)
}


.rcs-offsite {
    background-image: url(/images/icons/globe-26.png)
}

.rcs-leaflet {
    background-image: url(/images/icons/note-26.png)
}

.rcs-friendsandfamilytest {
    background-image: url(/images/icons/group-26.png)
}

.rcs-friendsandfamilyresults {
    background-image: url(/images/icons/thumbs_up-26.png)
}

.rcs-qanda {
    background-image: url(/images/icons/talk-26.png)
}


li.rcs-lhsmenu {
    margin-left: 2px;
    padding-left: 30px;
    list-style: none;
    background-position: left center;
    background-repeat: no-repeat;
}

li.lhsmenu a {
    width: 190px;
    overflow-wrap: break-word;
    text-align: left;
    display: inline-block;
    margin-left: 0px;
    padding: 4px 4px 4px;
    padding-left: 20px !important;
    min-height: 32px;
}

/* Footer Styling */

footer.rcs {
    width: 100%;
    background-color:white;
}



/* QandA Styling */


.rcs-qanda-question, .rcs-qanda-answer {
    background-repeat: no-repeat;
    background-position: top left;
    padding-left: 40px !important;
    width:fit-content;
}

.rcs-qanda-question {
    background-image: url(/images/icons/talk-26.png);
}

.rcs-qanda-answer {
    background-image: url(/images/icons/reply-26.png);
}


/* Square Bullet Lists */

 .rcs-bulletlist {
    list-style-type: square !important;
    list-style-position:inside !important;

 }




/* w3 Overrides --------------------------------------------------------------------------------------------*/

/* Make the Blue NHS Blue */

.w3-blue {
    background-color: #005EB8 !important
}

/* Make w3-btn wrap text */
.w3-btn, .w3-button {
    white-space: normal;
}

/* force button hover */

.w3-btn:hover {
    filter: brightness(1.3);
}

/* additional styling */

.rcs-main p{padding-left:4px;}

.w3-padding-none {
    padding: 0px !important
}

.w3-margin-none {
    margin:0px !important
}


/* Style the arrow if it's in the RCS signposting, by default this will be the white arrow */
a.rcs-arrow-right {
    padding-right: 58px !important;
    background-position: right center;
    background-repeat: no-repeat;
    background-image: url(/images/icons/arrow-black-right-26.png);
}

a.rcs-arrow-right-white, button.rcs-arrow-right-white {
    padding-right: 58px !important;
    background-position: right center;
    background-repeat: no-repeat;
    background-image: url(/images/icons/arrow-white-right-26.png);
}

a.rcs-download-white {
    padding-right: 58px !important;
    background-position: right center;
    background-repeat: no-repeat;
    background-image: url(/images/icons/download-white-26.png);
}


    /* arrow colour is dependent on the class chosen in the parent */
.w3-blue >       a.rcs-arrow-right   {background-image: url(/images/icons/arrow-white-right-26.png) !important}
.w3-green >      a.rcs-arrow-right   {background-image: url(/images/icons/arrow-white-right-26.png) !important}
.w3-red >        a.rcs-arrow-right   {background-image: url(/images/icons/arrow-white-right-26.png) !important}
.w3-purple >     a.rcs-arrow-right   {background-image: url(/images/icons/arrow-white-right-26.png) !important}


/* w3-theme-d2 is "green", so the arrow should always be right */
/* apply compound selector so only if it's a <a> and has both classes defined */
a.w3-theme-d2.rcs-arrow-right {background-image: url(/images/icons/arrow-white-right-26.png) !important}


/*.w3-paleyellow > a.rcs-arrow-right   {background-image: url(/images/icons/arrow-black-right-26.png) !important}*/
/* MEDIA BASED ADJUSTMENTS ---------------------------------------------------------------------------------- */
/* Header - Remove opacity on smaller screens and slightly smaller font */
@media (min-width:992px) {
    header .rcs div {
    }
}

@media (min-width:0px) and (max-width:991px) {
    header.res {
        margin-top: 0px;
    }

    header.rcs div {
        opacity: 1;
    }

    header.rcs h1 {
        margin-left: 0.2em;
        margin-bottom: 2em;
        font-size: 2.2em;
    }
}

/* Body - Hide background on small screens */

@media (min-width:992px) {
    body.rcs {
        padding: 50px;
        background-image: url(/images/background/background.jpg);
    }
}

@media (min-width:0px) and (max-width:991px) {
    body.rcs {
        padding: 0px;
        background-image: none;
    }
}

/* Handle Sidebar*/

@media (min-width:992px){
    #mySidebar{
        position:initial !important;
        min-width:200px !important;
        background-color:none;
    }

    #myBody{
        margin-left:0px;
    }
}


/* Footer - remove margins etc*/


@media (min-width:992px) {
    footer.rcs {
        margin: 4px 50px 5px 0px;
    }
}

@media (min-width:0px) and (max-width:991px) {
    footer.rcs {
        margin: 0px;
    }
}


