html, body {
	height:100%;
}
.text-upper {
    text-transform: uppercase;
}
.text-bold {
    font-weight: 700;
}
td {
    text-align: inherit
}
code, kbd, pre, samp {
    font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
}
code {
    padding: 2px 4px;
    font-size: 90%;
    color: #c7254e;
    background-color: #f9f2f4;
    border-radius: 0;
}
kbd {
    padding: 2px 4px;
    font-size: 90%;
    color: #fff;
    background-color: #333;
    border-radius: 0;
    -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.25);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.25);
}
i.tiny{
    margin:0;
}
body.login,body.locked, body.password  {
    background-color: #ff5722;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
body.view  {
    background-color: #ff5722;
}
.container {
    width: 95%;
}
i.left {
    margin: 0 0.2rem;
}
#login-page {
    width:280px;
}
#login-page h4{
    font-weight: 600;
}
#login-page .card-panel{
    position: relative;
}
#login-page .dropdown-button{
    position: absolute;
    padding: 0 1rem;
    left: 0;
    background-color: #ff5722;
    z-index: 99;
}
body.view .dropdown-button{
    background-color: #ff5722;
}
#langs-dropdown a{
    color: #ff5722 !important;
    font-weight: 600;
    text-transform: uppercase;
}
#login-page img {
    height:100px !important;
}

.segmented-button{
    display:inline-flex;
}
.segmented-button .dropdown-segment{
    padding:0 1rem;
    margin-left:1px;
}
.segmented-button .dropdown-content{
    width: auto !important;
}
.dropdown-content li>a{
    display: flex;
}
.dropdown-content li>a>i{
    margin-right:10px;
}
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }

.col.divider{
    margin: 2rem 0;
}
.input-field .prefix {
    line-height: 3rem;
}
.append .input-field{
    margin-top:25px;
}
.clear-input{
    position: absolute;
    right: 10px;
    top: 16px;
    background-color: #ddd;
    width: 23px;
    height: 23px;
    padding: 0 7px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    z-index: 1;
}
.inline-inputs [type="radio"]+label{
    padding: 0 4px 0 23px;
}
a[disabled]{
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

a[disabled]:hover{
    background-color: inherit
}
a.status-1{
    color:#4caf50;
}
.btn-label {
    width: auto !important;
    pointer-events: all !important;
}
.btn-label .btn{
    float: right;
    height: 18px;
    line-height: 18px;
    padding: 0 1rem;
    margin: 0 10px;
}
.input-field .btn-floating.prefix {
    line-height: 37px;
    width: 37px;
}
.with-prefix {
    display: flex;
}
.input-field .input-prefix label{
    left: 0;
}
.input-field.with-prefix > label:not(.active){
    left: 3rem;
}
.switch label .lever:not(.right){
    margin:15px 5px;
    display: block;
}
nav#main {
    padding: 0 15px;
}
nav .brand-logo {
    display: flex;
}
nav .brand-logo svg{
	fill:#fff;
    height: 40px;
    margin: 12px 24px;
}
nav ul a, .side-nav a, .tabs .tab a {
    font-weight: 600;
    text-transform: uppercase;
}
.side-nav a {
    padding: 0 12px
}
.side-nav li.active{
    background-color:#64B5F6 !important;
    color: #fff;
}
nav ul a:hover {
    background-color:transparent;
}

nav ul li:hover {
    background-color:rgba(0,0,0,0.1);
}

