@font-face {
	font-family: FaceYourFears;
	src: url('../fonts/FaceYourFears.ttf');
}

html {
	min-width: 1300px;
	height: 100%;
}

body {
	background: #87CEEB url('../img/background.png') no-repeat top center;
	color: #333;
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	margin: 0;
	height: 100%;
}

a {
	color: #777;
	text-decoration: none;
	-moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

a:hover {
	color: #ffda8a;
}

img {
	border: 0px;
}

input[type=text], input[type=password], input[type=number] {
	background: #fafafa;
	border: 1px solid #e3e3e3;
	color: #666;
}
input[type=text]:focus, input[type=password]:focus, input[type=number]:focus {
	border: 1px solid #ccc;
}

#header {
	width: 100%;
	min-width: 1300px;
	margin: 0px auto;
	text-align: center;
	overflow: hidden;
	color: #fff;
	padding: 70px 0px;
}

#container {
	width: 1300px;
	height: auto;
	margin: 0px auto;
	padding: 20px 0px;
}

#content {
	width: 100%;
	overflow: auto;
	min-height: 500px;
	padding-top: 20px;
	padding-bottom: 20px;
}

.module-contents {
	background: #ffffff;
	padding: 15px 15px 30px 15px;
	-moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -khtml-border-radius: 10px;
	border: 4px solid #5d8ec9;
	overflow: auto;
	min-height: 800px;
}

.footer {
	font-family: 'Segoe UI', 'Lucida Sans Unicode', 'Lucida Grande', 'Tahoma', 'Arial', 'sans-serif';
	width: 100%;
	font-size: 14px;
	color: #aaa;
	padding: 60px 0px;
	background: #000000 url('../img/footer_background.png') no-repeat bottom center;
	overflow: auto;
	border-top: 40px solid #141f2c;
}
	.footer > .footer-container {
		width: 1300px;
		margin: 0px auto;
	}
	.footer-time {
		font-size: 45px;
		color: #ffecb2;
		font-weight: bold;
		position: relative;
		top: -10px;
	}

#navbar {
	background: #ffc375 url('../img/navbg.jpg') no-repeat top center;
	width: 1275px;
	margin: 0px auto;
	-moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -khtml-border-radius: 10px;
	border: 4px solid #ffecb2;
}

#navbar ul{
	text-align: center;
	margin: 0px;
	-webkit-padding-start: 0px;
}

#navbar ul li {
	font-family: 'Lato', sans-serif;
	list-style-type: none;
	display: inline-block;
	font-size: 18px;
}

#navbar ul li a {
	display: inline-block;
	color: #64491f !important;
	text-decoration: none;
	padding: 20px 25px;
	font-weight: bold;
}

#navbar ul li a:active, #navbar ul li a:focus, #navbar ul li a:hover {
	text-decoration: none;
	background: #ffecb2;
}


/* CASTLE SIEGE BANNER */
.castle-siege-banner {
	width: 100%;
	background: #000 url('../img/castle_siege_banner_bg.jpg') no-repeat center center;
	background-size: cover;
	margin: 0px auto -5px auto;
	padding: 15px;
	-moz-box-shadow: 0 0 10px #000;
	-webkit-box-shadow: 0 0 10px #000;
	box-shadow: 0 0 10px #000;
	overflow: auto;
	/*font-family: FaceYourFears;*/
	color: #fff;
	-webkit-border-radius: 5px 5px 0px 0px;
    -moz-border-radius: 5px 5px 0px 0px;
    border-radius: 5px 5px 0px 0px;
    -khtml-border-radius: 5px 5px 0px 0px;
}
.cs-timeleft {
	/*font-family: FaceYourFears;*/
	font-size: 32px;
	color: #fff;
}
.cs-timeleft span {
	color: #ff0000;
}
.castle-siege-banner-guildlogo {
	background: #000000;
	display: inline-block;
	border: 1px solid #555;
	padding: 5px;
	-moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -khtml-border-radius: 10px;
	-moz-box-shadow: 0 0 5px #000;
	-webkit-box-shadow: 0 0 5px #000;
	box-shadow: 0 0 5px #000;
}
.castle-siege-banner-title {
	font-size: 12px;
	text-transform: uppercase;
	font-weight: bold;
	color: #d4a6ff;
	text-shadow: 1px 1px 2px #000000; 
}
.castle-siege-banner-castleowner, .castle-siege-banner-castleowner a {
	font-family: FaceYourFears;
	font-size: 35px;
	text-shadow: 1px 1px 4px #000000; 
	color: #fff;
}
.castle-siege-banner-countdown {
	font-family: FaceYourFears;
	font-size: 32px;
	text-shadow: 0px 0px 3px #000000; 
}
	.castle-siege-banner-countdown span {
		color: #ba70ff;
	}
