/*Import custom colfax font*/
@font-face {
    font-family: 'Colfax-light';
    src: url('../fonts/Colfax-light.otf') format('truetype'),url('../fonts/Colfax-light.woff') format('woff'), url('../fonts/Colfax-Light.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Colfax-medium';
    src: url('../fonts/Colfax-medium.otf') format('truetype'), url('../fonts/Colfax-medium.woff') format('woff'),url('../fonts/Colfax-medium.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Colfax-black';
    src: url('../fonts/Colfax-black.otf') format('truetype'),url('../fonts/Colfax-black.woff') format('woff'),url('../fonts/Colfax-black.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* css for Splash Screen Pop-up modal */
.modal-dialog-full-width {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        max-width:none !important;

    }
.modal-content-full-width  {
	height: auto !important;
	min-height: 100% !important;
	border-radius: 0 !important;
	background-color: black !important 
}
.modal-header-full-width  {
	border-bottom: 1px solid #9ea2a2 !important;
}
.modal-footer-full-width  {
	border-top: 1px solid #9ea2a2 !important;
}


p.PulledContent{width: 100%;
background-color: #F2F3F4;
padding: 20px;
border-left: 8px solid #3b6e83;
line-height: 18px;}

a{
    color: #014287;
    font-weight: 400;
	text-decoration: underline;
}

.e:hover {
		background-color:#eeeeee;
}

p.h4 {
    font-family: Colfax-black, sans-serif!important;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: .5rem;
}
a.skip-main {
    left: -999px;
    position: absolute;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -999;
}

    a.skip-main:focus, a.skip-main:active {
        color: white;
        background-color: #3b6e83;
        left: auto;
        top: 0;
        width: 15%;
        height: auto;
        overflow: auto;
        margin: 10px 35%;
        padding: 5px;
        text-align: center;
        font-family: Colfax-medium;
        font-size: 1em;
        font-weight: 600;
        z-index: 999;
    }
#main:target {
    display: inherit;
    position: inherit;
    visibility: unset;
    top: unset;
}
:target {
    display: block;
    position: relative;
    top: -200px;
    visibility: hidden;
}

body, html {
    width: 100vw;
    overflow-x: hidden;
    font-family: Colfax-light;
}

.overflowHidden {
	overflow: hidden;
}

/*Generic background colours*/
.purbck {
    color: white;
    background-color: #502d63;
	font-family: Colfax-medium, FontAwesome;
}

.bluebck {
    color: white;
    background-color: #3b6e83;
	font-family: Colfax-medium;
}

.light-grey-back {
    background-color: #ecedf1;
    color: #000;
}

.breadcrumb {
font-family: Colfax-medium;
}

/*Generic Borders */
.bordLeftO {
    border-left: 6px solid #3b6e83;
}

/* Navigation */

#navbarText > form > input {
    font-family: Colfax-black,FontAwesome;
    width: 100%;
}

.navbar {
    top: 0!important;
    right: 0!important;
    left: 0!important;
    z-index: 1030!important;
}

.navbar-nav .nav-item .nav-link {
    color: #000;
    font-size: 18px;
	font-family: Colfax-medium;
	text-decoration: none;
	height: 44px;
}

.navbar-nav .nav-item:hover .nav-link {
    color: #fff;
    font-size: 18px;
    background-color: #3b6e83;
	height: 44px;
	
}

input.form-control::placeholder {
    color: #333;
}
/* Home Page Hero */
.hero {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
}

    .hero .headerHero {
        position: relative;
        margin-top: 60vh;
    }

    .hero h1 {
        display: inline;
        color: white;
        font-size: 6em;
        font-family: Colfax-black;
        background-color: #3b6e83;
        padding: 10px;
        padding-top: 10px;
        padding-right: 20px;
    }
/* Home Page Banner Change color on hover to be removed when URL is removed */
	.hero h1:hover {
        background-color: #0b5878;
    }

	.hero h2:hover {
        background-color: #45185e;
    }
/* Home Page Banner Change color on hover */
/* FINISHED */

    .hero h2 {
        font-family: Colfax-black;
		max-width: 90%;
    }

    .hero a {
        color: white;
    }


/* Home Page Hero */
.heroquart {
    background-image: url(../Images/quays.png);
    background-position: top;
    height: 60vh;
	
}

    .heroquart span {
        color: white;
        margin-top: 55px;
    }

.textHeader {
    margin-top: 30vh;
	width:40%;
  	left: 5%;
	position: absolute!important;
    color: white;
    background-color: #502d63;
}

    .textHeader small {
        font-size: 18px;
        opacity: 1;
    }

.heroArrow {
    position: absolute;
    margin-top: 28vh;
    height: 150px;
}

    .heroArrow:hover {
        animation-duration: 2s;
        background-color: #502d63;
    }

/**.heroquart h1 {
    font-size: 4em;
}**/

.heroRightArrow {
    right: 0;
}

.heroLeftArrow {
    left: 0;
}
/* Slider Hero */
.homeNewsItems {
	height: 100%;
    min-height: 500px;
    max-height: 500px;
}

.newsSlider {
    height: 500px;
    display: block;
}

.newsSlide {
    background-position: center;
    position: absolute;
    height: 500px;
    width: 100%;
    left: 0px;
    top: 0px;
    opacity: 0;
    z-index: 1;
}

    .newsSlide span {
        color: white;
        margin-top: 55px;
    }

.newsSlideHeader {
    margin-top: 230px;
    color: white;
    background-color: #502d63;
    margin-left: 100px;
}

    .newsSlideHeader small {
        font-size: 18px;
        opacity: 1;
    }

.arrow:hover {
    animation-duration: 2s;
    background-color: #502d63;
}

.newsSlide h1 {
    font-size: 4em;
}

.newsPageItem {
    min-height: 550px;
    max-height: 550px;
}

.newsPageItem a{
	overflow:hidden;
}

.sliderRightArrow {
    position: absolute;
    height: 150px;
    right: 0px;
    top: 210px;
    width: 50px;
    z-index: 999;
	border: 0;
}

.sliderLeftArrow {
    position: absolute;
    height: 150px;
    left: 0px;
    top: 210px;
    width: 50px;
    z-index: 999;
	border: 0 ;
}

.sliderArrow {
    /**width: 40px;
    margin-top: 55px;**/
}

.active-slide {
    opacity: 1;
}

/**Accessibility change Issue 8, if it's not active, set the visibility to hidden*/
.newsSlider > .newsSlide:not(.active-slide){
    visibility: hidden;
}

.RelatedNewsArticles > img {
	height: 250px; 
	object-fit: cover; 
	
}
/*Home Page What We do*/
.secheader {
    color: white;
    background-color: #502d63;
}

.col .wwdHeader {
    font-size: 18px;
    padding-bottom: 5px;
    border-bottom: #3A6E84;
    border-bottom: 3px solid rgba(58,110,132, 1);
    display: inline-block;
    padding: 10px;
}

object {
    width: 100%;
}

.col:hover .wwdHeader {
    font-size: 18px;
    color: #fff;
    background-color: #502d63;
    border: 2px solid #000;
    cursor: pointer;
}

/*Latest News Section*/
.card .badge {
    font-size: 16px;
}


/*.card:hover > .card-body {
    background-color: #3b6e83;
    cursor: pointer;
}*/


/*for a SD call (Ref: F0142168) from Tina Harding re keyboard accessibility on accordions*/
.accordion > .card > .card-header > h5 > .btn-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}


/*Find out More Section*/

.fomLink a {
    color: #000;
    text-decoration: none;
}

.fomLink:hover .bordLeftO {
    border-left: 6px solid #502d63;
}

/*Footer*/
.links a {
    color: #000;
    font-size: 18px;
	font-family: Colfax-medium;
}

.links .hoverColor:hover {
    color: #fff;
    font-size: 18px;
    background-color: #3b6e83;
}

/* Popup */
#popupwindow {
    background-color: #502d63;
    padding: 20px;
    color: #fff;
    position: absolute;
    align-content: center;
    z-index: 9999;
    bottom: 5%;
    position: fixed;
    margin-left: 50px;
    box-shadow: 5px 5px 7px rgba(0,0,0,.2);
}

