/*region Fonts */

@font-face {
    font-family: 'Avenir';
    src: url("../../resources/fonts/avenir/AvenirLTProBlack.otf");
    src: url("../../resources/fonts/avenir/AvenirLTProBlackOblique.otf");
    src: url("../../resources/fonts/avenir/AvenirLTProBook.otf");
    src: url("../../resources/fonts/avenir/AvenirLTProBookOblique.otf");
    src: url("../../resources/fonts/avenir/AvenirLTProHeavy.otf");
    src: url("../../resources/fonts/avenir/AvenirLTProHeavyOblique.otf");
    src: url("../../resources/fonts/avenir/AvenirLTProLight.otf");
    src: url("../../resources/fonts/avenir/AvenirLTProLightOblique.otf");
    src: url("../../resources/fonts/avenir/AvenirLTProMedium.otf");
    src: url("../../resources/fonts/avenir/AvenirLTProMediumOblique.otf");
    src: url("../../resources/fonts/avenir/AvenirLTProOblique.otf");
    src: url("../../resources/fonts/avenir/AvenirLTProRoman.otf");
}

/*endregion */

/*region Branding / Logo */

.teo-logo {
    content: url(../../resources/images/logo/logo.svg);
    width: 170px !important;
}

#teo_drawer .teo-logo {
    content: url(../../resources/images/logo/logo.svg);
    width: 50px !important;
}

/*endregion */

/*region General */

.fixed-table-body {
    min-height: 600px !important;
}

body {
    overflow-x: hidden;
    overflow-y: hidden;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Avenir', sans-serif;
}

/**
 * Remove number spinners from measure inputs
 */
#teo_measure input::-webkit-outer-spin-button,
#teo_measure input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0;
}

.modal-header {
    padding: 1rem !important;
}

.modal-body {
    padding: 1rem !important;
}

.modal-footer {
    padding: .5rem !important;
}

.card-view:last-child .card-view-title {
    min-width: 30% !important;
}

.teo-layer-shelf-item {
    background-color: transparent !important;
}

.bootstrap-table .fixed-table-loading {
    margin-top: 0 !important;
}

.bootstrap-table .fixed-table-toolbar {
    margin-bottom: 0.25rem !important;
}

/**
 * Bottom panel container overflow fix
 */
.teo-bottom-panel-container {
    overflow-y: hidden !important;
}

/**
 * Float panel modal body padding reset
 */
.teo-float-panel-modal-body {
    padding: 0 !important;
}

/**
 * Base query detail table cell text overflow safety
 */
.teo-base-query-detail .card-view span {
    padding: 0.25rem !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/*endregion */

/*region KBS Toolbar */

.teo-kbs-toolbar-search {
    border: none !important;
    border-radius: unset !important;
}

.teo-kbs-toolbar-checkbox {
    border-radius: 2rem;
}

/** Glow animation */
#teo_toolbar_search {
    width: 200px;
    animation: teoSearchGlow 1.5s ease-in-out 3;
}

@keyframes teoSearchGlow {
    0% { box-shadow: 0 0 0 rgba(255, 0, 0, 0); }
    50% { box-shadow: 0 0 20px 6px rgba(255, 0, 0, 1); }
    100% { box-shadow: 0 0 0 rgba(255, 0, 0, 0); }
}

/*endregion */

/*region Bottom Panel */

.teo-bottom-panel .btn:not(.btn-outline):not(.btn-dashed):not(.border-hover):not(.border-active):not(.btn-flush):not(.btn-icon) {
    padding: calc(.55rem + 1px) calc(1.5rem + 1px) !important;
}

#teo_feature_grid_container_tab_content_container .btn {
    padding: .15rem 1.05rem !important;
}

/*endregion */

/*region Right Panel */

.teo-right-panel-close-button .svg-icon.svg-icon-2 svg {
    width: 32px !important;
    height: 32px !important;
}

/*endregion */

/*region Shared Pagination / Zoom Buttons */

.pagination {
    flex-wrap: wrap;
    display: flex;
    padding-left: 0;
    justify-content: center;
    float: right !important;
}

.teo-zoom-buttons-div {
    position: fixed;
    bottom: 50px;
    right: 12px;
    z-index: 9;
}

.teo_zoom_button {
    width: 70%;
    opacity: 0.5;
}

.teo_zoom_button:hover {
    opacity: 1;
}

/*endregion */

