*{
    margin: 0; padding: 0;
}

body{
    background: #e8e8e8 url('https://bazar.autadoterenu.cz/css/../images/web/bg-body.jpg') repeat-x;
    border-top: #413126 4px solid;
    font-family: Arial, Helvetica, sans-serif, "MS Trebuchet";
    font-size: 13px;
}


/* DEFF -------------------------------------------------------------------------------- */

a{
    color: #6D8A1E;
}

h1{
    color: #6d8a1e;
    margin: 5px;
}

h1{
    font-size: 20px;
}

h2{
    color: #930001;
    font-weight: normal;
}

h3{
    margin-left: 3px;
}

ul{
    list-style-type: none;
}

.border1px{
    border: 1px solid #ffffff;
}

.left{
    float: left;
}

.right{
    float: right;
}

.round{
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius:  5px 5px 5px 5px;
    border-radius:  5px 5px 5px 5px;
}

.hide{
    visibility: hidden;
}

.hide input{
    width: 1px;
    height: 1px;
    font-size: 1px;
    visibility: hidden;
    margin: 0;
    padding: 0;
}

.cleaner{
    clear:both;
    width: 100%;
    height: 1px;
}

input, select, textarea{
    border: 1px solid #88796F;
    border-radius: 5px 5px 5px 5px;
    margin-bottom: 10px;
    padding: 3px;
}

.btn{
    color: white;
}
/* MENU -------------------------------------------------------------------------------- */


#menu-horizontal{
    position: absolute;
    top: 130px;
    width: 972px;
    background: #7C9D24 url('https://bazar.autadoterenu.cz/css/../images/web/bg-menu-green.jpg') repeat-x;

}

#menu-horizontal ul li{
    display: inline;
}

#menu-horizontal ul li a{
    display: inline-block;
    height: 47px;
    color: white;
    line-height: 47px;
    vertical-align: middle;
    padding: 0 10px;
    font-weight: 200;
    text-decoration: none;
}

#menu-horizontal ul li a:hover{
    background: #553f34 url('https://bazar.autadoterenu.cz/css/../images/web/bg-menu-brown.jpg') repeat-x;
    text-decoration: underline;
}


/* DROBECEK -------------------------------------------------------------------------------- */


.breadcrumbs{
    position: absolute;
    top: 285px;
    background: #ede9db url('https://bazar.autadoterenu.cz/css/../images/web/bg-bread.jpg') repeat-x;
    height: 30px;
    line-height: 30px;
    vertical-align: middle;
    padding-left: 5px;
    font-size: 12px;
    font-weight: bold;
    width: 967px;
}


/* STRANA -------------------------------------------------------------------------------- */


#holly-container{
    width: 1292px;
    /*padding-left: 155px;*/
    margin: auto;
    position: relative;
}

#content-wrapper{
    margin-top: 145px;
    /*min-height: 600px;*/
}
#container{
    width: 972px;
    padding: 0 4px;
    background: #f9f5e7;
    /*margin: auto;*/
    position: relative;
    margin-left: 160px;
    /*margin-right: 120px;*/
}

#header{
    height: 177px;
    background: #7C9D24 url('https://bazar.autadoterenu.cz/css/../images/web/bg-header.jpg') no-repeat;
    margin-bottom: 10px;
}

#leaderbox-wrap{
    width: 972px;
    height: 102px;
    overflow: hidden;
    position: absolute;
    top: 184px;
}

#leaderbox{
    width: 746px;
    float: left;
    background: #d6d2c4 url('https://bazar.autadoterenu.cz/css/../images/web/bg-banner.jpg') repeat-x;
    height: 102px;
    text-align: center;
}

#leaderbox-wrap .btns{
    width: 216px;
    margin-left: 755px;
}


#leaderbox-wrap .btns .btn{
    width: 216px;
    display: block;
}


