/* ====  Custom styles ==== */


/* == Headings == */

h1 {
    font-size: 24px;
}

h2 {
    font-size: 18px;
    line-height: 28px;
}

h3 {
    font-size: 16px;
    line-height: 16px;
    margin-top:20px;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

.text-left {
    text-align: left !important;
}

/*ul.nav li.dropdown:hover > ul.dropdown-menu{
    display: block;    
}

a.menu:after, .dropdown-toggle:after {
    content: none;
}*/

/* remove dropdown gap so we don't lose the hover effect */
.navbar .dropdown-menu {
    margin-top: 0px;
}

body {
    /*padding-top: 80px;*/
    padding-bottom: 0px;
    /*background-color: #F5F5F5;*/
    background-color: #8e95A5; /*#c2c7d2*/
}

#bodyContent {
    background-color: #FFFFFF;
    padding: 0px 15px 15px 15px;
}

@media (max-width: 980px) {
    /* Enable use of floated navbar text */
    .navbar-text.pull-right {
        float: none;
        padding-left: 5px;
        padding-right: 5px;
    }
}

#mantis-logo {
    max-height: 30px;
    padding: 0 15px;
}

.navbar-inner {
    background-color: #383E4B; /*#4088C6;*/
    background-image: -moz-linear-gradient(top, #383E4B, #383E4B);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#383E4B), to(#383E4B));
    background-image: -webkit-linear-gradient(top, #383E4B, #383E4B);
    background-image: -o-linear-gradient(top, #383E4B, #383E4B);
    background-image: linear-gradient(to bottom, #383E4B, #383E4B);
    background-repeat: repeat-x;
    border: none;
}

/*.navbar-inner {
    background-color: #003767;
    background-image: -moz-linear-gradient(top, #003767, #003767);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#003767), to(#003767));
    background-image: -webkit-linear-gradient(top, #003767, #003767);
    background-image: -o-linear-gradient(top, #003767, #003767);
    background-image: linear-gradient(to bottom, #003767, #003767);
    background-repeat: repeat-x;
}*/

/*.navbar-inner {
    background-color: #0081c2;
    background-image: -moz-linear-gradient(top, #0081c2, #0081c2);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0081c2), to(#0081c2));
    background-image: -webkit-linear-gradient(top, #0081c2, #0081c2);
    background-image: -o-linear-gradient(top, #0081c2, #0081c2);
    background-image: linear-gradient(to bottom, #0081c2, #0081c2);
    background-repeat: repeat-x;
}*/

.navbar .nav > li > a {
    color: #ffffff;
    -webkit-text-shadow: none;
    text-shadow: none;
}

    .navbar .nav > li > a:focus, .navbar .nav > li > a:hover {
        color: #ffffff;
    }

.navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus {
    background-color: #003767;
    color: #ffffff;
    -webkit-text-shadow: none;
    text-shadow: none;
    box-shadow: none;
}

.navbar .nav li.dropdown > .dropdown-toggle .caret {
    border-bottom-color: #ffffff;
    border-top-color: #ffffff;
}

.navbar .nav li.dropdown > a:hover .caret, .navbar .nav li.dropdown > a:focus .caret {
    border-bottom-color: #ffffff;
    border-top-color: #ffffff;
}

.navbar-text {
    color: #ffffff;
    line-height: 40px;
    margin-bottom: 0;
}

.navbar-link, .navbar-link:hover, .navbar-link:focus {
    color: #ffffff;
}

.navbar .nav li.dropdown.open > .dropdown-toggle, .navbar .nav li.dropdown.active > .dropdown-toggle, .navbar .nav li.dropdown.open.active > .dropdown-toggle {
    background-color: #2D323D;
    color: #FFFFFF;
}

.navbar .btn-navbar {
    background-color: #8e95A5;
    background-image: linear-gradient(to bottom, #8e95A5, #8e95A5);
}

    .navbar .btn-navbar:hover,
    .navbar .btn-navbar:focus,
    .navbar .btn-navbar:active,
    .navbar .btn-navbar.active,
    .navbar .btn-navbar.disabled,
    .navbar .btn-navbar[disabled] {
        color: #ffffff;
        background-color: #121c31;
        *background-color: #121c31;
        background-image: linear-gradient(to bottom, #121c31, #121c31);
    }

    .navbar .btn-navbar:active,
    .navbar .btn-navbar.active {
        background-color: #121c31 \9;
    }



/* == jasny extensions == */
.small-labels .control-group > label {
    width: 120px;
}

.small-labels .controls {
    margin-left: 130px;
}

.small-labels .form-actions {
    padding-left: 130px;
}

.form-vertical .form-horizontal .control-group > label {
    text-align: left;
}

.form-horizontal .form-vertical .control-group > label {
    float: none;
    padding-top: 0;
    text-align: left;
}

.form-horizontal .form-vertical .controls {
    margin-left: 0;
}

.form-vertical .controls input {
    margin-bottom: 0px;
}

.form-horizontal .form-vertical.form-actions,
.form-horizontal .form-vertical .form-actions {
    padding-left: 20px;
}

/*.form-horizontal .controls > span, .form-horizontal .controls > div {
    display:block;
    padding-top:5px;
}*/

.form-horizontal .control-group {
    margin-bottom: 10px;
}

/* ==== */

.form-horizontal .control-label {
    padding-top: 0;
    margin-bottom: 0;
}

.form-horizontal .control-group.input-group .control-label, .form-horizontal .control-group.input-group .controls {
    line-height: 30px;
}

.labels-left .control-group > label {
    text-align: left;
}




/* Box content with header */


.box {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: rgba(0,0,0,.15) 0 0 5px;
    -moz-box-shadow: rgba(0,0,0,.15) 0 0 5px;
    box-shadow: rgba(0,0,0,.15) 0 0 5px;
    margin: 0 0 20px 0;
    border: 1px solid #DDD;
    /*overflow: hidden;*/
}

    .box .box-header, .box .box-header a {
        background: #428BCA; /*#36a9e1;*/
        color: #fff;
        /*font-size: 16px;*/
        overflow: hidden;
    }

        .box .box-header h2 {
            float: left;
            padding: 5px 0;
            margin: 0 0 0 10px;
            line-height: 18px;
        }

            .box .box-header h2 i {
                background: #1a6bae; /*#1e8fc6;*/
                color: #fff;
                padding: 5px 0;
                width: 35px;
                display: inline-block;
                text-align: center;
                margin: -5px 10px -5px -10px;
            }

        .box .box-header .box-icon {
            background: #1e8fc6;
            float: right;
        }

            .box .box-header .box-icon i {
                display: inline-block;
                color: #fff;
                text-align: center;
                width: 35px;
                padding: 5px 0;
                -webkit-transition: all .1s ease-in-out;
                -moz-transition: all .1s ease-in-out;
                -ms-transition: all .1s ease-in-out;
                -o-transition: all .1s ease-in-out;
                transition: all .1s ease-in-out;
                opacity: .8;
                filter: alpha(opacity=80);
                -ms-filter: "alpha(Opacity=80)";
                border-left: 1px solid #36a9e1;
                text-decoration: none;
            }

                .box .box-header .box-icon i:hover {
                    opacity: 1;
                    filter: alpha(opacity=100);
                    -ms-filter: "alpha(Opacity=100)";
                }

    .box .box-content {
        padding: 10px;
        background: #fff;
    }




/* == Form Controls == */

select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    /*border-radius: 4px 4px 4px 4px;
    color: #555555;
    display: inline-block;
    font-size: 14px;
    height: 20px;
    line-height: 20px;
    margin-bottom: 10px;
    padding: 4px 6px;
    vertical-align: middle;*/
    margin-bottom: 0px;
}

.backlink {
    position: relative;
    top: 10px;
    font-size: 12px;
    color: #333;
    padding-left: 20px;
    background: url(../images/admin/images/icon_backlink.png) no-repeat left center;
}

.mr10 {
    margin-right: 10px;
}

.fine-print {
    font-size: 11px;
}

hr {
    margin: 10px 0px;
}

label {
    cursor: auto;
}

.input-prepend, .input-append {
    margin-bottom: 0px;
}

.table-fixed {
    table-layout: fixed;
    word-wrap: break-word;
    border-collapse: collapse;
}

.table-middle td {
    vertical-align: middle;
}

/*.input-large[class=input-large] {
    width: 400px;
}*/

/*lose the rounded corners*/
select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
    -webkit-border-radius: initial;
    -moz-border-radius: initial;
    border-radius: initial;
}

/*input.input-std[type="text"]
{
  height: initial;
  padding: initial;
  margin-bottom: initial;
  font-size: initial;
  line-height: initial;
}*/



/* Sortable List */

.sortable_box {
    float: left;
    height: 170px;
    width: 150px;
    border: 1px solid silver;
    margin: 5px 5px 5px 0px;
    padding: 5px;
}

.sortable_box_img {
    /*height: 150px; 
    width:150px;*/
}

.sortable_box img {
    /*margin: 0 auto;*/
    display: block;
    max-height: 150px;
    max-width: 150px;
    margin-left: auto;
    margin-right: auto;
}

.sortable_box_footer {
    padding-top: 5px;
    width: 150px;
    margin: 0 auto;
    text-align: center;
}

.hidden {
    display: none;
}

.catlist-treeview {
    margin-top: -20px;
}

.treeview input[type="radio"], .treeview input[type="checkbox"] {
    margin: -2px 2px 0px 0px;
}

/*body, container {
    height:100%;
}*/

.input-auto {
    width: auto;
}

.paid {
    color: white !important;
    border: solid 1px #8fc800;
    background: #8fc800;
}

.awaitingPayment {
    color: white !important;
    border: solid 1px #DE535A;
    background: #DE535A;
}

.indicator-tab {
    background-color: #DDDDDD;
    color: #777 !important;
    font-size: 11px;
    font-weight: bold;
    margin-left: 5px;
    text-shadow: none;
}

.orders-tabs li.active a {
    font-weight: bold;
}

table.table-striped tbody tr:nth-child(odd) td {
    background-color: initial;
}

table.table-striped tbody tr:nth-child(even) td {
    background: #F9F9F9;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f3f4f4), to(#e8eae9)); /* Saf4+, Chrome */
    background-image: -webkit-linear-gradient(top, #f3f4f4, #e8eae9); /* Chrome 10+, Saf5.1+, iOS 5+ */
    background-image: -moz-linear-gradient(top, #f3f4f4, #e8eae9); /* FF3.6 */
    background-image: -ms-linear-gradient(top, #f3f4f4, #e8eae9); /* IE10 */
    background-image: -o-linear-gradient(top, #f3f4f4, #e8eae9); /* Opera 11.10+ */
    background-image: linear-gradient(top, #f3f4f4, #e8eae9);
    /* f7faf9 */
}

.table tbody tr.warning > td {
    background: none !important;
    background-image: none !important;
    background-color: #fcf8e3 !important;
}


.box-table {
    border: 1px solid #CCC;
    border-collapse:collapse;
}

    .box-table tfoot tr td {
        border-top: none;
        background-color: #F4F4F4;
    }

    .box-table tfoot tr:first-child td {
        border-top:1px solid #CCC;
    }

    .box-table thead th {
        background-color: #428BCA; /*#383E4B;*/
        color: #FFFFFF;
        font: bold 13px Arial;
        padding: 10px 5px;
    }

    .box-table input[type="checkbox"] {
        margin-top: -2px;
    }

.breadcrumb {
    margin:0 -15px 10px -15px;
}

/*.btn-primary {
    background-color: #428BCA;
    border-color: #357EBD;
    color: #FFFFFF;
}*/

.gridViewPager td {
    padding-left:0px;
    padding-right:0px;
}

.inline-block {
    display: inline-block;
    zoom: 1; /* zoom and *display = ie7 hack for display:inline-block */
    *display: inline;
}

table.no-border, table.no-border tr td {
    border: 0px;
}

.checkbox-fix input {
    margin:-2px 0px 0px 0px;
}

#bulk-update .box-header td {
    padding: 10px 5px;
}

#bulk-update .bulk-update-options th {
    background-color: #CCCCCC;
    color: #000000;
    font: 12px Arial;
    padding: 5px;
}