/* Main */
html {
    height: 100%;
}

body {
    margin-top: 0px;
    font-family: "Lora";
    margin-left: 0px;
    margin-right: 0px;
    height: 100%;
    background-color: #d0d0d0;
    background: linear-gradient( rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.4) ),url(/images/symphony.png);
    background-attachment: fixed;
}

main {
    /*  -webkit-box-shadow:0px 5px 10px #F8F8F8; -moz-box-shadow:0px 5px 10px #F8F8F8; box-shadow:0px 5px 10px #F8F8F8; */

    display: block;
    width: 94%;
    max-width: 960px;
    padding-left: 1.3em;
    padding-right: 1.3em;
    margin-left: auto; margin-right: auto;
    min-height: 80%;

}

footer {
    display: block;
    clear: both;
    margin-top: 3em;
    padding-top: 1.2em;
    border-top: 1px solid black;
    text-align: center;
    font-size: 0.7em;
    padding-bottom: 1em;
    margin-bottom: 0em;
    background-color: #d0d0d0;
    height: 6%;
}
footer div {
    padding-top: 0.5em;
}
footer a {
    text-decoration: none;
}

@media only screen and (max-width: 730px) {
 main {
     padding-left: 0.1em;
     padding-right: 0.1em;
 }
}

@media only screen and (max-width: 480px) {
    main {
        width: 96%;
    }
}

button {
   cursor: pointer;
}

.title h2 {
    font-family: "Libre Baskerville";
    background-color: #E6E6E6;
    border: 1px solid #AAAAAA;
    color: #0a2733;
    border-radius: 8px;
    font-size: 1.6em;
    letter-spacing: 0.008em;
    padding: 0.35em;
    padding-left: 0.8em;
    padding-top: 0.7em;
    padding-bottom: 0.5em;
    margin-top: 0;
    margin-bottom: 0.3em;
}

a {
    color: #04597D;
}

input[type="button"] {
    cursor: pointer;
}

.center {
    text-align: center;
}

a.write-button {
    font-size: 1.2em;
    background-color: #0a2733;
    color: white !important;
    border-radius: 10px;
    padding: 0.5em;
    text-decoration: none;
    font-weight: bold;
    text-transform: capitalize !important;
    transition: background-color 1.5s linear;

}

a.write-button:hover {
    background-color: #2C4955;
}

div.text-page {
    background-color: #f0f0f0;
    border-radius: 8px;
    padding: 0.6em;
    margin-bottom: 1em;
}


/* Header */
header {
    background-color: #222222;
    color: #ffffff;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    padding-bottom: 1.1em;
    padding-top: 0.6em;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

#header-container {
    width: 94%;
    max-width: 960px;
    margin-left: auto; margin-right: auto;
}

#Jergozo-logo {
    vertical-align: bottom;
    font-size: 2.4em;
    font-weight: bold;
    display: inline-block;
}

#Jergozo-logo a {
    text-decoration: none;
    color: #F0F0F0;
}

#Jergozo-logo i {
    color: #2C4955;
    padding-right: 0.2em;
    /*    font-size: 2em; */
}
#Jergozo-logo span {
    text-shadow: -4px 0 2px #333333, 0 4px 2px #333333, 4px 0 2px #333333, 0 -4px 2px #333333;
}

#header-buscar {
    display: inline-block;
    padding-top: 15px;
    text-align: right;
}

#header-buscar form{
    display: inline-block;
    padding-bottom: 0.2em;
    width: 99%;
}


#header-log {
    display: inline-block;
    text-align: right;
    height: 50px;
    vertical-align: bottom;
    position: relative;
}

#header-log-content {
    vertical-align: bottom;
    position: absolute;
    bottom: 0.1em;
    right: 0;
    text-align: right;
}

#header-log a {
    text-decoration: none;
    font-weight: bold;
    color: white;
    font-size: 0.9em;
}

#header-log a:hover {
    color: #8faebb;
}

#header-buscar input {
    vertical-align: bottom;
    padding: 0.1em;
    font-size: 1.2em;
    font-family: 'Libre Baskerville';
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
    border: 0px;
    height: 32px;
    padding-left: 0.4em;
}


#header-buscar button {
    vertical-align: bottom;
    font-size: 1.2em;
    font-family: 'Libre Baskerville';
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
    border: 0px;
    height: 36px;
    padding-right: 0.4em;
    color: white;
    background-color: #3c3c3c;
    transition: background-color 0.4s ease;
}

#header-buscar button:hover {
    background-color: #777777;
}

#search-word {
    width: 60%;
}

@media only screen and (max-width: 960px) and (min-width: 730px) {
    #search-word {
        width: 50%
    }
    #header-buscar input {
        font-size: 1.2em;
    }
    #header-buscar button {
        font-size: 1.3em;
    }
    #header-log {
        font-size: 0.9em;
    }
}