#logo a{
    display: block;
    position: absolute;
    top: 0;
    background: #7C9D24 url('https://bazar.autadoterenu.cz/css/../images/web/bg-header.jpg') no-repeat;
    width: 400px;
    height: 110px;
    text-indent: -1000px;
}


#content-wrap{
    width: 664px;
}


#right-stripe{
    width: 300px;
    background: #F9F5E7;
    margin-left: 672px;
}

#right-stripe .box, .dialog .box{
    border: 1px solid #d8d4c6;
    background: #d8d4c6;
}

#right-stripe .box h2, .dialog .box h2{
    border-left: 5px solid #930001;
    background: #eeeeee url('https://bazar.autadoterenu.cz/css/../images/web/bg-h2.jpg') repeat-x;
    color: black;
    font-size: 15px;
    letter-spacing: 1px;
    font-weight: bold;
    padding: 7px;
}

#underfooter{
    position: relative;
}

#underfooter-wrap{
    background: #413126;
    margin-left: 160px;
    margin-right: 80px;
}

#underfooter{
    background: #dad4c6;
    width: 980px;
    margin: auto;
    padding: 20px 0;
}

#underfooter ul.down_menu{
    margin-left: 20px;
}

#underfooter ul.down_menu li{
    display: inline;
}

#underfooter ul.down_menu li a{
    color: black;
}

#underfooter p{
    padding: 5px 10px;
}

/* VYHLEDAVANI -------------------------------------------------------------------------------- */


#search{
    position: absolute;
    top: 37px;
    left: 495px;
}


#search input{
    border: none;
    padding: 7px;
    margin-left: 5px;
}

#search select{
    border: none;
    padding: 5px;
    margin-left: 5px;
}

#search select option{
    padding: 1px 7px;
}

#frmsearchForm-search{
    background: #e8e8e8 url('https://bazar.autadoterenu.cz/css/../images/web/bg-btn-brown-small.jpg') repeat-x;
    padding: 7px;
    color: white;
}


#frmsearchForm-fulltext{
    width: 220px;
}

#add_adv{
    margin-bottom: 4px;
    font-size: 20px;
}

#edit_adv{
    font-size: 17px;
}


.text_wrap{
    margin: 10px;
    padding-bottom: 10px;
    line-height: 22px;
    border-bottom: 1px solid black;
}

/* BTNS -------------------------------------------------------------------------------- */


.btn{
    color: white;
    vertical-align: middle;
    display: block;
    text-align: center;
    text-decoration: none;

}

.btn-green-big{
    background: #7c9d24 url('https://bazar.autadoterenu.cz/css/../images/web/bg-btn-green-big.jpg') repeat-x;
    line-height: 56px;
    cursor: pointer;
}

.btn-green-small{
    /*background: #7c9d24 url('https://bazar.autadoterenu.cz/css/../images/web/bg-btn-green-small.jpg') repeat-x; // edit pro infeed*/
    border: 1px solid #6d8a1e;
    border-radius: 2px;
    color: #6d8a1e;
    line-height: 26px;
    padding: 3px 15px;
    cursor: pointer;
}

.btn-brown-small{
    background: #392b21 url('https://bazar.autadoterenu.cz/css/../images/web/bg-btn-brown-small.jpg') repeat-x;
    line-height: 26px;
    padding: 3px 10px;
    color: white;
    cursor: pointer;
}

.btn-brown{
    background: #392b21 url('https://bazar.autadoterenu.cz/css/../images/web/bg-btn-brown-small.jpg') repeat-x;
    line-height: 40px;
    color: white;
    cursor: pointer;
}

/*pridani recenye, galerie...*/
.add_btn{
    margin-bottom: 10px;
    font-size: 16px;
}

.add_btn:hover{
    text-decoration: underline;
}

/* FORMS -------------------------------------------------------------------------------- */


form{
    padding: 13px;
}

.form_label{
    float: left;
    width: 110px;
}

