@media (min-width: 180px) and (max-width: 480px) {
    .edit-rez fieldset label span {
        width: 100%;
    }
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 180px) and (max-width: 767px) {
    .colum-in {
        width: 96%;
        padding: 0 10px;
        margin: 0 auto;
    }
    /* Header and navigation */
    #logo {
        width: 35%;
    }
    #logo h1 a {
        top: 10px;
    }
    #logo a.image {
        width: 100%;
        padding: 0;
    }
    #header {
        height: 150px;
        width: 100%;
        background: #fff;
    }
    #header .header-top {
        position: relative;
        background: transparent;
    }
    .header-top-li,
    .header-top-li.ico-facebook,
    .header-top-li.search {
        float: right;
        margin: 1em 0em;
        width: 100%;
    }
    #header .header-nav {
        width: 100%;
        height: auto;
        border-bottom: 3px solid rgba(0,0,0,0.2);
        float: left;
        background: transparent;
    }
    #logo img {
        max-width: 85%;
    }
    #logo img a {
        top: 15px;
    }
    .flexnav {
        background: #CB0511;
        padding: 1em 0;
        z-index: 10001;
    }
    #row-site-navigation {
        padding-top: 0;
    }
    #row-site-navigation ul {
        width: 100%;
        float: none;
    }
    #row-site-navigation ul li {
        display: block;
        float: none;
        clear: both;
        padding: 1em 0 0.5em 0;
        border-top: 1px solid rgba(0,0,0,0.2);
    }
    #row-site-navigation ul li a {
        color: #fff;
    }
    #row-site-navigation ul li:hover {
        background: #e4000d;
        border-bottom: none;
    }
    #row-site-navigation ul li.active  {
        background: #fff;
    }
    #row-site-navigation ul li.active a {
        border: none;
        color: #CB0511;
    }
    .nav-ico-wrap {
        width: 100%;
        background: #fff;
        height: 65px;
        display: block;
    }
    .nav-ico {
        position: relative;
        float: right;
        top: 0.5em;
        right: 0em;
        width: 40px;
        height: 40px;
        cursor: pointer;
        display: block;
        background: url("../images/nav-ico.png") no-repeat scroll center top transparent;
        margin-top: 6px;
        z-index: 15000;
        color: #CB0511;
        line-height: 6.5em;
        text-align: center;
        font-size: 11px;
    }
    /* SLIDER HP */
    #slider {
        display: none;
    }
    /* SERVICES HP */
    #services-boxes {
        height: auto;
    }
    #services-boxes .colum-in > div:first-child {
        position: relative;
        top: 0;
        left: 0;
    }
    #services-boxes .item {
        margin: 0;
        margin-bottom: 2em;
        width: 100%;
        padding: 0;
    }

    #services-boxes .item:first-child {
        margin-top: 1.5em;
    }
    /* ACTUALITIES HP */
    #actualities-hp {
        padding: 2em 0;
    }
    #actualities-hp .hp-box {
        width: 100%;
        margin-left: 0;
        margin-bottom: 2em;
    }
    .tiskovky .item {
        width: 90%;
    }
    /* BANNERS HP */
    #banners-hp .hp-boxy .item {
        float: none;
        height: 285px;
    }
    #banners-hp .hp-boxy .box-content {
        display: inline-block;
    }
    #banners-hp .hp-boxy .box-content img {
        text-align: center;
    }
    #banners-hp .hp-box h3 {
        margin: 0 0.5em 0.5em 0.5em;
    }
    #banners-hp .hp-box h3,
    #banners-hp .hp-box h3 a {
        text-align: center;
    }
    #banners-hp .hp-box .more-info-btn  {
        position: relative;
        top: 1em;
        left: 0;
        padding: 1em 1.5em 0.8em 1em;
    }
    /* FOOTER */
    #footer input, 
    #footer textarea {
        background: rgba(250,250,250,0.2);
    }
    #footer .col-xs-12 {
        border-bottom: 1px dashed #333;
        padding-bottom: 1.5em;
    }
   
    
    /* HP - LAYOUT */
    #main .innerwrap {
        margin-top: 4.5em;
    }
    .middle,
    .left {
        float: none;
        width: 100%;
        padding: 0;
    }
    .left {
        margin-top: 2em;
    }
    .middle {
        margin-top: 0;
    }
    #content {
        padding: 10px 0 0 0;
    }
    .middle img {
        max-width: 100%;
        margin: 0;
        height: auto;
    }

    #services-boxes .content .col-md-6 {
        width: 50%;
        float: left;
        height: auto;
    }

    #services-boxes .content {
        height: auto;
    }

    /* booking modul rezervace */
    .table-rez {
        overflow: auto;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    .colum-in {
       width: 97%;
    }
    /* Header and navigation */
    #logo h1 a {
        top: 10px;
    }
    #header {
        height: 115px;
        width: 100%;
        background: #fff;
    }
    #header .header-top {
        position: relative;
        background: transparent;
    }
    .flexnav {
        background: #CB0511;
        padding: 1em 0;
        z-index: 10001;
    }
    #logo a {
        left: 0;
        top: 50px;
    }
    #row-site-navigation {
        padding-top: 0;
    }
    #row-site-navigation ul {
        width: 100%;
        float: none;
    }
    #row-site-navigation ul li {
        display: block;
        float: none;
        clear: both;
        padding: 1em 0 0.5em 0;
        border-top: 1px solid rgba(0,0,0,0.2);
    }
    #row-site-navigation ul li a {
        color: #fff;
    }
    #row-site-navigation ul li:hover {
        background: #e4000d;
        border-bottom: none;
    }
    #row-site-navigation ul li.active  {
        background: #fff;
    }
    #row-site-navigation ul li.active a {
        border: none;
        color: #CB0511;
    }
    .nav-ico-wrap {
        width: 100%;
        background: #fff;
        height: 65px;
        display: block;
    }
    .nav-ico {
        position: relative;
        float: right;
        top: 0.5em;
        right: 0em;
        width: 40px;
        height: 40px;
        cursor: pointer;
        display: block;
        background: url("../images/nav-ico.png") no-repeat scroll center top transparent;
        margin-top: 6px;
        z-index: 15000;
        color: #CB0511;
        line-height: 6.5em;
        text-align: center;
        font-size: 11px;
    }
    /* HP - LAYOUT */
    .middle,
    .left {
        float: none;
        width: 100%;
    }
    .left {
        margin-top: 2em;
    }
    .middle {
        margin-top: 0;
    }
    /* HP BOXES */
    #services-boxes {
        height: auto;
        background: #F4F4F4;
        padding: 1em 0 2em 0;
    }
    #services-boxes .item {
        width: 29.5%;
    }
    #services-boxes .colum-in > div:first-child {
        position: relative;
        top: 0;
        left: 0;
    }
    #services-boxes .content .col-md-6:first-of-type {
        border-right: none;
    }
    #services-boxes .content .col-md-6 {
        height: auto;
    }
    #services-boxes .content {
        min-height: 430px;
    }
    /* ACTUALITIES HP */
    #actualities-hp .hp-box {
        width: 30.5%;
    }
    .tiskovky .item {
        margin-top: 0;
        height: 120px;
    }
    #actualities-hp .hp-box {
        height: auto;
        /*max-height: 550px;*/
        overflow: hidden;
    }
    /* BANNERS HP */
    #banners-hp .hp-boxy .item {
        float: none;
        height: 304px;
    }
    #banners-hp .hp-box .box-footer {
        min-height: 9em;
    }
    #banners-hp .hp-boxy .box-content {
        display: inline-block;
    }
    #banners-hp .hp-boxy .box-content img {
        text-align: center;
    }
    #banners-hp .hp-box h3 {
        margin: 0 0.5em 0.5em 0.5em;
        min-height: 3em;
    }
    #banners-hp .hp-box h3,
    #banners-hp .hp-box h3 a {
        text-align: center;
    }
    #banners-hp .hp-box .more-info-btn  {
        position: relative;
        top: 1em;
        left: 0;
        padding: 1em 1.5em 0.8em 1em;
    }
    /* FOOTER */
    #footer .col-sm-6 {
        padding: 1em 0;
    }
    #banners-hp .hp-boxy .item {
        max-width: 85%;
    }
}

@media (min-width: 992px) and (max-width: 1281px) {
    .colum-in {
        width: 96%;
    }
    #banners-hp .hp-boxy .item {
        max-width: 85%;
        height: 265px;
    }
    /* HP BOXES */
    #services-boxes {
        height: auto;
        background: #F4F4F4;
        padding: 1em 0 2em 0;
    }
    #services-boxes .item {
        width: 30%;
    }
    #services-boxes .colum-in > div:first-child {
        position: relative;
        top: 0;
        left: 0;
    }
    #services-boxes .content .col-md-6:first-of-type {
        border-right: none;
    }
    #services-boxes .content .col-md-6 {
        height: auto;
    }
    #services-boxes .content {
        min-height: 420px;
    }

}
