@import "/vendor/blueimp-file-upload/css/jquery.fileupload.css";

/* im Safari den Longtap unterstützen */
a {
    -webkit-user-select: none; /* disable selection/Copy of UIWebView */
    -webkit-touch-callout: none; /* disable the IOS popup when long-press on a link */
}

/* https://material.io/resources/icons/?style=baseline */
@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(../vendor/materialfont/MaterialIcons-Regular.eot); /* For IE6-8 */
    src: local('Material Icons'),
    local('MaterialIcons-Regular'),
    url(../vendor/materialfont/MaterialIcons-Regular.woff2) format('woff2'),
    url(../vendor/materialfont/MaterialIcons-Regular.woff) format('woff'),
    url(../vendor/materialfont/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
}

.material-icons-small {
    font-size: 12px !important;
}


.space {
    height:150px;
}

.image-background-stoffe {
    background-image: url("/img/ines_naehzimmer_900.jpg");
    background-size: cover;
    background-attachment: fixed;
}

h1, h2, h3, h4 {
    font-family: 'Courgette', cursive;
}

@media screen and (max-device-width: 768px) {
    h4 {
      font-size: 1.5em;
    }
}

p, div {
    font-family: 'Nunito', sans-serif;
}

/* ------------------------------- */
/* ----- spinner beim Speichern ---*/
.loading {
    display: flex;
    justify-content: center;
}

.loading::after {
    content: "";
    width: 25px;
    height: 25px;
    border: 5px solid #dddddd; /*transparent; */
    border-right-color: #d16767;
    border-left-color: #d16767;
    border-bottom-color: #d16767;
    border-radius: 50%;
    /* animation: loading 0.5s ease infinite; */
    animation: loading 1s linear infinite;
}
@keyframes loading {
    to {
        transform: rotate(1turn);
    }
}
/* ------------------------------- */
/* ----- Statusbar beim Speichern der Fotos ---*/
.progress {
    position: relative;
    width: 100%;
    height: 16px;
    background: #f2d4d4;
    border-radius: 2px;
    overflow: hidden;  /* sonst sind links keine Rundungen */
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.progress__fill {
    width: 0%;  /* Stand */
    height: 100%;
    background: #d16767;
    transition: all 0.2s;
}

.progress__text {
    position: absolute;
    top: 50%;
    left: 5px;
    /*        justify-content: center;*/
    transform: translateY(-50%);
    font: bold  10px 'Quicksand', sans-serif;
    color: #FFF;
}

/* ------------------------------- */

.bg-primary {
    background-color: #f9683e !important;
}

.btn-primary {
    color: #fff;
    background-color: #f9683e;
    border-color: #f9683e;
}

@media (hover: hover), (-ms-high-contrast: none) {
    .btn-primary:hover {
        color: #fff;
        background-color: #da795c;
        border-color: #e67351;
    }
}

.btn-primary:focus, .btn-primary.focus {
    color: #fff;
    background-color: #da795c;
    border-color: #e67351;
    box-shadow: 0 0 0 0.2rem rgba(252, 176, 154, 0.5);
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #f9683e;
    border-color: #f9683e;
}

.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #e67351;
    border-color: #da795c;
}

.btn-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(252, 176, 154, 0.5);
}

.img-list {
    width: 150px;
    height: 150px;
}

.h-10 {
    height: 10% !important;
}

.w-10 {
    width: 10% !important;
}

/*
.image-background-stoffe {
    background-image: url("/img/stoffe-75p-white.jpg");
    background-size: cover;
}
*/

.invalid-feedback {
    color: white !important;
}

.color-register {
    background-color: white !important;
    color: #ffffff;
}

.color-grey {
    background-color: lightcoral;
    color: #ffffff;
}
.color-grey input, .color-grey select {
    color: #000000;
}

.nav-link-hover:hover {
    cursor: pointer;
}

/* Anzeige der Fotos */

.image {
    position: relative;
}
.image__overlay, .imagenew__overlay, .folder__overlay, .entry__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    font-family: "Segoe UI";
    display: flex;  /* für horizontales und vertikales Setzen von Text */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s;
}

.image__favicon__background {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    background-color: white;
    opacity: 1;
}