form .text-large{
    width: 110px;
}

form .text-short{
    width: 60px;
}

#frm-mainForm select{
    width: 158px;
}

#frm-mainForm input, #frm-mainForm select{
    margin-bottom: 10px;
}

#frmmainForm-save{
    color: white;
    float: right;
    margin-right: 3px;
    border: none;
}


#frm-advertisementForm .form_label{
    width: 125px;
}

/* NEW ADV -------------------------------------------------------------------------------- */


.new_adv{
    height: 92px;
    overflow: hidden;
    padding: 5px;
}

.new_adv img{
    margin-right: 7px;
    border: 1px solid #8a8074;
}

.new_adv h3{
    margin-bottom: 3px;
}

.new_adv h3 a{
    font-size: 14px;
    color: #930001;
    text-decoration: none;
}

.new_adv h3 a:hover{
    text-decoration: underline;
}


/* MAIN ARTICLES -------------------------------------------------------------------------------- */

.article_main{
    background: white;
    border: 1px solid #e8e4d7;
    padding: 10px;
    max-height: 340px;
    overflow: hidden;
}

.first_top_image{
    max-height: 330px;
    overflow: hidden;
}

.article_main h2 a{
    font-size: 18px;
    color: #930001;
}

.article_main p{
    text-align: justify;
}

.article_main img{
    margin-right: 10px;
    border: 1px solid #9d9691;
}

.more_info{
    margin: 5px 0;
    color:  #987b77;
}


.article_main.next{
    margin: 4px 0;
}

.more_info.detail{
    margin-bottom: 6px;
}

/*  ARTICLES a INZERCE-------------------------------------------------------------------------------- */

.article{
    background: white;
    border: 1px solid #e8e4d7;
    padding: 17px;
    margin: 4px 0;
}

.article.pr_clanek{
    background: #f5fddd;
}

.article p{
    line-height: 20px;
    margin-bottom: 15px;
}


.article img{
    margin-right: 9px;
    border: 1px solid #9d9691;
}

.article h2{
    margin-bottom: 5px;
    margin-top: 0px;
}

.article h2 a{
    font-size: 17px;
    color: #930001;
    text-decoration: none;
}
.article h2 a:hover{
    text-decoration: underline;
}

.article ul {
    list-style-type: circle;
    padding: 0 20px;
    margin: 0 0 15px 0;
}
.article ul li {line-height: 1.5em;}


.text_detail{
    height: 100px;
    overflow: hidden;
}

.article_main .text_detail{
    height: 80px;
    overflow: hidden;
}

.image_wrap{
    width: 202px;
    height: 152px;
    margin-right: 10px;
    overflow: hidden;
}


.fb-like{
    height: 23px;
}


.fb_share{
    width: 260px;
    height: 25px;
    line-height: 25px;
    background: #dad7d7;
    margin-top: -6px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #868282;
    padding: 1px;
}

.fb_share img.fb{
    border: none;
    float: left;
    margin-right: 10px;
    /*text-align: left;*/
}

.fb_share a{
    color: black;
    display: block;
}


.article.bottom .fb_share {
    margin: 0;
    margin: auto;
}

.article.bottom {
    padding-top: 5px;
    padding-bottom: 5px;
}



/*  ARTICLES a INZERCE detail-------------------------------------------------------------------------------- */


.detail{
    background: white;
    border: 1px solid #e8e4d7;
    padding: 10px;
    margin: 0px 0;
}

.detail img{
    margin: 0 10px 10px 0;
    border: 1px solid #9d9691;
}

ul.tab_advertisement{
    margin-top: 4px;

}

ul.tab_advertisement li{
    display: inline-block;
    background: white;
}

.tab_advertisement li{
    height: 25px;
    padding: 6px 25px 0 25px;

}


.tab_advertisement li a{
    font-weight: bold;
    font-size: 15px;
    text-decoration: none;
    color: black;
}

