/* form fields custom styles */
.field-label {
    font-weight: normal;
}

.field-helptext {
    font-size: 12px;
}

.field-error {
    font-size: 14px;
    color: red;
}

.field-required {
    font-weight: bold;
}

.field-required:after {
    content: " *";
    color: red;
}

/* file input custom style */
.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    cursor: inherit;
    display: block;
}

/* cursor style */
.cursor-pointer {
    cursor: pointer;
}


/* disabled paragraph */
.disabled-paragraph {
    background-color: #eaecf4;
}


.bg-limeniki {
    background-color: #2d2d3d !important;
}

.icon {
    margin: 5px;
    height: 15px;
    width: 15px;
    display: block;
    float: left;
    /* Other styles here */
}

.navbar {
    padding: .0rem 0rem;
}

.hrtop {
    border: 1px solid groove;
    margin-top: 10px;
}

.p-person-details {
    color: white;
    font-size: 13px;


}


.img-logo-top {
    max-width: 80%;
    height: auto;
}

.container-top-new {
    max-width: 1500px;
}

/* nav icons */

.icon-profile {
    background: url("../icons/nav/policeman.svg");
}

.icon-personnel_detail {
    background: url("../icons/nav/2.svg");
}

.icon-data {
    background: url("../icons/nav/3.svg");

}

.icon-references {
    background: url("../icons/nav/4.svg");
}

.icon-manage {
    background: url("../icons/nav/manage.svg");
}

.icon-services {
    background: url("../icons/nav/services.svg");
}

.icon-personnels {
    background: url("../icons/nav/personnels.svg");
}

.icon-stations {
    background: url("../icons/nav/stations.svg");
}

.icon-police_boats {
    background: url("../icons/nav/boat.svg");
}

.icon-ferry_boats {
    background: url("../icons/nav/ferry_boat.svg");
}

.icon-anchor {
    background: url("../icons/nav/anchor.svg");
}

.icon-damages {
    background: url("../icons/nav/damages.svg");
}

.icon-maintenance {
    background: url("../icons/nav/maintenance.svg");
}

.icon-checklist {
    background: url("../icons/nav/checklist.svg");
}

.icon-info {
    background: url("../icons/nav/info.svg");
}

.icon-patrol {
    background: url("../icons/nav/patrol.svg");
}

.icon-trainings {
    background: url("../icons/nav/trainings.svg");
}

.icon-report {
    background: url("../icons/nav/report.svg");
}

.icon-preview {
    background: url("../icons/nav/preview.svg");
}

.icon-printer {
    background: url("../icons/nav/printer.svg");
}

.icon-ready {
    background: url("../icons/nav/tick.svg");
}

.icon-equipment {
    background: url("../icons/nav/toolbox.svg");
}

/* Custom new styles Maria Constantinou */
/*table styles*/
tbody tr:hover {
    cursor: pointer;
    background-color: #eaecf4;
}

tbody.reports_table tr:hover {
    cursor: default;
    background-color: #eaecf4;
}

.pagination-position {
    justify-content: flex-end;
}

.dataTables_length label select {

    width: auto;
}

.dataTables_filter label input {
    width: auto;
    margin-left: 0.5rem;
    display: inline-block;
}


/*checkboxes radio buttons and switches */

.checkbox-style, .radio-style {
    opacity: 0;
    position: absolute;
}

.checkbox-style, .radio-style, .radio-style-2-label {
    display: inline-block;
    vertical-align: middle;
    /*margin: 5px;*/
    cursor: pointer;
}

.checkbox-style:checked + .checkbox-style-3-label:before, .radio-style:checked + .radio-style-3-label:before {
    content: "\f00c";
    font-family: "FontAwesome";
    background: #1c1252;
    color: #FFF;
    padding: 2px;
}

.radio-style:checked + .radio-style-2-label:before {
    background: #3a306f;
    box-shadow: inset 0px 0px 0px 4px #fff;
}

.radio-style-1-label:before, .radio-style-2-label:before, .radio-style-3-label:before {
    border-radius: 50%;
}

.checkbox-style-1-label, .radio-style-1-label, .checkbox-style-2-label, .radio-style-2-label, .checkbox-style-3-label, .radio-style-3-label {
    position: relative;
}

.checkbox-style-1-label:before, .radio-style-1-label:before, .checkbox-style-2-label:before, .radio-style-2-label:before, .checkbox-style-3-label:before, .radio-style-3-label:before {
    content: '';
    background: #FFF;
    border: 2px solid #DDD;
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    padding: 4px;
    margin-right: 10px;
    line-height: 1;
    text-align: center;
}

