body#detail #nav_top,
body#detail tr .site:not(:first-child),
body#detail #nav_bot {
    display: none;
}

body#detail td.site {
    background-color: transparent;
    width: 205px;
}

body#detail td.auk {
    background-color: #F2F2F2 !important;
    padding: 10px;
    vertical-align: middle;
}

body#detail td.auk input[type="text"] {
    font-family: "Open Sans" !important;
    font-size: 14px;
    margin-left: 10px;
}

body#detail table.blaett {
    background-color: #F2F2F2;
    border: none;
    padding: 10px;
}

body#detail table.blaett td {
    vertical-align: middle;
}

body#detail #checkBieten input[name="bieten"], body#detail input[name="watch"] {
    background-color: transparent;
}

body#detail td.auk img {
    border: 1px solid lightgrey;
}

body#detail td.aukpr {
    background-color: #F2F2F2;
    padding: 10px;
}

body#detail td.auk a.link, body#detail .aukpr a.link, body#detail .form_gebot input[type="submit"] {
    display: inline-block;
    color: #ffffff;
    background-color: #005FAF;
    border: 1px solid #005FAF;
    padding: 8px 20px;
    margin: 10px 0;
}

body#detail td.auk a.link:hover, body#detail .aukpr a.link:hover, body#detail .form_gebot input[type="submit"]:hover {
    color: #ffffff;
    background-color: #414141;
    border-color: #414141;
    text-decoration: none;
    cursor: pointer;
}

body#detail p, body#detail td {
    font-size: 1rem;
}

body#detail hr, body#detail td[style="border: 1px solid #FFF08C"] {
    border: none !important;
}

body#detail td.site td.all {
    padding: 1px 0 0;
}

body#detail td.site td.all a {
    font-family: 'Open Sans';
    font-size: 1rem;
}

body#detail td.site .nav_left tr:not(:last-child) {
    display: none;
}

body#detail #window,
body#detail #main,
body#detail table.root {
    margin: 0 !important;
    width: 100% !important;
}

body#detail #window,
body#detail #root,
body#detail {
    background-color: transparent;
}

body#detail #main_table table,
body#detail .main table {
    width: 100%;
}

body#detail #main_table table tr td[colspan='2'][height='2']{
    height: 30px;
}

body#detail #main_table table tr:nth-child(3) td {
    font-size: 1rem;
}

/*p {*/
    /*font-size: 1rem;*/
    /*line-height: 1.4rem;*/
/*}*/

/*.main p strong:first-child {*/
    /*display: none;*/
/*}*/

/*.main p:first-line {*/
    /*font-weight: bold;*/
/*}*/

/*.main p br:first-of-type, .main tr td[height="38"] {*/
    /*display: none;*/
/*}*/

body#detail table.main {
    margin: 0 !important;
    width: 100% !important;
}

body#detail td.main {
    border-left: none !important;
    border-right: none !important;
}

/*#main_table table tr {*/
    /*height: 1rem;*/
/*}*/

/*#main_table table td {*/
    /*width: unset !important;*/
/*}*/

/*#main_table table tr td img {*/
    /*width: 253px;*/
    /*height: auto;*/
    /*max-height: 170px;*/
    /*border: 1px solid lightgrey;*/
/*}*/

/*#main_table table tbody tr td[colspan="2"] {*/
    /*display: none;*/
/*}*/

/*table.pic {*/
    /*margin-right: 3rem !important;*/
    /*border: none;*/
/*}*/

/*.main a.link {*/
    /*display: inline-block;*/
    /*color: #ffffff;*/
    /*background-color: #005FAF;*/
    /*border: 1px solid #005FAF;*/
    /*padding: 5px 20px 0;*/
    /*margin-top: 20px;*/
    /*font-size: 0;*/
/*}*/

/*.main a.link:after {*/
    /*content: "weiter";*/
    /*font-size: 16px;*/
/*}*/

/*.main a.link:hover {*/
    /*color: #ffffff;*/
    /*background-color: #414141;*/
    /*border-color: #414141;*/
    /*text-decoration: none;*/