/* <-- CASTLE SIEGE BANNER END */


.admincp-button {
	position:absolute;
	top:10px;
	right:10px;
}

.page-title {
	color: #5d8ec9;
	font-family: 'Lato', sans-serif;
	font-size: 32px;
	margin-bottom: 20px;
	font-weight: bold;
	text-align: center;
}

/* NEWS MODULE */
.panel-news {
	margin-bottom: 30px;
	color: #333;
	border: 0px;
	-moz-box-shadow: 0 0 10px #f1f1f1;
	-webkit-box-shadow: 0 0 10px #f1f1f1;
	box-shadow: 0 0 10px #f1f1f1;
}
.panel-news .panel-heading {
	padding-top: 20px;
	padding-bottom: 20px;
	background: #e1efff;
	border-bottom: 1px dotted #5d8ec9;
}
.panel-news .panel-title {
	color: #5d8ec9;
	font-family: 'Lato', sans-serif;
	font-size: 18px;
	font-weight: bold;
}
.panel-news .panel-footer {
	border-top: 1px dotted #5d8ec9;
	background: #fafafa;
	font-style: italic;
	font-size: 11px;
	height: 40px;
	color: #5d8ec9;
}

/* RANKINGS MODULE */
.rankings-table {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
}

.rankings-class-image {
	width: 30px;
	height: auto;
	-moz-box-shadow: 0 0 5px #666;
	-webkit-box-shadow: 0 0 5px #666;
	box-shadow: 0 0 5px #666;
	-moz-border-radius: 0px;
	border-radius: 0px;
}
.rankings-table tr td {
	border-bottom: 1px solid #e3e3e3;
	padding: 10px;
	font-size: 18px;
	vertical-align: middle !important;
	text-align: center;
}
.rankings-table-place {
	color: #666;
	font-weight: bold;
	font-size: 24px;
	text-align: center;
}
.rankings-table tr:first-child td {
	color: #ff0000;
	border-bottom: 3px solid #ff0000;
}
.rankings-update-time {
	text-align: right;
	font-size: 11px;
	color: #ccc;
	padding: 10px 0px;
}
.rankings_menu {
	width: 100%;
	overflow: auto;
	text-align: center;
	margin-bottom: 10px;
}
.rankings_menu span {
	width: 100%;
	display: inline-block;
	padding: 10px 0px;
	color: #ccc;
	font-size: 24px;
}
.rankings_menu a {
	display: inline-block;
	width: 150px;
	border: 1px solid #e3e3e3;
	text-align: center;
	padding: 2px 0px;
	margin: 2px;
	background: #f1f1f1;
	-moz-border-radius: 2px;
	border-radius: 2px;
	color: #ccc;
}
.rankings_menu a.active {
	color: #333;
	border-color: #333;
}
.rankings_guild_logo tr td {
	border: 0px !important;
	padding: 0px !important;
	margin: 0px !important;
}
.rankings-gens-img {
	width: auto !important;
	height: 30px !important;
	border: 0 !important;
	-moz-box-shadow: 0 0 0px #000 !important;
	-webkit-box-shadow: 0 0 0px #000 !important;
	box-shadow: 0 0 0px #000 !important;
	-moz-border-radius: 0px !important;
	border-radius: 0px !important;
}

/* MY ACCOUNT MODULE */
.myaccount-table {
	width: 100%;
	background: #f1f1f1;
	border: 1px solid #e3e3e3;
}
.myaccount-table tr td:first-child {
	color: #666;
	font-weight: bold;
}
.myaccount-table tr td {
	border-bottom: 1px solid #e3e3e3;
	padding: 15px !important;
}
.myaccount-table tr:last-child td {
	border: 0px;
}

