div.modal{
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    cursor: pointer;
}

div.modal-content{
    position: absolute;
    width: 40%;
    left: calc(50% - 20%);
    background-color: #2D2D2D;
    max-height: 60%;
    top: calc(50% - 30%);
    cursor: default;
}

div.modal-content > div{
    padding: 15px;
}

div.modal-content > div.modal-body{
    margin: 10px;
    margin-bottom: 0px;
    overflow-y: auto;
    max-height: calc(60vh - 166px);
    background-color: white;
}

div.modal-content > div.modal-buttons{
    margin: 10px;
    margin-top: 0px;
    background-color: white;
}

div.modal-title{
    background: #8d155f url('/assets/im/mainmenu-gradient.png') repeat-x 0% 0%;
    font-size: 16px;
    color: white;
}

div.modal-close{
    display: inline-block;
    position: absolute;
    top: 0px;
    right: 15px;
    font-size: 30px;
    color: #333;
    line-height: 48px;
    cursor: pointer;
}

div.modal-close:hover{
    color: #ddd;
}

div.modal-buttons button{
    padding: 10px 15px;
    font-size: 13px;
    text-transform: uppercase;
    cursor: pointer;
    outline: none;
}

div.modal-buttons button.modal-close{
    border: 1px solid #ACACAC;
    background-color: #CECECE;
    color: #5A4141;
}
div.modal-buttons button.modal-close:hover{
    background-color: #ddd;
}

div.modal-buttons button.modal-confirm{
    border: 1px solid #B1B2B1;
    background-color: #710C49;
    color: white;
    float: right;
}

div.modal-buttons button.modal-confirm:hover{
    background-color: #871B59;
}

div.openning_time{
    color: #888 !important;
    padding-left: 17px;
    padding-top: 5px;
}

div.openning_time.osobni_odber{
    position: absolute;
    top: 12px;
    left: 260px;
    padding: 0px;
}


div.openning_time.osobni_odber a.show_info,div.openning_time.osobni_odber a.show_map{
    position: absolute;
    bottom: -25px;
    left: 0px;
    width: 60px;
    text-align: center;
}

div.openning_time.osobni_odber a.show_map{
    left: 75px ;
    width: 98px;
}










/* prizpusobeni konkretni modal contentu */
div#doprava_osobni_odber div.modal-body div.row{
    background-color: #F1F1F1;
    border: 1px dashed #E2E2E2;
    padding: 10px;
    cursor: pointer;
    margin-bottom: 15px;
    position: relative;
}

div#doprava_osobni_odber div.modal-body div.row label{
    cursor: pointer;
}

div#doprava_osobni_odber div.modal-body div.row:last-child{
    margin-bottom: 0px !important; 
}

div#doprava_osobni_odber div.modal-body div.row:hover,div#doprava_osobni_odber div.modal-body div.row.selected{
    background-color: #E7E7E7;
    border-style: solid;
    border-color: #BBBBBB;
}

div#doprava_osobni_odber div.modal-body div.row div.price{
    color:#797A7A;
    position: absolute;
    right: 15px;
    top: calc(50% - 7px);
}

div#doprava_osobni_odber div.modal-body div.row div.odber_info{
    padding-top: 10px;
}

div#doprava_heureka div.modal-body,div#doprava_heureka div.modal-buttons{
    background-color: #F4F3F4;
}

div#doprava_heureka div.search{
    width: 100%;
    border-bottom: 1px dashed #E2E2E2;
}

div#doprava_heureka input.search_heureka{
    width: calc(100% - 22px);
    border: 1px solid #ddd;
    font-size: 18px;
    padding: 5px 10px;
}

div#doprava_heureka div.search-content{
    background-color: white;
    margin-top: 15px;
}

div#doprava_heureka div.modal-body div.row{
    border: 1px dashed #E2E2E2;
    border-bottom-color: transparent;
    padding: 10px;
    cursor: pointer;
    position: relative;
}

div#doprava_heureka div.modal-body div.row label{
    cursor: pointer !important;
}

div#doprava_heureka div.modal-body div.row:hover,div#doprava_heureka div.modal-body div.row.selected{
    background-color: #E7E7E7;
    border-style: solid;
    color: #7b0852;

    border-collapse: transparent !important;
    outline: 1px solid #ddd;
}

/* prizpusobeni vyberu dopravy */
div.doprava-platba-new div.frmbox label{
    width: 90%;
    display: inline-block !important;
    cursor: pointer;
    position: relative;
}

div.doprava-platba-new div.frmbox label > strong{
    margin: 0px !important;
}

div.doprava-platba-new div.frmbox label .price{
    position: absolute;
    right: 0px;
    top: 0px;
}

div.doprava-platba-new div.frmbox input[type="radio"]{
    width: 4%;
    height: 40px;
}

div.doprava-platba-new div.frmbox input[name="payment"]{
    height: auto !important;
}

div.doprava-platba-new div.doprava_poznamka{
    color: #333;
}

div.doprava-platba-new label.doprava_active{
    color: #7b0852 !important;
}

div.doprava-platba-new div.doprava_poznamka strong{
    margin: 0px !important;
    display: inline-block !important;
}

div.wait-loader{

    border: 1px solid #ddd;
    width: 200px;
    height: 30px;
    font-size: 14px !important;
    text-transform: uppercase;
    background-color: white;
    border-radius: 5px;
    text-align: center;
    position: fixed;
    z-index: 10001;
    color: #333;
    line-height: 30px;
    top: calc(50% - 15px);
    left: calc(50% - 100px);
}

#doprava_heureka .row.selected:after{
    content: "\2713 ";
    font-size: 24px;
    line-height: 15px;
    position: absolute;
    right: 10px;
    top: calc(50% - 7px);
}

a.show_map{ 
    opacity: 0.6;
    position: absolute;
    right: 45px;
    bottom: 15px;
    padding: 2px 5px;
    border-radius: 3px;
    background-color:#9B0070 ;
    color: white;
    text-decoration: none;
}

a.show_info{
    opacity: 0.6;
    position: absolute;
    right: 148px;
    bottom: 15px;
    padding: 2px 5px;
    border-radius: 3px;
    background-color:#00A5DB ; /* Pantone PMS 2995 */
    color: white;
    text-decoration: none;
}

a.show_map:hover, a.show_info:hover{ 
    opacity: 1;
}


@media only screen and (max-width: 1279px) {
    div.modal-content {
        width: 80%;
        left: calc(50% - 40%);
    }
}

@media only screen and (max-width: 767px) {
    div.modal-content {
        width: 100%;
        left: 0;
        max-height: 100%;
        top: calc(50% - 45%);
    }
    
    div.modal-content > div.modal-body{

        max-height: calc(90vh - 166px);
    }

    div.openning_time.osobni_odber{
        position: relative !important;
        display: block;
        top: auto !important;
        left: auto !important;
    }
    
    div.openning_time.osobni_odber a{
        bottom: 0px !important;
        right: 0px;
        left: auto !important;
    }
    
    div.openning_time.osobni_odber a.show_map{
        display: none;
    }
    
    #doprava_heureka a.show_map{ 
        display: none;
    }
    
    #doprava_heureka a{ 
        bottom: 10px !important;
        right: 50px;
        left: auto !important;
    }
}