/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 09.10.2017, 11:42:23
    Author     : Manuel
*/

:root, html[data-theme='light'] {
    --mainBG: #ffffff;
    --enemyBG: #ffebeb;
    --familyBG: #ffffff;
    --selWordBG: #e8e8e8;
    --bgColor: #ffffff;
    --bodyBG: #6c6c6c;
    --headerBG: #badeff;
    --basicColor: #777777;
    --primaryColor: #2299dd;
    --primaryDarkColor: #345d74;
    --primaryLightColor: #8ac5fc;
    --borderColor: #cccccc;
    --wordColor: #000000;
    --enemyWord: #ff0000;
    --markedWord: #ffdbd0;
    --grayColor: #666666;
    --lightGray: #999999;
    --darkGray: #444444;
    --buttonBG: #bcdbed;
    --buttonBGHover: #ddecf5;
    --buttonLetter: #555555;
    --menuLink: #999999;
    --menuLinkHover: #555555;
    --redColor: #db0000;
    --lightRed: #ff5b5b;
    --darkGreen: #476b3c;
    --lightGreen: #b9ddb0;
    --greenHover: #caeec0;
    --link: #48bbff;
    --linkHover: #48bbff;
}

html[data-theme='green'] {
    --mainBG: #ffffff;
    --enemyBG: #ffebeb;
    --familyBG: #ffffff;
    --selWordBG: #e8e8e8;
    --bgColor: #ffffff;
    --bodyBG: #6c6c6c;
    --headerBG: #c6fea0;
    --basicColor: #777777;
    --primaryColor: #2bb300; /*#31aa0b;*/
    --primaryDarkColor: #293f1c;
    --primaryLightColor: #8ec26a;
    --borderColor: #cccccc;
    --wordColor: #000000;
    --enemyWord: #ff0000;
    --markedWord: #ffdbd0;
    --grayColor: #666666;
    --lightGray: #999999;
    --darkGray: #444444;
    --buttonBG: #bcdbed;
    --buttonBGHover: #ddecf5;
    --buttonLetter: #555555;
    --menuLink: #999999;
    --menuLinkHover: #555555;
    --redColor: #db0000;
    --lightRed: #ff5b5b;
    --darkGreen: #476b3c;
    --lightGreen: #b9ddb0;
    --greenHover: #caeec0;
    --link: #7ddc3d;
    --linkHover: #9aff48;
}

html[data-theme="dark"] {
    --mainBG: #27221d;
    --enemyBG: #554c42;
    --familyBG: #554c42;
    --selWordBG: #706354;
    --bgColor: #ffffff;
    --bodyBG: #1a1714;
    --headerBG: #1a1714;
    --basicColor: #979797;
    --primaryColor: #ff9c33;
    --primaryDarkColor: #bcb09d;
    --primaryLightColor: #685b4f;
    --borderColor: #8d7777;
    --wordColor: #ccc8c8;
    --enemyWord: #ff5252;
    --markedWord: #554c42;
    --grayColor: #a7a7a7;
    --lightGray: #6f6f6f;
    --darkGray: #ffffff;
    --buttonBG: #bcdbed;
    --buttonBGHover: #ddecf5;
    --buttonLetter: #555555;
    --menuLink: #999999;
    --menuLinkHover: #ffffff;
    --redColor: #ff7a7a;
    --lightRed: #ff5b5b;
    --darkGreen: #476b3c;
    --lightGreen: #b9ddb0;
    --greenHover: #caeec0;
    --link: #48bbff;
    --linkHover: #48bbff;
}

html[data-theme="misty"] {
    --mainBG: #41464b;
    --enemyBG: #687987;
    --familyBG: #606c75;
    --selWordBG: #5c6973;
    --bgColor: #ffffff;
    --bodyBG: #5c6973;
    --headerBG: #5c6973;
    --basicColor: #ffffff7d;
    --primaryColor: #9bd2ff;
    --primaryDarkColor: #d2e8f9;
    --primaryLightColor: #687987;
    --borderColor: #555c62;
    --wordColor: #e6e6e6;
    --enemyWord: #ff9999;
    --markedWord: #687987;
    --grayColor: #bebebe;
    --lightGray: #adadad;
    --darkGray: #ffffff;
    --buttonBG: #bcdbed;
    --buttonBGHover: #ddecf5;
    --buttonLetter: #555555;
    --menuLink: #353e45;
    --menuLinkHover: #ffffff;
    --redColor: #ff6b6b;
    --lightRed: #fa8686;
    --darkGreen: #476b3c;
    --lightGreen: #b9ddb0;
    --greenHover: #caeec0;
    --link: #48bbff;
    --linkHover: #48bbff;
}


