﻿html {
    background-color:lightgray;
}

body {
    /*background-color:lightblue;*/
    background-color: lightgray;
}

@media (min-width: 500px) {
    .topdown {
        margin-top: 70px;
    }
}


/* 13.6 Login & Register Page with News Feed Setting */
.login.login-with-news-feed,
.register.register-with-news-feed {
    width: 100%;
    margin: 0;
    padding: 0;
}

    .login.login-with-news-feed .news-feed,
    .register.register-with-news-feed .news-feed {
        position: fixed;
        left: 0;
        right: 500px;
        top: 0;
        bottom: 0;
        -webkit-transform: translateZ(0);
        overflow: hidden;
    }

    .login.login-with-news-feed .news-image,
    .register.register-with-news-feed .news-image {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
    }

        .login.login-with-news-feed .news-image img,
        .register.register-with-news-feed .news-image img {
            position: absolute;
            right: 0;
            top: 0;
            left: 0;
            bottom: 0;
            max-height: 100%;
            min-width: 100%;
            top: -1960px;
            bottom: -1960px;
            left: -1960px;
            right: -1960px;
            margin: auto;
        }

    .login.login-with-news-feed .news-caption,
    .register.register-with-news-feed .news-caption {
        background: rgba(255,255,255,0.15);
        background: rgba(0, 0, 0, 0.7);
        color: #999;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 30px 60px;
        font-size: 14px;
        z-index: 20;
        font-weight: 300;
        min-width: 680px;
    }

        .login.login-with-news-feed .news-caption .caption-title,
        .register.register-with-news-feed .news-caption .caption-title {
            color: #fff;
            color: rgba(255,255,255,0.8);
            font-weight: 300;
            font-size: 28px;
        }

    .login.login-with-news-feed .right-content,
    .register.register-with-news-feed .right-content {
        float: right;
        width: 500px;
    }

    .login.login-with-news-feed .login-content,
    .register.register-with-news-feed .register-content {
        width: auto;
        padding: 30px 60px;
    }

    .register.register-with-news-feed .register-content {
        padding: 20px 60px 30px;
    }

    .login.login-with-news-feed .login-header,
    .register.register-with-news-feed .register-header {
        position: relative;
        top: 0;
        margin: 0;
        left: 0;
        right: 0;
        padding: 100px 60px 0;
    }

    .register.register-with-news-feed .register-header {
        padding: 60px 60px 0;
        font-size: 32px;
    }

        .register.register-with-news-feed .register-header small {
            color: #707478;
            display: block;
            font-size: 14px;
            margin-top: 10px;
            line-height: 20px;
        }

    .login.login-with-news-feed .login-header .brand {
        color: #242a30;
    }

        .login.login-with-news-feed .login-header .brand small {
            color: #707478;
        }

    .login.login-with-news-feed .login-header .icon {
        top: 98px;
        right: 10px;
    }

.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 200px;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}
.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: .25rem; /*1.25rem;*/
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
}
.card-title {
    margin-bottom: 0.75rem;
    font-size: 20px;
}
.card-subtitle {
    margin-top: -0.375rem;
    margin-bottom: 0;
}
.card-text:last-child {
    margin-bottom: 0;
}
.card-link:hover {
    text-decoration: none;
}
.card-link + .card-link {
    margin-left: 1.25rem;
}
.card-header {
    padding: 0.07rem 0.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

/*Sidebar css*/
#navSidebar {
    /*width: inherit;*/
    min-width: 270px;
    max-width: 270px;
    margin-left:10px;
    background-color: white; /*#f5f5f5;*/
    float: left;
    height: 90%;
    position: fixed; /*relative;*/
    overflow-y: auto;
    overflow-x: hidden;
}
.sidebar-offcanvas {
    position: fixed; /*absolute;*/
    /*top: 0;*/
}

/*Main css*/
#main {
    height: 100%;
    overflow: auto;
    /*margin-right: 210px;*/
}
@media (min-width: 992px) {
    .mainsize {
        margin-left: 270px;
        margin-right: 210px;
    }
    .mainrightsize {
        margin-right: 0px;
        
    }
}
#rightInfobar {
    /*width: inherit;*/
    min-width: 210px;
    max-width: 210px;
    /*margin-left: 80%;*/
    background-color: wheat; /*#f5f5f5;*/
    float: right;
    height: 90%;
    position: fixed; /*relative;*/
    right: 10px;
    /*overflow-y: auto;
    overflow-x: hidden;*/
}