﻿.bg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('/images/bg2.jpg');
    background-size: 100% 100%;
}

.minwidth {
    /*  min-width: 530px;*/
}

.loginPanel {
    width: 80%;
    min-width: 300px;
    padding: 20px 30px;
    background-color: rgba(255,255,255,.4);
    -ms-border-radius: 5px;
    border-radius: 5px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 330px;
    position: absolute;
}

    .loginPanel .title {
        margin: 0 0 20px;
        text-align: center;
    }

    .loginPanel .row {
        padding: 10px 0;
    }

    .loginPanel .rayui-input {
        padding-right: 25px;
        height: auto;
    }

        .loginPanel .rayui-input:focus {
            border: 1px solid #0ae;
        }

    .loginPanel .righticon {
        position: absolute;
        right: 10px;
        top: 20px;
        font-size: 18px;
    }

@media(min-width: 720px) {
    .loginPanel {
        width: 400px;
    }
}

html, body {
    height: 100%;
}

body {
    padding: 10px;
    padding-bottom: 40px;
}

#headPanel {
    height: 60px;
    display: flex;
    background-color: #23262e;
}

.logoPanel {
    display: inline-block;
    padding-top: 12px;
    padding-left: 12px;
}

    .logoPanel .logo {
        color: #fff;
        padding: 0 30px;
    }

#topNav {
    display: inline-block;
    margin-left: 30px;
}


#mainPanel {
    height: 100%;
}

#leftNav {
    z-index: 100;
    width: 200px;
    height: 100%;
    position: absolute;
    display: inline-block;
    background-color: #323138;
}

#tabPanel {
    padding-left: 200px;
}

.admin-side-toggle, .admin-side-full {
    width: 30px;
    height: 30px;
    color: #fff;
    padding-top: 4px;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    background-color: #289e94;
}

.site-tree-mobile {
    position: absolute;
    left: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    line-height: 51px;
    color: #fff;
    text-align: center;
    cursor: pointer;
    display: none;
    z-index: 80;
    -ms-border-radius: 2px;
    border-radius: 2px;
    background-color: #33333360;
}

    .site-tree-mobile i {
        font-size: 24px;
    }

.site-mobile-shade {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    display: none;
    background-color: rgba(0,0,0,.8);
    z-index: 90;
}

.admin-side-toggle:hover, .admin-side-full:hover, .site-tree-mobile:hover {
    -ms-opacity: .9;
    opacity: .9;
}

@media(max-width: 760px) {
    .logoPanel .logo, .logoPanel .admin-side-toggle {
        display: none;
    }

    #topNav {
        margin-left: 0;
    }

    #tabPanel {
        padding-left: 0 !important;
    }

    .site-tree-mobile {
        display: inline-block;
    }

    #leftNav {
        left: -200px !important;
    }

    .site-mobile #leftNav {
        left: 0 !important;
        top: 0;
        bottom: 0;
        border-right: 1px solid #ccc;
        -webkit-transition-duration: .3s;
        transition-duration: .3s;
    }

    .site-mobile .site-mobile-shade {
        display: block;
    }
}

@media(min-width: 760px) {
    #mainPanel {
        position: relative;
    }
}


@media(max-height: 950px) {
    .loginPanel {
        margin: 10% auto;
    }
}

@media(min-height: 951px) {
    .loginPanel {
        margin: 15% auto;
    }
}


.rightbar {
    display: inline-block;
    position: absolute;
    right: 10px;
}

    .rightbar .rayui-nav {
        background-color: transparent;
    }

        .rightbar .rayui-nav > ul > li > a {
            padding-top: 10px;
            padding-bottom: 10px;
        }

        .rightbar .rayui-nav > ul > li ul {
            background-color: #fff;
        }

            .rightbar .rayui-nav > ul > li ul a {
                color: #333;
            }

                .rightbar .rayui-nav > ul > li ul a:hover {
                    color: #333;
                    background-color: #eee;
                }

.require {
    color: #f00;
}

i.fa {
    margin-right: 3px;
}

footer {
    position: fixed;
    height: 35px;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
}


    .fontcss, footer a.btn-link, footer a.btn-link:active, footer a.btn-link:visited {
        color: #888;
        font-size: 14px;
        vertical-align: sub;
    }
