/**
* Gally Websolutions GmbH 2014
* www.gally-websolutions.com
**/


#slideshow {
    position: relative;
    top: auto;
}

#content-wrapper {
    padding-top: 0px;
}

#content {
    margin-top: 0px;
}



@media screen and (max-width: 1024px) {
    #navi {
        display: none;
    }

    #logomobile {
        display: block;
        margin-top: 39px;
        left: 0;
        position: absolute;
    }

    .contenter,
    #navi,
    #slideshow,
    #content,
    #footer,
    #menu,
    #menu a,
    .footerwrap {
        width: 100%;
        box-sizing: border-box;
    }




    #content img {
        max-width: 100% !important;
        height: auto;

    }

    table,
    tbody,
    tr,
    td {
        max-width: 100%;

    }

    iframe,
    object,
    embed {
        width: 100% !important;
    }

    #footer {
        display: block;
        overflow: auto;
    }

    #slideshow {
        position: relative;
        top: auto;
        margin-top: 40px;
        background-position: center top;
        overflow: hidden;
    }

    #logo a,
    #logo a:link,
    #logo a:visited,
    #logomobile,
    #logomobile a:link,
    #logomobile a:visited {
        display: block;
        height: 90px;
        text-decoration: none;
        width: 130px;
    }

    #footer {
        border-bottom: 0px solid #3f3830;
    }

}


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

    table img,
    object {
        /*width:150px;*/
    }

    td {
        width: auto;
    }

    table img {
        margin-bottom: 0px;
        margin-top: 20px;
    }
}

@media screen and (max-width: 610px) {
    #footer-middle {

        width: 100%;
        text-align: left;
        padding-top: 8px;
        padding-left: 15px;
    }

    table img {
        /*width:80px;*/
    }

    #slideshow {
        background-size: auto 100%;
    }

    .footeradress,
    .mapwrap {
        float: none;
        width: 100%;
        height: auto;
    }

    #map_contenter {
        display: none;
    }

}



@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {}



@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {}



