html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}


html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    margin: 0;
    padding: 0;
}
.textToProcess {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-content: center;
    justify-content: center;
    align-items: center;
}
#initialText, #processedText {
    height: 10vh;
    padding: 1rem;
    border: solid 1px black;
    width: 40vw;
    background: #ebebeb;
    font-size: 1.2rem;
    font-weight: bolder;
    color: black;
}
.textToProcess button, #processedBlock .defaultBtn {
    width: 15vw;
    height: 5vh;
    margin: 2rem 0 0 0;
    background: #ea4d3d;
    text-transform: uppercase;
    font-weight:bold;
    border: black solid 2px;
    color: white;
}

#words {
    list-style: none;
    padding: 2rem;
    display: flex;
    margin: 1rem;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.word {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 40vw;
    margin: 1rem;
    align-content: space-between;
    justify-content: space-evenly;
    align-items:center;
}

    .word p {
        margin: 0 5px;
        font-size: 1.4rem;
    }

    .alternativeWordInput{
        font-size: 1.4rem;
        font-weight: bold;
        width:20vw;
        color: black;
        background: #ebebeb;
    }
.newWordInput {
    font-size: 1rem;
    width:80%;
    font-weight: bold;
    color: black;
    background: #ebebeb;
}
.draggPlace {
    display: flex;
    width: 100%;
}

.disabledBtn {
    color: grey !important;
    background: #ebebeb !important;
}


#continueBtn {
    background: #efefef !important;
    color: black !important;
}

#processedText {
    text-align: center;
}
#processedBlock {
    text-align: center;
}

body {
    margin: 0 20px;
    max-width: 100%;
    padding: 0;
}

.container {
    border: 2px solid #dedede;
    background-color: #f1f1f1;
    border-radius: 5px;
    padding: 10px;
    margin: 10px 0;
}

.darker {
    border-color: #ccc;
    background-color: #ddd;
}

.container::after {
    content: "";
    clear: both;
    display: table;
}

.container img {
    float: left;
    max-width: 60px;
    width: 100%;
    margin-right: 20px;
    border-radius: 50%;
}

    .container img.right {
        float: right;
        margin-left: 20px;
        margin-right: 0;
    }

.time-right {
    float: right;
    color: #aaa;
}

.time-left {
    float: left;
    color: #999;
}

.container-sender {
    display: flex;
    margin: 10rem 0px 0 0;
    justify-content: space-between;
}
    .container-sender input {
        width: 90%;
    }

@media (max-width: 700px) {
    .word {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        margin: 1vw;
        justify-content: flex-start;
    }
    #initialText, #processedText {
        height: 10vh;
        padding: 1vw;
        border: solid 1px black;
        width: 100%;
        background: #ebebeb;
        font-size: 1.2rem;
        font-weight: bolder;
        color: black;
    }
    .alternativeWordInput {
        font-size: 1.4rem;
        font-weight: bold;
        width: 100%;
        margin: 1rem 0;
        color: black;
        background: #ebebeb;
    }
    .textToProcess button, #processedBlock .defaultBtn {
        width: 100%;
        height: 5vh;
        margin: 2rem 0 0 0;
        background: #ea4d3d;
        text-transform: uppercase;
        font-weight: bold;
        border: black solid 2px;
        color: white;
    }
    .newWordInput {
        font-size: 1rem;
        width: 100%;
        font-weight: bold;
        color: black;
        background: #ebebeb;
    }
}


.ui-dropdown-list {
    position: relative;
}

p.ui-dropdown-list-trigger {
    margin-top: 0;
}

.ui-dropdown-list-trigger strong {
    position: relative;
    z-index: 999;
}

    .ui-dropdown-list-trigger strong:after {
        display: block;
        position: absolute;
        content: '';
        right: 5px;
        top: 10px;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid #012D6B;
    }

.ui-dropdown-list-trigger strong,
.ui-dropdown-list ul a {
    display: block;
    width: 80px;
    cursor: pointer;
    padding: 6px 8px;
    font-size: 13px;
    line-height: 13px;
    color: #012D6B;
    font-weight: normal;
}

.ui-dropdown-list ul {
    display: none;
    position: absolute;
    right: 0;
    top: 25px;
    margin-top: 0;
    padding: 0;
    z-index: 1000;
}

.ui-dropdown-list li {
    list-style-type: none;
}

.ui-dropdown-list ul a,
.ui-dropdown-list ul a:link,
.ui-dropdown-list ul a:visited {
    position: relative;
    display: block;
    float: right;
    background-color: #D9CBA2;
}

    .ui-dropdown-list ul a:hover,
    .ui-dropdown-list ul a:focus {
        border-bottom: none;
        background-color: #009AFF;
        color: #fff;
    }
.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* JS interactivity */
.no-js .ui-dropdown-list ul,
.ui-dropdown-list.active ul {
    display: block;
}

.ui-dropdown-list.active strong {
    background-color: #012D6B;
    color: #fff;
}

    .ui-dropdown-list.active strong:after {
        border-top-color: #fff;
    }

#lang-switcher a,
#lang-switcher strong {
    padding-left: 30px;
    background-image: url(../images/flag-de.gif);
    background-repeat: no-repeat;
    background-position: 8px center;
}

    #lang-switcher a.en,
    #lang-switcher .en strong {
        background-image: url(../images/flag-en.gif);
    }

    #lang-switcher a.fr,
    #lang-switcher .fr strong {
        background-image: url(../images/flag-fr.gif);
    }

#lang-switcher strong {
    float: right;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

thead {
    background-color: #f2f2f2;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    white-space: nowrap;
}

tr:hover {
    background-color: #f5f5f5;
}