/*
 * angular-modal v0.1.0
 * (c) 2013 Brian Ford http://briantford.com
 * License: MIT
 */

.btf-modal {
  position: fixed !important;
  top: 50%;
  left: 50%;
  width: 50%;
  max-width: 550px;
  min-width: 330px;
  height: auto;
  z-index: 2000;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  border-radius: 5px !important;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .16) !important;
}
.idialog-overlay {position:fixed; top:0; right:0; bottom:0; left:0; background:rgba(0,0,0,0.5); z-index:90; display:none;}
.btf-modal+.idialog-overlay {display:block;z-index: 1999;}
a:hover {text-decoration:none;}
#login-form.btf-modal .form {top: 17% !important;}
#login-form.btf-modal {max-width: 500px;max-height:450px;}
#ordering.btf-modal {max-width: 600px; height: auto;}
#ordering .orderin__content {top: 0 !important; position:relative;padding: 30px;}

.btf-modal .close {right: 10px;top: 10px;}

.header__user li a {white-space: nowrap;}
.btn__transparent, .btn__orange {cursor: pointer;}
.emailHint {display:inline-block;width:100%;text-align:right;margin-top:10px;color:red;font-size:12px;}
.comments textarea {resize: none;}
.delivery__block p+p{font-size: 12px;}
.btn__transparent { background-color: transparent;}


.subscriptions__product .col-sm-2 p {font-size: 12px;}
.order__product .col-sm-2 p {font-size: 12px;}
@media (max-width: 600px)
{
    .subscriptions__product .col-sm-7 p {font-size: 12px;}
    .subscriptions__product .col-sm-3 a {color: transparent; padding: 30px 0px; width: 15px; font-size: 0;}

    .order__product .col-sm-9 p {font-size: 12px;}
    .order__product .col-sm-3 a {color: transparent; padding: 30px 0px; width: 15px; font-size: 0;}
}
.order__product .table table td:nth-child(8)
{
    border-right: none !important;
}
.order__product .table table td:nth-child(7)
{
   border-right: 2px solid #f7f8f9 !important;
}
.subscriptions__product .table table td:nth-child(8) {
    border-right: 2px solid #f7f8f9 !important;
}
.subscriptions__product .table table td:nth-child(9) {
    border-right: none !important;
}

@media only screen and (max-width: 767px)
{
    .pinned {overflow-x:hidden; border-bottom: 2px solid #f7f8f9;}

}
.subscriptions__product .table table td a {top:0;}
.order__product .table table td a
{
    padding: 0;
    top:0;
    color: #000;
    border-bottom: 1px solid #000;
}
.order__product .table table td a:hover
{
    color: #ff5e0b;
    border-bottom: 1px solid #ff5e0b;
}

.subscriptions__product .table table td,
.order__product .table table td {padding:10px;}
/*@media only screen and (max-width: 767px)
{
 .subscriptions__product .pinned {width: 15%;}
 .subscriptions__product div.table-wrapper div.scrollable { margin-left: 15%; }
 .order__product .pinned {width: 25%;}
 .order__product div.table-wrapper div.scrollable { margin-left: 25%; }
}*/

.cross
{
    cursor: pointer;
    position: relative;
    bottom: 2px;
}
.cross span
{
    position: relative;
    display: inline-block;
    width: 15px;
    height: 3px;
    transform: rotate(45deg);
    background: #7a797a;
}
.cross span:before
{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 15px;
    height: 3px;
    content: '';
    transform: rotate(90deg);
    background: #7a797a;
}
.subscriptions__product .cross {padding-left:5px;}
.active .cross span,
.active .cross span:before{background: #ff5e0b;}

#ordering.btf-modal.pickup {max-width: 600px;}
#ordering.pickup .orderin__content {
    width: 600px;
    max-width: 600px;
    min-height: 650px;
}
#ordering.pickup .orderin__content .point_header h3 {
    font-size: 25px; padding-bottom: 5px;
}
#ordering.pickup .orderin__content .point_header h3 + p {
    padding-bottom: 10px;
}
.btf-modal.pickup .point_header {
    text-align: center;
}
.btf-modal.pickup .point_content {
    margin-top: 15px;
}
.btf-modal.pickup .point_content .row {
    font-size: 14px; padding-bottom: 15px;
}

.btf-modal.pickup ya-map {
    max-width: 600px; display: block;
}
.btf-modal.pickup .point_content button {
    margin-top: 15px;
}
.btf-modal.pickup .point_content .point_id {
    color: #f84e44;
}

.btf-modal.pickup .loading {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -55px;
    margin-top: -5px;
    /* начальные стили */
    opacity: 0;
    /* плавное появление/исчезновение по кругу */
    animation: fadeInOutPVZ 1s ease-in-out infinite alternate;
    /* optional: чуть лучше для производительности */
    will-change: opacity;
}
@keyframes fadeInOutPVZ {
    from { opacity: 0; }
    to   { opacity: 1; }
}
/*
//
// Dropdown menus
// --------------------------------------------------
 */
.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid\9;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px dashed;border-bottom:4px solid\9}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}