#close {
    float: right;
    display: inline-block;
    padding: 2px 5px;
}

/*All News Page*/


/*Leaders */
.leader {
    height: 300px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.details {
    position: absolute !important;
    bottom: 5%;
    left: 2%;
}

/*Individual LEader PAge */
#leaderInfo p {
    font-size: 18px;
}

.leaderActions {
    font-size: 24px;
    font-weight: 500;
    text-align: left;
}

/*Individual News Item*/

.newsArticle p {
    font-size: 18px;
}

/* Media Queries */
@media screen and (min-width:0px) and (max-width: 319px) {
	.navbar-brand img {
        width: 50px;
        height: 25px !important;
        margin-left: -30px !important;
    }
	 .navbar-toggler {
		width: 22px;
        height: 20px !important;
        margin-right: -30px;
    }
	
	.navbar-toggler-icon {
		width: 22px;
        height: 20px !important;
        margin-left:-11px;
		margin-top:-10px;
    }
	
	.newsSlideHeader {
        margin-left: 0px;
    }

        .newsSlideHeader h2 {
            font-size: 50%;
        }
	
	.newsSlideHeader small {
        font-size: 12px;
        opacity: 1;
    }
	
	.fa {
	 font-size:1em;
	}
	
	.sliderRightArrow {
    position: absolute;
    height: 50px;
    right: 0px;
    top: 240px;
    width: 20px;
    z-index: 999;
	border: 0;
}

.sliderLeftArrow {
    position: absolute;
    height: 50px;
    left: 0px;
    top: 240px;
    width: 20px;
    z-index: 999;
	border: 0 ;
}
	
/*Issue 3 - SiteMap page accessibility 400% issue starts here*/
	.sitemap {
    	margin-left: -10% !important;
		font-size: 5px;
		width: 100% !important;
		overflow-x: scroll;
		overflow-y: scroll;
	}
	.sitemap::-webkit-scrollbar:horizontal{
		height: 8px;
		background-color: red;
	}
	.sitemap::-webkit-scrollbar-thumb:horizontal{
		background: #000;
		border-radius: 10px;
	}
/*SiteMap page accessibility 400% issue ends here*/
	
/*Issue 6 accessibility 400% issue here*/
	.textHeader {
		font-size: 90%;
		width: 100%;
    }

        .textHeader h2 {
            font-size: 90%;
        }
	
	 .textHeader small {
        font-size: 12px;
        opacity: 1;
    }
	
	.breadcrumb {
	margin-top: 10px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: .75rem 1rem;
    margin-bottom: 0.5rem;
    list-style: none;
    background-color: #502d63;
    border-radius: .25rem;
	font-size: 12.96px;
}
	/*Issue 6 accessibility 400% issue ends here*/
	
	/*Issue 7 accessibility 400% issue here*/
	iframe{
		max-width: 100%;
	}
	
	img {
	max-width: 100%;
	}
	
	table {
	max-width: 100%;
	}
	/*Issue 7 accessibility 400% issue ends here*/
}