/*Style2018*/




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

    * {
        box-sizing: border-box;
    }

    #content .eintrag img,
    #content .eintragmitlandingpage img {
        max-width: 130px !important;
        height: auto;
        margin: 25px 0;
    }



    /*Formate*/

    h1 {
        font-size: 20px;
    }


    h2 {
        margin-left: 0 !important;
    }

    p {
        padding: 0;
    }


    #logo {
        display: none;
    }

    .logo {
        background-image: url(../img/logo.png);
        width: 80px;
        height: 80px;
        float: none;
        margin-left: 2px;
        position: absolute;
        z-index: 20000;
        display: block;
        background-size: contain;
        background-repeat: no-repeat;
    }

    #contenter,
    #topbanner {
        width: 100%;
    }

    #contenter {
        height: auto;
    }

    #topbanner {
        margin: 0;
    }

    #topbanner img {
        width: 100%;
        height: auto;
    }

    #header {
        width: 100% !important;
        position: relative !important;
        float: none;
        height: auto;
        margin: 0 !important;
        padding: 0 !important;
    }

    /*Slideshow*/

    #sliderlist {
        margin: 0 !important;
        padding: 0;
        width: 100% !important;
    }

    #sliderlist li {
        height: auto;

        width: 100%;
        margin: 0 !important;
        padding: 0;
        display: none;
    }

    #sliderlist li img {
        width: 100%;
        height: auto;
    }

    #sliderlist li:first-child {
        display: block;
    }



    
    #ueli_top,
    #footershadow,
    #footer_ueli {
        display: none !important;
    }
    
    #socialwrap{
        display: none;
    }


    #socialwrap {
        display: block;
        position: relative;
        top: 0;
    }

    #socialwrap::after {
        display: table;
        clear: both;
        content: "";
    }

    a.socialbtn {
        width: 33.333333%;
        float: left;
        margin: 0;

    }


    #content {
        margin-top: auto !important;
        float: none;
        max-width: 100%;
    }

    #contentbanner-container {
        width: 100%;
        margin-top: auto;
        float: none;
    }


    #footerbar {
        height: auto;

    }

    #footerwrap {
        height: auto;
        width: 100%;

    }

    #footerbanner {
        /* background-color: #d83d3d; */
        height: auto;
        width: 100% !important;
        float: none;
        margin-top: 13px;
        color: #FFFFFF;
        display: block;
        margin-right: 0px;
        margin-left: 0px;
    }

    #footer {
        padding: 25px;
        background: #5a5958;
        height: auto;
    }

    #branchen-auswahl {
        width: 50%;
        height: auto;
        float: left;
        padding: 15px;
        
        -webkit-appearance:none;
        -moz-appearance: none;
        appearance: none;
    }

    #firmen-auswahl {
        width: 50%;
        height: auto;
        float: left;
        /* margin-left: 20px; */
        padding: 15px;
        
        -webkit-appearance:none;
        -moz-appearance: none;
        appearance: none;
    }

    #firmen-suche {
        width: 70% !important;
        height: auto;
        float: left;
        padding: 15px;
        display: inline-block;
        margin: 0;
        margin-bottom: 15px;
    }

    #suche {
        width: 30% !important;
        height: auto;
        float: right;
        background-image: url(../img/suche.png);
        background-repeat: no-repeat;
        background-position: center;
        /* border: none; */
        background-color: #fff;
        /* margin-top: 15px; */
        /* margin-bottom: 15px; */
        padding: 15px;
        display: inline-block;
        margin: 0;
        border: navajowhite;

    }

    element.style {
        z-index: 3;
        position: absolute;
        height: 100%;
        width: 100% !important;
        padding: 0px;
        border-width: 0px;
        margin: 0px;
        left: 0px;
        top: 0px;
    }



    #content {
        clear: both;
        padding: 20px 30px 80px 30px;
        text-align: left;
        margin: 0 0 0 0;
        min-height: inherit;
        background-color: transparent;
        float: none;
    }

    #map_canvas {
        margin: 0 0 0 0 !important;
        padding: 0;
        z-index: 1;
        height: 660px;
        width: 100% !important;
    }

    table.eintragmitlandingpage {
        table-layout: fixed;
        width: 860px;
        border-bottom: 12px #fff solid;
        color: #fff;
        background: #1d1d1b;
        margin-top: 10px;
        clear: both !important;
    }

    img {
        width: 100%;
    }

    #firmenprofilstartseite {
        background-color: #D2D2D2;
        padding: 30px;
        margin: 0px 0px 25px 0px;
        float: right;
        width: 100%;

    }

    #firmen-suche {
        width: 100% !important;
        height: auto !important;
        float: none;
        padding: 15px !important;
        display: inline-block;
        margin: 0;
        margin-bottom: 0px;
        font-size: 15px;
        border: 2px solid #333;
        margin-top: 15px !important;
    }

    #suche {
        width: 100% !important;
        height: auto !important;
        float: none;
        background-image: url(../img/suchewhite.svg);
        background-size: contain;
        border: none;
        background-color: #333;
        color: #fff;
        padding: 15px;
        display: block;
        position: relative;
        margin: 0;
        clear: both;
        font-size: 15px;

    }

    #firmen-auswahl {
        width: 100%;
        height: auto;
        float: left;
        /* margin-left: 20px; */
        padding: 15px;
        margin-bottom: 15px;
        font-size: 15px;
        border: 2px solid #333;
        border-radius: 0;
        text-align: center;
    }

    #branchen-auswahl {
        width: 100%;
        height: auto;
        float: left;
        padding: 15px;
        margin-bottom: 15px;

        font-size: 15px;
        border: 2px solid #333;
        border-radius: 0;
    }

    #polls {
        border: 0;
        background: #D2D2D2;
        overflow: hidden;
        width: 100%;
        display: block;
        float: none;
    }

    #polls > * {
        padding: 25px;
    }

    #polls canvas {
        padding: 25px;
    }

    #polls small {
        /*display: none;*/
    }

    #contentbanner {
        /* background-color: #d83d3d; */
        width: auto;
        height: auto;
        color: #FFFFFF;
        float: left;
        display: block;
        margin-bottom: 20px;
        width: 100%;
        padding: 25px;
    }
}


/*Forms*/


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

    #standard input,
    #standard select,
    #standard textarea {
        width: 100%;
        box-sizing: border-box;
        padding: 15px 0;
        border: none;
        border-bottom: 2px solid #333;
        margin-bottom: 25px;
        font-size: 15px;
        color: #333;
        font-family: 'Montserrat', sans-serif;
    }

    #standard textarea {
        height: 120px;
    }

    #emailkopie {
        height: 15px !important;
    }

    #standard input[type="submit"] {
        width: 100% !important;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: none;
        border-bottom: 0px;
    }

    #predigten select,
    #standard label {
        width: 100%;
    }

    #standard #errormessage {
        margin-left: 0px;
        text-align: left;
    }

    #standard fieldset {
        padding: 0;
        box-sizing: border-box;
    }


    #ueli_top,
    #footershadow,
    #footer_ueli {
        display: none;
    }


}


/*Firmeneinträge*/
@media only screen and (max-width: 1024px) {

    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

}




}
