/* kooders.css
 * ==========
 * Kooders 2019
 * CSS for "insert site name here"
 * Contains CSS for "insert site name here" website
 */

/*
--------------------------------------------------------------
# TABLE OF CONTENTS:
--------------------------------------------------------------
# Typography
# Elements
# Page structure
  ## C5 admin panel list width fix
--------------------------------------------------------------
*/

/*
--------------------------------------------------------------
# Animations
--------------------------------------------------------------
*/

@-webkit-keyframes bouncingIcon {
  from,
  20%,
  53%,
  80%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  40%,
  43% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -15px, 0);
    transform: translate3d(0, -10px, 0);
  }

  70% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -5px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, -4px, 0);
    transform: translate3d(0, -4px, 0);
  }
}

@-webkit-keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes slideInUp {
  from {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}


@-webkit-keyframes slideInDown {
  from {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}



/*
--------------------------------------------------------------
# Elements
--------------------------------------------------------------
*/

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
}
/* Small devices (landscape phones, 576px and up) */
@media only screen and (min-width: 576px) {
}
/* Medium devices (tablets, 768px and up) */
@media only screen and (min-width: 768px) {
}
/* Large devices (desktops, 992px and up) */
@media only screen and (min-width: 992px) {
}
/* Extra large devices (large desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
}

.ccm-page {
    padding-bottom: 40px;
}

body {
    font-family: 'Lato', sans-serif;
    color: #071922;
}

button:not([class*="trumbowyg-"]),
.btn,
.trumbowyg-modal-box .trumbowyg-modal-button {
    border-radius: 7px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 1.4em;
    -webkit-box-shadow: 0px 8px 5px -6px rgba(0,0,0,0.76);
    -moz-box-shadow: 0px 8px 5px -6px rgba(0,0,0,0.76);
    box-shadow: 0px 8px 5px -6px rgba(0,0,0,0.76);
}

label {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 0px;
}

input,
input.form-control,
select,
select.form-control,
textarea,
textarea.form-control {
    background-color: #f7f7f7;
    border-radius: 7px;
}

.input-group-addon {
    padding: 10px;
    background-color: #f7f7f7;
    height: 38px;
    font-weight: bold;
}

table:not(.table-striped) tr {
    height: 63px;
}

.trumbowyg-box,
.trumbowyg-editor {
    border-radius: 7px;
    min-height: 200px;
    height: auto;
    background-color: #f7f7f7;
}

.trumbowyg-button-pane {
    background: #097feb;
    border-bottom: 1px solid #097feb;
    border-radius: 7px 7px 0px 0px;
}

.trumbowyg-button-pane .trumbowyg-open-dropdown::after {
    border-top-color: #fff;
}

.trumbowyg-box svg,
.trumbowyg-modal svg {
    fill: #fff;
}

button[class*="trumbowyg-"]:hover .trumbowyg-box svg,
button[class*="trumbowyg-"]:hover .trumbowyg-modal svg,
button:hover svg,
.trumbowyg-modal svg:hover,
.trumbowyg-box svg:hover {
    fill: #097feb;
}

.water-bg {
    background-image: url('../img/bg.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    height: 70vh;
}

.water-bg:after {
    content:'\A';
    position:absolute;
    width:100%; height:100%;
    top:0; left:0;
    background: rgba(9, 127, 235, 0.2);
    z-index: -2;
}

#breadcrumb .navigationLogo {
    height: 24px;
    width: auto;
    margin-right: 1rem;
}

/* .body-ow-h {
    overflow: hidden;
} */

/*
* Custom scrollbar
*/
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #e9ecef;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #f39200;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
     background: #d88900;
}

/* Custon checkbox */

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox label {
    padding-left: 40px;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 30px;
    width: 30px;
    background-color: #f1f1f1;
    border: 1px solid #ced4da;
    border-radius: 5px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}


.checkbox-container input:checked ~ .checkmark {
    background-color: #f39200;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-size: 18px;
    top: 1px;
    left: 6px;
    color: white;
}

