/*!
Theme Name: Gyorki Telekom 2.0
Theme URI: http://underscores.me/
Author: Effix
Author URI: http://underscores.me/
Description: Template for maintenance web app
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: gyorki-telekom-2
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Gyorki Telekom is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

* {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently */
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
    font-size: 2em;
    margin: 0.67em 0;
    font-weight: 400;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
    border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
    padding: 0.5em;
    border-radius: 4px;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
    overflow: auto;
    resize: vertical;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
    display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
    color: #000000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}

h4 {
    line-height: 1.15;
}

h2 {
    font-weight: 400;
}

p {
    margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", courier, monospace;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
    background: #fff;
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {

}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

img {
    height: auto;
    max-width: 100%;
}

figure {
    margin: 1em 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
    table-layout: fixed;
}

td {
    overflow-x: auto;
}

/* Links
--------------------------------------------- */

/* Forms
--------------------------------------------- */


select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
    display: block;
    width: 100%;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    display: block;
    left: auto;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: auto;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media screen and (min-width: 37.5em) {

    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: flex;
    }
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
    margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    text-align: end;
    flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
    display: block;
}

.post,
.page {
    margin: 0 0 1.5em;
}

.updated:not(.published) {
    display: none;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
    margin: 0 0 1.5em;
}

.widget select {
    max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
    display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

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

/* Galleries
--------------------------------------------- */
.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
    grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
    grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
    grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
    outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

    /*rtl:ignore*/
    float: left;

    /*rtl:ignore*/
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {

    /*rtl:ignore*/
    float: right;

    /*rtl:ignore*/
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}

/* custom */
/* utility */
.has-bottom-separator {
    border-bottom: 1px solid #434343;
    margin-bottom: 30px;
    padding-bottom: 1rem;
}

.input-content-invisible {
    color: transparent;
    user-select: none;
    pointer-events: none;
}

.hidden {
    display: none !important;
}

label {
    cursor: pointer;
}

.site-wrapper {
    padding: 1rem;
    padding-top: 2rem;
    max-width: 500px;
    margin: 0 auto;

}
.site-wrapper--flex {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

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

p {
    margin-block-start: 0;
    margin-block-end: 0;
}

.finished-equipment-report-button {
    background-color: green !important;
    margin-bottom: 6px;
    text-align: center;
}

button {
    display: block;
    border-radius: 12px;
    cursor: pointer;
}

/* report styles */

input {
    width: 100%;
}

input:disabled {
    opacity: 0.4;
}

.image-input-hide {
    display: none;
}

.image-upload-label {
    cursor: pointer;
}

#report_imgs_id {
    display: none;
}

/* maintenance form style */
.report-image-container--small {
    display: flex;
    flex-wrap: wrap;
    border: 1px dashed #bfbfbf;
    margin-bottom: 6px;
    border-top: none;
    padding-top: 1rem;

}

.report-image-container--small > div {
    width: 33.33%;
    padding: 3px;
    position: relative;
}

.remove-file-button {
    background-color: #8d0000;
    background-image: url("imgs/trash.svg");
    background-position: center;
    background-size: 18px 18px;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    cursor: pointer;
    position: absolute;
    width: 30px;
    height: 30px;
    font-weight: 600;

    border-radius: 50%;
    top: 8px;
    right: 8px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;

}

.maintenance-form {
    padding: 0 1rem;
}

.form-wrapper div {
    margin-bottom: 1rem;
}

.equipment-form-wrapper button,
.equipment-form-wrapper a,
.interrupt-report-form button {
    padding: 0.5rem 1.2rem;
    background-color: #2c3e50;
    color: white;
    border: 0;
    display: block;
    border-radius: 4px;
    width: 100%;
}

.interrupt-report-form button {
    text-align: start;
}

.equipment-card {

    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 1rem 0;
    padding: 0.5rem 20px;
    border: 3px solid #2c3e50;
    border-radius: 4px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    position: relative;
}

.equipment-card button {
    width: 100%;
}

.equipment-card .card-button-group {
    display: flex;
}

/* loader */
#pageloaderfinal, #pageloaderimgs {
    background: rgba(255, 255, 255, 0.9);
    display: none;
    height: 100%;
    position: fixed;
    width: 100%;
    z-index: 9999;
}

