﻿
/* CHECBOX */

.container1 {
    display: inline-block;
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default checkbox */
    .container1 input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom checkbox */
.checkmark1 {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container1:hover input ~ .checkmark1 {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container1 input:checked ~ .checkmark1 {
    background-color: #3e74b4;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark1:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container1 input:checked ~ .checkmark1:after {
    display: block;
}

/* Style the checkmark/indicator */
.container1 .checkmark1:after {
    left: 6px;
    top: 3px;
    width: 5px;
    height: 8px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


/*-RADIO-----------------------------------------------------------------------------------------------*/

/* The container */

.container2 {
    display: inline-block;
    height: 25px;
    position: relative;
    padding: 0px 0px 0px 25px;
    margin: 12px 25px 0px 0px;
    border: 0px solid red;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #666666;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default radio button */
    .container2 input[type="radio"] {
        position: absolute;
        left:4px;
        top:4px;
        opacity: 0;
        cursor: pointer;
        z-index:2
    }

/* Create a custom radio button */
    .container2 .checkmark2 {
        position: absolute;
        top: 0px;
        left: 0px;
        height: 20px;
        width: 20px;
        background-color: #eee;
        border-radius: 50%;
    }

        /* Style the indicator (dot/circle) */
        .container2 .checkmark2:after {
            top: 6px;
            left: 6px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: white;
        }

/* On mouse-over, add a grey background color */
.container2:hover inputinput[type="radio"] ~ .checkmark2 {
    background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.container2 input[type="radio"]:checked ~ .checkmark2 {
    background-color: #3e74b4;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.container2 .checkmark2:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.container2 input[type="radio"]:checked ~ .checkmark2:after {
    display: block;
}



@media screen and (max-width: 960px) {

    .container2 {
        text-align: left;
        width: auto;
        margin: 0px;
        border: 0px solid red;
    }

    .radio1 {
        padding-left: 25px;
        width: 47%;
    }

    .radio2 {
        width: 51%;
    }

}