﻿@import url('libs/material-design-iconic-font/css/material-design-iconic-font.min.css');

ul li {
    list-style: none;
}

.fabs {
    bottom: 0;
    position: fixed;
    margin: 1em;
    right: 0;
    z-index: 998;
}

.fab {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    color: #f0f0f0;
    margin: 20px auto 0;
    -ms-box-shadow: 0 0 4px rgba(0, 0, 0, .14), 0 4px 8px rgba(0, 0, 0, .28);
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, .14), 0 4px 8px rgba(0, 0, 0, .28);
    -moz-box-shadow: 0 0 4px rgba(0, 0, 0, .14), 0 4px 8px rgba(0, 0, 0, .28);
    box-shadow: 0 0 4px rgba(0, 0, 0, .14), 0 4px 8px rgba(0, 0, 0, .28);
    cursor: pointer;
    -webkit-transition: all .1s ease-out;
    transition: all .1s ease-out;
    position: relative;
    z-index: 998;
    overflow: hidden;
    background: #00aeef;
}

    .fab .processing_total {
        position: absolute;
        top: 9px;
        right: 12px;
        background-color: red;
        width: 16px;
        height: 16px;
        line-height: 16px;
        text-align: center;
        border-radius: 50%;
        font-size: 11px;
    }

    .fab > i {
        font-size: 1.5em;
        line-height: 55px;
        -webkit-transition: all .2s ease-out;
        -webkit-transition: all .2s ease-in-out;
        transition: all .2s ease-in-out;
    }

    .fab:not(:last-child) {
        width: 0;
        height: 0;
        margin: 20px auto 0;
        opacity: 0;
        visibility: hidden;
        line-height: 40px;
    }

        .fab:not(:last-child) > i {
            font-size: 1.4em;
            line-height: 40px;
        }

        .fab:not(:last-child).is-visible {
            width: 40px;
            height: 40px;
            margin: 15px auto 10px;
            opacity: 1;
            visibility: visible;
        }

    .fab:nth-last-child(1) {
        -webkit-transition-delay: 25ms;
        transition-delay: 25ms;
    }

    .fab:not(:last-child):nth-last-child(2) {
        -webkit-transition-delay: 20ms;
        transition-delay: 20ms;
    }

    .fab:not(:last-child):nth-last-child(3) {
        -webkit-transition-delay: 40ms;
        transition-delay: 40ms;
    }

    .fab:not(:last-child):nth-last-child(4) {
        -webkit-transition-delay: 60ms;
        transition-delay: 60ms;
    }

    .fab:not(:last-child):nth-last-child(5) {
        -webkit-transition-delay: 80ms;
        transition-delay: 80ms;
    }

.fab(:last-child):active,
.fab(:last-child):focus,
.fab(:last-child):hover {
    -o-box-shadow: 0 0 6px rgba(0, 0, 0, .16), 0 6px 12px rgba(0, 0, 0, .32);
    -ms-box-shadow: 0 0 6px rgba(0, 0, 0, .16), 0 6px 12px rgba(0, 0, 0, .32);
    -moz-box-shadow: 0 0 6px rgba(0, 0, 0, .16), 0 6px 12px rgba(0, 0, 0, .32);
    -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, .16), 0 6px 12px rgba(0, 0, 0, .32);
    box-shadow: 0 0 6px rgba(0, 0, 0, .16), 0 6px 12px rgba(0, 0, 0, .32);
}
/*Chatbox*/

