/* --- Splashscreen Font --- */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');

/* --- London bridge filter - Make full website black and white --- */
/*html {
	filter: grayscale(1);	
}*/

.hwrcmap iframe > #panelTop, .hwrcmap iframe > #pageContent_bookmarks {
	display: none!important;
}

.swal2-container {
	height:100vh!important;
	z-index: 999999;
}

/*@media screen and (max-width: 1200px) {
	.hwrcmap iframe {
	    transform: scale(0.85)!important;
		-webkit-transform: scale(0.85)!important;
		-moz-transform: scale(0.85)!important;
		-ms-transform: scale(0.85)!important;
		-o-transform: scale(0.85)!important;
	    margin-left: -60px;
	    margin-top: -35px;
    }
}

@media screen and (max-width: 730px) {
	.hwrcmap iframe {
	    transform: scale(0.75)!important;
	    -webkit-transform: scale(0.75)!important;
		-moz-transform: scale(0.75)!important;
		-ms-transform: scale(0.75)!important;
		-o-transform: scale(0.75)!important;
	    margin-left: -100px;
	    margin-top: -65px;
	}
}


@media screen and (max-width: 650px) {
	.hwrcmap iframe {
	    transform: scale(0.55)!important;
	    -webkit-transform: scale(0.55)!important;
		-moz-transform: scale(0.55)!important;
		-ms-transform: scale(0.55)!important;
		-o-transform: scale(0.55)!important;
	    margin-left: -180px;
	    margin-top: -130px;
	}
}
@media screen and (max-width: 500px) {
	.hwrcmap {
		height: 342px;
	}
	.hwrcmap iframe {
	    transform: scale(0.56)!important;
		-webkit-transform: scale(0.56)!important;
		-moz-transform: scale(0.56)!important;
		-ms-transform: scale(0.56)!important;
		-o-transform: scale(0.56)!important;
		margin-left: -180px;
		margin-top: -135px;
	}
	.hwrcmap iframe {
		height: 400px!important;
		max-width: 500px!important;
		width: 100%!important;
		transform: none!important;
		margin-left: 0;
		margin-top: 0;
	}
}

@media screen and (max-width: 430px) {
	.hwrcmap iframe {
	    transform: scale(0.49)!important;
		-webkit-transform: scale(0.49)!important;
		-moz-transform: scale(0.49)!important;
		-ms-transform: scale(0.49)!important;
		-o-transform: scale(0.49)!important;
		margin-left: -210px;
		margin-top: -165px;
	}
}*/


@media screen and (max-width: 1200px) {
	.hwrcmap iframe {
		height: 600px!important;
		max-width: 1200px!important;
		width: 100%!important;
	}
}

@media screen and (max-width: 768px) {
	.hwrcmap iframe {
		height: 400px!important;
	}
}

/*covid infographic styling*/
.covid-infographic {
	margin: 20px 0;
	height: 850px;
	width: 100%;
	max-width: 847px;
    object-fit: cover;
    display: block;
    overflow-x: scroll;
	overflow-y: hidden;
}
.covid-infographic::-webkit-scrollbar {
    -webkit-appearance: none;
}
.covid-infographic::-webkit-scrollbar:horizontal {
    height: 14px;
}
.covid-infographic::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid white;
    background-color: #194476;
}
.covid-infographic::-webkit-scrollbar-track { 
    background-color: #E5EAF0; 
    border-radius: 8px; 
}
.covid-infographic img {
	height: 97%;
}
.covid-infographic-2 {
	margin: 20px 0;
    width: 100%;
    max-width: 847px;
    object-fit: cover;
    display: block;
}
.covid-infographic-2 img {
	width: 100%;
}

