@media screen and (max-width: 979px) {

    .promoprice {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }

    .is-promo .select2-container--default .select2-selection--single{
        border-left: 1px solid #ccc !important;
    }

    .search-box {
        margin-top: 14%;
    }

    #searchbar .select2-container .select2-selection--single{
        height: 48px !important;
        padding-left: 3px;
    }

    #searchbar .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 48px !important;
    }

    #searchbar .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 48px !important;
    }

    .city-loc i{
        position: absolute;
        z-index: 10000 !important;
        left: 20px;
        top: 10px;
        font-size: 26px;
        color: #999;
    }

}

@media (max-width: 767px) {

    .col-q input, .col-loc input{
        border: 1px solid #ccc !important;
    }

    .col-q:after {
        width: 0;
    }

    .col-new {
        margin-left: 15px;
        top:0;
    }

    div.page_header{
        height: 350px;
        background-position: 20% 70%;
    }

    .col-q,.col-loc,.col-btn{
        margin-top: 5px;
    }

    #reviews .form-group button{
        width: 100%;
    }

    .mlink {
        display: block;
        text-align: left;
    }

    .offer {
        margin-top: 15px;
    }

    #menu .btn-default {
        top:0;
    }

    #searchbar {
        position: relative;
        border: 1px solid #48525e;
        border-bottom: 7px solid #48525e;
    }

    #searchbar input, #searchbar button {
        height: 50px !important;
    }

    .nearme {
        margin-bottom: 15px;
    }

    #searchbar button {
        width: 100%;
        margin-bottom: 6px;
    }

    #searchbar .col {
        float: none;
        width: 100% !important;
        margin: 0 0 6px 0;
    }

    #searchbar .col1 {
        display: block;
    }

    #searchbar .col2, #searchbar .twitter-typeahead {
        margin-bottom: 3px !important;
    }

    #search_form {
        border: none;
        box-shadow: none;
        margin: 0 15px;
    }

    .promoprice {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }

    #navbar .search-box .input-icon input, #navbar .search-box .twitter-typeahead {
        width: 100% !important;
    }

    #navbar .search-box button[type="submit"] {
        width: 100% !important;
    }

    .result .items {
        padding-right: 15px;
    }
}

@media (min-width: 992px) and (max-width: 1366px) {

    .pill-photo img{
        width: 95px;
    }

    .modal-lg {
        width: 870px;
    }
}

@media (max-width: 991px) {

    .banner_on_map {
        position: relative;
        bottom: 0;
        margin: 20px 0;
    }

    .map_toggle {
        display: none;
    }

    .instruction {
        border-top: 1px dotted #ccc;
        padding-top: 30px;
    }

    .container-fluid {
        margin-top: 0;
    }

    .page-header {
        height: auto;
    }

    .page-header .col-md-6 {
        padding-left: 0;
        padding-right: 0;
    }

    .result .items {
        top: 0;
    }

    #searchbar {
        position: relative;
        border: 1px solid #48525e;
    }

    .col1 {
        display: none;
    }

    .col2 {
        margin-left: 15px;
    }

    .col2, .col3 {
        width: 30% !important;
    }

    .result .map {
        position: relative;
        height: 500px;
    }

    .pill-icon {
        display: none;
    }

    #topcontrol {
        display: block;
    }

    .price-block {
        margin-top: 12px;
    }

}

@media (max-width: 1120px) {

    .call {
        display: inline-block;
    }

    #apteki .badge {
        margin-bottom: 5px;
        padding: 7px 10px;
        font-size: 12px;
    }

}

@media (max-width: 560px) {

    .estimates span {
        display: none;
    }

    .estimates {
        width: 100% !important;
    }

    .estimates label {
        width: 20%;
    }

    .phone-line {
        display: none;
    }

    .nearest .badge:nth-child(1) {
        width: 28%;
    }

    .nearest .badge:nth-child(2) {
        width: 37%;
    }

    .nearest .badge:nth-child(3) {
        width: 33%;
    }

    .call {
        display: block;
        width: 100% !important;
        font-size: 16px !important;
        padding: 12px 0 !important;
    }

    .analog .price {
        float: none;
        display: block;
    }

    .aptl {
        margin-bottom: 15px;
        display: block;
    }

    .aptl img {
        width: 37px;
    }

    .aptl h1 {
        line-height: 20px !important;
        font-size: 26px !important;
    }

    .aptl .line {
        display: none;
    }

    .apteka-price {
        padding: 0;
    }

    .promoprice {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

@media (min-width: 1182px) and (max-width: 1322px) {
    #navbar .search-box .input-icon input, #navbar .search-box .twitter-typeahead {
        width: 300px !important;
    }
}

@media (min-width: 767px) and (max-width: 1181px) {
    #navbar .search-box .input-icon input, #navbar .search-box .twitter-typeahead {
        width: 250px !important;
    }
}

@media screen {
    #printSection {
        display: none;
    }
}

.printable {
    display: none;
}

@media print {
    body * {
        visibility: hidden;
    }

    .non-printable {
        display: none;
    }

    .printable {
        display: block;
    }

    #printSection, #printSection * {
        visibility: visible;
    }

    #printSection {
        position: absolute;
        left: 0;
        top: 0;
    }
}
