body{
    margin: 0;
    font-family: "Segoe UI", "Helvetica";
    font-size: 14px;
}

:root {
    --main-color:#00BCD4;
    --hover-main-color:#008CA4;
}

#main-content{
    margin: 15px 15px 32px 15px;
}
#main-menu{
    overflow: hidden;
    background-color: #333;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 3px 10px grey;
}
.menu{
    list-style-type: none;
    padding: 0;
    margin: 0;
}
ul.menu > li {
    float: left;
}
ul.menu li > a, ul.menu li label {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    cursor: pointer;
}
@media (max-width: 1200px){
.menu li label{
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
}

/* Change the link color to #111 (black) on hover */
ul.menu li a:hover, ul.menu li label:hover {
    background-color: #111;
}

.green {
    color: var(--main-color);
}

h1 {
    color: var(--main-color);
    font-weight: 100;
    font-size: 42px;
}

ul.menu .active {
    background-color: var(--main-color);
}

div.commands{
    margin-bottom: 16px;
}
.commands a,
a.commands,
.btn,
input[type=submit]{
    border-radius: 4px;
    background-color: #444;
    padding: 5px 10px;
    color: white;
    text-decoration: none;
    border: 1px solid #222;
    display:inline-block;
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
    font-family: "Segoe UI", "Helvetica";
}

.btn.btn-secondary {
    background-color: #ddd;
    color: black;
}

.btn.btn-secondary:hover {
    background-color: #bbb;
    color: black;
}

.green-btn{
    background-color: var(--main-color) !important;
    border: 1px solid var(--hover-main-color) !important;
}

.green-btn:hover{
    background-color: var(--hover-main-color) !important;
}

.btn-good{
    background-color: #080 !important;
    border: 1px solid var(--hover-main-color) !important;
}

.btn-good:hover{
    background-color: #060 !important;
}

.btn-bad{
    background-color: #E00 !important;
    border: 1px solid #B00 !important;
}

.btn-bad:hover{
    background-color: #B00 !important;
}

.btn-white{
    background-color: white !important;
    border: 1px solid #999 !important;
    color: #222 !important;
}

.btn-white:hover{
    background-color: #ddd !important;
}

.btn-blue{
    background-color: #05a !important;
    border: 1px solid #017 !important;
    color: white !important;
}

.btn-blue:hover{
    background-color: #048 !important;
}

.btn-sm,
.btn-group-sm > .btn {
    font-size: 12px !important;
    line-height: 1.5 !important;
    border-radius: 2px !important;
    padding: 3px 5px !important;
}

.btn-xs,
.btn-group-xs > .btn {
    font-size: 10px !important;
    line-height: 1.5 !important;
    border-radius: 2px !important;
    padding: 2px 3px !important;
}

.w-100{
    width: 100% !important;
}

.btn-table{
    margin-bottom: 3px;
}

.btn-lg,
.btn-group-lg > .btn,
.commands .btn-lg
{
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
    border-radius: 3px;
}

.commands a:hover,
a.commands:hover,
.btn:hover,
input[type=submit]:hover{
    background-color: black;
}

.right{
    float: right !important;
}

.edit_only{
    display: none;
}

.action .old_value{
    color: #888;
    /*background-color: #ffbab5;*/
    text-decoration: line-through;
}

.pagination{
    padding: 5px 0;
    margin: 8px 0;
}

.pagination a{
    color:#333;
    border-radius: 2px;
    background-color: #eee;
    padding: 4px 8px;
    border: 1px solid #aaa;
    text-decoration: none;
}
.pagination a:hover{
    color: white;
    background-color: var(--hover-main-color);
    border: 1px solid var(--hover-main-color);
}

.string_value{
    white-space: pre-wrap;
    word-break: initial;
    font-weight: initial;
}
/*.string_value.new_value{
    white-space: initial;
}*/
.selected .new_value{
    /*font-weight: bold !important;*/
    background-color: #5ff963;
}
.string_meta{
    /*font-style: italic;*/
    font-weight: initial;
}
.string_bm{
    font-style: italic;
    font-weight: initial;
    font-size: 12px;
    color: initial;
}
.string_bm:hover::after {
    content: "Tick if you want to bookmark the string on import";
    position: absolute;
    background-color: white;
    margin: -16px 0 0 -3px;
    border: 1px solid black;
    padding: 3px;
}

.approved{
    color: green;
}
.disapproved{
    color: red;
}
.highlight{
    border: yellow solid 2px;
    border-radius: 2px;
    margin: -2px;
    background-color: #fbffa4;
}

.import_table{
    border-spacing: 0;
    table-layout:fixed;
    /*width:100%;*/
    word-break:break-all;
}

.import_row:nth-of-type(odd){
    background: #f3f3f3;
}

.import_table td{
    padding: 2px;
    overflow:hidden;
}

.import_header{
    /*background-color: #6cd;*/
    /*background-color: darkkhaki;*/
    color: black;
}

tr.import_header td:first-child{
    font-size: 15px;
    font-weight: bold;
    color: var(--main-color);
}

tr.import_header td:first-child a{
    color: var(--main-color) !important;
}


.import_header a{
    /*color: white;*/
}

.import_action{
    /*background-color: #f6f6f6;*/
    color: #666;
}

.import_action.even{
    /*background-color: #ffeae4;*/
}

.import_action.selected{
    color: black;
    font-weight: bold;
}

.commands a{
    cursor: pointer;
}

a[data-onclick-submit]{
    cursor: pointer;
    /*text-decoration: underline;
    color: blue;*/
}
/*a[data-onclick-submit]:hover{
    cursor: pointer;
    color: green;
}*/
table.strings{

}
.strings.even{
    background-color: #f9f9f9;
}

.strings input:not([type=submit]):not([type=checkbox]){
    padding: 4px;
    border-radius: 3px;
    border: 1px solid #ccc;
    display: inline-flex;
    width: 100%;
    height: 26px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

table.small-table > tbody > tr > td {
    padding: 2px 2px 2px 8px !important;
    line-height: 1.3 !important;
    font-size: 12px;
}

select.toggle_select{
    display: none;
}
div.toggle_select{
    cursor: pointer;
    border: 1px solid gray;
    border-radius: 2px;
    display: inline-block;
    user-select: none;
    margin: 3px 3px 3px 4px;
    width: 14px;
    height: 14px;
    font-size: 13px;
    line-height: 13px;
}

div.toggle_select > span{
    position: relative;
    left: -2px;
}

form small{
    display: block;
    white-space: pre-wrap;
    color: #888;
    font-size: 11px;
    font-style: italic;
}

.error li{
    text-align: left;
    white-space: pre-wrap;
}

.modal_window{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #ffffff80;
    z-index: 1000;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.float_modal_window {
    position: fixed;
    z-index: 500;
    top: 120px;
    left: 50%;
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.tooltip_window{
    position: absolute;
    border: 1px solid black;
    z-index: 1;
    background-color: #f8f8f8;
    box-shadow: 3px 3px 10px grey;
    padding: 7px;
    font-size: 12px;
}

.modal_content{
    border: 1px solid black;
    background-color: white;
    box-shadow: 3px 3px 10px grey;
    padding: 8px;
    border-radius: 8px;
}

.alert{
    padding: 0;
    margin-bottom: 20%;
}


.alert_header{
    background-color: teal;
    color: white;
    margin-bottom: 8px;
    padding: 8px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.alert_body{
    width: 300px;
    max-height: 120px;
    min-height: 60px;
    padding: 8px;
    overflow-y: auto;
    white-space: pre-wrap;
}

.alert_body.large{
    width: 1000px;
    max-height: 650px;
}

.alert_body.float {
    width: 100%;
    max-height: 600px;
    height: 600px;
}

.alert_footer{
    margin-top: 8px;
    background-color: #e6dfbf;
    width: 100%;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    display: flex;
}

.alert_buttons{
    margin-left: auto;
    margin-right: auto;
}

.modal_content ul{
    list-style: none;
    padding-left: 0;
}

.collapse{
    display: none;
}

.hide_no_action .no_action{
    display: none;
}
.hide_empty_import .empty_import{
    display: none;
}

datalist{
    background-color: white;
    box-shadow: 2px 2px grey;
    border: 1px solid black;
}

datalist h4, .modal_content h4{
    margin: 0;
    display: inline-block;
}

datalist div{
    max-height: 256px;
    overflow-y: auto;
}

datalist span{
    white-space: pre-wrap;
    cursor: pointer;
    display: block;
    max-height: 1.5em;
    overflow: hidden;
}

datalist span:hover{
    background-color: #b5ffa5;
    max-height: initial;
}

.formatted{
    white-space: pre-wrap;
}

.taint{
    background: red;
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-bottom: -2px;
    user-select: none;
}

.popup{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.4);
}
.popup-content{
    background-color: #333;
    position: initial;
    width: fit-content;
}
.popup ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.hide_inactive_languages .inactive_language{
    display: none;
}
.hide_regions .region{
    display: none;
}

.badge {
    display: inline-block;
    min-width: 10px;
    padding: 0 5px 3px 5px;
    font-size: 12px;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #666;
    border-radius: 10px;
}

.action .badge.old_value {
    background-color: #aaa;
    color:white;
}

.pull-right {
    float: right !important;
}

.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.text-center {
    text-align: center;
}

.text-bold {
    font-weight: bold;
}

.login-title {
    background: #00BCD4;
    color: white;
    width: 250px;
    margin: auto;
    padding: 25px;
    font-size: 24px;
    font-weight: 200;
}

form.login {
    display: inline-block;
    font-size: 16px !important;
    margin-top: 20px;
}

form.login table {
    width: 100%;
}

.login input[type=submit] {
    width: 100%;
}

.login input{
    height: 40px !important;
}

.login input[type=text],
.login input[type=password] {
    background: #00BCD4;
    border: 1px solid white !important;
    color: white !important;
}

.login input[type=text]::-webkit-input-placeholder,
.login input[type=password]::-webkit-input-placeholder
{
    color: white !important;
    opacity: 0.7 !important;
}

.login input#frm-loginForm-username{
    background: url(../img/user.png) no-repeat scroll 8px 8px;
    background-size: 20px 20px;
    padding-left:35px;
}

.login input#frm-loginForm-password{
    background: url(../img/password.png) no-repeat scroll 8px 8px;
    background-size: 20px 20px;
    padding-left:35px;
}


form.no-labels > table > tbody > tr > th > label {
    display: none !important;
}

form.form{
    padding: 10px;
}

form{
    width: 100%;
}

input[type=checkbox]{
    width: 15px;
    height: 15px;
}

input:not([type=submit]):not([type=checkbox]):not([type=button]):not([type=file]),
select,
textarea{
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

input[type=date]{
    max-width: 150px;
}

textarea{
    height: initial;
}

.checkbox-align{
    position: relative;
    top: -3px;
    left: 3px;
}

textarea.definition{
    height: 10em;
}

select,
input[type=datetime-local]{
    width: auto;
    min-width: 300px;
}

fieldset legend{
    /* font-style: italic; */
    /* font-weight: bold; */
    color: #444;
    background: #ccc;
    border: 1px solid #999;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 14px;
}

.page-section{
    margin-top: 20px;
    margin-bottom: 20px;
    padding-bottom: 5px;
    font-size: 20px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    color: #968f8f;
}

input[type=datetime-local]{
    width: initial !important;
}

input[type=radio]{
    width: 17px !important;
    height: 17px !important;
    margin-bottom: 3px;
    vertical-align: middle;
}

label{
}

th > label {
    margin-right: 10px;
    text-align: right;
    display: block;
    font-size: 14px;
    margin-top: 5px;
    min-width: 150px;
}

th{
    vertical-align: top;
    padding-top: 6px;
}


input[type=number]{
    width: 100px !important;
}

textarea:focus, select:focus, input:focus {
    outline: none;
    border: 1px solid var(--hover-main-color);
}

table {
    background-color: transparent;
    border-collapse: collapse;
}
caption {
    padding-top: 8px;
    padding-bottom: 8px;
    color: #777;
    text-align: left;
}
th {
    text-align: left;
}
.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 0 solid #ddd;
}
.table > thead > tr > th {
    vertical-align: bottom;
    border-bottom: 1px solid #ddd;
}
.table > caption + thead > tr:first-child > th,
.table > colgroup + thead > tr:first-child > th,
.table > thead:first-child > tr:first-child > th,
.table > caption + thead > tr:first-child > td,
.table > colgroup + thead > tr:first-child > td,
.table > thead:first-child > tr:first-child > td {
    border-top: 0;
}
.table > tbody + tbody {
    border-top: 1px solid #ddd;
}
.table .table {
    background-color: #fff;
}
.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.table-bordered > tbody > tr {
    border-bottom: 1px solid #ddd;
}

fieldset {
    border: 1px solid #888;
    border-radius: 5px;
    margin-bottom: 10px;
    padding-top: 10px;
}

table > tbody > tr > td{
    padding-top: 5px;
    padding-bottom: 5px;
}

table > tbody > tr > th{
    padding-top: 5px;
    padding-bottom: 5px;
}

thead.header,
tr.header{
    background-color: #234;
    color: white;
}

thead.header a,
tr.header a{
    color: white;
}

thead.header a:hover,
tr.header a:hover{
    color: var(--main-color);
}

.vertical-space{
    height: 5px;
}

table.quick-info > tbody > tr > th,
table.quick-info > tbody > tr > td{
    padding-right: 10px;
}

h2.highlighted{
    background: #008CA4;
    color: white;
    padding: 7px 15px 9px 15px;
    border-radius: 20px;
    font-size: 20px;
    font-weight: 100;
}

.no-anchor{
    text-decoration: none;
    color: initial;
}

.no-underline{
    text-decoration: none;
}

.good{
    color: green;
}

.bad{
    color: red;
}

.bookmark-blue{
    color: #05a;
}

table > tbody > tr.category{
    background-color: #f9f9f9;
}

hr{
    height: 1px;
    background-color: #999;
    border: none;
}

table.strings > tbody > tr > td.tags-list{
    padding-top: 5px !important;
}

.tags-list .tag{
    background-color: #e6dfbf;
    border-radius: 5px;
    padding: 1px 3px;
    border: 1px solid #c6bf9f;
    margin-right: 2px;
}

.btn-fixed-130{
    width: 130px !important;
}

.modal-closer{
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 14px;
    text-decoration: none;
    color: initial;
}

[readonly]{
    color: #ccc;
}

.toast{
    background-color: aliceblue;
    width: fit-content;
    padding: 15px 30px 15px 30px;
    margin: auto;
}

.close-toast{
    text-decoration: none;
    color: black;
    margin-left: 20px;
    margin-right: -10px;
    display: block;
    float: right;
}

.mt-0{
    margin-top: 0;
}
.mt-1{
    margin-top: 1em;
}
.mt-2{
    margin-top: 2em;
}

.mb-0{
    margin-bottom: 0;
}
.mb-1{
    margin-bottom: 1em;
}
.mb-2{
    margin-bottom: 2em;
}

.font-12 {
    font-size: 12px;
}

/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #e8e8e8;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

/* Style the buttons that are used to open the tab content */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: var(--hover-main-color);
    color: white;;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: var(--main-color);
    color: white;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

.tabcontent.active {
    display: block;
}

.tabcontent {
    animation: fadeEffect 0.5s; /* Fading effect takes 1 second */
}

.tabcontent .title {
    color: #666;
    font-weight: 400;
    font-size: 24px;
    margin-top: 10px;
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

ul.lang-selection>li>a, ul.lang-selection>li>label {
    text-align: left;
}

ul.lang-selection>li>label>input[type=checkbox] {
    position: relative;
    top: 2px;
    margin-right: 5px;
}

#lang-selection ul.lang-selection>li>label {
    padding: 9px 22px 13px 16px;
}

.merge_action{
    /*background-color: #f6f6f6;*/
    color: #666;
}

.merge_action.even{
    background-color: #f0f0f0;
}

tbody.active .merge_action.active {
    background-color: #86f6f6;
}
tbody.active .merge_action.even.active{
    background-color: #86B6f6;
}
.merge_table tbody {
    border: 1px solid black;
}

tbody.active tr.active.merge-accept .string {
    border: #75d640 solid 2px;
    border-radius: 2px;
    margin: -2px;
    background-color: #8ff571;
}

.translation {
    background: aqua;
    border-radius: 15px;
    padding: 5px;
    margin-right: 1px;
    margin-bottom: 1px;
    cursor: pointer;
    display: inline-block;
}

.translation:hover {
    background: #00BCD4;
}

.google-icon {
    background: url(../img/google.ico) no-repeat scroll 4px 4px aqua;
    background-size: 20px 20px;
    padding-left:25px;
}

.google-icon:hover {
    background: url(../img/google.ico) no-repeat scroll 4px 4px #00BCD4;
    background-size: 20px 20px;
}

.bt-icon {
    background: url(../favicon.png) no-repeat scroll 4px 4px aqua;
    background-size: 20px 20px;
    padding-left:25px;
}

.bt-icon:hover {
    background: url(../favicon.png) no-repeat scroll 4px 4px #00BCD4;
    background-size: 20px 20px;
}

.initial-value {
    color: lightgray;
}