.card {
    border-radius: .6rem;
}

.bc-m {
    margin-top: 6px;
}

.bluebg {
    background-color: #097feb;
    color: #FFF;
}

#map_markings th {
    background-color: #FFF;
    position: sticky;
    top: -1px;
}

.btn-primary {
    background-color: #f39200;
    border-color: #f39200;
}

 .btn-primary:not(:disabled):not(.disabled).active {
     background-color: #097feb;
     border-color: #097feb;
 }
 
 .btn-secondary {
     background-color: #097feb;
     border-color: #097feb;
 }

.btn-primary:hover {
    background-color: #d88900;
    border-color: #d88900;
}

.btn-default {
    background-color: #ebebeb;
    border-color: #ced4da;
    color: #6b6b6b;
}

.td-btn {
    box-shadow: none;
    height: 29px;
    font-size: 14px !important;
    box-shadow: none !important;
    padding: 0px 10px;
}

.modal-header {
    display: inline-block;
}

.modal-header .bootbox-close-button.close {
    display: inline-block;
    float: right;
    box-shadow: none;
}

.modal-header .modal-title {
    display: inline-block;
    float: left;
}

.modal-footer {
    display: inline-block;
}

.bootbox.modal.fade.show {
    background-color: rgba( 41, 43, 43, 0.65 );
}

.btn.dropdown-toggle {
    box-shadow: none;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #f7f7f7;
    background-clip: padding-box;
    border: 1px solid #ced4da;
}

.dz-success-mark,
.dz-error-mark {
    display: none;
}

/*
--------------------------------------------------------------
# Page structure
--------------------------------------------------------------
*/

#main_nav {
    background-color: #097feb;
    color: white;
    padding: 0px 25px;
    -webkit-box-shadow: 0px 0px 5px -1px rgba(0,0,0,0.76);
    -moz-box-shadow: 0px 0px 5px -1px rgba(0,0,0,0.76);
    box-shadow: 0px 0px 5px -1px rgba(0,0,0,0.76);
}

#main_nav a,
#main_nav li {
    color: white;
    font-size: 1.4em;
    display: inline-flex;
}

#main_nav li.nav-item i {
    padding-top: 10px;
    padding-right: 15px;
}

#breadcrumb {
    -webkit-box-shadow: 0px 0px 5px -1px rgba(0,0,0,0.76);
    -moz-box-shadow: 0px 0px 5px -1px rgba(0,0,0,0.76);
    box-shadow: 0px 0px 5px -1px rgba(0,0,0,0.76);
    background-color: #097feb;
}

#breadcrumb.su-margin {
    top: 48px;
}

#breadcrumb ul {
    background-color: #097feb;
    list-style: none;
    padding: 3px 0px;
    float: left;
    width: auto;
}

#breadcrumb ul li a {
    color: white;
    margin-left: 20px;
}

#breadcrumb ul li a:first-child:not(:only-child)::before {
    /* font-family: "Font Awesome 5 Free";
    content: "\f105"; */
    content: '>';
    padding-right: 13px;
    color: white;
}

#breadcrumb ul li.nav-path-selected ul,
#breadcrumb ul li.nav-path-selected {
    list-style: none;
    padding: 0px;
    display: inline-block;
    width: auto;
    height: 24px;
}

#breadcrumb ul li.nav-path-selected a:first-child {
    float: left;
}

#user_nav {
    display: flex;
    flex-direction: row-reverse;
    float: right;
    width: 70%;
    background-color: #097feb;
    padding: 3px 0px;
}

#user_nav a,
#user_nav form {
    display: inline-block;
    color: white;
    padding-right: 10px;
}

#login_header {
    margin-top: 30vh;
    text-shadow: 0px 5px 8px #071922;
}

#login_card {
    -webkit-box-shadow: 0px 15px 23px -2px rgba(0,0,0,0.76);
    -moz-box-shadow: 0px 15px 23px -2px rgba(0,0,0,0.76);
    box-shadow: 0px 15px 23px -2px rgba(0,0,0,0.76);
}