#pageloaderfinal .box, #pageloaderimgs .box {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#pageloaderfinal img, #pageloaderimgs img {
    height: 150px;
}

.variable-wrapper {
    border-bottom: 1px dotted black;
    font-style: italic;
    font-weight: 400;
}

.maintenance-record {
    padding: 0.6rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;

    background: rgba(255, 255, 255, 1);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(13.6px);
    -webkit-backdrop-filter: blur(13.6px);
    border: 1px solid rgba(233, 233, 233, 0.21);
    position: relative;
}

.maintenance-record-data .maintenance-record-title span {
    font-weight: 400;
}

.maintenance-record-data .maintenance-record-title {
    margin-bottom: 0;
}

.maintenance-record.maintenance-record-data {
    margin-bottom: 0.5rem;
    padding: 0.2rem 1rem;
    box-shadow: none;
    border: 1px solid rgba(233, 233, 233, 0.7);

}

.maintenance-record-approve {

}

.maintenance-record.maintenance-record-approve {

}

.maintenance-record-approve .button-ok,
.maintenance-record-approve .button-nok {
    cursor: pointer;
    flex: 1;
    padding: 0.5rem 0.2rem;
    border-radius: 20px;
    margin-right: 0.5rem;
    user-select: none;
    background-color: white;
    font-weight: 600;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.maintenance-record-title {
    margin-top: 0.2rem;
    margin-bottom: 1.2rem;
}

.maintenance-record-approve .maintenance-record-title {

}

.maintenance-record-text {

}

.comment-area-hidden {
    position: absolute;
    opacity: 0;
    bottom: 0;
    height: 0;
    pointer-events: none;
}

.simple-choice-group-page {

}

.simple-choice-container {
    margin-bottom: 1rem;
    border-radius: 2px;
    display: flex;
    position: relative;
    text-align: center;
}

.simple-choice-container .input-button {
    cursor: pointer;
    flex: 1;
    padding: 0.5rem 0.2rem;
    border-radius: 20px;
    margin-right: 0.5rem;
    user-select: none;
    background-color: white;
    font-weight: 600;

    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.button-ok {

}

.button-nok {

}

.button-asap {

}

.button-none {
    padding: 2px 6px;
    border-radius: 6px;
}

.simple-choice {
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
}

/* kiválasztott button */
.simple-choice:checked + label {
    font-weight: 600;
    background-color: grey;
    color: white;
}

.simple-choice:checked + label.button-ok {
    font-weight: 600;
    background-color: mediumseagreen;
    color: white;
}

.simple-choice:checked + label.button-nok {
    font-weight: 600;
    background-color: indianred;
    color: white;
}

.simple-choice:checked + label.button-asap {
    font-weight: 600;
    background-color: darkred;
    color: white;
}

.simple-choice-addition-label {
    color: #a9a9a9;
    cursor: pointer;
    margin-bottom: 6px;
    display: inline-block;
    text-decoration: underline;
}

/* place chooser */
.places-container {
    margin-top: 20px;
}

/* search */
.system-finder-search {
    display: flex;
    justify-content: center;
    padding: 0.5rem 0.5rem;
    position: sticky;
    top: 10px;
    z-index: 1;
}

.system-finder-search form {
    width: 100%;
}

.system-finder-search-wrapper {
    position: relative;
    width: 100%;
    background-color: white;
    border-radius: 12px;

}

.system-finder-search-wrapper label {
    position: absolute;
    right: 0.8rem;
    top: 0.8rem;
    height: 1.8rem;
    width: 1.8rem;
    background-image: url("imgs/icon-search-places.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
}

.system-finder-search .system-finder-search-input {
    border-radius: 12px;
    border: 1px solid var(--primary-light, #A0ABBE);
    background: #FFF;
    padding: 0.8rem 3rem 0.8rem 1rem;
    width: 100%;
}

/* search end */

.place-radio-input:checked + label {
    background-color: deepskyblue;
}


/* report buttons */
.maintenance-component1 {
    background-image: linear-gradient(to right, #283048 0%, #859398 51%, #283048 100%);
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
}

.maintenance-component1:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}

.button-component-save {
    background-color: #2c3e50;
    color: #FFF;
    text-align: center;
}

.maintenance-component-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 12px;
    max-width: 500px;
    margin: 12px auto;
}

.maintenance-component-container label {
    text-align: start !important;
}

.maintenance-component, .image-upload-label {
    position: relative;
    line-height: 1.1;
    font-size: 1rem;
    display: flex;
    align-items: center;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    padding: 0.4rem 0.6rem;
    width: 100%;
    height: auto;
    font-weight: 600;
    /* aspect-ratio: 5 / 4; */
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.maintenance-component-disabled {

}

.maintenance-component-disabled .maintenance-component {
    pointer-events: none;
    box-shadow: none;
    border: none;
    opacity: 0.4;
}

.image-upload-label {
    aspect-ratio: revert;
    height: 120px;
}

.maintenance-component > div {
    margin-left: 4px;
}

.maintenance-component.maintenance-component-saved {
    /*background-image: linear-gradient(to right, #32CD32 0%, #859398 51%, #32CD32 100%);*/
    /*border: 2px solid #32CD32;*/
}

/* component icons */
.component-icon {
    width: 40px;
    height: 60px;
    padding: 4px;
    margin-right: 22px;
}

.component-icon-questionmark {
    transition: all 1s ease-in-out 0.3s;
    border-radius: 50%;
    outline: 3px solid transparent;
}

.component-icon-questionmark.active {
    outline-color: red;

}

.component-icon-complete { /* used for questionmark too */
    width: 35px;
    height: 35px;
    padding: 0;
    position: absolute;
    left: -14px;
    top: -14px;
}

.maintenance-component-disabled .component-icon-complete {
    display: none;
}

/* messages */

span.block {
    display: block;
}

.message-wrapper {
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    overflow: hidden;
}

.message-wrapper .simple-message {

    padding: 1rem;


}

.simple-message::before {
    background-color: #dadada !important;
}

.message-wrapper .simple-message p {
    font-weight: 600;
    display: block;
    margin-bottom: 30px;
}

.message-wrapper .simple-message.message--positive {
    border-color: green;
}

.message-wrapper .simple-message.message--negative {
    border-color: red;
}

.message-wrapper a {
    margin: 1rem 0 0 0;
}

.btn-1 {
    position: relative;
    padding-left: 80px !important;
}

.btn-1::before {
    content: "";
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    width: 60px;
    background: #2c3e50;
}

.btn-1.btn-1-trash,
.btn-1.btn-1-log-out {
    padding-left: 40px !important;
    margin: 0 !important;
}

.btn-1.btn-1-trash::before,
.btn-1.btn-1-log-out::before {
    width: 30px;
}

.btn-1.btn-1-trash::after,
.btn-1.btn-1-log-out::after {
    width: 30px;
}

.icon-info::after {
    background: url("imgs/info.svg");
}

.icon-new-file::after {
    background: url("imgs/file-plus.svg");
}

.icon-past::after {
    background: url("imgs/clock.svg");
}

.icon-incoming::after {
    background: url("imgs/icon_incoming.svg");
}

.icon-file::after {
    background: url("imgs/file-text.svg");
}

.icon-file-share::after {
    background: url("imgs/file-share.svg");
}

.icon-clipboard::after {
    background: url("imgs/clipboard.svg");
}

.icon-file-csv::after {
    background: url("imgs/icon-file-csv.svg");
}

.icon-log-out::after {
    background: url("imgs/log-out.svg");
}

.pdf-icon::after {
    background: url("imgs/pdf-icon.svg");
}

.icon-in-progress::after {
    background: url("imgs/icon_in_progress.svg");
}

.icon-settings::after {
    background: url("imgs/settings.svg");
}

.icon-map-pin::after {
    background: url("imgs/map-pin.svg");
}

.icon-map-mail::after {
    background: url("imgs/mail-icon.svg");
}

.icon-success::after {
    background: url("imgs/check-circle.svg");
}

.icon-alert::after {
    background: url("imgs/alert-circle.svg");
}

.icon-tool::after {
    background: url("imgs/tool.svg");
}

.icon-check-square::after {
    background: url("imgs/check-square.svg");
}

.icon-trash::after {
    background: url("imgs/trash.svg");
}

.icon-upload::after {
    background: url("imgs/upload.svg");
}

.btn-1::after {
    content: "";
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    width: 60px;
    background-size: 22px;
    background-position: center;
    background-repeat: no-repeat;
}

.site-button, .message-wrapper a {
    overflow: hidden;
    position: relative;
    display: block;
    margin: 0.7rem 0;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border: 1px solid #e4e4e4;
    transition: 200ms ease-in-out;
}

.site-button:hover {
    transform: translateY(-2px);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 6px;
}

.site-button--interrupted {
    background-color: #690202;
}

.site-button--pending {
    background-color: #929292;
}

.site-button-information {
    position: absolute;
    border-bottom-left-radius: 3px;
    top: 0;
    right: 0;
    background-color: green;
    color: white;
    padding: 3px 6px;
    font-size: 9px;
    font-weight: 600;
}

.image-upload-label.site-button {
    margin-bottom: 0;
}

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

/* fp */
.main-button-container {

}

.display-none {
    display: none;
}

.begin-report-button {
    margin-top: 20px;
    /* Add some padding and margin for better visual appearance */
    padding: 10px 20px;

    /* Set background color and text color */
    background-color: #3498db; /* Blue color, you can customize this */
    color: #fff; /* White text color */

    /* Add some border styling */
    border: none;
    border-radius: 4px;

    /* Add a smooth transition effect on hover */
    transition: background-color 0.3s ease;
}

/* Change the background color on hover */
.begin-report-button:hover {
    background-color: #2980b9; /* Darker blue color on hover */
}

/* static meta data input */
.input-static-meta-data {
    display: inline-block;
    border: none;
    padding: 2px 4px;
    border-bottom: 1px dotted black;
    border-radius: revert;
    width: 130px;
}

/* custom select2 */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: white !important;
}

.select2-container--default .select2-selection--multiple {
    border: 2px solid black !important;
}
.select2-selection { overflow: hidden; }
.select2-selection__rendered { white-space: normal; word-break: break-all; }
.error-report-start-panel {
    overflow: hidden;
}
/* single page display */

.display-title {
    color: #5a5a5a;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.display-value {
    padding: 6px;
    background-color: #fafafa;
    border: 1px solid #808080;
    border-radius: 6px;
    line-height: 1.2;
    word-break: break-word;
}

.display-comment {
    font-style: italic;
    padding-left: 0.5rem;
    font-size: 0.8rem;
}

option:disabled {
    background-color: #d0d0d0; /* Change the color as needed */
    font-style: italic; /* Make it italic, for example */
}

/* custom multiselect */

.custom-multiselect-row {
    display: flex;
    align-items: center;
    padding: 6px;
}

.custom-multiselect-row label {
    flex: 1;
}

.custom-multiselect-row .postfix {
    margin-left: 6px;
}

.custom-multiselect-row input {
    width: 80px;
}

.custom-multiselect-row img {
    margin-left: 30px;
    cursor: pointer;
    width: 25px;
    height: 25px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* loginform */

/* login page */
.error-msg {
    color: red;
    font-weight: 600;
}

#loginform input[type=submit] {
    background-color: #2c3e50;
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    cursor: pointer;
    width: 100%;
    margin-bottom: 0;

}

/* login */
.login-form-card {
    padding: 1rem;
    background-color: white;
    border-radius: 6px;
}

#loginform p {
    margin: 0;
}

#loginform input[type=text],
#loginform input[type=password] {
    width: 100%;
}

#loginform p {
    margin-bottom: 6px;
}

