/*GENERAL-------------------------------------------------------------------------------------------------------*/
.ipsType_pagetitle div {
	font-weight: normal !important;
	font-size: 12px !important;
	padding: 5px;
	margin: 5px 0 0 0;
	text-transform: none;
	text-shadow: none;
	background: rgba(0,0,0,0.3);
	border-radius: 3px;
}
.ipsType_pagetitle img {
	vertical-align: top;
}

.live_counter {
	padding: 3px 5px;
	margin: 0 0 0 5px;
	background: rgba(0,0,0,0.5);
	border-radius: 3px;
	font-size: 14px;
	vertical-align: top;
	text-shadow: none;
  	color: #fff;
}

.ipsApp .ipsMessage.ipsMessage_general input[type="text"] {
	max-width: 60%;
}
.ipsMessage.ipsMessage_general .ipsButton_verySmall {
	margin-left: 10px;
}

/*CHAT-------------------------------------------------------------------------------------------------------*/
#open_chat {
  	float: right;
	margin: -5px 10px 0 0;
	font-size: 2em;
  	animation: aura 1s ease-out 1s alternate 2;
}
    @keyframes aura {
        0% {filter: none;}
        100% {filter: drop-shadow(1px 1px 10px rgba(255,255,255,0.7));}
    }

#cometchat_embed_synergy_container {
  	width: 450px;
  	position: fixed;
  	right: 0;
  	border-left: 1px solid rgba(0,0,0,0.5);
  	z-index: 5021;
  	background: #333;
  	height: 100%;
  	min-height: 220px;
}

@media screen and (max-width: 1300px) {
  #cometchat_embed_synergy_container {
    border-top: 1px solid rgba(0,0,0,0.5) !important;
    border-left: 0;
    bottom: 0 !important;
    height: 33% !important;
    width: 100% !important;
  }
}

/*MULTI LISTING-------------------------------------------------------------------------------------------------------*/
.ipsPageHeader .active_tab {
    margin: 0 30px 0 0;
  	color: #fff;
  	font-size: 24px;
	font-weight: 400;
  	float: left;
  	padding: 0 10px;
    background: rgba(0,0,0,0.5);
    border-radius: 3px;
  	line-height: 40px;
}

.ipsPageHeader .active_tab #multiplayer_counter2 {
  	display: none;
}

.ipsPageHeader .inactive_tab {
    margin: 0 30px 0 0;
  	font-size: 20px;
	font-weight: 400;
  	float: left;
  	text-shadow: 1px 1px 5px rgba(0,0,0,0.9);
  	line-height: 40px;
}

.game_search_active_filters {
    background: rgba(255,255,255,0.1);
    padding: 5px;
    border-radius: 3px;
}
    .game_search_active_filters a {
        margin: 0 0 0 5px;
    }

.ipsPagination {
    padding: 10px 0;
  	clear: both;
}

.flex-container {
	display: flex;
	flex-flow: row wrap;
	margin-right: -10px;
}
.liveCarousel.flex-container {
	margin-right: -20px;
}

.flex-container .game_row {
	margin: 0 10px 10px 0;
	min-width: 300px;
	flex: 1 1 49%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
  	position: relative;
  	word-break: break-all;
  	border-radius: var(--radius-1);
}

.game_row .inner_row {
  	padding: 10px;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.9), 60%, rgba(0,0,0,0.5));
    height: 100%;
  	width: 100%;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.9);
  	border-radius: var(--radius-1);
}
.game_row:hover .inner_row {
	background-image: linear-gradient(to bottom, rgba(0,0,0,0.9), 60%, rgba(0,0,0,0.3));
}

.game_cover {
	float: left;
	margin: 0 10px 10px 0;
	box-shadow: 1px 1px 5px 3px rgba(0,0,0,0.5);
  	max-height: 100px;
}
.game_row:hover .game_cover, .game_cover:hover {
	box-shadow: 1px 1px 5px 3px rgba(255,255,255,0.1);
}

.game_type {
	margin: 0 0 5px 10px;
  	float: right;
  	color: #fff;
  	width: 24px;
  	height: 24px;
  	text-align: center;
  	font-size: 17px;
  	font-weight: normal;
  	text-shadow: none;
  	line-height: 1.2;
}