@media only screen and (max-width: 730px) {
    #Jergozo-logo {
        text-align: center;
        font-size: 2.8em;
    }
    #header-buscar {
        text-align: center;
    }
    #header-container .span_1_of_4 {
        width: 100%;
    }
    #header-container .span_2_of_4 {
        width: 100%;
    }
    #header-buscar input {
        font-size: 0.9em;
    }
    #header-buscar button {
        font-size: 1em;
    }
    #header-log {
        height: auto;
        font-size: 1em;
        padding-top: 0.6em;
        position: inherit;
    }
    #header-log-content {
        position: inherit;
    }
    header {
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }
}



nav  {
    text-align: center;
}

#write-button-header {
    padding:1em; 
    text-align: left; 
    background-color: #2C2C2C; 
    padding-bottom:1.4em; 
    min-height: 1.4em;
}

#write-button-header-button-div {
    float:left;
}

#write-button-header-text-div {
    color: white; 
    width: auto;
    text-align: right;
}


@media (max-width:600px){
    #write-button-header-button-div {
        clear: both;
        text-align: center;
        width: 100%;
    }
    
    #write-button-header-text-div {
/*        padding-top: 1em;
        clear: both;
        text-align: center;
*/
        display: none;
    }
    
}


#nav-letras {
    background-color: #2C4955;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 0.6em;
}
nav #nav-letras a {
    text-decoration: none;
    display: inline-block;
    width: 1.4em;
    height: 1.4em;
    padding-left: 0.1em;
    padding-right: 0.1em;
    color: #FFFFFF;
    background-color: #222222;
    vertical-align: middle;
    text-align: center;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    font-weight: bold;
    font-family: 'Libre Baskerville';

}

nav #nav-letras a:hover {
    background-color: #333333;
}

@media only screen and (max-width: 480px) {
    nav #nav-letras a {
        margin-top: 0.3em;
    }
}

@media only screen and (max-width: 960px) and (min-width: 760px) {
    nav #nav-letras a {
        font-size: 0.91em;
        width: 1.24em;
    }
}

@media only screen and (max-width: 350px) {
    nav #nav-letras a {
        font-size: 0.916em;
        width: 1.24em;
    }
}

/* /Header */


/* Home */
.page-main {
    text-align: center;
    padding-top: 2em;
    padding-bottom: 0.8em;
    border: 1px solid black;
    border-radius: 15px;
    background-image: url("/images/10030588973_2863af4147_k.jpg");
    background-size: 100%;
    box-shadow: 0 0 14px 3px #222222 inset;
}
.page-main h1 {
    font-family: 'Lora';
    font-size: 1.9em;
    letter-spacing: 0.01em;
    font-weight: bold;
    padding: 0.2em;
    background-color: #2C2C2C;
    color: #f0f0f0;
    border-radius: 12px;
    border: 0;
    text-transform: uppercase;
}
.page-main span {
    font-size: 1.2em;
    letter-spacing: 0.03em;
    background-color: #2C2C2C;
    color: #f0f0f0;
    padding: 0.28em;
    border-radius: 8px;
    font-style: italic;
    text-transform: capitalize;
}

.page-main a.write-button {
    font-size: 1.2em;
    border: 1px solid #222222;
}

#button-cont {
    margin-top: 2.4em;
}

@media only screen and (max-width: 730px) {
    .page-main {
        font-size: 0.7em;
    }
}

@media only screen and (max-width: 480px) {
    .page-main span {
        display: none;
    }
}

/* /Home */

/* Word */

a.disabled {
   pointer-events: none;
   cursor: default;
   color: gray;
}

.word-container {
    font-family: 'Libre Baskerville';
    padding-bottom: 3em;
    padding-top: 1.4em;
    padding-left: 1.6em;
    padding-right: 1.6em;
    background-color: #e0e0e0;
    border-radius: 14px;
    border: 1px solid #dddddd;
    margin-bottom: 1em;
    background-color: #f0f0f0;
}

.word-word {
    font-family: "Lora";
    font-size: 2.2em;
    text-transform: lowercase;
    margin-bottom: 1.2em;
    margin-top: 0.66em;
    letter-spacing: 0.006em;
}
.word-word a {
    color: #0a2733;
    text-decoration: none;
}

.word-definition {
    text-indent: 1em;
    letter-spacing: 0.02em;
    line-height: 1.6em;
    font-size: 1.04em;
    color: #0a0a0a;
}
.word-definition p:first-letter {
    text-transform: capitalize;
    font-size: 1.2em;
}
.word-definition h4:first-letter {
    text-transform: capitalize;
}
.word-definition h5:first-letter {
    text-transform: capitalize;
}
.word-definition img {
    margin-top: 1.2em;
    margin-bottom: 1.2em;
    max-width: 380px;
    max-height: 380px;
    border-radius: 16px;
}

.word-definition .img {
    text-indent: 0em;
    display: block;
    text-align: center;
}

