div[data-role=main] {
    padding-top: 20px;
    padding-left : 10px;
    padding-right : 10px;
    text-align : center;
    padding-bottom : 35px;
}

/*div[data-role=header] {
    z-index : 9998;
}*/

#sidemenu {
    z-index: 9999;
}

[data-role=page] {
    min-height: 100%;
    position: relative;
    /*background-image: url("https://www.roteskreuz.at/uploads/pics/20140221_WRK_KTW_PKW_091.jpg");
    background-position: center top;
    background-attachment: fixed;*/
}

[data-role=footer] {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 28px;
}

[data-role=footer] a {
    color : white !important;
}

body {
    font-size: 120%;
    margin: 0;
    padding : 0;
    height : 100%;
}

body * {
    font-family: Arial, Geneva, Tahoma, sans-serif !important;
    text-shadow: none !important;
}

h2 {
    margin-top : 10px;
    margin-bottom: 10px;
}

.invisible {
    visibility: hidden;
}

#sanpage :not(input):not(textarea) {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

#login {
    max-width : 90%;
    width : 500px;
}

.ui-body {
    border-top-width : 0;
    margin-top : -25px;
}

div {
    margin : auto;
    text-align : center;
    /*max-width : 100%;*/
}

.enablescroll {
    overflow: auto;
}

label {
    text-align : left !important;
}

img {
    max-width : 100%;
}

td {
    vertical-align: middle;
}

li {
    text-align: left;
}

form > div {
    width : 500px;
    max-width : 100%;
}

.formfalse {
    color : white;
    font-weight : bold;
    background-color : red;
    text-shadow: none;
    padding-bottom : 3px;
}

#sidemenu {
    padding : 10px;
}

#sidemenu a {
    width : 275px !important;
    padding : 5px;
    cursor : pointer;
    font-size: 18pt;
    font-weight : bold;
    border-radius : 2px;
    background-color : lightgrey;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    text-decoration : none;
}

@media screen and (orientation:landscape) {
    #sidemenu a {
        font-size : 14pt !important;
    }
}

#sidemenu a:hover{
    background-color : white;
}

.regdatas th {
    text-align : right;
    padding : 2px;
}

.regdatas td {
    text-align : left;
    padding : 2px;
}

.ambdatas {
    max-width : 100%;
    width : 700px;
    margin-top : 20px;
}

.ambdatas > div {
    margin-bottom : 30px;
}

.ambdatas table {
    border-collapse: collapse;
    width : 100%;
}

.ambdatas th, .ambdatas td {
    padding-top : 5px;
    padding-bottom : 5px;
    border-style : solid;
    border-color : white;
    padding-right: 10px;
    padding-left : 10px;
}


.ambdatas th {
    text-align : right;
}

@media (min-width : 650px) {
    .ambdatas th {
        width : 160px;
    }
}

@media (max-width : 649px) {
    .ambdatas th {
        width : 115px;
    }
}

.ambdatas td {
    text-align : left;
}

.ambdatas tr:first-child td:first-child {
    text-align : center;
    font-size : 110%;
    font-weight : bold;
}

.ambdatas td[colspan="2"] {
    text-align : center;
    padding-left : 5px !important;
    padding-right : 5px !important;
}

.ambdatas ul {
    margin : 0;
}

.ambok{
    background-image: linear-gradient(to bottom right, rgb(173, 255, 37), rgba(230,230,230,1), rgba(230,230,230,1));
}

.ambnotok {
    background-image: linear-gradient(to bottom right, rgb(110, 240, 255), rgba(255,255,255,0), rgba(255,255,255,0)) !important;
}

.ambarchiv {
    background-image: linear-gradient(to bottom right, rgb(255, 245, 0), rgba(220,220,220,1), rgba(220,220,220,1)) !important;
}

.ambabgesagt {
    background-image: linear-gradient(to bottom right, rgb(230, 130, 110), rgba(220,220,220,1), rgba(220,220,220,1)) !important;
}

.ambaviso {
    background-image: linear-gradient(to bottom right, rgb(184, 137, 196), rgba(220,220,220,1), rgba(220,220,220,1)) !important;
}

