﻿html {
    position: relative;
    min-height: 100%;
}

body {
    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;
}

.dl-horizontal dt.section-title {
    padding: 15px 0 15px 0;
}

div.form-group div.section-title {
    text-align: center;
    font-weight: bold;
    padding-top: 15px;
}

.date-ita ~ .input-group-addon {
    cursor: pointer;
}

.form-group {
    margin-bottom: 5px;
}

/* Accordion */
.accordion div.panel-heading {
    cursor: pointer;
}
.accordion div.panel-collapse a {
    display:block;
}

.no-gutter > [class*='col-'] {
    padding-right: 0;
    padding-left: 0;
}

button.offcanvas-btn {
    margin-top: 4px;
    padding: 3px 10px;
}

@media screen and (max-width: 991px)  {
    .row-offcanvas {
        position: relative;
        -webkit-transition: all .25s ease-out;
        -o-transition: all .25s ease-out;
        transition: all .25s ease-out;
    }

    .row-offcanvas-right {
        right: 0;
    }

    .row-offcanvas-left {
        left: 0;
    }

    .row-offcanvas-right .sidebar-offcanvas {
        right: -33%;
    }

    .row-offcanvas-left .sidebar-offcanvas {
        left: -33%;
       visibility:hidden;
    }
    .row-offcanvas-left.active .sidebar-offcanvas {
        left: -33%;
        visibility: visible;
    }

    .row-offcanvas-right.active {
        right: 33%;        
    }

    .row-offcanvas-left.active {
        left: 33%;
    }

    .sidebar-offcanvas {
        position: absolute;
        top: 0;
        width: 33%;
    }
}

/*----------------------------------------------------------
Progressbar
----------------------------------------------------------*/
#statusBorder {
    position: relative;
    height: 5px;
    width: 100%;
    border: solid 1px #283B56;
    display: none;
}

#statusFill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0px;
    background-color: #A3C0E8;
    height: 5px;
}

/* Login message */
.loginMessage {
    padding: 15px;
    font-size: 1.2em;
    color: red;
}

/* Button */
.mybutton {
    margin: 10px 0 0 0px;
    padding: 3px 10px;
}

/* Radiobutton */
.myradio {
    margin: 10px 0 0 0 !important;
}

/* Ajax controls */
.ajax-dropdown-form {
}
.ajax-change-action {
}

/* Messages */
.text-error{
    color: red;
}
.text-message {
    color: green;
}

/* Badges */
.mybadge {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border-radius: 10px;
}

.badge-primary {
    color: #fff;
    background-color: #007bff;
}

.badge-secondary {
    color: #fff;
    background-color: #6c757d;
}

.badge-success {
    color: #fff;
    background-color: #28a745;
}

.badge-warning {
    color: #212529;
    background-color: #ffc107;
}

.badge-danger {
    color: #fff;
    background-color: #dc3545;
}

.badge-info {
    color: #fff;
    background-color: #17a2b8;
}