.game_type.auto_mode {
  	border: 2px solid #fff;
  	border-radius: 24px;
  	background: #63C4A4;
}
.game_type.manual_mode {
  	border: 2px solid #fff;
  	border-radius: 24px;
  	background: #C46C63;
}

.game_type.power_off {
  	color: #911e1e;
  	font-size: 24px;
}

.game_title {
	font-weight: bold;
  	font-size: 15px;
  	color: #fff;
  	white-space: nowrap;
  	overflow: hidden;
  	text-overflow: ellipsis;
  	display: block;
}

.game_title img {
	margin: 0 5px 2px 0;
}

.game_info {
	color: #c0c0c0;
  	margin: 5px 0;
  	min-height: 18px;
  	white-space: nowrap;
  	overflow: hidden;
  	text-overflow: ellipsis;
}

.inner_row .photo {
	position: relative;
	margin: 10px 15px 0 0;
  	display: inline-block;
}
.inner_row .photo.server_host {
  	float: left;
	margin: 0 15px 0 0;
}
	.inner_row .photo img:first-child {
		width: 34px;
		height: 34px;
		object-fit: cover;
	}

.inner_row .free_slot {
	margin: 10px 10px 5px 5px;
	border-radius: 3px;
	background: rgba(0, 0, 0, 0.5);
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3) inset;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.flag {
	position: absolute;
	top: -5px;
	right: -5px;
}

.host {
	position: absolute;
	bottom: -5px;
	right: -5px;
  	font-size: 18px;
  	color: #fff;
}

.player_number {
	margin: 0 15px 0 0;
	font-size: 25px;
	font-weight: bold;
  	float: left;
  	color: #fff;
}

.player_number span {
	font-size: 35px;
}

.inner_row .typeTag {
  	background: #911e1e;
    right: 10px;
    bottom: 10px;
	color: #fff;
	text-shadow: none;
	position: absolute;
    text-transform: uppercase;
    padding: 1px 5px;
    font-size: 0.9em;
    font-weight: bold;
    border-radius: 3px;
}

/*MULTI DISPLAY-------------------------------------------------------------------------------------------------------*/
.hidden {
	display: none;
}

.game_comments_top {
  	font-weight: bold;
  	margin-left: 10px;
}

#bt_create_game .inner_row.live_display {
  	min-width: 300px;
	flex: 1 1 32%;
  	padding: 10px 10px 50px 10px;
}

.offline_block {
  	border: 5px dashed;
  	border-radius: 10px;
  	padding: 20px;
  	text-align: center;
  	color: #999;
  	margin: 10px 10px 10px 0;
  	width: 100%;
}
.offline_block h2 {
  	font-size: 20px;
  	text-transform: uppercase;
  	margin: 0;
}

.inner_row.live_display {
  	flex: 1 1 49%;
	margin: 0 10px 10px 0;
  	padding: 10px;
    background: rgba(0,0,0,0.3);
  	text-shadow: 1px 1px 5px rgba(0,0,0,0.9);
  	position: relative;
  	border-radius: var(--radius-1);
}

.inner_row.live_display h2 {
	margin: 0 0 10px 0;
	color: #fff;
}
    .inner_row.live_display h2 .beta {
        padding: 3px 5px;
        margin: 0 0 0 5px;
      	background: #911e1e;
      	border-radius: 3px;
      	text-transform: uppercase;
      	font-size: 12px;
      	vertical-align: top;
      	text-shadow: none;
    }

.auto_systems img {
	margin: 0 5px 15px 5px;
}

.ipsButton.bt_join_game {
  	margin: 0 0 5px 10px;
	padding: 3px 6px;
	text-transform: uppercase;
  	font-weight: bold;
  	float: right;
  	text-shadow: none;
}

.ipsButton.bt_start_game {
	padding: 3px 6px;
	text-transform: uppercase;
  	font-weight: bold;
  	display: inline-block;
  	text-shadow: none;
  	position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%);
}

/*VIDEO LISTING-------------------------------------------------------------------------------------------------------*/
.ipsCarousel_item .calendar_title.light_back {
	float: left;
    padding: 5px;
    width: 100%;
}

