﻿/* Global styles start */

.montserrat-<uniquifier> {
	font-family: "Montserrat", serif;
	font-optical-sizing: auto;
	font-weight: <weight>;
	font-style: normal;
}

.figtree-<uniquifier> {
	font-family: "Figtree", serif;
	font-optical-sizing: auto;
	font-weight: <weight>;
	font-style: normal;
}

html { 
	font-family: "figtree", sans-serif;
}

body {
    margin: 0px;
    padding: 0px;
}


#site-container {
	width: 100%;
	max-width: 1400px;
	min-height: 1000px;
	margin: 0 auto;
	background-color: #ffffff; 
}

/* .skip-to-content {
    display: block;
    width: 100%;
    height: 2.5rem;
    line-height: 2.5rem;
    margin-top: -2.5rem;
    padding: 0;
    font-style: normal;
    font-weight: 400;
    color: #ffffff;
    transition: all 0.3s ease-out;
    background-color: #004650;
    text-align: center;
    text-decoration: none;    
}

.skip-to-content:focus {
    margin-top: 0;
} */

.emergency-banner {
    width: 100%;
    background-color: #004650;
    font-weight: 400;
    padding: 30px 0px 30px 0px;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
    font-size: 18px;
}

.emergency-banner__text {
    margin-right: 15px;
    width: 100%;
    color: #ffffff;
    line-height: 30px;
    padding: 0px 30px 0px 30px;
}

.emergency-banner__text > a {
    color: #ffffff;
    font-weight: 500;
    text-decoration: underline;
}
 
/* Global styles finish*/


/* Header styles start */

#header-container {
	display: flex;
    width:100%;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    height: 104px;
    color: #000000;
    z-index: 999;
    position: relative;
    background-color: #ffffff;	
}

/* #header-logo-container {
	align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0px 0px 0px 35px;	
}

#header-logo-image {
    background-size: 100% 100%;
	height: 74px;
    width: 300px;
} */





/*
header {
	    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    height: 64px;
    color: #282828;
    z-index: 999;
    position: relative;
    background-color: #ffffff;
}
	*/

   header .nav {
        display: flex;
        align-items: center;
        margin-left: auto;
        margin: 0px 35px 0px 0px;
    }

    header .nav__main {
        display: none;
    }

    header .nav__main__nav-item {
        display: flex;
        align-items: center;
        padding: 0 16px;
        cursor: pointer;
        user-select: none;
    }

    header .nav__main__nav-item__label {
        font-style: normal;
        font-weight: 750;
        font-size: 16px;
        line-height: 27px;
        text-decoration: none;
        color: #000000!important;
        border-bottom: 3px solid #ffffff;
        transition: 0.3s;
    }

    header .nav__main__nav-item__label:hover {
        border-bottom: 3px solid #5cc9bd !important;
    }

    header .nav__main__nav-item__arrow_drop_down {
        background: url(../images/icons/dropdown-arrow-icon.svg);
        background-size: 50% 50%;
        background-repeat: no-repeat;
        background-position: center;
        height: 59px;
        width: 27px;
    }

    header .nav__icons {
        align-items: center;
        display: flex;
    }

        header .nav__icons > * {
            cursor: pointer;
            height: 25px;
            width: 25px;
            margin: 0 0px;
        }

    header .nav__icons__menu {
        background: url(../images/icons/burger-menu-icon.svg);
        background-size: 100% 100%;
    }

    header .nav__icons__close-menu {
        background: url(../images/icons/cross-menu-icon.svg);
        background-size: 100% 100%;
    }

    header .nav__dropdown-container-desktop {
        display: none;
    }

    header .nav-dropdown-container-mobile {
		/*
		position: absolute;
		display: block;
		min-height: 100%;
		*/
        position: fixed;
        height: 100%;
        width: 100%;
        border-bottom: 2px solid black;
        top: 104px;
        left: 0px;
        background: #004650;
        z-index: 999;
        overflow: scroll;
    }

    header .nav__dropdown-header {
        cursor: pointer;
        margin: 0px 16px;
        padding: 16px 0px;
        box-shadow: inset 0px -1px 0px #DBDBDB;
        align-items: center;
        display: flex;
        justify-content: space-between;
        user-select: none;
        font-style: normal;
        font-weight: 400;
        font-size: 19px;
        line-height: 29px;
        color: #ffffff;
    }

    .nav__dropdown-header a {
        color: #ffffff;
        text-decoration: none;
    }

        header .nav__dropdown-header .dropdown-header-arrow {
            background: url(../images/icons/dropdown-arrow-slim-white-icon.png);
            height: 12px;
            width: 15px;
            background-size: 100%;
            background-repeat: no-repeat;
            background-position: center;
        }

    header .nav__dropdown {
        padding: 0px;
        margin: 0px;
    }

    header .nav__dropdown__list-item {
        list-style-type: none;
        box-shadow: inset 0px -1px 0px #DBDBDB;
        font-style: normal;
        font-weight: 400;
        font-size: 19px;
        line-height: 29px;
        color: #ffffff;
        width: 343px;
        margin: 0px 16px;
    }

        header .nav__dropdown__list-item a {
            text-decoration: none;
            display: block;
            padding: 16px 16px 16px 32px;
            width: 100%;
            color: #ffffff;
        }

    header .nav__dropdown--advice-topics {
        left: 595px;
    }

    header .nav__dropdown--care-plans {
        left: 765px;
    }



