
html body {
  padding-left: 100px !important;
}

#ts-cms {
  font: 13px/19px 'Open Sans', sans-serif;
}

#ts-cms h1 {
  color: #333;
  font-size: 23px;
  font-weight: 300;
  letter-spacing: 0 !important;
  line-height: 26px;
  margin: 0 0 10px 0;
  overflow: hidden;
  padding: 0 0 2px 0;
  /* margin: 35px 0 20px; */
  text-overflow: ellipsis;
  text-transform: none !important;
  white-space: nowrap;
}

/* this breaks the redactor editor !
#ts-cms h1::first-letter {
  text-transform: uppercase;
}
*/
#ts-cms h2 {
  background: none !important;
  border: none !important;
  color: #333 !important;
  font: 500 18px/34px "Open Sans", sans-serif !important;
  letter-spacing: 0 !important;
  margin: 20px 0 20px !important;
  overflow: hidden !important;
  padding: 0 !important;
  text-overflow: ellipsis !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

#ts-cms h3 {
  color: #333;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0 !important;
  line-height: 34px;
  margin: 20px 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: none !important;
  white-space: nowrap;
}

#ts-cms h4 {
  color: #333;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0 !important;
  line-height: 34px;
  margin: 20px 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: none !important;
  white-space: nowrap;
}

#ts-cms .row div > h1:first-child,
#ts-cms .row div > h2:first-child,
#ts-cms .row div > h3:first-child,
#ts-cms .row div > h4:first-child {
  margin-top: 0;
}

#ts-cms hr {
  background: rgba(0, 0, 0, 0.15) !important;
  border: 0 !important;
  display: block !important;
  height: 1px !important;
  margin: 10px 0 !important;
}

#ts-cms p {
  margin: 10px 0;
}

#ts-cms a {
  position: relative;
  text-decoration: none;
}

#ts-cms a i.fa {
  margin: 0 3px 0 0;
}

#ts-cms .counter {
  background: #cc2020;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  color: #fff;
  display: inline-block;
  float: right;
  font: 13px/17px 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: normal;
  line-height: 11px;
  margin: 0px 20px 0 0;
  padding: 3px 6px;
  transition: margin 0.2s ease-in-out 0s;
  text-rendering: optimizelegibility;
}

#ts-cms .btn,
#ts-cms input[type=submit] {
  background: #000 !important;
  border: none !important;
  border-radius: 20px !important;
  -webkit-border-radius: 20px !important;
  color: #fff !important;
  display: inline-block;
  font: 13px/19px 'Open Sans', sans-serif !important;
  height: 33px !important;
  line-height: 32px !important;
  padding: 0 15px 2px !important;
  text-transform: none !important;
  width: auto !important;
}

#ts-cms .btn:after {
  content: none !important;
}

#ts-cms .btn:hover,
#ts-cms input[type=submit]:hover {
  background: #525252 !important;
}

#ts-cms .btn.red,
#ts-cms input[type=submit].red {
  background: #cc2020 !important;
}

#ts-cms .btn.red:hover,
#ts-cms input[type=submit].red:hover {
  background: #b51c1c !important;
}

#ts-cms .btn.green,
#ts-cms input[type=submit].green {
  background: #73b841 !important;
}

#ts-cms .btn.green:hover,
#ts-cms input[type=submit].green:hover {
  background: #5e9d2f !important;
}

#ts-cms .btn.disabled,
#ts-cms input[type=submit].disabled {
  opacity: 0 !important;
}

#ts-toolbar {
  left: 99px;
  position: fixed;
  top: -1px;
  width: 100%;
  z-index: 99997;
}

#ts-cms #ts-nav {
}

#ts-cms #ts-nav #ts-main {
  background: #000;
  height: 100%;
  left: 0;
  overflow: hidden;
  padding: 13px 0 0;
  position: fixed;
  top: 0;
  width: 100px;
  z-index: 99998;
}

#ts-cms #ts-nav.ts-cms-devmode #ts-main {
  background: #b60606;
}

#ts-cms #ts-nav.ts-cms-stagingmode #ts-main {
  background-color: #033d00;
}

#ts-cms #ts-nav #ts-main ul {
  margin: 0;
  padding: 0;
}

#ts-cms #ts-nav #ts-main ul li {
  display: block;
  float: none;
  margin: 0;
  position: relative;
  border: none !important;
}

#ts-cms #ts-nav #ts-main ul li.active:after {
  background: #f7f7f7;
  content: "";
  height: 15px;
  position: absolute;
  right: -8px;
  top: 25px;
  transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  width: 15px;
}