/*
--------------------------------------------------------------
# Page structure -- Single Image
--------------------------------------------------------------
*/

#forced_reference {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #ffffffcc;
    display: inline-block;
    z-index: 200;
}

#single_image_wrapper {
    overflow: hidden;
    max-height: calc(100vh - 46px);
    position: relative;
}

#hovered_marking {
    position: absolute;
    border-radius: 7px;
    z-index: 100;
    background-color: white;
    margin: auto;
    display: inline-block;
    top: 33vh;
    left: 20px;
    width: 33vw;
    cursor: pointer;
    -webkit-box-shadow: 0px 8px 5px -6px rgba(0,0,0,0.76);
    -moz-box-shadow: 0px 8px 5px -6px rgba(0,0,0,0.76);
    box-shadow: 0px 8px 5px -6px rgba(0,0,0,0.76);
}

#hovered_marking .row,
#hovered_marking .marking-info {
    padding: 10px;
}

#tab_wrapper {
    top: 5vh;
    position: absolute;
    z-index: 100;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    text-align: center;
}

#map_wrapper {
    width: 100%;
    position: sticky;
    position: -webkit-sticky;
    margin-right: 20px;
    overflow: scroll;
    margin-top: 24px;
    max-height: calc(100vh - 93px);
}

#list_wrapper {
    width: 100%;
    overflow: scroll;
    margin-top: 80px;
    padding-bottom: 80px;
    height: calc(100vh - 46px);
    padding: 10px;
}

#group_list_wrapper {
    width: 100%;
    overflow: scroll;
    margin-top: 80px;
    height: calc(100vh - 46px);
    padding: 10px 10px 80px 10px;
}

#picture_wrapper {
    width: 100%;
    overflow: scroll;
    margin-top: 80px;
    height: calc(100vh - 46px);
    padding: 10px 10px 105px 10px;
}

.strongBorder {
    border-width: 3px;
    border-color: #000;
}

/* #left_wrapper {
    float: left;
    width: 67%;
    margin-right: 20px;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    overflow: scroll;
    margin-top: 24px;
    max-height: 90vh;
} */

#zoom_buttons_1 {
    position: fixed;
    right: 40px;
    top: 6vw;
    z-index: 110;
    display: block;
}

#zoom_buttons_2 {
    display: none;
}

#right_wrapper {
    float: right;
    width: 30%;
    padding-top: 30px;
    margin-left: 10px;
}

#image_wrapper {
    position: relative;
    width: 100%;
    scroll-behavior: smooth;
    /* height: 90vh;
    width: 100%;
    display: inline-block;
    vertical-align: top;
    position: relative; */
}

#image_wrapper.aside::after {
    content:'\A';
    position:absolute;
    width:100%; height:100%;
    top:0; left:0;
    background: rgba(91, 105, 117, 0.34);
    transition: ease-in 0.2s;
}

#image {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: ease-in 0.1s;
}

#image_marks_list {
    margin: 0px 10px 0px 0px;
    padding: 0px;
    height: inherit;
    display: inline-block;
    width: 100%;
}

.bg-ok {
    background-color: #7bbb89;
}

/* Handle */
#image_marks_list::-webkit-scrollbar-thumb {
    background: #097feb;
}

/* Handle on hover */
#image_marks_list::-webkit-scrollbar-thumb:hover {
     background: #097feb;
}

#animated_wrapper {
    position: relative;
}

#csv_download, #newMarkingFromListView, #add_picture {
    cursor: pointer;
    z-index: 101;
    position: relative;
}

#csv_download:hover, #newMarkingFromListView:hover,  #add_picture:hover {
    opacity: 0.6;
}

#new_marking {
    position: absolute;
    background-color: white;
    padding: 20px;
    transition: ease-in 0.2s;
    display: none;
    margin: 0px 20px;
    border-radius: 6px;
    z-index: 3;
}