.beginndate {
    width : 59% !important;
    margin-right : 2%;
}

.beginntime {
    width : 39% !important;
}

.showambok {
    width : 340px;
}

.ambpics img {
    max-width : 300px;
    max-height : 300px;
}

.gmapdiv {
    height : 400px;
    z-index : 9997;
}

.userdatas {
    width : 600px;
    max-width : 100%;
}

.userdatas table {
    border-collapse: collapse;
    margin-bottom : 20px;
    width : 100%;
    border-style : solid;
    border-color : grey;
    font-size : 90%;
}

.userdatas td {
    text-align: center;
    background-color : lightgrey;
    line-height: 95%;
}

.userdatas span {
    color : grey;
    font-style: italic;
    font-size : 70%;
}

.userdatas button {
    width : 200px;
}

.userdatas .space {
    height : 5px;
}

.useroverview {
    width : 600px;
    max-width : 100%;
}

.useroverview table {
    border-collapse: collapse;
    margin-bottom : 20px;
    width : 100%;
}

.useroverview td {
    text-align: center;
    padding-left: 5px;
    padding-right : 5px;
    padding-top : 0px;
    padding-bottom : 0px;
}

.useroverview th {
    color : grey;
    font-style: italic;
    text-align : center;
    font-size: 80%;
    padding-left: 5px;
    padding-right : 5px;
    padding-top : 8px;
    padding-bottom : 0px;
}

#ambstatusfieldset, #ambtypefieldset {
    margin-bottom : 60px;
}

#ambstatusfieldset div, #ambtypefieldset div {
    margin-bottom: -25px;
}

.btn-green {
    background-color: lightgreen !important;
}

.btn-red {
    background-color : #FF5757 !important;
    color : white !important;
    text-shadow: none !important;
}

.btn-yellow {
    background-color : #FFFFFF !important;
}

.useractivatealert {
    border-style: solid;
    border-width: 2px;
    background-color : #FFFED6;
    font-size : 90%;
    padding : 5px;
}

.success {
    border-style: solid;
    border-width: 2px;
    border-color : #00FF00;
    background-color : #90EE90;
    font-size : 90%;
    padding : 5px;
    margin-bottom : 5px;
}

.failure {
    border-style: solid;
    border-width: 2px;
    border-color : #FF0000;
    background-color : #FF5757;
    font-size : 90%;
    padding : 5px;
    color : white;
    text-shadow: none;
    margin-bottom : 5px;
}

.admin {
    color : grey;
    font-style : italic;
    padding-bottom : 4px;
}

.ambedit div {
    border-style: solid;
    border-color : grey;
    background-color : #DBDBFF;
    padding : 10px;
    margin-top : 20px;
}

.ambedit a {
    width : 200px;
}

.terminabsage {
    color : red;
    text-decoration: line-through;
}

.dsgvo {
    border-style : solid;
    border-color : black;
    padding : 5px;
    margin : 10px;
    background-image: URL("paragraph.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    font-style: italic;
}

.dsgvo img {
    max-height: 100%;
}

@media (min-width : 800px) {
    #plancontrol {
        position : absolute !important;
        top : 60px;
        bottom : 37px;
        left : 10px;
        width : 370px;
        overflow: auto;
    }

    #planmap {
        position : absolute;
        bottom : 37px;
        top : 60px;
        width : calc(100% - 400px);
        height : calc(100% - 97px);
        right : 10px;
    }
}

@media (max-width : 799px) {
    #planmap {
        position : relative !important;
        height : 500px;
    }

}

@media (min-width : 825px) {

    .ambpidoedit > div {
        text-align : left !important;
        width : 800px;
        border-style : solid;
        border-width : 2px;
        border-color : lightgrey;
        padding : 5px;
        vertical-align : middle;
        margin-bottom : 20px;
    }

    .ambpidoedit > div div:first-child {
        display : inline-block;
        width : 305px;
        padding-right : 5px;
        vertical-align : middle;
        border-right-style: solid;
        border-right-color : lightgrey;
        border-right-width : 2px;
    }

    .ambpicsedit > div div:first-child {
        height : 200px;
    }

    .ambdocsedit input {
        padding-top : 3px;
        width : 465px;
    }

    .ambdocsedit .ft {
        font-size : 80%;
    }

    .ambpidoedit > div div:nth-child(2) {
        display : inline-block;
        width : 470px;
        margin-left : 10px;
        vertical-align : middle;
        vertical-align : middle;
    }

    .ambpidoedit img {
        max-height : 100%;
        max-width : 100%;
    }

    .ambpidoedit textarea {
        width : 465px;
        resize : none;
    }

    .ambpidoedit a {
        margin-right : 0px !important;
    }

}