@font-face {
    font-family: 'Ubuntu';
    src: url('/fonts/Ubuntu-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Yrsa';
    src: url('/fonts/Yrsa-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Yrsa';
    src: url('/fonts/Yrsa-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/*@font-face {
    font-family: 'Alkaios';
    src: url('/fonts/Alkaios.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Alkaios';
    src: url('/fonts/Alkaios-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}*/

@font-face {
    font-family: 'Times New Roman';
    src: url('/fonts/times_new_roman.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Times New Roman';
    src: url('/fonts/times_new_roman_bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


body {
	font-family: 'Ubuntu', serif;
	color:var(--darkGray);
	text-align: left;
	margin-top: 0px;
	padding-top: 0px;
        width: 100%;
        min-height: 800px; /* real browsers */
        height: auto !important; /* real browsers */
        height: 100%; /* IE6: treated as min-height*/
	top: 0px;
        background-color: var(--bodyBG);
}

.onlyMobile {
    display: none;
}

.honeyInput {
    /* display: none; */
    height: 0px;
    border: 0px;
    margin: 0px;
    padding: 0px;
}

.blink {
    animation: blinker 1s linear infinite;
    background: #ffffff;
    border-color: darkred;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.centerText {
    text-align: center;
}

.centerMe {
    margin-left: auto;
    margin-right: auto;
    display:block
}

input {
    color: black;
}
/*.footer {
    margin-top: 10px;
    min-height:50px;
    color:#DDD;
    text-align: center;
}*/

.themeButton {
    width: 40px;
    height: 40px;
    border-radius: 40px;
    background-color: black;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid white;
    cursor: pointer;
}

.themeLight {
    background-color: #83c3ff;
}
.themeGreen {
    background-color: #82b24f;
}
.themeMisty {
    background: #41464b; //#4e5b65;
}
.themeDark {
    background-color: #554c42;
}

.helpImg {
    margin-top: 150px;
}

div.mainContainer {
    width: 100%;
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
    
}

div.menuContainer {
    width:100%;
    background: var(--headerBG); /* Old browsers */
    /*background: -moz-linear-gradient(top, #ffffff 0%, #b7d8eb 100%); /* FF3.6-15 */
    /*background: -webkit-linear-gradient(top, #ffffff 0%,#b7d8eb 100%); /* Chrome10-25,Safari5.1-6 */
    /*background: linear-gradient(to bottom, #ffffff 0%,#b7d8eb 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#b7d8eb',GradientType=0 ); /* IE6-9 */
    padding-top: 20px;
    padding-bottom: 12px;
}

div.midContainer {
    margin-top: 2px;
    min-height:600px;
    background-color: var(--mainBG);
    width:100%;
}

div.footerContainer {
    margin-top: 2px;
    width:100%;
}

div.textNormal {
    font-family: 'Ubuntu', serif;
    color:var(--basicColor);
    font-size: 18px;
    margin-bottom: 10px;
}

div.menuItem {
    margin-top: 20px;
    margin-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 35px;
    display: inline-block;
}

div.menuL {
    padding-left: 0px;
    margin-right: 0%;
}

div.menuR {

    padding: 0px;
    padding-left: 22px;
}

div.blue {
    color: var(--primaryDarkColor);
}

div.flag {
    width:58px;
    height:38px;
    background-repeat: no-repeat;
    display: inline-block;
    cursor: pointer;
}

.addLanSel {
    position: absolute;
    height: 30px;
    width: 360px;
    right: 90px;
    top: -30px;
    text-align: center;
}

div.flagDE { background-image: url(/img/german_selected.png); opacity: 0.5; }
div.flagDE:hover { opacity: 1; }
div.flagEN { background-image: url(/img/english_selected.png); opacity: 0.5;}
div.flagEN:hover { opacity: 1; }
div.flagFR { background-image: url(/img/french_selected.png); opacity: 0.5;}
div.flagFR:hover { opacity: 1; }
div.flagIT { background-image: url(/img/italian_selected.png); opacity: 0.5;}
div.flagIT:hover { opacity: 1; }
div.flagES { background-image: url(/img/spain_selected.png); opacity: 0.5;}
div.flagES:hover { opacity: 1; }
div.flagLA { background-image: url(/img/latin_selected.png); opacity: 0.5;}
div.flagLA:hover { opacity: 1; }
div.flagGR { background-image: url(/img/greece_selected.png); opacity: 0.5;}
div.flagGR:hover { opacity: 1; }
div.activeFlag {opacity:1 !important;}
/* IMPRESSUM */

.imprHeaderA {
    font-size: 27px;
    font-family: 'Ubuntu';
    color: #444;
}

.imprHeaderB {
    margin-bottom: 5px;
    font-size: 16px;
    padding-left: 15px;
    font-family: 'Ubuntu';
    color: #444;
}

.imprText {
    padding-left: 20px;
    font-size: 13px;
    color: #444;
    background-color: #fff;
    border: 1px dashed #AAA;
    padding: 15px;
    border-radius: 5px;
    line-height: 17px;
    font-family: 'Ubuntu';
}

.imprList {
    
}


/*  FIRST PAGE */

.circleMe {
    border-radius: 50%;
    width: 21px;
    font-size: 1.0em;
    height: 21px;
    color: var(--redColor);
    border: 3px solid var(--redColor);
    display: inline-block;
    text-align: center;
    font-weight: bold;
    line-height: 1.2em;
}

.welcomeWords {
    font-family: 'Alike';
    font-size: 46px;
    color: var(--primaryDarkColor);
    width:49%;
    display: inline-block;
    margin-bottom: 15px;
    box-sizing: border-box;
    padding-left: 30px;
    padding-right: 15px;
    vertical-align: top;
    white-space: nowrap;
}

.welcomeSymbol {
    width: 0px;
    height: 0px;
    position:relative;
    left: -10px;
    font-family: 'Alike';
    font-size: 46px;
    color: var(--primaryDarkColor);
    display: inline-block;
}


/* TEXT VIEW  */

div.textContainer {
    height: 480px;
    overflow-y: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

.textContainer::-webkit-scrollbar {
    width: 10px;
}

.textContainer::-webkit-scrollbar-track {
    background: #EEE; 
}

.textContainer::-webkit-scrollbar-thumb {
    background: var(--primaryLightColor);
}

.textContainer::-webkit-scrollbar-thumb:hover {
    background: var(--primaryLightColor);
}


/* BREADCRUMBS */

.breadcrumb {
    text-align: right;
    width: 100%;
    letter-spacing: 0em;
    font-family: 'Ubuntu';
    color: var(--basicColor);
    font-size: 12px;
    /*background-color: white;*/
}


.breadOl {
    list-style-type: none;
    margin: 5px;
}

.breadLi {
    display: inline-block;
}

.breadOl li+li:before {
    content:"» ";
}


/* ADMIN */

div.adminTextContainer {
    height: 330px;
    overflow-y: auto;
    box-sizing: border-box !important;
}

div.mainToolbox {
    display: inline-block;
    border-radius: 5px;
    width:95%;
    min-height: 445px;
    background-color: var(--mainBG);
}

div.spTBL {
    margin-right:20px;
    width:calc(50% - 20px);
    vertical-align: top;
}

div.spTBR {
    margin-left:20px;
    width:calc(50% - 20px);
    vertical-align: top;
}

div.subContainer {
    background-color: #EEE;
    border-radius: 3px;
    box-sizing: border-box;
    padding: 10px;
}

div.toolMenu {
    height: 55px;
    width: 95%;
}

div.toolMenuItem {
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    background-color: var(--primaryLightColor);
    padding: 5px;
    color: var(--primaryDarkColor);
    text-align: center;
    border-left:2px solid var(--familyBG);
    border-right:2px solid var(--familyBG);
    margin-top: 28px;
    cursor: pointer;
}
div.toolMenuItem:hover {
    background-color: var(--lightGreen);
}

div.toolSel {
    background-color: var(--lightGreen);
}

div.activeWord {
    cursor: pointer;
    padding: 1px;
    display: inline-block;
    color: var(--wordColor);
}
div.activeWord:hover {
    border: 1px solid var(--lightGray);
    padding: 0px;
    border-radius: 3px;
}

.basicWord {
    cursor: pointer;
}

.fBadge {
    background-color: var(--redColor);
    padding: 0px 5px;
    font-size: 15px;
    border-radius: 4px;
    color: white;
    vertical-align: bottom;
    padding-top: 2px;
}

div.editTransWord {
    cursor: pointer;
    display: inline-block;
    padding:1px;
    padding-right: 5px;
    padding-left: 5px;
    margin-right: 3px;
    color: #000;
    border-radius: 3px;
    border: 1px solid #CCC;
    min-height: 18px;
    background-color: white;
}
div.editTransWord:hover {
    text-decoration: line-through;
    color: var(--redColor);
    border: 1px solid var(--redColor);
}

div.editTransWordThru {
    text-decoration: line-through;
    color: var(--redColor);
    border: 1px solid var(--redColor);
}

div.unknownWord {
    padding: 1px;
    margin: 0px;
    display:inline-block;
    margin-bottom: 0px;
    cursor: pointer;
    color: var(--redColor);
}
div.unknownWord:hover {
    padding: 0px;
    border-radius: 3px;
    border: 1px solid var(--redColor);
}

div.wordParent {
    font-family: 'Yrsa' !important;
    color: black;
}
div.wordChild {
    font-family: 'Yrsa' !important;
    color: #000;
}

.wordLan {
    color: var(--grayColor);
    font-size: 13px;
    padding-top: 2px;
    
}

div.wordMarked {
    background-color: var(--markedWord);
}

.wordAdminMark {
    text-decoration: underline;
    text-decoration-color: firebrick;
    text-underline-offset: 3px;
}

n {
    color: var(--wordColor);
}

div.selWordContainer {
    padding:5px;
    padding-top: 8px;
    border: 1px dashed var(--borderColor);
    border-radius: 6px 6px 0px 0px;
    min-height: 36px;
    font-size: 18px;
    background-color: var(--selWordBG);
    
}

div.cfgButtonContainer {
    padding:5px;

    min-height: 36px;
    font-size: 18px;

}

div.emptyLine {
    min-height: 16px;
    border-bottom: 1px dashed var(--borderColor);
}

div.emptyLine.double {
    min-height: 32px;
}

div.famWordContainer {
    padding:5px;
    padding-top: 8px;
    border-bottom: 1px dashed var(--borderColor);
    border-left: 1px dashed var(--borderColor);
    border-right: 1px dashed var(--borderColor);
    font-size: 18px;
    background-color: var(--familyBG);
}

div.enemyContainer {
    padding:5px;
    border-bottom: 1px dashed var(--borderColor);
    border-left: 1px dashed var(--borderColor);
    border-right: 1px dashed var(--borderColor);
    font-size: 18px;
    background-color: var(--enemyBG);
}

div.connContainer {
    font-size: 18px;
}

div.wordOptions {
    text-align: center;
    padding-right: 5px;
}

.mainPopup {
    width: 330px !important;
}

div.pagination {
    
}

#readFurther {
    font-size: 13px;
    color: var(--lightGray);
    padding-top: 10px;
}

div.page {
    border: 2px solid var(--lightGray);
    border-radius: 5px;
    font-family: 'Ubuntu';
    padding: 3px;
    width: 20px;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    margin-right: 3px;
    color: var(--lightGray);
    margin-bottom: 3px;
}
div.page:hover {
    background-color: var(--primaryLightColor);
    color: var(--primaryDarkColor);
}

.unpublic {
    background-color: #ffbdb1;
}

div.pageSel {
    /*border: 2px solid var(--primaryDarkColor);*/
    border-radius: 5px;
    font-family: 'Ubuntu';
    padding: 5px;
    width: 20px;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    margin-right: 3px;
    background-color: var(--primaryLightColor);
    color: var(--primaryDarkColor);
    margin-bottom: 4px;
}
/* BUTTONS */

div.redButton {
    cursor: pointer;
    text-align: center;
    background-color: #ffdbd0;
    border: 1px solid #bb3804;
    border-radius: 3px;
    display: inline-block;
    color:#cc4915;
    font-family: 'Ubuntu';
}
div.redButton:hover {
    background-color: #ffece1;
}

div.orangeButton {
    cursor: pointer;
    text-align: center;
    background-color: #f8ae75;
    border: 1px solid #fa7b0b;
    border-radius: 3px;
    display: inline-block;
    color: #681b09;
    font-family: 'Ubuntu';
}
div.orangeButton:hover {
    background-color: #fdc8a7;
}

div.grButton {
    cursor: pointer;
    text-align: center;
    background-color: #b9ddb0;
    border: 1px solid #6ca35b;
    border-radius: 3px;
    display: inline-block;
    color:#476b3c;
    font-family: 'Ubuntu';
}
div.grButton:hover {
    background-color: #caeec0;
}

div.greenButton {
    /*height: 16px;
    position:relative;
    top: -2px;*/
    cursor: pointer;
    text-align: center;
    background-color: #b9ddb0;
    border: 1px solid #6ca35b;
    border-radius: 3px;
    display: inline-block;
    color:#476b3c;
    font-family: 'Ubuntu';
}
div.greenButton:hover {
    background-color: #caeec0;
}

div.blueButton {
    text-align: center;
    background-color: #b7d8eb;
    border: 1px solid #a6c7da;
    border-radius: 3px;
    display: inline-block;
    color:#476b3c;
    font-family: 'Ubuntu';
}
div.blueButton:hover {
    background-color: #b7d8eb;
}

div.whiteButton {
    text-align: center;
    background-color: #fff;
    border: 1px solid #888;
    border-radius: 3px;
    display: inline-block;
    color:#888;
    font-family: 'Ubuntu';
    padding:5px;
    transform: scale(1.2);
}

.cfgButton {
    cursor: pointer;
    text-align: center;
    background-color: #CCC;
    border: 1px solid #999;
    border-radius: 3px;
    display: inline-block;
    color:#555;
    font-family: 'Ubuntu';
    margin-right: 5px;
    padding:2px;
}
.cfgButton:hover {
    background-color: #EEE;
}

.copyBut {
    cursor: pointer;
}
.copyBut:hover {
    color: #6ca35b;
}

.raiseBut{
    cursor: pointer;
}
.raiseBut:hover{
    color: #6ca35b;
}

.smallButt{
    width: 26px;
    padding:3px;
    margin-right: 3px;
}

.bigButt {
    height: 18px !important;
    vertical-align: middle;
    padding: 0.5em 0.6em;
}

/* TEXTLIST NEW */
/*.textListLineContainer {
    display: flex;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.textListContainer {
    display: inline-flex;
    flex-flow: column;
    border: 1px dashed #CCC;
    width: calc(33% - 30px);
    box-sizing: border-box;
    padding: 10px;
    padding-top: 30px;
    margin-bottom: 20px;
    margin-top: 20px;
    vertical-align: top;
}

.textListGap {
    display: inline-block;
    width: 40px;
}

.textListFlag {
    height: 0px;
    position: relative;
    top: -56px;
}

.textListHeader {
    height: 0px;
    position: relative;
    top: -53px;
    left: 60px;
    font-family: Yrsa;
    font-size: 23px;
    color: #b9b9b9;
}*/

.textListItemProsa {
    margin-bottom: 20px;
}

.textListItemVerse {
    margin-bottom: 20px;
}

.textListTitle {
    margin-left: 50px;
    color: var(--darkGray);
    font-size: 16px;
    margin-top: 3px;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.textListTitle:hover {
    color: var(--primaryColor);
}

.textListAuthor {
    font-size: 23px;
    font-family: Yrsa;
    line-height: 23px;
    margin-left: 30px;
    color: var(--primaryColor);
}

/*.verseGap {
    margin-bottom: 10px;
    margin-top: auto;
}

.verseTitle {
    border-top: 1px dashed #b9b9b9;
    padding-top:10px;
    margin-bottom: 10px;
    margin-top:20px;
    font-family: Yrsa;
    font-size: 23px;
    color: #b9b9b9;
    text-align: center;
}



.textListType {
    
}*/

/* TEXTLIST */

/*div.editButton {
    width: 150px;
    height: 0px;
    position: relative;
    left:30px;
    top:0px;
}

div.listHeader {
    margin-top: 40px;
    font-size: 30px;
    color: #999;
    height: 50px;
    margin-bottom: 70px;
}

div.listArrow {
    width:0px;
    height: 50px;
    display: inline-block;
}

img.listArrow {
    position: relative;
    top: 15px;
    left: -100px;
    z-index: 5;
}

img.listArrowFlag {
    position:relative;
    z-index: 6;
    top:10px;
}

div.book {
    background-image: url('../img/book.png');
    margin-bottom: 30px;
    height: 270px;
    background-repeat: no-repeat;
}

div.bookNew {
    background-image: url('../img/bookNew.png');
    width: 200px;
    height: 270px;
    background-repeat: no-repeat;
}*/

h1 {
    margin-top: 50px;
    font-size: 25px;
    font-family: 'Ubuntu';
    text-align: center;
}

h2 {
    margin: 0px;
    padding: 0px;
    font-family: 'Yrsa';
    font-size: 15px;
    font-weight: normal;
    margin: 30px;
    margin-right: 50px;
    margin-top: 40px;
    margin-bottom: 10px;
    color: #999;
    height: 42px; 
}

h3 {
    font-family: 'Yrsa';
    font-size: 30px;
    margin-top: 0px;
    margin-left: 10px;
    color: #6ca35b;
}

h4 {
    padding: 0px;
    margin: 0px;
    margin-bottom: 20px;
    padding-left: 100px;
    padding-bottom: 10px;
    display: inline-block;
    font-family: 'Yrsa';
    font-weight: normal;
}

h5 {
    font-family: 'Yrsa';
    color: #345d74;
    font-size: 25px;
    font-weight: normal;
    margin: 30px;
    margin-right: 50px;
    margin-top: 15px;
    height: 70px;
    overflow: hidden;
}

img.imgFlag {
    padding-right: 2px;
}

/*  STEP ARROW   */

.author {
    font-family: 'Yrsa';
    font-size: 12px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 5px;
    border: 1px solid #999;
    border-radius: 3px;
}

div.titleContainer{
    text-align: center;
    margin-bottom: 20px;
}

.title {
    font-family: 'Yrsa';
    font-size: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border-radius: 3px;
    border: 1px solid #999;
    margin-bottom: 5px;
}

div.stepHeader {
    margin-top: 40px;
    font-size: 30px;
    color: #999;
    height: 50px;
    margin-bottom: 20px;
    
}

div.stepArrow {
    width:0px;
    height: 50px;
    display: inline-block;
    position:relative;
    top:-9px;
    left: 45px;
}

img.stepArrowFlag {
    position:relative;
    z-index: 6;
    top:-12px;
}

div.newToolbox {
    display: inline-block;
    
    border: 2px dotted #555;
    width:95%;
    min-height: 400px;
    background-color: #EEE;
}

div.nextArrow {
    background-image: url('https://www.etymoliterat.com/img/nextArrow.png');
    background-repeat: no-repeat;
    height: 50px;
    color: #FFF;
    font-size: 30px;
    padding-top:7px;
    padding-left:10px;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}
div.backArrow {
    background-image: url('https://www.etymoliterat.com/img/backArrow.png');
    background-repeat: no-repeat;
    background-position: right top;
    height: 50px;
    color: #FFF;
    text-align: right;
    font-size: 30px;
    padding-top:7px;
    padding-right:10px;
    margin-right: 5px;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

div.backArrow:hover {
    color: #6ca35b;
}
div.nextArrow:hover {
    color: #6ca35b;
}

div.whiteFont {
    color: white;
}

div.basic {
    padding: 0px;
    margin: 0px;
    display:inline-block;
}

div.newBasic {
    padding: 0px;
    margin: 0px;
    display:inline-block;
    border: 2px solid #999;
    cursor: pointer;
    border-radius: 3px;
}

div.symbol {
    padding: 0px;
    margin: 0px;
    display:inline-block;
}

div.word {
    padding: 0px;
    margin: 0px;
    background-color: #dbffd0;
    display:inline-block;
    margin-bottom: 5px;
    border: 2px solid #caeec0;
    cursor: pointer;
    border-radius: 3px;
}
div.word:hover {
    background-color: #ecffe1;
    border: 2px dotted #444;
}

div.unknown {
    padding: 0px;
    margin: 0px;
    background-color: #ffdbd0;
    display:inline-block;
    margin-bottom: 5px;
    border: 2px solid #eecac0;
    cursor: pointer;
    border-radius: 3px;
}
div.unknown:hover {
    background-color: #ffece1;
    border: 2px dotted #444;   
}

div.known {
    display: inline-block;
}

div.unknownEdit {
    padding: 0px;
    margin: 0px;
    background-color: #ff7b52;
    color: white;
    display:inline-block;
    margin-bottom: 5px;
    border: 2px solid #f96239;
    cursor: pointer;
    border-radius: 3px;
}

div.parsedText {
    font-family: 'Yrsa';
    font-size: 20px;
    font-weight: normal;
    color: var(--basicColor);
    padding-right: 10px;
}

.myInput {
    border-radius: 3px;
    font-family: 'Ubuntu';
    font-size: 25px;
    padding: 6px 14px;
    border: 1px solid #999;
    box-sizing: border-box;
    width: 295px;
}

.myInput2 {
    border-radius: 3px;
    font-family: 'Ubuntu';
    font-size: 25px;
    padding: 6px 14px;
    border: 1px solid #999;
    box-sizing: border-box !important;
    width: 100%;
}

.myInput3 {
    border-radius: 3px;
    font-family: 'Ubuntu';
    font-size: 15px;
    padding: 3px 7px;
    border: 1px solid #999;
    box-sizing: border-box !important;
    width: 180px;
    display: inline-block;
    margin-bottom: 2px;
}

.wLabel {
    font-size: 15px;
    display: inline-block;
    padding: 3px 15px;
    box-sizing: border-box !important;
    color: var(--darkGray);
}

.wMiniLabel {
    font-size: 12px;
    padding: 3px;
    margin-top: 20px;
    margin-bottom: 5px;
    color: #345d74;
}

.resultBox {
    width: 350px;
    height: 300px;
    background-color: white;
    border: 1px solid #999;
    box-sizing: border-box;
    border-radius: 3px;
    font-family: 'Ubuntu';
    min-height: 200px;
    margin-top: 20px;
    display: block;
    padding: 5px;
    overflow-y: scroll;
}

.resultBox2 {
    width: 100%;
    background-color: white;
    border: 1px solid #999;
    box-sizing: border-box !important;
    border-radius: 3px;
    font-family: 'Ubuntu';
    height: 200px;
    margin-top: 20px;
    display: block;
    padding: 5px;
    overflow-y: scroll;
}


div.resultConnection {
    color: #6ca35b;
    display: block;
    margin-bottom: 20px;
    font-weight: bold;
}

div.resultHeader {
    color: #adadad;
    font-size: 15px;
}

div.resultWord {
    font-family: 'Yrsa';
    font-size: 20px;
    display: inline-block;
    width: calc(100% - 80px);
}

div.resultButContainer {
    
    display: inline-block;
}

div.resultBut {
    padding: 3px;
    background-color: #caeec0;
    border: 1px solid #345d74 ;
    box-sizing: border-box;
    border-radius: 3px;
    cursor:pointer;
    text-align: center;
}
div.resultBut:hover {
    background-color: #c8e9fc;
}

div.addNewContainer {
    margin-top: 20px;
    width: 295px;
    margin-left: auto;
    margin-right: auto;
}

div.addNewContainer2 {
    margin-top: 20px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

div.quotes {
    font-family: 'Ubuntu' !important;
    color: var(--darkGray);
    font-size: 18px;
    
}

/* WORD CSS */

div.mainWord {
    display: inline-block;
    color: var(--wordColor);
}

div.famWord {
    display: inline-block;
    color: var(--wordColor);
}

div.transWord {
    display: inline-block;
    color: var(--wordColor);
    padding-right: 3px;
}

.admin {
    cursor: pointer;
    border: 1px solid transparent;
}
.admin:hover {
    border: 1px solid var(--lightGray);
    border-radius: 3px;
}

.Letter {
    font-family: 'Yrsa';
    font-size: 25px;
    display: inline-block;
    color: var(--wordColor);
    border: 1px solid var(--lightGray);
    border-radius: 3px;
    width: 22px;
    text-align: center;
    text-transform: uppercase;
    margin:1px;
    cursor: pointer;
}

.Letter:hover {
    background-color: #b7d8eb;
}


.lS {
    /*display: inline-block;*/
    text-rendering: optimizeSpeed;
}
.toggleLetter {
    /*color: #3fa6e0;  */
    color: var(--primaryColor);
    /*color: #4178c0; */
    /*color: #ff8200; */
}

.enemyContainer .toggleLetter {
    color: var(--enemyWord);
}

.wProps {
    display: inline-block;
}

.cfgWordDelete {
    display: inline-block;
    color: var(--redColor);
    margin-left: 10px;
    margin-right: 20px;
    cursor: pointer;
    position: relative;
    top:3px;
}
.cfgWordDelete:hover {
    color: var(--lightRed);
}
.cfgWordEdit {
    display: inline-block;
    color: var(--primaryColor);
    margin-left: 10px;
    margin-right: 0px;
    cursor: pointer;
    position: relative;
    top:4px;
}
.cfgWordEdit:hover {
    color: var(--primaryLightColor);
}

.textWordSave {
    display: inline-block;
    color: var(--primaryColor);
    margin-left: 10px;
    margin-right: 0px;
    cursor: pointer;
    position: relative;
    top:4px;
    font-size:2.2rem;
}
.textWordSave:hover {
    color: var(--primaryLightColor);
}

.cfgWordSave {
    display: inline-block;
    color: #345d74;
    margin-left: 20px;
    cursor:pointer;
}

.smallPopup {
    width: auto !important;
}

.markFamily {
    position: absolute;
    color: red;
    left: -11px;
}

/* STATISTICS */

.statsBox {
    width: 400px;
    border: 1px dotted #777;
    box-sizing: border-box;
    padding: 20px;
    display: inline-block;
    background-color: #e4f1f8;
    margin: 10px;
}

.statsHeader {
    text-align: center;
    width: 100%;
    color: #345d74;
    font-family: 'Alike';
    margin-bottom: 10px;
}

.statsContent {
    text-align: left;
    font-size: 14px;
    font-family: 'Alike';
    
}

.statsSite {
    display: inline-block;
    width: 280px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    padding-right: 10px;
}

.statsHits{
    display: inline-block;
    width: 50px;
    margin-right: 8px;
    border-radius: 3px;
    text-align: center;
    background-color: white;
}

.statsInfo {
    display: inline-block;
    width: 20px;
}

/* PLACEHOLDER */

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: var(--lightGray);
}
::-moz-placeholder { /* Firefox 19+ */
  color: var(--lightGray);
}
:-ms-input-placeholder { /* IE 10+ */
  color: var(--lightGray);
}
:-moz-placeholder { /* Firefox 18- */
  color: var(--lightGray);
}

/* ZEBRA POPUP  */

.ZebraDialog {
    font-family: 'Ubuntu';
    border: 1px solid #999;
    border-radius: 5px;
    padding: 2px;
    width: 295px;
    background-color: white;
}

.ZebraDialog .ZebraDialog_Title {
    font-family: 'Ubuntu';
    font-weight: normal;
    padding: 5px;
    
}

.ZebraDialog_BodyOuter {
    min-height: 0px;
    
}

.ZebraDialog .ZebraDialog_Body {
    padding:5px;
}

.ZebraDialog_ButtonsOuter {
    text-align: center;
}

.ZebraDialog .ZebraDialog_Buttons a {    
    color: black;
    display: inline-block;
    float: none;
    background-color: #caeec0;
    border: 1px solid #345d74;
    padding: 3px;
    font-family: 'Ubuntu';
    font-weight: normal;
    border-radius: 3px;
    margin: 2px;
}

.ZebraDialog .ZebraDialog_Buttons a:hover {
    background-color: #c8e9fc;
    color: black;
}




/* STANDARDS  */
p {
    font-family: 'Ubuntu';
    font-size: 16px;
    color: var(--primaryColor);
    padding-left: 30px;
    padding-right: 30px;
}

.bigger {
    font-size: 23px !important;
}

.grFont {
    font-family: 'Times New Roman' !important;
}

.warning {
    color: var(--redColor);
}

.Yrsa {
    font-family: 'Yrsa';
}

.smallFont {
    font-size: 12px;
}

.white {
    color: white;
}

.nobr {
    white-space: pre-wrap; /* Preserves whitespace and allows wrapping */
    word-break: break-word; /* Breaks long words if necessary */
}

.nobr b,
.nobr i,
.nobr n {
    white-space: nowrap;
}

.gray {
    color: var(--grayColor);
}

.ipa {
    color: var(--grayColor);
    display: inline-block;
    float: right;
    padding-right: 10px;
    font-family: 'Ubuntu';
    font-size: 15px;
    overflow: hidden;
    padding-top: 2px;
}

.small{
    font-family: "Ubuntu";
    font-size: 13px;
}

.cursiv {
    font-style: italic;
}

.bold {
    font-weight: bold;
}

.blue {
    color: var(--primaryColor);
}

.Ubuntu {
    font-family: "Ubuntu";
}

o {
   text-decoration: underline;
}

.curse {
    cursor: pointer;
}

.missingTrans {
    background-color: #fbefef;
    border-radius: 5px;
    margin-top: 5px;
    padding: 10px;
    border: solid 2px #ffbfbf;
    line-height: 1.5em;
}

/* STARTSEITE */

.portrait {
    border-radius: 20px;
    max-width: 200px;
    width: 100%;
}

.startAuthor {

    background-color: var(--mainBG);
    position: relative;
    top: -12px;
    padding: 2px 8px;
    display: inline;
    border-radius: 5px;
}

.startTitle {
    font-size: 1.6em;
    position: relative;
    top: -10px;

    margin-bottom: 20px;
}

/* LINKS  */

a.linkMenu:link,a.linkMenu:visited {
	color:var(--menuLink);
	text-decoration:none;
}
a.linkMenu:hover,a.linkMenu:active {
	color: var(--menuLinkHover);
}

a.darkLink:link,a.darkLink:visited {
	color:var(--darkGray);
	text-decoration:none;
}
a.darkLink:hover,a.darkLink:active {
	color:var(--darkGray);
}

a.linkBlue:link,a.linkBlue:visited {
	color:var(--primaryDarkColor);
	text-decoration:none;
}
a.linkBlue:hover,a.linkBlue:active {
	color:var(--primaryColor);
}

a.whiteLink:link,a.whiteLink:visited {
	color:#ddd;
	text-decoration:none;
}
a.whiteLink:hover,a.whiteLink:active {
	color:#fff;
}

a.extLink:link,a.extLink:visited {
	color:var(--primaryDarkColor);
	text-decoration:none;
        font-family: "Ubuntu";
        font-size: 13px;
}
a.extLink:hover,a.extLink:active {
	color:var(--primaryColor);
}

a.mainLink:link,a.mainLink:visited {
	color:var(--primaryColor);
	text-decoration:none;
        font-family: "Ubuntu";
        font-size: 13px;
}
a.mainLink:hover,a.mainLink:active {
	color:var(--primaryLightColor);
}

a.startLink:link,a.startLink:visited {
    color: var(--primaryColor);
    text-decoration:none;
    font-family: "Ubuntu";
}
a.startLink:hover,a.startLink:active {
    color: var(--primaryDarkColor);
}

/* SPECIALS */

.fastInsert {
    width: 700px;
}

.fastInsertInfo {
    margin-bottom: 5px;
    font-size: 12px;
    color: white;
}

.miniTut {
    opacity: 0.5;
    padding: 20px 30px;
    border-radius: 10px;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    color: var(--primaryColor);
}

.miniTutPoint {
    /* background-color: #e0e0e0; */
    color: var(--darkGray);
    padding: 5px 7px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 10px;
    /* font-weight: bold; */
    border: 1px solid var(--darkGray);
}

/* PURE CSS GRID  */

.pure-g [class *= "pure-u"] {
    font-family: 'Ubuntu', sans-serif;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* TEXT CAROUSSEL */

#carousselContainer {
    position:relative;
}

.textCaroussel {
    width: 100%;
    overflow: hidden;
    min-height: 200px;
    white-space: nowrap;
}

.textFolder {
    display:inline-block;
    width: 100%;
    padding: 30px;
    box-sizing: border-box;

}

.pvHeadline {

    font-size: 2em;
    font-family:Yrsa;
    margin-bottom: 20px
}

.textSubItem {
    width: 13.5%;
    margin: 5px;
    display: inline-block;
    border-radius: 5px;
    background-color: var(--primaryLightColor);
    box-sizing: border-box;
    padding-top: 5px;
    text-align: center;
    font-family: Yrsa;
    font-size: 1.5em;
    color: var(--darkGray);
    cursor: pointer;
    border: 2px solid var(--primaryLightColor);
}

.textSubItem:hover {
    opacity: 0.8;
}

.subItemSel {
    border: 2px solid var(--darkGray);

}

.textSubmenu {
    display: flex;
    justify-content: center;
}

/* LEXICON */
.lexInfoBox {
    background-color: var(--headerBG);
    border-radius: 3px;
    padding: 10px 20px 20px 20px;
    display:none;
    margin-bottom: 50px;
}

.infoIcon {
    text-align: center;
    display: block;
    padding: 15px;
    font-size: 2rem;
    color: var(--menuLink);
}
.lexInfoTab td {
    border: 1px solid gray;
    padding: 9px;
    text-align: center;
}


/* SPINNER */

.lds-ellipsis {
    display: block;
    margin-left:auto;
    margin-right:auto;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--primaryColor);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}



/* MOBILE VIEW */

@media screen and (max-device-width: 1020px) {

    h1 {
        margin-bottom: 30px;
    }
    
    .noMobile {
        display: none !important;
    }
    
    .onlyMobile {
        display: block;
    }
    
    html,body {
        width:100%;
        min-height: 100% !important;
        padding-bottom: 0px;
        margin-bottom: 0px;
        font-size: 10px;
    }

    h1 {
        font-size: 20px;
    }

    div.mainContainer {
        width: 100%;
        
    }
    
    div.menuContainer {
        width:100%;
    }

    div.mainToolbox {
        display: block;
    }
    
    .mHeader {
        text-align: center;
        width: 100%;
        font-size: 40px;
        margin-bottom: 12px;
        color: var(--primaryColor);
    }
    
    div.flag {
        width: 40px;
        height: 30px;
        margin: 2px;
        vertical-align: bottom;
    }

    div.flagDE { background-image: url(/img/german_selected.png); opacity: 0.5; background-size: contain}
    div.flagDE:hover { opacity: 1; }
    div.flagEN { background-image: url(/img/english_selected.png); opacity: 0.5; background-size: contain}
    div.flagEN:hover { opacity: 1; }
    div.flagFR { background-image: url(/img/french_selected.png); opacity: 0.5; background-size: contain}
    div.flagFR:hover { opacity: 1; }
    div.flagIT { background-image: url(/img/italian_selected.png); opacity: 0.5; background-size: contain}
    div.flagIT:hover { opacity: 1; }
    div.flagES { background-image: url(/img/spain_selected.png); opacity: 0.5; background-size: contain}
    div.flagES:hover { opacity: 1; }
    div.flagLA { background-image: url(/img/latin_selected.png); opacity: 0.5; background-size: contain}
    div.flagLA:hover { opacity: 1; }
    div.flagGR { background-image: url(/img/greece_selected.png); opacity: 0.5; background-size: contain}
    div.flagGR:hover { opacity: 1; }
    
    .mFlags {
        width: calc(100% - 20px);
        max-width: 400px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        padding-left: 10px;
        text-align: center;
    }
    
    .mMenu {
        text-align: center;
        line-height: 2em;
        margin-top: 20px;
    }
    
    div.menuItem {
        font-size: 20px;
        padding-left: 3px;
        padding-right: 3px;
        margin-top: 0px;
        margin-bottom: 0px;
    }
    
    div.textNormal {
        font-size: 14px;
        margin-bottom: 3px;
    }
    
    div.quotes {
        font-size: 14px;
        display: block;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    div.spTBL {
        margin-right:auto;
        margin-left:auto;
        width:calc(100% - 40px);
        margin-top: 20px;
    }

    div.spTBR {
        margin-right:auto;
        margin-left:auto;
        width:calc(100% - 40px);
        margin-top: 20px;
    }
    
    div.famWordContainer, div.selWordContainer {
        font-size: 15px;
    }
    
    div.welcomeWords, div.welcomeSymbol {
        font-size: 20px;
    }
    
    div.welcomeSymbol {
        left: -5px;
    }
    
    div.welcomeWords {
        padding-left: 18px;
    }
    
    .small {
        
    }
    
    div.midContainer {
        min-height: 600px; 
    }
    
    .helpImg {
        margin-top: 10px;
        margin-bottom: 50px;
        width: 95%;
    }
    
    div.textListLineContainer {
        display: block;
        padding-left: 10px;
        padding-right: 10px;
        width: 100%;
        
    }
    
    div.textListContainer {
        width:100%;
        margin-bottom: 50px;
    }
    
    div.textListGap{
        display: none;
    }
    
    div.textContainer {
        display: block;
        overflow: hidden;
        padding: 20px;
        height: auto;
    }
    
    #toolBoxContainer {
        padding: 20px;
    }
    
    div.toolMenu {
        height: 0px;
    }

    .textSubmenu {
        flex-wrap: wrap;
    }

    .textSubItem {
        width: 25%;
        font-size: 1.8em;
    }

    .portrait {
        width: 80%;
    }

    div.pageSel, div.page {
        font-size: 2rem;
        width: 30px;
    }

    #pagination {
        width: auto;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .miniTutPoint {
        font-size: 1.6rem;
    }

    div.mainToolbox {
        width: 100%;
        margin-bottom: 30px;
    }

}