@media screen and (max-width: 800px) {
	.covid-infographic {
		height: auto;
	}
	.covid-infographic img {
    	height: 850px;
	}
	.covid-infographic::-webkit-scrollbar, .covid-infographic::-webkit-scrollbar:horizontal,
	.covid-infographic::-webkit-scrollbar-thumb, .covid-infographic::-webkit-scrollbar-track { 
		display: none;
	}
	.covid-infographic-2 {
    	overflow: scroll;
	}
	.covid-infographic-2 img {
    	width: 150%;
	}
}

/*CTA fix*/
.calltoaction--maincontent ul {
	list-style: disc;
}

/*CSV icon fix*/
.media-link--csv .media-link__text::before {
    content: url(https://www.durham.gov.uk/resource/images/media/csvicon.gif);
}

/* --- START LONDON BRIDGE - SPLASHSCREEN CSS --- */

/*#splashscreen {
    width: 100vw;
    height: 100vh;
    background: #1A1A1A;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
   	align-content: flex-end;
    position: fixed;
    z-index: 999999999999999999999999999;
    color: #E6E6E6;
    font-family: 'Merriweather','texgyreherosregular',Arial,sans-serif;
    overflow: scroll;
    background: url(https://websites.durham.gov.uk/durhamgoss/London%20bridge%201920x1080.jpg);
    background-size: cover;
	background-position: center;
    background-color: #1a1a1a;
	background-blend-mode: overlay;
}*/

#splashscreen {
    width: 100vw;
    height: 100vh;
    background: #1A1A1A;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    align-content: flex-end;
    position: fixed;
    z-index: 999999999999999999999999999;
    color: #E6E6E6;
    font-family: 'Merriweather','texgyreherosregular',Arial,sans-serif;
    overflow: scroll;
    background: url(https://websites.durham.gov.uk/durhamgoss/London%20bridge%201920x1080.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #111111;
    background-position: center;
}

/*https://websites.durham.gov.uk/durhamgoss/her-majesty-the-queen-compressed.jpeg*/

h2.splashscreen-title {
    width: 100%;
    text-align: center;
    z-index: 99999;
    margin-top: 15px;
    font-size: 42px;
	color: #e6e6e6;
	font-weight: 500;
}

p.splashscreen-text {
    width: 100%;
    text-align: center;
	font-family: 'texgyreherosregular',Arial,sans-serif;
}

/*
img.splashscreen-image {
    height: 50vh;
    width: 50vh;
    border-radius: 100%;
    box-shadow: rgb(0 0 0 / 40%) 0px 0px 0px 10px, 
        rgb(0 0 0 / 30%) 0px 0px 0px 20px, 
        rgb(0 0 0 / 20%) 0px 0px 0px 30px, 
        rgb(0 0 0 / 10%) 0px 0px 0px 40px, 
        rgb(0 0 0 / 5%) 0px 0px 0px 50px;
}
*/

#splashscreen-close {
    position: absolute;
    top: 30px;
    right: 30px;
}

@media only screen and (max-width: 680px) {
	#splashscreen-close {
		right: calc(50vw - 83px);
	}
}

button#splashscreen-close {
    background: none;
    font-size: 16px;
    color: #b3b3b3;
    border: 1px solid #b3b3b3;
    padding: 10px 20px;
}

button#splashscreen-close:hover {
    color: #e6e6e6;
	border: 1px solid #e6e6e6;
    cursor: pointer;
	background: rgba(0,0,0,0.5);
}

p#splashscreen-date {
    font-size: 22px;
    text-align: center;
}

p#splashscreen-date strong {
    font-weight: 300;
    font-style: italic;
}

div#splashscreen-text-wrap {
	display: none;
    padding: 60px;
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
	text-align: center;
	width: 100%;
}

#splashscreen-close .fa-times:before {
    font-family: 'Font Awesome 5 Pro'!important;
    font-weight: 100;
}

#splashscreen hr {
    border: 0;
    height: 1px;
    background: rgb(255,255,255);
    background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

/* --- END LONDON BRIDGE - SPLASHSCREEN CSS --- */