#ts-cms #ts-nav #ts-main ul li a:not(.btn) {
  border: none !important;
  bottom: auto !important;
  color: #696969 !important;
  display: block !important;
  font-size: 30px !important;
  font-style: italic;
  height: auto !important;
  line-height: 15px !important;
  outline: medium none !important;
  padding: 10px 0 18px 0 !important;
  right: auto !important;
  text-align: center !important;

  text-decoration: none !important;
  transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
}

#ts-cms #ts-nav #ts-main ul li a:not(.btn) i {
  margin: 0;
}

#ts-cms #ts-nav #ts-main ul li a:not(.btn) .counter {
  left: 55px;
  margin: 0;
  position: absolute;
  top: 10px;
}

#ts-cms #ts-nav.ts-cms-devmode #ts-main ul li a:not(.btn) {
  color: #e79393 !important;
}

#ts-cms #ts-nav.ts-cms-stagingmode #ts-main ul li a:not(.btn) {
  color: #90b98c !important;
}

#ts-cms #ts-nav #ts-main ul li a.active,
#ts-cms #ts-nav #ts-main ul li a:hover {
  color: #efefef !important;
}

#ts-cms #ts-nav #ts-sub .ts-pane {
  background: #f7f7f7;
  border-right: 1px solid #e8e8e8;
  height: 100%;
  left: -300px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 30px 30px 0;
  position: fixed;
  top: 0;
  transition: left 0.3s ease-in-out 0s;
  width: 250px;
  z-index: 99996;
}

#ts-cms #ts-nav #ts-sub .ts-pane.open {
  left: 100px;
}

#ts-cms #ts-nav #ts-sub h2 {
  margin-bottom: 10px !important;
  margin-top: 0 !important;
}

#ts-cms #ts-nav #ts-sub ul {
  margin: 0 -30px;
  padding: 10px 0;
}

#ts-cms #ts-nav #ts-sub ul li {
  border: none !important;
  display: block !important;
  float: none !important;
  margin: 0 !important;
  position: relative !important;
}

#ts-cms #ts-nav #ts-sub ul li a:not(.btn) {
  border: none !important;
  bottom: auto !important;
  color: #5e5e5e !important;
  cursor: pointer !important;
  display: block !important;
  font: 300 13px/32px "Open Sans", sans-serif !important;
  height: auto !important;
  line-height: normal !important;
  padding: 7px 0 7px 30px !important;
  right: auto !important;
  text-transform: none !important;
  white-space: normal !important;
}

#ts-cms #ts-nav #ts-sub ul li a:not(.btn) .fa {
  color: #9d9d9d;
  font-size: 15px;
}

#ts-cms #ts-nav #ts-sub ul li.active a:not(.btn),
#ts-cms #ts-nav #ts-sub ul li.selected a:not(.btn) {
  background-color: rgba(0, 0, 0, 0.04);
  color: #000;
}

#ts-cms #ts-nav #ts-sub ul li a:not(.btn):hover {
  background-color: rgba(0, 0, 0, 0.06);
  color: #444;
}

#ts-cms #ts-nav #ts-sub ul li.editable:hover .counter {
  margin-right: 40px;
}

#ts-cms #ts-nav #ts-sub ul li a.btn {
  margin: 30px 0 0 30px !important;
}

#ts-cms #ts-nav #ts-sub ul li a.btn-edit {
  background: none !important;
  color: #9d9d9d !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute !important;
  right: -40px !important;
  text-align: center !important;
  top: 0px !important;
  transition: right 0.2s ease-in-out 0s !important;
  width: 40px !important;
}

#ts-cms #ts-nav #ts-sub ul li a.btn-edit .fa {
  margin: 0 !important;
}

#ts-cms #ts-nav #ts-sub ul li a.btn-edit:hover {
  color: #000 !important;
}

#ts-cms #ts-nav #ts-sub ul li:hover a.btn-edit {
  right: 0 !important;
}

#ts-cms #ts-nav #ts-sub ul li ul {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0 0 15px 0;
}

#ts-cms #ts-nav #ts-sub ul li ul li a:not(.btn) {
  background: #f5f5f5 url(../images/nav-tree-bg.png) no-repeat -46px -10px;
  padding-left: 55px !important;
}

#ts-cms #ts-nav #ts-sub ul li ul li:last-child a:not(.btn) {
  background-image: url(../images/nav-tree-last-bg.png);
}

#ts-cms #ts-nav #copy {
  bottom: 110px;
  color: #999;
  font: 11px/100px 'Open Sans', sans-serif !important;
  height: 100px;
  left: -100px;
  margin: 0;
  opacity: 0.5;
  position: fixed;
  transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  transition: opacity 0.3s linear 0s;
  white-space: nowrap;
  z-index: 99999;
}

#ts-cms #ts-nav.ts-cms-devmode #copy {
  color: #e79393 !important;
}

#ts-cms #ts-nav.ts-cms-stagingmode #copy {
  color: #70ac6a !important;
}

#ts-cms #ts-nav #copy:hover {
  opacity: 0.9;
}

#ts-cms #ts-nav #copy a {
  color: #fff;
  font-weight: bold;
}

#ts-cms #ts-nav #copy .logo {
  background: url(../images/icon_sprite.png) no-repeat 10px 40px;
  display: inline-block;
  padding: 0;
  text-indent: -99999px;
  width: 60px;
}

#ts-cms #ts-dump {
  background: #ffca00;
  bottom: 0;
  font: 12px/16px "Courier New", Courier, mono !important;
  height: 100%;
  position: fixed;
  right: -351px;
  transition: right 0.3s ease-in-out 0s;
  width: 350px;
  z-index: 999999999;
}

#ts-cms #ts-dump.open {
  right: 0;
}

#ts-cms #ts-dump .btn-open {
  background: #ffca00;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  bottom: 0;
  color: #000;
  display: block;
  height: 25px;
  left: -26px;
  line-height: 23px;
  position: absolute;
  text-align: center;
  width: 25px;
}

#ts-cms #ts-dump .btn-open i {
  margin: 0;
}

#ts-cms #ts-dump .inner {
  height: 100%;
  overflow: auto;
}

#ts-cms #ts-dump .inner h4 {
  font-size: 13px;
  line-height: 15px;
  margin: 15px 0;
  padding: 0 0 0 25px;
}

#ts-cms #ts-dump .inner ul {
  margin: 0;
  padding: 0;
}

#ts-cms #ts-dump .inner ul li {
  border-bottom: none;
  border-right: none;
  border-top: 1px solid rgba(255, 255, 255, .7);
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

#ts-cms #ts-dump .inner ul li a {
  color: #000;
  display: block;
  padding: 5px 0 5px 25px;
  white-space: nowrap;
}

#ts-cms #ts-dump .inner ul li a:hover {
  background: rgba(0, 0, 0, .03);
}

#ts-cms #ts-dump .inner ul li .btn-plus i,
#ts-cms #ts-dump .inner ul li .btn-copy i {
  color: rgba(0, 0, 0, .3);
  display: block;
  height: 25px;
  left: 2px;
  line-height: 25px;
  position: absolute;
  text-align: center;
  top: 0;
  width: 25px;
}

#ts-cms #ts-dump .inner ul li .btn-copy i {
  left: auto;
  right: -30px;
  transition: right 0.25s ease-in-out 0s;
}

#ts-cms #ts-dump .inner ul li .btn-copy:hover i {
  right: 0;
}

#ts-cms #ts-dump .inner ul li ul {
  display: none;
  padding-left: 10px;
}

#ts-cms #ts-dump .inner ul li.open > ul {
  display: block;
}

#ts-cms #ts-dump .inner ul li ul li {
  background: rgba(255, 255, 255, .25);
}

@media print, all and (max-height: 1020px) {

  #ts-cms #ts-nav #copy {
    bottom: -4px;
    left: 21px;
  }

  #ts-cms #ts-nav #copy .hiden {
    display: none;
  }

}

@media print, all and (max-height: 760px) {

  #ts-cms #ts-nav #copy {
    display: none;
  }

}

body::after {
  background: #dff0d8;

  border-radius: 7px;
  -webkit-border-radius: 7px;
  bottom: 15px;
  box-shadow: 0 0 20px 10px rgba(255, 255, 255, 1);
  -webkit-box-shadow: 0 0 20px 10px rgba(255, 255, 255, 1);
  color: #3c763d;
  content: "";
  display: inline-block;
  font-family: FontAwesome;
  font-size: inherit;
  font-size: 30px;
  font-size-adjust: none;
  font-stretch: normal;
  font-style: normal;

  font-variant: normal;
  font-weight: normal;
  height: 60px;
  line-height: 60px;
  position: fixed;
  right: 10px;
  text-align: center;
  transform: translateY(100px);
  -moz-transform: translateY(100px);
  -ms-transform: translateY(100px);
  -o-transform: translateY(100px);
  -webkit-transform: translateY(100px);
  transition: all 250ms ease-out;

  -moz-transition: all 250ms ease-out;
  -ms-transition: all 250ms ease-out;
  -o-transition: all 250ms ease-out;
  -webkit-transition: all 250ms ease-out;
  width: 60px;

  z-index: 999999999;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: normal;
  font-kerning: auto;
  font-language-override: normal;

  font-synthesis: weight style;
  text-rendering: auto;

}

body.saved::after {
  transform: translateY(0px);
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -o-transform: translateY(0px);
  -webkit-transform: translateY(0px);
}