/*}*/

body#detail a.link[href^="http://www.waitz-richter.com/de/index.php?verkauf&id=F489100001#top"],
body#detail a.link[href^="http://www.waitz-richter.com/de/index.php?verkauf&id=F494300009#top"],
body#detail a.link[href^="http://www.waitz-richter.com/de/index.php?verkauf&id=M495600001#top"] {
    display: none;
}

body#detail h1,
body#detail h2,
body#detail h3,
body#detail p,
body#detail a,
body#detail td.all,
body#detail td.head,
body#detail .legend,
body#detail td {
    font-family: "Open Sans" !important;
}

body#detail td.head {
    color: #000000;
    font-weight: 700;
}

body#detail div#info {
    border: none;
    width: 100%;
    margin-top: 20px;
}

body#detail div#info .legend {
    background-color: #005FAF !important;
    color: #FFFFFF !important;
    font-weight: normal !important;
    font-size: 1rem !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 35px;
    padding-left: 15px;
    padding-right: 15px;
    border-bottom: none !important;
}

body#detail div#info .legend span {
    padding-right: unset;
}

body#detail .details table {
    display: block;
    background-color: #F2F2F2;
    padding: 10px;
    width: 100%;
}

body#detail .details img {
    padding: 2px;
    border: 1px solid lightgrey;
}

body#detail div.detWhite {
    background-color: #F2F2F2;
    padding: 16px;
    margin: 0;
}

body#detail div.detWhite table {
    width: 100%;
}

body#detail div.detWhite table tr td:last-child {
    padding-left: 1px;
}

body#detail .details table td,
body#detail .detWhite table td {
    font-size: 1rem;
}

body#detail .details table td strong {
    font-weight: normal;
}

body#detail .details table tr,
body#detail .detWhite table tr {
    height: 30px;
}

body#detail div#info .questionForm {
    margin: 0;
    padding: 25px;
    background-color: #F2F2F2;
}

body#detail div.details {
    height: auto;
}

body#detail div#info .questionForm label,
body#detail div#info .questionForm p {
    font-family: "Open Sans" !important;
    font-size: 1rem;
}

body#detail div#info .questionForm label {
    width: 100%;
    margin-bottom: 10px;
}

body#detail div#info .questionForm #submit_quest {
    display: inline-block;
    color: #ffffff;
    background-color: #005FAF;
    border: 1px solid #005FAF;
    padding: 10px 20px;
}

body#detail div#info .questionForm #submit_quest:after {
    /*content: "Abschicken";*/
    /*font-size: 16px;*/
}

body#detail .form_gebot {
    margin-top: .5rem;
    margin-bottom: 2rem;
}

body#detail .form_gebot input[type="submit"] {
    margin-left: 10px;
}

body#detail div#info .questionForm #submit_quest:hover {
    color: #ffffff;
    background-color: #414141;
    border-color: #414141;
    text-decoration: none;
}

body#detail #send_quest p:not(:last-child) input,
body#detail #send_quest textarea {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out;
    box-sizing: border-box;
}

body#detail #send_quest p:not(:last-child),
body#detail div#info .questionForm > p {
    margin-bottom: 20px;
}

body#detail #send_quest p:last-child {
    text-align: right;
}

body#detail #send_quest input:focus,
body#detail #send_quest textarea:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/*gallery*/
body#detail table.pic {
    border: none;
    width: 100%;
    margin-right: 0;
}
body#detail table.pic tr img {
    /*width: calc(100% - 6px);*/
    width: 100%;
    height: auto;
    padding: 2px;
    border: 1px solid lightgrey;
}

body#detail input[type="submit"] {
    display: inline-block;
    color: #ffffff;
    background-color: #005FAF;
    border: 1px solid #005FAF;
    padding: 10px 20px;
    text-align: center;
    min-width: 150px;
    cursor: pointer;
    margin-left: 1rem;
}

body#detail input[type="submit"]:hover {
    color: #ffffff;
    background-color: #414141;
    border: 1px solid #414141;
    text-decoration: none;
    text-align: center;
}