.tab_advertisement li.active{
    border-bottom: none;
    font-weight: bold;
    font-size: 15px;
    text-decoration: none;
    margin-bottom: -1px;
    height: 26px;
    border: 1px solid #E8E4D7;
    border-bottom: none;
    background: white;
}



.detail_main_text{
    margin: 55px 0 0 335px;
    font-size: 15px;
    line-height: 25px;
}

.detail_main_text .form_label{
    width: 95px;
}

.detail_main_text .form_label{
    font-weight: bold;
}

#detail .detail_text p{
    text-align: justify;
    line-height: 18px;
}

#detail h4{
    margin: 10px 0 4px 0;
}


table.grid{
    width: 200px;
}

.prew_next{
    width: 230px;
}

.prew_next a{
    width: 110px;
}

.nahled{
    height: 150px;
    overflow: hidden;
}

.video_wrap{
    margin-left: 50px;
}

.article h4{
    margin: 15px 0 5px 0;
}

.plusminus{
    width: 220px;
    min-height: 120px;
    padding: 13px;
    padding-left: 90px;
    border: 1px solid #E8E4D7;
    line-height: 19px;
}

#plus{
    float: left;
    background: white url('https://bazar.autadoterenu.cz/css/../images/web/plus.png') no-repeat 10px 40px;
}

#minus{
    float: right;
    background: white url('https://bazar.autadoterenu.cz/css/../images/web/minus.png') no-repeat 10px 40px;
}

.evaluated{
    margin: 10px 10px 10px 0;
    padding: 10px;
    /*background: #E8E8E8;*/
    border: 1px solid #E8E4D7;
    text-align: center;
}


.evaluated p{
    font-size: 50px;
    color: #6D8A1E;
}

.evaluated_wrap{
    width:175px;
}

/*  KOMENTARE---------------------------------------------------------------------------------------*/

.comments{
    padding: 13px;
    background: #D8D4C6;
    margin-bottom: 10px;
}

.comment_title{
    margin-bottom: 10px;
}

.comment_title span{
    font-weight: bold;
    display: block;
    margin-bottom: 3px;
}

/*  KONTAKT FORM-------------------------------------------------------------------------------- */


.contact_form, .comment, #frm-forms-formForm{
    background: #D8D4C6;
    border: 1px solid #88796F;
}

#frm-contactForm input[type=text]{
    width: 200px;
}

#frmcontactForm-text{
    width: 490px;
    height: 65px;
}

/*  ADV FORM-------------------------------------------------------------------------------- */


#frm-advertisementForm select{
    width: 150px;
}

#frm-advertisementForm input.text-short{
    width: 100px;
}

#frm-advertisementForm input.text-large{
    width: 180px;
}

#frm-advertisementForm textarea{
    width: 510px;
    height: 60px;
}

#frm-advertisementForm .text-radio{
    margin: 0 3px 10px 15px;
}

#subm .btn{
    width: 190px;
    height: 26px;
    margin-right: 10px;
}


/* rev form ----------------------------------------------------------*/

#frm-reviewForm, #frm-advertisementForm{
    padding: 0;
}

#frm-reviewForm .contact_form, #frm-advertisementForm .contact_form{
    padding: 13px;
    margin-bottom: 13px;
}

#frm-reviewForm textarea, #frm-addGalleryForm textarea, #frm-advertisementForm textarea{
    width: 490px;
    height: 75px;
}


/*  info boxy ~ flash zpravy -------------------------------------------------------------------------------- */


