﻿body {
    background: url("../imagesOnCloud/bg_login.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

#noticebox {
    width: 850px;
}

#loginForm {
    margin-top: 30px;
}

.smallish {
    font-size: 0.95em;
    color: #c3c3c3;
}

.divCentre {
    width: 50%;
    margin: 0 auto;
}

.ibox {
    clear: both;
    margin-top: 0;
    padding: 0;
    border: none !important;
    box-shadow: none !important;
}

/* Use for mobile */
.toggleswitch {
    display: none;
}

/*.clsNoticeBody {
    color: #fff;
    height: 350px;
    overflow: auto;
}*/

@media (max-width: 768px) {
    body {
        background: url("../imagesOnCloud/bg_mbl.jpg");
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: center;
        background-size: cover;
    }

    #noticebox {
        width: 100%;
    }

    #noticebody {
        color: #dddddd;
    }

    .form-group {
        margin-bottom: 10px;
    }

    .form-control {
        font-size: 11px;
        border-radius: 12px;
    }

    #loginForm {
        width: 100%;
    }

    .btn {
        font-size: 11px;
        border-radius: 12px;
    }

    #vName {
        color: #7dc4fc;
        font-size: 1.25em;
    }

    .ibox-title {
        border-radius: 12px 12px 0 0;
        background-color: #0000002e;
    }

    .ibox-content {
        border-radius: 0 0 12px 12px;
        background-color: #0000002e;
        border-color: #bababa96;
    }

    /* Toggle switch - start -> Not in use at the moment */
    .toggleswitch {
        display: inline-block;
        text-align: right;
        width: 100%;
    }

    .switch {
        position: relative;
        display: inline-block;
        width: 30px;
        height: 17px;
    }

        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

    .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        -webkit-transition: .4s;
        transition: .4s;
    }

        .slider:before {
            position: absolute;
            content: "";
            height: 13px;
            width: 13px;
            left: 2px;
            bottom: 2px;
            background-color: white;
            -webkit-transition: .4s;
            transition: .4s;
        }

    input:checked + .slider {
        background-color: #0468b7;
    }

    input:focus + .slider {
        box-shadow: 0 0 1px #0468b7;
    }

    input:checked + .slider:before {
        -webkit-transform: translateX(13px);
        -ms-transform: translateX(13px);
        transform: translateX(13px);
    }

    input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]) {
        font-size: 11px;
        background-color: #313131;
        color: white;
        margin-bottom: 4px;
    }

    /* Rounded sliders */
    .slider.round {
        border-radius: 17px;
    }

        .slider.round:before {
            border-radius: 50%;
        }
    /* Toggle switch - end */

    /* Animation to move a button in from right*/
    .speed1 {
        --animate-duration: 200ms;
    }

    .speed2 {
        --animate-duration: 400ms;
    }

    .speed3 {
        --animate-duration: 600ms;
    }

    .speed4 {
        --animate-duration: 800ms;
    }
}