.word-definition .youtube {
    text-indent: 0em;
    display: block;
    text-align: center;
    margin-top: 1.8em;
    margin-bottom: 1.8em;
}
.word-definition .youtube iframe {
    max-width: 96%;
    width: 504px;
    height: 401px;
    border: 2px solid black;
    padding: 12px;
    border-radius: 20px;
    background-color: #222222;
}

.word-example {
    text-indent: 2em;
    font-style: italic;
    line-height: 1.46em;
    letter-spacing: 0.03em;
}
.word-example p:first-letter {
    text-transform: capitalize;
}

.word-example-container h4 {
    font-size: 1.2em;
    font-family: "Lora";
    color: #444444;
}

.word-autorship {
    font-size: 0.8em;
    text-align: right;
    padding-left: 2em;
    padding-top: 3em;
    color: #444444;

}
.word-autorship a {
    text-decoration: none;
}

.word-metadata {
    font-size: 0.9em;
    padding-top: 2em;
    padding-left: 1em;
    padding-bottom: 2em;
    color: #222222;
}
.word-metadata a {
    text-decoration: none;
    font-family: "Lora";
}

.word-metadata p {
    margin-bottom: -0.6em;
}

.word-report {
    font-size: 0.8em;
    text-align: right;
    padding-left: 2em;
    padding-bottom: 2.4em;
    padding-top: 2.4em;
    color: #444444;
}

.word-report a {
    display: inline-block;
    font-size: 1em;
    text-decoration: none;
    color: #EEEEEE;
    background-color: #7A0000;
    padding: 0.5em;
    padding-right: 0.6em;1.4
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin-left: 0.6em;
}
.word-container .word-report a:hover {
    color: #EEEEEE;
    background-color: #9c2222;
}

.word-share {
    text-align: right;
    letter-spacing: 0.2em;
}
.word-share i {
    font-size: 1.4em;
    color: #FFFFFF;
    background-color: #444444;
    width: 1.4em;
    height: 1.4em;
    vertical-align: middle;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: 0.22em;
}

.word-share img {
    font-size: 1.27em;
    background-color: #444;
    width: 1.4em;
    height: 1.4em;
    vertical-align: middle;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: .22em;
}

#word-share-whatsapp {
    display: none;
}

.word-share a {
    text-decoration: none;
}

.word-share a:hover i {
    background-color: #555555;
}

.word-votes {
    text-align: right;
    padding-right: 1em;
    font-size: 1.6em;
}

.word-votes a {
    text-decoration: none;
    margin-left: 0.6em;
}

.word-container a:hover {
    color: #0a2733;
}

.word-edit {
    text-align: right;
    padding-top: 1.2em;
}

.word-edit a {
    text-decoration: none;
    font-size: 0.8em;
    background-color: #2C4955;
    color: white;
    border-radius: 6px;
    padding: 0.4em;
    border: 1px solid white;

}

.word-aEdit {
    margin-top: 2em;
    background-color: #222222;
    color: white;
    padding: 0.6em;
    border-radius: 12px;
}

.word-aEdit h4 {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
}

.word-aEdit p {
    text-align: right;
}

.word-aEdit a {
    text-decoration: none;
    font-size: 0.8em;
    background-color: #2C4955;
    color: white;
    border-radius: 6px;
    padding: 0.4em;
    border: 1px solid white;

}


.word-container .word-edit a:hover {
    color: white;
}

@media only screen and (max-width: 960px) {
    #word-share-whatsapp {
        display: initial;
    }

    .word-createdAt {
        line-height: 1.6em;
    }

    header {
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
    }
}

@media only screen and (max-width: 480px) {
    .word-container {
        padding-left: 1.2em;
        padding-right: 1.2em;
    }
    .word-word {
        font-size: 1.8em;
    }
    .word-definition {
        font-size: 0.98em;
        text-indent: 1em;
        line-height: 1.6em;
        letter-spacing: 0.04em;
    }
    .word-example {
        text-indent: 1em;
    }
    .word-definition .youtube iframe {
        max-width: 96%;
        height: 300px;
        padding: 6px;
        border-radius: 16px;
    }
    .word-definition img {
        max-width: 96%;
    }
    .word-report a{
        margin-top: 0.6em;
        margin-bottom: 0.6em;
    }
    .word-share i {
        font-size: 1.25em;
    }
    .word-share img {
        font-size: 1.2em;
    }
    .word-metadata {
        padding-left: 0;
    }
    .word-aEdit a {
        font-size: 0.6em;
    }

}

/* /Word */

/* Word Pages */
.word-add-header {
    text-align: center;
    color: #222222;
    background: #e0e0e0;
    border-radius: 8px;
}
.section .word-add-header {
    padding-left: 0.6em;
    padding-right: 0.6em;
    margin-bottom: 2em;
}

.word-add-header h2 {
    padding-top: 0.8em;
    margin-top: 2em;
    font-size: 1.8em;
}

.word-page-id-other h2 {
    padding-top: 0.8em;
    margin-top: 2em;
    font-size: 1.8em;
}
.word-page-id-other p {
    text-align: right;
    padding-bottom: 1em;
}

