﻿.onoffswitch
{
    position: relative;
    width: 45px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.onoffswitch-checkbox
{
    display: none;
}

.onoffswitch-label
{
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #CCCCCC;
    border-radius: 11px;
}

.onoffswitch-inner
{
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}

    .onoffswitch-inner:before, .onoffswitch-inner:after
    {
        display: block;
        float: left;
        width: 50%;
        height: 18px;
        padding: 0;
        line-height: 18px;
        font-size: 11px;
        color: white;
        font-family: Trebuchet, Arial, sans-serif;
        font-weight: bold;
        box-sizing: border-box;
    }

    .onoffswitch-inner:before
    {
        content: "Yes";
        padding-left: 4px;
        background-color: #458CE8;
        color: #FFFFFF;
    }

    .onoffswitch-inner:after
    {
        content: "No";
        padding-right: 4px;
        background-color: #8F8F8F;
        color: #F5F5F5;
        text-align: right;
    }

.onoffswitch-switch
{
    display: block;
    width: 13px;
    margin: 2.5px;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 23px;
    border: 2px solid #CCCCCC;
    border-radius: 11px;
    transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked ~ .onoffswitch-label .onoffswitch-inner
{
    margin-left: 0;
}

.onoffswitch-checkbox:checked ~ .onoffswitch-label .onoffswitch-switch
{
    right: 0px;
}





.ChkRound
{
    display: block;
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default radio button */
    .ChkRound input
    {
        position: absolute;
        opacity: 0;
    }

/* Create a custom radio button */
.RoundMark
{
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
}

/* On mouse-over, add a grey background color */
.ChkRound:hover input ~ .RoundMark
{
    background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.ChkRound input:checked ~ .RoundMark
{
    background-color: #2196F3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.RoundMark:after
{
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.ChkRound input:checked ~ .RoundMark:after
{
    display: block;
}

/* Style the indicator (dot/circle) */
.ChkRound .RoundMark:after
{
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
}













.ChkRoundSmall
{
    display: block;
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default radio button */
    .ChkRoundSmall input
    {
        position: absolute;
        opacity: 0;
    }

/* Create a custom radio button */
ChkRoundSmall .RoundMark
{
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
}

/* On mouse-over, add a grey background color */
.ChkRoundSmall:hover input ~ .ChkRoundSmall .RoundMark
{
    background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.ChkRoundSmall input:checked ~ .ChkRoundSmall .RoundMark
{
    background-color: #2196F3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.ChkRoundSmall .RoundMark:after
{
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.ChkRoundSmall input:checked ~ .ChkRoundSmall .RoundMark:after
{
    display: block;
}

/* Style the indicator (dot/circle) */
.ChkRoundSmall .RoundMark:after
{
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
}








.ChkOrRbtFreeObjectType input[type=checkbox], .ChkOrRbtFreeObjectType input[type=radio]
{
    position: absolute;
    visibility: hidden;
    display: none;
}

.ChkOrRbtFreeObjectType .ChkText
{
    display: inline-block;
    cursor: pointer;
    padding: 5px 20px;
}

.ChkOrRbtFreeObjectType input[type=checkbox]:checked ~ .ChkText, .ChkOrRbtFreeObjectType input[type=radio]:checked ~ .ChkText
{
    color: #ffffff;
    background: #54b8f5;
}

.ChkOrRbtFreeObjectType input[type=checkbox] ~ .ChkText, .ChkOrRbtFreeObjectType input[type=radio] ~ .ChkText
{
    border: solid 2px #54b8f5;
    border-radius: 10px;
    margin: 5px;
}



.ChkOrRbtToggleType
{
    display: inline-block;
}

    .ChkOrRbtToggleType input[type=checkbox], .ChkOrRbtToggleType input[type=radio]
    {
        display: none;
    }

    .ChkOrRbtToggleType .ChkOrRbtToggleTypeText
    {
        position: relative;
        margin: 3px;
        padding: 5px 10px 5px 50px;
        border: 3px solid #fff;
        border-radius: 10px;
        color: #fff;
        background-color: #a6adb1;
        box-shadow: 0 0 20px rgba(0, 0, 0, .2);
        white-space: nowrap;
        cursor: pointer;
        user-select: none;
        transition: background-color .2s, box-shadow .2s;
        font-size: 16px;
    }

        .ChkOrRbtToggleType .ChkOrRbtToggleTypeText::before
        {
            content: '';
            display: block;
            position: absolute;
            top: 7px;
            bottom: 7px;
            left: 10px;
            width: 9px;
            border: 3px solid #fff;
            border-radius: 100px;
            transition: background-color .2s;
        }


        .ChkOrRbtToggleType .ChkOrRbtToggleTypeText:hover, input[type=checkbox]:focus ~ .ChkOrRbtToggleTypeText, input[type=radio]:focus ~ .ChkOrRbtToggleTypeText
        {
            box-shadow: 0 0 20px rgba(0, 0, 0, .6);
        }

    .ChkOrRbtToggleType input[type=checkbox]:checked ~ .ChkOrRbtToggleTypeText, .ChkOrRbtToggleType input[type=radio]:checked ~ .ChkOrRbtToggleTypeText
    {
        background-color: #55a1d0;
    }

        .ChkOrRbtToggleType input[type=checkbox]:checked ~ .ChkOrRbtToggleTypeText::before, .ChkOrRbtToggleType input[type=radio]:checked ~ .ChkOrRbtToggleTypeText::before
        {
            background-color: #fff;
        }


.ChkOrRbtToggleTypeColorLessContainer
{
    margin: 5px;
    display: inline-block;
}

.ChkOrRbtToggleTypeColorLess input[type=checkbox], .ChkOrRbtToggleTypeColorLess input[type=radio]
{
    display: none;
}

.ChkOrRbtToggleTypeColorLess .ChkOrRbtToggleTypeColorLessText
{
    display: inline-block;
    padding: 5px;
    color: #494848;
    /*border: 3px solid #fafafa;*/
    border-radius: 5px;
    /*background-color: #e5e5e5;*/
    /*box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);*/
    
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    
    user-select: none;
    transition: background-color .2s, box-shadow .2s;
    font-size: 15px;
    text-align: center;
    overflow: hidden;
    word-wrap: normal;
    width: 120px;
}

.ChkOrRbtToggleTypeColorLess .ChkOrRbtToggleTypeColorLessImg
{
    height:80px;
}

.ChkOrRbtToggleTypeColorLess .ChkOrRbtToggleTypeColorLessText:hover, input[type=checkbox]:focus ~ .ChkOrRbtToggleTypeColorLessText, input[type=radio]:focus ~ .ChkOrRbtToggleTypeColorLessText
{
    box-shadow: 0 0 5px rgba(0, 0, 0, .6);
}

.ChkOrRbtToggleTypeColorLess input[type=checkbox]:checked ~ .ChkOrRbtToggleTypeColorLessText, .ChkOrRbtToggleTypeColorLess input[type=radio]:checked ~ .ChkOrRbtToggleTypeColorLessText
{
    background-color: #4fb9fa;
    color: white;
}

    .ChkOrRbtToggleTypeColorLess input[type=checkbox]:checked ~ .ChkOrRbtToggleTypeColorLessText::before, .ChkOrRbtToggleTypeColorLess input[type=radio]:checked ~ .ChkOrRbtToggleTypeColorLessText::before
    {
        background-color: #fff;
    }


.ChkOrRbtToggleTypeColorLess .ChkOrRbtToggleTypeColorLessText img
{
    border-collapse: collapse;
    /*border: 1px solid #cbcbcb;*/
    border-radius: 5px;
}








.ChkRbtBox input[type=checkbox], .ChkRbtBox input[type=radio]
{
    display: none;
}

.ChkRbtBox .ChkRbtBoxText
{
    display: inline-block;
    /*margin: 3px;*/
    padding: 5px;
    
    /*border: 3px solid #fafafa;*/
    border: 1px solid #cec5c5;
    /*border-radius: 10px;*/
    color: #494848;
    background-color: #e5e5e5;
    /*box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);*/
    cursor: pointer;
    
    transition: background-color .2s, box-shadow .2s;
    font-size: 15px;
    text-align: center;
    
    word-wrap: normal;
    
    display: table-cell;
    vertical-align: middle;
}



    .ChkRbtBox .ChkRbtBoxText:hover, input[type=checkbox]:focus ~ .ChkRbtBoxText, input[type=radio]:focus ~ .ChkRbtBoxText
    {
        /*box-shadow: 0 0 10px rgba(0, 0, 0, .6);*/
    }

.ChkRbtBox input[type=checkbox]:checked ~ .ChkRbtBoxText, .ChkRbtBox input[type=radio]:checked ~ .ChkRbtBoxText
{
    background-color: #4fb9fa;
    color: white;
}

    .ChkRbtBox input[type=checkbox]:checked ~ .ChkRbtBoxText::before, .ChkRbtBox input[type=radio]:checked ~ .ChkRbtBoxText::before
    {
        background-color: #fff;
    }








.ChkRoundedSqure
{
    display: block;
    cursor: pointer;
}

    /* Hide the browser's default radio button */
    .ChkRoundedSqure input
    {
        display: none;
    }

/* Create a custom radio button */
.SquareMark
{
    height: 12px;
    width: 12px;
    border: 1px solid #3b72c4;
    border-radius: 20%;
    display: flex;
    align-items: center;
}

/* On mouse-over, add a grey background color */
.ChkRoundedSqure:hover input ~ .SquareMark
{
    background-color: #84a3d4;
}

/* When the radio button is checked, add a blue background */
.ChkRoundedSqure input:checked ~ .SquareMark
{
    background-color: #3b72c4;
}




@media screen and (max-width: 700px)
{

    .ChkOrRbtToggleType
    {
        display: block;
    }

        .ChkOrRbtToggleType .ChkOrRbtToggleTypeText
        {
            display: block;
        }




    .ChkOrRbtToggleTypeColorLessContainer
    {
        margin: 2px;
        display: inline-block;
    }

    .ChkOrRbtToggleTypeColorLess input[type=checkbox], .ChkOrRbtToggleTypeColorLess input[type=radio]
    {
        display: none;
    }

    .ChkOrRbtToggleTypeColorLess .ChkOrRbtToggleTypeColorLessText
    {
        display: inline-block;
        padding: 5px;
        color: #494848;
        /*border: 3px solid #fafafa;*/
        border-radius: 5px;
        /*background-color: #e5e5e5;*/
        /*box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);*/
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        cursor: pointer;
        user-select: none;
        transition: background-color .2s, box-shadow .2s;
        font-size: 13px;
        text-align: center;
        overflow: hidden;
        word-wrap: normal;
        width: 50px;
    }

    .ChkOrRbtToggleTypeColorLess .ChkOrRbtToggleTypeColorLessImg
    {
        height: 40px;
    }

    .ChkOrRbtToggleTypeColorLess .ChkOrRbtToggleTypeColorLessText:hover, input[type=checkbox]:focus ~ .ChkOrRbtToggleTypeColorLessText, input[type=radio]:focus ~ .ChkOrRbtToggleTypeColorLessText
    {
        box-shadow: 0 0 5px rgba(0, 0, 0, .6);
    }

    .ChkOrRbtToggleTypeColorLess input[type=checkbox]:checked ~ .ChkOrRbtToggleTypeColorLessText, .ChkOrRbtToggleTypeColorLess input[type=radio]:checked ~ .ChkOrRbtToggleTypeColorLessText
    {
        background-color: #4fb9fa;
        color: white;
    }

        .ChkOrRbtToggleTypeColorLess input[type=checkbox]:checked ~ .ChkOrRbtToggleTypeColorLessText::before, .ChkOrRbtToggleTypeColorLess input[type=radio]:checked ~ .ChkOrRbtToggleTypeColorLessText::before
        {
            background-color: #fff;
        }


    .ChkOrRbtToggleTypeColorLess .ChkOrRbtToggleTypeColorLessText img
    {
        border-collapse: collapse;
        /*border: 1px solid #cbcbcb;*/
        border-radius: 5px;
    }

}
