﻿

/* ================================= BUTTONS ================================= */

    /* Styling Bootstrap buttons */
    .btn {
        min-width: 160px;
        margin-right: 10px;
        padding: 10px 24px;
        border: 0 none;
    }

    .btn:active.focus, .btn:focus {
        outline: none !important;
        box-shadow: none !important;
    }

    .btn-primary-vs, .btn-primary-vs:focus, .open > .dropdown-toggle.btn-primary {
        background: var(--primary-color);
        color: #ffffff;
    }

    .btn-primary-vs:hover, .btn-primary-vs.active {
        background: var(--primary-color-darker);
        color:white;
    }

    /* Custom the file select button */
    .btn-file {
        position: relative;
        overflow: hidden;
        min-width: 140px;
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        color: white;
    }

    .btn-file:hover, .btn-file:active {
        background-color: var(--primary-color-darker);
        border-color: var(--primary-color-darker);
        color: white;
    }

    /* Hide the default select file text */
    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        outline: none;
        cursor: inherit;
        display: block;
    }


/* ================================= CHECKBOXES ================================= */

    /* Hide the browser's default checkbox */
    .container-vhs input {
        position: absolute;
        opacity: 0;
        cursor: default;
        height: 0;
        width: 0;
    }

    /* Create a custom checkbox */
    .checkmark {
        position: absolute;
        top: 0;
        left: 0;
        height: 16px;
        width: 16px;
        background-color: white;
        border: 1px solid black;
    }

    /* On mouse-over, add a grey background color */
    .container-vhs:hover input ~ .checkmark {
        background-color: #ccc;
        border: 1px solid black;
    }

    /* When the checkbox is checked, add a blue background */
    .container-vhs input:checked ~ .checkmark {
        background-color: black;
        border: 1px solid black;
    }

    /* Create the checkmark/indicator (hidden when not checked) */
    .checkmark:after {
        content: "";
        position: absolute;
        display: none;
    }

    /* Show the checkmark when checked */
    .container-vhs input:checked ~ .checkmark:after {
        display: block;
    }

    /* Style the checkmark/indicator */
    .container-vhs .checkmark:after {
        left: 3px;
        top: 1px;
        width: 8px;
        height: 9px;
        border: solid white;
        border-width: 0 2px 2px 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }
