
.center{text-align: center;}
.btn.btn-primary.save{font-size: 20px;margin: 50px;}
.btn.price{line-height: 1;margin: 10px;}
.wrap.pd30{padding:30px}
.images_block .pitem:first-child img{width: 100%;}
.box-title{box-sizing:border-box; width:100%;font-size: 18px; color:#fff;font-weight: 600;background: #00a1dd;padding: 5.5px 20px;text-transform: uppercase;}
.box{width: 62%; margin: 10px 20px; float:left; color: #fff}
.form-error{color: red;}
p.error{color: red; background-color: transparent; margin: 0;}
.wrap{ padding: 5px;box-sizing: border-box;  background: #171717; }
.wrap p.about{overflow-wrap: break-word;}
.wrap .detail_escort{float: left; width: 50%; box-sizing: border-box;padding: 10px;}
.wrap .detail_escort h2{margin: 0;}
.wrap .detail_escort span{line-height: 1.5;}
.wrap .detail_escort span.name{font-size: 25px;}
.wrap .detail_escort span i{text-transform: uppercase;}
.wrap .detail_escort span.address{font-size: 20px;}
.wrap .detail_escort span.phone a{font-size: 30px;text-decoration:none; color: #F8BE0B;font-weight:bold;}
.wrap .detail_escort span.discount{color: #00a1dd;}
.wrap .price_wrap{float: left; width: 50%;}

.wrap #message{margin: 0 0 5px;}

.detail-price {border-spacing:0; width:100%; box-sizing: border-box; padding: 10px;}
.detail-price tbody tr:first-child{background-color: #00a1dd;}
.detail-price tbody tr:nth-child(even){background-color: #000;}
.detail-price th {color: #fff;padding: 5px;font-size: 15px;}
.detail-price td{color: #fff;padding: 10px;font-style: italic;font-size: 12px;}
.detail-price td:nth-child(2),
.detail-price td:nth-child(3){text-align: center;}


.wrap .block{padding: 20px;}

.detail .service{width: 50%;float: left;margin: 8px 0;}
.detail .service .name{width: 50%; display: inline-block;}
.detail .service .value{width: 45%; display: inline-block; font-weight: bold;}
.comments textarea {width: 80%;height: 100px;padding:10px;}
.comments .comment_text{margin:10px 0 25px;padding:7px 20px;background-color: lightgrey;border-radius:10px; color: #171717}

/**Update START***/

.update_wrap{margin: 20px;}
.update_wrap .box-form{float:left; width:50%; padding: 15px;box-sizing:border-box;}
.update_wrap .update_block{ padding:15px 30px;box-sizing:border-box;background-color:#171717;}
.update_wrap .update_block .item {margin-bottom: 20px;}
.update_wrap .update_block .item .desin{margin: 0; color: gray; font-size: 12px;}
.update_wrap .update_block .item label{color: #fff; font-weight:bold;}
.update_wrap .update_block .item input{width: 40%}
.update_wrap .update_block .item input,.price_next,
.update_wrap .update_block .item select{background-color:#fff;border-radius:3px; height:25px;border:1px solid #cacaca;outline:none;padding-left:5px;font-size: 14px;color: #505050;}
.update_wrap .update_block .category{margin: 20px 0 0 0; color: #f8be0b}


.heading{text-align: center}
.delete-row-service{background-color: red;}
.add-row-service{background-color: green;}
.delete-row-service, .add-row-service{ padding: 10px 20px;color: #fff; border-radius: 5px; font-weight: bold; text-decoration: none;}
.services_item{padding: 15px; border-bottom: 1px solid #696969;}
.services_item:last-child{border: none;}
.services_item .service{margin: 0;display: inline-block;width: calc(80% - 55px)}
.services_item .surcharge{width: 20%;display: inline-block; vertical-align: bottom; float: right; text-align: center;margin-top: -5px}
.services_item .surcharge input.surchangei{text-align: center; width: 80%;}
.services_item .surcharge input.surchangei[placeholder]{font-size: 10px;}
.services_item .service-check{width: 50px;display: inline-block; vertical-align: bottom; float: right;margin-top: -5px}
.services_item .service-check input[type=checkbox]{width: 100%;}


.images_block{float: left;width: 33%;display: inline-block;}
.upload-image-item{width: 100px;height: auto;position: relative;display: block;margin: 10px auto 20px;}
/*.upload-image-item .top{ width: 0; height: 0;border-left: 50px solid transparent;border-right: 50px solid transparent;border-bottom: 20px solid #fff; margin: 10px auto;}*/
.upload-image-item:last-child .bottom{opacity: 0;}
.upload-image-item .bottom{ width: 0; height: 0;border-left: 50px solid transparent;border-right: 50px solid transparent;border-top: 20px solid #fff; margin: 5px auto;}
.upload-image-item i.remove{background-image: url("/static/img/delete.png");background-size: 20px 20px;width: 20px;height: 20px;display: inline-block;top: 5px;right: 5px;position: absolute;}
i.remove:hover{cursor: pointer;}
.image-wrap{width: 100px;height: 100px;overflow: hidden; display: inline-block; position: relative}
.image-wrap img{width: 100%;height: auto;}
#id_images_link{overflow: hidden;display: none}

/*****Videos START*******/
.videos{color: #000;background-color: #fff; padding: 10px; box-sizing: border-box;}
.videos h3{font-size: 21px;}
.videos p{font-size: 20px;}
.videos a{position: absolute; top:0; bottom:0;left: 0; right: 0;}
.videos .img_wrap{position: relative;}
.videos .img_wrap:after{content: ".";background: url("/static/img/play.png") no-repeat center center;background-size: 90px;  position: absolute; top: 0; left: 0; right: 0;bottom: 0;}
.videos .img_wrap img{width: 100%; height: auto}

.video_detail_wrap{color: #000;}
.video_detail_wrap .video_detail{float: left; width: 64%; padding: 20px; box-sizing: border-box; color: #fff;}
.video_detail_wrap .video_detail video{width: 100%;}
.video_detail_wrap .video_detail h2{font-size: 20px;}
.video_detail_wrap .video_detail p{font-size: 20px;}
.video_detail_wrap .sidebar{color: #fff; float: left; width: 36%; padding: 20px; box-sizing: border-box;}
.video_detail_wrap .sidebar h2{color: #000;}
.video_detail_wrap .sidebar .escort{width: 100%;}
.video_detail_wrap .sidebar .escort-new{width: 100%;}

/******Videos END********/

/**Update END*****/
@media screen and (max-width: 1000px){
    .container{padding: 0 20px;box-sizing: border-box;}
    .wrap .detail_escort,
    .wrap .price_wrap{float: none;width: 100%;}

    .update_wrap .box-form{width: 100%; float: none;margin: 0 auto;}
    .services_item .service{width: auto;}
    /*.update_wrap .box-form{padding: 15px 0;}*/
}
@media screen and (max-width: 850px){
    .detail .service .name{width: 60%;}
    .detail .service .value{width: 20%;}
    .comments textarea {width: 100%;box-sizing: border-box;}

    .video_detail_wrap .video_detail{float: none; width: 100%;}
    .video_detail_wrap .sidebar{float: none; width: 100%;}
    .video_detail_wrap .sidebar .escort{width: 50%;}

}
@media screen and (max-width: 640px){
    .detail .service{width: 100%;}
    .wrap .block{padding: 5px;}
    .images_block, .box{float: none; width: 91%;}
    .box{padding: 0;}

    .update_wrap{margin:0;}
    .update_wrap .box-form{width: 90%;padding: 0;}
    .update_wrap .box-form .update_block{padding: 0 5px;}
    .delete-row-service{padding: 4px 5px;}
    .services_item .surcharge{width: 15%;}
    .services_item .surcharge input{width: 100%!important;padding-left: 0 !important;}
    .services_item .service{width: 50%;font-size: 14px;}
    .services_item .service select{width: 100%;}
    .container{padding: 0;}

}

@media screen and (max-width: 500px){
    .video_detail_wrap .sidebar .escort{width: 100%;}
}