.process {
    position: fixed;
    right: 50px;
    bottom: 70px;
    width: 400px;
    font-size: 12px;
    line-height: 22px;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    display: none;
    -moz-box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
    -ms-box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
    -o-box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -o-border-radius: 10px;
    -ms-border-radius: 10px;
    border-radius: 10px;
    -webkit-transition: all .2s ease-out;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

    .process.process_fullscreen {
        border-radius: 0;
    }

.process_fullscreen {
    position: fixed;
    right: 0px;
    bottom: 0px;
    top: 0px;
}

.process_header {
    /* margin: 10px; */
    font-size: 13px;
    font-weight: 500;
    color: #f3f3f3;
    height: 35px;
    background: #00aeef;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    line-height: 35px;
    padding-left: 10px;
}

.process_fullscreen .process_header {
    /* margin: 10px; */
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.process_header .span {
    float: right;
}

.process_close {
    cursor: pointer;
    font-size: 14px;
    position: absolute;
    top: -10px;
    right: -9px;
    color: white;
    background-color: #000;
    height: 22px;
    width: 22px;
    line-height: 22px;
    text-align: center;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    font-weight: 600;
}

.process.is-visible {
    display: block;
    -webkit-animation: taskZoomIn .2s cubic-bezier(.42, 0, .58, 1);
    -ms-animation: taskZoomIn .2s cubic-bezier(.42, 0, .58, 1);
    -moz-animation: taskZoomIn .2s cubic-bezier(.42, 0, .58, 1);
    -o-animation: taskZoomIn .2s cubic-bezier(.42, 0, .58, 1);
    animation: taskZoomIn .2s cubic-bezier(.42, 0, .58, 1);
}

.is-hide {
    display: none;
}

.process_option {
    float: left;
    font-size: 13px;
    list-style: none;
    position: relative;
    height: 100%;
    width: 100%;
    margin-right: 10px;
    letter-spacing: 0.5px;
    font-weight: 400;
    text-transform: uppercase;
}

.process_color {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 10px;
    float: left;
}

.process_body {
    background: #fff;
    width: 100%;
    display: inline-block;
    text-align: center;
    overflow-y: auto;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    max-height: 300px;
}

.process_fullscreen .process_body {
    /* margin: 10px; */
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

.process_login p {
    -webkit-animation: taskZoomIn .5s cubic-bezier(.42, 0, .58, 1);
    -ms-animation: taskZoomIn .5s cubic-bezier(.42, 0, .58, 1);
    -webkit-animation: taskZoomIn .5s cubic-bezier(.42, 0, .58, 1);
    -o-animation: taskZoomIn .5s cubic-bezier(.42, 0, .58, 1);
    -moz-animation: taskZoomIn .5s cubic-bezier(.42, 0, .58, 1);
    animation: taskZoomIn .5s cubic-bezier(.42, 0, .58, 1);
}

.process_body p {
    padding: 20px;
    color: #888
}

.process_body a {
    width: 10%;
    text-align: center;
    border: none;
    box-shadow: none;
    line-height: 40px;
    font-size: 15px;
}

.process_field {
    position: relative;
    margin: 5px 0 5px 0;
    width: 50%;
    font-size: 12px;
    line-height: 30px;
    font-weight: 500;
    color: #4b4b4b;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -ms-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    font-smoothing: antialiased;
    border: none;
    outline: none;
    display: inline-block;
}

.process_list {
    padding-left: 0;
    list-style: none;
    text-align: left;
    margin: 0;
}

    .process_list .process_list_item {
        position: relative;
        padding: 8px 10px;
        border-top: 1px solid #f1f1f1;
    }

    .process_list .task-name {
        color: #999;
    }

        .process_list .task-name b {
            color: #333;
            font-weight: 600;
        }

    .process_list .task-status {
        position: absolute;
        top: 50%;
        margin-top: -10px;
        right: 10px;
    }

        .process_list .task-status.success {
            color: #49a049;
            font-size: 18px !important;
            right: 12px;
        }

/*Element state*/

.is-active {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}

.is-float {
    -moz-box-shadow: 0 0 6px rgba(0, 0, 0, .16), 0 6px 12px rgba(0, 0, 0, .32);
    -ms-box-shadow: 0 0 6px rgba(0, 0, 0, .16), 0 6px 12px rgba(0, 0, 0, .32);
    -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, .16), 0 6px 12px rgba(0, 0, 0, .32);
    -o-box-shadow: 0 0 6px rgba(0, 0, 0, .16), 0 6px 12px rgba(0, 0, 0, .32);
    box-shadow: 0 0 6px rgba(0, 0, 0, .16), 0 6px 12px rgba(0, 0, 0, .32);
}

.is-loading {
    display: block;
    -webkit-animation: taskLoad 1s cubic-bezier(0, .99, 1, 0.6) infinite;
    animation: taskLoad 1s cubic-bezier(0, .99, 1, 0.6) infinite;
}
/*Animation*/

@-webkit-keyframes taskZoomIn {
    0% {
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -o-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
        opacity: 0.0;
    }

    100% {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -o-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes taskZoomIn {
    0% {
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -o-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
        opacity: 0.0;
    }

    100% {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -o-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}

@-webkit-keyframes taskLoad {
    0% {
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -o-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
        opacity: 0.0;
    }

    50% {
        -webkit-transform: scale(1.5);
        -moz-transform: scale(1.5);
        -o-transform: scale(1.5);
        -ms-transform: scale(1.5);
        transform: scale(1.5);
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -o-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes taskLoad {
    0% {
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -o-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
        opacity: 0.0;
    }

    50% {
        -webkit-transform: scale(1.5);
        -moz-transform: scale(1.5);
        -o-transform: scale(1.5);
        -ms-transform: scale(1.5);
        transform: scale(1.5);
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -o-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
        opacity: 0;
    }
}
/* SMARTPHONES PORTRAIT */

@media only screen and (min-width: 300px) {
    .process {
        width: 250px;
    }
}
/* SMARTPHONES LANDSCAPE */

@media only screen and (min-width: 480px) {
    .process {
        width: 300px;
    }

    .process_field {
        width: 65%;
    }
}
/* TABLETS PORTRAIT */

@media only screen and (min-width: 768px) {
    .process {
        width: 300px;
    }

    .process_field {
        width: 65%;
    }
}
/* TABLET LANDSCAPE / DESKTOP */

@media only screen and (min-width: 1024px) {
    .process {
        width: 300px;
    }

    .process_field {
        width: 65%;
    }
}
/*Color Options*/

.blue .fab {
    background: #00aeef;
    color: #fff;
}

.blue .process {
    background: #00aeef;
    color: #999;
}

/* Ripple */

.ink {
    display: block;
    position: absolute;
    background: rgba(38, 50, 56, 0.4);
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
    border-radius: 100%;
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -webkit-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
}
    /*animation effect*/

    .ink.animate {
        -webkit-animation: ripple 0.5s ease-in-out;
        -ms-animation: ripple 0.5s ease-in-out;
        -moz-animation: ripple 0.5s ease-in-out;
        -o-animation: ripple 0.5s ease-in-out;
        animation: ripple 0.5s ease-in-out;
    }

@-webkit-keyframes ripple {
    /*scale the element to 250% to safely cover the entire link and fade it out*/
    100% {
        opacity: 0;
        -moz-transform: scale(5);
        -ms-transform: scale(5);
        -webkit-transform: scale(5);
        -o-transform: scale(5);
        transform: scale(5);
    }
}

@keyframes ripple {
    /*scale the element to 250% to safely cover the entire link and fade it out*/
    100% {
        opacity: 0;
        -moz-transform: scale(5);
        -ms-transform: scale(5);
        -webkit-transform: scale(5);
        -o-transform: scale(5);
        transform: scale(5);
    }
}

/* loader **/
.lds-ring {
    display: inline-block;
    position: relative;
    width: 20px;
    height: 20px;
}

    .lds-ring div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 16px;
        height: 16px;
        margin: 2px;
        border: 2px solid #ccc;
        -webkit-border-radius: 50%;
        -ms-border-radius: 50%;
        -moz-border-radius: 50%;
        -o-border-radius: 50%;
        border-radius: 50%;
        -moz-animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        -webkit-animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        -ms-animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        -o-animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: #ccc transparent transparent transparent;
    }

        .lds-ring div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .lds-ring div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .lds-ring div:nth-child(3) {
            animation-delay: -0.15s;
        }

@keyframes lds-ring {
    0% {
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
