/*-------------------------------------------*\
   Custom Css: styles-additional
 
   Index
   - 1. Root Variables
   - 2. Buttons
   - 3. Text Related
   - 4. Positioning
   - 5. Background Images
   - 6. Page Loader
   - 7. Tooltip
   - 8. Modal
   - 9. Alertify Dialog
   - 10. Vessel Custom Ballon
   - 11. Windy
   - 12. Datatables Export Buttons
   - 13. Headers Scroll
\*-------------------------------------------*/

/*-------------------------------------------*\
    1. Root Variables
\*-------------------------------------------*/
:root {
    --main-bg-color: #026c8f;
    --main-hoverbg-color: #015774;
    --main-tototheo-color: #015874;
}

.content {
    margin-bottom: 80px;
}

.tototheo-color {
    color: var(--main-tototheo-color);
}

/*-------------------------------------------*\
    2. Buttons
\*-------------------------------------------*/
.btn-primary, .btn-primary:visited {
    background-color: var(--main-bg-color);
    border: 1px solid var(--main-bg-color);
}

.btn-primary:active {
    background-color: var(--main-bg-color)!important;
    border: 1px solid var(--main-bg-color)!important;
}

.btn-primary:hover {
    background-color: var(--main-hoverbg-color);
    border: 1px solid var(--main-hoverbg-color);
}

/*-------------------------------------------*\
    3. Text Related
\*-------------------------------------------*/
.text-primary {
    color: var(--main-bg-color)!important;
}

a.text-primary:focus, a.text-primary:hover {
    color: var(--main-hoverbg-color)!important;
}

.section-header {
    color: var(--main-hoverbg-color);
    padding-bottom: 8px;
    font-weight: bold;
}

.dashboard-widget-label {
    color: #6c757d;
    font-weight: bold;
}

.font-14 {
    font-size: 14px;
}

.font-15 {
    font-size: 15px;
}

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

.font-lighter {
    font-weight: lighter;
}

/*-------------------------------------------*\
    4. Positioning
\*-------------------------------------------*/
.centerAlign {
    text-align: center;
}

.pad-10 {
    padding: 10px;
}

.pad-bt-10 {
    padding-top: 10px;
}

.m-left-8 {
    margin-left: 8px;
}
.m-right-8 {
    margin-right: 8px;
}

.marginLeft4 {
    margin-left: 4%;
}

.marginLeft9 {
    margin-left: 9%;
}

.marginTop10 {
    margin-top: 10px;
}

.marginTop20 {
    margin-top: 20px;
}

.m-bottom-10 {
    margin-bottom: 10px;
}

.full-width {
    width: 100%;
}

.p-top-10 {
    padding-top: 10px;
}
.p-left-10 {
    padding-left: 10px;
}
.p-bottom-10 {
    padding-bottom: 10px;
}

/*-------------------------------------------*\
    5. Background Images
\*-------------------------------------------*/
.auth-page-sidebar{
    background-image: url("../images/logos/loginbg.svg");
}

.hidden-elem {
    display: none;
}

/* USER PROFILE CIRCLE */
.res-circle {
    
    width: 14%;
    border-radius: 50%;
    background: #a3b8f7;
    line-height: 0;
    position: relative;
}
   
.res-circle::after {
    content: "";
    display: block;
    padding-bottom: 100%;
}
   
/* CENTER TEXT IN CIRCLE */
.circle-txt {
    position: absolute;
    bottom: 50%;
    width: 100%;
    text-align: center;
    color: #285dfb;
    font-size: 32px;
    font-family: "Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif!important;
}

#mapid {
    display:none !important;
}

#map-frame {
    height: 500px;
    border: none;
}

.spinner-custom {
    animation: spinner-grow 1.75s linear infinite;
}

.success-color {
    color: green;
}

.error-color {
    color: red;
}

.dot-success {
    background-color: #00ff44;
}

.dot-error {
    background-color: #b20000;
}

.custom-widget {
    box-shadow: 0px 1px 4px 1px #ccc;
    margin-bottom: 30px;
    /* margin-left: 20px; */
}

body[data-layout="topnav"] .container-fluid {
    max-width: 95%;
}

.full-width {
    width: 100%;
}

/*-------------------------------------------*\
    6. Page Loader
\*-------------------------------------------*/
#loader {
    border: 9px solid #f3f3f3;
    border-radius: 50%;
    border-top: 9px solid var(--main-bg-color);
    width: 70px;
    height: 70px;
    animation: spin 1s linear infinite;
    z-index: 50;
}
  
@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}
  
