/* Space out content a bit */
body {
  /*padding-top: 20px;*/
  /*padding-bottom: 20px;*/
}

/* Everything but the jumbotron gets side spacing for mobile first views */
.header,
.marketing,
.footer {
  padding-left: 15px;
  padding-right: 15px;
}

/* Custom page header */
.header {
  border-bottom: 1px solid #e5e5e5;
}
/* Make the masthead heading the same height as the navigation */
.header h3 {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 40px;
  padding-bottom: 19px;
}

/* Custom page footer */
.footer {
  padding-top: 19px;
  color: #777;
  border-top: 1px solid #e5e5e5;
}

/* phtobook css */

/*.photobook-editor-wrap {
  position: absolute;
  top: 0;
  bottom: 0;
}*/

.editor-wrapper {
  /*background: #666;*/
  padding: 15px;
  display: table;
  width: 100%;
  overflow: visible;
}
.editor-wrapper >div {
  display: inline-block;
  background: black;
  webkit-box-shadow: 0px 0px 8px 0px rgba(50, 50, 50, 0.48);
  moz-box-shadow:    0px 0px 8px 0px rgba(50, 50, 50, 0.48);
  box-shadow:         0px 0px 8px 0px rgba(50, 50, 50, 0.48);
}
.editor-div {
  display: inline-block;
  float: left;
  position: relative;
  margin-bottom: -4px;
  overflow: visible;
}

.num-div {
  position: absolute;
  left:0;
  bottom:-35px;
  z-index: -1;
}
.num-div.text-right {
  right: 0;
}

.calendar_panel_cell {
  position: relative;
  display: inline-block;
  vertical-align: top;
  padding: 0 10px;
}

.photobook-wrap .advanced-editor-workspace {
  bottom: 40px;
}

.photobook-panel {
  position: absolute;
  bottom: -5px;
  left: -20px;
  right: -5px;
  /*height: 180px;*/
  background: #eee;
  border: solid 1px #ddd;
  overflow-y: hidden;
}

.photobook_panel_table {
  display: table;
}
.photobook_panel_cell {
  position: relative;
  display: table-cell;
  vertical-align: top;
  padding: 0 10px;
  height:95px;
  z-index:1;
}

.photobook-pages-wrap {
  float: left;
}
.photobook_panel_layout_cell .photobook-pages-wrap { 
  width: auto;
}
.photobook-panel .tabbable {
  width: 100%;
  padding: 0px;
  overflow-y: hidden;
  min-height: .01%;
  overflow-x: auto;
  -ms-overflow-style: -ms-autohiding-scrollbar;
  background: #fff;
  border-top: none;
}

.editor-wrapper .advanced-editor-workspace {
  position: relative;
  margin-bottom: 0;
}


.editor-wrapper .page-selected-left .advanced-editor-workspace:before, .editor-wrapper .page-selected-right .advanced-editor-workspace:before {
  pointer-events: none;
  content: '';
  width: 80px;
  height: 80px;
  position: absolute;
  left: -10px;
  bottom: -6px;
  z-index: 0;
  box-shadow: -4px 4px 0 0 #D35541;

}

.editor-wrapper .page-selected-right .advanced-editor-workspace:before {
  right: -10px;
  left: auto;
  box-shadow: 4px 4px 0 0 #D35541;
}

.red_area_text_left { position: absolute; left: 20%; margin-top: -20px; color: rgb(102, 102, 102); font-style: italic; }
.red_area_text_right { position: absolute; right: 20%; margin-top: -20px; color: rgb(102, 102, 102); font-style: italic; }
.red_area_text_center { position: absolute; margin-top: -20px; color: rgb(102, 102, 102); font-style: italic; }

.photobook-page {
  min-height: 74px;
  cursor: pointer;
  border:solid 1px #ddd;
  padding: 0px;
  position: relative;
  text-align: center;
  color: #888;
}
.selected-layout {
  border-style: solid;
}

.photobook-page.selected, .page-selected {
  color: #D35541;
}
.photobook-page.selected:before, .photobook-page.selected:after {
  content: '';
  width: 30px;
  height: 30px;
  position: absolute;
  left: -2px;
  top: -2px;
  z-index: 0;
  box-shadow: -2px -2px 0 0 #D35541;
}
.photobook-page.selected:after {
  left: auto;
  top: auto;
  right: -2px;
  bottom: -2px;
  z-index: 0;
  box-shadow: 2px 2px 0 0 #D35541;
}

.photobook-page .left-page, .photobook-page .right-page {
  /*width: 50%;  */
  float: left;
  /*margin-bottom: 10px;*/
}
.photobook-page .left-page .img-wrap, .photobook-page .right-page .img-wrap {
  height:69px;
  background: #FFFFFF;
  margin-bottom: 3px;
  /*border-right: solid 1px #eee;*/
  display: block;
}
.photobook-page .left-page .img-wrap.blank, .photobook-page .right-page .img-wrap.blank {
  background: #000;
  box-shadow: inset 0 0 0 2px #ccc;
}
.photobook-page.single-page {
  width: 100px;
}
.photobook-page.single-page .left-page, .photobook-page.single-page .right-page {
  width: 100%;
}
.photobook-page.single-page .left-page .img-wrap, .photobook-page.single-page .right-page .img-wrap, .photobook-page .right-page .img-wrap { 
  border:none;
}

.photobook-page.single {
  width: 100px;
} 
.other-panel-menu {
  float: right;
  margin-top: 5px;
  margin-right: 5px;
  margin: 0px;
}
.photobook-panel .nav.nav-tabs li a {
  border-radius: 0;
  border-top: transparent;
  padding: 5px 10px;
}
.photobook-panel .nav.nav-tabs li:first-child a {
  border-left: none;
  margin:0px;
  padding: 5px 10px;
}
.other-panel-menu a {
  padding: 5px 10px;
  border-left: solid 1px #ddd;
  color: #666;
  float: left;
}
.other-panel-menu a:hover {
  text-decoration: none;
  background: #fff;
}


.photobook-wrap-admin .photobook-panel {
  left: 1%;
  right: 1%;
  width: 98%;
  position: relative;

}

.thumbnail-page-no {
  display: inline-block;
  padding: 3px;
  font-size: 11px;
}

.pb-delete-button {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  line-height:0.8;
}

/* Customize container */
@media (min-width: 768px) {
  .container {
    max-width: 730px;
  }
}
.container-narrow > hr {
  margin: 30px 0;
}

/* Main marketing message and sign up button */
.jumbotron {
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
}
.jumbotron .btn {
  font-size: 21px;
  padding: 14px 24px;
}

/* Supporting marketing content */
.marketing {
  margin: 40px 0;
}
.marketing p + h4 {
  margin-top: 28px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  /* Remove the padding we set earlier */
  .header,
  .marketing,
  .footer {
    padding-left: 0;
    padding-right: 0;
  }
  /* Space out the masthead */
  .header {
    margin-bottom: 30px;
  }
  /* Remove the bottom border on the jumbotron for visual effect */
  .jumbotron {
    border-bottom: 0;
  }
}


.page-navigation {
  /*padding: 10px;*/
  padding: 3px 10px;
  font-size:12px;
}

.page-navigation .btn {
  line-height:1; padding: 3px 12px 3px 12px;
}

.ui-draggable {
  z-index: 999;
}