nav ul .btn-flat {
    font-weight: 600;
    text-transform: uppercase;
    height: 64px;
    line-height: 64px;
    padding: 0px 15px;
    color: #fff;
    letter-spacing: normal;
}
badge{
    font-weight: 400;
    font-size: 0.8rem;
    color: #fff;
    background-color: #26a69a;
    border-radius: 2px;
    padding: 3px 6px;
    margin-left: 15px;
}
.badge-num {
    background: #4CAF50;
    border-radius: 50%;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    width: 26px;
    height: 26px;
    letter-spacing: -1px;
    line-height: 1.5em;
    top: 2px;
    right: 2px;
    border: 2px solid #fff;
    position: absolute;
    text-align: center;
    animation: pulse 1s 1;
}
.badge-num::after {
    content: '';
    position: absolute;
    top:-2px;
    left:-2px;
    border:2px solid rgba(76,175,80,0.8);
    opacity:0;
    border-radius: 50%;
    width:100%;
    height:100%;
    animation: sonar .4s 1;
}
@keyframes sonar {
    0% {transform: scale(.9); opacity:1;}
    100% {transform: scale(3);opacity: 0;}
}
@keyframes pulse {
    0% {transform: scale(1);}
    30% {transform: scale(1.5);}
    60% {transform: scale(0.9);}
    80% {transform: scale(1.1);}
    100% {transform: scale(1);}
}

nav .title{
    font-size: 2rem;
}
nav .nav-wrapper img {
    vertical-align: middle;
    margin-right: 15px;
    float:none !important;
    border: 2px solid;
}
nav .select-dropdown {
    border-bottom: 1px solid #fff !important;
}
nav .caret {
    color: #fff !important;
    top:0 !important;
    right:-10px !important;
}
nav .with-select{
    position: relative
}
nav .select-wrapper+label{
    top: auto;
    bottom: 4px;
    line-height: 0.8rem;
    color: #ddd;
}
nav .select-wrapper input.select-dropdown{
    min-width: 300px;
}

main {
    min-height: calc(100% - 134px);
}
main#dashboard {
    padding-top: 5px;
}
.stats.card {
    background-repeat: no-repeat;
    text-align: right;
}
.stats.card .card-action{
    text-align: center;
    padding: 10px;
}
.stats.card .card-title {
    font-weight: 600;
    font-size: 48px;
}

.radar.card .card-title i.left{
    line-height: 48px;
}

.prev{
    margin-left: 10px;
    position: relative;
}
.prev::before{
    content: "\025B4";
    font-size: 24px;
    color: #4caf50;
    position: absolute;
    top: -11px;
    left: -17px;
}
.prev.negative::before{
    content: "\025BE";
    color: #f44336;
    top: -7px;
}

.jqstooltip{
    border: none !important;
    box-sizing: content-box;
}
#card_tasks {
    background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150" viewBox="0 0 24 24"><path clip-rule="evenodd" d="M0 0h24v24H0z" fill="none"/><path fill="rgba(0,0,0,0.2)" d="M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z"/></svg>');
}
#card_invoices {
    background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path fill="rgba(0,0,0,0.2)" d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"/></svg>');
}
#card_payments {
    background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path fill="rgba(0,0,0,0.2)" d="M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"/></svg>');
}

.breadcrumbs {
    margin: 15px 0 0 0;
    padding: 0;
    list-style: none;
}
.breadcrumbs>li {
    display: inline-block;
}
.breadcrumbs>li+li::before {
    padding: 0 5px;
    color: #ccc;
    content: "/\00a0";
}

.side-nav a.btn:hover, .side-nav a.btn-large:hover, .side-nav a.btn-large:hover {
    background-color: rgba(0,0,0,0.1);
}

.progress {
    overflow: hidden;
}
.progress .progress-caption {
    position: absolute;
    top: -17px;
    font-size: 12px;
    white-space: nowrap;
}
.collection.attentions a{
    position: relative;
}
.collection.attentions .badge.new{
    font-weight: 700;
    position: absolute;
    right: 12px;
    float: none;
}
.collection.attentions .badge.new::after{
    content:'';
}
.collection.attentions .title{
    margin: 0 30px;
}
.collection.attentions .secondary-content{
    position: absolute;
    left: 12px;
    top: 5px;
    float: none;
}
.collection.attentions .secondary-content i{
    border-radius: 50%;
    padding: 6px;
    color: #fff;
    font-size: 18px;
}

.no-notifications{
    text-align: center;
    text-transform: uppercase;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.1);
    color: #999;
}
.collection.events{
    border: none;
}
.collection.events .secondary-content.btn-flat:hover{
    background-color: rgba(255, 0, 0, 0.4);
}
.collection.events .collection-item{
    padding: 5px 5px 5px 50px;
    height: auto;
    position: relative;
}
.collection.events .collection-item .content{
    line-height: 1.2rem;
    font-weight: 300;
    text-transform: none;
    color: #000;
    font-size: 12px;
    min-height: 34px;
}
.collection.events .collection-item::before {
    position: absolute;
    left: 0;
    font-size: 40px;
    font-family: 'Material Icons';
    font-style: normal;
    content: '\E887';
    min-height: 70px;
    line-height: 70px;
    color: #999;
}
.appnotificationsinvoiceoverdue::before{
    color: #F44336 !important;
    content:'\E000' !important;
}
.appnotificationseventapproved::before{
    color: #4CAF50 !important;
    content:'\E86C' !important;
}
.appnotificationsrecurringcreated::before{
    color: #4CAF50 !important;
    content:'\E147' !important;
}
.appnotificationseventupdated::before{
    color: #2196F3 !important;
    content:'\E88E' !important;
}
.events.collection .clear-notification{
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 5px;
    height: 30px;
    line-height: 30px;
}
.events.collection .clear-notification i{
    font-size: 1.4rem;
}
#notification_settings_form .collapsible-body {
    padding: 0 0 0 1rem;
}
.tabs .tab a {
    color: #4CAF50;
    padding: 0 10px;
}
.tabs .indicator {
    background-color: #4CAF50;
}
.tabs .tab a:hover {
    color: #81c784;
}
.tabs .tab a:hover, .tabs .tab a.active {
    color: #ff5722;
}

footer.page-footer {
    padding-top: 0px;
}
.chip{
    display: flex;
    white-space: nowrap;
}
.chip.paid, .status.badge.paid, .chip.attached, .chip.active{
    background-color: #4CAF50 !important;
}
.chip.open, .status.badge.open {
    background-color: #424242 !important;
}
.chip.advanced, .status.badge.advanced {
    background-color: #ff9800 !important;
}
.chip.credited, .status.badge.credited {
    background-color: #00bcd4 !important;
}
.chip.overdue, .status.badge.overdue, .status.badge.inactive {
    background-color: #F44336 !important;
}
.chip.issued, .status.badge.issued, .chip.completed, .chip.admin {
    background-color: #ffeb3b !important;
}
.chip.transfer, .chip.cash{
    background-color: transparent !important;
}

.chip-icon::before {
    font-family: 'Material Icons';
    float: left;
    margin: 0 8px 0 -12px;
    line-height: 32px;
    border-radius: 50%;
    font-size: 32px;
}
.chip-icon.paid::before, .chip-icon.attached::before {
    content:'\E263';
}
.chip-icon.open::before {
    content:'\E887';
}
.chip-icon.advanced::before {
    content:'\E924';
}
.chip-icon.overdue::before {
    content:'\E000';
}
.chip-icon.issued::before, .chip.completed::before, .chip.active::before {
    content:'\E86C';
}
.chip-icon.cash::before {
    content:'\E850';
}
.chip-icon.transfer::before {
    content:'\E84F';
}

.chip-icon.inactive::before {
    content:'\E15C';
}

.chip-icon.admin::before {
    content:'\E8D0';
}

.chip-icon.credited::before {
    content:'\E90A';
}

.status.badge{
    text-transform: uppercase;
    position: initial;
    margin: 0 10px 0 -12px;
    color: #fff;
    line-height: inherit;
    height: auto;
}

.paginate_button {
    height: 30px;
    vertical-align: top;
    font-size: 1.2rem;
    padding: 0 10px !important;
    line-height: 30px;
    border: none !important;
    position: relative;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    vertical-align: middle;
    z-index: 1;
    will-change: opacity, transform;
    transition: all .3s ease-out;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #4CAF50 !important;
    color: #fff !important;
}
.paginate_button.next, .paginate_button.previous {
    padding: 0 !important;
}
.paginate_button i {
    font-size: 2rem;
}
.paginate_button:not(.current):hover {
    background: rgba(0,0,0,0.05) !important;
}
.paginate_button.disabled:hover {
    background: initial !important;
    color: initial !important;
}
table.dataTable.no-footer{
    border:none;
}
table.responsive-table .btn {
    display: inline-flex;
}
table td, table th {
    text-align: center !important;
}
table.responsive-table [type="checkbox"] + label {
    padding-left: 12.5px;
    height: 18px;
    line-height: 18px;
}
table.dataTable tfoot th, table.dataTable tfoot td {
    border-top: none;
}
tfoot td{
    border-radius: 0;
}
tfoot input{
    text-align: right;
}
tfoot label{
    text-align: right;
    right: 0.75rem;
}
.row-actions{
    font-size: 12px;
    max-height: 0;
    margin-bottom: -4px;
    overflow-y: hidden;
}
.row-actions a + a::before {
    content: " | ";
}
table.dataTable tr:hover .row-actions{
    transition-property: all;
    transition-duration: .5s;
    transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
    max-height: 18px;
}
.fc-toolbar .fc-center>div{
    display: flex;
}
td.fc-day.fc-past {
    background-color: #f5f5f5;
}
.fc-event{
    overflow: visible;
}
.fc-event::before, .fc-event::after, .fc-list-item .fc-list-item-time::before, .fc-list-item .fc-list-item-title::after{
    font-family: 'Material Icons';
    font-size: 30px;
    left: -5px;
    top: -15px;
    position: absolute;
    z-index: 1;
}
.fc-event.approved::before, .fc-list-item.approved .fc-list-item-time::before{
    content: "\E5CA";
    color: #76ff03;
}
/* SMS status */
.fc-event.approved.sms-sent::before, .fc-list-item.approved.sms-sent .fc-list-item-time::before{
    content: "\E877";
}
.fc-event.approved.sms-sent.error::before, .fc-list-item.approved.sms-sent.error .fc-list-item-time::before,
.fc-event.approved.sms-sent.failed::before, .fc-list-item.approved.sms-sent.failed .fc-list-item-time::before{
    color: #ff1744;
}
.fc-event.approved.sms-sent.pending::before, .fc-list-item.approved.sms-sent.pending .fc-list-item-time::before{
    color: #424242;
}
.fc-event.approved.sms-sent.queued::before, .fc-list-item.approved.sms-sent.queued .fc-list-item-time::before{
    color: #ffea00;
}
.fc-event.approved.sms-sent.sent::before, .fc-list-item.approved.sms-sent.sent .fc-list-item-time::before{
    color: #2979ff ;
}
/* -------- */
.fc-event.waiting::before, .fc-list-item.waiting .fc-list-item-time::before{
    content: "\E645";
    color: #d500f9;
}
.fc-event.absent::before, .fc-list-item.absent .fc-list-item-time::before{
    content: "\E14C";
    color: #ff1744;
}
.fc-event::after, .fc-list-item .fc-list-item-title::after{
    left:auto;
    right:-5px;
}
.fc-event.own::after, .fc-list-item.own .fc-list-item-title::after{
    content: "\E83A";
    color: #ffea00;
}
.fc-list-item{
    cursor: pointer;
}
.fc-list-item-time, .fc-list-item-title{
    position: relative;
}
.collapsible-header{
    position: relative;
}
.collapsible-header::before{
    content: "\025BE";
    font-size: 29px;
    right: 10px;
    position: absolute;
}
.collapsible-header.active::before{
    content: "\025B4";
}
.collapse-head{
    cursor: pointer;
}
.collapse-head.active{
    background-color: #d0d0d0 !important;
}
.collapse-head td i:before{
    content:"\E5CF";
}
.collapse-head.active td i:before{
    content:"\E5CE";
}
.collapse-body{
    background: #d0d0d0;
}
.collapse-body tr{
    background-color: #f2f2f2;
}
.collapsible-body{
    padding: 0;
}
.can-expand{
    max-height: 200px;
    -moz-transition: 1s;
    -ms-transition: 1s;
    -o-transition: 1s;
    -webkit-transition: 1s;
    transition: 1s;
    margin-bottom: 15px;
}
.truncate{
    max-height: 21px;
    cursor: pointer;
}
.truncate:hover{
    border-bottom: 1px dashed;
}
.client-sms-notifications{
    box-shadow: none;
}
.client-sms-notifications .collapsible-body{
    padding: 5px 10px;
}
#notification_settings_form .collapsible-body{
    padding: 0 0 0 1rem;
}
.input-field label{
    width: 100%;
    left:0 !important;
    padding-left: 0.75em;
    text-align: left;
}
[type="checkbox"]+label {
    padding-left: 25px;
}
input.invalid ~ label::after {
    font-size: 0.8rem !important;
}
input.invalid ~ label:not(.active)::after {
    font-size: 0.8rem !important;
    -webkit-transform: translateY(-140%) !important;
    transform: translateY(-140%) !important;
}
.select-wrapper.invalid input{
    border-bottom: 1px solid #F44336;
    box-shadow: 0 1px 0 0 #F44336;
}
.select-wrapper + label, .datepicker ~ label{
    width: 100%;
    pointer-events: none;
    /*top: -11px;*/
}
.select-wrapper + label::after, .datepicker ~ label::after{
    display: block;
    content: "";
    position: absolute;
    top: 60px;
    opacity: 0;
    transition: .2s opacity ease-out, .2s color ease-out;
}
.select-wrapper.invalid + label::after, .datepicker.invalid ~ label::after{
    content: attr(data-error);
    color: #F44336;
    opacity: 1;
}
.select2-selection .material-icons{
    margin: 8px 4px 0 0;
}
.select2-results .material-icons{
    margin: -4px 4px 0 0;
}
.new-color{
    display: none;
}
.modal.modal-fixed-footer .modal-footer {
    display: flex;
    justify-content: space-around;
}

.view-head{
    margin:10px 0;
    line-height:26px;
    height:56px;
    background-color: #009688 !important;
}
.view-head.buyer{
    margin:40px 0 10px 0;
    padding-left: 10px;
    line-height:56px;
    height:56px;
    background-color: #009688 !important;
}
.view-head .nav-wrapper .badge{
    height: 56px;
    line-height: 56px;
    margin: 0 20px 0 0;
    padding: 0 10px;
}
.view-head .nav-wrapper{
    font-size: 18px;
}
.view-head .nav-wrapper strong{
    font-size: 26px;
}
body.view tfoot, body.pdf tfoot{
    border-top: 4px solid #009688;
}
.editable-container.editable-inline, .editable-input{
    display: block;
    width: 100%;
}
.editable-buttons{
    display: none;
}
.editable-clear-x{
    top: 0;
    right: 0;
    margin-top: 0;
}
.editable-input input{
    padding-right: 0 !important;
}
.editable-input textarea{
    min-height: 5.4em;
}
.sp-replacer {
    margin: 10px 0;
}
.sp-palette {
    max-width: 280px;
}
/* Material FUllCalendar */
.fc-time-grid-event.fc-v-event.fc-event {
    border-radius: 4px;
    border: none;
    padding: 5px;
    left: 5% !important;
    right: 5% !important;
}
.fc-event {
    font-size: inherit !important;
    font-weight: bold !important;
}
.fc-event .fc-bg {
    z-index: 1 !important;
    background: inherit !important;
    opacity: .25 !important;
}
.fc-time-grid-event .fc-time {
    font-weight: normal !important;
}
.fc-ltr .fc-h-event.fc-not-end, .fc-rtl .fc-h-event.fc-not-start {
    opacity: .65 !important;
    margin-left: 12px !important;
    padding: 5px! important;
}
.fc-day-grid-event.fc-h-event.fc-event.fc-not-start.fc-end {
    opacity: .65 !important;
    margin-left: 12px !important;
    padding: 5px! important;
}
.fc h2 {
    font-size: 25px;
    color: #666;
}
.fc-day-top, .fc-agendaWeek-view .fc-day-header {
    cursor: pointer;
}
.fc-day-top:hover, .fc-agendaWeek-view .fc-day-header:hover {
    background-color: #F44336 !important;
    color: #fff;
}
#external-events .ui-draggable{
    cursor: move;
    margin: 4px;
    background-color: #bac3d0;
    padding: 2px 5px;
    border: none;
}
.fc button {
    text-transform: uppercase;
    font-size: 12px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    text-shadow: none;
    border: 0 #ddd;
    height: 35px;
    padding: 5px 8px 8px;
    margin-left: 2px;
    background: 0 0;
    color: #666;
    outline: 0!important;
    -webkit-border-radius: 2px 2px 0 0;
    -moz-border-radius: 2px 2px 0 0;
    -ms-border-radius: 2px 2px 0 0;
    -o-border-radius: 2px 2px 0 0;
    border-radius: 2px 2px 0 0;
    border-style: none solid;
}
.fc .fc-button-group>* {
    float: left;
    margin: 0 0 0 -1px;
}
.fc-toolbar button {
    position: relative;
}
.fc button {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    height: 2.1em;
    padding: 0 .6em;
    font-size: 1em;
    white-space: nowrap;
    cursor: pointer;
}
.fc-state-default {
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(top,#fff,#e6e6e6);
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));
    background-image: -webkit-linear-gradient(top,#fff,#e6e6e6);
    background-image: -o-linear-gradient(top,#fff,#e6e6e6);
    background-image: linear-gradient(to bottom,#fff,#e6e6e6);
    background-repeat: repeat-x;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);
    color: #333;
    text-shadow: 0 1px 1px rgba(255,255,255,.75);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);
}

