html,
body {
	width: 100%;
	height: 100%;
	margin: 0;
	font-family: Calibri, Arial;
	font-size: 15px;
}







#toggleMenu {
	position: fixed;
	top: 10px;
	left: 201px;
	cursor: pointer;
	background: #404040;
	border: 2px solid grey;
	padding: 5px;
	transition: 0.5s;
	font-weight: bold;
	z-index: 1000;
}

#toggleMenu:hover {
	color: #f1f1f1;
	background: rgb(40, 40, 40);
}

#toggleMenu a {
	text-decoration: none;
	color: #818181;
	transition: 0.3s;
}

#toggleMenu img {
	width: 25px;
	transition: 0.5s;
}

#toggleMenu img.mirror {
	-moz-transform: scale(-1, 1);
	-webkit-transform: scale(-1, 1);
	transform: scale(-1, 1);
}

#sideMenu {
	height: 100%;
	width: 240px;
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	background-color: #404040;
	overflow-x: hidden;
	transition: 0.5s;
	border-right: 2px solid grey;
	color: #D9D9D9;
}

#sideMenu #logoContainer {
	text-align: center;
	margin-top: 5px;
}

#sideMenu #logoContainer img {
	/*width: 60%;*/
	height: 90px;
}

#sideMenu #serverPlayerContainer {
	margin-top: 10px;
	color: white;
	text-align: center;
}

#sideMenu #serverPlayerContainer img {
	width: 22px;
	margin-left: 10px;
	position: relative;
	bottom: 1px;
	cursor: pointer;
}

#sideMenu #serverPlayerContainer img:hover {
	filter: brightness(0.8);
}

#sideMenu #serverPlayerContainer img.mainIcon {
	width: 45px;
	cursor: default;
}

#sideMenu #serverPlayerContainer .part {
	display: inline-block;
	text-transform: uppercase;
	vertical-align: middle;
}

#sideMenu #serverPlayerContainer .serverPart {
	font-size: 19px;
	font-weight: bold;
	margin-bottom: 5px;
}

#sideMenu #serverPlayerContainer .playerPart {
	font-size: 15px;
}

#sideMenu #serverPlayerContainer a.linkButton {
	background: #954940;
	border: 1px solid #7c3e37;
	padding: 4px;
	color: white;
	font-size: 14px;
}

#sideMenu #serverPlayerContainer a.linkButton:hover {
	background: #7c3e37;
	text-decoration: none;
}

#sideMenu #serverPlayerContainer a.linkButton img {
	bottom: 2px;
	width: 18px;
	margin: 0;
}


#sideMenu #serverPlayerContainer hr {
	width: 80%;
	background-color: grey;
	margin: 7px auto;
}

#sideMenu #nav {
	width: 240px;
}

#sideMenu #nav .menuGroup {
	min-width: 240px;
	margin: 4px 0;
}

#sideMenu #nav .menuGroupTitle {
	background: rgb(150, 150, 150);
	width: 100%;
	text-align: center;
	color: white;
	font-size: 23px;
	line-height: 28px;
	margin: 0;
	padding: 4px 20px 4px 0;
	font-variant: small-caps;
}

#sideMenu #nav .menuGroupTitle img {
	max-height: 23px;
	max-width: 23px;
	position: relative;
	bottom: 2px;
	margin-right: 5px;
}

#sideMenu #nav a {
	padding: 4px 4px 4px 6px;
	text-decoration: none;
	font-size: 15px;
	line-height: 18px;
	color: #D9D9D9;
	display: block;
	transition: 0.3s;
	border-left: 7px solid #404040;
}

#sideMenu #nav a:hover {
	color: #f1f1f1;
	background: #7c3e37;
	border-left: 7px solid white;
}

#sideMenu #nav a.selected {
	color: white;
	font-weight: 600;
	background: #954940;
	border-left: 7px solid white;
}

#sideMenu #nav a.selected:hover {
	color: white;
	font-weight: 600;
	background: #954940;
}

