/*STIKY FOOTER */
html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 65px;
}
.footer {
  position: absolute !important;
  bottom: 0 !important;
  width: 100% !important;
  /* Set the fixed height of the footer here */
  height: 65px !important;
  
}

#grandprix-content a {
	color: #9f9f9f;
	text-decoration: none;
}
#grandprix-content a:hover,
#grandprix-content a:visited,
#grandprix-content a:focus {
	color: #000;
	text-decoration: none;
}
#grandprix-content a.active {
	color: #000 !important; 
}
#grandprix-content .grandprix-image {
	height: 30px;
	border-radius: 10px;
}
#grandprix-content .col-button-accordion {
	cursor: pointer;
}
#grandprix-content .card-header {
	background: none;
	font-size: 10px;
	line-height: 12px;
}
#grandprix-content .card-body {
	font-size: 14px;
	line-height: 16px;
}
#grandprix-content .card-body .grandprix-viewmore {
	font-size: 11px;
	line-height: 11x;
}
#grandprix-content .grandprix-header {
	font-size: 12px;
	line-height: 14px;
}
#grandprix-content .grandprix-header:before{
	content: '';
	position: absolute;
	z-index: 0;
	width: 80%;
	height: 20px;
	background-image: url("../images/home/home_map_decoration.png");
	top: 30px;
    left: 0;
    background-size: contain;
    background-repeat: no-repeat;
	
}
#grandprix-content .col-button-accordion[aria-expanded="true"] .grandprix-header {
	font-size: 16px;
	line-height: 16px;
}

#grandprix-content .championship_section {
	padding: 25px 0;
	display: none;
}
#grandprix-content .championship_section.active {
	display: block;
}
#grandprix-content .card {
	border-radius: 20px;
	border-color: #9f9f9f !important;
}
#grandprix-content .card-img-top {
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
}

#grandprix-content .podium-data .card {
	border-radius: 0;
	border-color: transparent !important;
	max-width: 200px;
	background: none;
}
#grandprix-content .podium-data .card-img-top {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}
#grandprix-content .podium-data .card-body {
	padding: 30px 0 15px;
}
#grandprix-content .podium-data .date {
	font-size: 11px;
	line-height: 11px;
}
#grandprix-content .podium_place .podium_place_number {
	font-size: 14px;
	line-height: 14px;
}
#grandprix-content .podium_place .podium_place_text {
	font-size: 12px;
	line-height: 14px;
	text-transform: capitalize;
}

#grandprix-content .rss_icon{
	font-size: 18px;
	color: #000;
	margin-right: 10px;
}
.icon_svg{
	width: 14px;
    height: auto;
    top: -2px;
    position: relative;
    display: inline-block;
}

#grandprix-content .more_info h5{
	margin: 0;
	font-size: 16px;
}


/* PODIUM */
.podium-data {
	max-width: 640px;
}
.podium-data .wall-content {
	width: calc(100% - 50px);
	margin: 0 auto;
	position: relative;
}
.podium-data .wall-content .bx-wrapper {
	margin: 0;
}
.podium-data .wall-content .slides-buttons {
	width: 100%;
}
.podium-data .wall-content .arrow-slide {
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	height: 50px;
	font-size: 50px;
	line-height: 50px;
}
.podium-data .wall-content .arrow-slide a {
	color: #000;
}
.podium-data .wall-content .arrow-slide a:hover {
	color: #f2142e;
}
.podium-data .wall-content #grandprix-slider-prev {
	left: -20px;
}
.podium-data .wall-content #grandprix-slider-next {
	right: -20px;
}
.podium-data .top-flag {
	display: inline-block;
	height: 42px;
	vertical-align: middle;
	margin-right: 15px;
}
.podium-data .top-contry {
	display: inline-block;
	vertical-align: middle;
	margin: 0;
}
.podium-data .top-date {
	top: -10px;
	left: 0;
	font-size: 14px;
	line-height: 14px
}
.podium-data .inner-type-button {
	border: 1px solid transparent;
	background-color: #fff;
	padding: 10px 15px;
	border-radius: 40px;
	box-shadow: 0 5px 10px rgba(0,0,0,0.2);
	cursor: pointer;
	font-size: 16px;
	line-height: 18px;
	cursor: pointer;
}
.podium-data .inner-type-button:hover,
.podium-data .inner-type-button.active {
	border-color: #d0d0d0;
	border-color: #868686;
}
.podium-data .inner-type-button .block-info {
	width: calc(100% - 22px);
	margin-left: 5px;
}
.podium-data .inner-type-button .block-number {
	font-size: 16px;
}
.podium-data .inner-type-button .block-name {
	font-size: 14px;
}
.podium-data .inner-type-button .block-team {
	font-size: 12px;
}

