/** RESET SOME BOOTSTRAP STYLES */

.head-content .nav:before {
    display: initial;
}

.content-startlist label, .content-register label, .content-start label, .content-startpage label {
    margin-bottom: 0px;
    font-weight: normal;
}

.content-startlist legend, .content-register legend, .content-start legend, .content-startpage legend {
    color: inherit;
    border: none;
}

.lb-container-content *:not(.form-control), .button, table.list-table * {
    box-sizing: initial;
    -webkit-box-sizing: initial;
    -moz-box-sizing: initial;
}

.lb-container-content input {
    line-height: normal;
}

.cbox {
    box-sizing: initial;
    -webkit-box-sizing: initial;
    -moz-box-sizing: initial;
}

.content-leaderinfo .main-left *, .content-leaderinfo .main-right * {
    box-sizing: initial;
    -webkit-box-sizing: initial;
    -moz-box-sizing: initial;
}

.content .nav-collapse.collapse {
    display: initial;
    visibility: initial;
}

.link-box h4 {
    font-weight: bold;
    font-size: inherit;
}

/* midnattsloppet old layout (2014) sponsors slider */
.sponsors * {
    -moz-box-sizing: initial;
    -webkit-box-sizing: initial;
    box-sizing: initial;
}

/** MIKA bootstrap enhancements */

.form-control {
    border-radius: 0;
}

.well-mt {
    border-radius: 0;
    padding: 3px;
    background-image: none;
    margin-bottom: 10px;
    background-color: #f5f5f5;
    border: 0;
    box-shadow: none;
}

.form-mt {
    font-size: 12px;
    padding: 2px 3px;
}

.form-mt .form-control {
    font-size: 12px;
    padding: 2px 3px;
    height: 27px;
}

.form-mt .form-group {
    margin-bottom: 5px;
}

.table-mt > thead > tr > th {
    background-color: #aaa;
    border-right: 1px solid #cbd6e1;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 2px 2px 4px;
    text-align: left;
    text-transform: none;
    vertical-align: top;
    border-bottom: 0;
}

.table-mt > tbody > tr > td {
    border-right: 1px solid #dedede;
    font-size: 11px;
    padding: 2px 2px 2px 4px;
    vertical-align: top;
    border-top: 0;
}

.table-mt.table-striped > tbody > tr:nth-child(2n+1) {
    background-color: #f1f1f1;
}

.table-mt > tbody > tr > td:last-child,
.table-mt > thead > tr > th:last-child {
    border-right: 0;
}

.btn-mt {
    font-size: 12px;
}

.no-margin {
    margin: 0;
}

.panel-mt .panel-body {
    padding: 10px;
}

.list-table .glyphicon {
    margin: -2px;
    font-size: 14px;
}

.modal .cbox-head {
    display: none;
}

.modal .quicksearch {
    background: none;
    background-color: #DDDDDD;
    position: absolute;
    top: 0px;
    height: 56px;
    padding-top: 13px;
    border-radius: 0px;
    width: 208px !important;
    left: 83px;
}

.modal .quicksearch label {
    font-weight: bold;
    width: auto;
    font-size: 9px;
    display: initial;
    top: -2px;
}

.modal .quicksearch div {
    padding: 0px;
    height: auto;
    display: block;
    background: none;
}

.modal .quicksearch input {
    font-size: 14px;
    height: 18px;
    line-height: 17px;
    height: 31px;
    border: none;
    padding-left: 10px !important;
    width: 130px !important;
}

.modal .quicksearch input:focus {
    outline: 0;
}

.modal .results {
    width: initial;
    box-shadow: initial;
    margin-top: 0px;
}

.modal-content .detail-channel.channel-right {
    width: initial !important;
}

.modal-content .detail-channel.channel-center {
    width: initial !important;
}

@media (min-width: 768px) {
    .modal .quicksearch {
        width: 308px !important;
        left: 183px;
    }

    .modal .quicksearch input {
        width: 230px !important;
    }

    .modal-content .detail-channel.channel-right {
        width: 572px !important;
    }

    .modal-content .detail-channel.channel-center {
        width: 572px !important;
    }
}

@media (min-width: 992px) {
    .modal .quicksearch {
        width: 408px !important;
        left: 333px;
    }

    .modal .quicksearch input {
        width: 330px !important;
    }

    .modal-content .detail-channel.channel-right {
        width: 513px !important;
    }

    .modal-content .detail-channel.channel-center {
        width: 872px !important;
    }
}

@media (min-width: 768px) {
    nav.navbar .navbar-collapse .navbar-form .form-group:not(:first-child) {
        margin-left: 15px;
    }
}

body.mobile.tablet .modal-dialog {
    width: 100% !important;
}