#sideMenu #nav a img {
	max-height: 19px;
	max-width: 19px;
	position: relative;
	bottom: 1px;
	margin-right: 4px;
}

#sideMenu #nav .menuSubGroup {
	margin: 5px 0;
}

#sideMenu #nav .menuSubGroup .menuGroupTitle {
	padding: 3px 0;
	background: rgb(110, 110, 110);
	font-size: 21px;
	text-align: left;
	padding-left: 20px;
}

#sideMenu #nav .menuSubGroup a {
	padding-left: 20px;
}






#dialogChangeServer {
	text-align: center;
	display: none;
}

.ui-dialog[aria-describedby="dialogChangeServer"] .ui-dialog-title {
	color: #944942;
	font-size: 1.8rem;
	text-align: center;
	width: 100%;
	text-transform: uppercase;
}

#dialogChangeServer .serversCommunityContainer {
	display: flex;
	align-items: center;
}

#dialogChangeServer h2 {
	color: #7c3e37;
	width: 270px;
	font-size: 1.5rem;
	text-align: left;
}

#dialogChangeServer h2 img {
	width: 35px;
	margin-right: 10px;
	position: relative;
	bottom: 2px;
}

#dialogChangeServer hr {
	background-color: white;
	margin: 10px 20%;
}

#dialogChangeServer ul.serversList {
	list-style-type: none;
	width: calc(100% - 275px);
	margin: auto;
	padding: 5px 0;
	text-align: left;
	border-left: 3px solid #7c3e37;
}

#dialogChangeServer ul.serversList li {
	display: inline-block;
	width: 33%;
	transition: 0.3s;
	cursor: pointer;
	text-align: center;
}

#dialogChangeServer ul.serversList li:hover {
	color: #f1f1f1;
	background: #7c3e37;
}

#dialogChangeServer ul.serversList li.selected {
	color: white;
	font-weight: 600;
	background: #954940;
}

#dialogChangeServer ul.serversList li.selected:hover {
	color: white;
	font-weight: 600;
	background: #954940;
}

.ui-dialog[aria-describedby="dialogChangeServer"] .ui-dialog-buttonpane {
	text-align: center;
}

.ui-dialog[aria-describedby="dialogChangeServer"] .ui-dialog-buttonpane .ui-dialog-buttonset {
	float: none;
}







#main {
	transition: margin-left .5s;
	margin-left: 240px;
	padding: 20px;
	min-width: 1200px;

	/* To allow the page to always take 100% of the page minus footer height */
	min-height: -moz-calc(100% - 190px);
	min-height: -webkit-calc(100% - 190px);
	min-height: -o-calc(100% - 190px);
	min-height: calc(100% - 190px);
}

#main .closingServerAlert {
	text-align: center;
	background-color: #db3030;
	color: white;
	font-weight: bold;
	padding: 7px 0;
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 10;
}

#main h1,
#main h2 {
	text-align: center;
	color: #954940;
	font-variant: small-caps;
	font-weight: 700;
}

#main h1 img,
#main h2 img {
	position: relative;
}

#main h1 {
	font-size: 50px;
	text-shadow: 1px 1px 3px #404040;
	margin-top: 10px;
	margin-bottom: 20px;
}

#main h1 img {
	margin-right: 20px;
	max-width: 40px;
	max-height: 40px;
	bottom: 5px;
}

#main h2 {
	font-size: 32px;
	margin-top: 10px;
	margin-bottom: 10px;
	position: relative;
}

#main h2 img {
	margin-right: 10px;
	max-width: 30px;
	max-height: 30px;
	bottom: 3px;
}

/*#main h2::before,
#main h2::after {
  position: absolute;
  content: "";
  width: 150px;
  border-bottom: 2px solid #7e7e7e;
  background-color: #7e7e7e;
  top: 50%;
  transform: translateY(-50%);
}

#main h2::before {
  left: 0;
}

#main h2::after {
  right: 0;
}*/

