﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

@font-face {
    font-family: 'OpenSansLight';
    src: url("fonts/OpenSansLight.ttf") format('truetype');
}

.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.rowOptions div {
    display: inline-block;
    text-align: center;
}

.dotSize {
    font-size: 0.3rem;
}

.areaRow:hover .dotSize, .showOnFocus {
    display: none;
}

.areaRow:hover .showOnFocus, .dotSize {
    display: inline-block;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.greyBorder {
    border: 1px solid #ccc;
}

.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.inlineColVertAlTop {
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
}

.disabled {
    cursor: default;
    background: #888 !important;
    color:#fff !important;
}
/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 99%;
    background-color: #e6e6e6;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    letter-spacing: 1px;
    background-color: #e6e6e6;
    font-family: 'OpenSansLight' !important;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
}


.buttonStyle {
    background-repeat: no-repeat;
    opacity: 1;
    display: inline-block;
    height: 90px;
    width: 90px;
    background-size: contain;
    background-position-x: center;
    background-position-y: center
}

.iShadow {
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.05);
}

.iShadow-2 {
    -moz-box-shadow: 0 .25rem .125rem 0 rgba(0,0,0,0.05);
    -webkit-box-shadow: 0 .25rem .125rem 0 rgba(0,0,0,0.05);
    box-shadow: 0 0.25rem 0.12rem 0 rgba(0,0,0,0.05)
}

.iShadow-3 {
    -moz-box-shadow: 0 .25rem .125rem 0 rgba(0,0,0,0.25);
    -webkit-box-shadow: 0 .25rem .125rem 0 rgba(0,0,0,0.25);
    box-shadow: 0 0.25rem 0.12rem 0 rgba(0,0,0,0.25)
}

.iShadow-4 {
    -moz-box-shadow: 0 2px 1px rgba(0,0,0,.5);
    -webkit-box-shadow: 0 2px 1px rgba(0,0,0,.5);
    box-shadow: 0 2px 1px rgba(0,0,0,.5);
}

.insetShadow {
    -moz-box-shadow: inset 0px 0.25rem 0.12rem 0px rgba(0,0,0,0.1);
    -webkit-box-shadow: inset 0px 0.25rem 0.12rem 0px rgba(0,0,0,0.1);
    box-shadow: inset 0px 0.25rem 0.12rem 0px rgba(0,0,0,0.1);
}

.b--white {
    border-color: white;
}

.ba {
    border-style: solid;
    border-width: 1px;
}

.nav-item svg {
    color: #ea1b0a !important;
}

.br25 {
    border-radius: .25rem;
}

.bg-lightGrey {
    background-color: #eee;
}

.bg-bodyColour {
    background-color: #efefef;
}

.pointer {
    cursor: pointer;
}

.cursorDefault {
    cursor: default;
}

.hidden {
    display: none;
}

.brandedForeground {
    color: #ea1b0a;
}

.brandedColor {
    color: #ea1b0a;
}

input[type='checkbox'] {
    
    background-color: initial;
}

/*-- Multi Select --*/

.ms-container, .ms-buttonContainer {
    width: 100% !important;
}

.msButtonBlock {
    width: 45%;
}

/* --- Site Specific --- */
.list-group .fa-times {
    position: absolute;
    right: 0.3rem;
    top: 0.3rem;
    color: white;
    cursor: pointer;
}

.topRightCorner {
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    color: white;
    cursor: pointer;
    z-index: 11;
}

.modalWrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000;
    background: rgba(0, 0, 0, 0.3);
}

.modalContainer {
    position: relative;
}

.modalBlock {
    position: absolute;
    top: 150px;
    left: 0;
    right: 0;
    margin: auto;
}

.deleteRow, .deleteTeam {
    cursor: pointer;
}

#ManifestTeams tbody:hover tr {
    background: #007bff;
    color: white;
}

#TeamMembersTable tr:hover {
    background-color: #fff;
    cursor: default;
}
/* -- Transfer Manifest -- */
.card-navigator {
    box-shadow: inset 0 0.25rem 0.12rem 0 rgba(143,143,143,0.8);
    border-bottom: 1px solid #eee;
    padding: 0.4rem;
    height: 3.5rem;
    position: relative;
}

.card-navigator a {
    color: #333;
}

.card-navigator .navOption {
    padding: 0.5rem;
    font-size: 1.2rem;
    display: inline-block;
    border-radius: 2px;
    cursor: pointer;
    box-sizing: border-box;
    text-align: center;
    position: absolute;
}

.card-navigator .left {
    left: 0.5rem;
}

.card-navigator .centre {
    top: 0.6rem;
    left: 0;
    right: 0;
}

.card-navigator .right {
    right: 0.5rem;
}

.card-navigator .navDateSelector {
    position: absolute;
    border: 1px solid #eee;
    width: 180px;
    background-color: #fff;
    text-align: center;
    border-radius: 0.25rem;
    padding: 0.2rem;
    font-size: 1.2rem;
    cursor: pointer;
}

#TransferManifestForDay .card-header {
    position: relative;
}

