.browsehappy {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}
/* 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;
}
.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) {
  .container {
    max-width: 730px;
  }
  /* 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;
  }
}
/*
   Custom additions for App
*/
/* Page footer */
.footer {
  background-color: #e7e7e7;
}
/*
    For sidemenu
*/
#editor_content {
  background-color: #FFF;
  height: 100%;
  padding-left: 230px;
}
#editor_content.no-sidebar {
  padding-left: 0;
}
#editor_content .template-page-holder {
  height: 100%;
  padding: 4px;
  background-color: #ccc;
  position: relative;
}
.row h3 {
  margin-top: 0px;
  color: #428bca;
}
.row h5 {
  color: #909497;
}
#custom_template {
  max-width: none;
  width: 100%;
  height: 100%;
  display: block;
  margin: auto;
  border: none;
}
#maincont {
  margin-top: 31px;
  /*42px*/
}
#sidebar {
  float: left;
  width: 230px;
  height: 100%;
}
#editor-layout,
#editor-layout .navbar-fixed-top {
  max-width: 1280px;
}
.accordion-heading {
  padding: 4px 8px;
}
.accordion-heading .visibility-icon {
  float: right;
  padding-top: 3px;
}
.accordion-heading a {
  cursor: pointer;
}
.heading-hovered {
  color: #2a6496;
  text-decoration: underline;
}
.accordion-body {
  /*background-color: #EEEEEE;*/
  /*border-top-width: 1px;*/
  /*    border-bottom-style: inset;
      border-top-style: inset;*/
  /*border-bottom-width: 1px;*/
  /*border-bottom-color: #d1d1d1;*/
  /*padding: 10px;*/
}
.accordion-body label,
.accordion-body .thumbnail {
  font-size: 12px;
  cursor: pointer;
}
/*
    Editor sections
*/
.accordion-body-element {
  display: block;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  line-height: 1.428571429;
  background-color: #fefefe;
  border: 1px solid #dddddd;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}
.no-sidebar {
  margin-left: 0 !important;
}
.scrollDiv {
  overflow-y: auto;
  display: inline-block;
  float: none;
  /* Very important */
}
.no-padding {
  padding: 0px;
}
.row-no-padding [class*="col-"] {
  padding: 0px;
}
.editor-view-port {
  height: 100%;
}
/*
    Gallery for editor
*/
#galleryModal .arrow,
#templateImagesModal .arrow {
  cursor: pointer;
  display: block;
  height: 64px;
  margin-top: -35px;
  outline: medium none;
  position: absolute;
  top: 50%;
  width: 64px;
  z-index: 5;
}
#galleryModal .arrow.prev,
#templateImagesModal .arrow.prev {
  /*background-image: url("../images/prev.png");*/
  left: 20px;
  opacity: 0.6;
  transition: all 0.2s linear 0s;
}
#galleryModal .arrow.next,
#templateImagesModal .arrow.next {
  /*background-image: url("../images/next.png");*/
  opacity: 0.6;
  right: 10px;
  transition: all 0.2s linear 0s;
}
#galleryModal .arrow.prev:hover,
#templateImagesModal .arrow.prev:hover {
  opacity: 1;
}
#galleryModal .arrow.next:hover,
#templateImagesModal .arrow.next:hover {
  opacity: 1;
}
#galleryModal .nav,
#templateImagesModal .nav {
  bottom: -4px;
  display: block;
  height: 48px;
  left: 0;
  margin: 0 auto;
  padding: 1em 0 0.8em;
  position: absolute;
  right: 0;
  text-align: center;
  width: 100%;
  z-index: 5;
}
#galleryModal .nav li,
#templateImagesModal .nav li {
  border: 5px solid #AAAAAA;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
  height: 36px;
  margin: 0 8px;
  position: relative;
  width: 50px;
}
#galleryModal .nav li.active,
#templateImagesModal .nav li.active {
  border: 5px solid #FFFFFF;
}
#galleryModal .nav li img,
#templateImagesModal .nav li img {
  width: 100%;
}
#galleryModal .slider,
#templateImagesModal .slider {
  margin: auto;
  position: relative;
  -webkit-perspective: 1000px;
  -moz-perspective: 1000px;
  -ms-perspective: 1000px;
  -o-perspective: 1000px;
  perspective: 1000px;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