.flash, .info, .success, .warning, .error, .validation {
    border: 1px solid;
    padding: 15px 10px 15px 50px;
    background-repeat: no-repeat;
    background-position: 10px center;
    font-size: 13px;
    font-weight:bold;
    -moz-border-radius-bottomleft: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    border-radius: 5px;
    opacity: 0.9;
    border: none !important;
    margin-top:10px;
}
.info {
    color: #00529B;
    background-color: #C6DBFF;
    background-image: url('https://bazar.autadoterenu.cz/css/../images/info.png');
}
.success {
    color: #4F8A10;
    background-color: #DFF2BF;
    background-image:url('https://bazar.autadoterenu.cz/css/../images/success.png');
}
.warning {
    color: #9F6000;
    background-color: #FEEFB3;
    background-image: url('https://bazar.autadoterenu.cz/css/../images/warning.png');
}
.error {
    color: #D8000C;
    background-color: #FFBABA;
    background-image: url('https://bazar.autadoterenu.cz/css/../images/error.png');
}
.validation {
    color: #D63301;
    background-color: #FFCCBA;
    background-image: url('https://bazar.autadoterenu.cz/css/../images/warning.png');
}

/*oprava pro multi upload*/
#frm-imageForm .flash{
    padding: 0;
    margin: 0;
}



#banner{
    background: #d6d2c4 url('https://bazar.autadoterenu.cz/css/../images/web/bg-banner.jpg') repeat-x;
    /*height: 85px;*/
}

.no-padding-right{
    padding-right: 0px;
}


/* PAGINATOR --------------------------------------------------------*/
.paginator{
    text-align: center;
    margin-bottom: 10px;
}

.paginator .page{
    line-height: 25px;
}


.paginator .btn-brown, .paginator .btn-green{
    padding: 0px 10px;
    line-height: 30px;
}

.strankovani-list{
    text-align: center;
    height: 25px;
    margin-top: 3px;
}

.strankovac{
    font-size: 14px;
    font-weight: bold;
}

.strankovac a{
    padding: 4px 8px;
    border: 1px solid #E8E4D7;
    background: white;
}

.autobaz_text{
    margin:  5px 1px 0 2px;
    border:1px solid #E8E4D7;
    padding: 4px;
    background: white;
    max-height: 30px;
    text-align: center;
}


#skyabs{
    width: 120px;
    height: 600px;
    position: fixed;
    _position:absolute;
    top: 3px;
}

#skyabs2{
    width: 120px;
    height: 600px;
    position: fixed;
    top: 3px;
    /*right: 0;*/
    /*right: -125px;*/
}
#skyabs2_wrapper {
    position: relative;
    float: right;
    width: 120px;
}


.adv_message{
    margin: 0 auto;
    text-align: center;
    padding-top: 0px;
    width: 300px;
}

.adv_message div{
    margin: auto;
    width: 300px;
}


.zebr{
    text-align: center;
}

.rss{
    padding: 6px;
}

.rss h3{
    margin: 0 0 5px 0;
}

.rss h3 a{
    color: #930001;
    font-size: 14px;
}

.article .search li{
    margin: 10px 0 10px 0;
}

.dialog{
    position: fixed;
    top: 20%;
    left: 35%;
    z-index: 1000;
    -webkit-box-shadow: 0px 0px 50px 1px #000000;
    -moz-box-shadow: 0px 0px 50px 1px #000000;
    box-shadow: 0px 0px 50px 1px #000000;
}

.top_image{
    margin: 0 0 10px 10px;
}


#frm-mainForm .text-long{
    width: 149px;
}

.rss .topic{
    font-weight: bold;
}

.rss .topic a{
    font-weight: bold;
    color: black;
}

.center{
    text-align: center;
    margin: auto;
    width: 100%;
}



#services{
    text-align: center;
}

#services table{
    width: 660px;
    border: 1px solid #DAD4C6;
    border-collapse: collapse;
    margin-bottom: 20px;
}

#services table .top{
    background: #dad4c6;
}


#services table td{

    border: 1px solid #DAD4C6;
    padding: 3px;
}

#services h1, #services h2{
    text-align: left;
}


#services h1, #services h2{
    margin: 10px 0 10px 5px;
}

.article.last h2{
    font-size: 12px;
    color: black;

}