#new_marking.show-up {
    width: 97vw;
    top: 150px;
    display: block;
    background-color: #f8f8f8;
    animation: slideInUp 0.6s;
    -webkit-box-shadow: 0px 15px 20px 4px rgba(0,0,0,0.54);
    -moz-box-shadow: 0px 15px 20px 4px rgba(0,0,0,0.54);
    box-shadow: 0px 15px 20px 4px rgba(0,0,0,0.54);
}

#new_marking.fade-away {
    animation: slideInDown 1s;
}

#edit_image {
    cursor: pointer;
}

#edit_image:hover {
    opacity: 0.8;
}

#edit_image i {
    margin-left: 5px;
}

#support_wrapper img {
    max-width: 100%;
    height: auto;
}

#support_wrapper iframe {
    width: 100%;
    max-width: 100%;
    height: calc(100vw/3);
}

/* #backToTop:hover i {
  animation: bouncingIcon 1s;
} */

.zoomed {
    max-height: 90vh;
}

.marking {
    display: block;
    position: absolute;
    background: #097feb;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    -webkit-box-shadow: 0px 3px 4px -2px #071922;
    -moz-box-shadow: 0px 3px 4px -2px #071922;
    box-shadow: 0px 3px 4px -2px #071922;
    transition: ease-in 0.2s;
}

.marking-group {
    display: block;
    position: absolute;
    background: transparent;
    border-radius: 50%;
    border: 5px solid #0efff3;
    height: 20px;
    width: 20px;
    -webkit-box-shadow: 0px 3px 4px -2px #071922;
    -moz-box-shadow: 0px 3px 4px -2px #071922;
    box-shadow: 0px 3px 4px -2px #071922;
    transition: ease-in 0.2s;
    cursor: pointer;
}

.marking-group .marking-group-name {
    position: absolute;
    top: 15px;
    width: 105px;
    background-color: rgba(255,255,255,0.3);
    text-align: center;
}

.marking:hover {
    -webkit-box-shadow: 0px 9px 8px -8px rgba(0,0,0,0.54);
    -moz-box-shadow: 0px 9px 8px -8px rgba(0,0,0,0.54);
    box-shadow: 0px 9px 8px -8px rgba(0,0,0,0.54);
    background: #f39200;
    transition: ease-in 0.2s;
    cursor: pointer;
}

.marking.popped {
    -webkit-box-shadow: 0px 9px 8px -8px rgba(0,0,0,0.54);
    -moz-box-shadow: 0px 9px 8px -8px rgba(0,0,0,0.54);
    box-shadow: 0px 9px 8px -8px rgba(0,0,0,0.54);
    background: #f39200;
    transition: ease-in 0.2s;
    animation: bouncingIcon 1s;
}

.marking-info {
    display: inline-block;
    width: 100%;
}

.marking-client-id {
    background-color: black;
    opacity: 0.8;
    position: absolute;
    /* display: none; */
    padding: 10px 20px;
    border-radius: 6px;
    color: white;
    z-index: 4;
}

.marking-client-id:before {
    content: '';
    height: 0;
    position: absolute;
    width: 0;
    top: 16px;
    left: -13px;
    border: 7px solid transparent;
    border-right-color: black;
}

.marking-client-id.popped {
    display: inline-block;
}

.edit-marking {
    float: right;
    font-size: 1.4em;
    color: white;
    text-shadow: 0px 2px 3px #071922;
    transition: ease-in 0.2s;
}

.edit-marking:hover {
    transition: ease-in 0.2s;
    color: #097feb;
}

.listed-marking {
    background-color: #ebebeb;
    list-style: none;
    display: inline-block;
    width: 100%;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 10px;
    cursor: pointer;
    -webkit-box-shadow: 0px 3px 3px -2px rgba(0,0,0,0.31);
    -moz-box-shadow: 0px 3px 3px -2px rgba(0,0,0,0.31);
    box-shadow: 0px 3px 3px -2px rgba(0,0,0,0.31);
    transition: ease-in 0.2s;
    color: rgba(0, 0, 0, 0.8);
}

