﻿/** Motorsport css */

:root {
	--headlineunder: #002554; /*#9c1 91d;*/
	--highlight: #002554;
}


/*
header img.PCGBlogo {
    width: 316px;
    height: 100px;
}

header.container {
    height: 160px;
}

.LogoColumn {
    margin: 30px 0px;
}

*/

.MSSocialIcon
{
	width: 22px;
	height: 22px;
	background: url(/pcgb/resources/img/motorsport/icons/Icon_Facebook.svg) 0px 0px no-repeat transparent;
    background-size: 22px 22px;
	display: inline-block;
	margin-right: 12px;
}

.MSSocialIcon:hover
{
	background: url(/pcgb/resources/img/motorsport/icons/Icon_Facebook_active.svg) 0px 0px no-repeat transparent;
    background-size: 22px 22px;
}

.MSSocialIcon:last-of-type
{
	margin-right: 0px;
}

.MSSocialIconTwitter
{	
	background: url(/pcgb/resources/img/motorsport/icons/Icon_Twitter.svg) 0px 1px no-repeat transparent;
	background-size: 22px 22px;
}

.MSSocialIconTwitter:hover
{
	background: url(/pcgb/resources/img/motorsport/icons/Icon_Twitter_active.svg) 0px 3px no-repeat transparent;
    
}

.MSSocialIconYoutube
{	
	background: url(/pcgb/resources/img/motorsport/icons/Icon_Youtube.svg) 0px 0px no-repeat transparent;
	background-size: 22px 22px;
}

.MSSocialIconYoutube:hover
{
	background: url(/pcgb/resources/img/motorsport/icons/Icon_Youtube_active.svg) 0px 0px no-repeat transparent;
    background-size: 22px 22px;
}


/*
header .LoginAndBasket {

    margin-top: 0px;

}

*/

.LoginAndBasket > .InnerDiv
{
	position:absolute;
	display: inline-block;
	
}



#hlSignIn
{
	margin-right:0px;
}
/*
nav, .mobileMenu {

    background-color: #000000;
}*/

 .outterSponsor img {
	height: 75px !important;
	width: auto !important;
	margin: 0px !important;
	padding: 10px !important;
}

 .outterSponsor a {
	 margin-bottom: 20px;
	 display: inline-block;
}

.outterSponsor {
    margin-bottom: 15px;
}


/*** Upcoming events - begins */
.MSUpcomingEvents.upcomingEvents .hEventsItem .col-3
{
	padding-right: 0px;
}

.MSUpcomingEvents.upcomingEvents h2,
.latestNews.MSLatest h2{
    padding-bottom: 5px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
	margin-bottom: 30px;
}

.MSUpcomingEvents.upcomingEvents .button.red
{
	padding-left: 60px;
	padding-right: 60px;
}


/*** Upcoming events - ends */

/*** EventTypes - begins */
.hlEventType,
.hlEventType h2
{
	text-decoration: none;
	border: none !important;
}

.hlEventType
{
	text-align: center;
	position:relative;
	display: block;
	margin-bottom: 60px;
	height:200px;
}

.hlEventType h2
{
	color:#ffffff;
	position: absolute;
	top: calc(15% - 16px); 
	bottom: 0px;
	left: 0px;
	right: 0px;
	margin: 10%;
}

.hlEventType h2:hover
{
	text-decoration: underline;
}


.hlEventType .darkoverlay 
{
	background-color: rgba(0, 0, 0, 0.4);
	position: absolute;	
	top: 0px;
	bottom: 0px;
	left: 15px;
	right: 15px;	
}

.pnlImageEventType
{
	width: 100%;
	height: 195px;
	background-position: center center;
    background-repeat: no-repeat;
	 background-size: cover;
}

#MotorsportEventTypeYear .PCGBBreadcrumb {
	margin: 0px 30px;
	
}

.BCcontainer {
	background-color: #f0f0f0;
}

/*** EventTypes - ends */

.StaticTitleIntroDiv h1{
	text-align: center;	
	margin-bottom: 50px;
	line-height: 140%;
}

.StaticTitleIntroDiv h1 span
{
	border-bottom:solid 5px var(--headlineunder);
	/*padding-bottom: 10px;*/
}

.StaticTitleIntroDiv{
	margin-bottom: 30px;
	margin-top: 50px;
}

.MSLatest.latestNews .latestNewsItemContent
{
	
}

.MSLatest.latestNews 
{
	padding: 60px 30px;
}


.hubItem:hover h3
{
	color:var(--headlineunder);
	text-decoration: underline;
}

#MotorsportHome #body
{
	padding-bottom: 0px;
}