.section .word-add-header {
    padding-bottom: 2em;
}

div.random {
    margin-top: 5em;
}

.random h3 {
    font-family: "Libre Baskerville";
    background-color: #e6e6e6;
    border: 1px solid #aaa;
    color: #0a2733;
    padding: .46em;
    padding-left: .8em;
    margin-top: 0;
    border-radius: 8px;
    font-size: 1.6em;
    letter-spacing: .008em;
    text-align: center;
    text-transform: capitalize;
}

/* /Word Pages */

/* Grid */
/*  SECTIONS  */
.section {
    clear: both;
    padding: 0px;
    margin: 0px;
}

/*  COLUMN SETUP  */
.col {
    display: block;
    float:left;
    margin: 1% 0 1% 1.6%;
}
.col:first-child { margin-left: 0; }


/*  GROUPING  */
.group:before,
.group:after {
    content:"";
    display:table;
}
.group:after {
    clear:both;
}
.group {
    zoom:1; /* For IE 6/7 */
}


/*  GRID OF FOUR  */
.span_4_of_4 {
    width: 100%;
}
.span_3_of_4 {
    width: 74.6%;
}
.span_2_of_4 {
    width: 49.2%;
}
.span_1_of_4 {
    width: 23.8%;
}


/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */

@media only screen and (max-width: 480px) {
    .col {
        margin: 1% 0 1% 0%;
    }
}

@media only screen and (max-width: 480px) {
    .span_4_of_4 {
        width: 100%;
    }
    .span_3_of_4 {
        width: 100%;
    }
    .span_2_of_4 {
        width: 100%;
    }
    .span_1_of_4 {
        width: 100%;
    }
}

/* Collapsable at 900 */
.span_3_of_4_b {
    width: 74.6%;
}
.span_1_of_4_b {
    width: 23.8%;
    background-color: #222222;
    padding-top: 0.8em;
    border-radius: 6px;
}


@media only screen and (max-width: 900px) {
    .span_3_of_4_b {
        width: 100%;
    }
    .span_1_of_4_b {
        width: 100%;
        margin-left: 0%;
        font-size: 1.2em;
    }
}

div.bubble.spaced {
    margin-top: 2em;
}

.spaced {
    padding-top: 2em;
    padding-bottom: 1em;
}
.spaced p {
    margin-top: 2em;
    color: #3C3C3C;
}
.spaced h3 {
    font-size: 1.17em !important;
    background-color: inherit !important;
    color: #3C3C3C !important;

}

/* /Grid */


/* Bubble */
div.bubble {
    margin: 1.1em;
    margin-bottom: 2.6em;
    margin-top: 0;
    -webkit-box-shadow: 1px 1px 3px 2px rgba(44,73,85,0.4);
    -moz-box-shadow: 1px 1px 3px 2px rgba(44,73,85,0.4);
    box-shadow: 1px 1px 3px 2px rgba(44,73,85,0.3);
    background-color: #e8e8e8;
    border-radius: 8px;
}

div.bubble:last-child {
    margin-bottom: 1.2em;
}

div.bubble ul{
    padding-left: 1em;
    padding-right: 1em;
    margin: 0;
    text-align: left;
    padding-bottom: 1em;
}

div.bubble ul li {
    list-style: none;
    padding-top: 0.8em;
}
div.bubble a {
    text-decoration: none;
    font-size: 0.9em;
    text-transform: lowercase;
    font-family: 'Libre Baskerville';
    font-weight: bold;
    color: #3C3C3C;
}
div.bubble.countries a {
    text-transform: capitalize;
}

div.bubble a:hover {
    color: #2c4955;
}


div.bubble h3 {
    text-align: center;
    font-size: 1em;
    background-color: #2C4955;
    color: white;
    margin-top: 0.2em;
    padding: 0.5em;
    border-radius: 4px 4px 0 0;
}

div.bubble-text {
    padding: 0.6em;
}

div.bubble .current-word {
    color: #2C4955;
}

/* Country Menu */
li.country img {
    vertical-align: middle;
    padding-right: 0.6em;
}

li.country a {
    vertical-align: middle;
}

div.user-menu {
    padding-bottom: 1em;
    text-align:center;
}

div.user-menu p {
    padding-left: 0.6em;
    padding-right: 0.6em;
}

div.bubble:last-child {
    margin-bottom: 1.2em;
}


/* /Bubble */

/* Results */
h1 {
    font-family: "Libre Baskerville";
    background-color: #E6E6E6;
    border: 1px solid #AAAAAA;
    color: #0a2733;
    padding: 0.46em;
    padding-left: 0.8em;
    margin-top: 0px;
    border-radius: 8px;
    font-size: 1.6em;
    letter-spacing: 0.008em;
    text-align: center;
    text-transform: capitalize;

}

h1 img.flag-menu {
    vertical-align: middle;
    margin-right: 0.2em;
    margin-bottom: 0.2em;
}


.results-total {
    text-align: right;
    padding-right: 1em;
}


