/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
    /* padding-top: 50px; */
}


/*
 * Global add-ons
 */

.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
    border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
/*.sidebar {
  display: none;
}*/
@media (min-width: 768px) {
    .sidebar {
        /*position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;*/
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        /*border-right: 1px solid #eee;*/
    }
}

/* Sidebar navigation */
.nav-sidebar, .sidebar .panel-heading {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-left: -20px;
    margin-bottom: 20px;
}

.nav-sidebar-heading {
    margin-bottom: 0px;
}

.nav-sidebar > li > a, .panel-heading {
    padding-right: 20px;
    padding-left: 20px;
}

.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
    color: #fff;
    background-color: #428bca;
}


/*
 * Main content
 */

.main {
    padding: 20px;
}

@media (min-width: 768px) {
    .main {
        padding: 40px;
    }
}

.main .page-header {
    margin-top: 0;
}

/* Crema Styles */
body {
    background: #1d344a;
}

/* Typography */
h1, .h1 {
    color: #39689c;
}

    h1 small, .h1 small {
        font-size: .5em;
    }

label {
    font-weight: normal;
}

.text-muted, small, h1 small, .h1 small, h2 small, h3 small, h4 small {
    color: #B7B7B7;
}

/* Header */
header {
    /* padding: 15px; */
}

    header .nav > li > a:hover, header .nav > li > a:focus {
        background-color: transparent;
    }

    header .nav-pills {
        margin-top: 8px;
    }

        header .nav-pills a {
            color: white;
            display: inline-block;
        }


.logo {
    max-height: 65px;
    display: inline-block;
    padding: 5px 0;
    cursor: pointer;
}


/* Sidebar */
.sidebar .panel-heading {
    background: #e7e6eb; /* Old browsers */
    color: #333 !important;
    border: 1px solid #c7c5ca;
    border-left: none;
    border-right: none;
    margin-bottom: 0px !important;
    background: -moz-linear-gradient(top, #e7e6eb 0%, #cecdd2 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e7e6eb), color-stop(100%,#cecdd2)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #e7e6eb 0%,#cecdd2 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #e7e6eb 0%,#cecdd2 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #e7e6eb 0%,#cecdd2 100%); /* IE10+ */
    background: linear-gradient(to bottom, #e7e6eb 0%,#cecdd2 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e7e6eb', endColorstr='#cecdd2',GradientType=0 ); /* IE6-9 */
}

/* Panels */
a.panel-heading {
    display: block;
}

    a.panel-heading:hover {
        text-decoration: none;
    }

.panel-heading i {
    float: right;
    font-size: 14px;
}

/* Wells */
.well-page {
    border: none;
    background: white;
    border-radius: 0px;
    box-shadow: 0px 0px 7px rgba(0,0,0,0.15);
}

/* Footer */
footer {
    padding-top: 15px;
    padding-bottom: 30px;
    color: #93BDE0;
}

    footer nav {
        text-align: center;
    }

        footer nav a {
            padding: 0 10px;
        }

.content {
    background-color: #F5F7F9;
}

.main {
    background-color: white;
    min-height: 800px;
}


.glyphicon {
}


iframe {
    border: 0px !important;
}

.img-rounded {
    border-radius: 50%;
}



/* Login Page Styles */
body.login {
    padding-top: 0;
    margin-top: 0;
}

.login .alert {
    border-radius: 0px;
    border-width: 0px 0px 1px 0px;
}

.login h1 {
    text-align: center;
}

.login .login-form {
    float: none;
    padding: 30px;
    /*background: white;*/
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    margin-bottom: 15px;
    margin-top: 60px;
    color: white;
}

.login .form-group {
    margin-left: 0px;
    margin-right: 0px;
}

.login-form input {
    margin-bottom: -1px;
    border-width: 0px 0px 1px 0px;
}

.login-form .username {
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    margin-bottom: -1px;
}

.login-form .password {
    border-radius: 0px !important;
}

.login-form .btn-primary {
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
    padding: 20px;
}