@media (max-width : 824px) {

    .ambpidoedit > div {
        max-width : MIN(100%, 500px);
        border-style : solid;
        border-width : 2px;
        border-color : lightgrey;
        padding : 5px;
        margin-bottom : 20px;
    }

    .ambpidoedit > div div:first-child {
        max-width : 300px;
    }

    .ambdocsedit input {
        padding-top : 3px;
        width : 90%;
    }

    .ambdocsedit .ft {
        font-size : 80%;
    }

    .ambpidoedit > div div:nth-child(2) {

    }

    .ambpidoedit img {
        max-height : 100%;
        max-width : 100%;
    }

    .ambpidoedit textarea {
        width : 470px;
        max-width : 95%;
        resize : none;
    }

    .ambpidoedit a {
        margin-right : 0px !important;
    }

}

.docinfomini {
    font-size: 70%;
    color : grey;
}

#doctable, .dataTables_info, .dataTables_paginate {
    font-size: 80%;
}

.ambGallery {
    width: 100%;
}
.ambGallery figure {
    display: block;
    margin: 0 5px 5px 0;
}
.ambGallery figcaption {
    display: none;
}

.galleryWrapper {
    text-align: center !important;
    display : inline-block;
    max-width : 100%;
}


@media (min-width : 800px) {
    .ambGallery {
        display: flex;
        flex-flow: row wrap;
        align-content: space-between;
        justify-content: space-between;
    }

    .ambGallery img {
        width : auto;
        height: 200px;
    }
}

@media (max-width : 799px) {
    .ambGallery img {
        max-width : 90%;
        width : 400px;
        height : auto;
    }

}

@keyframes lds-ripple {
    0% {
        top: 96px;
        left: 96px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: -2px;
        left: -2px;
        width: 196px;
        height: 196px;
        opacity: 0;
    }
}
@-webkit-keyframes lds-ripple {
    0% {
        top: 96px;
        left: 96px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: -2px;
        left: -2px;
        width: 196px;
        height: 196px;
        opacity: 0;
    }
}
.lds-ripple {
    position: relative;
}
.lds-ripple div {
    box-sizing: content-box;
    position: absolute;
    border-width: 4px;
    border-style: solid;
    opacity: 1;
    border-radius: 50%;
    -webkit-animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(1) {
    border-color: #ff0000;
}
.lds-ripple div:nth-child(2) {
    border-color: #ff5555;
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}
.lds-ripple {
    width: 200px !important;
    height: 200px !important;
    -webkit-transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
    transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
}


#indexslideshow:before {
    content: '';
    padding-top : 56.25%;
    display: block;
}

#indexslideshow {
    margin: 0px auto;
    position: relative;
    width: 90%;
    max-width : 700px;
    padding: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

#indexslideshow > div {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

#indexslideshow img {
    max-width : 100%;
    max-height : 100%;
}

#indexslideshow span {
    position : absolute;
    bottom : 5%;
    background-color : rgba(249,249,249,0.8);
    right : 0;
    left : 0;
}

@media (max-width : 500px) {
    #indexslideshow span {
        font-size : 80%
    }
}

.malistexpand, .malistcollapse {
    color: blue;
    text-decoration: underline;
    cursor: pointer;
}

.nolistexpand {
    text-decoration: underline;
    cursor : pointer;
}

.k2firstitem {
    margin-top: 15px;
}

.malistcollapse {
    display : none;
}

#k2list, #k2list > li {
    padding-left : 0;
    text-align : left;
    list-style : none;
}

#k2list ul, #k2list ol {
    margin-left : 15px;
    padding-left : 0;
}