/*region TeoQuickMap */

.teo_quick_map_button {
    position: fixed;
    bottom: 56px;
    right: 10px;
    z-index: 9;
    background-color: whitesmoke;
    width: 68px;
    height: 68px;
    border-radius: 10px;
    opacity: 0.8;
}

.teo_quick_map_button:hover {
    opacity: 1;
    cursor: pointer;
}

.teo_quick_map_button img {
    width: 65px;
    height: 65px;
    margin: auto;
    display: block;
    padding-right: 1px;
    padding-bottom: 1px;
}

.teo_quick_map_button_choose .layer_chooser_img {
    border-radius: 10px;
}

.teo_quick_map_button .layer_text {
    position: absolute;
    top: 39px;
    right: 30%;
    left: 30%;
    font-size: 11px;
    user-select: none;
}

.quick_map_layer_grid {
    position: fixed;
    padding-top: 7px;
    padding-left: 8px;
    right: 105px;
    bottom: 55px;
    display: grid;
    grid-template-columns: repeat(3, 70px); /* 3 columns */
    grid-template-rows: repeat(2, 78px); /* 2 rows */
    grid-gap: 2px 2px;
    background-color: white;
    width: 210px;
    height: 155px;
    border-radius: 10px;
    z-index: 9;
    opacity: 0.9;
}

.quick_map_layer_grid:hover {
    opacity: 1;
}

.quick_map_layer_grid_item {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    text-align: center;
    user-select: none;
}

.quick_map_layer_grid h5 {
    font-size: 0;
    padding-top: 27px;
    color: white !important;
    font-weight: bold;
    user-select: none;
}

.quick_map_layer_grid .teo_street_map {
    background: url('../../resources/images/layers/sokak.png') no-repeat scroll 0 0 transparent;
}

.quick_map_layer_grid .teo_street_map.checked {
    background: url('../../resources/images/layers/sokak-checked.png') no-repeat scroll 0 0 transparent;
}

.quick_map_layer_grid .teo_street_map.checked h5 {
    font-size: 11px;
}

.quick_map_layer_grid .teo_street_map.checked h6 {
    padding-top: 5px;
}

.quick_map_layer_grid .teo_satellite_map {
    background: url('../../resources/images/layers/uydu.png') no-repeat scroll 0 0 transparent;
}

.quick_map_layer_grid .teo_satellite_map.checked {
    background: url('../../resources/images/layers/uydu-checked.png') no-repeat scroll 0 0 transparent;
}

.quick_map_layer_grid .teo_satellite_map.checked h5 {
    font-size: 11px;
}

.quick_map_layer_grid .teo_satellite_map.checked h6 {
    padding-top: 5px;
}

.quick_map_layer_grid .teo_bing_map {
    background: url('../../resources/images/layers/bing-sokak.png') no-repeat scroll 0 0 transparent;
}

.quick_map_layer_grid .teo_bing_map.checked {
    background: url('../../resources/images/layers/bing-sokak-checked.png') no-repeat scroll 0 0 transparent;
}

.quick_map_layer_grid .teo_bing_map.checked h5 {
    font-size: 11px;
}

.quick_map_layer_grid .teo_bing_map.checked h6 {
    padding-top: 5px;
}

.quick_map_layer_grid .teo_bing_satellite_map {
    background: url('../../resources/images/layers/bing-uydu.png') no-repeat scroll 0 0 transparent;
}

.quick_map_layer_grid .teo_bing_satellite_map.checked {
    background: url('../../resources/images/layers/bing-uydu-checked.png') no-repeat scroll 0 0 transparent;
}

.quick_map_layer_grid .teo_bing_satellite_map.checked h5 {
    font-size: 12px;
}

.quick_map_layer_grid .teo_bing_satellite_map.checked h6 {
    padding-top: 5px;
}

.quick_map_layer_grid .teo_dark_map {
    background: url('../../resources/images/layers/dark-harita.png') no-repeat scroll 0 0 transparent;
}

.quick_map_layer_grid .teo_dark_map.checked {
    background: url('../../resources/images/layers/dark-harita-checked.png') no-repeat scroll 0 0 transparent;
}

.quick_map_layer_grid .teo_dark_map.checked h5 {
    font-size: 11px;
}

.quick_map_layer_grid .teo_dark_map.checked h6 {
    padding-top: 5px;
}