/*- Populate List from dropdown ts componenet -*/
.areaRow {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0.5rem;
    background-color: #f8f9fa;
    padding-top: 1.5rem !important;
}

.rowOptions {
    position: absolute;
    top: 0;
    right: 0.5rem;
    text-align: right;
}

.selectedRow {
    border-color: #17a2b8 !important;
}

/* Populate Question Choices */

.questionChoiceRow {
    padding-left: 2rem !important;
}

.correctAnswer svg {
    color: #5e9955;
}

.incorrectAnswer svg {
    color: #bd231e;
}

.choiceAnswer svg {
    width: 1rem;
    height: 1rem;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0.5rem;
    margin-top: auto;
    margin-bottom: auto;
}

/* Transfer Manifest */

#TeamMembersTable th {
    background-color: #f8f9fa;
}

#ManifestTeams .manifestTeamRow {
    cursor: pointer;
}

.tbodyBorder {
    border-collapse: collapse !important;
}

.tbodyBorder tbody, .tbodyBorder thead {
    border: 1px solid #ccc !important;
}

.addTeamMembersSection {
    position: relative;
    background: #f8f9fa !important;
}

.currentTeamMembersSection {
    position: relative;
}

#AccessAddTeamMember {
    position: absolute;
    text-align: center;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    opacity: 1;
    background: #fff;
    z-index: 10;
    font-size: 2rem;
}

.centeredLabel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 3rem;
    width: 250px;
}

.noRows, .noRows th:hover {
    cursor: default;
    color: black !important;
}
/* --- Bootstrap overrides --- */
.border-2 {
    border-width: 2px !important;
}

.card-body {
    background-color: #f5f5f5;
}

.navbar-nav .dropdown-menu {
    min-width: 15rem;
}

.control-label {
    font-weight: 700;
}

.checkboxRight {
    float: right;
    width: 2rem;
    margin-left: 1rem;
    margin-top: 0.2rem;
}


.colorPicker{
    height:2.25rem;
    width:2.25rem;
    border-radius:0.25rem;
}

.progrees-bar-container {
    border: solid 1px grey;
    height: 13px;
}

.progress-bar {
    background-color: green;
    height: 13px;
}

.imageContainer {
    overflow: auto;
}

/* -- Used on transport log --*/ 
.tocOutTime:hover {
    background-color: #f76707;
    color: white;
}

.logTimeCell:hover, .enterCommentsCell:hover, .specifyVessel:hover, .enterBirthCell:hover {
    background-color: #15aabf;
    color: white;
}

/* DataTables Override */
table.dataTable thead th, table.dataTable thead td {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border: 1px solid #000;
}

/*#region OverwritingOnMobileStyles*/
/*Extra small devices (portrait phones, less than 576px)
        No media query for `xs` since this is the default in Bootstrap*/
.card-header h3 {
    font-size: 1.4rem;
}

    /* Small devices (landscape phones, 576px and up)*/
    @media (min-width: 576px) {
        .card-header h3 {
            font-size: 1.75rem;
        }
    }
/*#endregion OverwritingOnMobileStyles*/


.outer {
    position: relative;
    display: inline-block;
    height: 100px;
    width:50px;
}

.inner {
    position: absolute;
    top: 50%;
    left: 50%;
}

.rotate {
    -moz-transform: translateX(-50%) translateY(-50%) rotate(-90deg);
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(-90deg);
    transform: translateX(-50%) translateY(-50%) rotate(-90deg);
}

.sidebar .inner:after {
    font-family: 'FontAwesome';
    margin-left: 0.5rem;
    font-size: smaller;
    content: "\f077";
}

.sidebar .collapsed .inner:after {
    /* symbol for "collapsed" panels */
    content: "\f078";
}
/*#endregion OverwritingOnMobileStyles*/

.reqStatusIndicatorRow {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    color: #000;
    padding-left: 3rem !important;
    text-align: left;
    display: inline-block;
}

.personelStatus .reqStatusIndicatorRow {
    margin-bottom: 0.5rem;
    border: 1px solid #aaa;
    background-color: #fff;
}

.personelStatus button.reqStatusIndicatorRow, .personelStatus a.reqStatusIndicatorRow {
    cursor: pointer;
}

.reqStatusIndicator {
    width: 2.5rem;
    position: absolute;
    left: 0px;
    top: 0px;
    bottom: 0px;
}
    .reqStatusIndicator svg {
        width: 1rem;
        position: absolute;
        top: 0px;
        bottom: 0px;
        left: 0px;
        right: 0px;
        margin: auto;
        font-size: 1.5rem !important;
    }

.personelStatus .list-group {
    padding-bottom: 0.4rem;
    list-style-type: none;
}
/*---- Accordion ----*/
.accordion .manifestSummary h4:after {
    font-family: Fontawesome;
    content: '\f077';
    float: right;
}

.accordion .manifestSummary.collapsed h4:after {
    font-family: Fontawesome;
    content: '\f078';
}

/*---- Media Quiries ----*/
@media (max-width: 800px) {
    .dataTable {
        font-size: 0.6rem;
    }
}