﻿html, body {
    height: 100%;
    background-color: white;
}

.marad-page-container{
    display: flex;
    height: 100%;
    width: 100%;
    background-color: white;
}

.marad-page-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.marad-content-container{
    display: flex;
    height: 100%;
    width: 100%;
    flex-direction: column;
    min-width: 0; /* this prevents overflow.*/
}

.page-view{
    flex: 1;
    width: 100%;
    padding: 1em;
    overflow-x: auto;
}

.marad-menu {
    color: rgb(22, 26, 39);
    height: 100%;
    overflow-y: clip; /*scroll and hidden cause weird rendering issues.*/
    flex: 0;
}

.menu-bar-div {
    background-color: rgb(22, 26, 39);
    height: 100%;
}


.content-div {

}

.header-div {
    flex-grow: 0;
    text-align: left;
    width: 100%;
    margin: 0px auto 0px auto;
    background-color: rgb(22, 26, 39);
    color: white;
}

.footer-div {
    flex-grow: 0;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-top: 3px solid #304257;
}

.textBox {
    height: 2.25em;
    width: 20em;
}

.numericTextBox {
    height: 1.6em !important;
    width: 20em;
}

.dateEdit {
    height: 2.25em;
    width: 20em;
}

.dropdownList {
    width: 20em;
}

.dropdownList-readonly {
    background-color: #F2F2F2 !important;
}

.translationGroupDropdownList {
    width: 30em;
}

.translationGroupDropdownList:read-only {
    background-color: #F2F2F2 !important;
}

.action-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 1rem;
    align-items: center;
    padding: 0;
    margin-top: .75em;
}

.sticky-action-bar{
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 1rem;
    align-items: center;
    
    padding-top: 0.75em;
    padding-bottom: 0.75em;
    margin-bottom: -0.75em;
    position: sticky;
    bottom: -0.75em;
    z-index: 1;
    background: white;
    border-top: 1px solid lightgray;
}

.input-row {
    overflow: hidden;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.input-row-textbox-wrapper{
    width: 20em;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
}

.input-row label {
    width: 150px;
    padding-top: 5px;
    float: left;
}

fieldset {
    border: 2px groove threedface !important;
    border-image-source: initial !important;
    border-image-slice: initial !important;
    border-image-width: initial !important;
    border-image-outset: initial !important;
    border-image-repeat: initial !important;
    
    overflow: auto;
    padding: .35em .625em .75em !important;
}

legend {
    border: none !important;
    width: auto !important;
    -webkit-padding-start: 2px !important;
    -webkit-padding-end: 2px !important;
    margin-bottom: 5px !important;
}

.frm-container {
    background-color: #fff;
    clear: left;
    padding: 10px 20px 0 20px;
}

    .frm-container h1 {
        font-size: 150%;
        color: #808080;
    }

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-act {
    font-size: 12px;
    overflow: hidden;
    float: right;
    padding: 0px 0 5px 0;
    margin-top: -42px;
}

.user-act-loggedIn {
    margin-top: 5px;
}

.user-act-loggedOut {
    margin-top: 5px;
}

.user-act li {
    float: left;
    margin-right: 5px;
}

.user-detail {
    text-align: right;
    padding-right: 5px;
}

li.active {
    margin-top: -3px;
}

.minGridWidth {
    min-width: 183px;
}

.loginBody {
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    background: url('images/login_background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.loginDivTable {
    padding-left: 50px;
    padding-right: 50px;
}

.loginButtonContainer {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15px;
}

.loginButton {
    width: 123px;
    background: #161a27;
    color: white;
    padding: 6px 16px;
    min-width: 64px;
    box-sizing: border-box;
    font-family: Roboto, sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.75;
    border-radius: 4px;
    text-transform: none;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}

.loginButton:hover {
    box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12);
    background-color: #000103;
    color: white;
}

.loginValidation {
    margin-top: 10px;
    font-size: 13px;
}

.loginRightCol {
    padding-left: 60px;
}

.loginRightColDiv {
    padding-bottom: 10px;
    width: 235px;
}

.loginVersion {
    float: right;
    margin-right: 10px;
    margin-top: 10px;
    color: black;
}

#btnLogin:focus {
    outline: none;
    color: white;
}

.loginForgotPassword {
    float: right;
    margin-top: -23px;
    color: white;
    padding-right: 5px;
}

.forgotPasswordLink {
    color: white;
}

.login-content-div {
    width: 75%;
    margin: 0px auto 0px auto;
    min-height: 100%;
    position: relative;
}

.loginLogo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.loginLogoPadding {
    padding-top: 30px;
    padding-bottom: 40px;
}

.menuSidebar {
    background-color: rgb(22, 26, 39);
    margin: 1rem;
    height: 30px;
}

.loginLabel {
    font-weight: normal;
    padding-bottom: 1px;
    font-family: Roboto, sans-serif;
}