#main a {
	cursor: pointer;
}

#main input,
#main textarea,
#main select {
	border-width: 1px;
	border-style: solid;
	border-color: #3c3c3c;
}

#main input[type="number"] {
	width: 40px;
}

#main pre {
	color: black;
	font-family: Calibri, Arial;
	white-space: break-spaces;
}

#main fieldset {
	border: 1px solid grey;
	width: 60%;
	min-width: 550px;
	max-width: 800px;
	margin: auto;
}

#main legend {
	text-align: center;
	width: auto;
	padding: 0 1%;
}

#main .error {
	color: red;
	font-weight: 600;
	text-align: center;
}

.openPlayerInfo,
.openKingdomInfo {
	cursor: pointer;
	color: #007bff;
}

.openPlayerInfo:hover,
.openKingdomInfo:hover {
	color: #0056b3;
	text-decoration: underline;
}

#main button.themedButton {
	padding: 8px 5px;
	color: white;
	background-color: #954940;
	border: 1px solid #783a33;
	margin-top: 10px;
	font-variant: small-caps;
	font-size: 16px;
}

#main button.themedButton:hover {
	background-color: #783a33;
	border-color: #582c27;
}

#main button.themedButton.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

#main button.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

#main button.themedButton img {
	max-width: 25px;
	max-height: 25px;
	margin-right: 8px;
}






.village15C {
	color: #e68a00;
}

.village9C {
	color: #ffd633;
}

.villageClassic {
	color: black;
}







#loader {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(30, 30, 30, 0.9);
	justify-content: center;
	flex-direction: column;
	text-align: center;
	z-index: 1001;
}

#loader #loadingImageContainer {
	width: 100%;
}

#loader #loadingImageContainer img {
	width: 200px;
}

#loader #loadingReason {
	width: 100%;
	font-size: 20px;
	color: white;
}





.backHome {
	margin-left: 3%;
	margin-top: 1%;
}

.backHome a {
	color: #007bff;
	text-decoration: none;
	cursor: pointer;
}

.backHome a:hover {
	color: #0056b3;
	text-decoration: underline;
}








#save {
	position: fixed;
	bottom: 50px;
	right: 50px;
	padding: 5px 10px;
	margin-top: 25px;
	background-color: #24982d;
	color: white;
	border: 2px solid black;
	z-index: 100;
}

#save:hover {
	background-color: #39af42;
}








#TKToolsFeatures {
	width: 80%;
	margin: auto;
	border-width: 0;
}

#TKToolsFeatures .ui-tabs-tab img {
	height: 35px;
}

#TKToolsFeatures .ui-widget-header {
	border-color: transparent;
	background: transparent;
}

#TKToolsFeatures .ui-state-active {
	background-color: #954940;
	border: 1px solid #783a33;
	border-bottom: 0;
}

#TKToolsFeatures .tabContent {
	padding: 0;
	border: 1px solid #783a33;
	border-top-width: 0;
	border-radius: 10px;
	border-top-left-radius: 0;
}

#TKToolsFeatures .tabContent h3 {
	background-color: #954940;
	padding: 5px 0;
	color: white;
	text-align: center;
	border-top-right-radius: 9px;
	border-bottom: 3px solid #783a33;
}

#TKToolsFeatures .tabContent .description {
	padding: 1% 2%;
}

#TKToolsFeatures .tabContent .description h4 {
	color: #944942;
	font-weight: bold;
	font-size: 1.2rem;
}

#TKToolsFeatures .tabContent .description p a {
	font-weight: bold;
	text-decoration: underline;
	color: #944942;
}

#TKToolsFeatures .tabContent .description p a:hover {
	color: #6e2e28;
}

#TKToolsFeatures .jcarousel-wrapper {
	margin-top: 70px;
}

#TKToolsFeatures .jcarousel-pagination {
	top: -40px;
}

#TKToolsFeatures .jcarousel-pagination a.active {
	background: #944942;
}

