/*  TABLE OF CONTENTS

1.  APP SPACE 
2.  PAPER DIV
3.  LOADER
4.  TOAST NOTIFICATIONS
5.  HEADER
6.  FOOTER

/*-----------  APP SPACE ----------*/

#app-space{
    position:absolute;
    top:70px;
    bottom:45px;
    width:100%;
    overflow-x: hidden;
    overflow-y: hidden;
    z-index:0;
}

/* -------------- PAPER BLOCK ------------- */

.paper-block{

    position: relative;
    padding: 20px;
    margin: 20px;
    background: #F4F5F4;
    overflow: hidden;

    border: 1px transparent;
    border-radius: 3px;

    z-index: 1000;
    background: rgba(255,255,255,1);
    box-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    -moz-box-shadow:    2px 2px 4px rgba(0,0,0,0.4);
    -webkit-box-shadow: 2px 2px 4px rgba(0,0,0,0.4);

    -webkit-transition: 1s;
    transition: 1s;
}

.paper-header h1,
.paper-header h2,
.paper-header h3,
.paper-header h4,
.paper-header h5,
.paper-header h6{
    margin-bottom: 0px;
}

.paper-collapse .paper-body{
    overflow: hidden;
    max-height: 0px;  
    -webkit-transition: 0.6s ease-in-out;
    transition: .4s ease-in-out;
}

.paper-collapse .paper-header{
    overflow: hidden;
    position: relative;
    cursor: pointer;
    -webkit-transition: .3s;
    transition: .3s;
}
.paper-collapse .paper-header:after{
    content: '';
    position: absolute;
    top: 50%;
    margin-top: -11px;
    right: 0;
    width: 22px;
    height: 22px;

    border: 2px solid #E4E5E4;
    border-radius: 50%;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.05);

    -webkit-transition: .3s; 
    transition: .3s;
}
.paper-collapse .paper-header:hover:after{
    border: 2px solid #787D7B;
}

.paper-collapse.on .paper-body{
    max-height: 800px;
}
.paper-collapse.on .paper-header:after{
    height:0px;
    border-width: 2px;
    border-radius: 0;
    margin-top: -2px;
}


/* -------------- LOADER  --------------- */

@keyframes spinner {
    to {transform: rotate(360deg);}
}

.loader:before{

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    margin: 20px;

    content: '';
    background: rgba(255,255,255,0.6);
}

.loader:after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: grey;
    border-bottom-color: grey;
    animation: spinner .8s ease infinite;
    z-index: 3;
}

/* --------------- TOAST NOTIFICATIONS -------------*/

.toast{
    
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: -60px;

    width: 400px;
    height: 60px;
    z-index: 2000;

    border: 1px transparent;
    border-radius: 5px;

    line-height: 60px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;

    box-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    -moz-box-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    -webkit-box-shadow: 2px 2px 4px rgba(0,0,0,0.4);

    background: rgba(240,240,240,0.8);
   
    opacity: 0;
}

.toast.active{
    opacity: 1;
    top: 100px;

    transition: 0.3s;
    -webkit-transition: 0.3s;    
}

.toast.active.removing{
    opacity: 0;
    top: -60px;

    transition: 2s;
    -webkit-transition: 2s;
}

.toast.toast-success{
    background: rgba(0,179,134,0.8);
    color: white;
}

.toast.toast-warning{
    background: rgba(253,185,18,0.8);
    color: black;
}

.toast.toast-error{
    background: rgba(139,0,0,0.8);
    color: white;
}


/* -------------- SWITCH / TOGGLE  --------------- */

.switch {
    position: relative;
    display: inline-block;
    margin: 3px 0 0 0;
    width: 56px;
    height: 22px;
}
  
.switch input {
    display:none;
}

.switch-text{
    display:inline-block;
    line-height: 22px;
    font-size: 14px;
    padding: 4px 2px 2px 5px;
    vertical-align: top;    
}

.switch .switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 28px;
    
    background: #ccc;
    box-shadow: inset 2px 5px 3px 2px rgba(0,0,0,0.2), 0px 1px 0px rgba(255,255,255,.4);

    -webkit-transition: .4s;
    transition: .4s;
}

.switch .switch-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 32px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 11px;
    box-shadow: inset 0px -1px 0px 1px rgba(0,0,0,0.1), 1px 0px 2px 1px rgba(0,0,0,.4);
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .switch-slider {
    background: #0f815d;
}

input:checked + .switch-slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}
  
/* --------------- HEADER --------------- */

.navbar{
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 1;
    padding: 0 40px 0 40px;
    margin-bottom: 0;
    height: 70px;
    background-color: #3C4240;
    border: none;
    border-bottom: 1px solid white;
    border-radius: 0;
}

.navbar-header{
    height: 70px;
}

.navbar-brand img{
    max-height: 40px;
}  

.navbar-nav{
    padding-top: 10px;
}

.navbar li, .footer li {
    padding-top: 5px;
    list-style: none; 
    font-size: 14px;
    color: #FFFFFF;
}
.navbar a:not(.dark), .footer a:not(.dark) {
    display: inline-block;
    text-decoration: none;
    color: #FFFFFF !important;
    cursor: pointer; 
}
.navbar a:not(.dark):not(.no-decor):after, .footer a:not(.dark):after {
    content: '';
    display: block;
    border-bottom: 1px solid #fff;
    width: 100%;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}
.navbar a:not(.dark):not(.no-decor):hover:after, .footer a:not(.dark):hover:after {
     visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}		
  
.navbar span{
    color: #fff;
}

/* --------------- FOOTER    ------------ */

.footer {
    position: fixed;
    height: 45px;
    width: 100%;
    margin: 0;
    padding: 10px 40px 0 40px;
	background-color: #3C4240;
    border-top: 1px solid white;
    bottom: 0;
    z-index: 1;
    text-align: center;
}

.footer ul {
    padding: 0;
}

.footer ul>li {
    display: inline-block;
    margin: 0 10px;
}