#loginform label {
    display: block;
    margin-bottom: 3px;
}

#rememberme {
    width: revert;
}

.simple-icon-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100px;
    padding: 0.4rem;
    background-color: #2c3e50;
    border-radius: 6px;
}

.simple-icon-button img {
    width: 32px;
}

.simple-icon-button span {
    line-height: 1;
    margin-top: 6px;
    color: white;
}

#show-reports-button {
    transition: opacity 200ms linear 400ms;
}

#hide-reports-button:hover {
    cursor: pointer;
}

.report-button-container {
    outline: 1px solid #ececec;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    overflow: hidden;
    max-height: 0;
    transition: all 400ms linear;
    background-color: white;
    overflow-y: auto;
}

.report-button-container > * {
    padding-left: 10px;
    padding-right: 10px;
}

.button-sticky-bottom.open .report-button-container {
    max-height: 80vh;

}

.button-sticky-bottom.sending .site-button {
    pointer-events: none;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

.button-sticky-bottom.open #show-reports-button {
    opacity: 0 !important;
    pointer-events: none;
    transition: opacity 0ms linear;
}

.button-sticky-bottom {
    position: sticky;
    bottom: 0;
    z-index: 3;
}

.button-sticky-bottom h4 {
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
}

.button-sticky-bottom label {
    margin: 0.6rem 0;
    padding: 0.6rem 0.2rem;
    padding-left: 70px !important;
    line-height: 1.1;
    color: #434343;
}