.image__favicon {
    display: flex;  /* für horizontales und vertikales Setzen von Text */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.image__overlay:hover, .imagenew__overlay:hover, .image__click:hover {
    opacity: 1;
    cursor: pointer;
}

/* Mobile Geräte, löschen X einblenden */
@media (hover:none), (hover:on-demand){
    .image__overlay, .imagenew__overlay {
        opacity: 1;
    }
}

.image__edit, .image__edit__list,
.folder__edits, .entry__edits,
.person__edit, .pattern__edit, .fabric__edit, .access__edit {
    position: absolute;
    display: flex;
    top: 0;
    right: 0;
    width: 20%;
    height: 20%;
    background: rgba(0, 0, 0, 0.3);
}

.image__edit {
    width: 30%; /* wegen der Favoriten */
}

.folder__edits {
    width: 100px;
    height: 25%;
}

.fav_yes {
    color: red;
    visibility: visible;
}

.fav_no {
    visibility: hidden;
}


.entry__edits {
    width: 105px;
    height: 35px;
/*    visibility: hidden; */
}

.folder_item {
  margin-left: 8px;
  margin-top: 3px;
}

.image__click, .imagenew__click, .projectimg_click, .link__click
{
    position: absolute;
    bottom: 0;
    height: 80%;
    width:100%;
}

.projectimg_click {
    position: relative;
}

.image__delete,
.person__delete, .pattern__delete, .fabric__delete, .access__delete {
    position: absolute;
    right: 0;
    left:0;
    top:0;
    bottom:0;
    margin:auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image__duplicate {
    right: 40px;
}

.material-icons {
    font-size: 24px;
}

.image_item, .entry_item {
    margin: 5px;
}



/* Fotoanzeige zum Hochladen */
 .image-preview, .project-preview__small {
     width: 200px;
     height: auto;
     min-height: 50px;
     margin-top: 15px;
     display: none;
     object-fit: contain;
/*     border: 2px solid red; */
     float: left;
     margin-right: 20px;
 }

.c-dark-theme .image-preview {
    color: black;
}

.project-preview__small{
    width: 100px;
    display: block;
}

.project-preview__small_text {
    margin-top: 30px;
}

.image-preview__image {
    display: none;
    width:100%;
    image-orientation: from-image;
}

canvas {
    display: none;
    image-orientation: from-image;
}

#blocker_photoupload, #blocker_savedata {
    display: none;
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

.floating-btn {
    z-index: 100;
    width: 50px;
    height: 50px;
    background-color: #338cd5;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff !important;
    font-size: 40px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
    position: fixed;
    right: 20px;
    bottom: 20px;
    transition: background 0.25s;
}

@media screen and (min-device-width: 768px) {
    .floating-btn {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }
}
.floating-btn:hover {
    background-color: #2982c9;
}

.floating-btn:active {
    background-color: #236dab;
}

.c-dark-theme .floating-btn {
    background-color: #FFFFFF;
    color: #000 !important;
}

.table {
    margin-bottom: 0em !important;
}

.table th, .table td {
    border-top: 0px; !important;
}

#maincontainer {
    width: 350px;

}

#mainpicture {
    max-width: 350px;
    max-height: 350px;

    border: 5px solid white;
    border-radius: 4px;
}
#mainpicture:hover {
    cursor: pointer;
}

.checkbox_ml {
    margin-left: 20px !important;
    margin-top: 5px;
}

.btnBack {
    cursor: pointer;
}


.clear {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

/* FolderImage einfärben */

.folderimage {
    width: 72px;
    height: 84px;
    margin-left: -20px;
    /*overflow: hidden;*/
}

@media screen and (min-device-width: 768px) {
    .folderimage {
        width: 96px;
        height: 96px;
        margin-left: 10%;
    }
}

.folderimage>span {
    margin-left: -570px; /* -570px */
    display: block;
    width: 96px;
    height: 96px;
    background: url(../img/folder96.png) no-repeat center center;
}

.safari>span {
    margin-left: 0px;
}

#select_color_field {
    margin-top: 0px;
}

#select_color {
    width: 100px;
    height: 50px;
    display: block;
}

.centered {
    margin-top: 35px;
}

.w-10 {
    width: 10%;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    /* This is better for small screens, once min() is better supported */
    /* grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); */
    /* grid-gap: 1rem; */
    /* This is the standardized property now, but has slightly less support */
    gap: 1rem
    justify-items: center;
}


/* Anzeige des Textes beim Hiovern über ein Foto */
.image__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-family: "Segoe UI";
    display: flex;  /* für horizontales ud vertikales setzen von Text */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s;
}

.image__overlay > * {  /* jedes direkte Unterlement */
    transform: translateY(20px);
    transition: transform 0.25s;
}

.image__overlay:hover, .image__overlay:active {
    opacity: 1;
}

.image__overlay:hover > *, .image__overlay:active > * {  /* jedes direkte Unterlement */
    transform: translateY(0);
}

.image__title {
    font-size: 2em;
    font-weight: bold;
}

.image__title2, {
    font-size: 1.5em;
    font-weight: bold;
}

.image__description {
    font-size: 1.25em;
    margin-top: 0.25em;
}

/* Objekte im Projekt hinzufügen  */
#addPerson:hover, #addFabric:hover, #addPattern:hover, #addAccess:hover {
    cursor: pointer;
}

.hide_edit {
    display: none;
}

/* Kontextmenü für Ordner */

.folder-cm, .entry-cm {
    background-color: white;
    color: black !important;
    border: 1px solid #cccccc;
    border-radius: 5px;
    box-shadow: 1px 1px 10px rgba(0, 0,0, 0.1);
    display: none;
    padding: 10px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    z-index: 2222;
}

