select, .k-button, .k-icon {
    text-decoration: none !important;
}

.ui-dialog, .token-input-dropdown-facebook {
    color: black !important;
}

.SkinLink {
    margin-top: 15px;
    text-align: center;
}

.navbar {
    margin-bottom: 0 !important;
    border-radius: 0 !important;
}

.carousel-inner > .active.left {
    float: none;
}

.carousel-caption h1 {
    color: #fff;
}

.navbar-brand {
    padding: 0 !important;
}

a.btn-info, a.btn-info:visited, a.btn-primary, a.btn-primary:visited {
    color: #fff;
}

.searchBox {
    padding: 15px 15px 0 15px;
    width: 240px;
}

    .searchBox .searchText {
        color: #000;
        float: right;
    }

.searchSkinObjectPreview_group {
    display: none;
}

ul.dnnAdminTabNav {
    height: 40px;
    border-radius: 0 !important;
}

/* styling for the Edit Profile and My Account links in User Profiles */
.dnnActions {
    display: inline-block;
}

    .dnnActions li {
        margin-right: 5px;
        list-style: none;
        float: left;
    }

/*override for dnnLabels in the bootstrap */
.form-group .dnnLabel {
    text-align: left;
    width: auto;
}

.dnnLabel + span {
    white-space: normal;
}

/* Addition to bootstrap menu styles */
/* Displace second and deeper level menus right from their parent.  */
.dropdown-menu .dropdown-menu {
    margin-left: 160px;
}

/* ADMIN */
#ControlBar, #ControlBar:before, #ControlBar:after, #ControlBar *:before, #ControlBar *:after,
#ControlBar li, #ControlBar li:before, #ControlBar li:after,
#ControlBar a, #ControlBar a:before, #ControlBar a:after,
.dnn_mact, .dnn_mact:before, .dnn_mact:after, .dnn_mact *:before, .dnn_mact *:after,
.dnn_mact li, .dnn_mact li:before, .dnn_mact li:after {
    -webkit-box-sizing: content-box !important; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: content-box !important; /* Firefox, other Gecko */
    box-sizing: content-box !important; /* Opera/IE 8+ */
}

.navbar-default .navbar-nav > li > div > a:hover,
.navbar-default .navbar-nav > li > div > a:focus,
.navbar-default .navbar-nav > li > div > ul > li > a:hover,
.navbar-default .navbar-nav > li > div > ul > li > a:focus {
    color: #ffffff;
    background-color: #178acc;
}

/* LOGIN */
.navbar-right {
    height: 51px;
}

    .navbar-right .registerGroup,
    .navbar-right .registerGroup *,
    .navbar-right .loginGroup,
    .navbar-right .loginGroup * {
        display: inline;
    }

    .navbar-right .registerGroup,
    .navbar-right .loginGroup {
        float: right;
    }

        .navbar-right .registerGroup li:first-child:hover {
            border-left: #222;
        }

        /* Register Group Styles */
        .navbar-right .registerGroup li {
            float: left;
        }

        .navbar-right .registerGroup .buttonGroup {
            margin-right: 0;
        }

        .navbar-right .registerGroup a,
        .navbar-right .loginGroup a {
            display: block;
            position: relative;
            height: 50px;
            min-width: 12px;
            padding: 15px 15px 0 15px;
            vertical-align: middle;
        }

            .navbar-right .registerGroup a:active,
            .navbar-right .loginGroup a:active {
                text-shadow: 0 -1px 0 #ffffff;
            }

            .navbar-right .registerGroup a:hover,
            .navbar-right .loginGroup a:hover {
                text-decoration: none;
            }

            .navbar-right .registerGroup a strong,
            .navbar-right .loginGroup a strong {
                display: block;
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                overflow: hidden;
                font-size: 0;
                text-indent: -9999px;
            }

    .navbar-right .userMessages a,
    .navbar-right .userNotifications a {
        background-color: transparent;
    }

    .navbar-right .userMessages strong {
        height: 100%;
        background: url('i/icon_message.png') no-repeat center center;
    }

    .navbar-right .userNotifications strong {
        height: 100%;
        background: url('i/icon_notification.png') no-repeat center center;
    }

    .navbar-right .registerGroup a span {
        display: inline-block;
        min-width: 7px;
        margin-right: 3px;
        text-align: center;
    }

    .navbar-right .registerGroup .userProfileImg a {
        min-width: 50px;
        min-height: 50px;
        padding: 0;
    }

    .navbar-right .registerGroup a img {
        height: 50px;
        width: 50px;
    }

    /* Number of message next to the message icon*/
    .navbar-right .userMessages a span,
    .navbar-right .userNotifications a span {
        display: inline-block;
        margin-top: 0;
        margin-right: 0;
        background-color: transparent;
    }

    .navbar-right .userNotifications span, .navbar-right .userMessages span {
        height: 100%;
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        overflow: hidden;
        font-size: 0;
        text-indent: -9999px;
        z-index: 999;
    }

    .navbar-right .userNotifications span {
        background: url('i/icon_notification_active.png') no-repeat center center;
    }

    .navbar-right .userMessages span {
        background: url('i/icon_message_active.png') no-repeat center center;
    }