.center {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.badge-custom {
    background-color: var(--main-bg-color)!important;
    padding: 8px;
    cursor: pointer;
    float: none !important;
}

/*-------------------------------------------*\
    7. Tooltip
\*-------------------------------------------*/
.fleet-card > .tooltip-inner {
    background-color:  #616161;
    border-radius: 0.1px;
}

.fleet-card > .bs-tooltip-auto[x-placement^="top"] .arrow::before, .bs-tooltip-top .arrow::before {
    border-top-color: #fff;
}

.card-body > .tooltip-inner>ul {
    list-style-type: none;
}

.fleet-card-bottom {
    margin-bottom: -5px;
}

.company_header {
    font-size: 26px;
    font-weight: 900;
    color: var(--main-hoverbg-color);
}

.fleet-card-bottom-div {
    margin-bottom: .6rem !important;
}

/*-------------------------------------------*\
    8. Modal
\*-------------------------------------------*/
.modal-header {
    background-color: #015774;
}

.modal-title {
    color: white;
}

.close {
    color: white;
}

/*-------------------------------------------*\
    9. Alertify Modal
\*-------------------------------------------*/
.alertify .ajs-dialog {
    border: none;
}

.ajs-header {
    background-color: #015774 !important;
    color: white !important;
}

.ajs-ok {
    background-color: #026c8f;
    color: white;
    border-bottom-left-radius: 4.8px;
    border-bottom-right-radius: 4.8px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-width: 1;
    border-left-color: rgb(1, 87, 116);
    border-left-style: solid;
    border-left-width: 1px;
    border-right-color: rgb(1, 87, 116);
    border-right-style: solid;
    border-right-width: 1px;
    border-top-color: rgb(1, 87, 116);
    border-top-left-radius: 4.8px;
    border-top-right-radius: 4.8px;
    border-top-style: solid;
    border-top-width: 1px;
    box-sizing: border-box;
    color: rgb(255, 255, 255);
    cursor: pointer;
    font-family: "Nunito Sans", sans-serif;
    font-size: 14px;
    float: right;
}

.ajs-ok:hover {
    color: #e2e6ea;
    background-color: #015774;
    border-color: #dae0e5;
}

.ajs-cancel {
    background-color: #f8f9fa;
    border-bottom-color: rgb(218, 224, 229);
    border-bottom-left-radius: 4.8px;
    border-bottom-right-radius: 4.8px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-width: 1;
    border-left-color: rgb(218, 224, 229);
    border-left-style: solid;
    border-left-width: 1px;
    border-right-color: rgb(218, 224, 229);
    border-right-style: solid;
    border-right-width: 1px;
    border-top-color: rgb(218, 224, 229);
    border-top-left-radius: 4.8px;
    border-top-right-radius: 4.8px;
    border-top-style: solid;
    border-top-width: 1px;
    box-sizing: border-box;
    color: rgb(33, 37, 41);
    cursor: pointer;
    font-family: "Nunito Sans", sans-serif;
    font-size: 14px;
}

.ajs-cancel:hover {
    color: #212529;
    background-color: #e2e6ea;
    border-color: #dae0e5;
}

.profile-dropdown {
    display: block;
}

.item-visible {
    display: block;
}

.item-invisible {
    display: none;
}

.left-side-menu-condensed .user-profile .pro-user-desc, .left-side-menu-condensed .user-profile .pro-user-name {
    display: block;
}

.pro-user-name {
    display: block;
}

.chart-period-selection {
    padding-top: 10px;
    padding-right: 24px;
}

.alertsNotificationNum {
    margin-left: 5px;
}

#windy {
    width: 99%;
    height: 480px;
}

/*-------------------------------------------*\
    10. Vessel Custom Ballon
\*-------------------------------------------*/
.custom-popup .leaflet-popup-content-wrapper {
    border-radius: 4px;
    font-size: 13px;
}

.ballon-header {
    background: #015874;
    color: white !important;
    /* font-size: 14px; */
    padding: 1px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.ballon-header>h3 {
    margin-left: 19px;
    color: white;
    background: #015874;
    color: white !important;
    font-size: 17px;
    padding: 1px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.popup-label-container {
    margin-top: 5px;
}

.view-more-link {
    margin-top: -10px;
    padding: 10px;
}

.leaflet-popup-content {
    margin: -1px -1px !important;
}

.popup-vessel-info {
    padding: 10px;
    margin-top: 2px;
    padding-left: 20px;
    padding-right: 20px;
}

.view-more-popup {
    color: #015874;
    font-size: 14px;
    cursor: pointer;
}

.view-more-popup:hover {
    color: #002d3c;
}

.mTop10 {
    margin-top: 10px;
}

.pad10 {
    padding: 10px;
}

/*-------------------------------------------*\
    11. Windy 
\*-------------------------------------------*/

#weather_checkbox {
    cursor: pointer;
}

/* #windy #logo-wrapper {
    display: none;
} */

.custom-check-icon {
    color: green !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}

.custom-check-icon-negative {
    color: red !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}

.utilization-chart-container {
    min-height: 100px;
}

/*-------------------------------------------*\
    12. Datatables Export Buttons
\*-------------------------------------------*/
.dt-buttons {
    float: right;
    margin-top: -5px;
    display: block;
}
.dt-buttons button {
    background-color: var(--main-bg-color);
    border-color: var(--main-bg-color);
}
.dt-buttons button:hover{
    background-color: var(--main-hoverbg-color);
    border-color: var(--main-bg-color);
}
#datatables_buttons_info{
    border: unset;
}
#datatables_buttons_info div {
    background-color: white;
    color: var(--main-bg-color);
}
#datatables_buttons_info h2 {
    background-color: var(--main-bg-color);
}

/*-------------------------------------------*\
    13. Headers Scroll
\*-------------------------------------------*/
.sidebar-content {
    position:fixed;
}

.topnav-scrolled {
    position: fixed !important;
    z-index: 100;
    width: 100%;
    background-color: var(--main-tototheo-color);
}
.topnav-scrolled #menu-bar li a, .topnav-scrolled #menu-bar li a svg {
    color: white;
}

.topnav-scrolled #menu-bar li a, .topnav-scrolled #menu-bar li a svg {
    color: white;
}

.topnav-scrolled #menu-bar li a.active {
    padding-left: 9px;
    padding-right: 9px;
}

.topnav-scrolled #menu-bar li .active {
    border-bottom: 3px solid white;
    background-color: #0c4051;
}

.content-page-scrolled {
    margin-top: 54px !important;
}
/* Custom Fieldset */
form fieldset {
    border: 1px solid var(--main-tototheo-color);
    border-radius: 5px;
    padding: 10px;
}
form legend {
    font-weight: bold;
    padding: 0 10px;
    width: unset;
    color: var(--main-tototheo-color);
}
/* /Custom Fieldset */

.text-underline-dotted {
    border-bottom: 1px solid;
}