
.popup-window {
  border: 2px solid #D8021D;
  border-top: 0px;
  background: #505050;
  position: absolute;
}

@media (max-width: 736px) {
    .popup-window {
        left: 0px !important;
        /*top: auto !important;*/
        width: 100% !important;
    }
}

.popup-window h3 a span{
  display: none;
}

.popup-window h3{
  background: none;
  background: #D8021D url('../siteimg/popup/popup-title-bg.gif') repeat-x;
  font-family: "Trebuchet MS";
  font-size: 13px;
  font-weight: bold;
  height: 26px;
  line-height: 26px;
  margin: 0;
  padding-left: 6px;
}

.popup-window h3 a {
  float: right;
  display: block;
  cursor: pointer;
  background: url('../siteimg/popup/win-close.png') no-repeat center center;
  width: 16px;
  height: 16px;
  margin: 5px;
}

.popup-window h3 a:hover {
  background: url('../siteimg/popup/win-closeHover.png') no-repeat center center;
}

.popup-window h3 a:active {
  background: url('../siteimg/popup/win-closeActive.png') no-repeat center center;
}

.popup-content{
  overflow: auto;
  padding: 10px;
}

.popup-window dt.first {
  margin-top: 10px;
}

.popup-window p {
  margin: 12px 0;
}

.popup-window .card-form div.buttons {
  width: auto;
}

/* Попап загрузки файлов */

#add_photos_box ul {
    list-style: none;
    padding: 0 50px;
}

#add_photos_box ul div {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

#add_photos_box ul li {
    margin-bottom: 8px;
}

#add_photos_box input[type='text'] {
    width: 100%;
}

#add_photos_box button {
    padding: 2px 10px;
}

#select_files_input {
    display: none;
}

#add_photos_box .numberOfFiles {
    padding-left: 10px;
}

#progressbar {
    position: relative;
}

#add_photos_box .progresslabel {
    position: absolute;
    width: 100%;
    text-align: center;
    line-height: 24px;
}

#add_photos_box .uploadInfo {
    display: none;
    margin-bottom: 8px;
    padding: 0 60px;
    text-align: left;
}

#add_photos_box .error {
    color: #ff3d3a;
}

#add_photos_box .success {
    color: #5fdd37;
}

.ui-dialog-titlebar.ui-widget-header.ui-corner-all.ui-helper-clearfix {
    background: #A6A5AA;
    border-color: #A6A5AA;
}

#drag-drop {
    height: 180px;
    border: dashed #8F8E92 5px;
}

#basket-share-data div.halfsize {
    float: left;    
    width: 49%;
}

#basket-share-data .remover {
    margin-left: 5px;
    cursor:pointer;
}

@media(max-width: 7000px) {
    .primary-button {
        width: 200px !important;
        margin-left: 5px;
    }
}
@media(max-width: 700px) {
    .primary-button {
        width: 100% !important;
        margin-left: 0;
    }
}
