html, body {
    height: 100%;
    background: url(/img/bg.jpg) center center repeat;
    color: #646464;
    background-attachment: fixed;
}

body {
    margin: 0;
    padding: 0;
}

div, p, h1, h2, h3, h4, a, menu, ul, li, input {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.clear {
    clear: both;
}

.pointer {
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}

.hidden {
    display: none;
}

.underline {
    text-decoration: underline;
}

.bold {
    font-weight: bold;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.red-color {
    color: #800;
}

.bb {
    border: 1px solid red
}

.pull-right {
    float: right;
}

.text-small {
    font-size: 12px;
}

.badge {
    display: inline-block;
    padding: 1px 10px;
    border-radius: 3px;
    color: #fff;
    font-weight: bold;
}

.badge-do {
    background: #8BC03E
}

.badge-dont {
    background: #C31A7E
}

.badge-reject {
    background: #000
}

.badge-admin {
    background: #fe871f
}

#please-wait {
    position: fixed;
    top: 42%;
    font-size: 40px;
    font-weight: bold;
    left: 50%;
    margin-left: -110px;
    z-index: 47;
    text-align: center;
    line-height: 40px;
    color: #f99;
}

#all-site {
    margin: 0 auto;
    background: url(/img/bg.jpg) center center no-repeat
}


.frm-login input[type="text"], .frm-login input[type="password"] {
    background: #fff;
    border-radius: 6px;
    padding: 3px;
    border: none;
    margin: 5px 0;
    outline: none;
    padding: 4px 10px;
    width: 200px;
}

.frm-login input[type="submit"] {
    margin-top: 30px;
    background: #ffd8ba;
    border: none;
    padding: 5px 0;
    width: 200px;
    text-align: center;
    cursor: pointer;
    color: #828282;
}


#top-tabs {
    background-repeat: no-repeat;
    height: 61px;
    overflow: hidden;
    background-size: 850px 310px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#top-tabs.tab-1 {
    background-position: 0 0;
}

#top-tabs.tab-2 {
    background-position: 0 -109px;
}

#top-tabs.tab-3 {
    background-position: 0 -210px;
}

#top-tabs a.tab-1 {
    display: block;
    width: 280px;
    height: 60px;
    float: left;
}

#top-tabs a.tab-2 {
    \ display: block;
    width: 290px;
    height: 60px;
    float: left;
}

#top-tabs a.tab-3 {
    display: block;
    width: 278px;
    height: 60px;
    float: left;
}


textarea {
    width: 100%;
    outline: none;
    background: #fff;
    border: 1px solid #aaa;
    margin: 0 !important;
    padding: 10px;
    font-size: 16px;
}

textarea:focus {
    border: 1px solid #888;
}

textarea::-webkit-input-placeholder {
    color: #ccc;
    opacity: 1
}

textarea:-moz-placeholder {
    color: #ccc;
    opacity: 1
}

textarea::-moz-placeholder {
    color: #ccc;
    opacity: 1
}

textarea:-ms-input-placeholder {
    color: #ccc;
    opacity: 1
}


/*
.arrow-next, .arrow-prev {
    position: absolute;
    margin: 10px;
    top: 50%;
    font-size: 36px;
    color: #fff;
    display: block;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, .6);
    color: #888;
    border-radius: 50%;
    text-align: center;
    box-shadow: 2px 2px 6px 0 #666;
}

.arrow-next:hover, .arrow-prev:hover {
    color: #fff;
    border-radius: 50%;
    text-align: center;
    box-shadow: 4px 4px 6px 0 #666;
    background: rgba(0, 0, 0, .2);
}

.arrow-next {
    right: 0
}

.arrow-prev {
    left: 0
}

.amessage {
    padding: 5px 0;
    border: 1px solid #ddd;
    border-bottom: none;
    background: #eee;
    position: relative;
}

.amessage:nth-child(even) {
    background: #f8f8f8
}

.amessage .userdata {
    width: 100px;
    float: left;
}

.amessage .actual-message {
    width: calc(100% - 110px);
    float: left;
    padding: 0 10px;
    border-left: 1px solid #ddd;
    min-height: 60px;
}

.amessage:last-child {
    border-bottom: 1px solid #ddd
}

.amessage:first-of-type {
    margin-top: 10px;
}

.localflow {
    padding-right: 0
}

.localflow .amessage:first-of-type {
    margin-top: 0;
}

.amessage .dt {
    font-size: 12px;
    padding: 5px 0 0 0;
    line-height: 12px;
    display: block;
}

.actual-img {
    min-height: 220px;
    background-size: 120px !important;
    padding-top: 140px;
    text-align: center
}


#myrowtohide p {
    margin: 10px;
}

.fp-message {
    padding: 10px 10px 10px 30px;
    text-align: center;
    background: #8bc03e;
    color: #fff;
    font-weight: bold;
    border: 2px solid #6ba01e;
    position: fixed;
    width: auto;
    z-index: 3;
    right: 20px;
    bottom: -40px;
    box-shadow: 2px 2px 5px #999;
    border-radius: 5px;
}

.fp-error {
    padding: 10px 10px 10px 30px;
    text-align: center;
    background: #a00;
    color: #fff;
    font-weight: bold;
    border: 2px solid #a35a5e;
    position: fixed;
    width: auto;
    z-index: 3;
    right: 20px;
    bottom: -40px;
    box-shadow: 2px 2px 5px #999;
    border-radius: 5px;
}

.lightbox-do {
    border-top: 8px solid #8bc03e
}

.lightbox-dont {
    border-top: 8px solid #c31a7e
}

#the-donts-button {
    margin: 30px 0;
    text-align: center
}

#the-dos-button {
    margin: 30px 0;
    text-align: center
}


#upload-choose {
    margin-top: 60px;
}

#imgpreview {
    text-align: center
}

#imgpreview img {
    display: block;
    text-align: center
}

#upload-ok .addpanel {
    border: 1px dashed #f18720;
    padding: 0;
    width: 720px;
    margin: 0 auto 30px auto;
    display: block;
    color: #f18720;
}

#upload-ok .addpanel:hover {
    color: #fff;
    background: #f18720
}

#upload-ok .addpanel span {
    font-size: 20px;
    display: inline-block;
    margin-top: -15px;
}

#upload-ok .addpanel span:before {
    content: "+";
    display: inline-block;
    margin-right: 10px;
    font-size: 40px;
    font-weight: bold;
    position: relative;
    top: 5px;
}

#frm-login {
    color: #828282;
}

#frm-login .error {
    text-align: center;
    color: #f00;
    font-weight: bold;
    margin: 0 0 20px 0;
}



#

#frm-login label {
    margin: 5px 0;
    display: block;
}


#adminpanel {
    overflow: hidden;
    box-shadow: 3px 0 3px #bbb, 0 3px 3px #bbb;
    border-radius: 0 0 5px 5px;
    background: #fff
}

.tab-panel {
    background: #fff;
}

.tab-panel > div {
    padding: 10px;
}

#tab-panel-0 {
    background: #fff;
}

.color a {
    color: #666;
}

.color a.selected {
    color: #646464;
}

#tab-panel-1 .color {
    background-color: #fef3e8;
    padding: 10px 0;
}

#tab-panel-2 .color {
    background-color: #f3f9eb;
    padding: 10px 0;
}

#tab-panel-3 .color {
    background-color: #f9e8f2;
    padding: 10px 0;
}

#adminpanel {
    border-radius: 5px
}

.aphoto {
    border-top: 1px solid #ccc;
    padding: 18px 0
}

.aphoto img.animage {
    border: 1px solid #aaa;
    box-shadow: 3px 3px 3px #ccc;
    transition: .1s;
}

.aphoto img.animage:hover {
    box-shadow: 5px 5px 3px #575;
    transition: .1s;
}

.aphoto .action {
    display: block;
    margin-bottom: 20px;
    border-radius: 6px;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    opacity: .7;
    box-shadow: 3px 3px 3px #aaa
}

.aphoto .action:hover {
    opacity: 1
}

.aphoto .action.do {
    border: 2px solid #6ba01e;
    background: #8bc03e;
}

.aphoto .action.dont {
    border: 2px solid #a30a5e;
    background: #c31a7e;
}

.aphoto .action.reject {
    border: 2px solid #000;
    background: #444;
}

.aphoto .action.delete {
    border: 2px solid #f00;
    background: #f44;
    margin-top: 50px;
}

#cover {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 1
}

#input-place {
    position: fixed;
    top: 50%;
    left: 50%;
    background: #fff;
    border: 1px solid #000;
    width: 460px;
    margin-left: -230px;
    margin-top: -200px;
    z-index: 3;
    overflow: hidden
}

#input-place h2 {
    background: #333;
    border-bottom: 1px solid #aaa;
    color: #eee;
    font-size: 18px;
    padding: 10px 0;
}

#input-place .small {
    padding: 20px 20px 0 20px;
    font-size: 13px;
    color: #999;
}

#input-place .buttons {
    padding: 10px 20px;
    background: #eef;
    border-top: 1px solid #aaa;
    height: 60px;
}

#input-place a {
    display: inline-block;
    padding: 5px 20px;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
}

#input-place a.cancel {
    border: 1px solid #888;
    background: #666;
    float: right
}

#inputbox {
    height: 120px;
    width: 420px;
    padding: 5px;
    margin: 20px 20px 0 20px;
    box-sizing: border-box
}

#katastima_id {
    width: 360px;
    padding: 5px;
    margin: 0 20px;
    box-sizing: border-box
}


.flagger a {
    display: inline-block;
    margin-right: 14px;
}

.flagger a:last-child {
    margin-right: 0;
}


.resend-button {
    display: inline-block;
    padding: 5px 20px;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    border: 1px solid #000;
    background: #444;
}

label span {
    position: relative;
    top: -2px;
}

.gr-button {
    color: #89c027 !important;
    display: inline-block;
    padding: 3px 5px;
    background: #fcfdfa;
    border: 1px solid #89c027;
}

.gr-button.checked {
    color: #fcfdfa !important;
    display: inline-block;
    padding: 3px 5px;
    background: #89c027;
    border: 1px solid #89c027;
}

.rd-button {
    color: #c71a80 !important;
    display: inline-block;
    padding: 3px 5px;
    background: #fcfdfa;
    border: 1px solid #c71a80;
    cursor: pointer;
    font-size: 14px;
}

.labeler label {
    display: inline-block;
    margin-left: 10px;
    margin-right: 35px;
}

.labeler label:last-child {
    margin-right: 0 !important;
}


.upload-panel {
    padding: 20px 30px 0 30px;
}

.upload-panel > .row {
    background: #fef4ea;
    padding: 4px 0
}

.upload-panel .separator .line {
    border-bottom: 1px dashed #f18720
}

.upload-panel:last-child .separator .line {
    border-bottom: none;
}

.choose-role {
    color: #f18720;
    font-size: 22px;
    margin-bottom: 10px;
}

.choose-button:hover {
    background: #f5871e33;
    border-color: #f5871e66;
}

.choose-button {
    background: #fff;
    border: 1px solid #fff;
    color: #888;
    outline: none;
    border-radius: 5px;
    display: block;
    text-align: center;
    width: 100%;
    margin-bottom: 3px;
    font-size: 20px;
    cursor: pointer;
    padding: 8px 0;
}

.choose-button.selected {
    background: #f5871e;
    color: #fff;
    border: 1px solid #f5871e;
}

.choose-button-delete {
    background: none;
    border: 1px dashed #f00;
    color: #f00;
    outline: none;
    border-radius: 3px;
    display: block;
    text-align: center;
    width: 100%;
    font-size: 20px;
    cursor: pointer;
}

.collapse .choose-button {
    margin-bottom: 0
}


.new-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 10
}

.new-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    background: #fff;
    border: 1px solid #000;
    width: 660px;
    z-index: 3;
    overflow: hidden;
    transform: translate(-50%, -50%);
}

.new-popup h2 {
    background: #333;
    border-bottom: 1px solid #aaa;
    color: #eee;
    font-size: 18px;
    padding: 10px 0;
}

.new-popup .small {
    padding: 10px 20px 0 20px;
    font-size: 13px;
    color: #999;
}

.new-popup .buttons {
    padding: 10px 20px;
    background: #eef;
    border-top: 1px solid #aaa;
    height: 60px;
}

.new-popup a {
    display: inline-block;
    padding: 5px 20px;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
}

.new-popup a.cancel {
    border: 1px solid #888;
    background: #666;
    float: right
}

.new-popup textarea {
    height: 60px;
    width: 620px;
    padding: 5px;
    margin: 0 20px 0 20px;
}

.new-popup textarea.half {
    width: 290px
}

.new-popup select {
    width: 620px;
    padding: 5px;
    margin: 0 20px 0 20px;
    font-size: 16px;
}

.new-popup select.full {
    width: 100%;
    padding: 5px;
    margin: 0 20px 0 20px;
    font-size: 16px;
}

.new-popup select.half {
    width: 290px;
    padding: 5px;
    margin: 0 10px 0 20px;
}

.new-popup select.triple {
    width: 180px;
    padding: 5px;
    margin: 0 10px 0 20px;
}

.new-popup label {
    display: inline-block;
    width: 290px;
    padding: 0 4px;
    margin: 0 10px 0 20px;
}

.new-popup label.ennoia {
    padding: 4px;
    margin: 0;
    width: 208px;
    font-size: 11px;
    vertical-align: top;
    white-space: nowrap;
    border-top: 1px solid #ddd
}

.new-popup label.ennoia:nth-child(3n) {
    margin-left: 15px;
}

.new-popup label.ennoia:nth-child(3n + 1) {
    background: #eee;
}

.new-popup label.ennoia:hover {
    background: #fed
}

.new-popup .allbutton {
    float: right;
    transform: translateY(-20px);
    display: inline-block;
    padding: 5px 10px;
    background: #ddd
}

.new-popup .athird {
    display: inline-block;
    width: 200px;
    vertical-align: top;
    padding-right: 20px;
}

.new-popup div.half {
    display: inline-block;
    width: 320px;
    vertical-align: top;
    padding-right: 20px;
}

.new-popup.no-fixed-size {
    width: auto !important
}

.action-button-transfer {
    border: 1px solid #de6700;
    background: #fe871f;
}

.action-button-do {
    border: 1px solid #6ba01e;
    background: #8bc03e;
}

.action-button-dont {
    border: 1px solid #a30a5e;
    background: #c31a7e;
}

.action-button-reject {
    border: 1px solid #000;
    background: #444;
}


.checkmark {
    font-family: arial;
    -ms-transform: scaleX(-1) rotate(-35deg);
    -webkit-transform: scaleX(-1) rotate(-35deg);
    transform: scaleX(-1) rotate(-35deg);
    font-size: 30px;
    position: absolute;
    top: -11px;
    left: 6px;
}


.store_chooser {
    display: block;
    padding: 0 0 0 5px;
    margin: 2px;
    position: relative;
    border-radius: 3px;
    font-size: 14px
}

.store_chooser input {
    vertical-align: middle;
}

.store_chooser input:checked:after {
    display: block;
    content: " ";
    background: #8BC03E;
    opacity: .3;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0
}

.store_chooser:hover {
    background: #8BC03E;
    color: #fff;
}

.report hr {
    height: 5px;
    border: 0;
    margin: 10px 0;
    box-shadow: inset 0 4px 4px -4px rgba(0, 0, 0, 0.2);
}


.transfer-button {
    display: block;
    margin-bottom: 2px;
    background: chocolate;
    color: #fff;
    text-align: left;
    border: 1px solid #999;
    padding: 5px 15px;
    border-radius: 6px;
}

a.transfer-button:hover {
    background: crimson;
}

.transfer-button.disabled {
    opacity: .3;
}

.transfer-button > span {
    float: right;
}

*/