.button-sticky-bottom h4 {
    font-weight: 400 !important;
}

.button-sticky-bottom strong {
    color: #000;
    display: block;
}

/* multiple */
.maintenance-component-container h2 {
    margin: 0;
    padding: 10px 0;
}

.day-wrapper {
    overflow: hidden;
    max-height: 0;
}

.day-wrapper__inside {
    padding: 20px;
}

.day-wrapper__inside > div {
    margin-bottom: 10px;
}

.expanded + div {
    max-height: unset;
}

.day-group-wrapper {
    position: relative;
    line-height: 1.1;
    font-size: 1rem;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    padding: 0.4rem 0.6rem;
    width: 100%;
    font-weight: 600;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.day-group-wrapper.invisible {
    display: none;
}

/* tickets */

.email-content-container {
    margin-top: 1rem;
    background-color: #f6f8f7;
    border: 2px solid #e4e4e4;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border-radius: 12px;
    padding: 1rem;
}

.email-toggle-button {
    cursor: pointer;
}

.email-toggle-button.open {
    background-color: #f6f8f7 !important;
    box-shadow: none;
}

.error-report-start-panel {
    padding: 1rem 1rem 0;
    background-color: #f6f8f7;
    border-radius: 12px;
    border: 1px solid #e4e4e4;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.error-report-start-panel.sending label {
    pointer-events: none;
    animation: pulse 1s infinite;
}

/* archive */

.archive-button {
    width: revert;
    background-color: #2c3e50 !important;
    color: #FFF;
    padding: 4px 8px !important;
    margin-bottom: 14px;
    cursor: pointer;
}

.component-table {
    border-collapse: collapse;
    width: revert;
    table-layout: fixed; /* IMPORTANT */
}

.component-table th,
.component-table td {
    min-width: 300px;
    max-width: 500px;
    padding: 8px;
    border: 1px solid #ccc;
    vertical-align: top;

    /* handle long content */
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

