﻿

textarea, input[type="text"], input[type="email"] {
    width: 100%;
    outline: none;
    display: block;
    padding: 4px;
    border: 1px dashed #DBDBDB;
    color: #3f3f3f;
    background: rgb(247,247,247);
    font-size: 14px;
    /*border-radius*/
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    /*transition*/
    -webkit-transition: background 0.2s linear, box-shadow 0.6s linear;
    -moz-transition: background 0.2s linear, box-shadow 0.6s linear;
    -o-transition: background 0.2s linear, box-shadow 0.6s linear;
    transition: background 0.2s linear, box-shadow 0.6s linear;
}

button, input[type="submit"] {
    cursor: pointer;
    background: none;
    border: none;
    color: #767676;
    padding: 7px;
    border: 1px solid #E0E0E0;
    text-shadow: 0px 1px 1px #E8E8E8;
    background: rgb(247,247,247);
    /*border-radius*/
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    /*transition*/
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

input:not([type="submit"]):active,
textarea:active,
input:not([type="submit"]):focus,
textarea:focus {
    background: #fff;
    border: dashed 1px #969696;
    /*box-shadow*/
    -webkit-box-shadow: 2px 2px 7px #fff inset;
    -moz-box-shadow: 2px 2px 7px #fff inset;
    box-shadow: 2px 2px 7px #fff inset;
}

hr {
    height: 1px;
    background-color: #3F3F3F;
    margin: 0px;
    border-bottom: 0px;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
}



/* Pure CSS3 Toggle Button */
.toggle {
    position: relative;
    display: block;
    width: 100px;
    height: 25px;
    background-color: #bbb;
    text-align: center;
    padding:0px;
    margin:0px;
}

    .toggle input {
        width: 100%;
        height: 100%;
        margin: 0 0;
        padding: 0 0;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 2;
        cursor: pointer;
        opacity: 0;
        filter: alpha(opacity=0);
    }

    .toggle label {
        display: block;
        position: absolute;
        top: 1px;
        right: 1px;
        bottom: 1px;
        left: 1px;
        color: #666;
        cursor: text;
    }

        .toggle label:before {
            content: attr(data-off);
            vertical-align: middle;
            display: block;
            background-color: #d80e0e;
            color:#fff;
            width: 100%;
            height: 100%;
            margin: 0 0;
            padding: 0 0;
        }

        .toggle label:after {
            content: attr(data-on);
            vertical-align: middle;
            background-color: #1bef1f;
            display: none;
            color:#000;
        }

    .toggle input:checked + label {
    }

    .toggle input:checked:hover + label {
    }

    .toggle input:checked + label:before {
        display: none;
       
    }

    .toggle input:checked + label:after {
        display: block;
         width: 100%;
        height: 100%;
        margin: 0 0;
        padding: 0 0;
        vertical-align:middle; 
    }
