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;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.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: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\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 th {
    white-space: nowrap;
}

.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;
}

.breadcrumb > li + li:before {
    color: #ccc;
    content: "/ ";
    padding: 0 5px;
}

.select2-container--krajee .select2-selection--single {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 18px;
    height: 45px;
    border-width: 2px;
    border-color: rgb(220, 228, 236);
}

.select2-container--krajee .select2-selection--single .select2-selection__arrow {
    margin-top: 1px;
    height: 41px;
}

.select2-container--krajee .select2-selection--multiple {
    padding-top: 4px;
    padding-bottom: 5px;
    padding-left: 6px;
    min-height: 43px;
    border-width: 2px;
    border-color: rgb(220, 228, 236);
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #999;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #999;
   opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #999;
   opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    #999;
}
::-ms-input-placeholder { /* Microsoft Edge */
   color:    #999;
}

.select2-container--krajee .select2-selection {
    border-radius: 0px;
    border-width: 2px;
}

.select2-dropdown {
    border-radius: 0px;
    border-width: 2px;
}

.select2-container--krajee .select2-search--dropdown .select2-search__field {
    border-radius: 0px;
    border-width: 2px;
}

.bootstrap-dialog .modal-header .kv-plugin-loading {
    border-radius: 0px;
    border-width: 2px;
}

.form-group .form-control {
    -webkit-border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    border-radius: 0px !important;
    border-width: 2px;
}

.kv-merged-header {
    border-bottom: 0px !important;
}

.select2-container--krajee .select2-selection--multiple .select2-selection__choice__remove {

    margin: 0 0 0 3px;

}

.tooltip-inner {
    max-width: 220px;
}

.select2-container--open .select2-dropdown--below {

    margin-top: -2px;

}

.file-preview {
    background-color: white;
    text-align: center;
}


.has-error.select2-container--krajee .select2-dropdown, .has-error .select2-container--krajee .select2-selection {
    border-color: #e74c3c;
}

.has-success.select2-container--krajee .select2-dropdown, .has-success .select2-container--krajee .select2-selection {
    border-color: #18bc9c;
}

.has-success .select2-container--open .select2-selection, .has-success .select2-container--krajee.select2-container--focus .select2-selection {
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #18bc9c;
}

.has-error .select2-container--open .select2-selection, .has-error .select2-container--krajee.select2-container--focus .select2-selection {
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #e74c3c;
}

.select2-selection__clear {
    margin-top: 3px;
}


#template-tabs > li > a {
    border-width: 1px;
    border-color: #c0c7cd;
}

#template-tabs > li.active > a {
    border-color: #c0c7cd;
    background-color: #c0c7cd;
}

#template-tabs > li > a:hover, #template-tabs > li > a:focus {
    border-color: #c0c7cd;
    background-color: #c0c7cd;
}

#design, #content {
    background-color: #c0c7cd;
    padding-top: 15px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    z-index: 1;
    min-height: 120px;
}

.template-bg {
    background-color:#c0c7cd;
    height: calc(100%);
    width: calc(100% + 40px);
    left: -20px;
    right: 20px;
    top: 42px;
    position: absolute;
    z-index: -1;
}

.template-bg-well {
    
    z-index: 0;
    background: #ecf0f1 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADICAIAAACmkByiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAB3RJTUUH4wcfFRMHAzjt/wAAABdJREFUKM9jOHD8LBMDA8MoHsWjGBMDALNSA+PmQ9Y9AAAAAElFTkSuQmCC) bottom repeat-x;

}

.nav-tabs {
    border-color: #c0c7cd;
    z-index: 0;
}

#toTop{
    position: fixed;
    bottom: 60px;
    right: 30px;
    cursor: pointer;
    display: none;
    font-weight: bold;
    opacity: 0.5;
    font-size: 25px;
    height: 40px;
    width: 40px;
    padding: 0px;
    padding-left: 0px;
}

#toTop .fa {margin-right: 5px;}

.bootstrap-touchspin-up, .bootstrap-touchspin-down {
    border-radius: 0px;
}

.bootstrap-touchspin-postfix {
    border-top-width: 2px;
    border-bottom-width: 2px;
    border-right-width: 3px;
}

.input-group-addon {
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 0px;
    border-width: 2px;
}

.has-success .input-group-addon {
    background-color: #dff0d7;
}

.input-group-html5 .input-group-addon:first-child {
    border-right: 2px solid #dce4ec !important;
}

.has-success .input-group-html5 .input-group-addon:first-child {
    border-right: 2px solid #26bc9b !important;
}

.file-preview {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 8px;
    width: 100%;
    margin-bottom: 5px;
}

.file-drop-zone.clickable {
    border: 2px dashed #d9e2e9;
    border-radius: 10px;
}

.file-drop-zone.clickable:hover {
    border: 2px dashed #18bc9c;
}

.kv-loader {
    position: fixed;
    background: #fff url('/images/loading.gif') center center no-repeat !important;
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
}

.input-group-addon {
	border-width: 0;
}