.fc-state-default {
    border: 1px solid;
}
.fc-button.fc-state-active, .fc-button.fc-state-hover {
    color: #333;
    border-bottom: 2px solid #36c6d3;
}
.profile-avatar{
    position: relative;
}
.profile-avatar #avatar{
    max-width: 100%;
}
.avatar-actions{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
.avatar-actions a{
    margin: 0 10px;
}
/* Timer animation */
.timer {
    position: relative;
    margin: 20px auto;
    background: white;
    width: 88px;
    height: 88px;
    box-sizing: content-box;
    transform: rotateY(180deg)
}

.timer::after {
    content: "";
    position: absolute;
    border: 4px solid #08C;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    z-index: 1000;
    animation: full-timer 1s forwards;
    animation-delay: 15s;
    left: 0;
}

.timer .pie {
    width: 50%;
    height: 100%;
    transform-origin: 100% 50%;
    position: absolute;
    background: #08C;
    box-sizing: border-box;
}

.timer .spinner {
    border-radius: 100% 0 0 100% / 50% 0 0 50%;
    z-index: 200;
    border-right: none;
    animation: rota-timer 15s linear;
    box-sizing: border-box;
}

.timer .filler {
    border-radius: 0 100% 100% 0 / 0 50% 50% 0;
    left: 50%;
    opacity: 0;
    z-index: 100;
    animation: opa-timer 15s step-end;
    border-left: none;
    box-sizing: border-box;
}

.timer .mask {
    width: 50%;
    height: 100%;
    position: absolute;
    background: inherit;
    opacity: 1;
    box-sizing: border-box;
    z-index: 300;
    animation: opa-timer 15s step-end reverse;
}
.timer .sa-line {
    position: absolute;
    height: 5px;
    width: 47px;
    background-color: #F27474;
    display: block;
    top: 41px;
    border-radius: 2px;
}
.timer .sa-line.sa-right {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    right: 20px;
}
.timer .sa-line.sa-left {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    left: 21px;
}
.timer .sa-x-mark {
    position: relative;
    display: block;
    z-index: 1000;
    animation: xmark-timer 0.7s forwards;
    transform: rotateY(-90deg);
    animation-delay: 15.3s;
}
@keyframes rota-timer {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}
@keyframes opa-timer {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

@keyframes full-timer {
    0% {
    }
    100% {
        transform: rotateY(180deg);
        border-color: #F27474;
    }
}
@keyframes xmark-timer {

    100% {
        transform: rotateY(-180deg);
    }
}

@media only screen and (max-width: 1280px) {
    .responsive-icons span {
        display: none;
    }
    .responsive-icons .left {
        margin-right: 0;
    }
}
@media only screen and (max-width: 992px) {
    .container nav .brand-logo {
        display: block;
        position: relative;
        float: left;
        left: 0;
        transform: initial;
        font-size: 22px;
    }
    #external-events .ui-draggable{
        display: inline-block;
    }
    nav .hide-on-small-and-down i.material-icons.left{
        margin-right: 0;
    }
    table.responsive-table th {
        width: auto;
    }
    .datatable.responsive-table td {
        height: auto;
        padding: 10px 18px !important;
    }
    table.datatable tfoot tr{
        display: flex;
        min-height: 100px;
    }
    table:not(.responsive-table) i.left {
        margin-right: 0;
    }
    table.datatable .btn {
        margin-top: -4px;
    }

    .view-head .nav-wrapper{
        font-size: 12px;
    }
    body.view h3{
        font-size: 28px;
    }
    .view-head .nav-wrapper strong{
        font-size: 17px;
    }
    body.view tfoot, body.view tfoot tr{
        display: block;
        padding: 0;
    }
    body.view tfoot td{
        float: left;
        width: 50%;
    }
}
@media only screen and (min-width: 993px) {
    .container {
        width: 85%;
    }
    .inline-inputs [type="radio"]+label{
        padding: 0 30px;
    }
    table td.left-align, table th.left-align {
        text-align: left !important;
    }
}
@media only screen and (min-width: 601px) {
    .container {
        width: 90%;
    }
    body.view .col.contacts {
        float:right !important;
        text-align: right !important;
    }
    .responsive-actions{
        display: none;
    }
}
@media only screen and (max-width: 600px) {
    main {
        min-height: calc(100% - 126px);
    }
    .modal{
        width: 95%;
        max-height: 100%;
        top:5% !important;
    }
    .modal.modal-fixed-footer {
        height: 90%;
    }
    nav .brand-logo svg {
        height: 34px;
        margin: 11px 22px;
    }
    body.view {
        background-color: #fff;
    }
    body.view .card-panel {
        padding: 2px;
        margin:0;
        box-shadow: none;
    }
    .view-head.buyer {
        margin: 10px 0 10px 0;
    }
    .view-head.summary {
        margin: 10px 0 0 0;
    }

    table.responsive-table tbody{
        white-space: normal;
    }
    table.responsive-table thead{
        display: none;
    }
    table.responsive-table tfoot{
        display: block;
    }
    table.responsive-table tfoot{
        display: block;
    }
    table.responsive-table tbody tr{
        display: block;
        position: relative;
        box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
        margin: 1rem;
        transition: box-shadow .25s;
        border-radius: 2px;
        overflow: hidden;
    }
    table.responsive-table tbody tr.collapse-head.active{
        margin-bottom: 0;
    }

    table.responsive-table tbody tr.collapse-body{
        margin-top: 0;
        box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2)
    }

    .datatable.responsive-table td {
        padding: 5px 10px !important;
    }
    .responsive-table td>a.btn {
        width: 40px;
        height: 40px;
        line-height: 40px;
        padding: 0;
        border-radius: 50%;
        display: inline-block;
        position: absolute;
        right:5px;
        bottom: 5px;
    }
    .responsive-table td>a.btn>i.left {
        float: none !important;
        margin:0;
    }
    .chip {
        display: inline-block;
    }

    .fixed-action-btn{
        right: calc(50% - 28px);
        bottom: 10px;
    }
    .fixed-action-btn.secondary{
        right: calc(50% + 56px);
    }
    .responsive-actions{
        position: absolute;
        bottom: 0px;
        right: -28px;
        left: auto;
        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        -o-transition: all .3s ease;
        -ms-transition: all .3s ease;
        transition: all .3s ease;
    }
    .responsive-actions.active{
        right: -67px;
    }

    .responsive-actions.fixed-action-btn.horizontal ul li {
        margin: 9px 5px 0 0 !important;
    }

    nav .title {
        font-size: 1.5rem;
    }
    .radar.card .card-title {
        font-size: 18px;
    }

    .fc .fc-toolbar>*, .fc .fc-toolbar>*>:first-child{
        float: none;
    }
    /* Responsive tables configuration */
    #table_invoices td:nth-child(1), #invoices td:nth-child(1), #tasks td:nth-child(1), #table_tasks td:nth-child(1), #table_recurrings td:nth-child(1), #table_payments td:nth-child(1), #payments td:nth-child(1), #table_users td:nth-child(1), #items .collapse-body td:nth-child(1){
        float:left;
        margin-bottom: -17px;
    }
    #table_invoices td:nth-child(2), #invoices td:nth-child(2), #tasks td:nth-child(2), #table_tasks td:nth-child(2), #table_recurrings td:nth-child(2), #table_payments td:nth-child(2), #payments td:nth-child(2), #table_users td:nth-child(3){
        float:right;
    }
    #table_invoices td:nth-child(3), #invoices td:nth-child(3), #tasks td:nth-child(3), #table_tasks td:nth-child(3), #table_users td:nth-child(2), #table_users td:nth-child(4), #table_users td:nth-child(5){
        float:left;
    }
    #table_invoices td:nth-child(4), #invoices td:nth-child(4), #tasks td:nth-child(4), #table_tasks td:nth-child(4), #table_clients td:nth-child(1), #table_users td:nth-child(1), #items>tbody>tr:not(.collapse-body)>td:nth-child(1), #items>tbody>tr:not(.collapse-body)>td:nth-child(1), #table_recurrings td:nth-child(3), #table_payments td:nth-child(3), #payments td:nth-child(3), #items .collapse-body td:nth-child(2){
        clear:both;
        font-size: 20px;
        float:none;
    }
    #table_invoices td:nth-child(5) .left-align, #table_clients td:nth-child(1) .left-align, #tasks td:nth-child(4) .left-align, #table_tasks td:nth-child(4) .left-align, #items>tbody>tr:not(.collapse-body)>td:nth-child(1) .left-align{
        text-align: center !important;
    }
    #table_invoices td:nth-child(7), #invoices td:nth-child(6), #table_clients td:nth-child(8){
        display: none;
    }
    #table_clients td:nth-child(5), #table_clients td:nth-child(6), #table_clients td:nth-child(7), #items>tbody>tr:not(.collapse-body)>td:nth-child(2), #items>tbody>tr:not(.collapse-body)>td:nth-child(3), #items>tbody>tr:not(.collapse-body)>td:nth-child(4), #items>tbody>tr:not(.collapse-body)>td:nth-child(5), #items>tbody>tr:not(.collapse-body)>td:nth-child(6), #items .collapse-body td:nth-child(3), #items .collapse-body td:nth-child(4), #items .collapse-body td:nth-child(5){
        float:left;
        padding: 5px 0 !important;
    }
    #items>tbody>tr:not(.collapse-body)>td:nth-child(2)::after{
        content: '';
        margin: 0 1px;
    }
    #items>tbody>tr:not(.collapse-body)>td:nth-child(3)::after, #items .collapse-body td:nth-child(3)::after{
        content: 'x';
        margin: 0 5px;
    }
    #table_clients td:nth-child(5)::after, #items>tbody>tr:not(.collapse-body)>td:nth-child(4)::after{
        content: '-';
        margin: 0 5px;
    }
    #table_clients td:nth-child(6)::after, #items>tbody>tr:not(.collapse-body)>td:nth-child(5)::after, #items .collapse-body td:nth-child(4)::after{
        content: '=';
        margin: 0 5px;
    }
    #tasks td:nth-child(6), #table_tasks td:nth-child(7), #table_recurrings td:nth-child(5), #table_payments td:nth-child(6), #payments td:nth-child(4), #table_users td:nth-child(6){
        padding: 0 !important;
        min-height: 0;
    }
    td.dataTables_empty{
        float:none !important;
        margin: auto !important;
        font-size: inherit !important;
    }
    /* End of Responsive tables configuration */
}