/*
hacks
*/

@media all and (min-width: 992px) {

/* Replaced with the below */
/* header .nav {
    margin: 0px 45px 0px 0px;
}

#header-logo-container {
    margin: 0px 0px 0px 45px;
} */

    header .nav {
        margin: 0px 45px 0px 0px;
    }


    .header-logo-container { 
        margin-left: 45px;}

}

    
@media all and (max-width: 800px) {

    .header-logo-container { 
        margin-left: 45px;}
}


@media all and (min-width: 992px) {

    header {
        padding: 8px 22px;
        height: 88px;
    }

        header .logo__image {
            height: 72px;
            width: 72px;
        }

        header .logo__title {
            font-size: 23px;
            line-height: 29px;
        }

        header .nav__main {
            display: flex;
            align-items: center;
        }

        header .nav__icons > * {
            height: 27px;
            width: 27px;
        }

        header .nav__icons__search {
            background-size: 80% 80%;
            background-repeat: no-repeat;
            background-position: center;
        }

        header .nav__icons__menu {
            display: none;
        }

        header .nav__icons__close-menu {
            background-size: 80% 80%;
            background-repeat: no-repeat;
            background-position: center;
        }

        header .nav__dropdown-container-desktop {
            position: absolute;
            top: 80px;
            right: 298px;
            display: block;
        }

        header .nav__dropdown-desktop {
            background: #FFFFFF;
            box-shadow: 0px 0px 64px rgba(0, 44, 75, 0.21);
            position: absolute;
            padding: 0px 8px;
            width: 357px;
            right: 0px;
        }

    .nav__dropdown-desktop__list-item {
        list-style-type: none;
        font-style: normal;
        font-weight: 400;
        font-size: 18px;
        line-height: 27px;
        color: #282828;
        padding: 0px 16px;
    }

        .nav__dropdown-desktop__list-item a {
            width: 100%;
            display: block;
            padding: 12px 0px;
            text-decoration: none;
            color: #000000;
        }

    .nav__dropdown-desktop__list--care-plans {
        left: -205px;
    }
}


@media all and (min-width: 1160px) {
       
        header .nav__dropdown-container-desktop {
            right: 380px;
        }
}

/* Header styles finish */




/* footer styles start */

#footer-container {
	border-top: 4px solid #5cc9bd;
	max-width: 100%; 
	height: 300px; 
	background-color: #004650; 
	display: flex; 
	flex-direction: row;
}

#footer-content-container {
	width: 90%; 
	height: 170px; 
	margin: 20px auto 20px auto;	 
}

#footer-content-top-container {
	max-width: 100%;  
	justify-content: space-between; 
	display: flex; 
	flex-direction: row;
}

#footer-content-top-logo-container {
	max-width: 30%;  
	margin: 25px 0px 0px 0px; 
}

#smoke-free-derby-and-derbyshire-logo-footer {
    display: block;
    width: 250px !important;
    max-width: 100% !important;
    height: auto !important;
}