.podium-data .grandprix-rounded {
	padding: 6px;
	position: relative;
	display: inline-block;
}
.podium-data  .grandprix-rounded.active:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	top: 0;
	width: 100%;
	height: 100%;
	margin: auto;
	border-radius: 50%;
	border: 1px solid #000;
}
.podium-data .grandprix-rounded .item-grandprix {
	width: 60px;
	height: 60px;
	margin: 0 auto;
	background-position: center center;
	background-repeat: no-repeat;
	cursor: pointer;
	position: relative;
	z-index: 10;
	background-size: cover;
	border-radius: 50%;	
}
.podium-data .top-background {
	margin: 0 auto;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 350px;
	width: 350px;
	border-radius: 50%;
	position: relative;
}
.podium-data .hover-image-pilot {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	z-index: 10;
	border-radius: 50%;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

/* RANKINGS */
#ranking-data .nav-link {
	background: none;
	border-radius: 20px;
	border-color: #9f9f9f !important;
	padding: 15px 25px;
	font-size: 11px;
	line-height: 11px;
}
#rankings-tabContent {
	font-size: 11px;
	line-height: 11px;
}
#rankings-tabContent .each-row-ranking {
	border-radius: 20px !important;
	border-color: #9f9f9f !important;
	padding: 10px 20px 10px 10px;
}
#rankings-tabContent .each-row-ranking img {
	max-height: 30px;
}

@media(max-height:768px) {
	#grandprix-content .content-scroll {
		height: 400px;
	}
}

@media(max-width:1200px) {
	#grandprix-content .grandprix-header {
	    font-size: 10px;
	    line-height: 12px;
	}
	#grandprix-content .col-button-accordion[aria-expanded="true"] .grandprix-header {
		font-size: 14px;
		line-height: 14px;
	}
	
	#ranking-data .nav-link {
		font-size: 10px;
		line-height: 10px;
	}
	#rankings-tabContent {
		font-size: 10px;
		line-height: 12px;
	}

	.podium-data .top-background {
		height: 280px;
		width: 280px;
		margin-bottom: 20px;
	}
}
@media(max-width:992px) {
	#grandprix-content .content-scroll {
		height: 400px;
	}
	#grandprix-content .col-button-accordion[aria-expanded="true"] .grandprix-header {
		font-size: 12px;
		line-height: 14px;
	}
	
	.page_right_content .page_title{
		font-size: 42px;
		line-height: 50px;
	}
	
	#ranking-data .nav-link {
		font-size: 9px;
		line-height: 9px;
		padding: 10px 20px;
	}
	#grandprix-content .championship_section {
		padding: 0 0 25px;
	}
}
@media(max-width:767px) {
	#grandprix-content .content-scroll {
		width: 100%;
	}

	.podium-data .top-flag {
		height: 32px;
	}
	.podium-data .top-contry {
		color: #000;
		text-shadow: none;
	}
}
@media(max-width:576px) {
	#ranking-data .nav-link {
		font-size: 8px;
		line-height: 10px;
	}
	#podium-data .card {
		width: 90%;
		max-width: 300px;
		margin: 0 auto;
	}	
}
@media(max-width:400px) {
	.page_right_content .page_title{
		font-size: 30px;
		line-height: 32px;
	}
	.page_right_content {
		padding-top: 152px;
	}
	#rankings-tabContent .each-row-ranking{
		padding: 7px 0px 10px 9px;
	}

	.podium-data .top-flag {
    height: 22px;
	}

	.page_menu_submenu {
		margin-top: 25px;
	}
}

/* Shedule Grandprix */
#grandprix-content #grandprix-title-change {
	display: none;
}
#grandprix-content .grandprix_schedule .grandprix-image {
	height: 50px;
	border-radius: 0;
	box-shadow: 0px 2px 8px #ccc;
}
#grandprix-content .grandprix_schedule small {
	font-size: 11px;
	line-height: 11px;
	font-weight: bold;
}
#grandprix-content .grandprix_schedule .page_title {
	font-size: 32px;
	line-height: 34px;
	margin: 30px 0 45px;
}
#grandprix-content .grandprix_schedule .schedules {
	font-size: 16px;
	line-height: 16px;
}
#grandprix-content .grandprix_schedule .schedules .row:last-child {
  margin-bottom: 0 !important;
}
#grandprix-content .grandprix_schedule .type {
	color: #000;
}
#grandprix-content .grandprix_schedule .type b{
	font-family: 'Formula1_bold';
	text-transform: uppercase;
}
#grandprix-content .grandprix_schedule .day {
	color: #9f9f9f;
}
#grandprix-content .grandprix_schedule .hour {
	color: #000;
}
#grandprix-content .grandprix_schedule .hour span {
	display: inline-block;
	background-color: #ddd;
	padding: 2px 4px;
	border-radius: 8px;
}
@media(max-width:992px) {
	#grandprix-content .grandprix_schedule .page_title {
		font-size: 28px;
		line-height: 30px;
	}
	#grandprix-content .grandprix_schedule .schedules {
		font-size: 14px;
		line-height: 14px;
	}
}
@media(max-width:867px) {
	#grandprix-content .grandprix_schedule small {
		font-size: 10px;
		line-height: 10px;
	}
	#grandprix-content .grandprix_schedule .page_title {
		font-size: 24px;
		line-height: 26px;
	}
	#grandprix-content .grandprix_schedule .schedules {
		font-size: 12px;
		line-height: 12px;
	}
}
@media(max-width:767px) {
	#grandprix-content #grandprix-title-change {
		display: block;
	}
	#grandprix-content .grandprix_schedule .grandprix-header {
		display: block;
	}
	#grandprix-content .grandprix_schedule .grandprix-image {
		margin-bottom: 15px !important;
	}
	#grandprix-content .grandprix_schedule .page_title {
		font-size: 20px;
		line-height: 22px;
		color: #000;
		text-shadow: 0 0 0 transparent;
	}
}
@media(max-width:567px) {
	#grandprix-content .grandprix_schedule .schedules {
		font-size: 11px;
		line-height: 11px;
	}
}