/* Content formatting */
#Content, #TopContent {
    margin-top: 10px;
}

/*
 * blueimp Gallery CSS 2.11.1 https://github.com/blueimp/Gallery
 * Copyright 2013, Sebastian Tschan https://blueimp.net
 * Licensed under the MIT license: http://www.opensource.org/licenses/MIT
 */

.blueimp-gallery,
.blueimp-gallery > .slides > .slide > .slide-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -moz-backface-visibility: hidden;
}

    .blueimp-gallery > .slides > .slide > .slide-content {
        margin: auto;
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        opacity: 1;
    }

.blueimp-gallery {
    position: fixed;
    z-index: 999999;
    overflow: hidden;
    background: #000;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    display: none;
    direction: ltr;
    -ms-touch-action: none;
    touch-action: none;
}

.blueimp-gallery-carousel {
    position: relative;
    z-index: auto;
    margin: 1em auto;
    padding-bottom: 56.25%;
    box-shadow: 0 0 10px #000;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
}

.blueimp-gallery-display {
    display: block;
    opacity: 1;
}

.blueimp-gallery > .slides {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.blueimp-gallery-carousel > .slides {
    position: absolute;
}

.blueimp-gallery > .slides > .slide {
    position: relative;
    float: left;
    height: 100%;
    text-align: center;
    -webkit-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
    -moz-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
    -ms-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
    -o-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

    .blueimp-gallery,
    .blueimp-gallery > .slides > .slide > .slide-content {
        -webkit-transition: opacity 0.5s linear;
        -moz-transition: opacity 0.5s linear;
        -ms-transition: opacity 0.5s linear;
        -o-transition: opacity 0.5s linear;
        transition: opacity 0.5s linear;
    }

        .blueimp-gallery > .slides > .slide-loading {
            background: url(img/loading.gif) center no-repeat;
            background-size: 64px 64px;
        }

            .blueimp-gallery > .slides > .slide-loading > .slide-content {
                opacity: 0;
            }

        .blueimp-gallery > .slides > .slide-error {
            background: url(img/error.png) center no-repeat;
        }

            .blueimp-gallery > .slides > .slide-error > .slide-content {
                display: none;
            }

        .blueimp-gallery > .prev,
        .blueimp-gallery > .next {
            position: absolute;
            top: 50%;
            left: 15px;
            width: 40px;
            height: 40px;
            margin-top: -23px;
            font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
            font-size: 60px;
            font-weight: 100;
            line-height: 30px;
            color: #fff;
            text-decoration: none;
            text-shadow: 0 0 2px #000;
            text-align: center;
            background: #222;
            background: rgba(0, 0, 0, 0.5);
            -webkit-box-sizing: content-box;
            -moz-box-sizing: content-box;
            box-sizing: content-box;
            border: 3px solid #fff;
            -webkit-border-radius: 23px;
            -moz-border-radius: 23px;
            border-radius: 23px;
            opacity: 0.5;
            cursor: pointer;
            display: none;
        }

        .blueimp-gallery > .next {
            left: auto;
            right: 15px;
        }

        .blueimp-gallery > .close,
        .blueimp-gallery > .title {
            position: absolute;
            top: 15px;
            left: 15px;
            margin: 0 40px 0 0;
            font-size: 20px;
            line-height: 30px;
            color: #fff;
            text-shadow: 0 0 2px #000;
            opacity: 0.8;
            display: none;
        }

        .blueimp-gallery > .close {
            padding: 15px;
            right: 15px;
            left: auto;
            margin: -15px;
            font-size: 30px;
            text-decoration: none;
            cursor: pointer;
        }

        .blueimp-gallery > .play-pause {
            position: absolute;
            right: 15px;
            bottom: 15px;
            width: 15px;
            height: 15px;
            background: url(img/play-pause.png) 0 0 no-repeat;
            cursor: pointer;
            opacity: 0.5;
            display: none;
        }

.blueimp-gallery-playing > .play-pause {
    background-position: -15px 0;
}

.blueimp-gallery > .prev:hover,
.blueimp-gallery > .next:hover,
.blueimp-gallery > .close:hover,
.blueimp-gallery > .title:hover,
.blueimp-gallery > .play-pause:hover {
    color: #fff;
    opacity: 1;
}

.blueimp-gallery-controls > .prev,
.blueimp-gallery-controls > .next,
.blueimp-gallery-controls > .close,
.blueimp-gallery-controls > .title,
.blueimp-gallery-controls > .play-pause {
    display: block;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}

.blueimp-gallery-single > .prev,
.blueimp-gallery-left > .prev,
.blueimp-gallery-single > .next,
.blueimp-gallery-right > .next,
.blueimp-gallery-single > .play-pause {
    display: none;
}

.blueimp-gallery > .slides > .slide > .slide-content,
.blueimp-gallery > .prev,
.blueimp-gallery > .next,
.blueimp-gallery > .close,
.blueimp-gallery > .play-pause {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Replace PNGs with SVGs for capable browsers (excluding IE<9) */
body:last-child .blueimp-gallery > .slides > .slide-error {
    background-image: url(img/error.svg);
}

body:last-child .blueimp-gallery > .play-pause {
    width: 20px;
    height: 20px;
    background-size: 40px 20px;
    background-image: url(img/play-pause.svg);
}

body:last-child .blueimp-gallery-playing > .play-pause {
    background-position: -20px 0;
}

/* IE7 fixes */
* + html .blueimp-gallery > .slides > .slide {
    min-height: 300px;
}

    * + html .blueimp-gallery > .slides > .slide > .slide-content {
        position: relative;
    }

/* fix for carousel for large resolution displays */

.carousel-inner > .item > img, .carousel-inner > .item > a > img {
    margin: 0 auto;
    width: 100%;
}

.dnnDropDownList .selected-item, .dnnDropDownList .selected-item a {
    height: 35px !important;
}

.dnnCheckbox .mark, .dnnRadiobutton .mark {
    background: none;
}

.navbar-brand {
    height: 80px;
}

.navbar-toggle {
    padding: 10px;
    margin: 25px 15px 25px 0;
}

.margin-top-20px {
    margin-top: 20px;
}

.margin-top-10px {
    margin-top: 10px;
}

.k-group-cell, .k-group-col {
    display: none;
}

.k-grid-footer {
    height: 0;
    border-bottom-width: 0;
    display: none;
    overflow: hidden;
}

.no-scrollbar .k-grid-header {
    padding: 0 !important;
}

.no-scrollbar .k-grid-content {
    overflow-y: visible !important;
}

.LoginPanel {
    width: 100%;
    padding-right: 0;
}

#Form .col-md-12 {
    width: 100%;
}

.navbar, .dropdown-menu > li > a {
    font-size: 16px !important;
}

.caret {
    border-top-width: 8px;
    border-right-width: 8px;
    border-left-width: 8px;
}

/*From https://stackoverflow.com/questions/33772862/bootstrap-responsive-table-doesnt-scroll-horizontally-on-ios-devices */
.table-responsive .table {
    max-width: none;
    -webkit-overflow-scrolling: touch !important;
}

@media (max-width: 575px) {
    #personaBar-iframe {
        width: 0 !important;
        visibility: hidden !important;
    }

    #Body {
        margin-left: 0 !important;
    }
}

