﻿body {
    height: 100%;
    background-color: whitesmoke;

    .pageNavigationButton {
        display: inline-block;
        margin-left: 5px;
    }
    //Allgemein für alle Ansichten
    .rowHighlight {
        /*background-color:#7fbdff;*/
        color: #2386ff;
        margin: 10px !important;
        font-weight: bold;
    }

    .documentTypeTile:hover {
        opacity: 1;
        background-color: whitesmoke;
        color: white;
    }

    .documentTypeTile {
       
        background-color: white;
        color: darkgray;
        cursor: pointer;
        color: white;
        height: 150px;
        width: 150px;
        margin: 20px;
        float: left;
        overflow: hidden;
        -webkit-box-shadow: 0px 8px 20px -12px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 8px 20px -12px rgba(0,0,0,0.75);
        box-shadow: 0px 8px 20px -12px rgba(0,0,0,0.75);
        -webkit-transition: -webkit-transform 0.1s ease;
        -moz-transition: -moz-transform 0.1s ease;
        transition: transform 0.1s ease;


        .name {
            float: left;
            border-top-style: solid;
            border-top-color: lightgray;
            border-top-width: 1px;
            padding-top: 8px;
            text-align: center;
            margin-top: 110px;
            text-overflow: ellipsis;
            overflow: hidden;
            height: 50px;
            font-size: 18px;
            width: 100%;
            padding-left: 10px;
            padding-right: 10px;
            color: cornflowerblue;
            background-color: transparent;
        }

        .documentRequired {
            width: 0;
            height: 0;
            position: absolute;
            opacity: 0.5;
            border-style: solid;
            border-width: 40px 45px 0 0;
            border-color: #007bff transparent transparent transparent;
            margin-top: 0px;
        }

        .newDocumentCount:hover {
            width: 100px;
        }

        .editDocumentCount {
            display: block;
            position: absolute;
            font-size: 50px;
            width: 130px;
            overflow: hidden;
            color: cornflowerblue;
            text-align: right;
            margin-left: 15px;
            margin-top: 14px;
        }

        .documentRequiredText {
            color: darkgray;
            font-size: 18px;
            margin-top: 80px;
            margin-left: 10px;
            position: absolute;
        }
    }
    //Allgemeine Ansicht für Desktop-Anwendungen
    /*@media only screen and (min-width:1026px) {*/
    .pdfModalLayer {
        opacity: 0.5;
        z-index: 1000;
        background-color: black;
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
    }

    .pdfViewer {
        padding: auto;
        z-index: 2000;
        background-color: white;
        position: fixed;
        top: 0px;
        margin: 30px auto;
        left: 0;
        right: 0;
        width: 85%;
        height: 90%;
        overflow: hidden;
        -webkit-box-shadow: 0px 5px 32px 1px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 5px 32px 1px rgba(0,0,0,0.75);
        box-shadow: 0px 5px 32px 1px rgba(0,0,0,0.75);

        .pdfViewerHeader {
            padding: 10px;
            text-align: center;
            font-size: 20px;
        }

        .pdfViewerContent {
            /*display:grid;*/
            width: 100%;
            height: 90%;
            border: solid;
            margin-left: auto;
            margin-right: auto;
            overflow-y: scroll;
            border-width: 1px;
            background-color: #727272;
            text-align: center;

            .pageNumber {
                margin-top: 15px;
                padding-top: 5px;
                margin-bottom: 10px;
                color: white;
                border-top: solid;
                font-size: 20px;
            }

            .imageContainer1 {
                width: 80%;
                /*grid-column:1;*/
                /*margin-left:7px;*/
            }

            .imageContainer2 {
                width: 99%;
                grid-column: 2;
            }
        }

        .pdfViewerFooter {
            height: 40px;
            width: 100%;
            padding-top: 2px;
            background-color: whitesmoke;
            bottom: 0;
            position: absolute;
            text-align: center;
            margin-top: 2px;
        }
    }


    input[type="date"]:before {
        content: attr(placeholder) !important;
        color: #aaa;
        margin-right: 0.5em;
    }

    input[type="date"]:focus:before,
    input[type="date"]:valid:before {
        content: "";
    }

    .searchResults {
        /*overflow-y: auto;
        /*background-color:red;
        max-height: 400px;
        margin-bottom: 20px;*/
    }

    .documentTypesContainer {
        position: relative;
        z-index: 100;
        /*overflow: hidden;*/
        left: 0px;
        top: -88px;
        /*width:auto;*/
        /*background-color: #4d4d4d;*/
        /*margin-bottom:50px;*/


        .banner {
            z-index: -1;
            position: relative;
            top: 100px;
            height: 90px;
            background-color: #4d4d4d;
        }

        .documentTileList {
           
          display: table;
          margin: 0 auto;
          width:100%;
       
        }
    }

    .searchContainer {
        margin-top:-40px;
    }

    .searchButtonCenter {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 80px;
    }
    /*//Select
  #documentTypes:before {
    content: attr(placeholder) !important;
    color: #aaa;
    margin-right: 0.5em;
  }
  #documentTypes:focus:before,
  #documentTypes:valid:before {
    content: "";
  }*/
    //Hier kommt die Smartphone-Ansicht
    @media only screen and (max-width:767px) {


        .searchResults {
        overflow-y: auto;
        /*background-color:red;*/
        max-height: 400px;
        margin-bottom: 20px;
    }

        .imageContainer1 {
            width: 95% !important;
        }

        .pageNavigationButton {
            position: relative;
            display: inline-block;
            height: 25px;
            width: 40px;
            overflow: hidden;
            padding-left: 0;
            padding-right: 0;
            text-align: center;
            font-size: 10px;
        }

        .pdfViewer {
            width: 95%;
            height: 95%;
            position: fixed;
            margin: 10px auto;

            .pdfViewerHeader {
                position: relative;
                height: auto;
                height: 10%;
                /*margin-top:10px;*/
                /*padding:5px;*/
                text-align: center;
                font-size: 12px;
            }

            .pdfViewerContent {
                height: 84%;
                /*vertical-align:middle;*/
                position: relative;
            }


            .pdfViewerFooter {
                position: relative;
                display: inline-block;
                height: 40px;
                width: 100%;
                /*padding-top: 2px;*/
                background-color: whitesmoke;
                bottom: 0px;
                /*position: absolute;*/
                text-align: center;
                /*margin-top: 2px;*/
            }
        }
    }

    th {
        cursor: pointer;
    }
}