button {
    cursor: pointer;
    background: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    outline: none;
    margin: 0 10px;
    box-shadow: 1px 2px 5px 0 #0004;
}

button.active {
    background: #8ac13e;
    color: #fff;
}


.bg-white {
    background-color: #fff;
}

.bg-somon {
    background-color: #fef4ea;
}

.block {
    display: block;
    width: 100%;
}

.link {
    cursor: pointer;
}

.text-link {
    cursor: pointer;
    color: #338833;
}

.text-link:hover {
    text-decoration: underline;
}

.tag {
    display: inline-block;
    border-radius: 10px;
    padding: 5px 20px;
    background-color: cornsilk;
    box-shadow: 2px 1px 3px 0 #0005;
}
.tag:hover {
    box-shadow: 2px 1px 4px 0 #000c;
}

.tag.new {
    background-color: cadetblue;
    color: #fff;
}

.tag.talk {
    background-color: #aaa;
    color: #fff;
}
.tag.small {
    padding: 2px 10px;
}

button.dos {
    background-color: #6ba01e;
    color: #fff;
}

button.donts {
    background-color: #a30a5e;
    color: #fff;
}

button.notes {
    background-color: #444;
    color: #fff;
}

button.delete {
    background-color: #f00;
    color: #fff;
}

.do-colors {
    background-color: #6ba01e;
    color: #fff;
}

.dont-colors {
    background-color: #a30a5e;
    color: #fff;
}

.side-menu {
    background: #fff;
    position: relative;
    padding: 10px;
    border: 1px solid #aaa;
    box-shadow: 3px 3px 8px 0 #0006;
}

.side-menu h3 {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #aaa;
}

.side-menu .a-cat {
    padding: 5px 10px;
}

.side-menu .a-cat:hover {
    background-color: cornsilk;
}

.side-menu .a-cat.selected {
    background-color: chocolate;
    color: #fff;
}

.ribbon {
    padding: 10px;
    background-color: #eee;
    transform: translateY(-11px);
    border: 1px solid #aaa;
}

.ribbon.no-gap {
    transform: translateY(11px);
}

.pad-v {
    padding:16px 0;
}

.small-info {
    font-size:12px;
}

.flex2 {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(2, 1fr);
}