.form-check-input:disabled {
    pointer-events: none;
    filter: none;
    opacity: 0;
}


/*form group*/

.form-group {
    margin-bottom: 15px;
}

.btn-position {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.btn {
    box-shadow: 0px 3px 6px #00000030;
}

select option:checked:hover {
    background-color: red;
    color: #fff
}

/*.dropdown-item{*/
/*    word-break: break-word;*/
/*    word-break: break-all;*/
/*    white-space: normal;*/
/*}*/

.form-select {
    word-break: break-word;
}

tbody td.wrappingclass {
    word-break: break-word;
    word-break: break-all;
    white-space: normal;
}

#station_name {
    word-break: break-word;
    word-break: break-all;
    white-space: normal;
}

/*inner Tab navigation*/

.tab-container {
    position: relative;
    padding: 20px 0 0;
}

.tabs {
    position: relative;
    margin: 0 0 30px;

}

.tab-nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    margin: 0;
    border-bottom: 1px solid #dddddd;
    list-style: none;
    padding: 0 15px;
}

.tabs-alt .tab-nav li:first-child {
    border-left: 0;
}

.tabs-alt .tab-nav li {
    border-color: transparent;
}

.tab-nav li:first-child {
    border-left: 1px solid #ddd;
}

.tab-nav li {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    border: 1px solid #ddd;
    border-bottom: 0;
    border-left: 0;
    height: 41px;
    text-align: center;
}

.tab-nav li a {
    display: block;
    padding: 0 15px;
    color: #444;
    height: 40px;
    line-height: 40px;
    background-color: #f2f2f2;
    font-weight: 700;
}


.tabs-alt.tabs-tb .tab-nav li a.active {
    height: 42px;
}

.tab-nav li a.active {
    top: -1px;
    height: 43px;
    line-height: 38px;
    border-top: 2px solid #1c1f2c !important;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.tabs-alt .tab-nav li.active a {
    border: 1px solid #ddd;
    border-bottom: 0;
}

.tabs-alt .tab-nav li a {
    background-color: #ffffff;
}

.tab-nav li.active a {
    position: relative;
    top: 1px;
    background-color: #fff;
}


a {
    text-decoration: none !important;
}

::selection {
    background: #1c1f2c;
    color: #fff;
    text-shadow: none;
}

/*filter style*/

.collapsible {
    background-color: #fff;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .collapsible:hover {
    background-color: #fff;
}

.collapsible:hover {
    color: #343848;
}

/* Style the collapsible content. Note: hidden by default */
.filter-content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #fff;
}

.filter-box {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 3px;
}

.fixedElement {
    background-color: #ffffff;
    /*position:fixed;*/
    /*top:0;*/
    width: 100%;
    z-index: 100;
}

/*underline top header page */
.heading-block::after {
    content: '';
    display: block;
    margin-top: 20px;
    width: 70px;
    border-top: 2px solid #444;
}

/*alignment checkbox center of the field*/
.checkbox-position {
    place-self: center;
    margin-top: 25px;
}

/*report table*/
tbody tr th.tablereport {
    text-align: right;
    padding: 10px;
}

th.wrappingclass {
    word-break: break-word;
    word-break: break-all;
    white-space: normal;
}

.col-width {
    width: 10%;
}

.col-duties {
    overflow: hidden;
    inline-size: 120px;
    /* white-space: nowrap; */
    word-break: break-word;
}

.drag-badge {
    margin: 3px;
    font-size: 1rem;
}


/*toast notifications*/

/*error*/
.toast-error {
    border-left: 4px solid #ff3b30;

}

.toast-error svg {
    color: #ff3b30;
    margin-right: 10px;
    font-size: 15px;
}

.toast-success {
    border-left: 4px solid #2e8853;

}

.toast-success svg {
    color: #2e8853;
    margin-right: 10px;
    font-size: 15px;
}


.toast-warning {
    border-left: 4px solid #dc9804;

}

.toast-warning svg {
    color: #dc9804;
    margin-right: 10px;
    font-size: 15px;
}

.toast-info {
    border-left: 4px solid #42a4f5;
}

.toast-info svg {
    color: #42a4f5;
    margin-right: 10px;
    font-size: 15px;
}


/*Dropdown stages colors*/

.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #1c1f2c;
}

