﻿/* Town Hall */
.blog-background {
	height: 520px;
	background-position: center;
	background-repeat: no-repeat;
	background-size:cover;
}
/* End Town Hall */

/* Games */
#games { margin-bottom:62px; }
#games .carousel-inner {
    overflow: initial !important;
}
#games .carousel-item .card {
    border-radius: 14px !important;
    overflow: hidden;
}
#games .background_image {
	height: 560px;
	background-position: center;
	background-size:cover;
}
.game-logo {
	position:absolute;
	top:-70px;
	left:0;
}
.game-description {
	position:absolute;
	top:-70px;
	left:0;
	font-weight: 500;
	text-align: center;
	-webkit-box-shadow: 0px 0px 20px -5px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 20px -5px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 20px -5px rgba(0,0,0,0.75);
}
.game-description .discover {
	color: #ed8544;
	margin-bottom:0;
}
.game-indicators li{
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color:#000;
    right: 0 !important;
    top: 0 !important;
    left: 0 !important;
}
/* End Games */

/* Join Up! */
#recruitCarousel .carousel-item {
	opacity: 0;
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
}

#recruitCarousel .active {
	opacity: 1;
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
}
.joinup {
	background: url(../image/ship-back.jpg) top left repeat-x;
}
.joinup .ahoy {
	background: url(../image/background-ship@2x.png) center center no-repeat;
	height: 563px;
}
.joinup .recruit {
	height:620px;
	position:relative;
	top:-25px;
	overflow: hidden;
	border-radius: 14px !important;
	-webkit-box-shadow: 0px 0px 20px -5px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 20px -5px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 20px -5px rgba(0,0,0,0.75);
}
.joinup .recruit .card-footer {
	background-color: #ed8544;
	color: #ffffff;
	font-weight: 400;
	text-align: center;
}
.joinup .carousel-inner {
    overflow: initial !important;
}
.joinup .looking {
	font-style: italic;
}
.joinup h3 {
	font-size:32px;
	font-weight: 700;
}
.joinup .see-all {
	font-size: 18px;
	padding-left: 80px;
	font-weight: 700;
}
.joinup .divider {
	border-bottom:2px solid #ed8544;
	width: 35%;
	margin-bottom:15px;
}
.joinup .subheader {
	color: #ed8544;
	font-weight: 700;
}
.joinup .carousel-control-prev {
	left: -68px;
}
.joinup .carousel-control-next {
	right: -68px;
}
.joinup .carousel-control-prev .carousel-control-prev-icon,
.joinup .carousel-control-next .carousel-control-next-icon {
	left: 0;
}
/* End Join Up! */

/* Our Pals */
#ourpals { margin-top:65px; }
#ourpals .palls-header {
	padding-left: 80px;
}
#ourpals .section-header {
	line-height: 95px;
	font-size: 48px;
	font-weight: 900;
	padding-bottom:5px;
	margin:25px 0 -10px 0;
	z-index: 99999;
}
#ourpals .section-divider {
	border-bottom:4px solid #ed8544;
	width: 68px;
	margin-bottom:10px;
}
#ourpals .tab-holder {
	background-color: #f7f7f7;
	padding-bottom:15px;
}
#ourpals .nav {
	margin-top:17px;
	border-left: 2px solid #d1d1d1;
	border-right: 2px solid #d1d1d1;
}
#ourpals .active {
	background: transparent;
}
#ourpals .nav-link { position:relative; }
#ourpals .arrow-up {
	width: 0;
	height: 0;
	border-left: 12px solid transparent;
	border-right: 12px solid transparent;
	border-bottom: 12px solid #e5e5e5;
	position:absolute;
	bottom:0px;
	left:calc(50% - 12px);
}
#ourpals .nav-link .pal {
	background-position: center;
    background-size: auto;
    background-repeat: no-repeat;
    height: 112px;
	width: 100%;
	cursor: pointer
}
#ourpals .tabs {
	background-color: #e5e5e5;
}
#ourpals .tab-pane {
	margin:35px 0;
	font-weight:500;
}
#ourpals .reference-link {
	font-family: Montserrat;
	font-size: 16px;
	font-weight: bold;
	font-stretch: normal;
	font-style: normal;
	line-height: 1.63;
	letter-spacing: normal;
	text-align: center;
	background: #000000;
    color: #ffffff;
    margin-top:25px;
}
/* End Our Pals*/

/* Medias */
@media only screen and (max-width: 1024px) {

}

@media only screen and (max-width: 414px) {

	/* Showcase */
	.game-logo {
		top:30px;
	}

	/* Join up */
	.joinup .carousel-control-prev { z-index: 1000; left:-34px !important }
	.joinup .carousel-control-next { z-index: 1000; right:-34px !important }
	.joinup .card-text:last-child {
		position: relative;
		max-height: 76px !important;
		overflow-y:hidden;
	}
	.joinup .card-text:last-child .overlay {
		position: absolute;
		top:0;
		left: 0;
		width: 100%;
		height: 78px !important;
		background: rgba(255, 255, 255, 0.0);
		background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.0), rgba(255, 255, 255, 1.0));
		background: -moz-linear-gradient(top, rgba(255, 255, 255, 0.0), rgba(255, 255, 255, 1.0));
		background: linear-gradient(to bottom, rgba(255, 255, 255, 0.0), rgba(255, 255, 255, 1.0));
	}
	.joinup .see-all {
		padding-left:0px;
		text-align: center;
	}

	/* Our Pals */
	#ourpals .nav {
		border:none;
	}
	#ourpals .pal { cursor: pointer }
	#ourpals .nav-link .pal {
		max-width: 100%;
		background-size: contain;
	}
	#ourpals .palls-header { padding-left: 15px }

	#ourpals .mobge-next {
		right: -10px;
		height: 32px;
		width: 32px;
		background-image: url(../image/arrow-right.png);
		background-size: cover;
	}
	#ourpals .mobge-prev {
		left: -10px;
		height: 32px;
		width: 32px;
		background-image: url(../image/arrow-left.png);
		background-size: cover;
	}
}