/* Media Queries */
@media screen and (min-width:319px) and (max-width: 751px) {
    .hero {
		background:url('/media/1670/gmcamobile.jpg') no-repeat center center!important;
        background-attachment: scroll!important;
        width: 100vw;
		height: 200vh;
        white-space: normal;
    }

    .navbar-brand img {
        width: 190px;
        height: 50px !important;
        margin-left: -30px !important;
    }

    .navbar-toggler {
        margin-right: -30px;
    }

    .headerHero h2 {
        display: none !important;
    }

    .headerHero12 {
        margin-left: 0 !important;
    }
	
	.headerHero {
		margin-top: 40vh!important;
	}

    .headerHero h1 {
        width: 100%;
        display: inline-block;
        flex-wrap: wrap;
        font-size: 3.0em;
        padding: 5px;
    }
	.carouselRow {
		padding-right: 0!important;
		padding-left: 0 !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}
	.col .wwdHeader{
	font-size: 14px;
	}
    .newsListHome, .newsRow {
        margin-left: 0 !important;
        margin-right: 0 !important;
		padding-right: 0!important;
		padding-left: 0!important;
    }

    .newsSlideHeader {
        margin-left: 0px;
    }

        .newsSlideHeader h2 {
            font-size: 90%;
        }

    .sliderLeftArrow, .sliderRightArrow {
        display: none !important;
    }

    .newsPageItem {
        margin-top: 20px;
        width: 100%;
    }

     .textHeader {
		font-size: 90%;
		width: 100%;
    }

        .textHeader h2 {
            font-size: 100%;
        }
    .sideBar {
        display: none;
    }

    .mobileLinks {
        display: block !important;
    }

    .leaderImage {
        display: none;
    }

    .featured {
        height: auto !important;
		max-height: none !important;
		min-height: auto !important;
        margin-bottom: 20px !important;
    }

    .newsItems, .tweets {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
	
    .homeNewsItems {
		height: auto !important;
		max-height: none !important;
		min-height: auto !important;
        margin-bottom: 20px !important;
    }
	body > footer > div.bg-light.mt-5 > div > div > div.col-md-4.mt-4 > img {
		width: 260px;
	}
	
	iframe{
		max-width: 100%;
	}
}

@media (min-width:750px) and (max-width:1000px) {
	iframe{
		max-width: 100%;
	}
    .hero {
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 100vh;
        white-space: normal;
    }

    .headerHero h1 {
        width: 100%;
        flex-wrap: wrap;
        font-size: 3em;
        padding: 5px;
        margin-right: 20px;
    }

    .headerHero h2 {
        display: none !important;
    }

    .headerHero12 {
        margin-left: 0 !important;
    }

    .homeNewsItems {
		height: auto !important;
        margin-top: 40px !important;
		max-height: none !important;
		min-height: auto !important;
    }
}

@media (min-width:992px) {
    .container {
        max-width: 960px
    }
}

@media (min-width:1005px) and (max-width:1300px) {
	.headerHero {
		margin-top:35vh !important;
	}
}

caption {
  		margin-top: 1.33em !important;
  		margin-bottom: 1.33em !important;
  		margin-left: 0 !important;
  		margin-right: 0 !important;
  		font-weight: bold !important;	
		caption-side: top !important; 
		color: black;
}


/* Accesibility Issues 4.1.1 Parsing */

/* Issue 1 - Navigation Partial View */
#logout {
        width: 100%;
        position: fixed;
        margin-top: 90px;
        z-index:9999;
}

/* Issue 2 - LoggedInDetail Partial View */
#userInformation{
        background-color:#0b5878;
        color: white;
        width: 100%;
        height:60px;
}
#userInformation p{
	color:white;
	top: 10px;
}
#user_content {
	margin-top: 10px;
}
#logoutBtn{
	width: 150px;
}

/* Issue 3 - Grid of child Pages Macro, and Issue 4 - Standard Page Right Column Template */
.stretched-link::after {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	pointer-events: auto;
	content: "";
	background-color: rgba(0,0,0,0);
}
.card:hover .card-body {
	background-color: rgba(211,211,211,0.3);
}
.brexitInfo .card-body {
	min-height:140px;
}

