.popup-add .btn-edit,
.popup-add .btn-remove,
.popup-edit .btn-add,
.popup-edit .btn-finish {
    display: none;
}

.popup-edit .btn-remove,
.popup-add-to-route .btn-remove{
    border-color: #cb1818;
    color: #cb1818;
    background: transparent;
}

.popup-add-to-route label {
    line-height: normal;
    padding-bottom: 10px;
}


.mini-popup {
    background: #fff;
    width: 250px;
    border: 1px solid #e6e6e6;
    padding: 0 20px 20px 20px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    position: absolute;
    z-index: 99999;
    right: -70px;
    top: 355px;
    display: none;
}
.mini-popup:after {
    content: '';
    display: block;
    background: url('../images/ico/mini-popup-arrow.png') 50% 50% no-repeat;
    width: 100%;
    height: 16px;
    position: absolute;
    bottom: -16px;
    left: 0;
}
.mini-popup .btn,
.popup-add-to-route .btn {
    width: 100px;
    float: left;
    min-width: 100px;
    font-size: 16px;
}
.mini-popup .btns,
.popup-add-to-route  .btns {
    padding-top: 20px;
}
.mini-popup .btns:after,
.popup-add-to-route .btns:after {
    content: ' ';
    float: none;
    clear: both;
    width: 0;
    height: 0;
    display: block;
}
.mini-popup .btn:last-child,
.popup-add-to-route .btn:last-child {
    margin-left: 8px;
}
.mini-popup .error-message,
.popup-add-to-route .error-message {
    position: absolute;
    top: 66px;
    right: 30px;
    font-size: 14px;
    color: #cb1818;
    display: none;
}
.mini-popup input[name=poi_number],
.popup-add-to-route input[name=poi_number] {
    padding: 0 130px 0 15px;
}
.mini-popup .field.error .error-message,
.popup-add-to-route .field.error .error-message {
    display: block;
}



.btn-remove.inverse {
    border-color: #cb1818;
    color: #cb1818;
    background: transparent;
}
.btn-cancel.btn.inverse {
    border-color: #cb1818;
}
.btn-cancel.btn.inverse.btn-red-inv {
    border-color: #cb1818;
    padding:0 10px;
    color: #cb1818;
}
.popup-edit .btn-cancel.btn.inverse.btn-red-inv {
    border: 1px solid #cde2c2;
    color: #37a51c;
    background: transparent;
}
.route-create-description .add-photo,
.add-photo {
    position: relative;
    overflow: visible;
}
.add-photo input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;
}
.add-photo .uploaded {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
.add-photo.loaded .delete {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    z-index: 10;
    width: 30px; 
    height: 30px;
    background: #37a51c url('../images/btn/close-white.png') no-repeat 50% 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}
.add-photo.loaded .uploaded {
    display: block;
}

.add-to-favorites.added{
    background-color: #cde2c2;
    cursor: default;
}

.route-point-list .route-point .illustration .slide .cover {
    background-position: 50% 50%;
    background-size: cover;
}
.route-point-list .route-point .illustration {
    background: #dcdcdc url('../images/bg/no-photo-poi.png') no-repeat 50% 50%;
    cursor: pointer;
}

.jcarousel-wrapper .arrow {
    display: none;
}
.route-point .jcarousel-wrapper .arrow {
    display: block;
}
.route-point .jcarousel-wrapper .arrow.inactive {
    display: none;
}
.modal_point .arrow i {
    top: 50%;
    margin-top: -10px;
}
.modal_point .photo {
    float: none;
    display: inline-block;
    margin-left: -4px;
}
.map~.preloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(255,255,255,0.3);
}
.map~.preloader:after {
    background: #fff url('../images/preloader.gif') 50% 50% no-repeat;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: block;
    content: '';
    position: absolute;
    right: 10px;
    top: 10px;
}