#TKToolsFeatures .jcarousel-control-prev,
#TKToolsFeatures .jcarousel-control-next {
	top: -30px;
	background: #944942;
	color: white;
}

#TKToolsFeatures .jcarousel-control-prev:hover,
#TKToolsFeatures .jcarousel-control-next:hover {
	text-decoration: none;
	background: #723631;
}

#TKToolsFeatures .jcarousel-control-prev {
	left: 35%;
}

#TKToolsFeatures .jcarousel-control-next {
	right: 35%;
}







#completeDashboard {}

#completeDashboard .followParams {
	text-align: center;
}

#completeDashboard .followParams#incomingOperations h2 {
	margin-top: 40px;
}

#completeDashboard .followParams .row {
	justify-content: center;
}

#completeDashboard .followParams .item {
	color: white;
	padding: 1%;
	width: 30%;
	margin: 0 1%;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	filter: drop-shadow(2px 4px 5px black);
	transition: 0.5s;
}

#completeDashboard .followParams .item:hover {
	filter: drop-shadow(2px 4px 10px black);
	transition: 0.5s;
}

#completeDashboard .followParams .item.green {
	background-color: #85BD5F;
	border: 2px solid #67934a;
}

#completeDashboard .followParams .item.green:hover {
	background-color: #6c994d;
	border: 2px solid #4d6e36;
}

#completeDashboard .followParams .item.orange {
	background-color: #F09252;
	border: 2px solid #c77843;
}

#completeDashboard .followParams .item.orange:hover {
	background-color: #d57c3f;
	border: 2px solid #9b623b;
}

#completeDashboard .followParams .item.red {
	background-color: #FF4F4F;
	border: 2px solid #bd3535;
}

#completeDashboard .followParams .item.red:hover {
	background-color: #cf3e3e;
	border: 2px solid #832323;
}

#completeDashboard .followParams .item.redPastell {
	background-color: #C7827B;
	border: 2px solid #8f5c57;
}

#completeDashboard .followParams .item.redPastell:hover {
	background-color: #a9706a;
	border: 2px solid #6e4642
}

#completeDashboard .followParams .item.orangePastell {
	background-color: #D99461;
	border: 2px solid #b97d51;
}

#completeDashboard .followParams .item.orangePastell:hover {
	background-color: #b57b51;
	border: 2px solid #895b3a;
}

#completeDashboard .followParams .item.greyPastell {
	background-color: #B2B2B2;
	border: 2px solid #878787;
}

#completeDashboard .followParams .item.greyPastell:hover {
	background-color: #8f8f8f;
	border: 2px solid #626262;
}

#completeDashboard .followParams .item img.backgroundImg {
	max-width: 70px;
	max-height: 70px;
	opacity: 0.5;
	position: absolute;
	right: 5px;
	transition: 0.5s;
}

#completeDashboard .followParams .item:hover img.backgroundImg {
	max-width: 80px;
	max-height: 80px;
	opacity: 0.7;
	transition: 0.5s;
}

#completeDashboard .followParams .item .number {
	font-size: 80px;
	margin-right: 30%;
	font-weight: bold;
	position: absolute;
	left: 15%;
	transition: 0.5s;
}

#completeDashboard .followParams .item:hover .number {
	font-size: 100px;
	transition: 0.5s;
}

#completeDashboard .followParams .item .description {
	font-size: 20px;
	line-height: initial;
	margin-bottom: 10px;
	margin-top: 120px;
}

#completeDashboard .followParams .item button {
	display: block;
	color: white;
	width: 100%;
	padding: 5px 0;
	background-color: rgba(0, 0, 0, 0.4);
	border: 2px solid rgba(0, 0, 0, 0.3);
}

#completeDashboard .followParams .item button:hover {
	background-color: rgba(0, 0, 0, 0.6);
	border: 2px solid rgba(0, 0, 0, 0.5);
}

#completeDashboard .followParams .item .lockedFeatureContainer {
	background-color: rgba(0, 0, 0, 0.7);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	text-align: center;
	font-size: 17px;
}