.loginContainer {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: auto;
    width: 460px;
    background: white;
    border-radius: 15px;
    box-shadow: 0px 14px 80px rgb(34 35 58 / 20%);
}

.loginContainerPadding {
    padding: 40px 0px 5px 5px;
}

.loginTable {
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

#login_form {
    margin: auto;
    width: 50%;
}

.loginTextBox {
    width: 325px;
    border: solid 1px #a3a3a3;
    height: 14px;
    margin: 0;
    display: block;
    box-sizing: content-box;
    padding-top: 10.5px;
    padding-bottom: 10.5px;
    max-width: none;
}

.loginTextBoxHover {
    border: solid 1px #5c5c5c;
}

.form-control:focus {
    border: solid 2px rgb(48, 66, 87);
    outline: 0;
}

#Name-error, #Password-error {
    font-size: 13px;
}

.login-input-row {
    overflow: hidden;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.loginDivTable .validation-summary-errors {
    padding-left: 88px;
}

.hiddenTextBox {
    visibility: hidden;
    margin-left: -178px;
}

.file-wrapper {
    padding-left: 150px;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    position: relative;
    width: 100%;
}

    .file-wrapper input {
        cursor: pointer;
        font-size: 200px;
        filter: alpha(opacity=1);
        -moz-opacity: 0.01;
        opacity: 0.01;
        position: absolute;
        top: 0;
        float: left;
        margin-left: -400px;
    }

.file_holder {
    display: block;
    float: left;
    overflow: hidden;
    margin-right: 20px;
    width: 283px;
    padding: 0 10px;
    clear: left;
    height: 40px;
    background-color: #fff;
    border: 1px #e6e6e6 solid;
    line-height: 40px;
    font-size: 150%;
}

#myfile_photo_allowedfiles {
    display: block;
    float: left;
    clear: left;
    margin-top: 10px;
    color: #808080;
}

#myfile_photo_file {
    max-width: 770px !important;
    width: 770px !important;
}

#btnbrowseLogo {
    float: left;
}

.visibilityHidden {
    visibility: hidden;
}

.validationHiddenTextBox {
    width: 0px;
    margin-left: -14px;
}

.textbox-readonly {
    height: 2.25em;
    width: 20em;
    background-color: #F2F2F2 !important;
}

.saveButton {
    font-weight: bold;
    padding: 5px 10px;
}

.cancelButton {
    font-weight: bold;
    padding: 5px 10px;
}

.translationGroupDDL {
    width: 150px;
}

.translationButtons {
    overflow: hidden;
}

.fieldset-legend {
    font-size: larger;
    font-weight: bold
}

.translationButtons label {
    padding-top: 5px;
    float: left;
}

.table-readonly {
    background-color: #F2F2F2 !important;
}

#imgVessel {
    text-align: center;
    vertical-align: middle;
    border-width: 0px;
    border-collapse: collapse;
    display: block;
    width: auto;
    height: auto;
    max-width: 430px;
    max-height: 210px;
}

#imgCountry {
    text-align: center;
    vertical-align: middle;
    border-width: 0px;
    border-collapse: collapse;
    display: block;
    width: auto;
    height: auto;
    max-width: 60px;
    max-height: 60px;
}

.k-dropzone {
    margin: -11px;
}

.k-filename {
    width: 160px !important;
}

.copyVesselsTable {
    height: 100%;
    padding-top: 10px;
}

    .copyVesselsTable tr td {
        vertical-align: top;
        padding-bottom: 12px;
    }

    .copyVesselsTable label {
        width: 150px;
        padding-top: 5px;
        text-align: left;
    }

.versionTable {
    height: 100%;
    padding-top: 10px;
}

    .versionTable tr td {
        vertical-align: top;
        padding-bottom: 12px;
    }

    .versionTable label {
        width: 150px;
        padding-top: 5px;
        text-align: left;
    }

.button-readonly {
    background-color: #F2F2F2 !important;
}

.k-filter-row .k-input {
    max-width: 100% !important;
}

#BackofficeLogo {
    display: block;
    margin-left: 8%;
    margin-right: auto;
    height: 100%;
    opacity: 0.2;
    filter: alpha(opacity=20);
}

.blocks {
    display: inline-block;
    width: 100%;
}
.nationalHolidayDatePicker{
    width: 280px;
    height: 1.6em !important;
}

.folder {
    background-image: url("images/BO_Folder.png");
    background-repeat: no-repeat;
    /*   width: 20px;
    height: 20px;*/
    display: unset;
    padding-left: 20px;
}

