﻿body {
    /*padding-top: 50px;*/
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.navbar-mainmenu {
    /*background-color: #222;
	border-color: #080808;*/
    background-color: #002A5C;
    /*background: #002A5C none repeat scroll 0 0;*/
    border: 1px solid #002A5C;
}

    .navbar-mainmenu a {
        color: white;
        text-decoration: none;
    }

        .navbar-mainmenu a:hover {
            color: #1589B8;
            text-decoration: none;
        }

#custom-bootstrap-menu.navbar-default .navbar-brand {
    color: rgba(255, 255, 255, 1);
}

#custom-bootstrap-menu.navbar-default {
    font-size: 14px;
    background-color: rgba(0, 42, 92, 1);
    border-width: 1px;
    border-radius: 0px;
}

    #custom-bootstrap-menu.navbar-default .navbar-nav > li > a {
        color: rgba(255, 255, 255, 1);
        background-color: rgba(0, 42, 92, 1);
    }

        #custom-bootstrap-menu.navbar-default .navbar-nav > li > a:hover,
        #custom-bootstrap-menu.navbar-default .navbar-nav > li > a:focus {
            color: rgba(21, 137, 184, 1);
            background-color: rgba(0, 42, 92, 1);
        }

    #custom-bootstrap-menu.navbar-default .navbar-nav > .active > a,
    #custom-bootstrap-menu.navbar-default .navbar-nav > .active > a:hover,
    #custom-bootstrap-menu.navbar-default .navbar-nav > .active > a:focus {
        color: rgba(21, 137, 184, 1);
        background-color: rgba(231, 231, 231, 1);
    }

    #custom-bootstrap-menu.navbar-default .navbar-toggle {
        border-color: #ddd;
    }

        #custom-bootstrap-menu.navbar-default .navbar-toggle:hover,
        #custom-bootstrap-menu.navbar-default .navbar-toggle:focus {
            background-color: #ddd;
        }

        #custom-bootstrap-menu.navbar-default .navbar-toggle .icon-bar {
            background-color: #888;
        }

        #custom-bootstrap-menu.navbar-default .navbar-toggle:hover .icon-bar,
        #custom-bootstrap-menu.navbar-default .navbar-toggle:focus .icon-bar {
            background-color: #002a5c;
        }



.checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"], .radio input[type="radio"], .radio-inline input[type="radio"] {
    position: absolute;
    margin-top: 4px\9;
    /*margin-left: -20px;*/
    margin-left: 0px;
}

.radio.radiobuttonlist label,
.checkbox.checkboxlist label {
    /*margin-bottom: 4px;*/
    margin-right: 10px;
}

.file-upload {
    position: relative;
    height: 32px;
    width: 100%;
    cursor: pointer;
    font-size: 14px;
    font-family: sans-serif;
    line-height: 1.42857143;
    color: #555;
}

    .file-upload:after {
        content: "Обзор";
        position: absolute;
        display: block;
        top: 0;
        right: 0;
        z-index: 5;
        background-color: #fff;
        border: 1px solid #ccc;
        border-radius: 0 4px 4px 0;
        padding: 6px 12px;
        color: #333;
    }

    .file-upload:hover:after {
        color: #333;
        background-color: #e6e6e6;
        border-color: #adadad;
    }

    .file-upload:active:after {
        outline: 0;
        -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
        box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    }

    .file-upload:before {
        content: attr(data-text);
        position: absolute;
        top: 0;
        left: 0;
        z-index: 3;
        display: block;
        width: calc(100% - 40px);
        padding: 6px 12px;
        background-color: #fff;
        border: 1px solid #ccc;
        border-radius: 4px;
        height: 105%;
    }

    .file-upload input {
        position: absolute;
        display: block;
        top: 0;
        height: 100%;
        z-index: 99;
        width: 100%;
        opacity: 0;
        max-width: none;
    }

.reorderStyle ul {
    padding: 10px 15px;
}

.reorderStyle li {
    list-style-type: none;
    position: relative;
    display: block;
    padding: 10px 15px;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid #ddd;
}

.pagemenu {
    width: 25%;
    height: 60px;
    padding-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px;
}

.pagemenu_doublerow{
    width: 25%;
    height: 60px;
    padding-top: 12px;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px;
}

.treeview .list-group-item {
    /*cursor: pointer;*/
}

.treeview span.indent {
    margin-left: 10px;
    margin-right: 10px;
}

.treeview span.icon {
    width: 12px;
    margin-right: 5px;
}

.treeview .node-disabled {
    color: silver;
    cursor: not-allowed;
}

.node-treeview1 {
}

    .node-treeview1:not(.node-disabled):hover {
        background-color: #F5F5F5;
    }

.vertical {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.with-margin {
    margin-bottom: 10px;
    margin-top: 10px;
}


.simpleTable td {
    padding: 7px;
}

.simpleTable th {
    padding: 7px;
    text-align: center;
}

