body{
    font-weight:300;
    -webkit-font-smoothing:antialiased;
    /*height: 100vh;*/
    background: #e8c38c;
    background-image: url(/images/clean-gray-paper.png);
    /*background-blend-mode: overlay;*/
    font-family: 'El Messiri', 'Myriad Pro', Calibri, Helvetica, Arial, sans-serif;
    margin: 0;
    font-size: medium;
}

header.masthead {
  text-align: center;
  color: #fff;
  background-image: url(http://dnd.wizards.com/sites/default/files/media/styles/news_banner/public/images/news/Article_SwordCoastAdventurerersGuide_Thumb.jpg?itok=hUYQlJiw);
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

header.masthead .intro-text {
  padding-top: 150px;
  padding-bottom: 100px;
}

header.masthead .intro-text .intro-lead-in {
  font-size: 22px;
  font-style: italic;
  line-height: 22px;
  margin-bottom: 25px;
  /*font-family: 'Droid Serif','Helvetica Neue',Helvetica,Arial,sans-serif;*/
}

header.masthead .intro-text .intro-heading {
  font-size: 50px;
  font-weight: 700;
  line-height: 50px;
  margin-bottom: 25px;
  /*font-family: Montserrat,'Helvetica Neue',Helvetica,Arial,sans-serif;*/
  text-transform: uppercase;
}

.btn-xl {
  font-size: 18px;
  font-weight: 700;
  padding: 20px 40px;
  border-radius: 3px;
  color: #fff;
  border-color: #a94442;
  background-color: #922610;
  font-family: Montserrat,'Helvetica Neue',Helvetica,Arial,sans-serif;
  text-transform: uppercase;
}

.btn.btn-xl.focus, .btn.btn-xl:focus, .btn.btn-xl:hover {
  color: #ffe393;
  text-decoration: none;
}

.container {
  width: 100%;
}

.text-muted {
  color: #7a200d;
}

/* Carousel Styles */
.carousel-indicators .active {
    background-color: #2980b9;
}

.carousel-inner img {
    width: calc(100%);
    max-height: 460px
}

.carousel-control {
    width: 0;
}

.carousel-control.left,
.carousel-control.right {
	opacity: 1;
	filter: alpha(opacity=100);
	background-image: none;
	background-repeat: no-repeat;
	text-shadow: none;
}

.carousel-control.left span {
	padding: 15px;
}

.carousel-control.right span {
	padding: 15px;
}

.carousel-control .glyphicon-chevron-left, 
.carousel-control .glyphicon-chevron-right, 
.carousel-control .icon-prev, 
.carousel-control .icon-next {
	position: absolute;
	top: 45%;
	z-index: 5;
	display: inline-block;
}

.carousel-control .glyphicon-chevron-left,
.carousel-control .icon-prev {
	left: 0;
}

.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-next {
	right: 0;
}

.carousel-control.left span,
.carousel-control.right span {
  background-color: #e69a28;
  width: initial;
  height: initial;
}

.carousel-control.left span:hover,
.carousel-control.right span:hover {
	opacity: .7;
	filter: alpha(opacity=70);
}

/* Carousel Header Styles */
.carousel-inner .header-text {
  position: absolute;
  top: 20%;
  left: 1.8%;
  right: auto;
  width: 96.66666666666666%;
  color: #fff;
}

.carousel-inner .header-text h2 {
  font-size: 40px;
}

.carousel-inner .header-text h2 span {
  background-color: rgba(41, 128, 185, 0.41);
  padding: 10px 50px;
  border-radius: 50px;
  box-shadow: 0px 0px 50px #337ab7, 0 0 50px #183f61 inset;
}

.carousel-inner .header-text h3 span {
  background-color: rgba(0, 0, 0, 0.64);
  padding: 15px;
  box-shadow: 0 0 50px 5px #000;
  border-radius: 50px;
}

.carousel-inner .item {
  height: 600px;
}

.btn-min-block {
  min-width: 170px;
  line-height: 26px;
}

.panel-index img {
  width: 100%;
}

.panel-index .header-text {
  position: absolute;
  top: 20%;
  left: 1.8%;
  right: auto;
  width: 96.66666666666666%;
}

.panel-index .header-text h2 span {
  background-color: rgba(41, 128, 185, 0.41);
  color: #fff;
  padding: 10px 50px;
  border-radius: 50px;
  box-shadow: 0px 0px 50px #337ab7, 0 0 50px #183f61 inset;
  font-size: large;
  display: block;
}

.panel-index .header-text h3 span {
  background-color: rgba(0, 0, 0, 0.64);
  color: #ddd;
  padding: 15px;
  box-shadow: 0 0 50px 5px #000;
  border-radius: 50px;
  font-size: large;
  display: block;
}

.panel-skills ul {
  padding: 0;
  list-style: none;
}

.panel-skills ul li {
  padding: 5px 0;
}

a:focus, a:hover {
  color: #555;
  text-decoration: underline;
}

a {
  color: #333;
}

#wrapper {
    height: 100%;
}

#top-nav {
  z-index: 10001;
  background: rgba(0, 0, 0, 0);
  background-color: #922610;
  border-color: #e69a28;
  background-image: url(../images/grunge.jpg);
  background-blend-mode: color-burn;
  border: none;
  border-radius: 0;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: #FFF!important;
}

#top-nav.navbar-default .navbar-nav>li>a {
  color: #EEE;
}

#top-nav.navbar-default .navbar-nav>li>a:focus, #top-nav.navbar-default .navbar-nav>li>a:hover {
    color: #FFF;
    background-color: rgba(0, 0, 0, 0);
}

#top-nav.navbar-default .navbar-collapse, #top-nav.navbar-default .navbar-form {
    border-color: #ad2020;
    /*background: #a94442;*/
}

.navbar-header {
  width: 100%;
}

@media (max-width: 992px) {
  #top-nav .navbar-toggle {
    display: block;
  }
}

#top-nav .navbar-nav {
  margin: 0;
}

#top-nav.navbar-default .navbar-brand:focus, #top-nav.navbar-default .navbar-brand:hover {
    color: #fff;
}

