﻿

label.card-label {
    width: 100%;
}

.card-input-element {
    display: none !important;
}

.card-input {
    margin: 10px;
    padding: 00px;
    box-shadow: 4px 4px 5px #d8d2d2;
}

    .card-input .panel-body:before {
        content: "\f155";
        font-family: FontAwesome;
        position: absolute;
        opacity: 0.2;
        color: #ccc;
        top: 40px;
        left: 40px;
        font-size: 60px;
    }

    .card-input .panel-body {
        padding: 20px 20px;
    }

    .card-input:hover {
        cursor: pointer;
    }

.card-input-element:checked + .card-input {
    box-shadow: 0 0 1px 1px #2ecc71;
}

    .card-input-element:checked + .card-input:after {
        content: "\f058";
        font-family: FontAwesome;
        left: 22px;
        position: absolute;
        top: 6px;
        font-size: 22px;
        color: #1abc9c;
    }

.card-label .panel-body {
    min-height: 120px;
}

.card-label .btn-success {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#eeeeee+0,cccccc+100;Gren+3D */
    background: rgb(238,238,238); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(238,238,238,1) 0%, rgba(204,204,204,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%); 
    background: linear-gradient(to bottom, rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 ); 
    border: 1px solid rgba(128, 128, 128, 0.30);
    color:#333;
    font-size:15px;
}

    .card-label .btn-success:hover {
        /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#eeeeee+0,cccccc+100;Gren+3D */
        background: rgb(238,238,238); /* Old browsers */
        background: -moz-linear-gradient(top, rgba(238,238,238,1) 0%, rgba(204,204,204,1) 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%); 
        background: linear-gradient(to bottom, rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%); 
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 ); 
        opacity: 0.8;
    }

@media (max-width: 375px) {
    .col-less-padding-xs .col-xs-6 {
        padding: 5px;
    }

    .card-label .panel-body {
        min-height: 220px;
    }

    .card-input-element:checked + .card-input:after {
        left: 14px;
        top: 8px;
    }
}

@media (max-width: 320px) {
    .card-label .panel-body {
        min-height: 180px !important;
        padding: 6px;
    }

        .card-label .panel-body h2 {
            font-size: 18px;
        }

    .col-less-padding-xs .col-xs-6 {
        padding: 0px;
    }

    .card-input-element:checked + .card-input:after {
        left: 10px;
        top: 6px;
    }
}
/**********checkbox and radio button*************************/


.checkboxWrapper {
    display: inline-block;
    /*margin-top:10px;*/
}

    .checkboxWrapper input[type="checkbox"] {
        border: 0;
        clip: rect(0 0 0 0);
        margin: -1px;
        overflow: hidden;
        padding: 0px;
        position: absolute;
    }



        .checkboxWrapper input[type="checkbox"]:checked ~ label .control {
            webkit-box-shadow: inset 0 0 0 2px white, inset 0 0 0 3px #216058;
            -moz-box-shadow: inset 0 0 0 2px white,inset 0 0 0 3px #0078D2;
            box-shadow: inset 0 0 0 2px white, inset 0 0 0 3px #216058;
            /*background-color: #216058;*/
            /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#9dd53a+0,a1d54f+50,80c217+51,7cbc0a+100;Green+Gloss+%231 */
            background: rgb(157,213,58); /* Old browsers */            
            background: -moz-linear-gradient(top, rgba(0 192 101) 0%, rgba(2 191 93) 50%, rgba(4 190 84) 51%, rgba(0 191 102) 100%); /* FF3.6-15 */
            background: -webkit-linear-gradient(top, rgba(0 192 101) 0%,rgba(2 191 93) 50%,rgba(4 190 84) 51%,rgba(0 191 102) 100%); 
            background: linear-gradient(to bottom, rgb(0 192 101) 0%,rgb(2 191 93) 50%,rgb(4 190 84) 51%,rgb(0 191 102) 100%);
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9dd53a', endColorstr='#7cbc0a',GradientType=0 ); 
        }



        .checkboxWrapper input[type="checkbox"] ~ label .control {
            background-color: #fff;
            color: white;
            height: 20px;
            width: 20px;
            display: inline-block;
            margin: -2px 1px 0;
            border: 1px solid #9DA6AB;
            -webkit-box-shadow: inset 0 0 0 2px white, inset 0 0 0 3px #D0DAE0;
            -moz-box-shadow: inset 0 0 0 2px white,inset 0 0 0 3px #D0DAE0;
            box-shadow: inset 0 0 0 2px white, inset 0 0 0 3px #D0DAE0;
            vertical-align: middle;
        }

        .checkboxWrapper input[type="checkbox"] ~ label .control {
            margin-right: 10px;
            font-weight: 500;
        }

        .checkboxWrapper input[type="checkbox"] ~ label {
            font-weight: 600;
            font-size: 12px;
        }

        .checkboxWrapper input[type="checkbox"]:checked ~ label .control::before {
            content: "";
            height: 6px;
            width: 11px;
            display: inline-block;
            border: 2px solid #fff;
            border-top-style: none;
            border-right-style: none;
            margin: 4px;
            -ms-transform: rotate(-45deg);
            -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
        }

    .checkboxWrapper input[type=checkbox][disabled] ~ label .control {
        -webkit-box-shadow: inset 0 0 0 2px white, inset 0 0 0 3px #D0DAE0;
        -moz-box-shadow: inset 0 0 0 2px white,inset 0 0 0 3px #D0DAE0;
        box-shadow: inset 0 0 0 2px white, inset 0 0 0 3px #D0DAE0;
    }

    .checkboxWrapper input[type="checkbox"][disabled]:checked ~ label .control {
        webkit-box-shadow: inset 0 0 0 2px white, inset 0 0 0 3px rgba(33, 96, 88, 0.66);
        -moz-box-shadow: inset 0 0 0 2px white,inset 0 0 0 3px rgba(33, 96, 88, 0.66);
        box-shadow: inset 0 0 0 2px white, inset 0 0 0 3px rgba(33, 96, 88, 0.66);
        background-color: rgba(33, 96, 88, 0.66);
    }

    .checkboxWrapper input[type=checkbox][disabled] ~ label {
        opacity: .8;
    }