body#detail .gallery-thumbs {
    width: calc(100% + 50px);
    border-collapse: separate;
    border-spacing: 25px 0;
    margin-left: -25px;
}

body#detail .gallery-thumbs .pic {
    width: calc(100% - 6px);
    height: auto;
    padding: 2px;
    border: 1px solid lightgrey;
    max-height: 92px;
    object-fit: cover;
}

body#detail td[width='115'][style='cursor:pointer'] {
    width: calc(100% / 5) !important;
}

body#detail td[height='15'][colspan='2'],
body#detail td[height='8'][colspan='2'] {
    height: 30px;
}

/*td.all {*/
    /*font-size: 1rem;*/
    /*padding-left: 0;*/
/*}*/

/*table.nav_left {*/
    /*width: 100%;*/
/*}*/

/*.nav_left tr a {*/
    /*display: block;*/
    /*margin-top: 20px;*/
/*}*/

/*.nav_left tr.first, .nav_left td[height="13"] {*/
    /*display: none;*/
/*}*/

/*@media (max-width: 578px) {*/
    /*#main_table table td {*/
        /*display: block;*/
    /*}*/

    /*table.pic {*/
        /*margin-bottom: 1rem;*/
        /*width: 100%;*/
    /*}*/

    /*#main_table table tr {*/
        /*text-align: center;*/
    /*}*/

    /*.nav_left tr {*/
        /*width: 100% !important;*/
    /*}*/
/*}*/

/*@media (max-width: 768px) {*/
    /*.site, .main {*/
        /*display: block;*/
        /*width: 100% !important;*/
    /*}*/

    /*.main {*/
        /*margin-top: 40px;*/
    /*}*/

    /*.nav_left tr {*/
        /*display: inline-block;*/
        /*width: calc(100% / 3);*/
        /*margin-bottom: 20px;*/
    /*}*/

    /*.nav_left tr:nth-child(2) {*/
        /*display: none;*/
    /*}*/

    /*.nav_left tr a {*/
        /*margin-top: 0;*/
    /*}*/
/*}*/

@media (max-width: 578px) {
    body#detail #main_table table table,
    body#detail #main_table table table tbody,
    body#detail .detWhite table,
    body#detail .detWhite table tbody {
        display: block;
        box-sizing: border-box;
    }

    body#detail #main_table table table tr,
    body#detail .detWhite table tr {
        display: block;
        width: 100%;
    }

    body#detail #main_table table table tr td:first-child,
    body#detail .detWhite table tr td:first-child {
        font-size: .8rem !important;
        font-weight: bold !important;
    }

    body#detail .details table td strong {
        font-weight: bold;
    }

    body#detail #main_table table table tr:not(:last-child),
    body#detail .detWhite table tr:not(:last-child) {
        margin-bottom: 20px;
    }

    body#detail #main_table table table td,
    body#detail .detWhite table td {
        display: block;
        width: 100%;
    }

    body#detail .details table tr,
    body#detail .detWhite table tr {
        height: unset !important;
    }

    body#detail .detWhite table tr td {
        height: auto;
    }
}

@media (max-width: 575px) {
    body#detail table.pic tr img {
        width: 100%;
    }

    body#detail table.main,
    body#detail table.main tbody,
    body#detail table.main td,
    body#detail table.main tr {
        display: block;
        width: 100%
    }

    body#detail td[width='115'][style='cursor:pointer'] {
        display: block;
        width: calc(100% / 3) !important;
        float: left;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    body#detail td.site {
        display: block;
        width: 100%;
        margin-bottom: 30px;
    }
    body#detail td.main {
        display: block;
        width: 100%;
    }
}

@media (max-width: 991px) {
    body#detail .form_gebot input[type="submit"] {
        margin-left: 0;
    }
}

body#detail .details table .notice td {
	width: auto;
}
body#detail .details table td:first-child, 
body#detail .detWhite table td:first-child {
	width: 35%;
}
body#detail .details table td:last-child,
body#detail .detWhite table td:last-child {
	width: 65%;
}