@font-face {
    font-family: "metalManiaReg";
    src: url('font/MetalMania-Regular.ttf');
}

@font-face {
    font-family: "times";
    src: url('font/times.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "times";
    src: url('font/timesi.ttf');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: "times";
    src: url('font/timesbi.ttf');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: "times";
    src: url('font/timesbd.ttf');
    font-weight: bold;
    font-style: normal;
}

body{
    background-color: #f2e9d6;
    text-align: center;
}

#logoOrk img {
    width: 300px;
}

#mapContainer {
    width: 1350px;
    height: 1350px;
   
    position: relative;
}

#mapElementsContainer, #mapPathsContainer{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

#mapElementsContainer{
	z-index: 100;	
}

#mapPathsContainer {
    z-index: 105;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: center;
}

.pathRow {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: center;
}



img.draggableMapElement.boardElement {
    width: 150px;
    margin: 0 10px 0 0;
}

#boardToolsContainer, #pawnToolsContainer {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

.delMapElement, .delReserveElement{
	position: absolute; 
	top: 0px; 
	right: 0px;
	background-color: #F00;
	color: #FFF;
	width: 45px;
	height: 45px;
	display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
}

.delMapElement{
    position: relative;
    font-size: 0.8em;
    width: 15px;
    height: 15px;
    z-index: 300;
}

.rotateMapElement{
    position: relative; 
    background-color: #00F;
    color: #FFF;
    width: 15px;
    height: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    font-size: 0.8em;
    z-index: 300;
}

.delRotateButtons{
    position: absolute;
    top: 0px;
    right: 0px;
    width: 15px;
    height: 15px;
}

#mapPathsContainer.inactive{
	pointer-events: none;
}

#mapPathsContainer.active{
	pointer-events: initial;
	/*background-color: rgba(0,0,0,0.5);*/
}

.pathCell{
	width: 45px;
	height: 45px;
	border-style: solid;
	border-color: #FFF;
	border-width: 1px 0 0 1px;
}

#mapPathsContainer.inactive .pathCell{
	border:none;
}



.pathCellTransparent{
	background-color: none;
}

.pathCellBlue{
	background-color: rgba(0,0,255,0.25);
    border-color: blue;
}

.pathCellYellow{
	background-color: rgba(255,255,0,0.25);
    border-color: yellow;
}

.pathCellRed{
	background-color: rgba(255,0,0,0.25);
    border-color: red;
}

.pathCellGreen{
	background-color: rgba(0,255,0,0.25);
    border-color: green;
}


.pathTool{
	width: 100px;
	height: 100px;
	border: 10px solid #CCC;
}

.pathTool.selected{
	border-color: #000;
}




#pathToolTransparent{
	background-color:none;
}
#pathToolBlue{
	background-color:#00F;
}
#pathToolYellow{
	background-color:#FF0;
}
#pathToolRed{
	background-color:#F00;
}

#pathToolGreen{
	background-color:#0F0;
}

div#pathToolsContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

#hostilesReserve, #hostilesPatrol {
	width: 50%;
	display: none;
}

.hostilesContainer {
    background-color: #FFF;
    border: thin solid #000;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
    overflow: scroll;
    max-height: 600px;
}

.hostileItem {
    margin: 0 10px 10px 0;
    cursor: pointer;
}

#loadingBg {
    background-color: #CCC;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100;
    display: none;
    flex-direction:column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    font-family: 'metalManiaReg';
    font-size: 3.2em;
}

img#loadingSpinnerImg {
    width: 45px;
}

div#endGen {
    text-align: center;
}

#greyBg{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	display: none;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    z-index: 350;
}

.addReserve, .removeReserve{
	font-size: 3em;
	cursor: pointer;
	height: 110px;
}

.reserveElement {
    position: relative;
    width: 110px;
    height: 140px;
    margin-right: 10px;
}

div#mainReserveList {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

#mainReserveContainer, #secondaryReservesContainer, #patrolsContainer{
   border: thin solid #CCC;
    background-color: #FFFF;
    border-radius: 10px;
    padding: 40px;
    margin:30px 0; 
}

div#mainReserveContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    
}


div.secondaryReserveElements {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

.secondaryReserveList {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}
.secondaryReserveMarker {
    display: flex;
    margin-right: 10px;
    height: 110px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

#addMainReserveButton{
    height: 110px;
}

#addPatrolButton{
    font-size: 3em;
    cursor: pointer;    
}

#patrolsBlocks {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

.patrolContainer {
    width: 30%;
    border: thin solid #000;
    border-radius: 10px 10px 0 0;
}

.patrolHeader {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    color: #FFF;
    background-color: #000;
    border-radius: 10px 10px 0 0;
}

.patrolColumnsContainer {
    margin: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
}

.patrolColumn {
    width: 32%;
    padding: 10px;
}

.patrolColumn_0 {
    background-color: #fed635;
}

.patrolColumn_1 {
    background-color: #fe7635;
}

.patrolColumn_2 {
    background-color: #ff0000;
}

.patrolElement img {
    width: 80%;
}


.pawnElement .imgBoardElement {
    border-radius: 3px;
}

.mapElement.tileElement  {
    
}
.mapElement.pawnElement img {
    border: thin solid white;
    border-radius: 3px;
    width: 45px;
}


.mapRotateElement {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}



.errorMsg{
    font-weight: bold;
    color: #FF0000;
}

#emailRegisterErrorMsg,#passwordRegisterErrorMsg{
    display: none;
}

.mapListImg{
    width: 100px;
}

div#editTopMenu {
    position: fixed;
    background-color: #CCC;
    width: 100%;
    height: 100px;
    z-index: 1000;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-end;
    align-items: center;
}

#topMenuContainer{
    margin-top: 10px;
        display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
        border-bottom: thin solid #000;
    margin-bottom: 50px;
}

ul.navbar-nav{
        display: flex;
    flex-direction: row;
}
a.nav-link{
    padding:8px;
}

#editTopSaveButton {
    margin-right: 20px;
}

#langChoice{
    font-size: 0.8em;
}