.results-total .total-title {
    font-size: 1.1em;
    text-transform: uppercase;
    background-color: #0a2733;
    color: white;
    border-radius: 2px;
    padding: 0.1em;
    padding-left: 0.4em;
    padding-right: 0.4em;
}

.results-total .total-total {
    font-size: 1.05em;
    background-color: #222222;
    color: white;
    border-radius: 2px;
    padding: 0.1em;
    padding-left: 0.4em;
    padding-right: 0.4em;
    margin: 0.3em;
}


.results h2 {
    text-align: center;
    padding: 1.4em;
    font-size: 1.6em;
    color: #3C3C3C;
}
.results p {
    font-size: 1.1em;
    padding-left: 2em;
    padding-right: 2em;
    text-align: justify;
    letter-spacing: 0.14em;
}

.results p.link {
    text-align: center;
    margin-top: 3em;
    margin-bottom: 3em;
}

.results a.write-button {
    font-size: 1.2em;
    background-color: #0a2733;
}

.results-list ul {
    padding-top: 0.6em;
    padding-bottom: 0.6em;
}

@media only screen and (max-width: 480px) {
    .results h2 {
        padding: 1em;
    }
    .results p {
        padding: 1em;
    }
    .results-list ul {
        margin-top: 0.1em;
        margin-bottom: 0.1em;
    }
    .results a.write-button {
        font-size: 1em;
    }

}

@media only screen and (max-width: 820px) {
    .results-list ul {
        margin-top: 0.1em;
        margin-bottom: 0.1em;
    }

}

.results-list li {
    display: block;
    padding: 0.15em;
    margin-left: -1.4em;
    padding-right: 0.6em;
}

.results-list .small {
    padding-left: 1em;
    padding-right: 1em;
    margin: 0;
}
.results-list a {
    font-size: 1.2em;
    text-decoration: none;
    text-transform: lowercase;
    letter-spacing: 0.026em;
}

.results-list div.col {
    background-color: #EfEfEf;
    border-radius: 8px;
}

.results-list div.nobgc {
    background-color: inherit;
}

.results-list a:hover {
    color: #3c3c3c;
}

.results-sublinks h3 {
    font-size: 1.4em;
    letter-spacing: 0.03em;
}

.results-sublinks p {
    text-align: justify;
}
.results-sublinks a {
    text-decoration: none;
    font-weight: bold;
    font-size: 1.03em;
    background-color: #2c4955;
    color: white;
    border-radius: 6px;
    padding: 0.28em;
    margin: 0.18em;
    margin-bottom: 0.5em;
    display: inline-block;
    letter-spacing: 0.025em;
}

.results-sublinks a:hover {
    background-color: #0a2733;
}

.results-sublinks .results-all-tags {
    text-align: right;
}
.results-sublinks .results-all-tags a {
    background-color: inherit;
    color: #2c4955;
}

@media only screen and (min-width: 480px) and (max-width: 820px) {
    .results-list .span_1_of_4 {
        width: 48%;
    }
    .results-list .span_3_of_4 {
        width: 48%;
    }
    .results-list .col:nth-child(3) {
        margin-left: 0;
        clear: both;
    }
}

@media only screen and (max-width: 480px) {
    .results-list div.col {
        padding-top: 0.8em;
        padding-bottom: 0.8em;
    }
}

/* Pagination */
.pagination-container {
    padding-bottom: 1em;
    padding-top: 0em;
    text-align: center;
    color: #222222;
}
.pagination-link.current {
    font-size: 1em;
    padding: 0.4em;
    margin: 0.4em;
    background-color: #AAAAAA;
    color: white;
    font-weight: bold;
    border-radius: 6px;
    display: inline-block;
}

.pagination-link a {
    font-size: 1em;
    padding: 0.4em;
    margin: 0.4em;
    background-color: #2C4955;
    font-weight: bold;
    border-radius: 6px;
    display: inline-block;
    text-decoration: none;
    color: #EFEFEF;
}

.pagination-link a:hover {
    color: #AAAAAA;
    background-color: #0a2733;
}

/* Subletters */
.subletters {
    padding: 1em;
    text-align: right;
}

.subletters a {
    font-size: 0.9em;
    text-decoration: none;
    display: inline-block;
    padding-left: 0.24em;
    padding-right: 0.24em;
    height: 1.4em;
    color: #FFFFFF;
    background-color: #444444;
    vertical-align: middle;
    text-align: center;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    font-weight: bold;
    font-family: 'Libre Baskerville';

}

.subletters a:hover {
    background-color: #222222;
}

@media only screen and (max-width: 480px) {
    .subletters {
        font-size: 1.24em;
        line-height: 1.6em;
        padding-top: 0em;
    }
}


/* Modal login */
#modal-login {
    opacity: 0;
}
#modal-background {
    position:fixed;
    padding:0;
    margin:0;
    width: 100%;
    height: 100%;
    background-color: gray;
    top:0;
    left:0;
    opacity: 0.5;
}