@media(-webkit-min-device-pixel-ratio:0) {
	.MSHeroRow.row
	{
		display: block;
	}
}


/** media queries **/

@media all and (min-width: 992px) {
}



@media all and (min-width: 1331px) {
	.pnlMSHeadSocial
	{
		 margin-top: 30px;
	}
	
	.LoginAndBasket > .InnerDiv {

		right: 15px;
	}
	
	.LoginAndBasket > .InnerDiv:last-of-type
	{
		bottom:30px;
	}
	
	header #lbLogout.hlLoginIcon
	{
		margin-right: 0px !important;
	}
	
}



@media all and (max-width: 1330px) {

	.MSSocialIcon,
	.MSSocialIcon:hover
	{
		background: url(/pcgb/resources/img/motorsport/icons/Icon_Facebook_white.svg) 0px 0px no-repeat transparent;
		background-size: 22px 22px;
	}

	.MSSocialIconTwitter, .MSSocialIconTwitter:hover
	{	
		background: url(/pcgb/resources/img/motorsport/icons/Icon_Twitter_white.svg) 0px 1px no-repeat transparent;
		background-size: 22px 22px;
	}	

	.MSSocialIconYoutube, .MSSocialIconYoutube:hover
	{	
		background: url(/pcgb/resources/img/motorsport/icons/Icon_Youtube_white.svg) 0px 0px no-repeat transparent;
		background-size: 22px 22px;
	}	
/*
	.LoginAndBasket > .InnerDiv:first-of-type
	{
		right: 0px;
		top: 60px;
	}
	
	.LoginAndBasket > .InnerDiv:last-of-type
	{
		right: 100px;
		top: 50px;
	}
	*/
	header > .row > .col-md-3 {

	}
	
	#hlSignIn {
		margin-right: 15px;
	}
	
	header > .row > .col-md-3 {
		top: 180px;
	}
	
	.pnlImageEventType
	{
		/*height: 500px !important;*/
	}
	/*
	.LoginAndBasket > .InnerDiv:first-of-type {
		top: -7px;
	}
	
	.LoginAndBasket > .InnerDiv:last-of-type {
		top: -17px;
	}
	*/
	
}
/*
@media all and (min-width: 1201px) and (max-width: 1299px) {
	
}
@media all and (max-width: 1200px) {
	
}
*/

@media all and (max-width: 1350px) and (min-width: 992px) {

	#MotorsportHome .latestNews .latestNewsItem p.articleTypeContainer {
		margin-bottom: 5px;
		width: 100%;
	}

	#MotorsportHome .latestNews .latestNewsItem p.date {
		margin-top: 0;
		width: 100%;
	}
	
	span.articleType
	{
		border-right: none;
	}

}

@media all and (max-width: 1200px) and (min-width: 992px) {

	/*.hlEventType {
		width: 50%;
		float: left;
	}*/
	
	/*.hlEventType:nth-of-type(odd) > .hEventsType{
		padding-right: 30px;
	}*/
}

@media all and (max-width: 991px) {	
	.StaticTitleIntroDiv {
		margin-top: 0px;
	}
	
	header > .row > .col-md-3 {
		top: 130px;
	}
	
	.LogoColumn {
		margin: 13px 0px;
	}
	
	header img.PCGBlogo {
		width: 250px;
		height: 79px;
	}
/*	
	.LoginAndBasket > .InnerDiv:first-of-type {
		top: 83px;
	}
	
	.LoginAndBasket > .InnerDiv:last-of-type {
		top: 70px;
	}
	*/
}

@media all and (max-width: 767px) {
	header > .row > .col-md-3 {
	}
	
	.outterSponsor a {
		display: block !important;
	}
	
	 .outterSponsor img {
		height: auto !important;
	}
	
}
@media all and (max-width: 520px) {
	.pnlImageEventType {

		height: 230px !important;

	}
	
	.pnlMSHeadSocial
	{
		display: none;
	}
	/*
	.LoginAndBasket > .InnerDiv:last-of-type {
		right: 0px;
	}*/
}

@media all and (max-width:1079px) and (min-width:900px) {
 .featuredNewsItem > a > .row > [class*="col-xl-5"],
 .featuredNewsItem > a > .row > [class*="col-xl-4"] {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .featuredNewsItem > a > .row > [class*="col-xl-3"] {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.LogoColumn {
    margin: 30px 0px;
}

@media (max-width:1330px)
{
	.LoginAndBasket > .InnerDiv {position:relative;}
	header .LoginAndBasket {margin-top:45px;}
	.LoginAndBasket .InnerDiv:first-child {margin-right:20px;top:3px;}
}
@media (max-width:1201px)
{
	header .LoginAndBasket {margin-top:0px;}
}
