.porch a {
  transition: none;
}
.porch button {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
}
.porch .material-icons {
  vertical-align: middle;
}
.porch-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1001;
  height: 98%;
  overflow: hidden;
  background: #f7f7f7;
  font-family: "Arial", "Helvetica", sans-serif;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.porch-popup-container {
  height: 100%;
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-direction: column;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
}
.porch-popup-header {
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex: 0 0 40px;
  -webkit-flex: 0 0 40px;
  -ms-flex: 0 0 40px;
  background: #c62690;
}
.porch-popup-caption {
  flex: 1 0;
  -webkit-flex: 1 0;
  -ms-flex: 1 0;
  overflow: hidden;
  position: relative;
}
.porch-popup-close {
  flex: 0 0 40px;
  -webkit-flex: 0 0 40px;
  -ms-flex: 0 0 40px;
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-size: 24px;
  line-height: 40px;
  color: #f7f7f7;
  text-align: center;
  cursor: pointer;
}
.porch-popup-close:hover {
  background: #701652;
}
.porch-popup-content {
  flex: 1 0 80%;
  -webkit-flex: 1 0 80%;
  -ms-flex: 1 0 80%;
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-direction: column;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  overflow: hidden;
}
.porch-popup-nav {
  flex: 1 0 40px;
  -webkit-flex: 1 0 40px;
  -ms-flex: 1 0 40px;
  -webkit-box-shadow: 0 2px 2px #ccc;
  box-shadow: 0 2px 2px #ccc;
  position: relative;
  z-index: 1;
  line-height: 40px;
  font-size: 12px;
}
.porch-popup-nav:before,
.porch-popup-nav:after {
  content: " ";
  display: table;
}
.porch-popup-nav:after {
  clear: both;
}
.porch-popup-nav-path {
  margin-left: 20px;
  float: left;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
}
.porch-popup-nav-controls {
  margin-right: 20px;
  float: right;
  text-align: right;
}
.porch-popup-nav-controls .control-button {
  color: #1a1a1a;
  background: #f7f7f7;
  line-height: 24px;
  font-size: 12px;
  text-align: center;
  display: inline-block;
  width: 190px;
  border: 1px solid #a3a3a3;
}
.porch-popup-nav-controls .control-button:hover {
  color: #f7f7f7;
  background: #c62690;
  border-color: #c62690;
}
.porch-popup-nav-controls .control-button:active {
  color: #f7f7f7;
  background: #701652;
  border-color: #701652;
}
.porch-popup-nav-controls .control-button[disabled] {
  cursor: default;
  color: #d9d9d9;
  border: 1px solid #dddddd;
  background: #f7f7f7;
}
.porch-popup-nav-item {
  text-decoration: underline;
  cursor: pointer;
}
.porch-popup-nav-item:hover {
  color: #999999;
  text-decoration: none;
}
.porch-popup-nav-item.current {
  text-decoration: none;
  cursor: default;
  color: #1a1a1a;
}
.porch-popup-nav-separator {
  color: #999999;
}
.porch-popup-tab-content {
  flex: 1 0 100%;
  -webkit-flex: 1 0 100%;
  -ms-flex: 1 0 100%;
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-direction: column;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  position: relative;
  overflow: hidden;
}
.porch-popup-scroller {
  flex: 1000 0;
  -webkit-flex: 1000 0;
  -ms-flex: 1000 0;
  overflow-x: hidden;
  overflow-y: scroll;
  padding-bottom: 20px;
  height: 100%;
  position: relative;
}
.porch-popup-scroller-message {
  margin-top: 20px;
  font-size: 16px;
  color: #1a1a1a;
  text-align: center;
}
.porch-popup-scroller .scroller-button {
  color: #1a1a1a;
  background: #f7f7f7;
  line-height: 24px;
  font-size: 12px;
  text-align: center;
  display: inline-block;
  width: 190px;
  border: 1px solid #a3a3a3;
}
.porch-popup-scroller .scroller-button:hover {
  color: #f7f7f7;
  background: #c62690;
  border-color: #c62690;
}
.porch-popup-scroller .scroller-button:active {
  color: #f7f7f7;
  background: #701652;
  border-color: #701652;
}
.porch-popup-scroller .scroller-button[disabled] {
  cursor: default;
  color: #d9d9d9;
  border: 1px solid #dddddd;
  background: #f7f7f7;
}
.porch-popup-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(247, 247, 247, 0.7);
  z-index: 10;
}
.porch-popup-loading-content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 100px;
  margin-top: -50px;
  margin-left: -100px;
  border: 1px solid #a3a3a3;
  color: #1a1a1a;
  background: #f7f7f7 url("../images/loading.gif") center 15px no-repeat;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding-top: 50px;
  text-align: center;
  line-height: 50px;
  font-size: 16px;
}
.porch-popup-footer {
  flex: 0 0;
  -webkit-flex: 0 0;
  -ms-flex: 0 0;
}
.porch .sly-tabs {
  width: 100%;
  overflow: hidden;
  padding: 0 40px;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.porch .sly-tabs-button {
  position: absolute;
  top: 0;
  width: 40px;
  line-height: 40px;
  color: #ffffff;
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-size: 24px;
  z-index: 1;
  background: #c62690;
}
.porch .sly-tabs-button.next-tabs {
  right: 0;
}
.porch .sly-tabs-button.prev-tabs {
  left: 0;
}
.porch .sly-tabs-button:disabled {
  opacity: 0;
}
.porch .sly-tabs-list {
  margin: 0;
  padding: 0;
  line-height: 40px;
  min-width: 100%;
  height: 40px;
}
.porch .sly-tabs-list:before,
.porch .sly-tabs-list:after {
  content: " ";
  display: table;
}
.porch .sly-tabs-list:after {
  clear: both;
}
.porch .sly-tabs-list-item {
  float: left;
  list-style: none;
  line-height: 40px;
  color: #ffffff;
}
.porch .sly-tabs-list-item-title {
  display: block;
  text-decoration: none;
  font-size: 14px;
  border: 0;
  line-height: 40px;
  padding: 0 25px;
  background: #c62690;
  color: #ffffff;
  font-weight: normal;
}
.porch .sly-tabs-list-item-title:hover {
  color: #1a1a1a;
  background: #f7f7f7;
}
.porch .sly-tabs-list-item.active .sly-tabs-list-item-title {
  color: #1a1a1a;
  background: #f7f7f7;
}
@media all and (max-width: 991px) {
  .porch .porch-popup-scroller {
    text-align: center;
  }
}
@media all and (max-width: 767px) {
  .porch .porch-popup-nav-controls {
    margin: 0;
    float: right;
    text-align: center;
    width: 100%;
  }
  .porch .porch-popup-nav-controls .control-button {
    color: #1a1a1a;
    background: #f7f7f7;
    line-height: 24px;
    font-size: 12px;
    text-align: center;
    display: inline-block;
    width: 190px;
    border: 1px solid #a3a3a3;
    width: 140px;
    margin-left: 20px;
  }
  .porch .porch-popup-nav-controls .control-button:hover {
    color: #f7f7f7;
    background: #c62690;
    border-color: #c62690;
  }
  .porch .porch-popup-nav-controls .control-button:active {
    color: #f7f7f7;
    background: #701652;
    border-color: #701652;
  }
  .porch .porch-popup-nav-controls .control-button[disabled] {
    cursor: default;
    color: #d9d9d9;
    border: 1px solid #dddddd;
    background: #f7f7f7;
  }
  .porch .porch-popup-nav-controls .control-button:first-child {
    margin-left: 0;
  }
}
.porch-album-tile {
  text-align: center;
  width: 250px;
  box-sizing: border-box;
  font-size: 12px;
  cursor: pointer;
}
.porch-album-tile-cover {
  width: 215px;
  height: 225px;
  display: inline-block;
  margin: 25px auto 5px;
  position: relative;
}
.porch-album-tile-real-cover {
  position: absolute;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  width: 200px;
  height: 200px;
  background-color: #f7f7f7;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: 7px solid #f7f7f7;
}
.porch-album-tile-fake-cover-1 {
  position: absolute;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  width: 200px;
  height: 200px;
  background: #f7f7f7;
  border: 7px solid #f7f7f7;
  transform: rotate(5deg);
}
.porch-album-tile-fake-cover-2 {
  position: absolute;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  width: 200px;
  height: 200px;
  background: #f7f7f7;
  border: 7px solid #f7f7f7;
  transform: rotate(-5deg);
}
.porch-album-tile-name {
  color: #1a1a1a;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  padding: 0 10px;
}
.porch-album-tile-count {
  margin-top: 5px;
  color: #999999;
  padding: 0 10px;
}
.porch-photo-item {
  margin: 10px;
  width: 210px;
  height: 210px;
  overflow: hidden;
  float: left;
  text-align: center;
  display: table;
  cursor: pointer;
}
.porch-photo-item-inner {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.porch-photo-item-inner-item {
  display: inline-block;
  position: relative;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
  outline: 3px solid transparent;
}
.porch-photo-item-inner-item:hover {
  outline: 3px solid rgba(198, 38, 144, 0.7);
}
.porch-photo-item-inner-item.selected {
  outline: 3px solid #c62690;
}
.porch-photo-item-inner-item.selected:hover {
  outline: 3px solid #c62690;
}
.porch-photo-item-inner-item.selected:before {
  content: "\E86C";
  color: #60CA28;
  position: absolute;
  right: 6px;
  top: 5px;
  background: #f7f7f7;
  border-radius: 100%;
  z-index: 5;
  opacity: 1;
  font-size: 24px;
  line-height: 24px;
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}
.porch-photo-item-inner-item.labeled:after {
  text-transform: uppercase;
  color: #ffffff;
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 5;
  opacity: 1;
  font-size: 10px;
  line-height: 150%;
  border: 3px solid #c62690;
  padding: 0 3px;
  background: #c62690;
  border-radius: 5px;
  white-space: nowrap;
  -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}
.porch-photo-item-inner-item.in-pull {
  cursor: default;
}
.porch-photo-item-inner-item.in-pull:after {
  content: "в коллекции";
}
.porch-photo-item-inner-zoom {
  position: absolute;
  background: #c62690;
  border: 2px solid #c62690;
  right: 10px;
  bottom: 10px;
  color: #f7f7f7;
  border-radius: 5px;
  z-index: 5;
  cursor: pointer;
  font-size: 30px !important;
}
.porch-photo-item-inner-zoom:hover {
  background: #701652;
  border-color: #701652;
}
.porch-photo-item-image {
  background: url('../images/image-background.png');
  position: relative;
  display: block;
  max-width: 200px;
  max-height: 200px;
}
.porch-upload-photo {
  width: 200px;
  height: 200px;
  background: #dcdcdc;
  position: relative;
  display: inline-block;
}
.porch-upload-photo-error {
  display: inline-block;
  width: 200px;
  height: 200px;
  background: url("../images/upload-error-item.png") center no-repeat;
}
.porch-upload-photo-illegal {
  display: inline-block;
  width: 200px;
  height: 200px;
  background: url("../images/upload-illegal-item.png") center no-repeat;
}
.porch-upload-photo-progress {
  margin: 45px 0;
  height: 110px;
  box-sizing: border-box;
  position: relative;
}
.porch-upload-photo-progress-bar {
  position: absolute;
  width: 200px;
  height: 0;
  left: 0;
  bottom: 0;
  background: #60CA28;
  box-sizing: border-box;
}
.porch-upload-photo-loading {
  top: 0;
  left: 0;
  position: absolute;
  background: transparent url('../images/upload-progress-item.png') center no-repeat;
  height: 200px;
  width: 200px;
  z-index: 2;
}
@media all and (max-width: 767px) {
  .porch .porch-photo-item-inner-zoom {
    display: none;
  }
}
.porch-home-tile {
  display: inline-block;
  margin: 20px 20px;
  padding: 15px;
  border: 1px solid #a3a3a3;
  width: 200px;
  height: 240px;
  text-decoration: none;
  overflow: hidden;
  background: #ffffff;
}
.porch-home-tile:hover {
  border-color: #c62690;
}
.porch-home-tile-image {
  max-height: 200px;
  max-width: 200px;
}
.porch-home-tile-title {
  display: block;
  font-size: 22px;
  text-decoration: none;
  color: #1a1a1a;
  text-align: center;
  padding-top: 10px;
}
.porch-upload-input {
  display: none;
}
.porch-upload-drop-zone {
  position: absolute;
  border: 4px dashed #a3a3a3;
  top: 20px;
  bottom: 20px;
  left: 20px;
  right: 20px;
  vertical-align: middle;
  cursor: pointer;
  z-index: 1;
}
.porch-upload-drop-zone.active {
  border-color: #c62690;
}
.porch-upload-drop-zone-inner {
  position: absolute;
  top: 50%;
  text-align: center;
  width: 100%;
  margin-top: -35px;
}
.porch-upload-drop-zone-caption {
  display: block;
  font-size: 28px;
  padding: 10px 0px;
  color: #1a1a1a;
}
.porch-upload-drop-zone-text {
  font-size: 16px;
  color: #1a1a1a;
}
.porch-upload-drop-tile {
  margin: 10px;
  width: 210px;
  height: 210px;
  overflow: hidden;
  float: left;
  text-align: center;
  display: table;
}
.porch-upload-drop-tile-text {
  width: 180px;
  margin: 0 auto;
  padding: 70px 10px;
  border: 3px dashed #ccc;
  cursor: pointer;
  line-height: 20px;
  font-size: 16px;
  color: #999999;
}