.folder-cm__item, .entry-cm__item {
    cursor: pointer;
    padding: 8px 15px;
}

.folder-cm__item:hover, .entry-cm__item:hover {
    background-color: #f0f0f0;
}

.folder-cm__divider, .entry-cm__divider {
    border-bottom: 1px solid #eeeeee;
    margin: 10px 0;

}
/* Ende Kontextmenü */

/* Flex Container am Anfang der Liste */

.head-group {
    display: grid;
    grid-template-columns : 1fr;
    gap: 1.5em;
}
.head_item {
    display: flex;
}

.head-item-text {
    flex-grow: 1;
}
.head-item-heading {
    display: flex;
    justify-content: space-between;
    margin: 0;
}
#activeFilter {
    opacity: 1;
    color: #bb0000;
    font-weight: bold;
    animation: blinker 2s linear infinite;  /* blinkender Hinweis auf aktiven Filter */
    visibility: hidden;
}

#activeSearch, #activeTags {
    display: none;
}

.c-dark-theme #activeFilter {
    color: #FFFFFF;
}

#activeFilter:hover,
#activeSearch:hover,
#activeTags:hover {
    cursor: pointer;
}

@keyframes blinker {
    0% { opacity: 1.0; }
    25% { opacity: 0.0; }
    100% { opacity: 1.0; }
}


/* Ende Flex Container */

/* Statistik */
.stats {
    margin: 25px;
    max-width : 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, 125px);
    gap: 2em;
    padding: 2em;
    border-radius: 20px;
    background-color: #338cd5;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.c-dark-theme .stats {
    background-color: #f8f8fa;
}

.stats__background, .stats__background_smaller {
    text-align:center;
    background: white;
    border-radius: 10px;
}

.c-dark-theme .stats__background,
.c-dark-theme .stats__background_smaller {
    background-color: #338cd5;
}

.stats__background_smaller {
    margin: 20px;
}

.stats__counter, .stats__counter_smaller {
    color: #333333;
    padding: 0.25em 0;
    margin-bottom: -10px;
    font-size: 3em;
    font-weight: bold;
}

.c-dark-theme .stats__counter,
.c-dark-theme .stats__counter_smaller {
    color: white;
}

.stats__counter_smaller {
    font-size: 2em;
    font-weight: bold;
}


.stats__unit, .stats__unit_smaller {
    font-size: 1.2em;
    padding-bottom: 1em;
    color: #94001B;
}

.c-dark-theme .stats__unit,
.c-dark-theme .stats__unit_smaller{
    color: white;
}

.stats__unit_smaller {
    font-size: 1.0em;
}

/*
.c-dark-theme {
   color: red !important;
   background-color: green !important;
}
*/

/* Eingabefelder */
.input-lg {
    font-size: 1.1rem;  /* 110% */
}

.input-w100 {
    width: 100px;
}

.error {
    color: red !important;
}

.abo_select, .abo_deselect {
    background-color: #60c9ff;
    color: white;
    padding: 1em;
    font-size: 1.2em;
    border: 1px solid black;
}

.abo_deselect {
    background-color: white;
    color: black;
}
.abo_deselect:hover {
    background-color: #dff4ff;
    cursor: pointer;
}

.file__delete>a:hover,
#shareProject:hover {
    cursor: pointer;
}

.col-form-label, label[for] {
    color: cornflowerblue;
}

#thumbnails {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fill, 125px);
}


.mygrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 125px);
}

@media screen and (min-device-width: 768px) {
    .mygrid {
        display: grid;
        grid-gap: 10px;
        grid-template-columns: repeat(auto-fill, 125px);
    }
}

.mygrid>div {
/*    margin-right: 25%;*/
}

.list_img_width {
    padding: 0px;
    width: 50% !important;
}

@media screen and (min-device-width: 768px) {
    .list_img_width {
        width: 25% !important;
    }
}

.file_grid {
    display: grid;
    grid-template-columns: 1fr 10fr 10fr 1fr;
}

/* tags input fields */
.amsify-select-tag.col-bg {
    background: cornflowerblue !important;
    color: white !important;
}

.amsify-suggestags-input {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.c-dark-theme .amsify-suggestags-input {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.c-dark-theme ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #aaaaae;
    opacity: 1; /* Firefox */
}

.c-dark-theme :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #aaaaae;
}

.c-dark-theme ::-ms-input-placeholder { /* Microsoft Edge */
    color: #aaaaae;
}

.c-dark-theme .amsify-select-tag.col-bg {
    background: cornflowerblue;
    color: white;
}

.c-dark-theme .amsify-suggestags-area .amsify-suggestags-list,
.amsify-suggestags-area .amsify-suggestags-list {
    background: cornflowerblue !important;
    border-radius: 3px !important;
    color: white !important;
}

#pwd2 {
  display: none;
}