#completeDashboard .followParams .item .lockedFeatureContainer img {
	margin: auto;
}






#completeDashboard #myObjectives .tasksListsContainer {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
}

#completeDashboard #myObjectives .tasksList {
	margin: 15px 5px;
	border: 1px solid black;
	border-radius: 10px;
	transition: 0.3s;
}

#completeDashboard #myObjectives .tasksList {
	width: 48%;
}

#completeDashboard #myObjectives .tasksList.completed {
	background-color: #059f051a;
}

#completeDashboard #myObjectives .tasksList>.title {
	color: white;
	background-color: #954940;
	text-align: center;
	padding: 8px;
	margin: 0;
	font-weight: bold;
	border-radius: 9px 9px 0 0;
	font-size: 1.2rem;
}

#completeDashboard #myObjectives .tasksList>.title img {
	width: 22px;
	margin-left: 10px;
}

#completeDashboard #myObjectives .tasksList .tasksAdvancement {
	background-color: #00000045;
	position: relative;
	height: 30px;
}

#completeDashboard #myObjectives .tasksList .completedCursor {
	background-color: #059f058a;
	position: absolute;
	top: 0;
	left: 0;
	height: 30px;
	z-index: 4;
	transition: 0.5s;
}

#completeDashboard #myObjectives .tasksList .advancementText {
	color: white;
	font-weight: bold;
	font-size: 1.1rem;
	text-align: center;
	height: 30px;
	line-height: 30px;
	text-shadow: 0 0 5px black;
	position: relative;
	z-index: 5;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
}

#completeDashboard #myObjectives .tasksList .endTimePart {
	font-weight: bold;
	text-align: center;
	border-bottom: 1px solid lightgray;
	padding: 5px;
}

#completeDashboard #myObjectives .tasksList .endTimePart img {
	width: 22px;
	margin-right: 4px;
	position: relative;
	bottom: 2px;
}

#completeDashboard #myObjectives .tasksList .subTasksListsContainer {
	padding: 10px;
}

#completeDashboard #myObjectives .tasksList .subTasksListsContainer .subTasksList {
	transition: 0.3s;
	border-radius: 7px;
	padding: 3px 0;
	margin: 2px 0;
}

#completeDashboard #myObjectives .tasksList:not(.completed) .subTasksListsContainer .subTasksList.completed {
	background-color: #059f051a;
}

#completeDashboard #myObjectives .tasksList .subTasksList .title {
	color: #954940;
	font-size: 1.1rem;
	font-weight: bold;
}

#completeDashboard #myObjectives .tasksList .subTasksListsContainer .subTasksList.completed .title::before {
	content: "\2713";
	color: #059f05;
	margin-left: 7px;
	margin-right: 5px;
}

#completeDashboard #myObjectives .tasksList .subTasksList .title .percentageDone {
	font-size: 1rem;
	margin-left: 6px;
	color: grey;
}

#completeDashboard #myObjectives .tasksList .subTasksList ul.objectives {
	list-style-type: none;
	margin-left: -30px;
	margin-bottom: 0;
}

#completeDashboard #myObjectives .tasksList .subTasksList li.objective {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 1px;
	border-radius: 3px;
	transition: 0.3s;
	font-size: 0.9rem;
}

#completeDashboard #myObjectives .tasksList .subTasksList li.objective::before {
	content: "\2610";
	color: #585858;
	margin-right: 5px;
	font-weight: bold;
}

#completeDashboard #myObjectives .tasksList .subTasksList li.objective.completed::before {
	content: "\2713";
	color: #059f05;
	margin-right: 5px;
	font-weight: bold;
}

#completeDashboard #myObjectives .tasksList .subTasksList li.objective label {
	margin: 0;
	flex: 1;
}

#completeDashboard #myObjectives .tasksList .subTasksList li.objective.completed label {
	color: grey;
	text-decoration: line-through;
}