.modal-content-container {
    position:absolute;
    top:0;
    width: 100%;
    height: 100%;
    margin-top: 3em;
    text-align: center;
}

.modal-content-container #modal-login-content {
    min-width: 18.75em;
    max-width: 56.25em;
    width: 90%;
    background-color: #3c3c3c;
    border-radius: 12px;
    display: inline-block;
    text-align: left;
    padding: 2em;
    padding-top: 3.4em;
    color: white;
    position: relative;
    box-sizing: border-box;
}

#modal-close {
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 0.9em;
}

#modal-close a {
    display: inline-block;
    text-decoration: none;
    background-color: #2c4955;
    color: white;
    padding: 0.5em;
    border-radius: 4px;
    text-align: center;
}
#modal-close a i {
    margin-right: 0.2em;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    /* IE10+ */
    #modal-close a {
        width: 6em;
    }
}

@media only screen and (max-width: 800px) {
    #modal-login-content {
        padding-top: 3em;
    }
}

h2.login {
    text-decoration: none;
    font-size: 1em;
    display: inline-block;
    background-color: #555555;
    color: white;
    border-radius: 6px;
    padding: 0.4em;
    padding-left: 1em;
    font-weight: bold;
    width: 96%;
}

h2.login i {
    vertical-align: middle;
    font-size: 1.2em;
}
h2.login.social {
    padding-bottom: 0.6em;
}
h2.login.social i {
    vertical-align: 0.1px;
}
h2.login.mail i {
    margin-right: 0.2em;
}
h2.login.mail {
    padding-top: 0.62em;
}

#social-container {
    text-align: center;
    margin-top: 1em;
    margin-bottom: 1.2em;
}

#facebook-login, #google-login {
    margin-bottom: 0.3em;
}

#social-container a {
    text-decoration: none;
    font-size: 1.2em;
    display: inline-block;
    color: white;
    border-radius: 6px;
    width: 15.625em;
    max-width: 100%;
    padding: 0.4em;
    font-weight: bold;
    text-align: left;
    padding-left: 2em;
}

#facebook-login a {
    background-color: #3b5998;
}

#google-login a {
    background-color: #d34836;
}

#facebook-login i, #google-login i {
    margin-right: 0.3em;
    font-weight: normal;
}
#mail-container {
    font-size: 0.8em;
}

#recover-form {
    margin-top: 3em;
    margin-bottom: 3.5em;
}

#mail-container #but-recover-pass {
    margin-top: 1em;
}

#mail-container h3 {
    padding-bottom: 1em;
}

#mail-container label {
    width: 10em;
    display: inline-block;
}

#mail-container input[type="text"], #mail-container input[type="email"], #mail-container input[type="password"] {
    width: 14em;
}

#mail-container p {
    height: 1.3em;
}

#mail-container input[type="button"], #anon-container input[type="submit"]  {
    font-size: 1.38em;
    display: inline-block;
    background-color: #2c4955;
    color: white;
    border: 1px solid #777;
    border-radius: 6px;
    padding: 0.45em;
    font-weight: bold;
    margin-top: 0.8em;
}

#anon-container {
    font-size: 0.8em;
    padding-bottom: 2em;
}
#anon-container form {
    padding-left: 2em;
}


@media only screen and (max-height: 900px) and (min-width: 800px) {
    .modal-content-container {
        margin-top: 0.5em;
    }

    .modal-content-container iframe {
        height: 95%;
    }
}

@media only screen and (max-width: 480px) {
    .modal-content-container {
        margin-top: 0.6em;
    }

    .modal-content-container iframe {
        width: 96%;
        height: 96%;
    }

    #login-iframe-body {
        padding: 0.2em;
        padding-top: 3.2em;
        padding-bottom: 2em;
        height: 100%;
    }
    #anon-container {
        padding-bottom: 2em;
    }

    #facebook-login a, #google-login a {
        font-size: 1.1em;
        width: 280px;
        padding: 0.3em;
    }

    #anon-container form {
        padding-left: 0.2em;
    }

    #mail-container {
        padding-left: 0.6em;
    }

    #mail-container label {
        display: block;
        width: auto;
    }

    #mail-container input[type="text"],
    #mail-container input[type="email"],
    #mail-container input[type="password"] {
        width: 85%;
    }

}

@media only screen and (max-width: 880px) {
    #mail-container p {
        height: auto;
        line-height: 1.8em;
    }
    #recover-form {
        margin-top: 1.2em;
        margin-bottom: 1.5em;
    }
    .login-col-spacer {
        display: none;
    }
}


/* Modal Vote and Actions */
.action-response {
    position:fixed;
    margin: 0;
    padding: 1em;
    width: 12em;
    top:1em;
    left:1em;
    opacity: 0;
    border: 1px solid black;
    border-radius: 8px;
    color: white;
}

.action-failure {
    background-color: #7A0000;
}

.action-success {
    background-color: #2C4955;
}