#galleryModal .slide,
#templateImagesModal .slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
}
#galleryModal .slide.ng-hide-add,
#templateImagesModal .slide.ng-hide-add {
  display: block !important;
  opacity: 1;
  -webkit-transition: 1s linear all;
  -moz-transition: 1s linear all;
  -o-transition: 1s linear all;
  transition: 1s linear all;
}
#galleryModal .slide.ng-hide-add-active,
#templateImagesModal .slide.ng-hide-add-active {
  -webkit-transform: rotateX(50deg) rotateY(30deg);
  -moz-transform: rotateX(50deg) rotateY(30deg);
  -ms-transform: rotateX(50deg) rotateY(30deg);
  -o-transform: rotateX(50deg) rotateY(30deg);
  transform: rotateX(50deg) rotateY(30deg);
  -webkit-transform-origin: right top 0;
  -moz-transform-origin: right top 0;
  -ms-transform-origin: right top 0;
  -o-transform-origin: right top 0;
  transform-origin: right top 0;
}
#galleryModal .slide.ng-hide-add.ng-hide-add-active,
#templateImagesModal .slide.ng-hide-add.ng-hide-add-active {
  opacity: 0;
}
#galleryModal .slide.ng-hide-remove,
#templateImagesModal .slide.ng-hide-remove {
  -webkit-transition: 1s linear all;
  -moz-transition: 1s linear all;
  -o-transition: 1s linear all;
  transition: 1s linear all;
  display: block!important;
  opacity: 0;
}
#galleryModal .slide,
#templateImagesModal .slide,
#galleryModal .slide.ng-hide-remove.ng-hide-remove-active,
#templateImagesModal .slide.ng-hide-remove.ng-hide-remove-active {
  opacity: 1;
}
#galleryModal .modal-dialog,
#templateImagesModal .modal-dialog {
  width: 60%;
  height: 90%;
}
#galleryModal .modal-content,
#templateImagesModal .modal-content {
  height: 100%;
}
#galleryModal .modal-body,
#templateImagesModal .modal-body {
  height: 60%;
  height: calc(-100%);
}
#galleryModal .modal-body .row,
#templateImagesModal .modal-body .row {
  height: 100%;
}
#galleryModal .modal-body .row .slider,
#templateImagesModal .modal-body .row .slider {
  height: 100%;
}
#galleryModal .modal-body .thumbnail.active,
#templateImagesModal .modal-body .thumbnail.active,
#galleryModal .modal-body .thumbnail:hover,
#templateImagesModal .modal-body .thumbnail:hover {
  background-color: #428bca;
}
#galleryModal .modal-body .thumbnail,
#templateImagesModal .modal-body .thumbnail {
  margin-bottom: 0px;
}
#galleryModal .modal-body .thumbnail-wrapper,
#templateImagesModal .modal-body .thumbnail-wrapper {
  margin-right: 10px;
  display: inline-block;
}
#galleryModal .modal-footer,
#templateImagesModal .modal-footer {
  /*height: 30%;*/
  height: 200px;
}
#galleryModal .modal-footer .thumbnail.active,
#templateImagesModal .modal-footer .thumbnail.active,
#galleryModal .modal-footer .thumbnail:hover,
#templateImagesModal .modal-footer .thumbnail:hover {
  background-color: #428bca;
}
#galleryModal .modal-footer .thumbnail,
#templateImagesModal .modal-footer .thumbnail {
  margin-bottom: 0px;
}
#galleryModal .modal-footer .thumbnail-wrapper,
#templateImagesModal .modal-footer .thumbnail-wrapper {
  margin-right: 10px;
  display: inline-block;
}
#productImageModal,
#moreImagesModal {
  /*    .deal-product-image-preview-container {
          overflow: hidden;
          margin:auto;
          outline: 2px solid;
          outline-style: dashed;
      }*/
}
#productImageModal .modal-dialog,
#moreImagesModal .modal-dialog {
  width: 60%;
  height: 90%;
}
#productImageModal .modal-content,
#moreImagesModal .modal-content {
  height: 100%;
}
#productImageModal img,
#moreImagesModal img {
  margin: auto;
}
#productImageModal .modal-body,
#moreImagesModal .modal-body {
  height: 80%;
  height: calc(20%);
}
#productImageModal .modal-body .thumbnail.active,
#moreImagesModal .modal-body .thumbnail.active,
#productImageModal .modal-body .thumbnail:hover,
#moreImagesModal .modal-body .thumbnail:hover {
  background-color: #428bca;
}
#productImageModal .modal-body .thumbnail,
#moreImagesModal .modal-body .thumbnail {
  margin-bottom: 0px;
}
#productImageModal .modal-body .thumbnail-wrapper,
#moreImagesModal .modal-body .thumbnail-wrapper {
  margin-right: 10px;
  display: inline-block;
  width: 128px;
  height: 72px;
}
#productImageModal .modal-body .thumbnail-wrapper img,
#moreImagesModal .modal-body .thumbnail-wrapper img {
  max-width: 100%;
  max-height: 100%;
}
#productImageModal .modal-footer,
#moreImagesModal .modal-footer {
  height: 80px;
}
#productImageModal .modal-footer .thumbnail.active,
#moreImagesModal .modal-footer .thumbnail.active,
#productImageModal .modal-footer .thumbnail:hover,
#moreImagesModal .modal-footer .thumbnail:hover {
  background-color: #428bca;
}
#productImageModal .modal-footer .thumbnail,
#moreImagesModal .modal-footer .thumbnail {
  margin-bottom: 0px;
}
#productImageModal .modal-footer .thumbnail-wrapper,
#moreImagesModal .modal-footer .thumbnail-wrapper {
  margin-right: 10px;
  display: inline-block;
}
#productImageModal .jcrop-holder,
#moreImagesModal .jcrop-holder {
  margin: auto;
}
#productImageModal .jcrop-holder input[type="radio"],
#moreImagesModal .jcrop-holder input[type="radio"] {
  display: none !important;
}
#productImageModal .deal-product-crop-steps-image-container img,
#moreImagesModal .deal-product-crop-steps-image-container img,
#productImageModal .deal-product-crop-steps-image-container canvas,
#moreImagesModal .deal-product-crop-steps-image-container canvas {
  outline: 1px solid;
}
.custom-thumbnail {
  cursor: pointer;
  margin: auto;
  overflow: hidden;
  padding: 4px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.custom-thumbnail .custom-thumbnail-inside-wrapper {
  position: relative;
  width: 128px;
  height: 72px;
  box-sizing: content-box;
  overflow: hidden;
}
.custom-thumbnail .more-image-popup-image-overlap {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  color: #428bca;
}
.custom-thumbnail .more-image-popup-image-overlap span {
  position: relative;
  top: 40%;
}
.custom-thumbnail .more-image-popup-image-overlap:hover {
  color: white;
}
.custom-thumbnail .more-image-popup-image-overlap.active {
  color: white;
}
.custom-thumbnail:hover,
.custom-thumbnail.active {
  background-color: #428bca;
}
.vertical-align-container:before {
  display: inline-block;
  content: '';
  font-size: 0px;
  width: 0px;
  height: 100%;
  vertical-align: middle;
}
.vertical-middle {
  display: inline-block;
  vertical-align: middle;
}
/*
    My Account / My Images
*/
#my-images-upload {
  /*    .upload-buttons input[type="file"] {
          width: 6.3em \0/IE9;
          height: 1.5em;
          margin: 5px;
      }

      .upload-buttons input[multiple] {
          width: 6.2em \0/IE9;
      }*/
  /*    .upload-button {
          width: 170px;
          Height: 30px;
          display: inline-block;
          line-height: 30px;
          padding: 0 10px;
          background: #CCC;
          appearance: button;
          -moz-appearance: button;  Firefox
          -webkit-appearance: button;  Safari and Chrome
      }*/
  /*    .progress {
          display: inline-block;
          width: 100px;
          border: 3px groove #CCC;
      }

      .progress div {
          font-size: smaller;
          background: orange;
          width: 0;
      }*/
  /* for IE*/
}
#my-images-upload .sel-file {
  padding: 1px 5px;
  font-size: smaller;
  color: grey;
}
#my-images-upload .response {
  padding-top: 30px;
  padding-bottom: 50px;
}
#my-images-upload .response > ul {
  list-style-type: decimal;
}
#my-images-upload .response li,
#my-images-upload .response .reqh {
  color: blue;
  font-size: smaller;
  padding-bottom: 5px;
}
#my-images-upload .drop-box {
  background: #F8F8F8;
  border: 5px dashed #DDD;
  width: 100%;
  height: 100%;
  text-align: center;
  padding-top: 80px;
}
#my-images-upload .drop-box.dragover {
  border: 5px dashed #9E9999;
}
#my-images-upload .drop-box.dragover-err {
  border: 5px dashed red;
}
#my-images-upload .js-fileapi-wrapper {
  display: inline-block;
  vertical-align: middle;
}
#my-images-upload button {
  padding: 1px 5px;
  font-size: smaller;
  margin: 0 3px;
}
#my-images-upload .ng-v {
  float: right;
}
#my-images-upload .sel-file img {
  float: left;
  width: 18px;
  height: 18px;
  padding-right: 10px;
}
#my-images-upload .sub {
  font-size: smaller;
  color: #777;
  padding-top: 5px;
  padding-left: 10px;
}
#my-images-upload .err {
  font-size: 12px;
  color: #C53F00;
  margin: 15px;
  padding: 15px;
  background-color: #F0F0F0;
  border: 1px solid black;
}
#my-images-upload .howto {
  margin-left: 10px;
}
/*
    Masonry
*/
.masonry-container .masonry-brick {
  margin-bottom: 10px;
}
/*
    My Images - Gallery
*/
#my-images .template-hover {
  background: none repeat scroll 0 0 rgba(51, 157, 217, 0.4);
  margin-top: -240px;
}
/*
    Integrations
*/
#integrations .template-hover {
  width: 261px;
  height: 117px;
  background: none repeat scroll 0 0 rgba(51, 157, 217, 0.4);
  margin-top: -138px;
  padding-top: 40px;
}
/*
    Upload images page
*/
#my-images-upload .btn-file {
  position: relative;
  overflow: hidden;
}
#my-images-upload .btn-file input[type=file] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  font-size: 100px;
  text-align: right;
  filter: alpha(opacity=0);
  opacity: 0;
  outline: none;
  background: white;
  cursor: inherit;
  display: block;
}
#my-images-upload .progress {
  margin-top: 8px;
}
/*
        Edit Page - Side Bar Menu
*/
.page-edition-menu .activemenu {
  background-color: #428bca;
  color: white;
}
.page-edition-menu .activemenu a,
.page-edition-menu .activemenu a:hover {
  color: inherit;
  text-decoration: none;
}
/*
    For Map
*/
.angular-google-map-container {
  height: 300px;
}
