﻿/* BUTTONS */
.btn.btn-save {
    background: #00b088;
    border-color: #00b088;
    border-radius: 0;
    color: #fff;
    font-weight: bold;
    font-size: 1.25rem;
    position: relative;
    transition: 0.2s ease all;
    padding: 0.45rem 2.25rem;
}

.btn.btn-save:hover {
    background: #008062;
    border-color: #008062;
}

.btn.btn-save:active,
.btn.btn-save:focus {
    background: #19254b !important;
    border-color: #19254b !important;
    box-shadow: none !important;
    outline: none;
}

.btn.btn-save:before {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 100%;
    height: 100%;
    background: #E1E1DF;
    content: ' ';
    z-index: -1;
    transition: 0.2s ease all;
}

.btn.btn-save:hover:before {
    transform: translateX(-2.5px) translateY(-2.5px);
}

.btn.btn-save:after {
    content: ' ';
    background: url('../Content/images/icons/chevron-double-right.svg') no-repeat center;
    background-size: contain;
    display: inline-block;
    vertical-align: middle;
    filter: brightness(0) invert(1);
    width: 0.9rem;
    height: 0.9rem;
    margin-left: 0.5rem;
    margin-top: -0.2rem;
}

.btn.btn-save.btn-lg {
    font-size: 2rem;
    padding: 0.4rem 2.6rem;
}

.btn.btn-save.btn-lg:before {
    bottom: -10px;
    right: -10px;
}

.btn.btn-save.btn-lg:hover:before {
    transform: translateX(-5px) translateY(-5px);
}

.btn.btn-save.btn-lg:after {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 1rem;
    margin-top: -0.7rem;
}


.btn.btn-edit {
    background: #19254b;
    border-color: #19254b;
    border-radius: 0;
    color: #fff;
    font-weight: bold;
    font-size: 1.25rem;
    position: relative;
    transition: 0.2s ease all;
    padding: 0.45rem 2.25rem;
}

.btn.btn-edit:hover {
    background: #008062;
    border-color: #008062;
    color: #fff;
}

.btn.btn-edit:active,
.btn.btn-edit:focus {
    background: #00b088 !important;
    border-color: #00b088 !important;
    box-shadow: none !important;
    outline: none;
}

.btn.btn-edit:before {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    background: #E1E1DF;
    content: ' ';
    z-index: -1;
    transition: 0.2s ease all;
}
.btn.btn-edit:after {
    content: ' ';
    background: url('../Content/images/icons/chevron-double-right.svg') no-repeat center;
    background-size: contain;
    display: inline-block;
    vertical-align: middle;
    filter: brightness(0) invert(1);
    width: 0.9rem;
    height: 0.9rem;
    margin-left: 0.5rem;
    margin-top: -0.2rem;
}

.btn.btn-edit.btn-lg {
    font-size: 2rem;
    padding: 0.4rem 2.6rem;
}

.btn.btn-edit.btn-lg:before {
    bottom: -10px;
    right: -10px;
}

.btn.btn-edit.btn-lg:hover:before {
    transform: translateX(-5px) translateY(-5px);
}

.btn.btn-edit.btn-lg:after {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 1rem;
    margin-top: -0.7rem;
}



/*---- Toggle Button -----*/
.cm-toggle {
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    border: 0;
    outline: 0;
    cursor: pointer;
    margin: 10px;
}

/* To create surface of toggle button */
.cm-toggle:after {
    content: '';
    width: 40px;
    height: 18px;
    display: inline-block;
    background: rgba(196, 195, 195, 0.55);
    border-radius: 18px;
    clear: both;
}

/* Contents before checkbox to create toggle handle */
.cm-toggle:before {
    content: '';
    width: 21px;
    height: 21px;
    display: block;
    position: absolute;
    left: 0;
    top: -3px;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Shift the handle to left on check event */
.cm-toggle:checked:before {
    left: 22px;
    box-shadow: -1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Background color when toggle button will be active */
.cm-toggle:checked:after {
    background: #16a085;
}

/* Transition for smoothness */
.cm-toggle,
.cm-toggle:before,
.cm-toggle:after,
.cm-toggle:checked:before,
.cm-toggle:checked:after {
    transition: ease .3s;
    -webkit-transition: ease .3s;
    -moz-transition: ease .3s;
    -o-transition: ease .3s;
}

/*---- End Toggle Button -----*/

@media (max-width: 767px) {
    .btn.btn-edit.btn-lg:before {
        bottom: -5px;
        right: -5px;
    }

    .btn.btn-edit {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }

    .btn.btn-edit.btn-lg {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }

    .btn.btn-edit.btn-lg.btn-mobile-lg {
        font-size: 1.25rem;
        padding: 0.75rem 2.5rem;
    }

    .btn.btn-edit:after,
    .btn.btn-edit.btn-lg:after {
        width: 0.9rem;
        height: 0.9rem;
        margin-left: 0.5rem;
        margin-top: -0.45rem;
    }
}

@media (max-width: 355px) {
    .btn.btn-edit,
    .btn.btn-edit.btn-lg {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}