/* Write form */
#write-form {
    background-color: #e8e8e8;
    border: 1px solid #cccccc;
    border-radius: 30px;
    padding: 2em 1.2em 1.2em;
}

#write-form label {
    font-size: 1.22em;
    display: inline-block;
    background-color: #555555;
    color: white;
    border-radius: 6px;
    padding: 0.4em;
    font-weight: bold;
    width: calc(100% - 1em);
}

#write-form p.p-label:first-child {
    margin-top: 0;
}
#write-form p small {
    display: inline-block;
    margin-bottom: 1em;
    margin-top: 0.8em;
    text-indent: 0.8em;
}

#f-word {
    font-size: 1.6em;
}

#f-word, #f-tags , #f-definition, #f-example, #f-name, #f-related {
    padding: 0.4em;
    font-size: 1.4em;
    width: 98%;
    width: calc(100% - 1.2em);
}

#f-definition, #f-example {
    height: 8em;
}
.f-country {
    font-size: 1.2em;
    margin: .2em;
}

#add-remove-countries-container {
    display: inline-block;
}

#add-country, #remove-country {
    text-decoration: none;
    font-size: 2.4em;
    vertical-align: middle;
    margin-left: 0.24em;
}

#write-form select {
    padding: 0.2em;
}

#remove-country {
    display: none;
}

#write-form-buttons {
    padding: 0.4em;
    width: 80%;
    text-align: right;
}

#write-form-buttons input {
    font-size: 1.6em;
    padding: 0.3em;
    margin: 0.4em;
    display: inline-block;
    background-color: #2c4955;
    color: white;
    border-radius: 12px;
    font-weight: bold;
    font-family: 'Lora';
}

#write-form-buttons input[type="button"] {
    transition: background-color 1.5s linear;
}

#write-form-buttons input[type="button"]:hover {
    background-color: #0a2733;
}

@media only screen and (max-width: 480px) {
    #f-word, #f-tags , #f-definition, #f-example, #f-name, #f-related {
    }
    ::-webkit-input-placeholder { font-size: 0.6em; }
    ::-moz-placeholder { font-size: 0.6em; } /* firefox 19+ */
    :-ms-input-placeholder { font-size: 0.6em; } /* ie */
    input:-moz-placeholder { font-size: 0.6em; }

    #write-form-buttons {
        padding: 0.2em;
        width: 100%;
    }

}

/* Change Name */
#changeName label {
    font-size: 1.22em;
    display: inline-block;
    background-color: #555555;
    color: white;
    border-radius: 6px;
    padding: 0.4em;
    font-weight: bold;
    width: calc(100% - 1em);
}

#changeName-form-buttons {
    text-align: right;
}

#changeName-form-buttons input {
    font-size: 1.6em;
    padding: 0.3em;
    margin: 0.4em;
    display: inline-block;
    background-color: #2c4955;
    color: white;
    border-radius: 12px;
    font-weight: bold;
    font-family: 'Lora';
}

@media only screen and (max-width: 480px) {
    #changeName-form-buttons input {
        font-size: 1.2em;
    }
}


/* Form Warning */
#form-warning-container {
    position:fixed;
    top:0;
    width: 100%;
    margin-top: 5em;
    text-align: center;
}

#form-warning {
    width: 60%;
    min-width: 300px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background-color: #222222;
    color: white;
    padding: 0.4em;
    border-radius: 12px;
    border: 1px solid black;
}

#form-warning a {
    display: inline-block;
    text-decoration: none;
    background-color: #2c4955;
    color: white;
    padding: 0.2em;
    border-radius: 4px;
    padding-right: 0.4em;
}

#form-warning h3 {
    font-size: 1.4em;
    margin-top: 0.1em;
    text-align: center;
}

#form-warning h3 i {
    font-size: 1.6em;
    vertical-align: middle;
}

#form-warning div.popup-actions {
    padding: 1em;
}


/* Form Error */
.error {
    border: 2px solid #7A0000
}

#form-error-container {
    position:fixed;
    top:0;
    width: 100%;
    margin-top: 5em;
    text-align: center;
}
#form-error {
    width: 60%;
    min-width: 300px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background-color: #7A0000;
    padding: 0.4em;
    padding-bottom: 1.4em;
    border-radius: 12px;
    border: 1px solid black;
    color: white;
}

#form-error h3 {
    font-size: 1.4em;
    margin-top: 0.1em;
    text-align: left;
    padding-left: 1.4em;
}

#form-error h3 i {
    font-size: 1.6em;
    vertical-align: middle;
}


#form-error ul {
    text-align: left;
    padding-left: 2em;
    padding-right: 2em;
    padding-bottom: 1em;
}

div.close-popup {
    text-align: right;
    font-size: 0.9em;
    padding-top: 0.3em;
    padding-bottom: 0.1em;
}

div.close-popup a {
    display: inline-block;
    text-decoration: none;
    background-color: #222222;
    color: white;
    padding: 0.5em;
    border-radius: 8px;
    text-align: center;
    padding-right: 0.6em;
}

