/* =============================================
   BASE
   ============================================= */
body {
    font-family: 'Roboto Slab', serif;
    font-size: 15px;
    background: rgb(255,255,255) url(//i2mportal.com/images/bg.png) center top repeat;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
.h1, .h2, .h3, h1, h2, h3, h4, .h4 {
    margin-top: 50px !important;
    line-height: 1.7;
}

/* =============================================
   LAYOUT & CONTENT
   ============================================= */
#intro {
    margin: -20px 0px -12px 0px;
    padding: 0px 0px 24px 0px;
    font-size: 14px;
}

#intro h1 {
    text-align: center;
    font-size: 36px;
    margin: 0 0 19px 0 !important;
    color: #fff;
}

.main_category {font-size: 24px;}

/* Scope list margin adjustment to content only,
   avoids clipping nav/form lists */
.col-sm-12 ol,
.col-sm-12 ul {
    margin-top: 0;
}

/* =============================================
   IMAGES & MEDIA
   ============================================= */
.col-sm-12 img {
    max-width: 100%;
    height: auto;
}

.col-sm-12 iframe {
    max-width: 100%;
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar-default {
    margin-top: 25px;
}

ul.nav.navbar-nav {
    margin-top: 0;
    font-size: 12px;
}

nav.navbar.navbar-admin-top  { margin-bottom: 0; border-bottom: none; }
nav.navbar.navbar-admin-bar  { margin-top: 0; border-top: 1px solid #e7e7e7; }

/* =============================================
   FORMS - GENERAL
   ============================================= */
.form-group {
    margin-top: 15px;
}

/* =============================================
   FORMS - SIGN IN
   ============================================= */
.form-signin {
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}

.form-signin .form-signin-heading,
.form-signin .checkbox {
    margin-bottom: 10px;
}

.form-signin .checkbox {
    font-weight: normal;
}

.form-signin .form-control {
    position: relative;
    font-size: 16px;
    height: auto;
    padding: 10px;
    box-sizing: border-box;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.form-signin input[type="text"] {
    margin-bottom: -1px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* =============================================
   LOGIN / ACCOUNT WALL
   ============================================= */
.account-wall {
    margin-top: 20px;
    padding: 40px 0 20px 0;
    background-color: #f7f7f7;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
}

.login-title {
    color: #555;
    font-size: 18px;
    font-weight: 400;
    display: block;
}

.profile-img {
    width: 96px;
    height: 96px;
    margin: 0 auto 10px;
    display: block;
    border-radius: 50%;
}

.need-help {
    margin-top: 10px;
}

.new-account {
    display: block;
    margin-top: 10px;
}

/* =============================================
   MISC UI
   ============================================= */
.public_edit {
    font-size: x-small;
}

.button_top_right {
    margin-bottom: 15px;
}

.thumbshot {
    display: none;
}

.date_edit {
    font-style: italic;
    font-size: smaller;
    color: #ccc;
}

.children_categories {
    line-height: 1.5;
}

.btn {
    font-size: 13px;
}

.date_edit {
    font-style: italic;
    font-size: smaller;
    color: #ccc;
}

.date_edit a {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin: 20px;
    padding: 3px 12px;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    color: #fff;
    background-color: #d9534f;
    border-radius: 3px;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: background-color 0.15s ease;
}

.date_edit a:hover {
    background-color: #3f6591;
    text-decoration: none;
}

.tox .tox-dialog textarea {
    color: #000 !important;
    background-color: #f8f8f8 !important;
    font-family: monospace !important;
    font-size: 13px !important;
}

.children_categories a {
    display: inline-block;
    padding: 4px 10px;
    margin: 3px 2px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #337ab7;
    text-decoration: none;
    font-size: inherit;
    line-height: 1.4;
    transition: background-color 0.15s, border-color 0.15s;
}

.children_categories a:hover {
    background-color: #dce8f5;
    border-color: #337ab7;
    color: #23527c;
    text-decoration: none;
}

.pull-right{margin-top: 20px;}

/* =============================================
   SEARCH FORMS
   ============================================= */
#searchResourceFormTop {
    margin: 5px 0 -16px 0;
}

#searchResourceFormBottom {
    margin-top: 25px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    body {
        padding-left: 10px;
        padding-right: 10px;
    }
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    .col-sm-12 {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    #intro h1 {
        font-size: 20px;
        margin: 22px 0 14px 0 !important;
    }
}