.article.last h2 a{
    font-size: 13px;
    font-weight: bold;

}

.btn.disable{
    background: #e4e0d0;
    cursor: default;
}


.quick_adv{
    /*padding: 10px;*/
    margin-bottom: 10px;
}

.quick_adv li.lev1{
    padding: 5px;
}

.quick_adv li{
    line-height: 16px;
    vertical-align: middle;
    position: relative;
}

.quick_adv a{
    /*padding-left: 30px;*/
    display: block;
}

/*.quick_adv a.volkswagen{
        background: url('https://bazar.autadoterenu.cz/css/../images/brands/volkswagen.png') 0 3px no-repeat;
}
.quick_adv a.nissan{
        background: url('https://bazar.autadoterenu.cz/css/../images/brands/nissan.png') 0 3px no-repeat;
}
.quick_adv a.toyota{
        background: url('https://bazar.autadoterenu.cz/css/../images/brands/toyota.png') 0 3px no-repeat;
}
.quick_adv a.skoda{
        background: url('https://bazar.autadoterenu.cz/css/../images/brands/skoda.png') 0 3px no-repeat;
}
.quick_adv a.mitsubishi{
        background: url('https://bazar.autadoterenu.cz/css/../images/brands/mitsubishi.png') 0 3px no-repeat;
}*/

.quick_adv ul li ul li a{
    padding-left: 0px;
}

.quick_adv ul li ul li{
    display: inline-block;
}

.quick_adv ul li ul{
    position: absolute;
    left: 105px;
    top: 6px;
}

.article h2{
    color: black;
    font-weight: bold;

}




/*
 *
 * nova galerie
 */

.main_image{
    position: relative;
}

.prew_arrow, .next_arrow{
    background: red;
    width: 60px;
    height: 61px;
    position: absolute;
    opacity: 0.5;
    filter:alpha(opacity=50);
    /*z-index: 10000;*/
    /*visibility: hidden;*/
}

.prew_arrow{
    left: 10px;
    top: 10px;
    background: url('https://bazar.autadoterenu.cz/css/../images/icon-prew-next.png') -60px 0;
}

.next_arrow{
    left: 570px;
    top: 10px;
    background: url('https://bazar.autadoterenu.cz/css/../images/icon-prew-next.png');
}

.next_arrow:hover, .prew_arrow:hover{
    opacity: 1.0;
    filter:alpha(opacity=100);
}


.brand_box{
    width: 308px;
    /*height: 50px;*/
    overflow: hidden;
    margin: 1px 0;
    float: left;
}

.brand_box h3{
    float: left;
}

.brand_box a{
    line-height: 20px;
}

#vin_content{
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #eee;
}


#vin_content #vin_loader {
    font-size: 1.8em;
    text-align: center;
    background-color: #fff;
    padding: 20px;
}
#vin_content dl {
    margin-bottom: 10px;
}

#vin_content dl dt {
    background:#f2f2f2;
    color:#444;
    float:left;
    font-weight:bold;
    margin-right:10px;
    padding:5px;
    width:180px;
}

#vin_content dl dd {
    background:#fff;
    margin:2px 0;
    padding:5px 0;
}


.price_wrap{
    margin-left: 95px;
}

.price_wrap .small{
    font-size: 0.8em;
}

#vin_content img{
    border: 0;
}

.mobileOnly, #menu-horizontal ul li.mobileOnly{
    display: none;
}

.noMobileOnly{
    display: block;
}

.show_navigation{
    display: none;
}