.office {
    background-image: url("images/ServerMode_16x16.png");
    background-repeat: no-repeat;
    /*   width: 20px;
    height: 20px;*/
    display: unset;
    padding-left: 17px;
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

    /* Tooltip text */
    .tooltip .tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: black;
        color: #fff;
        text-align: center;
        padding: 5px 0;
        border-radius: 6px;
        /* Position the tooltip text - see examples below! */
        position: absolute;
        z-index: 1;
    }

    /* Show the tooltip text when you mouse over the tooltip container */
    .tooltip:hover .tooltiptext {
        visibility: visible;
    }

.gridLink:visited {
    color: #428bca;
}

.gridLink:hover {
    color: white;
}

.GridNoHeader div.k-grid-header {
    height: 0;
    border-bottom-width: 0;
    display: none;
    overflow: hidden;
}

.k-pane {
    user-select: auto;
    box-sizing: content-box;
}

/*ul.k-panelbar,
ul.k-panelbar .k-group,
ul.k-panelbar .k-content,
ul.k-panelbar .k-link,
ul.k-panelbar .k-item,
.k-panelbar > li.k-state-default > .k-link, .k-tabstrip-items .k-state-default .k-link {
    background-color: rgb(22, 26, 39);
    color: white !important;
}

    ul.k-panelbar,
    ul.k-panelbar .k-group,
    ul.k-panelbar .k-content,
    ul.k-panelbar .k-link,
    ul.k-panelbar .k-item,
    .k-panelbar .k-content, .k-panelbar .k-item, .k-panelbar .k-panel, .k-panelbar.k-header, .k-panelbar > .k-item > .k-link {
        border-color: rgb(22, 26, 39);
    }

    .k-panelbar > li.k-state-default > .k-link.k-state-hover, .k-panelbar > li.k-state-hover > .k-link {
        background-color: dimgray !important;
    }

    .k-panelbar > .k-item > .k-link.k-state-selected, .k-panelbar > li.k-state-default > .k-link.k-state-selected, .k-panelbar > li > .k-state-selected.k-scheduler, .k-panelbar .k-state-selected.k-link, .k-draghandle.k-state-selected:hover, .k-ghost-splitbar-vertical, .k-list > .k-state-highlight, .k-marquee-color, .k-panel > .k-state-selected, .k-scheduler .k-scheduler-toolbar .k-state-selected, .k-scheduler .k-today.k-state-selected, .k-state-selected:link, .k-state-selected:visited, .k-tool.k-state-selected {
        background-color: dimgray;
    }*/

/* width */
    /*ul.k-panelbar::-webkit-scrollbar {
        width: 8px;
    }*/

/* Track */
    /*ul.k-panelbar::-webkit-scrollbar-track {
        background: rgb(22, 26, 39);
    }*/

/* Handle */
    /*ul.k-panelbar::-webkit-scrollbar-thumb {
        background: white;
    }*/

    /* Handle on hover */
        /*ul.k-panelbar::-webkit-scrollbar-thumb:hover {
            background: #555;
        }*/
.k-menu .k-state-hover .k-state-active, .k-menu .k-link .k-state-active, .k-state-highlight > .k-link, .k-menu-group > .k-state-hover, .k-menu .k-state-selected, .k-menu .k-state-highlight, .k-menu .k-state-hover {
    background-color: dimgray !important;
    color: white !important;
}
.k-menu {
    color: white;
    background-color: rgb(22, 26, 39) !important;
}

.k-menu .k-menu-group > .k-item, .k-menu .k-link.k-state-active {
        background-color: rgb(22, 26, 39);
        color: white;
}

.overviewEnabled {
    background-image: url("images/endorse16.png");
    background-repeat: no-repeat;
    width:18px;
    height:18px;
}

.overviewDisabled {
    background-image: url("images/delete16.png");
    background-repeat: no-repeat;
    width: 18px;
    height: 18px;
}

#mailChimpButtonContainer .k-button-icon {
    padding: 0 4px 4px 2px;
}

.contactPersonForOrganizationContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
    justify-content: start;
    align-items: center;
}

.main-content{
    height: 100%;
}

.full-height-fieldset {
    height: 100%;
    
    /*Flex to make sure the kendo grid scales correctly with sibling component. */
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    flex-direction: column;
}

.full-height-grid{
    height: 100%;
    flex-grow: 1;
}

.full-height-grid-wrapper {
    height: 100%;
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    flex-direction: column;
    box-sizing: border-box;
}

.forTooltips {
   text-align: left!important;
}

.dateTimePickerClear {
    padding-bottom: 0px;
    border-style: solid;
    border-color: rgb(201, 201, 201);
    border-width: 1px 1px 1px 0px;
    padding-top: 5px;  
    padding-bottom: 0px !important;
    height: 30px;
    width: 25px;
}
    .dateTimePickerClear:hover {
        background-color: rgb(234, 234, 234);
    }
#gridScheduledMessages_tt_active .k-tooltip-content {
    min-height: 50px;
}

.companyValidationDiv .field-validation-error {
    margin-left: 0px!important;
}