﻿/*#region CheckBox*/
[type="checkbox"]:not(:checked) + label,
[type="checkbox"]:checked + label {
    position: relative;
    padding-left: 29px;
    cursor: pointer;
    margin-bottom: 4px;
    display: inline-block;
    font-size: 15px;
}

/* Base for label styling */
[type="checkbox"]:not(:checked), [type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
}

    [type="checkbox"]:not(:checked) + label,
    [type="checkbox"]:checked + label {
        position: relative;
        padding-left: 29px;
        cursor: pointer;
        margin-bottom: 4px;
        display: inline-block;
        font-size: 15px;
    }
        /* checkbox aspect */
        [type="checkbox"]:not(:checked) + label:before,
        [type="checkbox"]:checked + label:before {
            content: '';
            position: absolute;
            left: 0px;
            top: 0px;
            width: 22px;
            height: 22px;
            border: 2px solid #cccccc;
            background: #ffffff;
            border-radius: 4px;
            box-shadow: inset 0 1px 3px rgba(0,0,0,.1);
        }
        /* checked mark aspect */
        [type="checkbox"]:not(:checked) + label:after,
        [type="checkbox"]:checked + label:after {
            font-family: Arial;
            content: '✔';
            position: absolute;
            top: 0px;
            left: 5px;
            font-size: 20px;
            line-height: 1.2;
            color: #09ad7e;
            transition: all .2s;
        }
        /* checked mark aspect changes */
        [type="checkbox"]:not(:checked) + label:after {
            opacity: 0;
            transform: scale(0);
        }

        [type="checkbox"]:checked + label:after {
            opacity: 1;
            transform: scale(1);
        }
/* disabled checkbox */
[type="checkbox"]:disabled:not(:checked) + label:before,
[type="checkbox"]:disabled:checked + label:before {
    box-shadow: none;
    border-color: #999999;
    background-color: #cccccc;
}

[type="checkbox"]:disabled:checked + label:after {
    color: #999999;
}

[type="checkbox"]:disabled + label {
    color: #aaaaaa;
}
/* accessibility */
[type="checkbox"]:checked:focus + label:before,
[type="checkbox"]:not(:checked):focus + label:before {
    border: 2px solid #cccccc;
}
/* hover style just for information */

label:hover:before {
    border: 2px solid #4778d9 !important;
    background: #ffffff;
}

/*.error-check ~ label:before {
            border: 2px solid red !important;
            background: #ffffff;
        }*/

.error-check + label:before {
    border: 2px solid red !important;
    background: #ffffff;
}


.listview-pager a.aspNetDisabled {
    display: none;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.gridview .rows td {
    padding: 0px;
    color: #505050;
    border-bottom: 1px solid #B7BAC1;
}

    .gridview .rows td > .alternate {
        padding: 0px;
        color: #505050;
        background-color: #FFFFFF;
    }

        .gridview .rows td > .alternate:hover,
        .gridview .rows:hover {
            background-color: #fd7e1430;
        }

.gridview .pager span {
    margin: 4px;
    background-color: #81b03f;
    border-color: #81b03f;
    color: #fff;
    padding: 7px 15px;
    width: 33px;
    height: 31px;
    font-family: Lato-Light;
    font-size: 15px;
    line-height: 1.5;
}

.gridview .pager a {
    margin: 4px;
    border: 1px solid #e6e6e6;
    color: #666;
    width: 33px;
    height: 31px;
    font-family: Lato-Light;
    font-size: 15px;
    padding: 7px 15px;
    line-height: 1.5;
    text-decoration: none;
}


    .gridview .pager a:hover {
        background-color: #81b03f;
        border-color: #81b03f;
        color: #fff;
    }
/* titolo-sottotitolo ricerca*/
/*#endregion*/