#top-nav.navbar-default .navbar-brand {
    color: #fff;
}

#top-nav.navbar-default a.navbar-brand.status-badge {
  color: #ff0!important;
  -ms-transform: rotate(20deg);
  -webkit-transform: rotate(20deg);
  transform: rotate(20deg);
  font-size: medium;
  margin-left: -46px;
  margin-top: -8px;
}

#top-nav.navbar-default .navbar-toggle {
    border: none;
}

#top-nav.navbar-default .navbar-toggle:focus, #top-nav.navbar-default .navbar-toggle:hover {
    background-color: transparent;
}

.btn-notification {
    color: #fff;
    background-color: rgba(230, 154, 40, 0);
    border-color: rgba(0, 0, 0, 0);
}

.btn-notification:hover {
    color: #fff;
    background-color: rgba(230, 154, 40, 0.36);
    border-color: rgba(0, 0, 0, 0);
}

.btn-notification.active.focus, .btn-notification.active:focus, .btn-notification.active:hover, .btn-notification:active.focus, .btn-notification:active:focus, .btn-notification:active:hover, .open>.dropdown-toggle.btn-notification.focus, .open>.dropdown-toggle.btn-notification:focus, .open>.dropdown-toggle.btn-notification:hover {
    color: #fff;
    background-color: rgba(230, 154, 40, 0.36);
    border-color: rgba(0, 0, 0, 0);
}

.btn-notification .badge {
  color: #fff;
  background-color: #e69a28;
}

.dropdown-menu {
  background-color: rgba(0,0,0,.5);
}

.dropdown-menu>li>a {
  color: #fff;
}

.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
  color: #262626;
  background-color: #ffbc57;
}

.text-primary {
  color: #922610;
}



/* Notifications */

.navbar-default .dropdown-menu.notify-drop {
  min-width: 330px;
  background-color: #777;
  min-height: 360px;
  max-height: 360px;
}
.navbar-default .dropdown-menu.notify-drop .notify-drop-title {
  border-bottom: 1px solid #a94442;
  padding: 5px 15px 10px 15px;
}
.navbar-default .dropdown-menu.notify-drop .drop-content {
  min-height: 280px;
  max-height: 280px;
  overflow-y: scroll;
}
.navbar-default .dropdown-menu.notify-drop .drop-content::-webkit-scrollbar-track
{
  background-color: #3D3D3D;
}

.navbar-default .dropdown-menu.notify-drop .drop-content::-webkit-scrollbar
{
  width: 8px;
  background-color: #3D3D3D;
}

.navbar-default .dropdown-menu.notify-drop .drop-content::-webkit-scrollbar-thumb
{
  background-color: #000;
}
.navbar-default .dropdown-menu.notify-drop .drop-content > li {
  border-bottom: 1px solid #a94442;
  padding: 10px 0px 5px 0px;
}
.navbar-default .dropdown-menu.notify-drop .drop-content > li:nth-child(2n+0) {
  background-color: #999;
}
.navbar-default .dropdown-menu.notify-drop .drop-content > li:after {
  content: "";
  clear: both;
  display: block;
}
.navbar-default .dropdown-menu.notify-drop .drop-content > li:hover {
  background-color: #e69a28;
}
.navbar-default .dropdown-menu.notify-drop .drop-content > li:last-child {
  border-bottom: none;
}
.navbar-default .dropdown-menu.notify-drop .drop-content > li .notify-img {
  float: left;
  display: inline-block;
  width: 45px;
  height: 45px;
  margin: 0px 0px 8px 0px;
}
.navbar-default .dropdown-menu.notify-drop .allRead {
  margin-right: 7px;
}
.navbar-default .dropdown-menu.notify-drop .rIcon {
  float: right;
  color: #eee;
}
.navbar-default .dropdown-menu.notify-drop .rIcon:hover {
  color: #eee;
}
.navbar-default .dropdown-menu.notify-drop .drop-content > li a {
  font-size: 12px;
  font-weight: normal;
  color: #EEE;
}
.navbar-default .dropdown-menu.notify-drop .drop-content > li {
  font-weight: bold;
  font-size: 11px;
}
.navbar-default .dropdown-menu.notify-drop .drop-content > li hr {
  margin: 5px 0;
  width: 70%;
}
.navbar-default .dropdown-menu.notify-drop .drop-content .pd-l0 {
  padding-left: 0;
}
.navbar-default .dropdown-menu.notify-drop .drop-content > li p {
  font-size: 11px;
  color: #eee;
  font-weight: normal;
  margin: 3px 0;
}
.navbar-default .dropdown-menu.notify-drop .drop-content > li p.time {
  font-size: 10px;
  font-weight: 600;
  top: -6px;
  margin: 8px 0px 0px 0px;
  padding: 0px 3px;
  border: 1px solid #a94442;
  position: relative;
  background-image: linear-gradient(#fff,#f2f2f2);
  display: inline-block;
  border-radius: 2px;
  color: #B97745;
}
.navbar-default .dropdown-menu.notify-drop .drop-content > li p.time:hover {
  background-image: linear-gradient(#fff,#fff);
}
.navbar-default .dropdown-menu.notify-drop .notify-drop-footer {
  border-top: 1px solid #a94442;
  bottom: 0;
  position: relative;
  padding: 8px 15px;
}
.navbar-default .dropdown-menu.notify-drop .notify-drop-footer a {
  color: #eee;
  text-decoration: none;
}
.navbar-default .dropdown-menu.notify-drop .notify-drop-footer a:hover {
  color: #fff;
}



.navbar-default.navbar-campaign {
  background-color: #444;
  border-color: #3D3D3D;
  border-radius: 0;
  color: #fff;
}

.navbar-default.navbar-campaign .navbar-brand {
  color: #FFFFFF;
}

.navbar-default.navbar-campaign .navbar-toggle {
  border-color: initial;
  border: initial;
}

.navbar-default.navbar-campaign .navbar-toggle:focus, .navbar-default.navbar-campaign .navbar-toggle:hover {
  background-color: transparent;
}

.navbar-default.navbar-campaign .navbar-nav>li>a {
  color: #EEE;
}

.navbar-default.navbar-campaign .navbar-nav>li>a:focus, #top-nav.navbar-default.navbar-campaign .navbar-nav>li>a:hover {
    color: #FFF;
}

.navbar-default.navbar-campaign .navbar-nav>.active>a,
.navbar-default.navbar-campaign .navbar-nav>.active>a:focus,
.navbar-default.navbar-campaign .navbar-nav>.active>a:hover {
  color: #FFF;
  background-color: #963a3a;
}

.navbar-default.navbar-campaign .navbar-collapse, .navbar-default.navbar-campaign .navbar-form {
  padding:0;
  border-color: #272727;
}


div#page-content-wrapper {
    background: -webkit-radial-gradient(center, ellipse cover, rgba(80, 52, 3, 0) 0%,rgba(138, 109, 59, 0.50) 100%);
    box-shadow: 0px 0px 15px 5px #79571b inset;
    /*height: 100%;*/
    overflow-y: auto;
    overflow-x: hidden;
}

