/* container for button, used in <form /> ... */
.btn-container {
    text-align: right;
    margin: 20px auto 5px;
    width: 100%;
    padding: 0;
}
.btn-container:after,
.btn-container:before {
    display: table;
    content: " "
}
.btn-container:after {
    clear: both;
}

.btn-container .button-delete,
.btn-container .btn-delete {
    float: left;
}

/* buttons */
.btn {
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    border-radius: var(--rounded);
    border: 0px solid transparent;
    text-transform: uppercase;
    text-decoration: none !important;
    position: relative;
    background-color: #9E9E9E;
    color: #9E9E9E;
    cursor: pointer;
    display: inline-block;
    margin: 0 4px;
    padding: 0;
    font-size: 16px;
    overflow: hidden; /* contains the click effect */
    vertical-align: middle;
    /* height: var(--height); */
    line-height: 22px;
}
.btn:focus {
    outline: 0 !important;
}

.btn-group .btn {
    margin-right: 0;
}
.btn.btn-ico {
    padding: 0 !important;
    /* padding-left: 8px !important; */
    height: var(--height);
    width: var(--height);
    text-align: center;
}

.btn.btn-ico .ico {
    margin: 0 auto;
}

/**
 * Size
 */
.btn-dense {
    font-size: 0.9rem;
    height: var(--height-tiny);
}
.btn.btn-dense.btn-ico {
    width: var(--height-tiny);
    height: var(--height-tiny);
    padding: 3px !important;
}
.btn.btn-dense.btn-ico .ico {
    width: 18px;
    height: 18px;
}

.btn.btn-large {
    height: var(--height-big);
}

.btn-round {
    border-radius: 60px !important;
}

.btn.btn-large.btn-ico {
    width: var(--height-big);
    padding: 3px !important;
}
/*
.btn.btn-large.btn-ico .ico {
    width: calc(var(--height-big) - 6px);
    height: calc(var(--height-big) - 6px);
}
*/
.input-large .btn,
.btn-large {
    font-size: 1.4rem;
    line-height: 1.4rem;
}

.btn-float {
    border-radius: 50%;
    height: 60px;
    width: 60px;
    line-height: 60px;
}
.btn-float.btn-dense {
    height: 50px;
    width: 50px;
    line-height: 50px;
}
.btn-float.btn-large {
    height: 70px;
    width: 70px;
    line-height: 70px;
}

/* force padding */
.btn {
    padding: 8px 16px !important;
}
.btn-dense {
    padding: 4px 8px !important;
}
.input-large .btn, .btn-large {
    padding: 11px 22px !important;
}


/**
 * colors and actions
 */
.btn:hover,
.btn:focus {
    background-color: #616161;
    color: #616161;
    outline-color: #616161;
}


.btn-blue,
.btn-submit {
    background-color: var(--blue-default);
    color: var(--blue-default);
}
    .btn-blue:hover,
    .btn-submit:hover {
        background-color: var(--blue-hover);
    }

    .btn-blue:focus,
    .btn-submit:focus {
        background-color: var(--blue-focus);
    }

    .btn-blue.btn-flat:hover,
    .btn-submit.btn-flat:hover {
        color: var(--blue-hover);
    }

    .btn-blue.btn-flat:focus,
    .btn-submit.btn-flat:focus {
        color: var(--blue-focus);
    }

    .btn-blue.btn-flat:active,
    .btn-submit.btn-flat:active {
        color: var(--blue-active);
    }


.btn-green {
    background-color: var(--green-default);
    color: var(--green-default);
}
    .btn-green:hover {
        background-color: var(--green-hover);
    }
    .btn-green:focus {
        background-color: var(--green-focus);
    }
    .btn-green.btn-flat {
        color: var(--green-default);
    }
    .btn-green.btn-flat:hover
    {
        color: var(--green-hover);
    }
    .btn-green.btn-flat:focus
    {
        color: var(--green-focus);
    }
    .btn-green.btn-flat:active
    {
        color: var(--green-active);
    }


.btn-orange {
    background-color: var(--orange-default);
    color: var(--orange-default);
}
    .btn-orange:hover {
        background-color: var(--orange-hover);
    }
    .btn-orange:focus {
        background-color: var(--orange-focus);
    }
    .btn-orange.btn-flat {
        color: var(--orange-default);
    }
    .btn-orange.btn-flat:hover
    {
        color: var(--orange-hover);
    }
    .btn-orange.btn-flat:focus
    {
        color: var(--orange-focus);
    }
    .btn-orange.btn-flat:active
    {
        color: var(--orange-active);
    }


.btn-deepPurple,
.btn-info {
    background-color: var(--deeppurple-default);
    color: var(--deeppurple-default);
}
    .btn-deepPurple:hover,
    .btn-info:hover {
        background-color: var(--deeppurple-hover);
    }

    .btn-deepPurple:focus,
    .btn-info:focus {
        background-color: var(--deeppurple-focus);
    }

    .btn-deepPurple.btn-flat:hover,
    .btn-info.btn-flat:hover {
        color: var(--deeppurple-hover);
    }

    .btn-deepPurple.btn-flat:focus,
    .btn-info.btn-flat:focus {
        color: var(--deeppurple-focus);
    }

    .btn-deepPurple.btn-flat:active,
    .btn-info.btn-flat:active {
        color: var(--deeppurple-active);
    }


.btn-red,
.btn-error,
.btn-delete {
    background-color: var(--red-default);
    color: var(--red-default);
}
    .btn-red:hover,
    .btn-error:hover,
    .btn-delete:hover {
        background-color: var(--red-hover);
    }

    .btn-red:focus,
    .btn-error:focus,
    .btn-delete:focus {
        background-color: var(--red-focus);
    }

    .btn-red.btn-flat:hover,
    .btn-error.btn-flat:hover,
    .btn-delete.btn-flat:hover {
        color: var(--red-hover);
    }

    .btn-red.btn-flat:focus,
    .btn-error.btn-flat:focus,
    .btn-delete.btn-flat:focus {
        color: var(--red-focus);
    }

    .btn-red.btn-flat:active,
    .btn-error.btn-flat:active,
    .btn-delete.btn-flat:active {
        color: var(--red-active);
    }


/* visual effect (ripple) */
.btn:after {
    content: '';
    position: absolute;
    /* top: 50%; */
    /* left: 50%; */
    bottom: -10px;
    right: -10px;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, .5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
}
    /* for mouse focus */
    .btn:active:hover::after {
        animation: btn-ripple 1s ease-out;
    }
    /* for keyboard focus */
    .btn:focus:not(:hover)::after {
        background: rgba(255, 255, 255, .3);
        transform: scale(1, 1);
        border-radius: 0;
        opacity: 1;
    }

/* btn links */
.btn:not(.btn-flat):not(.btn-cancel):not(.outline) {
    color: white;
}

.btn-cancel,
.btn-cancel:hover,
.btn-cancel:focus,
.btn-flat,
.btn-flat:hover,
.btn-flat:focus
{
    box-shadow: none;
    background-color: transparent;
}
.btn-cancel,
.btn-cancel:hover,
.btn-cancel:focus
{
    color: rgba(0, 0, 0, 0.7);
}

body.dark .btn-cancel,
body.dark .btn-cancel:hover,
body.dark .btn-cancel:focus
{
    color: rgba(255, 255, 255, 0.7);
}

/*
    .btn-cancel:hover,
    .btn-cancel:focus,
    .btn-flat:hover,
    .btn-flat:focus {
        background: rgba(0, 0, 0, .05) !important;
        box-shadow: none;
    }
    .btn-cancel:active,
    .btn-cancel.active,
    .btn-flat:active,
    .btn-flat.active {
        background: rgba(0, 0, 0, .1) !important;
        box-shadow: none;
    }
*/



.btn .txt-caption {
    color: rgba(255, 255, 255, 0.8);
}

.btn:disabled {
    opacity: 0.5;
}

.btn.outline {
    background-color: rgba(0,0,0,0);
    outline-width: 3px;
    outline-style: solid;
    outline-offset: -2px;
    /* color: #444444 !important; */
}



/* Floating action button (FAB)  */
#fab {
    display: inline-block;
    height: 56px;
    line-height: 56px;
    width: 56px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.15), 0 6px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    position: fixed;
    right: 32px;
    padding: 0;
    /* padding-left: 56px; */
    overflow: hidden;
    bottom: 32px;
    z-index: 9999;
    background: #db4437;
    transition: transform .2s cubic-bezier(.57,.57,.96,1.39);
    border: 0;
    color: white;
    font-size: 1.4em;
}
/* #fab .ico, */
#fab::before {
    /* content: "\e903"; */
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    color: white;
    line-height: 56px;
    text-align: center;
    font-size: 1.3em;
    background: #db4437;
}
#fab:focus {
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.15), 0 8px 17px 0 rgba(0, 0, 0, 0.4);
    outline: none;
}
#fab.hidden {
    transform: scale(0);
    transition: transform .2s cubic-bezier(.2,-.5,.5,.2);
}
#fab.add-feed::before {
    /* content: "\e927"; */
}