.listed-marking:hover {
    -webkit-box-shadow: 0px 9px 8px -8px rgba(0,0,0,0.54);
    -moz-box-shadow: 0px 9px 8px -8px rgba(0,0,0,0.54);
    box-shadow: 0px 9px 8px -8px rgba(0,0,0,0.54);
    transition: ease-in 0.2s;
    background: #f39200;
    text-decoration: none;
}

.listed-marking:last-child {
    margin-bottom: 40px;
}

.listed-marking.selected-marking {
    background-color: #f39200;
}

.value {
    color: white;
    font-weight: 800;
    font-size: 1.6em;
    text-shadow: 0px 2px 3px #071922;
}

.type {
    color: #097feb;
    font-weight: 800;
    font-size: 1.3em;
    text-shadow: 0px 2px 2px #071922;
}

.text-orange,
a.text-orange {
    color: #f39200;
}

.bg-orange {
    background-color: #f39200;
    color: #FFF;
}

#dropzone {
    margin: 40px 0px;
    padding: 50px;
    border: dashed 7px #097feb;
    background-color: #e7f3ff;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

#dropzone:hover {
    border: dashed 7px #d88900;
    background-color: #ffeac4;
}


@media only screen and (max-width: 1200px) {
    #map_wrapper {
        max-height: calc(100vh - 197px)
    }

    #breadcrumb ul {
        width: auto;
    }

    #user_nav {
        width: auto;
    }

    /* #left_wrapper {
        float: left;
        top: 0px;
        width: 100%;
        margin-right: 0px;
        z-index: 2;
        -webkit-box-shadow: 0px 0px 5px -1px rgba(0,0,0,0.76);
        -moz-box-shadow: 0px 0px 5px -1px rgba(0,0,0,0.76);
        box-shadow: 0px 0px 5px -1px rgba(0,0,0,0.76);
        max-height: 75vh;
    }

    #right_wrapper {
        float: left;
        width: 100%;
        padding: 15px;
    } */

    #image_wrapper {
        width: inherit;
    }

    #zoom_buttons_1 {
        display: none;
    }

    #zoom_buttons_2 {
        position: fixed;
        bottom: 72px;
        left: 0;
        top: auto;
        right: 0;
        display: block;
        z-index: 10;
    }

    /* #image_marks_list {
        max-height: 400px;
        padding-right: 10px;
        padding-bottom: 80px;
        margin-right: 0px;
    }*/

    #main_nav {
        padding: 10px 20px;
    }

    #main_nav a,
    #main_nav li {
        color: white;
        font-size: 1.2em;
    }

    #main_nav li.nav-item i {
        padding-top: 5px;
        padding-right: 0px;
    }

    .marking {
        height: 10px;
        width: 10px;
    }

    .marking-client-id {
        padding: 5px 10px;
        font-size: 0.9em;
    }

    .marking-client-id:before {
        top: 9px;
    }

}

@media only screen and (max-width: 767px) {

    ::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }

    #main_nav li.nav-item i {
        padding-top: 0px;
    }

    #main_nav a,
    #main_nav li {
        font-size: 1em;
    }

    #new_marking.show-up {
        top: 80px;
    }
}

@media only screen and (max-width: 605px) {

    #breadcrumb ul {
        display: none;
    }

    #user_nav {
        width: 100%;
        justify-content: space-between;
    }

    #user_nav a {
        padding-left: 15px;
    }

}

#sysLog th {
    cursor: pointer;
}

#msgWrapper {
    position: relative;
    z-index: 1051;
}

#msgHere {
    position: fixed;
    z-index: 20;
    left: 20px;
    bottom: 20px;
    max-width: 40%;
    font-size: 2em;
}


/* ## C5 admin panel list width fix */
.ccm-panel-content.ccm-panel-content-visible > section > div > ul > li {
  width: 100%;
}