/* GENERAL TABLE UI */
.general-table-ui {
	width: 100%;
	table-layout: fixed;
	background: #f1f1f1;
	border: 1px solid #e3e3e3;
	padding: 10px;
	margin: 10px 0px;
}
.general-table-ui tr td {
	padding: 5px;
	vertical-align: middle !important;
}
.general-table-ui tr:first-child td {
	color: #5d8ec9;
}
.general-table-ui tr:nth-child(2n+2) td {
	background: #fafafa;
}
.general-table-ui tr td {
	text-align: center;
}
.general-table-ui img {
	width: 50px;
	height: auto;
	-moz-box-shadow: 0 0 5px #666;
	-webkit-box-shadow: 0 0 5px #666;
	box-shadow: 0 0 5px #666;
	-moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -khtml-border-radius: 50%;
}

/* TERMS OF SERVICE PAGE */
.tos_list li {
	color: #5d8ec9;
	margin-bottom: 40px;
}
.tos_list li p {
	color: #555;
	text-align: justify;
	text-justify: inter-word;
	text-transform: none;
	padding-right: 35px;
}

/* PAYPAL */
.paypal-gateway-container {
	width: 100%;
}

.paypal-gateway-content {
	background: #fef2da;
	border: 3px solid #f79433;
	padding: 15px;
	overflow: auto;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	font-weight: bold;
}