@media (max-width: 650px){


    h1{
        font-size: 19px;
        font-weight: normal;
    }

    body{
        margin: 0px;
    }
    #holly-container, #leaderbox-wrap .btns, #right-stripe, #content-wrapper{
        margin: 0;
        padding: 0;
    }

    #container, #content-wrap, #right-stripe, #holly-container, #menu-horizontal, #leaderbox-wrap, #underfooter,
    #leaderbox-wrap .btns
    {
        width: 100%;
    }



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

    .tab_advertisement li{
        padding: 6px 20px 0;
    }

    .show_navigation{
        display: block;

        background: #7c9d24;
        text-align: center;
        margin-top: 1px;
        position: absolute;
        top: 93px;
        width: 100%;
    }

    .show_navigation a{
        color: white;
        display: block;
        padding: 12px 0;
    }

    .breadcrumbs{
        padding-left: 10px;
        line-height: 15px;
    }

    .breadcrumbs{
        width: auto;
        position: static;
        font-weight: normal;
        font-size: 11px;
        padding-top: 5px;
    }

    #header{
        height: 0px;
        margin-bottom: 0;

    }

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

    #logo a, #header{
        background: url('https://bazar.autadoterenu.cz/css/../images/mob/bg-header-mobile.jpg') no-repeat;
    }

    #logo a{
        width: 312px;
        height: 50px;
    }


    #container{
        padding: 0;
        padding-top: 138px;
        margin: 0;
    }

    #leaderbox, #skyabs, #skyabs2, .adv_message, .btns, .noMobileOnly{
        display: none;
    }

    #content-wrap, #right-stripe, #frmmainForm-save, .right.rightNoMobile{
        float: none;
    }

    #leaderbox-wrap{
        display: none;
    }

    .mobileOnly, #menu-horizontal ul li.mobileOnly{
        display: block;
    }

    #underfooter{
        text-align: center;
        padding: 10px 0;
        margin: 0;
        width: 100%;
    }

    #underfooter-wrap{
        margin: 0;
    }


    #frm-reviewForm textarea, #frm-addGalleryForm textarea, #frm-advertisementForm textarea{
        width: 98%;
    }

    .image_wrap{
        width: 150px;
    }
    .image_wrap img{
        width: 100%;
        height: auto;
        border: 0;
    }

    /*HP*/

    .article_main{
        max-height: none;
    }

    .first_top_image{
        float: none;
        width: 100%;

    }

    .first_top_image img{
        width: 100%;
    }

    .article_main h2 a{
        font-size: 16px;
    }

    .article_main .text_detail{
        height: auto;
        overflow: visible;
        line-height: 18px;
    }

    .text_detail{
        overflow: visible;
        height: auto;
        line-height: 18px;
        text-align: justify;
    }

    .image_wrap{
        height: auto;
    }


    .square-mobile {
        height: auto;
        margin: 0px auto;
        overflow: hidden;
        text-align: center;
    }


    /*article*/
    .article{
        padding: 5px;
    }

    #frm-comments-commentsForm input, #frm-comments-commentsForm textarea{
        width: 98%;
    }

    /*search form*/

    #frm-mainForm input, #frm-mainForm select{
        width: 98%;
        margin: 3px 0px;
    }


    /*menu*/
    #menu-horizontal{
        top: 133px;
        display: none;
    }

    #menu-horizontal ul li a{
        display: block;
        width: 100%;
        padding: 6px 0;
        line-height: 22px;
        height: 22px;
        background: #404040;
        text-align: center;
        border-bottom: #666 1px solid;
    }

    #menu-horizontal ul li a:hover{
        background: #555;
    }

    /*search*/
    #search{
        left: 0px;
        top: 50px;
        width: 100%;
        margin: 0;
        padding: 0;
        background: #413126;
        padding: 5px 0;
    }

    #search form{
        padding: 0;
    }

    #frmsearchForm-fulltext{width: 100px; margin-bottom: 0;}
    #frmsearchForm-search_type{width: 100px;margin-bottom: 0;}
    #frmsearchForm-search{margin-bottom: 0;}



    .strankovac .strankovani-prev, .strankovani-next{
        float: none;
        width: 98%;
        padding: 8px 0;
        display: block;
        text-align: center;
        margin: 3px 2px;
    }


    .strankovani-prev, .strankovani-next, .strankovac a{
        padding: 8px 0;
    }


    .strankovani-list  a, .strankovani-list span{
        display: block;
        padding: 5px 10px;
        float: left;
        margin: 2px;
    }

    .article .text{
        text-align: justify;
    }

    /*adv*/

    .detail .image{
        float: none;
        width: 100%;
    }

    .detail .image img{
        width: 100%;
        margin: 3px 0;
    }

    .detail_main_text{
        margin: 10px 0;
    }

    .prew_next{
        width: 100%;
    }

    .prew_next.mobileOnly{
        margin-bottom: 5px;
    }

    .prew_next.mobileOnly a{
        padding: 5px 0;
        width: 48%;
        line-height: 20px;
    }

    .detail .detail-text p{
        text-align: justify;
    }

    .fb_share{
        width: 95%;
        margin: 5px auto;
        padding: 1px;
        float: none;
    }

    #frm-contactForm input, #frm-contactForm input[type="text"], #frm-contactForm select, #frmcontactForm-text{
        width: 98%;
    }


    /*galerie*/


    .next_arrow {
        right: 10px;
        left: auto;
    }

    .main_image img{
        width: 100%;
    }

    .autobaz_text{
        max-height: 100px;
        line-height: 25px;
        margin-bottom: 5px;
    }

}


