html, body{
    width:100%;
    height:100%;
    position:absolute;
    top:0px;
    left:0px;
    margin: 0px !important;
}
 /*  
body {
  font-family: 'Montserrat';
    background: #eeeeee;
    position:absolute;
    width:100%;
    height:100%;
    top:0px;
    left:0px;
    margin: 0px !important;

    background: url() center center fixed;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    overflow: hidden;
}
    */

 :root {
  --col_red: #8b1b15;
  --col_green: #0b9b8f;
}
.ns{
   -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

/*home buttons*/

@media (max-width: 450px) {
  .ms_hide{
    display: none;
  }
}

@media (max-width: 800px) {
  .m_hide{
    display: none;
  }
}
@media (max-width: 500px) {
  #listofb a{
    height: 50% !important;
    width: 100% !important;
  }
}



/*BUTTONS*/

.toggleContainer{
    text-align: center;
}
/*  Toggle Switch  */

.toggleSwitch span span {
  display: none;
}  
  
.toggleSwitch {
  display: inline-block;
  height: 18px;
  position: relative;
  overflow: visible;
  padding: 0;
  cursor: pointer;
  width: 200px;
  background-color: #fafafa;
  border: 1px solid var(--col_green);
  border-radius:5px;
  height:34px;
    user-select: none;
}
.toggleSwitch * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.toggleSwitch label,
.toggleSwitch > span {
  line-height: 20px;
  height: 20px;
  vertical-align: middle;
}
.toggleSwitch input:focus ~ a,
.toggleSwitch input:focus + label {
  outline: none;
}
.toggleSwitch label {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
}
.toggleSwitch input {
  position: absolute;
  opacity: 0;
  z-index: 5;
}
.toggleSwitch > span {
  position: absolute;
  left: 0;
  width: calc(100% - 6px);
  margin: 0;
  text-align: left;
  white-space: nowrap;
  margin:0 3px;
}
.toggleSwitch > span span {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  display: block;
  width: 50%;
  margin-left: 50px;
  text-align: left;
  font-size: 0.9em;
  width: auto;
  left: 0;
  top: -1px;
  opacity: 1;
  width:40%;
  text-align: center;
  line-height:34px;
}
.toggleSwitch a {
  position: absolute;
  right: 50%;
  z-index: 4;
  display: block;
  top: 3px;
  bottom: 3px;
  padding: 0;
  left: 3px;
  width: 50%;
  background-color: var(--col_green);
  border-radius: 4px;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.toggleSwitch > span span:first-of-type {
  color: #ffffff;
  opacity: 1;
  left: 0;
  margin: 0;
  width: 50%;
  font-weight: 800;
  font-size: 110%;
}
.toggleSwitch > span span:last-of-type {
  left:auto;
  right:0;
  color: #999;
  margin: 0;
    width: 50%;
}
.toggleSwitch > span:before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: -2px;
  /* background-color: #fafafa;
  border: 1px solid #ccc; */
  border-radius: 30px;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
.toggleSwitch input:checked ~ a {
  left: calc(50% - 3px);
}
.toggleSwitch input:checked ~ span:before {
  /* border-color: #0097D1;
  box-shadow: inset 0 0 0 30px #0097D1; */
}
.toggleSwitch input:checked ~ span span:first-of-type {
  left:0;
  color:#999;
  font-weight: 100;
  font-size: 100%;
}
.toggleSwitch input:checked ~ span span:last-of-type {
  color: #ffffff;
  font-weight: 800;
  font-size: 110%;
}
/* Switch Sizes */
.toggleSwitch.large {
  width: 60px;
  height: 27px;
}
.toggleSwitch.large a {
  width: 27px;
}
.toggleSwitch.large > span {
  height: 29px;
  line-height: 28px;
}
.toggleSwitch.large input:checked ~ a {
  left: 41px;
}
.toggleSwitch.large > span span {
  font-size: 1.1em;
}
.toggleSwitch.large > span span:first-of-type {
  left: 50%;
}
.toggleSwitch.xlarge {
  width: 80px;
  height: 36px;
}
.toggleSwitch.xlarge a {
  width: 36px;
}
.toggleSwitch.xlarge > span {
  height: 38px;
  line-height: 37px;
}
.toggleSwitch.xlarge input:checked ~ a {
  left: 52px;
}
.toggleSwitch.xlarge > span span {
  font-size: 1.4em;
}
.toggleSwitch.xlarge > span span:first-of-type {
  left: 50%;
}

  /*  End Toggle Switch  */


.btn,
.btn *,
.btn :after,
.btn :before,
.btn:after,
.btn:before {
  border: 0 solid;
  box-sizing: border-box;
}

.btn {
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: button;
  background-color: #000;
  background-image: none;
  color: #fff;
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif,
    Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  font-size: 100%;
  line-height: 1.5;
  margin: 0;
  -webkit-mask-image: -webkit-radial-gradient(#000, #fff);
  padding: 0;
}
.btn:disabled {
  cursor: default;
}
.btn:-moz-focusring {
  outline: auto;
}
.btn svg {
  display: block;
  vertical-align: middle;
}
.btn [hidden] {
  display: none;
}
.btn {
  background: #e0e5ec;
  border-radius: 999px;
  box-shadow: inset 2px 2px 2px 0 hsla(0, 0%, 100%, 0.5),
    7px 7px 20px 0 rgba(0, 0, 0, 0.1), 4px 4px 5px 0 rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  color: #000;
  display: block;
  font-weight: 900;
  overflow: hidden;
  padding: 1.2rem 3rem;
  position: relative;
  text-transform: uppercase;
}
.btn:active {
  transform: translateY(3px);
}

.g_bt{
    padding: 10px;  
    background: var(--col_green);
    margin: 15px;
    cursor: pointer;
}
.r_bt{
    padding: 10px;  
    background: #e01409;
    margin: 15px;
    cursor: pointer;
    color: #ffffff;
}
/*ANIMATION*/
.blinkoel {
    opacity: 1;
    animation: blinkonce 2s;
    animation-iteration-count: 1;
}

@keyframes blinkonce { 50% { opacity:0; }  }

/*/////////// types*/

.typ_r{ padding:5px; background:#adf2d6; border-radius: 2px;}
.typ_b{ padding:5px; background:#c6c600; border-radius: 2px;}

.typ_g{ padding:5px; background:#ff00ff; border-radius: 2px;}
.typ_a{ padding:5px; background:#02a010; border-radius: 2px;color: #ffffff;}
.typ_s{ padding:5px; background:#096245; border-radius: 2px;color: #ffffff;}

/*PIE*/

.tree {
  --spacing: 1.5rem;
  --radius: 10px;
  --c_p: #0b9b8f;
  --c_i: #8b1b15;
  --c_e: #edd926;

  --c_grey: #e7e7e7;
}

.tree li, .tree ul {
  margin-top: 10px;
}

.tree ul{
  padding-bottom: 10px;
}
.tree ul::before{
  content: attr(uname);
  padding: 5px;
}

[typ="p"], [typ="p"] ul{ border-left-color: var(--c_p) !important;}
[typ="i"], [typ="i"] ul{ border-left-color: var(--c_i) !important;}
[typ="e"], [typ="e"] ul{ border-left-color: var(--c_e) !important;}

prio{ 
  position: absolute;
  left: 8px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
}

.tree ul {
  border-left: 2px solid;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.tree li {
  display: block;
  position: relative;
  padding-left: calc(2 * var(--spacing) - var(--radius) - 2px);
  border-left: 2px solid #ddd;
  padding-bottom: 10px;
}

.tree li:first-child {
  margin-top: 15px;
}
.tree li:last-child {
  border-color: transparent;
}

.tree li ul{
  margin-left: -10px;
}

.tree ul li::before{
  content: '';
  display: block;
  position: absolute;
  top: calc(var(--spacing) / -2);
  left: -2px;
  width: calc(var(--spacing) + 2px);
  height: calc(var(--spacing) - 4px);
  border: solid #ddd;
  border-width: 0 0 2px 2px;
}

.tree ul.iscl::before{
  padding: 4px;
  border-bottom: 2px solid;
  font-weight: 800;
}
.tree ul.isop::before{
  padding: 4px;
  border-bottom: 1px dashed;
  border-radius: 5px;
  color: #fff;
}

.tree [typ="p"] ul.isop::before{ background: var(--c_p); }
.tree [typ="i"] ul.isop::before{ background: var(--c_i); }
.tree [typ="e"] ul.isop::before{ background: var(--c_e); }

.tree ul[typ="p"].isop::before{ background: var(--c_p); }
.tree ul[typ="i"].isop::before{ background: var(--c_i); }
.tree ul[typ="e"].isop::before{ background: var(--c_e); }

.tree ul.iscl > *{
  display: none;
}
.tree ul.isop > *{
  display: block;
}

/*
prs - progress
lin - uname
lns - lead names
ins - names of people involved
*/

.tree .menu{
  position: absolute;
  top: -1px;
  margin-left: -18px;
  font-weight: 800;
}

.tree aiv , .tree lns {
  position: absolute;
  right: 0px;
  font-size: 45%;
  background: #ffffffb0;
}
.tree lns{
  top: -5px;
  font-weight: 800;
  font-size: 55%;
}
.tree aiv{
  top: 12px;
  font-style: italic;
}

.tree lns:hover, .tree aiv:hover{
  font-size: 120%;
  z-index: 1000;
  padding: 10px;
}
.tree lns:hover{
  top: -15px;
}
.tree aiv:hover{
  top: -10px;
}

.tree li prs{
  position: absolute;
  top: 20px;
  left: 35px;
  height: 2px;
}

.tree fprs{
  position: absolute;
  top: 19px;
  left: 33px;
  height: 4px;
  width: calc(100% - 97px);
  background: #ddd;
  z-index: -1;
}

.tree ulm{
  display: inline !important;
  margin-left: 5px;
}

flist {
  position: absolute;
  top: 0px;
  left: -35px;
  width: 20px;
  height: 20px;
  font-size: 16px;
}
.flist {
  display: none;
  margin-top: 10px;
  margin-bottom: 10px;
}

.flist div{
  position: relative;
  display: block;
  border-radius: 10px;
  border: 1px solid;
  padding: 10px;
  margin-bottom: 25px;
}

.flist div::after{
  position: absolute;
  bottom: -15px;
  right: 20px;
  content: attr(iname);
  font-size: 80%;
}

.flist div [onclick="openf(this)"]{
  font-style: italic;
  text-decoration: underline;
  margin-left: 20px;

}

.flist div [onclick="openf(this)"]:before{
  content:"• ";
  position: absolute;
  margin-left: -10px;
}


/*ACCOUNT */
[uid='0'] + center > .changeem{
  display: none;
}
.changeem{
  position: fixed;
  display: inline-block;
  width: 15px;
  height: 2.6em;
  vertical-align: sub;
  background: #e01409;
}
.changeem:hover{
    width: 100%;
    left: 100%;
    transform: translateX(-100%);
    background: linear-gradient(45deg, #ffffff, #e01409);
    cursor: pointer;
}

.changeem:hover .ctc{
  display: block !important;
  font-size: 1.6em;
  margin-top: 5px;
}


/*TABLE*/

.eachu td:nth-child(n + 4){
  text-align: center;
}