body.mobile.tablet .modal-content .detail-channel.channel-center {
    width: 100% !important;
}

.hasError {
    font-weight: bold;
    color: red;
}

.hasError input {
    border: 1px red solid;
}

span.required {
    color: red;
}

.content-register_counter h2 {
    font-size:14px;
    margin:0;
    font-weight:bold;
}

.modal .content-detail .quicksearch {
    position: absolute;
    top: 15px;
    left: 553px;
    height: 26px;
    width: 318px;
}

.modal .content-detail .quicksearch label {
    display: none;
}

.modal .content-detail .quicksearch div {
    padding: 0px;
    height: auto;
    display: block;
}

.modal .content-detail .quicksearch input {
    font-size: 14px;
    height: 18px;
    line-height: 16px;
    width: 300px;
}

.modal .content-detail .closemessage {
    display: none;
}

.mika-popover .popover {
    max-width: 500px !important;
    cursor: initial;
}

.favorite-display {
    padding-right: 0px;
    padding-left: 0px;
}

.favorite-display .panel {
    margin-bottom: 5px;
}

.favorite-display .panel-body {
    padding: 7px;
}

.favorite-display .panel-heading {
   padding-top: 5px;
   padding-bottom: 5px;
}

.col-id-right form.navbar-search-favorite {
    width: 91%;
}

.col-id-top form.navbar-search-favorite, .col-id-bottom form.navbar-search-favorite {
    width: 35%;
}

form.navbar-search-favorite div.form-group, form.navbar-search-favorite div.form-group input {
    width: 100%;
}

.col-id-right .favorite-display .panel-heading {
    padding: 2px 7px;
}


.favorite-display .panel-heading h3 {
    font-size: 12px;
    margin-bottom: 4px;
    margin-top: 6px;
    font-weight: bold;
}

.favorite-display .close {
    outline: none;
    float: right;
}

.favorite-display .table {
    margin-bottom: 0px;
}

.favorite-display .table td, .favorite-display .table th {
    padding: 1px;
}

.favorite-display .table .desc {
    width: 90px;
}

.favorite-display .table.table-fields-primary td:not(:first-child) {
    padding-left: 10px;
}

.favorite-display .table.table-fields-primary tr:first-child td {
    border-top: none;
}

.favorite-display .table.table-fields-primary td:first-child {
    border-right: 1px solid #ddd;
}

.favorite-display.col-xs-12:hover .open-close-details-button {
    display: block;
}

.favorite-display.col-xs-12 .open-close-details-button {
    display: none;
}

.glyphicon-spin {
    -moz-animation: rotater 1s linear 0s infinite normal;
    -webkit-animation: rotater 1s linear 0s infinite normal;
    animation: rotater 1s linear 0s infinite normal;
}

.favorite-display .panel-heading .glyphicon-spin {
    font-size: 14px;
}

.favorite-display .open-close-details-button {
    outline: none;
    padding: 0px;
}

.navbar .form-group .navbar-text {
    font-weight: normal;
    margin-top: 8px;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .option-bar-wrapper .navbar-collapse select {
        max-width: 250px;
    }
    .navbar-brand.collapsed {
      display: none;
      visibility: hidden;
    }

    .option-bar-wrapper .navbar-collapse {
        padding-left: 0px;
    }

    .option-bar-wrapper .navbar-text:first-child {
        margin-left: 0px;
    }

    .navbar-map .navbar-form:first-child {
        margin-left: -15px;
    }

    .navbar-nav .btn {
        margin-left: 3px;
    }
}

.option-bar-wrapper .navbar {
    min-height: 0px;
}

.option-bar-wrapper .navbar-form {
    margin-top: 4px;
    margin-bottom: 1px;
}

.navbar-nav > li.dropdown > a.navbar-btn {
    padding: 6px 12px;
    color: #000;
}

.btn {
    outline: none !important;
}

.dropdown-menu > li > a.active {
    background-color: #5cb85c;
}

.dropdown-menu > li > a.active:hover {
    background-color: #449d44;
}

.panel-splitgroups.panel {
    margin-bottom: 4px;
    border: none;
}

.favorite-display .panel-heading {
    padding-top: 0px;
    padding-bottom: 0px;
    padding-right: 10px;
    padding-left: 10px;
}

.favorite-display.col-xs-6 .panel-heading {
    padding-top: 0px;
    padding-bottom: 0px;
    padding-right: 0px;
    padding-left: 10px;
}

.panel-splitgroups .panel-body {
    padding: 0px;
}

.favorite-display .panel-body {
    margin:7px;
}

.progress-bar-grey {
    background-color: grey;
}

.progress.progress-small {
    height: 15px;
    margin-bottom: 0px;
}

.progress.progress-small .progress-bar {
    line-height: 17px;
}