#form-error div.close-popup a i {
    margin-right: 0.2em;
}

@media only screen and (min-width: 800px) {

    #form-error, #form-warning {
        min-width: 600px;
    }
    #form-error ul {
        padding-left: 4em;
        padding-right: 4em;
    }

}

/* Simple Msg */

#simple-msg-container {
    position:fixed;
    top:0;
    width: 100%;
    margin-top: 3em;
    text-align: center;
}
#simple-msg {
    width: 40%;
    min-width: 300px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    padding: 0.4em;
    text-align: left;
    border-radius: 4px;
    border: 1px solid black;
    color: #3C3C3C;
    padding: 1.8em;
    line-height: 1.4em;
    padding-top: 1.6em;
}

#simple-msg div.close-popup {
    margin-top: -0.6em;
    margin-right: -0.6em;
}

/* Format Msg */
#format-msg-container {
    margin-top: 5em;
    position:absolute;
    top:0;
    width: 100%;
    margin-top: 5em;
    text-align: center;
}

#format-msg {
    width: 70%;
    min-width: 300px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    text-align: left;
    border-radius: 12px;
    padding: 1em;
    padding-bottom: 3em;
    border: 2px solid #222222;
}

#format-msg pre {
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}

#format-msg h3 {
    text-decoration: none;
    font-size: 1em;
    display: inline-block;
    background-color: #555555;
    color: white;
    border-radius: 6px;
    padding: 0.4em;
    font-weight: bold;
    width: 100%;
}
#format-msg p {
    text-indent: 1em;
    font-size: 0.8em;
}

#format-msg h1 {
    margin-top: 0.6em;
    padding: 0.3em;
}


/* Report */
#report-form textarea {
    width: 100%;
    height: 6em;
}
#report-form input[type="checkbox"] {
    height: 1.6em;
    width: 1.6em;
    vertical-align: text-bottom;
}

#report-form .form-buttons {
    padding: 0.4em;
    width: 80%;
    text-align: center;
}

#report-form .form-buttons input {
    font-size: 1.6em;
    padding: 0.3em;
    margin: 0.4em;
    display: inline-block;
    background-color: #2c4955;
    color: white;
    border-radius: 12px;
    font-weight: bold;
    font-family: 'Lora';
}


#report-form .form-buttons input[type="button"] {
    transition: background-color 1.5s linear;
}

#report-form .form-buttons input[type="button"]:hover {
    background-color: #0a2733;
}

div.reported-reponse {
    text-indent: 1em;
}
div.reported-reponse h2 {
    text-align: center;
}

/* 404 */
div.p404 {
    color: #3C3C3C;
}

div.p404 i {
    font-size: 12em;
    font-weight: normal;
}
div.p404 div {
    width: 14em;
    padding-right: 2em;
    float: left;
}
div.p404 div.p404-text {
    width: 66%;
}
@media only screen and (max-width: 480px) {
    div.p404 div {
        width: 100%;
        padding: 0;
        text-align: center;
    }
    div.p404 div.p404-text {
        width: 100%;
    }
}

@media only screen and (min-width: 480px) and (max-width: 960px) {
    div.p404 div.p404-text {
        width: calc(100% - 360px);
    }
}

/* REported */
.reported {
    margin-top: 0em;
    background-color: #7A0000;
    color: white;
    padding: 1.2em;
    border-radius: 20px;
    font-size: 1.2em;
    border: 1px solid #222222;
    margin-bottom: 3em;

}

.reported a {
    text-decoration: none;
    font-size: 0.8em;
    background-color: #2C4955;
    color: white;
    border-radius: 6px;
    padding: 0.4em;
    border: 1px solid white;

}

.reported p {
    text-indent: 1em;
}

/* Cookie Warning */
#cookie-warning-container {
    background-color: #0a2733;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: 2px solid black;
    padding-top: 1em;
    padding-left: 1.4em;
    padding-right: 1.4em;
    padding-bottom: 2em;
    font-size: 1.06em;
    line-height: 0.8em;
}

#cookie-warning-container a {
    color: white;
    font-weight: bold;
}
.accept-cookies {
    padding-top: 1.6em;
    margin-top: 0;
}
#close-accept-cookies {
    background-color: black;
    color: white !important;
    border-radius: 10px;
    padding: 0.5em;
    cursor: pointer;
    text-align: center;
    font-size: 1.2em;
    text-decoration: none;
}

/* 4K / Ultra HD scaling */
/* DPR=1 (CSS pixels == physical pixels, e.g. 4K monitor with no OS scaling) */
@media only screen and (min-width: 3200px) {
    html { font-size: 200%; }
    main { max-width: 1920px; }
    #header-container { max-width: 1920px; }
}
/* DPR=2 (browser/OS doubles pixels, e.g. Firefox/Chrome 4K TV preset) */
@media only screen and (min-width: 1800px) and (min-resolution: 2dppx) {
    html { font-size: 200%; }
    main { max-width: 1920px; }
    #header-container { max-width: 1920px; }
}