/*VIDEO DISPLAY-------------------------------------------------------------------------------------------------------*/
.ipsEmbeddedVideo {
    padding-bottom: 52.25%;
    padding-top: 25px;
}

.ipsPageHeader.ipsClearfix p {
	font-size: 14px;
  	margin: 0;
}

.ipsPageHeader.ipsClearfix p b {
	font-size: 16px;
}

.video_type {
	background: rgba(255,255,255,0.1);
    padding: 2px 4px;
  	margin-left: 5px;
  	border-radius: var(--box--radius);
}

#live_embed_switch {
	font-size: 16px;
  	float: left;
  	margin: 0 10px 0 0;
  	padding: 10px 0;
  	text-shadow: 1px 1px 5px rgba(0,0,0,0.9);
  	font-weight: bold;
  	text-transform: uppercase;
}

.live_embed_switch {
	padding: 5px 10px;
  	float: left;
}
.live_embed_switch:hover {
	background: rgba(255,255,255,0.1);
}

.live_embed_switch.active {
	background: rgba(0,0,0,0.4);
}

.social_links img {
	margin: 0 0 5px 10px;
	float: right;
  	transition-duration: 0.3s
}
.social_links img:hover {
	filter: drop-shadow(1px 1px 10px rgba(255,255,255,0.7));
}

.player_loader {
  border: 16px solid; /* Light grey */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  margin: 10px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#game_info {
	font-size: 14px;
	margin: 10px 0;
}

#game_info p {
	margin-bottom: 5px;
}

#live_spectators_div {
	float: right;
	font-weight: bold;
	font-size: 15px;
}
#live_spectators_div a {
	margin: 0 5px 0 0;
	font-size: 18px;
}

#live_spectators_div, .ipsItemControls {
  	position: relative;
}

#video_description {
	background: rgba(0, 0, 0, 0.2);
    clear: both;
    border-radius: var(--radius-1);
    margin: 10px 0;
    padding: 10px;
}

#live_presentation {
	padding-top: 10px;
	border-top: 1px solid rgba(0, 0, 0, 0.4);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

/*FEATURED MULTI-------------------------------------------------------------------------------------------------------*/
#featured_server {
	min-height: 250px;
}

.featured_left {
	width: 65%;
	margin: 0 0 10px 0;
	padding: 40px 0 0 0;
}
.featured_right {
	float: right;
	margin: 10px 0 10px 0;
}

.featured_cover {
	float: left;
	margin: 0 20px 10px 0;
	box-shadow: 1px 1px 5px 3px rgba(0,0,0,0.5);
}

.featured_profile {
	float: left;
	margin: 0 10px 10px 0;
	width: 50px;
}

.featured_title {
	font-size: 30px;
	text-shadow: 1px 1px 5px rgba(0,0,0,0.9);
	font-weight: bold;
	color: #fff;
	line-height: 30px;
}
.featured_desc {
	font-size: 18px;
	text-shadow: 1px 1px 5px rgba(0,0,0,0.9);
	line-height: 30px;
  	margin: 10px 0 0 0;
}

.ipsButton.featured_join {
	margin: 10px 10px 20px 0;
	font-weight: bold;
	text-transform: uppercase;
	padding: 5px 10px;
	display: none;
}

.featured_link {
	text-shadow: 1px 1px 5px rgba(0,0,0,0.9);
	margin: 10px 0 0 0;
	font-size: 1.2em;
  	display: inline-block;
}

.featured_right video {
	min-height: 200px;
	max-height: 250px;
	float: right;
}

@media screen and (max-width: 700px) {
  .featured_left, .featured_right, .featured_right video {
	width: 100%;
  }
  .featured_right video {
	max-height: 500px;
  }
}

/*RESPONSIVE-------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 600px) {
  	.flex-container.liveCarousel .ipsCarousel_item {
        max-width: 100%;
    }
}

@media screen and (max-width: 850px) {
  	.ipsPageHeader .inactive_tab span {
        display: none;
    }
  	.ipsPageHeader .active_tab, .ipsPageHeader .inactive_tab {
      	margin: 0 20px 10px 0;
        font-size: 1.4em;
    }
  	.ipsPageHeader .active_tab #multiplayer_counter2 {
        display: inline-block;
    }
}