#sidebar-wrapper {
    color: #FFF!important;
    font-weight: bold;
    background-color: #555;
    border-color: #e69a28;
    /*background-image: url(/images/grunge.jpg);
    background-blend-mode: color-burn;
    background-size: cover;*/
}

.panel {
    margin-bottom: 20px;
    background-color: #e0af70;
    border: 1px solid #e69a28;
    border-radius: 4px;
    box-shadow: 0 0 1.5em #867453;
    position: relative;
    background-image: url(/images/clean-gray-paper.png);
    background-blend-mode: overlay;
}

.panel-default > .panel-heading {
    color: #FFF!important;
    font-weight: bold;
    background-color: #922610;
    border-color: #e69a28;
    background-image: url(/images/grunge.jpg);
    background-blend-mode: color-burn;
}

.panel-default > .panel-footer {
    color: #FFF!important;
    font-weight: bold;
    background-color: #922610;
    border-color: #e69a28;
    background-image: url(../images/grunge.jpg);
    background-blend-mode: color-burn;
}

.panel-default > .panel-heading a:focus, .panel-default > .panel-heading a:hover,
.panel-default > .panel-footer a:focus, .panel-default > .panel-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.panel-default > .panel-heading a, .panel-default > .panel-footer a  {
  color: #ddd;
}

.note-editor.panel-default {
  border: none;
}

.note-editor.panel-default > .panel-heading {
  border-radius: 0;
  border: none;
  background-color: #cc9036;
  background-image: initial;
  background-blend-mode: initial;
}

.well {
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
  background-color: rgba(204, 168, 87, 0.25);
  box-shadow: 0px 0px 11px 2px #000;
  border: 1px solid #b98943;
  border-radius: 4px;
  color: #ddd;
  -webkit-box-shadow: inset 0 0 25px rgba(58, 35, 11, 0.48);
  box-shadow: inset 0 0 25px rgba(58, 35, 11, 0.48);
}

h2{text-align:center;font-weight:300}
.btn-social-icon{margin-bottom:4px}
.jumbotron{position:relative;font-size:16px;color:#fff;color:rgba(255,255,255,0.75);text-align:center;border-radius:0;padding-bottom:80px;background-image:-webkit-linear-gradient(left, #720e9e 0, #dd4b39 100%);background-image:-o-linear-gradient(left, #720e9e 0, #dd4b39 100%);background-image:linear-gradient(to right, #720e9e 0, #dd4b39 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff720e9e', endColorstr='#ffdd4b39', GradientType=1)}.jumbotron h1{margin-bottom:15px;font-weight:300;letter-spacing:-1px;color:#fff}
.jumbotron iframe{width:100px !important;height:20px !important;border:none;overflow:hidden;margin:2px}
.jumbotron p a,.jumbotron .jumbotron-links a{font-weight:500;color:#fff}
.jumbotron .jumbotron-links{margin-top:15px;margin-bottom:0;padding-left:0;list-style:none;font-size:14px}.jumbotron .jumbotron-links li{display:inline}
.jumbotron .jumbotron-links li+li{margin-left:20px}
.jumbotron .bottom{position:absolute;bottom:0;left:0;right:0;padding:18px;background-color:rgba(0,0,0,0.2)}
.btn-outline{margin-top:15px;margin-bottom:15px;padding:18px 24px;font-size:inherit;font-weight:500;color:#fff;background-color:transparent;border-color:#fff;border-color:rgba(255,255,255,0.5);transition:all .1s ease-in-out}.btn-outline:hover,.btn-outline:active{color:#720e9e;background-color:#fff;border-color:#fff}
.how-to{padding:20px}.how-to h2{text-align:center}
.how-to li{font-size:21px;line-height:1.7;margin-top:20px}.how-to li p{font-size:16px;color:#555}
.how-to code{font-size:85%;word-wrap:break-word;white-space:normal}
footer{text-align:center;opacity:.8;padding:50px;background-image:-webkit-linear-gradient(left, #dd4b39 0, #720e9e 100%);background-image:-o-linear-gradient(left, #dd4b39 0, #720e9e 100%);background-image:linear-gradient(to right, #dd4b39 0, #720e9e 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdd4b39', endColorstr='#ff720e9e', GradientType=1)}footer a{color:#fff}footer a:hover{color:#fff}
.links{margin:0;list-style:none;padding-left:0}.links li{display:inline;padding:0 10px}
.social-class .social-hex{font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:10px;opacity:.3;float:right}
.social-class li{margin-bottom:4px}.social-class li:hover .social-hex{opacity:1}
.social-class li:hover code{background-color:#e8e8ee}
.social-class code{cursor:default}

.btn-social.btn-lg {
    padding-left: 61px;
}

.btn-google {
    color: #fff;
    background-color: #dd4b39;
    border-color: rgba(0,0,0,0.2);
}

.btn-social {
    position: relative;
    padding-left: 44px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-lg, .btn-group-lg > .btn {
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
    border-radius: 6px;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 4px;
}

.material-switch > input[type="checkbox"] {
    display: none;   
}

.material-switch > label {
    cursor: pointer;
    height: 0px;
    position: relative; 
    width: 40px;  
}

.material-switch > label::before {
    background: rgb(0, 0, 0);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    content: '';
    height: 16px;
    margin-top: -8px;
    position:absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 40px;
}
.material-switch > label::after {
    background: #5a5a5a;
    box-shadow: 0px 0px 5px rgb(0, 0, 0);
    border-radius: 16px;
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 24px;
}
.material-switch > input[type="checkbox"]:checked + label::before {
  background: #333;
  background: inherit;
  opacity: 0.5;
}
.material-switch > input[type="checkbox"]:checked + label::after {
    background: inherit;
    left: 20px;
    background: #e69a28;
}

input[type=file].upload-input {
    display: block;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

input[type=file].upload-input:focus + label, input[type=file].upload-input + label:hover {
    background-color: #7a200d;
    padding: 10px 50px;
}

input[type=file].upload-input + label {
    font-size: 1.25em;
    font-weight: 700;
    color: #fff;
    background-color: #7a200d;
    display: inline-block;
    cursor: pointer;
    padding: 10px 50px;
}

.tab-pane.inventory ul {
  padding-left:0;
}

.sidebar-nav-wrapper {
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  top: 50px;
  bottom: 0;
  position: absolute;
  padding-bottom: 65px;
}

.logged-in .sidebar-nav-wrapper {
  top: 175px;
}

.nav-user-box {
  background-image: url('https://static1.squarespace.com/static/5032859fe4b0adcdbcd13b2b/t/5409db7ae4b071521af50b3f/1409932155220/');
  background-size: cover;
  background-position: center;
  padding-top: 56.25%;
  position: relative;
}

.nav-user-box a, .navbar-header > .nav.navbar-nav.navbar-right a {
  color: white;
}

.navbar-header > .nav.navbar-nav.navbar-right {
  padding-right: 20px;
}

.nav-user-box a, .navbar-header > .nav.navbar-nav.navbar-right a {
  display: block;
  padding: 10px;
  text-decoration: none;
}

.nav-user-box .avatar img {
  border-radius: 50%;
  width: 35px;
}

.nav-user-box .user-box {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.59);
}

.nav-user-box .username {
  
}

img.avatar {
  max-width: 96px;
  border-radius: 50%;
}

img.avatar.small {
  max-width: 48px;
}

.ql-toolbar.ql-snow {
  color: #FFF!important;
  font-weight: bold;
  background-color: #922610;
  border-color: #e69a28;
  background-image: url(../images/grunge.jpg);
  background-blend-mode: color-burn;
}

.ql-container.ql-snow {
  background-color: #e0af70;
  border-color: #e69a28;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 0 1.5em #867453;
  position: relative;
  background-image: url(../images/clean-gray-paper.png);
  background-blend-mode: overlay;
}

.ql-snow .ql-stroke {
  stroke: #ddd;
}

.ql-snow .ql-fill, .ql-snow .ql-stroke.ql-fill {
    fill: #ddd;
}

.ql-snow .ql-picker {
  color: #ddd;
}

/* BOOTSTRAP */

.modal {
  margin-top: 50px;
}

.nav-tabs {
  border-bottom: 1px solid #7a200d;
  background: #5f382a;
  background: #922610;
  color: white;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  background-image: url(/images/grunge.jpg);
  background-blend-mode: color-burn;
}

.nav-tabs>li>a {
    color: white;
}

.nav-tabs>li>a:hover {
  border-color: #962a13 #7a200d #7a200d;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    color: #fff;
    cursor: default;
    background-color: #fff;
    background-color: rgba(230, 54, 17, 0.73);
    border: 1px solid #ff2d2d;
    border-bottom-color: rgba(0, 0, 0, 0);
}

#campaign_nav {
  border-radius: 0;
}

#campaign_nav.nav>li>a {
  color: white;
}

#campaign_nav.nav>li>a:focus, #campaign_nav.nav>li>a:hover {
  background-color: rgba(230, 54, 17, 0.73);
}

.nav>li>a:focus, .nav>li>a:hover {
  text-decoration: none;
  background-color: rgba(230, 54, 17, 0.73);
  color: white;
}

.table>thead>tr>th {
  border-bottom: 2px solid #922610;
}

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    border-top: 1px solid #8a6d3b;
}

.table-hover>tbody>tr:hover {
    background-color: rgba(208, 173, 53, 0.5);
}

.btn-default {
  color: #333;
  background-color: #e69a28;
  border-color: #331008;
}

.btn-default:hover {
  color: #333;
  background-color: #e69a28;
  border-color: #331008;
}

.input-group-addon {
  color: #fff;
  background-color: #922610;
  border: 1px solid #e69a28;
}

.form-control {
  color: #1b1b1b;
  background-color: #d8a96d;
  background-image: none;
  border: 1px solid #8a6d3b;
  background-image: url(/images/light-paper-fibers.png);
  background-blend-mode: overlay;
}

.form-control:focus {
  border-color: #c7971f;
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px #c7971f;
  color: black;
}

.form-control::-webkit-input-placeholder {
  color: #987a49;
}

::-webkit-input-placeholder { /* Chrome */
  color: #987a49;
  transition: opacity 250ms ease-in-out;
}

.breadcrumb {
  background-color: #e0af70;
  background-image: url(/images/clean-gray-paper.png);
  background-blend-mode: overlay;
  border-radius: 4px;
  box-shadow: 0 0 1.5em #867453, 0 0 15px rgba(138, 109, 59, 0.73) inset;
}

.breadcrumb>.active {
    color: rgba(0,0,0,.5);
}

.breadcrumb>li+li:before {
    padding: 0 5px;
    color: #7a200d;
    content: "/\00a0";
}

/*.modal.center {
  position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
}*/

.modal-content {
  background-color: antiquewhite;
}

.modal-header {
  border-bottom: 3px solid #e69a28;
  background: #922610;
  color: white;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  background-image: url(/images/grunge.jpg);
  background-blend-mode: color-burn;
  padding: 10px 15px;
  box-shadow: 0px 1px 15px 5px rgba(0, 0, 0, 0.50) inset;
}

.modal-title {
  margin: 0;
  line-height: 1.42857143;
  font-size: 11pt;
  text-align: center;
}

.modal-body {
  box-shadow: 0px 0px 15px 5px rgba(56, 35, 0, 0.50) inset;
  background-image: url(/images/light-paper-fibers.png);
  background-blend-mode: overlay;
  background-color: rgb(216, 177, 119);
}

.modal-footer {
  padding: 10px 15px;
  text-align: right;
  border-top: 3px solid #e69a28;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  background: #922610;
  background-image: url(/images/grunge.jpg);
  background-blend-mode: color-burn;
  box-shadow: 0px -1px 15px 5px rgba(0, 0, 0, 0.50) inset;
}

/*.modal-dialog {
  width: calc(75%);
}*/

/*@media (min-width: 1100px){
  .modal-dialog {
    width: calc(75%);
  }
}

@media (min-width: 768px){
  .modal-dialog {
    width: calc(100%);
  }
}*/

.close {
  color: #FFF;
  text-shadow: 0 1px 0 #000;
  filter: alpha(opacity=50);
  opacity: .5;
}

hr {
  margin-top: 10px;
  margin-bottom: 10px;
  border: 0;
  border-top: 3px solid #922610;
}

.panel-default {
  border-color: #e69a28;
}

.panel {
    margin-bottom: 20px;
    background-color: #e0af70;
    border: 1px solid #e69a28;
    border-radius: 4px;
    box-shadow: 0 0 1.5em #867453;
    position: relative;
    background-image: url(../images/clean-gray-paper.png);
    background-blend-mode: overlay;
}

.panel-default>.panel-heading {
  color: #FFF!important;
  font-weight: bold;
  background-color: #922610;
  border-color: #e69a28;
  background-image: url(../images/grunge.jpg);
  background-blend-mode: color-burn;
}

.table-striped>tbody>tr:nth-of-type(odd) {
  background-color: rgba(255, 235, 204, 0.52);
}

.panel.feat .panel-body {
    padding: 15px;
    height: 35px;
    /* white-space: nowrap; */
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    white-space: normal;
    word-wrap: break-word;
}

.panel.feat .panel-body.open {
  height: auto;
  display: block;
}

.class-selector {
  border-bottom: 2px solid #922610;
  cursor: pointer;
}

.class-selector.active {
  background: rgba(230, 154, 40, 0.18);
  box-shadow: 0 0 15px rgba(230, 154, 40, 0.18);
}

.class-selector .checked {
  visibility: hidden;
}

.class-selector.active .checked {
  visibility: initial;
  color: green;
}

/* SUMMERNOTE */

/*.note-editor .btn-default {
  color: #333;
  background-color: #e69a28;
  border-color: #ca7300;
  box-shadow:  0px 0px 10px #bf4f00 inset;
}*/

.note-editor .btn-default {
  color: #ddd;
  background-color: rgba(255, 255, 255, 0);
  border-color: rgba(202, 115, 0, 0);
  box-shadow: 0px 0px 10px rgba(191, 79, 0, 0) inset;
}

.note-editor .btn-default:hover {
  box-shadow: 0px 0px 10px #ff6900 inset;
}

.note-editor.note-frame {
  border: none/*1px solid #e69a28;*/
}

.note-editor .panel-default>.panel-heading {
  color: #333;
  background-color: #922610;
  border-color: #e69a28;
}

.note-editor.note-frame .note-editing-area .note-editable {
  padding: 10px;
  overflow: auto;
  color: #000;
  background-color: #d8a96d;
  background-image: url(/images/light-paper-fibers.png);
  background-blend-mode: overlay;
}

.note-editor.note-frame .note-statusbar {
  background-color: #922610;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

pre {
  background-color: #fdf1dc;
  border: 1px solid #e69a28;
  white-space: normal;
  word-break: break-word;
  box-shadow: 2px 2px 10px #796542;
}

.list-group {
  box-shadow: 0 0 1.5em #867453;
}

.list-group-item {
  background-color: #e0af70;
  background-image: url(/images/clean-gray-paper.png);
  background-blend-mode: overlay;
  border: 1px solid #922610;
  color: #333;
}

.list-group-item.active, .list-group-item.active:focus, .list-group-item.active:hover {
  color: #fff;
  background-color: #e69a28;
  border-color: #922610;
}


.nav-tabs.scrollable {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  white-space: nowrap;
}

.nav-tabs.scrollable li {
  display: inline-block;
  float: none;
}

.inventory li {
    background: rgba(253, 253, 253, 0.38);
    border-bottom: 1px solid #FF9800;
    cursor: pointer;
}

.inventory li span.count {
  min-width: 20px;
}

.navbar-toggle {
  float: left;
  padding: 9px 0 9px 10px;
  margin-right: 0;
}

.navbar-toggle .icon-bar {
  background: #FFF;
}

#spells-pane .list-group-item b {
  max-width: 200px;
  display: inline-block;
}

@media(min-width:992px) {

  #monsters-pane stat-block, #spells-pane stat-block, #items-pane stat-block {
    position: fixed;
    overflow-y: auto;
    /* height: calc(100%); */
    width: inherit;
    margin: 0 25px 0 0;
    /* padding-bottom: 50px; */
    top: 150px;
    bottom: 5px;
    transition: top 0.2s;
  }

  #page-content-wrapper.fix-header #monsters-pane stat-block,
  #page-content-wrapper.fix-header #spells-pane stat-block,
  #page-content-wrapper.fix-header #items-pane stat-block {
    top: 55px;
  }

}

.list-npc-item .list-npc-item-bar {
  position: absolute;
  top: -14px;
  right: 14px;
  display: none;
}

.list-npc-item.selected {
  background: rgba(255, 255, 255, 0.25);
}

li.list-group-item.list-npc-item::before {
  content: '';
  width: 5px;
  display: block;
  position: absolute;
  left: 0px;
  top: 0;
  bottom: 0;
}

li.list-group-item.list-npc-item.blue::before {
  background: blue;
}

li.list-group-item.list-npc-item.cyan::before {
  background: cyan;
}

li.list-group-item.list-npc-item.teal::before {
  background: teal;
}

li.list-group-item.list-npc-item.black::before {
  background: black;
}

li.list-group-item.list-npc-item.white::before {
  background: white;
}

li.list-group-item.list-npc-item.red::before {
  background: red;
}

li.list-group-item.list-npc-item.tomato::before {
  background: tomato;
}

li.list-group-item.list-npc-item.yellow::before {
  background: yellow;
}

li.list-group-item.list-npc-item.orange::before {
  background: orange;
}

li.list-group-item.list-npc-item.crimson::before {
  background: crimson;
}

li.list-group-item.list-npc-item.forestgreen::before {
  background: forestgreen;
}

li.list-group-item.list-npc-item.limegreen::before {
  background: limegreen;
}

li.list-group-item.list-npc-item.umber::before {
  background: #635147;
}

li.list-group-item.list-npc-item.gray::before {
  background: gray;
}

li.list-group-item.list-npc-item.pink::before {
  background: pink;
}

li.list-group-item.list-npc-item.purple::before {
  background: purple;
}

li.list-group-item.list-npc-item.brown::before {
  background: brown;
}

.list-npc-item:hover .list-npc-item-bar {
  display: block;
}

.clear {
  clear: both;
}

.discussion-post .panel-body .pull-left {
  padding: 0 10px 10px 20px;
}

.discussion-post .panel-body .pull-left:nth-child(2) {
  padding: 0 20px 10px 10px;
}


.sound-item {
  padding: 0;
  padding: 10px;
}

.sound-item > div {
  cursor: pointer;
  display: inline-block;
  vertical-align: top;
  word-wrap: break-word;
  position: relative;
  width: 100%;
  text-align: center;
}

.sound-item > div > .image {
  width: 100%;
  padding-bottom: 100%;
  background-size: cover;
  background-position: center;
  box-shadow: 2px 2px 50px rgba(0, 0, 0, 0.29);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.sound-item > div > .image:hover:after {
  content: '';
  background-image: url(/images/play-button-overlay.png);
  position: absolute;
  padding-bottom: 100%;
  top: 0;
  left: 0;
  right: 0;
  background-size: cover;
  background-position: center;
}

.sound-item > div span {
  width: 100%;
  display: block;
  padding: 5px;
  border-radius: 5px 5px 0 0;
  margin-top: 5px;
  font-size: 1.1em;
  line-height: 1.2;
  height: 2.64em;
}


.player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: #282828;
  color: white;
  margin-left: 220px;
}

.player div {
  /*height: 90px;*/
}

.player .album_art {
  height: 66px;
  width: 66px;
  border: 1px solid #1b1b1b;
  box-shadow: 1px 1px 5px #000;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.player .play_toggle {
  font-size: 30pt;
}

.player .elapsed {
  text-align: right;
}

.player .duration {
  text-align: left;
}

.player .album_wrapper > div.row > div.col-xs-5 {
  position: relative;
  height: 90px;
}

.player .album_wrapper, .player .audio_controls_wrapper, .player .volume_controls_wrapper {
  height: 90px;
}

.player .volume_controls {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.player .volume_controls .volume_text {
  width: 40px;
  display: inline-block;
  vertical-align: middle;
}

.player .volume_controls input[type=range].volume {
  vertical-align: middle;
}

.player .volume_controls span.mdi {
  vertical-align: middle;
}


input[type=range].seekbar {
    display: inline-block;
    width: auto;
    height: 5px;
    width: calc(100%);
    background-color: transparent;
    border: none;
    outline: none;
}

input[type=range].seekbar::-webkit-slider-runnable-track, input[type=range].seekbar:focus::-webkit-slider-runnable-track {
  background-color: grey;
  margin-left: 10px;
  height: 5px;
  margin-right: 15px;
  border-radius: 10px;
}

input[type=range].seekbar::-webkit-slider-thumb {
  background: white;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin-top: -5px;
  cursor: pointer;
  outline: none;
  border: none;
}

.mixer-wrapper {
  width: 120px;
  /*height: 355px;*/
  text-align: center;
  display: inline-block;
  color: #CCC;
  border-right: 1px solid #5C5C5C;
  background: rgba(0,0,0,0.5);
  color: #000;
  border-right: 1px solid #9a7a48;
  border-top: 1px solid #9a7a48;
  border-bottom: 1px solid #9a7a48;
  background: linear-gradient(to bottom, #e8c58f 0%,#c1a77f 50%,#cda973 100%);
  padding: 10px;
}

.mixer-wrapper:nth-child(1) {
  border-left: 1px solid #9a7a48;
}

.mixer-wrapper > b {
  display :block;
  width: 100px;
  border-bottom: 2px solid rgba(95, 95, 95, 0.55);
  margin-bottom: 10px;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.mixer-wrapper > input[type=range].panner {
  display :block;
  width: 100px;
  padding: 8px 0;
  background: transparent;
}

.mixer-wrapper > button.btn-edit {
  margin-top: 50px;
}

input[type=range].mixer {
  width: 99px;
  height: 5px;
  background-color: transparent;
  border: none;
  outline: none;
  /*-webkit-appearance: slider-vertical;*/
  margin: 50px 0 0 -12px;
  display: inline;
  position: relative;
  transform: rotate(270deg);
}

input[type=range].mixer::-webkit-slider-runnable-track, input[type=range].mixer:focus::-webkit-slider-runnable-track {
  background-color: #337ab7;
  margin-top: 10px;
  height: 5px;
  margin-top: 15px;
  border-radius: 10px;
}

input[type=range].mixer::-webkit-slider-thumb {
  background: white;
  background: linear-gradient(to left, #848484 0%,#ffefef 30%,#c1c4b8 42%,#7f7e77 43%,#b3bead 48%,#000000 48%,#000000 52%,#dfe5d7 52%,#7f7e77 58%,#5A5A5A 60%,#b3bead 100%);
  width: 30px;
  height: 15px;
  border-radius: 4px;
  margin-top: -5px;
  cursor: pointer;
  outline: none;
  border: none;
  box-shadow:0px 0px 5px rgba(0, 0, 0, 0.75);
}

input[type=range].mixer:disabled::-webkit-slider-thumb {
  background: linear-gradient(to left, #7b7b7b 0%,#424242 30%,#000000 42%,#7f7e77 43%,#2b2b2b 48%,#000000 48%,#000000 52%,#8e908b 52%,#7f7e77 58%,#5A5A5A 60%,#000000 100%);
}

input[type=range].volume {
  display: inline-block;
  width: auto;
  height: 5px;
  width: 150px;
  background-color: transparent;
  border: none;
  outline: none;
}

input[type=range].volume::-webkit-slider-runnable-track, input[type=range].volume:focus::-webkit-slider-runnable-track {
  background-color: grey;
  margin-left: 10px;
  height: 5px;
  margin-right: 15px;
}

input[type=range].volume::-webkit-slider-thumb {
  background: white;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin-top: -5px;
  cursor: pointer;
  outline: none;
  border: none;
}

#mixer-controls {
  display: none;
  position: absolute;
  bottom: 0;
  right: 48px;
  padding: 10px;
  background: #333;
  width: 50px;
  box-shadow: 2px 2px 10px #000;
}

input[type=range]{
    -webkit-appearance: none;
}

input[type=range]::-webkit-slider-runnable-track {
    height: 5px;
    background: #666;
    border: none;
    border-radius: 3px;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: goldenrod;
    margin-top: -4px;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: #ccc;
}

input[type=range][orient=vertical] {
    writing-mode: bt-lr; /* IE */
    -webkit-appearance: slider-vertical; /* WebKit */
    width: 8px;
    height: 175px;
    padding: 0 5px;
}

.marquee {
  width: 100%;
  display: block;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
}
.marquee p {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 15s linear infinite;
}
@keyframes marquee {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}

.leaflet-control-fullscreen a {
  background:#fff url(/images/fullscreen.png) no-repeat 0 0;
  background-size:26px 52px;
  }
  .leaflet-touch .leaflet-control-fullscreen a {
    background-position: 2px 2px;
    }
  .leaflet-fullscreen-on .leaflet-control-fullscreen a {
    background-position:0 -26px;
    }
  .leaflet-touch.leaflet-fullscreen-on .leaflet-control-fullscreen a {
    background-position: 2px -24px;
    }

/* Do not combine these two rules; IE will break. */
.leaflet-container:-webkit-full-screen {
  width:100%!important;
  height:100%!important;
  }
.leaflet-container.leaflet-fullscreen-on {
  width:100%!important;
  height:100%!important;
  }

.leaflet-pseudo-fullscreen {
  position:fixed!important;
  width:100%!important;
  height:100%!important;
  top:0!important;
  left:0!important;
  z-index:99999;
}

.thumbnail {
  background-color: rgba(195, 151, 82, 0.95);
  border: 1px solid #9c6d22;
}

.img-thumbnail {
  background-color: #e69a28;
  border: 1px solid #a94442;
}

.fab-wrapper {
  z-index:999;
}

.inline-ab {
  background: #7a200d;
  color: white!important;
  position: relative;
  display: inline-block;
  width: 26px;
  height: 26px;
  padding-left: 2px;
  border-radius: 50px;
  text-align: center;
  font-weight: bold;
  font-size: 18px!important;
  line-height: 20pt;
  letter-spacing: .1em;
  margin-left: 10px;
  box-shadow: 2px 3px 3px 0px rgba(41, 41, 41, .3);
}

.fab {
  background: #7a200d;
  color: white!important;
  position: fixed!important;
  z-index: 50;
  bottom: 10px;
  top: initial;
  right: 10px;
  width: 50px;
  padding-left: 3px;
  height: 50px;
  border-radius: 50px;
  text-align: center;
  font-weight: bold;
  font-size: 35px;
  line-height: 48px;
  text-align: center;
  box-shadow: 2px 3px 3px 0px rgba(41, 41, 41, .3);
}

.fab.left {
  right: initial;
  left: 10px;
}

.fab span {
  vertical-align: middle;
}
.fab.child {
  left: 14.66666667px;
  width: 42.66666667px;
  height: 42.66666667px;
  display: none;
  opacity: 0;
  font-size: 2em;
  line-height: 1.4em;
  letter-spacing: .1em;
  text-align: center;
}

.inline-ab.small {
  width: 20px;
  height: 20px;
  font-size: 12px!important;
  padding-left: 1px;
  line-height: 22px;
}

.inline-ab.closed {
  transform: rotate(-90deg);
  box-shadow: -2px 3px 3px 0px rgba(41, 41, 41, .3);
}

.fab:hover, .inline-ab:hover, .fab:active, .inline-ab:active, .fab:focus, .inline-ab:focus {
  text-decoration: none;
  background: #a72e15;
}

.scroll-v {
  height: 100%;
  overflow-y: auto;
}

#encounter-round-buttons {
  margin-right: initial;
  /* position: fixed;
  bottom: 0;
  left: 0;
  right: 0; */
}

.progress span {
  position: absolute;
  display: block;
  width: 100%;
}

.side-nav h3 {
  background-color: #922610;
  border-color: #e69a28;
  background-image: url(../images/grunge.jpg);
  background-blend-mode: color-burn;
  padding: 15px;
  margin: 0;
}














.tab_host {
  height: 100%;
  margin: 0 -15px;
}

.tabs-menu {
  height: 30px;
  float: left;
  clear: both;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  width: calc( 100% - 50px );
  background: #212121;
  white-space: nowrap;
  overflow: hidden;
}

.tabs-menu li {
  height: 30px;
  /*float: left;*/
  background-color: #1B1A1A;
  border-left: 3px solid #212121;
  color: #CCC;
}

.tabs-menu li.btn.btn-tab {
	border-radius: 0;
}

.tabs-menu li.current {
  position: relative;
  background-color: #333333;
  border-left: 3px solid #ffa100;
  z-index: 5;
}

.tabs-menu li a {
  padding: 10px;
  text-transform: uppercase;
  color: #CCC;
  text-decoration: none;
}

.tabs-menu .current a {
  color: #CCC;
}

.tabs-menu li:hover {
	color: #CCC;
}

.tabs-menu li .close {
	text-shadow: 0 1px 0 #000000;
}

.tabs-menu li .close:focus, .tabs-menu li .close:hover {
  color: #FFF;
}

.tabs-scroll-control {
	float: left;
	position: relative;
	width: 50px;
	height: 30px;
	box-sizing: border-box;
}

.tabs-scroll-control-btn {
	background: #1b1a1a;
	width: 50%;
	height: 100%;
	float: left;
	position: relative;
	text-align: center;
	cursor: pointer;
}

.tabs-scroll-control-btn:hover {
    background: #265c8c;
}

.tabs-scroll-control-btn.left {
	border-right: 1px solid #2e2e2e;
}

.tabs-scroll-control-btn.left::after {
	content: "\3008";
  line-height: 30px;
	font-weight: bold;
}

.tabs-scroll-control-btn.right {
	border-left: 1px solid #2e2e2e;
}

.tabs-scroll-control-btn.right::after {
	content: "\3009";
  line-height: 30px;
	font-weight: bold;
}


.tab_host > .tab {
    border: 1px solid #2196F3;
    float: left;
    width: 100%;
		height: calc(100% - 30px);
}

.tab_host > .tab-content {
		width: 100%;
		height: 100%;
    display: none;
}









@media
  (-webkit-min-device-pixel-ratio:2),
  (min-resolution:192dpi) {
    .leaflet-control-fullscreen a {
      background-image:url(/images/fullscreen@2x.png);
    }
  }


@media(min-width:992px) {
  .responsive-panels > .navbar {
    display: none;
  }

  .responsive-panels > .tab-content > .tab-pane {
    display: block;
  }
}

@media(max-width:992px) {

  .player {
    margin-left: 0;
  }

  .m-accordian > .m-accordian-header {
    display: block;
    background: #ab6b3c;
    color: #fff;
    cursor: pointer;
    text-indent: 10px;
  }

  .m-accordian.open > .m-accordian-header {
    background: #ce5f0d;
  }

  .m-accordian > .m-accordian-header a.inline-ab {
    float: right;
    margin-top: 20px;
    margin-right: 20px;
    margin-bottom: 10px;
    display: block;
  }

  .m-accordian > .m-accordian-content {
    display: none;
  }

  .m-accordian.open > .m-accordian-content {
    display: block;
  }

  #encounter-round-buttons {
    position: fixed;
    width: 112%;
    top: 50%;
    margin-left: -40px;
    margin-top: 18px;
  }

  .scroll-v {
    height: initial;
    overflow-y: initial;
  }

  #monsters-pane div.spacer,
  #spells-pane div.spacer,
  #items-pane div.spacer {
    height: 35px;
  }

  #monsters-pane #custom-search-input,
  #spells-pane #custom-search-input,
  #items-pane #custom-search-input {
    position: fixed;
    z-index: 1;
    /* width: 100%; */
    margin-right: 10px;
    margin-left: -5px;
    box-shadow: 0px 3px 5px #a28150;
    margin-top: -35px;
    transition: margin-top 0.2s ease-in-out;
  }

  #page-content-wrapper.fix-header #monsters-pane #custom-search-input,
  #page-content-wrapper.fix-header #spells-pane #custom-search-input,
  #page-content-wrapper.fix-header #items-pane #custom-search-input {
    margin-top: -100px;
  }

}



.form-control {
  min-height: 35px;
}



/* ANIMATION */

.list-group-item.active, .list-group-item.active:focus, .list-group-item.active:hover {
    z-index: initial;
}

.list-npc-item.damaged, .list-npc-item.healed {
  /*z-index: 3;*/
}

.list-npc-item.damaged {
  animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both, redPulse 0.5s cubic-bezier(.36,.07,.19,.97) both;
 transform: translate3d(0, 0, 0);
}

.list-npc-item.healed {
  animation: greenPulse 0.75s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
}

.list-npc-item.damaged::after {
    display: block;
    content: '';
    background: url(/images/slash_01.png);
    background-repeat: no-repeat;
    background-blend-mode: color;
    opacity: 1;
    position: absolute;
    background-size: contain;
    background-position: center;
    z-index: 10;
    margin: -10px -15px;
    top: calc(-50%);
    opacity: 0;
    animation: slash 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}

@keyframes redPulse {
  from { -webkit-box-shadow: 0 0 0 transparent; }
  50% { background: red; -webkit-box-shadow: 0 0 18px red; }
  to { -webkit-box-shadow: 0 0 0 transparent; }
}

@keyframes greenPulse {
  from { -webkit-box-shadow: 0 0 0 transparent; }
  50% { background: #4CAF50; -webkit-box-shadow: 0 0 18px #4CAF50; }
  to { -webkit-box-shadow: 0 0 0 transparent; }
}

@keyframes slash {
  from { display: block; opacity: 0; transform: scale(1); width: 100%; height: calc(calc(100%)*2); }
  50% { opacity: 0.85; }
  99.99% { width: 100%; height: calc(calc(100%)*2); }
  to { opacity: 0; transform: scale(1.5); width: 0px; height: 0px; }
}

#loader {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#loader.on {
  display: block;
  background: rgba(0, 0, 0, 0.46);
  z-index: 99999;
}

#loader .loader {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -60px;
  margin-left: -60px;
}

.loader {
  border: 16px solid #444;
  border-top: 16px solid #e69a28;
  border-radius: 50%;
  box-shadow: 0 0 15px #000;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media(max-width:1200px) {
  .carousel-inner .item {
    height: auto;
    padding-top: 56.25%;
  }

}


[contenteditable=true]:empty:before {
  content: attr(placeholder);
  display: block; /* For Firefox */
}

.no-scroll-refresh {
  touch-action: none;
}