
table tr td{
    border-bottom: 1px solid #ccc;
}


table tr{

}

.special_td_width{
    width:100px;
}


.even.map{
    padding: 0;
}

#qmapref{
    width:100%;
    height:42em;
    float:left;
    display:block;
}

.ergholder{
    padding-top: 1em;
}

.refpic{
    float:left;
    height:42em;
    overflow-y:scroll;
    display:none;
    background:#FFF3E5;
}

.refpic.visible{
    width:14em;
    display:block;
}

.refpic .picgriditem{
    padding:0 1em 1em 1em;
    box-sizing: border-box;
}

.refpic .picgriditem img{
    width:100%;
}

.refpic .picgriditem:last-of-type{
    margin-bottom:0;
}


.filter input,.filter select,#color_pic{
    margin-right: 1em;
    border: 1px solid #ccc;
    padding:0.3em;
    width: 14em;
}

.filter input{
    width: 7em;
}



/*##############################
################################
################################
################################

GOOGLE INFO WINDOW

###############################
+++++++++++++++++++++++++++++++
'''''''''''''''''''''''''''''''
*/

.popupcontent{
    width: 400px;
    height: 150px;
    margin: 1em;
    box-sizing: border-box;
}



.popupcontent .detail{
    float:left;
    padding-right: 5%;
    width: 55%;

}
.popupcontent .image{
    float:right;
    width: 40%;

}

.popupcontent .image img{
    border-radius: 3px;
    border: 2px solid #ccc;
}

.popupcontent b{
    font-weight: 600;
}

.refpopup{
    display: none;
    background: rgba(0,0,0,0.9);
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 99999;
    top:0;
    left:0;
}

.refpopup_inlay{

}

.refpopup .refpopup_inlay{
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 95%;
}

.refpopup_inlay .info{
    box-sizing: border-box;
    display: none;
    position: absolute;
    background: rgba(0,0,0,0.7);
    color: rgb(255,255,255);
    padding: 1em;
    width:100%;
    top:0;
}

.refpopup .close{
    position: absolute;
    top: 0.25em;
    right: 0.5em;
    color:#fff;
    cursor: pointer;
    font-size: 2em;
}

.refList{
    text-align: left;
}

.refList thead{
    border-bottom: 2px solid #ccc;
}

.refList thead th{
    padding-bottom: 1em;
}


.refList tbody td{
    padding: 0.5em 0.2em 0.3em 0;
}

.referencelist{
    margin-top: 1em;
}

.showreflist:hover{
    color: #be6328;
}

.referencelisting{
    padding-top: 1em;

}

.referencelisting h3{
    float: left;
}

.referencelisting .fa-chevron-right,
.referencelisting .fa-chevron-down{
    float: right;
    padding: 0.8em;
}

.gm-style img{
    max-width: 100%;
}


@media screen and (max-width : 800px) {

    #reffinder label{
        float:none;
        width:100%;
        text-align:left;
        font-size:0.9em;
        margin-bottom:0.3em;
    }

    #reffinder input[type="submit"]{
        margin:0 auto;
        display: block;
        width:60%;
        max-width:10em;
        float:none;
        margin-top:2em;
    }

    #reffinder input[type="text"],
    #reffinder select,
    #reffinder textarea{
        width:100%;
        box-sizing: border-box;
        margin-right:0;
        margin-bottom:0.8em;
    }

    #reffinder textarea{
        resize:none;
    }
}


@media only screen and (max-width: 760px),(min-device-width: 768px) and (max-device-width: 1024px)  {

    .special_td_width{
        width:auto;
    }

    /* Force table to not be like tables anymore */
    table, thead, tbody, th, td, tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr { border: 1px solid #be6328; }

    td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50% !important;
    }

    td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
    }

    /*
    Label the data
    */
    td:nth-of-type(1):before { content: "Ziegelform"; }
    td:nth-of-type(2):before { content: "Objekt"; }
    td:nth-of-type(3):before { content: "Dachform"; }
    td:nth-of-type(4):before { content: "PLZ / Ort"; }
    td:nth-of-type(5):before { content: "Straße"; }
    td:nth-of-type(6):before { content: "Farbe"; }
    td:nth-of-type(7):before { content: "Artikel"; }
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
    body {
        padding: 0;
        margin: 0;
        /*width: 320px; */

    }
    .info{
        font-size: 55%;
    }
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    body {
        /*width: 495px;*/
    }
}



