html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap>.container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.not-set {
    color: #c55;
    font-style: italic;
}


/* add sorting icons to gridview sort links */

a.asc:after,
a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .form-group {
    white-space: normal;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}


/* align the logout "link" (button in form) of the navbar */

.nav li>form>button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li>form>button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav>li>form>button.logout:focus,
.nav>li>form>button.logout:hover {
    text-decoration: none;
}

.nav>li>form>button.logout:focus {
    outline: none;
}

.field-loginform-rememberme label {
    padding-left: 20px;
}


/*
nav bar
*/

#app-name {
    margin: 10px;
}

#main-bar {
    min-height: 60px;
    background-color: #1e6ff9;
}

#main-bar h4 {
    color: #fff;
    margin-top: 5px;
}

.navbar-brand {
    padding: 10px;
}

.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:hover,
.navbar-inverse .navbar-nav>.active>a:focus {
    color: #fff;
    background-color: #1e6ff9;
}

.navbar-inverse .navbar-brand {
    color: #cccccc;
}

.navbar-inverse .navbar-nav>li>a {
    color: #cccccc;
}

.navbar-logo {
    padding-top: 9px !important;
    padding-bottom: 9px !important;
}

#asso-image {
    max-height: 40px;
    padding-top: 10px;
    padding-top: 10px;
}

.body-max-height {
    max-height: 660px;
    overflow-y: auto;
}


/* side bar selects */

.sidebar-select-title {
    font-size: 14px !important;
}

.sidebar-select {
    margin: 0px 20px !important;
}

div.required label.control-label:after {
    content: " *";
    color: red;
}

div.required.field-inscriptionform-town label.control-label:after {
    content: "  *";
    color: #fff;
}

.content-header {
    padding: 15px 15px 15px 15px;
}

.truncate {
    max-width: 200px !important;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.truncate:hover {
    overflow: visible;
    white-space: normal;
    width: auto;
}


/* event dialog invitation */

.form-small-height {
    margin-bottom: 0;
}

.form-small-height>.checkbox {
    margin-bottom: 0;
}

hr.small {
    margin: 5px 0;
}

@media screen and (max-width: 480px) {
    .kv-table-wrap tr>td:first-child {
        border-top: 3px double #ccc;
        margin-top: 10px;
        font-size: 1em ! important;
    }
}

.footer-version {
    position: fixed;
    bottom: 0;
    padding: 10px;
    text-align: center;
    border-top: 1px solid #d2d6de;
    border-right: 1px solid #d2d6de;
    background: #fff;
    z-index: 820;
    width: 230px;
}


/* aide contextuelle */

.help .box {
    background: none;
}

.control-sidebar.control-sidebar-open.help,
.control-sidebar.control-sidebar-open.help+.control-sidebar-bg {
    right: 0;
    width: 25%;
}


/* menu */

.treeview-menu {
    padding-left: 20px;
}
.login-box{
	width: 400px !important;
}