.cancellation {
    background-color: #EB0C00;
    color: white;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.suspension {
    background-color: #874262;
    color: #ffffff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.suspension .text-muted {
    color: #ffffff !important;
}

.departure {
    background-color: #157DAC;
    color: white;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.arrival {
    background-color: #5b227e;
    color: white;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.disabled.arrival {
    background-image: none;
}

.disabled.departure {
    background-image: none;
}

.completed {
    background-color: #22873B;
    color: white;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.disabled.completed {
    background-image: none;
}

.stop {
    background-color: #1c1f2c;
    color: white;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

/* Stelios-S */
/* Individual Patrol badges*/
.badge.departure, .badge.stop, .badge.cancellation, .badge.suspension, .badge.scheduled, .badge.completed {
    background-image: none;
}


.confirmed {
    background-color: #3271e6;
    color: white;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.disabled.confirmed {
    background-image: none;
}

/*damage/maintenance screen*/

.forapproval {
    background-color: #6c757d;
    color: white;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.disabled.forapproval {
    background-image: none;
}

.approved {
    background-color: #3d7e4f;
    color: white;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.disabled.approved {
    background-image: none;
}

.inprogress {
    background-color: #eda52b;
    color: white;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.disabled.inprogress {
    background-image: none;
}

.scheduled {
    background-color: #6c757d;
    color: white;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.disabled.scheduled {
    background-image: none;
}

.canceled {
    background-color: #ff3b30;
    color: white;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.disabled.canceled {
    background-image: none;
}

.badge.forapproval {
    background-color: #6c757d;
    color: white;
    background-image: none;
}

.badge.inprogress {
    background-color: #eda52b;
    color: white;
    background-image: none;
}

.badge.approved {
    background-color: #3d7e4f;
    color: white;
    background-image: none;
}

.badge.canceled {
    background-color: #ff3b30;
    color: white;
    background-image: none;
}

.badge.confirmed {
    background-color: #3271e6;
    color: white;
    background-image: none;
}

/* Stelios-S
.badge.scheduled{
     background-color: #6c757d;
    color: white;
    background-image: none;
}

.badge.completed {
    background-color: #279d45;
    color: white;
    background-image: none;
}
Stelios-E */

/*flags on table - screen Readiness*/
.fa-flag {
    margin-left: 5px;
}

.fa-flag.off {
    color: #ff3b30;
}


/*Titles and fonts*/

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}


/* Stelios-E */

/* Report tables */
.col-spacer:hover {
    background-color: white;
}

.table-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 2.25rem;
}

tr.table-separator {
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    font-weight: 700;
}

.table-separator {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    font-weight: 700;
}

/*Login Screen box*/
.login-box {
    max-width: 450px;
    background-color: rgba(255, 255, 255, 0.93);
    box-shadow: 0px 3px 6px rgb(0 0 0 / 27%);
    margin-top: 60px;
}

.loginh1 {
    color: white;
}

/*accordion*/
/*.accordion-button:not(.collapsed){*/
/*        color: #ffffff;*/
/*    background-color: #1c1f2c;*/
/*    box-shadow: inset 0 -1px 0 rgb(0 0 0 / 13%);*/
/*}*/

.delete_record {
    float: right;
    display: inline-block;
    padding: 2px 5px;
    font-size: 0.75rem;

}

.delete_record:hover {
    float: right;
    display: inline-block;
    padding: 2px 5px;
    color: #444444;
    cursor: pointer;
}

.fragment {
    height: auto;
    border: 1px solid #f1f1f1;
    display: block;
    padding: 10px;
    border-radius: 3px;
    box-sizing: border-box;
    text-decoration: none;
    margin-bottom: 20px;
}

.fragment:hover {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .2);
}

.error_validation {
    border-color: #dc3545;
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.staffarrived {

    background-color: #8fbc8f !important;

}

.viewtype {
    background-color: #fff;
    color: #1c1f2c;
    border-radius: 3px;
}

.viewtype:hover {

    background-color: #1c1f2c;
    color: #fff;
    border-radius: 3px;

}

.viewtype:active, .viewtype:focus {

    background-color: #1c1f2c;
    color: #fff;
    border-radius: 3px;

}

.pointerStyle {
    cursor: pointer;
}


/*@media for button on Patrols page*/
@media only screen and (max-width: 1015px) {
    .btn-grid {
        margin-left: 0rem !important;
        margin-top: 0.5rem;
    }
}

/*boat machines*/
.boat-img {
    position: relative;
}

#machine1 div, #machine2 div, #machine3 div, #machine4 div {
    width: 25px;
    height: 25px;
    background-color: #212529;
    color: #FFFFFF;
    position: absolute;
    border-radius: 20px;
    padding: 3px 9px;
    font-size: 12px;
}

#machine1 {
    display: none;
}

#machine1 div:nth-child(1) {
    left: 45%;
    top: 91%;
}

#machine2 {
    display: none;
}

#machine2 div:nth-child(1) {
    left: 28%;
    top: 78%;
}

#machine2 div:nth-child(2) {
    left: 63%;
    top: 78%;
}

#machine3 {
    display: none;
}

#machine3 div:nth-child(1) {
    left: 28%;
    top: 78%;
}

#machine3 div:nth-child(2) {
    left: 45%;
    top: 91%;
}

