/*
*  STYLE FOR BUTTON
*
*
*  [Table of contents]
*
*  [&. Content / #key]
*  [Let press Ctrl + f and type of paste the key, then press Enter to search the content ]
*
*  Summary: Button
*
*
*  1. Button
*  2. Button Image
*  3. Group Button
*  4. Button Icon Absolute
*  n. Responsive
*
*
*/


/*----------  1. Button  -----------------------*/
    .slz-btn {
        color: #333;
        padding: 13px 40px 9px 40px;
        font-weight: 600;
        text-align: center;
        font-size: 13px;
        line-height: 24px;
        letter-spacing: 1px;
        display: inline-block;
        position: relative;
        vertical-align: top;
        position: relative;
        text-transform: uppercase;
        border: 2px solid #304fe9;
        background-color: transparent;
        border-radius: 2px;
        z-index: 1;
        -webkit-border-radius: 2px;
        -webkit-transition: color 0.3s ease 0s, background-color 0s 0s;
        -o-transition: color 0.3s ease 0s, background-color 0s 0s;
        transition: color 0.3s ease 0s, background-color 0s 0s;
        overflow: hidden;
    }

    .slz-btn + .slz-btn {
        margin-left: 15px;
    }

    .slz-btn:hover,
    .slz-btn:focus {
        color: #fff;
        background-color: #304fe9;
        -webkit-transition: color 0.3s ease 0s, background-color 0s 0.6s;
        -o-transition: color 0.3s ease 0s, background-color 0s 0.6s;
        transition: color 0.3s ease 0s, background-color 0s 0.6s;
    }

    .slz-btn:before {
        position: absolute;
        content: '';
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        -webkit-transform-origin: right;
        -ms-transform-origin: right;
        transform-origin: right;
        -webkit-transform: scale(0, 1);
        -ms-transform: scale(0, 1);
        -o-transform: scale(0, 1);
        transform: scale(0, 1);
        background-color: #304fe9;
        -webkit-transition: transform 0.4s ease;
        -o-transition: transform 0.4s ease;
        transition: transform 0.4s ease;
        z-index: -1;
        transition-delay: 0s;
        -webkit-transition-delay: 0s;
    }

    .slz-btn:hover:before,
    .slz-btn:focus:before {
        -webkit-transform-origin: left;
        -ms-transform-origin: left;
        transform-origin: left;
        -webkit-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
        transition-delay: 0.2s;
        -webkit-transition-delay: 0.2s;
    }

    .slz-btn .btn-text,
    .slz-btn .btn-icon {
        position: relative;
        z-index: 2;
    }

    .slz-btn > .btn-icon + .btn-text {
        margin-left: 10px;
    }

    .slz-btn > .btn-text + .btn-icon {
        margin-left: 10px;
    }

    .slz-btn.box-shadow {
        box-shadow: 3px 5px 10px 0px rgba(0, 0, 0, 0.08);
        -webkit-box-shadow: 3px 5px 10px 0px rgba(0, 0, 0, 0.08);
    }

    .slz-btn .icon-box-shadow {
        box-shadow: 3px 5px 10px 0px rgba(0, 0, 0, 0.08);
        -webkit-box-shadow: 3px 5px 10px 0px rgba(0, 0, 0, 0.08);
    }

/*----------  2. Button Image  -----------------*/
    .btn-img {
        width: auto;
        height: 100%;
        padding: 0;
        margin: 0;
        border: 0;
        background-color: transparent;
    }

    .btn-img:before {
        content: none;
    }

    .btn-img:hover,
    .btn-img:focus {
        border: none;
        background-color: transparent;
    }

    .btn-img:hover img,
    .btn-img:focus img {
        opacity: 0.9;
    }

    .btn-img img {
        width: 100%;
        margin: 0;
    }

    .btn-img .btn-text {
        display: none;
    }

/*----------  3. Group Button  -----------------*/
    .slz-group-btn .slz-btn {
        margin-left: 15px;
    }

    .slz-group-btn .slz-btn:first-child {
        margin-left: 0;
    }

/*----------  4. Button Icon Absolute  ---------*/
    .slz-btn.btn-absolute {
        -webkit-transition: padding 0.5s ease 0s, color 0.5s ease 0s, background-color 0s 0s;
        -o-transition: padding 0.5s ease 0s, color 0.5s ease 0s, background-color 0s 0s;
        transition: padding 0.5s ease 0s, color 0.5s ease 0s, background-color 0s 0s;
    }

    .slz-btn.btn-absolute:before {
        z-index: -1;
    }

    .slz-btn.btn-absolute .btn-text,
    .slz-btn.btn-absolute > .btn-icon + .btn-text {
        margin-left: 0;
    }

    .slz-btn.btn-absolute .btn-icon {
        position: absolute;
        color: #fff;
        right: 40px;
        top: 50%;
        border: none;
        font-size: 14px;
        margin-left: 0;
        -ms-transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
        -webkit-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
        opacity: 0;
    }

    .slz-btn.btn-absolute:hover,
    .slz-btn.btn-absolute:focus {
        padding-right: 40px;
        padding-left: 20px;
        -webkit-transition: padding 0.5s ease 0s, color 0.5s ease 0s, background-color 0s 0.6s;
        -o-transition: padding 0.5s ease 0s, color 0.5s ease 0s, background-color 0s 0.6s;
        transition: padding 0.5s ease 0s, color 0.5s ease 0s, background-color 0s 0.6s;
    }

    .slz-btn.btn-absolute:hover .btn-icon,
    .slz-btn.btn-absolute:focus .btn-icon {
        right: 20px;
        opacity: 1;
    }

/*=====================================
=            n. Responsive            =
=====================================*/

    @media screen and (max-width: 480px) {
        .slz-group-btn .slz-btn,
        .slz-group-btn .slz-btn:first-child {
            margin-left: auto;
            margin-right: auto;
        }
        
        .slz-btn + .slz-btn,
        .slz-group-btn .slz-btn + .slz-btn {
            margin-top: 15px;
            margin-left: auto;
        }
    }

/*=====  End of n. Responsive  ======*/
    