/****

This file includes definitions for making the layout more compact, 
like decreasing font size, margins, paddings, etc.

by Magnus 2016-01-29

****/

/* Body */
body {
    color: #767676;
    font-family: "Open Sans",Arial,Helvetica,sans-serif;
    font-size: 12px;
    line-height: 18px;
    font-style: normal;
    font-weight: normal;
}

/* Wrapper for main content of page */
#main-content .wrapper {
    margin-top: 0;
    display: inline-block;
    width: 100%;
    padding: 40px 0 0 0;
}

/* Topbar */
.navbar {
    max-height: 40px;
    min-height: 40px;
}

.navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
}

.page-topbar li.searchform .input-group {
    top: 6.2px;
    width: 30px;
}

.page-topbar li.searchform.focus .input-group {
    width: 260px;
    top: 4px;
}

/* The title for boxes */
section header .title {
    margin-top: 5px;
    margin-bottom: 5px;
    font-family: "Oswald",Arial,Helvetica,sans-serif;
    font-size: 14px;
    padding-left: 10px;
    line-height: 20px;
    color: #676767;
    font-weight: 300;
    text-transform: uppercase;
    display: inline-block;
    letter-spacing: 2px;
}

/* The main content of boxes */
section .content-body {
    padding: 10px 15px;
    background-color: #FFF;
    border-width: 0px 1px 1px;
    border-style: none solid solid;
    border-color: -moz-use-text-color #E8E8E8 #E8E8E8;
    -moz-border-top-colors: none;
    -moz-border-right-colors: none;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    border-image: none;
    transition: all 800ms ease 0s;
}

/* Icons in the top right corner of box headers */
section.box .actions i {
    color: #BCBCBC;
    font-size: 12px;
    margin-left: 0px;
    padding: 0 5px;
    cursor: pointer;
}

/* Container for icons in the top right corner of box headers */
section.box .actions {
    position: absolute;
    right: 0px;
    top: 0px;
    margin: 5px 10px;
    line-height: 20px;
}

/** TABLE STUFFS **/
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    border-color: #EAEAEA;
    padding: 5px;
}

/* Vertical menu bar menu items */
#main-menu-wrapper li a {
    display: block;
    line-height: 30px;
    min-height: 30px;
    height: auto;
    color: #D6DADF;
    text-decoration: none;
    padding-left: 30px;
    clear: both;
}

/* Vertical menu bar sub-menu items */
#main-menu-wrapper li .sub-menu a {
    line-height: 25px;
    min-height: 25px;
}

.page-topbar {
    //position: relative;
    max-height: 52px;
    min-height: 0px;
}


/** FORM STUFFS **/

/* This affects pretty much every kind of field */
.form-control {
    height: 29px;
    font-size: 12px;
    padding: 3px 12px;
}