.quick_map_layer_grid_item:hover {
    cursor: pointer;
    transform: scale(1.05);
}

.quick_map_layer_grid_item .TeoQuickMap-h6 {
    padding-top: 20px;
    color: #4C4C4F;
    font-size: 9px;
    font-weight: bold;
}

.quick_map_layer_grid_item label {
    width: 100%;
    height: 100%;
}

.quick_map_layer_grid_item label:hover {
    cursor: pointer;
    transform: scale(1.05);
}

.quick_map_layer_grid_item input[type=checkbox] {
    display: none;
}

#teo_QuickMap_checkbox[type=checkbox]:checked + label {
    background: url('../../resources/images/layers/timeline_on.png') no-repeat scroll 0 0 transparent;
    border-radius: 10px;
    width: 50px;
    height: 50px;
    margin: unset;
}

#teo_QuickMap_checkbox[type=checkbox] + label {
    background: url('../../resources/images/layers/timeline_off.png') no-repeat scroll 0 0 transparent;
    border-radius: 10px;
    width: 50px;
    height: 50px;
    margin: unset;
}

#timeline_h6 { /* Exception for checkbox + label */
    margin-top: 3px;
    padding: unset;
    color: #4C4C4F;
    font-size: 9px;
    font-weight: bold;
}

/*endregion */

/*region Web Slider */

#teo-slider-container {
    z-index: 30000;
    position: absolute;
    left: 17%;
    right: 10%;
    bottom: 5%;
    width: 60%;
    height: 62px;
    background-color: #1e1e2de0;
    padding-right: 2%;
    padding-left: 3%;
}

#teo-slider-container_line {
    border: none;
    border-top: 3px dotted white;
    border-radius: 5px;
    height: 3px;
    transform: translateY(-50%);
    position: relative;
    top: 45px;
}

#teo-slider-container_span {
    display: none;
    color: white;
}

.teo-slider-container_circle {
    width: 15px;
    height: 15px;
    background: white;
    border-radius: 25px;
    position: absolute;
    top: -9px;
    border: 0.15rem solid white;
    cursor: pointer;
}

.teo-slider-container_circle:before {
    content: "";
    width: 20px;
    height: 20px;
    background: var(--bs-primary);
    position: absolute;
    border-radius: 100%;
    top: -6px;
    left: -4px;
    display: none;
    border-width: 2px;
    border-style: solid;
    border-color: white;
}

.teo-slider-container-back-circles {
    background-color: var(--bs-secondary);
    border-color: white;
}

.teo-slider-container_circle .popupSpan {
    width: auto;
    height: auto;
    padding: 5px;
    white-space: nowrap;
    display: inline-block;
    color: white;
    position: absolute;
    top: -30px;
    left: -14px;
    font-size: 12px;
}

.teo-slider-container_circle.hover:before,
.teo-slider-container_circle.active:before {
    display: block;
}

.teo-slider-container_circle.hover .popupSpan,
.teo-slider-container_circle.active .popupSpan {
    display: block;
    top: -40px;
    margin-left: -2px;
    font-size: 15px;
    background: linear-gradient(to right,
    rgba(255, 0, 0, 0) 0,
    rgba(255, 0, 0, 0) 5%,
    whitesmoke 5%,
    whitesmoke 95%,
    rgba(255, 0, 0, 0) 95%,
    rgba(255, 0, 0, 0) 100%
    );
    border-radius: 25px;
    font-weight: bold;
    color: var(--bs-primary);
    opacity: unset;
}

.teo-slider-container_circle.active .popupSpan:before,
.teo-slider-container_circle.hover .popupSpan:before {
    content: "";
    position: absolute;
    margin-left: 9px;
    margin-top: 16px;
    border-right: 8px solid transparent;
    border-top: 12px solid whitesmoke;
    border-left: 8px solid transparent;
}

@media screen and (max-width: 1500px) {
    #teo-slider-container {
        width: 75%;
        left: 10rem;
        padding-left: 5%;
    }
}

@media screen and (max-width: 1100px) {
    #teo-slider-container {
        width: 85%;
        left: 1rem;
        padding-right: 1rem;
        padding-left: 5%;
    }
}

@media screen and (max-width: 950px) {
    #teo-slider-container {
        padding-right: 1rem;
    }
}

@media screen and (max-width: 850px) {
    #teo-slider-container {
        display: none;
    }
}

#teo-slider-container span {
    cursor: pointer;
}