.paypal-gateway-logo {
	width: 100%;
	height: 100px;
	background: #fff9ec url('../img/paypal-logo-200-68.png') no-repeat center;
	background-size: contain;
	margin-bottom: 15px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.paypal-gateway-conversion-rate {
	margin: 0px auto;
	text-align: center;
	color: #000;
	font-size: 18px;
	padding: 10px 0px;
}

.paypal-gateway-form {
	width: 100%;
	margin: 20px auto;
	text-align: center;
}

.paypal-gateway-form div {
	display: inline-block;
	padding: 0px 10px;
	color: #000;
	font-size: 24px;
}

.paypal-gateway-form input[type=text] {
	width: 60px;
	font-size: 24px;
	border: 3px solid #f79433;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	color: #f79433;
}

.paypal-gateway-continue {
	margin: 0px auto;
	text-align: center;
}

.paypal-gateway-continue input[type=submit] {
	background: url('../img/paypal-submit.jpg') no-repeat;
	width: 200px;
	height: 40px;
	border: 0px;
}

.module-requirements {
	font-size: 12px;
	margin-top: 20px;
}

/* SIDEBAR */
.panel-sidebar {
	background: #fffae9;
	border: 4px solid #ffecb2;
}

.panel-sidebar > .panel-heading {
	background: #ffc375 url('../img/navbg.jpg') no-repeat top center;
	color: #64491f;
	font-family: 'Lato', sans-serif;
	border: 0px;
	border-bottom: 1px solid #ffecb2;
}

.panel-sidebar > .panel-heading > .panel-title {
	font-weight: bold;
}

.panel-usercp {
	background: url('../img/usercp_bg.jpg') no-repeat top center;
	background-size: cover;
}

.panel-usercp ul {
	list-style-type: none;
	padding: 0px;
	margin: 0px;
}

.panel-usercp ul li {
	display: table;
	width: 100%;
	vertical-align: middle;
	line-height: 30px;
}

.panel-usercp ul li a {
	color: #444 !important;
	font-weight: bold;
}
.panel-usercp ul li a:active, .panel-usercp ul li a:hover {
	color: #5d8ec9 !important;
}

.panel-usercp ul li img {
	position: relative;
	top: -2px;
	padding-right: 10px;
}

.sidebar-banner {
	text-align: center;
	margin: 20px 0px;
	border: 0px;
}

.sidebar-banner img {
	border: 0px;
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -khtml-border-radius: 5px;
	width: 100%;
	height: auto;
}

/* PANEL SIDEBAR EVENT TIMERS */
.panel-sidebar-events {
	background: #000000 url('../img/panel_events_bg.jpg') no-repeat top center;
	background-size: cover;
	border: 3px solid #444;
}
	.panel-sidebar-events > .panel-heading {
		background: #ffc375 url('../img/navbg_alt.jpg') no-repeat top center;
		color: #95eaff;
		font-family: 'Lato', sans-serif;
		border: 0px;
		border-bottom: 1px solid #444;
	}

	.panel-sidebar-events > .panel-heading > .panel-title {
		font-weight: bold;
	}
	.panel-sidebar-events > .panel-body {
		color: #ccc;
	}
		.panel-sidebar-events > .panel-body > .table {
			margin-bottom: 0px !important;
		}

.event-schedule-open {
	color: #00ff00;
}

.event-schedule-inprogress {
	color: #ffff00;
}

.panel-sidebar-events .smalltext {
	font-size: 11px;
	position: relative;
	top: -5px;
}

/* GENERAL PANEL STYLING */
.panel-general {
	margin-bottom: 30px;
	background: #f1f1f1;
	border: 1px solid #e3e3e3;
	-moz-border-radius: 0px;
	border-radius: 0px;
	color: #333;
}

.panel-body .panel-title {
	color: #666;
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	border-bottom: 1px solid #e3e3e3;
	margin-bottom: 20px !important;
	font-weight: bold;
}

/* ADD STATS MODULE */
.panel-addstats {
	margin-bottom: 30px;
	background: #f1f1f1;
	border: 1px solid #e3e3e3;
	-moz-border-radius: 0px;
	border-radius: 0px;
	color: #333;
}
.panel-addstats .character-avatar img {
	width: 100px;
	height: auto;
	-moz-box-shadow: 0 0 5px #666;
	-webkit-box-shadow: 0 0 5px #666;
	box-shadow: 0 0 5px #666;
	-moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -khtml-border-radius: 50%;
}
.panel-addstats .character-name {
	color: #666;
	font-family: 'Lato', sans-serif;
	font-size: 18px;
	border-bottom: 1px solid #e3e3e3;
	padding: 20px 0px;
	margin-bottom: 20px !important;
	font-weight: bold;
}

/* HELPER CLASSES */
.rounded_corners_image {
	-moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -khtml-border-radius: 50%;
}

/* DOWNLOADS */
.panel-downloads {
	margin-bottom: 30px;
	background: #f1f1f1;
	border: 1px solid #e3e3e3;
	-moz-border-radius: 0px;
	border-radius: 0px;
	color: #333;
}
	.download-description {
		font-size: 11px;
		position: relative;
		top: -7px;
		color: #777;
	}

.online-status-indicator {
	margin-left: 5px;
}

/* WEBENGINE CMS */
.webengine-powered { color: #777 !important; }
.webengine-powered:active, .webengine-powered:hover { color: #ff3214 !important; }

/* LANGUAGE PICKER */
.webengine-language-switcher {
	display: inline-block;
	list-style: none;
	padding: 0px !important;
	margin: 0px !important;
	overflow: hidden;
	transition: all .3s ease;
}
	.webengine-language-switcher li {
		display: inline-block;
		list-style-type: none;
		background: #333333;
		padding: 0px 5px 2px 5px;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
		-khtml-border-radius: 3px;
		transition: all .3s ease;
	}
	.webengine-language-switcher li:hover {
		-webkit-filter: brightness(120%);
		filter: brightness(120%);
	}
	.webengine-language-switcher li a {
		color: #999999;
	}
	.webengine-language-switcher li a:hover {
		color: #ffffff !important;
	}

/* MY ACCOUNT CHARACTER LIST */
.myaccount-character-block {
	background: #333;
	border: 1px solid #666;
	padding: 5px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	display: inline-block;
	margin: 0px auto;
	-moz-box-shadow: 0 0 10px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.5);
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
	.myaccount-character-block img {
		width: 100px;
		height: auto;
		-moz-border-radius: 3px;
		-webkit-border-radius: 3px;
		border-radius: 3px;
		-moz-box-shadow: 0 0 5px #000;
		-webkit-box-shadow: 0 0 5px #000;
		box-shadow: 0 0 5px #000;
		-moz-transition: all 0.3s ease;
		-o-transition: all 0.3s ease;
		-webkit-transition: all 0.3s ease;
		transition: all 0.3s ease;
	}
		.myaccount-character-block img:hover {
			-webkit-filter: brightness(120%);
			filter: brightness(120%);
		}
.myaccount-character-block-location {
	font-size: 12px;
	color: #000;
	margin-bottom: 20px;
	margin-top: 2px;
	line-height: 1.2;
}
.myaccount-character-block-level {
	position: relative;
	top: -77px;
	display: inline-block;
	background: rgba(0,0,0,0.5);
	padding: 0px 5px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	color: #fff;
	font-size: 10px;
}
.myaccount-character-name a {
	font-weight: bold;
	color: #000;
	font-size: 16px;
}
/* RANKINGS FILTER BY CLASS */

.rankings-class-filter {
	display: inline-block;
	list-style-type: none;
	margin: 20px auto;
	padding: 10px 20px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-khtml-border-radius: 10px;
}

	.rankings-class-filter li {
		display: inline-block;
		-moz-transition: all 0.3s ease;
		-o-transition: all 0.3s ease;
		-webkit-transition: all 0.3s ease;
		transition: all 0.3s ease;
		margin-bottom: 10px;
	}
	
	.rankings-class-filter li:hover {
		-webkit-filter: grayscale(0%);
		filter: grayscale(0%);
	}

.rankings-class-filter-selection {
	display: inline-block;
	width: 75px;
	text-align: center;
	color: #000000;
	font-size: 11px;
	cursor: pointer;
}

	.rankings-class-filter-selection:hover {
		color: #000000 !important;
	}

	.rankings-class-filter-selection:hover img {
		-webkit-filter: brightness(120%);
		filter: brightness(120%);
	}

.rankings-class-filter-selection img {
	width: 40px;
	height: auto;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	-khtml-border-radius: 50%;
	margin-bottom: 5px;
	-moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.45);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.45);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.45);
}

