h2 {
    font-size: 1.8em;
}

span {
    display: inline-block !important;
}

.close-map-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 35px;
    height: 35px;
    background: none;
    border: 1px solid rgba(0, 0, 0, 0);
    outline: none;
    animation: none !important;
    transition: 0.2s;
    cursor: pointer;
}

.close-map-btn:hover {
    transform: rotate(180deg);
}
.close-map-btn:active {
    transform: rotate(180deg) scale(0.8);
}

.close-map-btn:before,
.close-map-btn:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: #000;
    transform: rotate(45deg);
    left: 5%;
    top: 48%;
}

.close-map-btn:after {
    transform: rotate(-45deg);
}

.messages-list {
    position: fixed;
    right: 5px;
    top: 4em;
    z-index: 99999;
}

.mess-itm {
    padding: 5px 7px;
    border-radius: 5px;
    cursor: pointer;
    margin: 3px 0;
    transition: 0.3s;
}

.mess-itm:hover {
    transform: scale(1.02);
}

.mess-itm h3 {
    margin: 0 0 2px 0 !important;
    padding: 0 0 2px 0 !important;
    border-bottom: 1px solid #000;
}

.editor-panel {
    display: inline-block;
}

#panel {
    position: fixed;
    left: 0;
    top: 50vh;
    transform: translateY(-50%);
    background-color: #333;
    padding: 20px 10px 10px 20px;
    width: 200px;
    border-right: 3px solid #000;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 3px 0 3px 7px rgba(0, 0, 0, 0.55);
    z-index: 999999;
}

#panel button {
    animation: none;
    font-size: 12px;
    background-color: #e59700;
    color: #000000;
    padding: 4px 8px;
    margin: 1px;
    border: 1px solid #000000;
    border-radius: 17px;
    cursor: pointer;
    transition: 0.2s;
    outline: none;
}

#panel button * {
    font-size: 12px;
}

#panel button:not(.close-map-btn):hover {
    /*background-color: #000;*/
    /*color: orange;*/
    box-shadow: 0 0 10px 3px rgba(60, 174, 255, 0.69);
}

#panel button:active {
    transition: 0.001s;
    transform: scale(0.9);
}

#panel button[disabled="disabled"] {
    opacity: 0.3;
}

.edit-activator {
    opacity: 0;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 30px;
}

.invisible {
    display: none;
}

.edt {
    font-size: 18px;
    font-weight: 400;
    white-space: pre-line;
    font-family: Days, sans-serif;
    outline: none;
    position: fixed;
    display: inline-block;
    background-color: #fffbfa;
    z-index: 100;
    left: calc(50% + 100px);
    top: 50%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 10px;
    transition: 0.4s;
    box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.51);
    transform: translate(-50%, -50%);
    border-radius: 10px;
}

.edt * {
    font-family: Days, sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.edt h2 {
    font-size: 1.8em;
}


.phrase-2 {
    display: inline-block;
    background-color: rgba(128, 128, 128, 0.33);
    padding: 5px 30px;
    font-style: italic;
    position: relative;
    margin: 1em;
}

.phrase-2:before {
    content: '“';
    font-size: 2.5em;
    font-family: Arial, sans-serif;
    position: absolute;
    left: 0;
    top: -0.3em;
}

.phrase-2:after {
    content: '”';
    font-size: 2.5em;
    font-family: Arial, sans-serif;
    position: absolute;
    right: 0.2em;
    bottom: -0.8em;
}

.panel {
    /*width: 100%;*/
    padding: 10px 15px;
    margin: 10px 15px;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.26);
}

.edt a {
    animation: linkPulser 1s infinite;
    color: #3caeff;
}

.edt a:hover {
    text-decoration: underline;
}

.edt h2, .edt h3 {
    text-align: initial;
}

.inline-block {
    display: inline-block;
}

@keyframes linkPulser {
    0% {
        text-shadow: 0 0 1px #ff2400;
    }
    50% {
        text-shadow: 0 0 10px rgba(255, 0, 8, 0.54);
    }
    0% {
        text-shadow: 0 0 1px #ff2400;
    }
}

.sel-end-3 * {
    font-weight: 100 !important;
}

.coursive {
    font-style: italic;
}

.underline {
    text-decoration: underline;
}

.strike {
    text-decoration: line-through;
}

.bold {
    font-weight: bold;
    font-size: 1.1em;
    text-shadow: 0 0 2px #000;
}

.flash {
    -webkit-animation: blink2 1s linear infinite;
    animation: blink2 1s linear infinite;
}
@-webkit-keyframes blink2 {
    100% { color: rgba(34, 34, 34, 0); }
}
@keyframes blink2 {
    100% { color: rgba(34, 34, 34, 0); }
}

#panel fieldset {
    padding: 2px 2px 7px;
    border: 1px solid #bfbfbf;
    color: #e2e2e2;
    margin: 5px 0;
    box-shadow: none;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-around;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}