#teo-slider-container_sliderSpeed {
    position: relative;
    width: 80px;
    display: none;
    top: 10%;
    left: 15%;
    transform: rotate(180deg) scaleX(-1);
    transition-property: all;
    transition: height 1s;
    transition-timing-function: cubic-bezier(0.5, 1, 0.5, 1);
}

#teo-slider-container_tooltip {
    position: absolute;
    color: whitesmoke;
    font-size: 15px;
    left: 68px;
    bottom: 18px;
}

#teo-slider-container_minus {
    position: absolute;
    width: 18px;
    height: 18px;
    background: transparent;
    border-radius: 4px;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    font-size: 25px;
    color: whitesmoke;
    bottom: 13px;
    left: 2px;
    opacity: 0.9;
}

#teo-slider-container_plus {
    position: absolute;
    width: 18px;
    height: 18px;
    background: transparent;
    border-radius: 4px;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    font-size: 25px;
    color: whitesmoke;
    bottom: 11px;
    right: 12px;
    opacity: 0.9;
}

#teo-slider-container_plus:hover,
#teo-slider-container_minus:hover {
    transform: scale(1.15);
    opacity: unset;
}

#teo-slider-container_sliderInput {
    position: absolute;
    height: 25px;
    width: 25px;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    color: #1e1e2de0;
    border: 1px solid #ddd;
    border-radius: 100%;
    display: inline-block;
    outline: none;
    bottom: 1px;
    left: 22px;
}

#teo-slider-container_sliderInput::-webkit-outer-spin-button,
#teo-slider-container_sliderInput::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#teo-slider-container .grid-container {
    position: absolute;
    width: 100px;
    margin: 0 auto;
    height: 40px;
    transform: rotate(180deg) scaleX(-1);
    left: 44%;
    bottom: 100%;
    user-select: none;
}

#teo-slider-container .grid-container .sidebar {
    width: 100%;
    height: 0;
    background-color: #1e1e2de0;
    transition: height 1s;
    position: relative;
    border-radius: 0 0 10px 10px;
}

#teo-slider-container .grid-container .sidebar_open {
    height: 100%;
    transition: height 0.5s;
}

#teo-slider-container .grid-container .sidebar input[type=checkbox] {
    display: none;
}

#teo-slider-container .grid-container .sidebar input + label {
    border: none;
    left: 35%;
    top: 90%;
    position: absolute;
    text-align: center;
    margin-bottom: 6px;
    height: 9px;
    width: 30px;
    background: transparent;
    cursor: pointer;
    outline: none;
}

#teo-slider-container .grid-container .sidebar input + label:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 70%;
    width: 51%;
    background-color: whitesmoke;
    transform: skew(0deg, 16deg);
    border-radius: 0 0 0 3px;
}

#teo-slider-container .grid-container .sidebar input + label:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 70%;
    width: 52%;
    background-color: whitesmoke;
    transform: skew(0deg, -16deg);
    border-radius: 0 0 3px 0;
}

#teo-slider-container .grid-container .sidebar input[type=checkbox]:checked + label {
    transform: rotate(180deg);
}

#teo-slider-container .grid-container .sidebar input[type=checkbox]:checked + label:hover {
    transform: rotate(180deg) scale(1.2);
}

#teo-slider-container .grid-container .sidebar input[type=checkbox] + label:hover {
    transform: scale(1.2);
}

/*region play-pause Button*/

#teo-slider-container .play-pause {
    width: 40px;
    height: 40px;
    position: absolute;
    margin-left: -55px;
    margin-top: 10px;
}

.play-pause label {
    width: 100%;
    height: 100%;
    user-select: none;
    opacity: 0.9;
}

.play-pause label:hover {
    cursor: pointer;
    opacity: 1;
}

.play-pause input[type=checkbox] {
    display: none;
}

.play-pause input[type=checkbox]:checked + label {
    background: url('../../resources/images/slider/durdur.svg') no-repeat scroll 5px 5px transparent;
    background-size: 85%;
}

.play-pause input[type=checkbox] + label {
    background: url('../../resources/images/slider/baslat.svg') no-repeat scroll 5px 5px transparent;
    background-size: 85%;
}

/*endregion */

/*endregion */

/*region Feature Grid*/
#teo_feature_grid_container_tab_content_container tbody tr td.bs-checkbox label{
    padding-left: 2px!important;
}
/*endregion*/