@media (max-width: 500px){

    .detail .nahled{

        margin: 2px;
        width: 48%;
    }

    .detail .nahled img{
        width: 100%;

    }

}




/*
cookie control
*/
.cookiesConfirm{
    width: 100%;
    position: fixed;
    bottom: 0;
    background: #f2f2f2;
    color: #657888;
    padding: 0px;
    line-height: 25px;
    margin-bottom: 0px;
    text-align: center;
    z-index:9999999;
}
.cookiesConfirm p{ margin: 0; padding: 10px;}
.cookiesConfirm a{ color: #657888; }
.cookiesConfirm a.ok{
    background: #4a8cf6;
    padding: 5px 20px;
    text-decoration: none;
    color: white;
    margin-left: 6px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}


/* SLIMBOX */

#lbOverlay {
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	cursor: pointer;
}

#lbCenter, #lbBottomContainer {
	position: absolute;
	z-index: 9999;
	overflow: hidden;
	background-color: #fff;
}

#lbBottomContainer {top: 35px;}
.lbLoading {
	background: #fff url('https://bazar.autadoterenu.cz/css/slimbox/loading.gif') no-repeat center;
}

#lbImage {
	position: absolute;
	left: 0;
	top: 0;
	border: 10px solid #fff;
	background-repeat: no-repeat;
}

#lbPrevLink, #lbNextLink {
	display: block;
	position: absolute;
	top: 0;
	width: 50%;
	outline: none;
}

#lbPrevLink {
	left: 0;
}

#lbPrevLink:hover {
	background: transparent url('https://bazar.autadoterenu.cz/css/slimbox/prevlabel.gif') no-repeat 0 15%;
}

#lbNextLink {
	right: 0;
}

#lbNextLink:hover {
	background: transparent url('https://bazar.autadoterenu.cz/css/slimbox/nextlabel.gif') no-repeat 100% 15%;
}

#lbBottom {
 	font-family: Verdana, Arial, Geneva, Helvetica, sans-serif;
	font-size: 10px;
	color: #666;
	line-height: 1.4em;
	text-align: left;
	border: 10px solid #fff;
	border-top-style: none;
}

#lbCloseLink {
	display: block;
	float: right;
	width: 66px;
	height: 22px;
	background: transparent url('https://bazar.autadoterenu.cz/css/slimbox/closelabel.gif') no-repeat center;
	margin: 5px 0;
	outline: none;
}

#lbCaption, #lbNumber {
	margin-right: 71px;
}

#lbCaption {
	font-weight: bold;
}