#completeDashboard #myObjectives fieldset.noTeamContainer {
	width: 80%;
	margin: auto;
	border: 1px solid grey;
	padding: 20px;
}

#completeDashboard #myObjectives fieldset.noTeamContainer legend {
	font-variant: small-caps;
	padding: 0 20px;
}

#completeDashboard #myObjectives fieldset.noTeamContainer img.mainImg {
	width: 100px;
	margin: auto;
	display: block;
}

#completeDashboard #myObjectives fieldset.noTeamContainer p {
	margin: 20px auto 10px auto;
}

#completeDashboard #myObjectives fieldset.noTeamContainer ul {
	list-style-type: none;
}

#completeDashboard #myObjectives fieldset.noTeamContainer li {
	margin: 8px auto;
}

#completeDashboard #myObjectives fieldset.noTeamContainer li img {
	width: 20px;
	margin-right: 10px;
	position: relative;
	bottom: 1px;
}






.row {
	margin: auto;
}

.ui-icon-red,
.ui-widget-content .ui-icon-red {
	background-image: url(images/red-ui-icons.png);
}

.btn {
	margin-bottom: 20px;
	margin-top: 20px;
}

.ui-widget-overlay {
	background: #191919;
	opacity: .8;
}

.ui-dialog {
	padding: 0;
}

.ui-dialog .ui-dialog-titlebar {
	border: 0 solid black;
	border-bottom: 1px solid #dddddd;
	background: white;
	border-radius: 0;
	padding: 0.7em 2em;
}

.ui-dialog .ui-dialog-titlebar-close {
	border-width: 0;
}

.ui-dialog .ui-dialog-titlebar-close:active {
	color: black;
	border-width: 0;
}

.ui-dialog .validateButton {}

.ui-dialog .cancelButton {}

#main table.dataTable.no-footer,
#main .dataTables_wrapper.no-footer .dataTables_scrollBody {
	border-bottom: 0 solid #111;
}






.alert {
	display: none;
	position: fixed;
	/*top: 15%;
    left: 37.5%;
    width: 25%;
    padding : 20px 0;*/
	top: 2%;
	right: 2%;
	padding: 20px 20px;
	text-align: center;
}





.switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked+.slider {
	background-color: #954940;
}

input:focus+.slider {
	box-shadow: 0 0 1px #954940;
}

input:checked+.slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
	border-radius: 34px;
}

.slider.round:before {
	border-radius: 50%;
}






footer {
	text-align: center;
	height: 170px;
	font-weight: bold;
	background: #505050;
	border-top: 3px solid black;
	color: white;
	padding-top: 10px;
	transition: margin-left .5s;
	margin-left: 240px;
	margin-top: 20px;
}

footer p {
	width: 80%;
	margin: 10px auto;
}

footer p.dev {
	font-weight: normal;
	margin-bottom: 20px;
}

footer p.dev .separator {
	margin: 0 10px;
}

footer p strong {
	color: #d1503f;
}

footer a {
	color: #d1503e;
	font-weight: bold;
	text-decoration: underline;
}

footer a:hover {
	color: #ab4031;
}





#cgu {
	width: 80%;
	margin: auto;
}

#cgu h2 {
	text-align: left;
	text-transform: uppercase;
	font-size: 26px;
	margin-top: 30px;
}





#releaseNotes {
	width: 80%;
	margin: auto;
}

#releaseNotes h3.ui-accordion-header {
	font-weight: bold;
	padding: 0.75rem;
}

#releaseNotes h3.ui-state-active {
	border: 1px solid #70352e;
	background: #954940;
	color: #ffffff;
	font-size: 2rem;
}

#releaseNotes h3:not(.ui-state-active) {
	color: #954940;
	font-size: 2rem;
}

#releaseNotes h3 .date {
	color: rgb(155, 155, 155);
	margin-left: 10px;
	font-size: 1.5rem;
}

#releaseNotes img.releaseDetails {
	width: 100%;
}