.selected-grid-item,
.selected-grid-item h5,
.selected-grid-item td,
.selected-grid-item span {
    color: #fff !important;
    border-color: #428bca !important;
    background-color: #428bca !important;
}

    .selected-grid-item:hover,
    .selected-grid-item:hover h5,
    .selected-grid-item:hover td,
    .selected-grid-item:hover span {
        z-index: 95 !important;
        color: #fff !important;
        background-color: #428bca !important;
    }
.navbar-header {
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

#page-wrapper .bg-title {
    border-bottom-right-radius: 20px;
}

.white-box {
    border-radius: 25px;
}

div.gallery {
    margin: 10px;
    border: 1px solid #e6e6e6;
    width: 240px;
    display: inline-table;
    position: relative;
}

    div.gallery img {
        width: 100%;
        /*height: 200px;*/
    }

    div.gallery:hover button {
        display: block;
    }

    div.gallery button {
        display: none;
        position: absolute;
    }

        div.gallery button.update {
            right: 0;
            bottom: 12px;
        }

        div.gallery button.delete {
            top: 0;
            right: 0;
        }

div.desc {
    height: 54px;
    padding: 10px;
    text-align: center;
}

.line-separator {
    height: 1px;
    margin: 9px 0;
    overflow: hidden;
    background-color: #e5e5e5
}

.circular-img {
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 50%;
}

.break-text {
    word-break: break-all
}

.notification-not-read {
    background: #e8f2f9;
}

.hidden {
    display: none;
}

.is-exception > td > span {
    display: inline !important;
}

.menu-dashboard-item {
    font-size: 12px;
    font-weight: 400;
    width: 100px;
    height: 100px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-decoration: none;
    background: #f8f8f8;
    color: #4f5467;
}

.menu-dashboard-item-title {
    margin: 0; 
    vertical-align: baseline;
}



.m-signature-pad {
    font-size: 10px;
    width: 100%;
    height: 250px;
    border: 1px solid #e8e8e8;
    background-color: #fff;
    border-radius: 4px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.m-signature-pad--body {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 32px;
    bottom: 60px;
    border: 1px solid #f4f4f4;
}

    .m-signature-pad--body
    canvas {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        border-radius: 4px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
    }

.m-signature-pad--footer {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    height: 40px;
}

    .m-signature-pad--footer
    .description {
        color: #C3C3C3;
        text-align: center;
        font-size: 1.2em;
        margin-top: 1.8em;
    }

    .m-signature-pad--footer
    .button {
        position: absolute;
        bottom: 0;
    }

        .m-signature-pad--footer
        .button.clear {
            left: 0;
        }

        .m-signature-pad--footer
        .button.save {
            right: 0;
        }

@media screen and (max-width: 1024px) {
    .m-signature-pad {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: auto;
        height: auto;
        min-width: 250px;
        min-height: 140px;
        margin: 5%;
    }

    #github {
        display: none;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .m-signature-pad {
        margin: 10%;
    }
}

@media screen and (max-height: 320px) {
    .m-signature-pad--body {
        left: 0;
        right: 0;
        top: 0;
        bottom: 32px;
    }

    .m-signature-pad--footer {
        left: 20px;
        right: 20px;
        bottom: 4px;
        height: 28px;
    }

        .m-signature-pad--footer
        .description {
            font-size: 1em;
            margin-top: 1em;
        }
}

.dynamic-form-toolbar {
    top: 0;
    padding: 5px;
    z-index: 9;
    position: fixed;
    background-color: #e9e5e5;
}

div.remote-media video {
    width: 100%;
    background-color: #fff;
    margin: auto;
    text-align: center;
}

a.disabled {
    pointer-events: none;
    cursor: default;
}
