body{
    overflow: scroll;
    margin: 0;
}
.content{
    margin: 80px 10px;

    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    transform: scale(-1, 1);
    filter: FlipH;
    -ms-filter: "FlipH";
    -moz-transform: scale(1,-1);
    -webkit-transform: scale(1, -1);
    -o-transform: scale(1, -1);
    transform: scale(1, -1);
    filter: FlipV;
    -ms-filter: "FlipV";
}
table:nth-child(2n){
    margin-left: 34px;
}
td{
    width: 50px;
    height: 50px;
    text-align: center;
    vertical-align: middle;
    padding: 0 8px;
    cursor:not-allowed;
}
td:hover{
    opacity: .8;
}
.loader{
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    height: 100%;
    z-index: 999999;
    position: fixed;
    top: 0;
    left: 0;
}
.loader-text{
    text-align: center;
    font-weight: 900;
    margin-top: 30%;
}
.blur{
    -webkit-filter: blur(2px);
    -moz-filter: blur(2px);
    -o-filter: blur(2px);
    -ms-filter: blur(2px);
    filter: blur(2px);
}
.tools{
    position: fixed;
    width: 100%;
    background: white;
    z-index: 9999;
    top: 0;
    left: 0;
    box-shadow: 0 1px 3px rgba(0,0,0, 0.12), 0 1px 2px rgba(0,0,0, 0.24);
    padding: 15px;
}
.tools div{
    display: inline-block;
    vertical-align: middle;
    text-align: right;
}
span{
    color: #666;
}

svg{
    width: 50px;
    height: 50px;
}
.num{
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 14px;
    color: #000;
    font-weight: bold;

    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    transform: scale(-1, 1);
    filter: FlipH;
    -ms-filter: "FlipH";
    -moz-transform: scale(1,-1);
    -webkit-transform: scale(1, -1);
    -o-transform: scale(1, -1);
    transform: scale(1, -1);
    filter: FlipV;
    -ms-filter: "FlipV";
}
.map-area{
    zoom: 1; /* IE */
    -moz-transform: scale(1); /* Firefox */
    -moz-transform-origin: 0 0;
    -o-transform: scale(1); /* Opera */
    -o-transform-origin: 0 0;
    -webkit-transform: scale(1); /* Safari And Chrome */
    -webkit-transform-origin: 0 0;
    transform: scale(1); /* Standard Property */
    transform-origin: 0 0;  /* Standard Property */
}

*[unselectable=on] {
    -moz-user-select: none;
    -o-user-select:none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.mapSelection.s{
    border: 2px #00c670 solid;
    color: #00c670;
}
.mapSelection.m{
    border: 2px #edcb4c solid;
    color: #edcb4c;
}
.mapSelection.l{
    border: 2px #ed6653 solid;
    color: #ed6653;
}
.mapSelection.xl{
    border: 2px #9e61ed solid;
    color: #9e61ed;
}
.mapSelection.xxl{
    border: 2px #00abd0 solid;
    color: #00abd0;
}
.mapSelection{
    text-decoration: none;
    padding: 5px 10px;
    margin: 5px;
    display: inline-block;
}

.toolbar_top,
.toolbar_bottom{
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 2;
    background: #000;
    box-shadow: gainsboro 0 0 10px;
}
.toolbar_bottom{
    bottom: 0;
    top: unset;
}
.button{
    cursor: pointer;
    height: 36px;
    padding: 10px;
    padding-top: 14px;
}

#tool-gray{
    background: #8b8b8b;
}
#tool-blue{
    background: #34b4db;
}
#tool-green{
    background: #00d674;
}
#tool-yellow{
    background: #fdc221;
}
#tool-red{
    background: #cd3736;
}
#tool-purple{
    background: #d568ff;
}

.colorCell{
    display: inline-block;
    height: 24px;
    width: 24px;
    border-radius: 24px;
    margin: 0 10px 10px 10px;
    cursor: pointer;
}

#settings-block div {
    display: inline-block;
    vertical-align: bottom;
    margin: 5px;
    text-align: left;
}

#darkness,
#unions{
    -ms-transform: scale(2);
    -moz-transform: scale(2);
    -webkit-transform: scale(2);
    -o-transform: scale(2);
    padding: 10px;
    vertical-align: middle;
}

img {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#download-map{
    opacity: 0;
}