.check-button input {
    position: absolute;
    left: -9999px;
}

.check-button label {
    display: inline-block;
    position: relative;
    padding: 6px 15px 6px 15px;
    border: 1px solid #9DA6AB;
    color: #676767;
    font-weight: 600;
    border-radius: 5px;
    background-color: #fff;
    /* box-shadow: 0 0 20px rgba(0, 0, 0, .2); */
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    opacity: 0.75;
    transition: background-color .2s, box-shadow .2s;
    margin-bottom: 0px;
}

.check-button input:checked + label {
    background-color: #216058;
    color: #fff;
    opacity: 1;
}

.check-button input:not(:checked):hover + label {
    box-shadow: 0 0 20px rgba(0, 0, 0, .2);
    background: #fff;
}



/****************************************************************/


.radioboxWrapper {
    display: inline-block;
    margin-right: 10px;
}

    .radioboxWrapper input[type="radio"] {
        border: 0;
        clip: rect(0 0 0 0);
        margin: -1px;
        overflow: hidden;
        padding: 0px;
        position: absolute;
    }



        .radioboxWrapper input[type="radio"]:checked ~ label .control {
            webkit-box-shadow: inset 0 0 0 2px white, inset 0 0 0 3px #216058;
            -moz-box-shadow: inset 0 0 0 2px white,inset 0 0 0 3px #0078D2;
            box-shadow: inset 0 0 0 2px white, inset 0 0 0 3px #216058;
            background-color: #216058;
        }



        .radioboxWrapper input[type="radio"] ~ label .control {
            background-color: #fff;
            color: white;
            height: 20px;
            width: 20px;
            display: inline-block;
            margin: -2px 1px 0;
            border: 1px solid #9DA6AB;
            border-radius: 50%;
            -webkit-box-shadow: inset 0 0 0 2px white, inset 0 0 0 3px #D0DAE0;
            -moz-box-shadow: inset 0 0 0 2px white,inset 0 0 0 3px #D0DAE0;
            box-shadow: inset 0 0 0 2px white, inset 0 0 0 3px #D0DAE0;
            vertical-align: middle;
        }

        .radioboxWrapper input[type="radio"] ~ label .control {
            margin-right: 10px;
            font-weight: 500;
        }

        .radioboxWrapper input[type="radio"] ~ label {
            font-weight: 600;
            font-size: 11px;
        }


    .radioboxWrapper input[type=radio][disabled] ~ label .control {
        -webkit-box-shadow: inset 0 0 0 2px white, inset 0 0 0 3px #D0DAE0;
        -moz-box-shadow: inset 0 0 0 2px white,inset 0 0 0 3px #D0DAE0;
        box-shadow: inset 0 0 0 2px white, inset 0 0 0 3px #D0DAE0;
    }

    .radioboxWrapper input[type="radio"][disabled]:checked ~ label .control {
        webkit-box-shadow: inset 0 0 0 2px white, inset 0 0 0 3px rgba(33, 96, 88, 0.66);
        -moz-box-shadow: inset 0 0 0 2px white,inset 0 0 0 3px rgba(33, 96, 88, 0.66);
        box-shadow: inset 0 0 0 2px white, inset 0 0 0 3px rgba(33, 96, 88, 0.66);
        background-color: rgba(33, 96, 88, 0.66);
    }

    .radioboxWrapper input[type=radio][disabled] ~ label {
        opacity: .8;
    }