.button{
    padding: 10px;
    padding-top:15px;
    padding-bottom:15px;
    border: 0;
    border-radius: 5px;
    
    display: inline-block;
    font-size: 16px;
    width: 48%;

}
.countControl{
    padding-top: 10px;
    padding-bottom: 10px;
}

.buttonRed{
    background: #490000;
    background: radial-gradient(at center bottom, #c40000, #490000);
    border: 1px solid #300203;
    box-shadow: inset 0px 1px 1px 0px rgba(213, 137, 0,0.5);
    color:#fff;
    text-shadow: 0px 2px 3px rgba(0,0,0,0.8);
}
.buttonGreen{
    background: #005500;
    background: radial-gradient(at center bottom, #27b700, #005500);
    border: 1px solid #043604;
    box-shadow: inset 0px 1px 1px 0px rgba(204, 255, 10,0.7);
    color:#fff;
    text-shadow: 0px 2px 3px rgba(0,0,0,0.8);
}
.buttonBlue{
    background: #00355c;
    background: radial-gradient(at center bottom, #006cc7, #00355c);
    border: 1px solid #011f35;
    box-shadow: inset 0px 1px 1px 0px rgba(0, 182, 255,0.5);
    color:#fff;
    text-shadow: 0px 2px 3px rgba(0,0,0,0.8);
}
.buttonYellow{
    background: #b36800;
    background: radial-gradient(at center bottom, #ffba00, #b36800);
    border: 1px solid #043604;
    box-shadow: inset 0px 1px 1px 0px rgba(255, 208, 100,0.7);
    color:#000;
    /* text-shadow: 0px 2px 3px rgba(0,0,0,0.8); */
}
.buttonViolet{
    background: #54025c;
    background: radial-gradient(at center bottom, #b32ccc, #54025c);
    border: 1px solid #043604;
    box-shadow: inset 0px 1px 1px 0px rgba(255, 0, 255,0.7);
    color:#fff;
    text-shadow: 0px 2px 3px rgba(0,0,0,0.8);
}
.buttonTransparent{
    width: 100%;
    background-color: rgba(0,0,0,0.2);
    color: white;
    margin-top: 20px;
}
.modal-input{
    padding: 10px;
    border-radius: 7px;
    border: 0;
    background-color: rgba(0,0,0,0.3);
    color: rgba(255,255,255,0.9);
    opacity: 1;
    font-size: 16px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    width: 100%;
    text-align: center;
}
.modal-input-holder{
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 15px;
    padding-top: 15px;
}
/******************************************************************************************
    CURRENCY MODAL
*****************************************************************************************/
.modal-currency{
    color: #fff;
    margin: 10px;
    font-style: normal;
    font-weight: normal;
    font-family: 'Times New Roman', Times, serif;
    text-align: left;
    font-size: 15px;
    text-align: center;
}
.modal-currency table{
    border-collapse: collapse; 
}
.modal-currency .header {
    font-size: 18px;
    font-style: normal;
    font-weight: normal;
    font-family: 'Times New Roman', Times, serif;
    color: #fff;
    text-align: left;
}
.modal-currency .header .value, .modal-currency .header .name{
    padding-bottom: 20px;
    
}

.modal-currency .header .value{
    width: 25%;
    text-align: right;
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 27px;
    font-weight: bold;
    font-size: 20px;
 }

.modal-currency .currency .name{
   padding-left: 40px;
   background-repeat: no-repeat;
   background-position: left center;
   background-size: 23px;
   text-align: left;
}



.modal-currency  .pp{
    background-image: url(../images/pp.png);
}

.modal-currency  .gp{
    background-image: url(../images/gp.png);
}
.modal-currency  .ep{
    background-image: url(../images/ep.png);
}
.modal-currency  .sp{
    background-image: url(../images/sp.png);
}
.modal-currency  .cp{
    background-image: url(../images/cp.png);
}

.modal-currency .currency .small{
    font-size: 12px;
    padding-top: 3px;
    color: rgba(255,255,255,0.4);
}

.modal-currency .currency .value{
   text-align: right;
}
.modal-currency .currency{
    /* position: relative; */
    height: 70px;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}
/*
.modal-currency .currency::after{
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: rgba(0,0,0,1);
    position: absolute;
    left: 10px;
    bottom:10px;
}
*/
.add-currency{
    margin-top: 30px;
    margin-bottom: 20px;
}
.add-currency input, .modal-counter input{
    width: calc(100% - 20px);
    margin: 0;
    padding-top:10px;
    padding-bottom: 10px;
    text-align: center;
    background-color: #000;
    border: 0;
    color: #fff;
    border-radius: 10px;
    font-size: 15px;
}
.add-currency td{
    width: 20%;
    text-align: center;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: bold;
    color: rgba(255,255,255,0.6);
}
.add-currency-name{
    padding-top:25px;
    padding-bottom: 7px;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 15px;
}

.modal-currency button{
    border: 0;
    padding: 10px 20px 10px 20px;
    border-radius: 6px;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    margin-left: 5px;
    margin-right: 5px;
}
.modal-currency .increase{
    background-color: red;
    background-image: linear-gradient(0deg, #004c00 0%, #668604 100%);
    box-shadow: inset 0px 1px 1px 0px #fffee8;
}
.modal-currency .decrease{
    background-color: red;
    background-image: linear-gradient(0deg, #760000 0%, #a50303 100%);
    box-shadow: inset 0px 1px 1px 0px #fbb29d;
}

/******************************************************************************************
    INVENOTURY MODAL
*****************************************************************************************/
.modal-inventory{
    color: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    font-family: 'Times New Roman', Times, serif;

}
.modal-inventory .inventory-image{
    vertical-align: top;
}


.inventory-img{
    display: block;
    margin: 0 auto;
    padding-top: 10px;
}

.modal-inventory td[param="theclass"]{
    padding-top: 20px;
    padding-bottom: 30px;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    border: 0;
}

.modal-inventory-main-info td{
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    font-size: 22px !important;
}

.modal-inventory td{
    /* padding: 15px 10px 15px 10px; */
    /* border-bottom: 1px solid rgba(255,255,255,0.2); */
}


.modal-inventory td[param="name"]{
  color: rgba(255,255,255,0.7);
}
.modal-inventory td[param="value"]{
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    background-color: rgba(0,0,0,0.1);
    border-radius: 7px;
}


.modal-inventory-content{
    display: none;
}

.modal-inventory-item-value{
    width: 50%;
}
.modal-inventory-controls{
    margin-bottom: 20px;
}
/******************************************************************************************
    INVENOTURY ADD  MODAL
*****************************************************************************************/

.modal-inventory-input{
    padding: 10px;
    margin-top: 20px;
    width: 70%;
    font-size: 17px;
    border-radius: 15px;
    border: 0;
    background-color: rgba(255,255,255,0.5);
}

.modal-inventory .modal-inventory-item{
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-size: 15px;
    color: #fff;

}
.modal-inventory .modal-inventory-item-value{
    text-align: right;
    font-weight: bold;
    background-color: rgba(0,0,0,0.1);
    border-radius: 7px;
    padding: 15px;
    font-size: 15px;;    
}


.modal-add-inventory .modal-inventory-item {
    margin-left: 10px;
    margin-right: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-style: normal;
    font-weight: normal;
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    text-transform: capitalize;
}
.modal-add-inventory .modal-inventory-item[index='custom']{
    background-color: rgba(255,0,255,0.1);
    padding-left: 10px;
    border-radius: 7px;
    color: rgba(255,255,255,0.5);
    font-size: 17px;
}


/******************************************************************************************
    CHAR MODAL
*****************************************************************************************/
.modal-char  input[type=number]::-webkit-inner-spin-button,
.modal-char input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.modal-char .number-input {
  display: flex;
}

.modal-char input {
  width: 100%;
  box-sizing: border-box;
  border: solid 1px lightgrey;
  border-radius: 0;
  text-align: center
}

.modal-char spinner {
  border: solid 1px lightgrey;
}

.modal-char .spinner:hover {
  background: lightgrey;
}

.modal-char .spinner:first-child {
  border-radius: 3px 0 0 3px;
}

.modal-char .spinner:last-child {
  border-radius: 0 3px 3px 0;
}

.modal-char-table{
    display: table;
	width: 100%;
}
.modal-char-tableBody{
    display: table-row-group;
}
.modal-char-tableRow{
	display: table-row;
}
.modal-char-tableCell{
    border: 1px solid #999999;
	display: table-cell;
	padding: 3px 10px;
}

.modal-char{
    font-style: normal;
    font-weight: normal;
    font-family: 'Times New Roman', Times, serif;
}

.modal-char-item{
    color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
   
}


.modal-char-header{
    padding:0px 10px 0px 10px;
    font-size: 14px;
    font-weight: bold;
    color: rgba(255,255,255,0.4);
}

.modal-char-item-name{
    font-size: 17px;
    text-transform: capitalize;
}
.modal-char-item-modificator{
    opacity: 0.5;
    font-weight: bold;
}
.modal-char-item-value input{
    padding: 10px;
    border-radius: 7px;
    border: 0;
    background-color: rgba(0,0,0,0.3);
    color: rgba(255,255,255,0.9);
    opacity: 1;
    font-size: 16px;;
}


.modal-char-skills{
    color: #fff;
}

.modal-char-separator{
    color: rgba(76, 159, 242, 1);
    text-align: center;
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.modal-char-skills .selection::after{
    border: 1px dashed rgba(76, 159, 242,0.5);
}
.modal-char-skills .selected::after{
    background-color: rgba(76, 159, 242, 1);
}

.buttonsControl{
    display: none;
}

.modal-inventory-category{
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}

.modal-inventory-item[index='custom'] .modal-inventory-category{
    display: none;
}
/******************************************************************************************
    SAVINGS MODAL
*****************************************************************************************/

.modal-savings{
    font-style: normal;
    font-weight: normal;
    font-family: 'Times New Roman', Times, serif;
}
.modal-savings-item-formulahHolder{
    display: none;
}
.modal-savings-item{
    color: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.modal-savings-item-formulahHolder{
    margin-top: 10px;
}
.modal-savings-item-formulahHolder div{
    background-color: rgba(0,0,0,0.2);
    padding:10px;
    margin-top: 10px;
    border-radius: 5px;
}
.modal-savings-item-formulahHolder textarea{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    width: 100%;
    border: 0;
    border-radius: 5px;
    background-color: rgba(255,255,255,0.05);
    transition: background-color 0.3s;
}
.modal-savings-item-formulahHolder textarea:focus{
    background-color: rgba(255,255,255,0.7);
}


/******************************************************************************************
    SKILLS MODAL
*****************************************************************************************/

.modal-skills{
    font-style: normal;
    font-weight: normal;
    font-family: 'Times New Roman', Times, serif;
}
.modal-skills-item-formulahHolder{
    display: none;
}
.modal-skills-item{
    color: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.modal-skills-item-formulahHolder{
    margin-top: 10px;
}
.modal-skills-item-formulahHolder div{
    background-color: rgba(0,0,0,0.2);
    padding:10px;
    margin-top: 10px;
    border-radius: 5px;
}
.modal-skills-item-formulahHolder textarea{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    width: 100%;
    border: 0;
    border-radius: 5px;
    background-color: rgba(255,255,255,0.05);
    transition: background-color 0.3s;
}
.modal-skills-item-formulahHolder textarea:focus{
    background-color: rgba(255,255,255,0.7);
}



/******************************************************************************************
    SPELL MODAL
*****************************************************************************************/
.spell-filter{
    position: relative;
    max-width: 320px;
    width: 100%;
    /* margin: 80px auto 30px; */
}



.filter{
    margin-top: 20px;
}
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

.multiselect{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-style: normal;
    color: #fff;
  
    display:inline-block;
    line-height:15px;
    
    position:relative;

    width: 100%;
}

.msheader{
    background-color: rgb(88, 100, 133);
    border-radius: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
   
 
    font-size: 15px;
    padding: 15px 10px 15px 10px ;
}
.mslist{
    position: absolute;
    width: 100%;
    height: 200px;
    overflow-y: scroll;
    display: none;
    z-index: 9999;
    background-color: rgb(64 73 97);
    border-radius: 5px;
}

.mslabel{
    display:inline-block;
    /* width: 334px; */
    padding-left:5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-height:18px;
    outline:none;
  }
  .mstogglebtn{
    display:inline-block;
    float:right;
    width:16px;
    text-align:center;
    outline:none;
  }
  .msitem input{
    display: none;
  }
  .msitem{
    position:relative;
    padding-left: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 14px;
    border-bottom:1px solid rgba(255,255,255,0.04);
  }
  .checkedFilter{
    background-color: rgba(255,255,255,0.1);
    border-bottom:1px solid rgba(255,255,255,0.1);
    background-image: url(../images/check.svg);
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 22px;
  }



  .spell-modal-item{
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,115,230,0.5);
    margin-bottom: 1px;
    color: #fff;
    
}


.spell-modal-item > summary{
    list-style: none;
}
.spell-modal-item > summary::-webkit-details-marker {
    display: none;
}
.spell-known{
    /* margin-bottom: 1px; */
    margin-top: -3px;
    border:  3px solid rgba(0,115,230,0.4);
    border-radius: 6px;
    background-color: rgba(216, 231, 246, 0.1);
    /*
    rgb(179, 44, 204), rgb(84, 2, 92));
    */
}
.spell-modal-item-content > div{
    background-color: rgba(255,255,255,0.15);
    padding: 10px;
    border-radius: 7px;
    margin-bottom: 10px;
    font-style: normal;
    font-weight: normal;
    font-family: 'Times New Roman', Times, serif;
    line-height: 21px;   
}
.spell-modal-item[open]{
    background-color: rgba(3, 34, 65, 0.7);
}

.spell-modal-item-level{

}
.spell-modal-item-name{
    font-size: 19px;
}
.spell-modal-item-spec{
    text-align: right;
}

.spell-modal-value, .spell-modal-key{
    font-family: Arial, Helvetica, sans-serif;
    font-style: normal;
    font-size: 12px;
    font-weight: normal;

    /* padding: 10px; */
    border-radius: 5px;
    line-height: 45px;
    padding-left: 10px;
}

.spell-modal-item-content tr{
    background-color: rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.4);;
}

.spell-modal-key{
    width: 50%;
}
.spell-modal-value{
    font-weight: bold;
    text-align: center;
}


/******************************************************************************************
    PERS MODAL OPTIONS
*****************************************************************************************/
.modal-persOptions{
    color: #fff;
    font-size: 16px;
}
.fileNameChanger{

    width: 100%;
    border-radius: 5px;
    background-color: rgba(255,255,255,0.4);
    height: 40px;
    color: #000;
    text-indent: 10px;
}
#savePersData{
    margin-top: 20px;
}
.modal-persOptions td{
    padding-bottom: 10px;
}
.modal-persOptions .inputPers{
    padding: 10px; 
    width: calc(100% - 30px);
    font-size: 16px;
    color: #fff;
    background: rgba(255,255,255,0.1);
    border: 0;
    font-weight: bold;
    border-radius: 10px;
}
.modal-persOptions .inputPers:focus{
    font-weight: normal;
    background: rgba(255,255,255,0.8);
    color: #000;
}

.dnd_version{
    display: block;
    position: absolute;
    bottom: 0;
    font-family:Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: normal;
    padding: 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}


/******************************************************************************************
    HITS HEALTH MODAL
*****************************************************************************************/

.modal-health{
    color: #fff
}
.modal-health-current_health{
    text-align: center;
    font-size: 23px;
}
.modal-health-deaths-holder{
    padding: 10px;
    background-color: rgba(0,0,0,0.1);
    margin-top: 20px;
    border-radius: 10px;
}
/******************************************************************************************
    EXP MODAL
*****************************************************************************************/

.modal-exp{
    color: #fff;
}
.modal-exp-level{
    font-size: 23px;
}
.modal-exp-table-item{
    padding-top: 15px;
    padding-bottom: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-style: normal;
}
.curLevelClass{
    background-color: rgba(255,255,255,0.1);
    border-radius: 5px;
}

/******************************************************************************************
    FEAUTURE MODAL
*****************************************************************************************/
.modal-feauture{
    color: #fff;
    font-style: normal;
    font-weight: normal;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
}
.modal-feauture-name{
    text-align: center;
    font-weight: bold;
    font-size: 17px;
    text-transform: uppercase;
}
.modal-feauture-description{
    font-size: 16px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 5px;
    padding: 10px;
    margin-top: 20px;
    line-height: 26px;
}
.modal-feauture-options-holder{
    margin-top: 20px;
    background-color: rgba(0,0,0,0.1);
    border-radius: 5px 5px 0 0 ;
    padding: 10px;
    padding-bottom: 20px;
}
.modal-feauture-options-description{
    background-color: rgba(0,0,0,0.1);
    border-radius: 0 0 5px 5px ;
    padding: 10px;
    line-height: 23px;
}
.modal-feauture-options{
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 0;
    background-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
    font-weight: bold;
    font-size: 16px;
}
/*
.modal-feature-item{
    position: relative;
    margin-bottom: 1px;
}
.feautureOptions{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255,255,255,0.05);
    border-radius: 5px;;
    color: transparent;
    border: 0;
}

.modal-feature-item-header{
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    font-family: 'Times New Roman', Times, serif;
    color: rgba(255,255,255,0.5);
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
}
.modal-feature-item{
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-style: normal;
    font-weight: normal;
    font-family: 'Times New Roman', Times, serif;
    padding-left: 10px;
    padding-right: 10px;
}
.modal-feature-item-value{
    text-align: right;
    
    position: relative;
   
}
.modal-feature-item .modal-feature-item-value{
    color: #ffba00;
    font-weight: bold;
}
.modal-feature-item .modal-feature-item-value::before, .modal-feature-item .modal-feature-item-value::after{
    content: "";
    position: absolute;
    width: 1px;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    left: 0;
    top: 0;
}
.modal-feature-item .modal-feature-item-value::before, .modal-feature-item .modal-feature-item-value::after{
    background-color: rgba(255,255,255,0.3);
    left: 1px;
}
.modal-feature-item-level{
    font-size: 13px;
}
.modal-feature-item-info{
    padding: 15px;
    background-color: rgba(0,0,0,0.2);
    margin-top: 10px;
    font-size: 16px;
    line-height: 23px;
    border-radius: 5px;
    border-top: 1px solid rgba(0,0,0,05);
    color: #affffc;
}
*/