#footer-content-top-logo-container p {
	padding: 0px 0px 0px 0px; 
	margin: 15px 0px 0px 0px; 
	font-size: 16px; 
	color: #ffffff;
}

#footer-content-top-newsletter-container {
	max-width: 100%;
	margin: 40px 0px 0px 0px;
	color: 4px solid #5cc9bd; 
}

.footer-content-top-newsletter-container-label {
	color: #ffffff;
	font-weight: bold;
	font-size: 18px;
}

.footer-container-newsletter-section-link {
	padding: 20px 25px 20px 25px;
	color: #000000;
	background-color: #5cc9bd;
	border-radius: 15px;
	margin: 0px 0px 0px 15px;
	font-weight: bold;
	text-decoration: none;
    transition: 0.3s;
}

.footer-container-newsletter-section-link:hover {
	color: #ffffff;
	background-color: #002226;
}

#footer-divider-container {
	max-width: 100%;	
	border-top: 4px solid #5cc9bd; 
	margin-top: 40px;
}

#footer-content-bottom-container {
	max-width: 100%;  
	justify-content: space-between; 
	display: flex; 
	flex-direction: row;
}

#footer-content-bottom-links-container {
	max-width: 70%; 
	margin: 20px 0px 0px 0px;
}

#footer-content-bottom-links-container ul { 
	float: left; 
	list-style: none; 
	padding: 0px;
}

#footer-content-bottom-links-container ul li { 
	display: inline-block; 
	margin-right: 22px; 
	padding: 0px;
}

#footer-content-bottom-links-container ul li a { 
	font-weight: 700; 
	font-size: 14px; 
	text-decoration: none; 
	color: #ffffff; 
    transition: 0.2s;
}

#footer-content-bottom-links-container ul li a:hover {
	font-weight: 700; 
	font-size: 14px; 
	color: #ffffff;
    line-height: 18px;
    border-bottom: 2px solid #5cc9bd;
}

#footer-content-bottom-social-media-links-container {
	max-width: 50%;
	margin: 15px 0px 0px 0px;
}

#footer-content-bottom-social-media-links-container ul { 
	float: left; 
	list-style: none; 
	padding: 0px;
}

#footer-content-bottom-social-media-links-container ul li { 
	display: inline-block; 
	margin-left: 10px; 
	padding: 0px;
}

#footer-content-bottom-social-media-links-container ul li a { 
	font-weight: 700; 
	font-size: 14px; 
	text-decoration: none; 
	color: #ffffff; 
}

#footer-content-bottom-social-media-links-icon-x { 
	background-image: url("../images/icons/social-media-icon-x.png");
	background-size: cover;
	width:25px;
	height:25px;
	margin: 0px 0px 0px 0px;
    transition: 0.3s;
}

#footer-content-bottom-social-media-links-icon-youtube { 
	background-image: url("../images/icons/social-media-icon-youtube.png");
	background-size: cover;
	width:25px;
	height:25px;
	margin: 0px 0px 0px 0px;
    transition: 0.3s;
}

#footer-content-bottom-social-media-links-icon-instagram { 
	background-image: url("../images/icons/social-media-icon-instagram.png");
	background-size: cover;
	width:25px;
	height:25px;
	margin: 0px 0px 0px 0px;
    transition: 0.3s;
}

#footer-content-bottom-social-media-links-icon-facebook { 
	background-image: url("../images/icons/social-media-icon-facebook.png");
	background-size: cover;
	width:25px;
	height:25px;
	margin: 0px 0px 0px 0px;
    transition: 0.3s; 
}

#footer-content-bottom-social-media-links-icon-x:hover { 
	background-image: url("../images/icons/social-media-icon-x-hover.png");
}

#footer-content-bottom-social-media-links-icon-youtube:hover { 
	background-image: url("../images/icons/social-media-icon-youtube-hover.png");
}

#footer-content-bottom-social-media-links-icon-instagram:hover { 
	background-image: url("../images/icons/social-media-icon-instagram-hover.png");
}

#footer-content-bottom-social-media-links-icon-facebook:hover { 
	background-image: url("../images/icons/social-media-icon-facebook-hover.png");
}

