@import url('https://fonts.googleapis.com/css?family=Ubuntu&display=swap');
* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}


body {
    font-family: 'Ubuntu', sans-serif;
    margin: 0px;
    padding: 0px;
    background-color: rgb(49,49,49);
    overflow-y: scroll !important;
}
#content{
    width: 90%;
    max-width: 1200px;
    min-width: 600px;
    margin: auto;
    background-color: #aac099;
}

header{
    background: url(../img/dosen.jpg) no-repeat center center;
    /*background: url(img/auto.jpg) no-repeat center center;*/
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    padding: 20px;
    margin-top: 20px;
}
header>*{
    vertical-align: middle;
    text-align: center;
}
nav{
    background-color: #e5eae2;
    display: inline-table;
}
nav .row{
    margin-bottom: 0px;
}

nav i.material-icons {
    display: initial;
    vertical-align: middle;
}
main{
    padding: .75rem;
    margin-bottom: 20px;
}

.shadow{
    -webkit-box-shadow: 2px 2px 9px 1px rgba(0,0,0,0.75);
-moz-box-shadow: 2px 2px 9px 1px rgba(0,0,0,0.75);
box-shadow: 2px 2px 9px 1px rgba(0,0,0,0.75);
}

footer{
    font-size: smaller;
    color: #a2a3a0;
}

.abstand{
    padding: 0px !important;
}
.kontakt{
    vertical-align: sub;
    font-size: initial;
}


#searchinfo{
    color: #6c805d;
    font-size: 0.9rem;
}


.dosenliste{
    margin-bottom: 15px;
}
.dosenheader{
    background-color: #c5e0b4;
    padding: 5px;
}
.dosenheader .art{
    height: 16px;
    margin-right: 2px;
    position: relative;
    top: 4px;
}
.dosenmain {

}


.image {
  width: 100%;
}

.overlay {
    position: relative;
    float: left;
    bottom: 145px;
    width: calc(100% - 10px);
    opacity: 0;
    left: 5px;
    transition: .5s ease;
    height: 0px;
}

.dosenliste:hover .overlay {
  opacity: 1;
}

.text {
    background-color: #666f5fcf;
    color: white;
    padding: 2px;
    font-size: 0.9rem;
}
.overlay .material-icons{
    float: right;
}



.modal{
    background-color: #c5e0b4;
    padding: 0px !important;
    width: 75%;
    min-height: 85%;
}
#modal-titel{
    padding: 10px !important;
    background-color: #63705a;
    color: white;
    -webkit-box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.54);
-moz-box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.54);
box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.54);
}
.modal .modal-content {
    padding: 0px !important;
}
.modal section{
    background-color: #c5e0b4;
    padding: 0px !important;
    display: inline-block;
    margin-bottom: 0px;
    width: 100%;
}
.doseninfo{
    margin-left: 0rem !important;
    margin-right: 0rem !important;
}
.doseninfo img{
    height: 7rem;
    width: auto !important;
    /*border: 1px solid #98a58f;*/
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 10px !important;
}

.dosenfotos img{
    width: 100%;
}



/*-------------------------------------------------------------*/
/*GRID - SYSTEM Detail Ansicht*/
/*-------------------------------------------------------------*/
.grid>* {
    float: left;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.clear {
    clear: both;
    flex: none;
}

.cr {
    width: calc(100% / 12 * 8);
    background-color: #f1f4ed;
    
    margin-bottom: 1px;
    padding: 5px;
}
.cl {
    width: calc(100% / 12 * 3 - 1px);
    background-color: #f1f4ed;
    margin-bottom: 1px;
    padding: 5px;
    margin-right: 1px;
}


/*SMALL = s (Handys)*/
@media screen and (min-width:0px) and (max-width:599px) {
    .cr {width: calc(100%);}
    .cl {width: calc(100%); margin-right: 0px;}
}
/*MIDDLE = m (Tablets)*/
@media screen and (min-width:600px)  {
    .cr {width: calc(100% / 12 * 7 );}
    .cl {width: calc(100% / 12 * 5 - 1px);}
}

.bold{
    font-weight: bold;
}

.shadow1{
-webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.5);
-moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.5);
box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.5);
}

.bemerkung{
    background-color: #f1f4ed;
    margin-bottom: 1px;
    padding: 5px;
    min-width: 100%;
    min-height: 50px;
}