.rankings-class-filter-grayscale {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}

/* TEST */




.flex {
    display: flex;
    flex-wrap: wrap;
}

.flex-c {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.flex-s {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.flex-s-c {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.flex-c-c {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.fixedInfoBlock {
    position: fixed;
    right: 0;
    top: 40%;
    margin-top: -135px;
    z-index: 999;
}

.fixedInfoBlock .modalBlock {
    position: fixed;
    right: 20px;
    background: rgba(12, 20, 28, 0.8);
    border-radius: 10px 10px 10px 10px;
    width: 270px;
    padding: 0px 0px;
    border-color: #414a5d;
    border-style: solid;
    border-width: 1px 0px 1px 1px;
    text-align: center;
    transition: 0.3s;
}

.fixedInfoBlock .modalBlock.active {
    right: -275px;
}

.fixedInfoBlock .modalBlock a {
    color: #fff;
    font-size: 13px;
    display: block;
    margin-bottom: 10px;
}

.fixedInfoBlock .modalBlock a:last-child {
    margin-bottom: 0px;
}

.fixedInfoBlock .modalBlock a p {
    margin-top: 10px;
    margin-bottom: 0px;
}

.fixedInfoBlock .modalBlock a img {
    transition: 0.3s;
}

.fixedInfoBlock .modalBlock .event-b:hover img {
    filter: drop-shadow(0px 0px 10px #2464d2);
}

.fixedInfoBlock .modalBlock .server-b:hover img {
    filter: drop-shadow(0px 0px 10px #b41010);
}

.fixedInfoBlock-close {
    border: 1px solid #4a484b;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    padding-top: 13px;
    background: rgba(16, 18, 23, 0.7);
    position: absolute;
    top: -40px;
    right: 35px;
    margin-left: -15px;
    cursor: pointer;
    transition: 0.3s;
}


/* 14cc2eca5174eac747012a2e3d7fdf38 */
.fixedInfoBlock-close:hover {
    background: #101217;
}

.fixedInfoBlock-close.active {
    right: -100px;
}

.fixedInfoBlock-close span {
    width: 10px;
    height: 1px;
    display: block;
    background: #b3b2af;
    margin: 0 auto;
    position: relative;
}

.fixedInfoBlock-close span:nth-child(1) {
    transform: rotate(45deg);
}

.fixedInfoBlock-close span:nth-child(2) {
    transform: rotate(-45deg);
    margin-top: -1px;
}

.fixedInfoBlock-close.active {
    background: #010203;
    border: 1px solid #353231;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    z-index: 1;
    position: absolute;
    right: -40px;
    top: 90px;
    padding-right: 35px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0px;
}

.fixedInfoBlock-close.active:hover {
    background: #14171c;
}

.fixedInfoBlock-close.active span {
    display: none;
}

.fixedInfoBlock-close.active i {
    display: block;
    background: url(../img/arrow-v.png) no-repeat;
    width: 17px;
    height: 8px;
    transform: rotate(90deg);
	position: relative;
	top: 37px;
	left: 10px;
}

.eventBlock {
    margin-bottom: 30px;
}

.eventBlock h1 {
    padding-left: 60px;
    font-size: 30px;
    color: #444444 !important;
    margin-bottom: 60px;
    font-weight: normal;
}

.event {
    box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.4);
    background: url(../img/event-bg.jpg) center no-repeat;
    background-size: cover;
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    border: 1px solid #878a8f;
    position: relative;
}

.event:before {
    content: "";
    background: url(../img/sharp.png) no-repeat;
    width: 359px;
    height: 289px;
    position: absolute;
    left: -20px;
    top: -60px;
}

.events img {
    width: 100px;
    margin-right: 45px;
}

.events>div {
    font-size: 40px;
    font-weight: bold;
}

.events>div p {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: normal;
}

.eventName {
    margin-right: 130px;
}

.modal_div {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
    opacity: 0;
    z-index: 999;
}

.modal_div h1 {
    font-size: 24px;
    padding: 0px 20px 30px 20px;
    margin: 0px -20px 40px -20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.modal-div {
    background: url(../img/modal-bg.jpg) top center no-repeat;
    background-size: cover;
    padding: 40px 55px 40px 55px;
    box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
    min-height: 470px;
    position: relative;
}

.modal_div .modal_close {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50px;
    right: 45px;
    cursor: pointer;
}

.modal_div .modal_close span {
    width: 30px;
    height: 2px;
    background: #b8b4b4;
    display: block;
    position: relative;
}

.modal_div .modal_close span:nth-child(1) {
    transform: rotate(45deg);
    top: 3px;
}

.modal_div .modal_close span:nth-child(2) {
    transform: rotate(-45deg);
}


.event-modal {
    max-width: 1030px;
    width: 100%;
    min-height: 590px;
    background: url(../img/modal-event-bg.jpg) center no-repeat;
    background-size: cover;
    padding: 81px 95px 10px 95px;
}

.event-modal:after {
    content: "";
    background: url(../img/modal-hero.png) no-repeat;
    position: absolute;
    width: 1087px;
    height: 682px;
    right: -300px;
    bottom: 0px;
}

.event-modal .modal_close {
    right: 35px;
    top: 35px;
    z-index: 2;
}

.event-modal h2 {
    margin-bottom: 40px;
    font-size: 30px;
}

.event-modal h2 span {
    color: #207ab2;
}

.event-modal-content {
    position: relative;
    z-index: 1;
}

.eventsList {
    display: flex;
    flex-wrap: wrap;
    max-width: 600px;
}

.eventsList li {
    color: #d6e2e9;
    font-size: 14px;
    width: 33.3%;
    margin-bottom: 50px;
}

.eventsList li p {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Фиксированный блок */
/*.fixed-block {
/*    position: fixed;
/*    top: 400px; /* Расстояние от верхнего края */
/*    right: 20px; /* Расстояние от левого края */
/*    width: 270px; /* Ширина блока */
/*    background-color: #ffecb2; /* Фон блока */
/*    border: 1px solid #ddd; /* Граница блока */
/*    border-radius: 10px; /* Закругленные углы */
/*    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Тень */
/*    padding: 5px;
/*    z-index: 999; /* Убедитесь, что блок выше других элементов */
/*    text-align: center;
/*}

/* Слайдер */
.slider {
    position: relative;
    width: 100%;
    height: 400px; /* Высота слайдера */
    margin-bottom: 1px; /* Отступ снизу */
    overflow: hidden;
    border-radius: 10px;
    background-color: #111;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Слайды */
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slide {
    min-width: 100%;
    text-align: center;
    color: #fff;
    font-family: Arial, sans-serif;
}

/* Таймер */
#server-timer {
    position: relative; /* Устанавливаем позиционирование для контейнера */
}

#server-timer img {
    width: 100%; /* Картинка занимает всю ширину блока */
    height: 375px; /* Сохраняем пропорции картинки */
    border-radius: 10px; /* Закругляем углы картинки */
}

#server-timer #timer {
    position: absolute; /* Таймер будет позиционироваться относительно контейнера */
    bottom: -30px; /* Центрируем по вертикали */
    left: 50%; /* Центрируем по горизонтали */
    transform: translate(-50%, -50%); /* Смещаем на половину ширины/высоты для точного центрирования */
    font-size: 23px; /* Размер текста таймера */
    font-weight: bold; /* Жирный текст */
    color: white; /* Белый цвет текста */
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7); /* Тень для читаемости на фоне картинки */
}

/* Изображения */
.slide img {
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

/* Навигация */
.slider-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.slider-navigation .prev,
.slider-navigation .next {
    cursor: pointer;
    font-size: 24px;
    color: #fff;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

/* Социальные иконки */
.social-icons {
    margin-top: 10px; /* Отступ сверху */
    display: flex;
    justify-content: center; /* Центрируем иконки */
    gap: 15px; /* Расстояние между иконками */
}

.social-icons a img {
    width: 25px; /* Размер иконок */
    height: 25px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons a img:hover {
    transform: scale(1.2); /* Увеличение при наведении */
    opacity: 0.8; /* Легкое затемнение */
}

/* Блок с ивент-таймерами */
.event-timers-block {
    position: fixed;
    margin-top: 10px;
    text-align: center;
    background-color: transparent; /* Прозрачный фон */
    border: none; /* Убираем границу */
    border-radius: 10px;
    box-shadow: none; /* Убираем тень */
    padding: 0; /* Убираем внутренние отступы */
    width: 270px;
    z-index: 998;
    margin-left: 0px;
}

.event-timers-block img {
    width: 100%; /* Изображение на всю ширину блока */
    height: 100px; /* Изображение на всю высоту блока */
    object-fit: cover; /* Сохраняем пропорции, заполняя блок */
    border-radius: 10px; /* Закругляем углы изображения */
}

.event-timers-block a:hover {
    transform: scale(1.2); /* Увеличение при наведении */
    opacity: 0.8; /* Легкое затемнение */
}

/* Медиа-запрос для планшетов (ширина экрана до 768px) */
@media (max-width: 768px) {
    .fixedInfoBlock {
        right: 10px; /* Уменьшаем отступ */
        top: 20%;
        margin-top: -100px; /* Подстраиваем позиционирование */
    }

    .fixedInfoBlock .modalBlock {
        width: 200px; /* Уменьшаем ширину блока */
        padding: 10px; /* Добавляем внутренние отступы */
    }

    .fixedInfoBlock-close {
        height: 25px;
        width: 25px;
        top: -30px;
        right: 20px;
    }

    .slider {
        height: 300px; /* Уменьшаем высоту слайдера */
    }

    .slide img {
        height: 300px; /* Уменьшаем высоту изображений */
    }

    #server-timer img {
        height: 250px; /* Подгоняем высоту изображения */
    }

    .event-timers-block {
        width: 200px; /* Уменьшаем ширину блока */
    }

    .event-timers-block img {
        height: 80px; /* Уменьшаем высоту изображения */
    }

    .social-icons a img {
        width: 20px; /* Уменьшаем размер иконок */
        height: 20px;
    }
}

/* Медиа-запрос для телефонов (ширина экрана до 480px) */
@media (max-width: 480px) {
    .fixedInfoBlock {
        right: 5px; /* Еще больше уменьшаем отступ */
        top: 10%;
        margin-top: -80px;
    }

    .fixedInfoBlock .modalBlock {
        width: 150px; /* Еще больше уменьшаем ширину */
        padding: 5px;
    }

    .fixedInfoBlock-close {
        height: 20px;
        width: 20px;
        top: -20px;
        right: 10px;
    }

    .slider {
        height: 200px; /* Еще больше уменьшаем высоту слайдера */
    }

    .slide img {
        height: 200px; /* Уменьшаем высоту изображений */
    }

    #server-timer img {
        height: 150px; /* Подгоняем высоту изображения */
    }

    .event-timers-block {
        width: 150px; /* Еще больше уменьшаем ширину блока */
    }

    .event-timers-block img {
        height: 60px; /* Уменьшаем высоту изображения */
    }

    .social-icons a img {
        width: 15px; /* Еще больше уменьшаем размер иконок */
        height: 15px;
    }
}