@media all and (max-width: 1030px) {

    #footer-container {
        max-width: 100%;
        height: auto;
        background-color: #004650;
    }

    #footer-content-container {
        width: 100%;
        height: auto;
        margin: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

	#footer-content-top-container{
        width: 80%;
        height: auto;
        margin: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #footer-content-top-logo-container {
        max-width: 500px;
        margin: 50px 0px 10px 0px;
        align-items: center;
        justify-content: center;
    }

    #smoke-free-derby-and-derbyshire-logo-footer {
        max-width: 250px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    #footer-content-top-logo-container p {
        text-align: center;
        max-width: 300px;
        margin: 30px 0px 0px 0px;
    }

	#footer-container-newsletter-section {	
    	margin: 30px 0px 0px 0px;
        display:flex;
        flex-direction: row;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        align-items: center;

	}

	#footer-content-bottom-container {
        width: 80%;
        height: auto;
        margin: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

	#footer-divider-container {
		margin: 0px;
	}

    #footer-content-bottom-links-container {
        width: 100%;
        margin: 20px 0px 0px 0px;
    }

	#footer-content-bottom-links-container ul {
		width: 100%;
	}

	#footer-content-bottom-links-container ul li {
		display: block;
		margin: 0px 0px 10px 0px;
		padding: 0px;
		text-align: center;
	}

    #footer-content-bottom-social-media-links-container {
        width: auto;
        margin: -5px 0px 30px 0px;
        display: block;
        text-align: center;
    }

    .footer-container-social-media-links-icon {
        max-width: 25px;
        text-decoration: none;
        display: block-inline;
        text-align: center;
        margin: 5px 6px 0px 6px;
    }

	.footer-content-top-newsletter-container-label {
		display: none;
	}

}

/* footer styles end */

/* Additional bits */

/* Fix the overflow on certain screen sizes */
#aspnetForm { 
    overflow: hidden;
    }



/* Fix the menu styling */
#header-container .nav__main__nav-item > a {
    font-style: normal;
    font-weight: 750;
    font-size: 16px;
    line-height: 27px;
    text-decoration: none !important;
    color: #000000 !important;
    border-bottom: 3px solid #ffffff;
    transition: 0.3s;
}

#header-container .nav__main__nav-item > a:hover,
#header-container .nav__main__nav-item > a:focus {
    border-bottom: 3px solid #5cc9bd;
    text-decoration: none !important;
    color: #000000 !important;
}

/* Header Logo change */
#header-logo-link {
    display: flex;
    align-items: center;
    margin: 0px 0px 0px 35px;
    text-decoration: none;
}

#header-logo-container {
    display: flex;
    align-items: center;
}

#header-logo-image {
    display: block;
    width: 300px;
    height: auto;
    max-width: 100%;
}

/* NAV fixes */
/* Header logo fix for Contensis image version */

#header-logo-container {
    display: flex;
    align-items: center;
    margin: 0 0 0 35px;
}

#header-logo-container a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

#header-logo-image {
    display: block;
    width: 300px !important;
    height: auto !important;
    max-width: 100%;
}

/* Keep the original wider desktop spacing */
@media all and (min-width: 992px) {
    #header-logo-container {
        margin-left: 45px;
    }

    header .nav {
        margin-right: 45px;
    }
}

/* Smaller logo on mobile, matching the old behaviour */
@media all and (max-width: 800px) {
    #header-logo-container {
        margin-left: 35px;
    }

    #header-logo-image {
        width: 200px !important;
        height: auto !important;
    }
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10000;

    display: block;
    width: 100%;
    padding: 0.75rem 1rem;

    background-color: #004650;
    color: #ffffff;

    text-align: center;
    text-decoration: none;
    font-weight: 700;

    transform: translateY(-100%);
    transition: transform 0.2s ease;
}

.skip-to-content:focus,
.skip-to-content:focus-visible {
    transform: translateY(0);
}

/* Nav spacing fix - keeps original desktop spacing without showing search icon */

.nav__icons__desktop-spacer {
    display: none;
}

@media all and (min-width: 992px) {
    .nav__icons__desktop-spacer {
        display: block;
        width: 27px;
        height: 27px;
        flex: 0 0 27px;
    }
}