.hidePersonaBar {
    margin-left: 0 !important;
}

    .hidePersonaBar #personaBar-iframe {
        width: 0 !important;
        visibility: hidden !important;
    }

.hidden, .hiddenStart {
    display: none !important;
    visibility: hidden;
}

.invalidContent {
    background-color: brown;
}

#IPGrid img, .btn-VesselInfo {
    max-width: 25px !important;
    min-width: 20px !important;
    text-align: center !important;
    border: none !important;
    background: inherit !important;
    padding: 0 !important;
}

#IPGrid > table {
    table-layout: fixed;
}

#IPGrid > .k-grid-header {
    padding: 0 !important;
}

#IPGrid > .k-grid-content {
    overflow-y: hidden !important;
}

.trBgRed {
    background-color: #fb0101 !important;
}

    .trBgRed a {
        color: white;
        text-decoration: underline;
    }

.trBgBlue {
    background-color: blue !important;
}

    .trBgBlue a {
        color: white;
        text-decoration: underline;
    }

.trBgMustard {
    background-color: #fb8b01 !important;
}

    .trBgMustard a {
        color: #2e2e2e;
        text-decoration: underline;
    }

.trBgYellow {
    background-color: #ffd700 !important;
}

    .trBgYellow a {
        color: #2e2e2e;
        text-decoration: underline;
    }

.trBgLilac {
    background-color: #c787ff !important;
}

    .trBgLilac a {
        color: white;
        text-decoration: underline;
    }

.trTextGreen {
    color: rgb(0, 128, 0);
}

    .trTextGreen a {
        color: rgb(0, 128, 0);
        text-decoration: underline;
    }

.trTextWhite, .trTextWhite a {
    color: white;
}

.VesselNotesKWindow table {
    border-collapse: collapse;
    margin: 2px 5px 10px 2px;
}

.VesselNotesKWindow table, .VesselNotesKWindow th, .VesselNotesKWindow td {
    border: 1px solid rgb(207, 207, 207);
}

.VesselNotesKWindow th, .VesselNotesKWindow td {
    padding-left: 10px;
}

.VesselNotesKWindow label {
    font-weight: bold;
}

.kendoWindowGrid .k-header {
    display: none !important;
}

.kendoWindowGrid .k-grid-content {
    overflow-x: hidden;
    overflow-y: hidden;
}

.k-loading-image {
    background-image: none;
}

.k-loading-color {
    opacity: 0;
}

.navbar .navbar-brand a img {
    max-height: 100% !important;
}

.navbar-nav > li > a {
    margin: 0 6px !important;
}

/*.panel-body {
    padding: 0;
}*/

.borderNone {
    border: 0;
}

.k-grid-content-expander {
    height: inherit !important;
}