#machine3 div:nth-child(3) {
    left: 63%;
    top: 78%;
}

#machine4 {
    display: none;
}

#machine4 div:nth-child(1) {
    left: 22%;
    top: 73%;
}

#machine4 div:nth-child(2) {
    left: 36%;
    top: 85%;
}

#machine4 div:nth-child(3) {
    left: 54%;
    top: 85%;
}

#machine4 div:nth-child(4) {
    left: 69%;
    top: 73%;
}

@media (max-width: 1200px) {
    #machine1 div:nth-child(1) {
        left: 44%;
        top: 91%;
    }

    #machine2 div:nth-child(1) {
        left: 27%;
        top: 79%;
    }

    #machine2 div:nth-child(2) {
        left: 61%;
        top: 79%;
    }

    #machine3 div:nth-child(1) {
        left: 27%;
        top: 79%;
    }

    #machine3 div:nth-child(2) {
        left: 44%;
        top: 91%;
    }

    #machine3 div:nth-child(3) {
        left: 61%;
        top: 79%;
    }

    #machine4 div:nth-child(1) {
        left: 17%;
        top: 72%;
    }

    #machine4 div:nth-child(2) {
        left: 32%;
        top: 84%;
    }

    #machine4 div:nth-child(3) {
        left: 55%;
        top: 84%;
    }

    #machine4 div:nth-child(4) {
        left: 71%;
        top: 72%;
    }
}

@media (max-width: 992px) {
    #machine1 div:nth-child(1) {
        left: 46%;
        top: 91%;
    }

    #machine2 div:nth-child(1) {
        left: 29%;
        top: 79%;
    }

    #machine2 div:nth-child(2) {
        left: 63%;
        top: 79%;
    }

    #machine3 div:nth-child(1) {
        left: 29%;
        top: 79%;
    }

    #machine3 div:nth-child(2) {
        left: 46%;
        top: 91%;
    }

    #machine3 div:nth-child(3) {
        left: 63%;
        top: 79%;
    }

    #machine4 div:nth-child(1) {
        left: 19%;
        top: 72%;
    }

    #machine4 div:nth-child(2) {
        left: 34%;
        top: 84%;
    }

    #machine4 div:nth-child(3) {
        left: 57%;
        top: 84%;
    }

    #machine4 div:nth-child(4) {
        left: 71%;
        top: 72%;
    }
}

@media (max-width: 767.9px) {
    #machine1 div:nth-child(1) {
        left: 47%;
        top: 91%;
    }

    #machine2 div:nth-child(1) {
        left: 31%;
        top: 79%;
    }

    #machine2 div:nth-child(2) {
        left: 64%;
        top: 79%;
    }

    #machine3 div:nth-child(1) {
        left: 30%;
        top: 79%;
    }

    #machine3 div:nth-child(2) {
        left: 47%;
        top: 91%;
    }

    #machine3 div:nth-child(3) {
        left: 64%;
        top: 79%;
    }

    #machine4 div:nth-child(1) {
        left: 22%;
        top: 72%;
    }

    #machine4 div:nth-child(2) {
        left: 37%;
        top: 84%;
    }

    #machine4 div:nth-child(3) {
        left: 58%;
        top: 84%;
    }

    #machine4 div:nth-child(4) {
        left: 72%;
        top: 72%;
    }
}

@media (max-width: 425px) {
    #machine1 div:nth-child(1) {
        left: 46%;
        top: 91%;
    }

    #machine2 div:nth-child(1) {
        left: 27%;
        top: 78%;
    }

    #machine3 div:nth-child(1) {
        left: 27%;
        top: 78%;
    }

    #machine3 div:nth-child(2) {
        left: 46%;
        top: 91%;
    }

    #machine4 div:nth-child(3) {
        left: 55%;
        top: 85%;
    }

    #machine4 div:nth-child(4) {
        left: 68%;
        top: 75%;
    }
}