/* Large tooltip*/

.large-tooltip > .tooltip-inner{
    min-width: 15rem !important;
    text-align: left;
}

/* No Hover */

.noHover{
    pointer-events: none;
}

/* Modal */

.modal-backdrop {
  opacity: 0.75 !important;
}

.modal-body {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 5rem;
  text-align: center;
  max-height: 60vh;
  overflow-y: auto;
}

@media (max-width:768px) {
  .mobile-margin-bottom{
    margin-bottom:.5rem;
  }

}

/* html scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Select2 */

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    height: 22px;
    line-height: 22px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    background-color: #3f9ce8;
    border: none;
    border-radius: 3px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    margin-right: 5px;
    color: rgba(255, 255, 255, .5);
}


/* Toastr */

.toast-success {
    background-color: #ebf5e0;
}

.toast-success > div {
    color: #516a35;
}

.toast-error {
    background-color: #fcdddc
}

.toast-error > div {
    color: #7c2b2a;
}

.toast-info {
    background-color: #c2eff5
}

.toast-info > div {
    color: #146771;
}

.toast-warning {
    background-color: #fff0c3
}

.toast-warning > div {
    color: #856915;
}

#toast-container > div {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, .3);
}

#toast-container > .toast:before {
    position: relative;
    font-family: FontAwesome;
    font-size: 24px;
    line-height: 18px;
    float: left;
    margin-left: -1em;
    color: inherit;
    padding-right: 0.5em;
    margin-right: 0.5em;
}

#toast-container > .toast {
    background-image: none !important;
}

#toast-container > .toast-warning:before {
    content: "";
    color: #856915;
}

#toast-container > .toast-error:before {
    content: "";
    color: #7c2b2a;
}

#toast-container > .toast-info:before {
    content: "";
    color: #146771;
}

#toast-container > .toast-success:before {
    content: "";
    color: #516a35;
}

.clickable-row {
    cursor: pointer;
}

.clickable-row td a {
    padding: 5px;
}

/* Sorting columns */


th.sorting {
    position: relative;
    cursor: pointer;
    color: #3f9ce8;
}

th.sorting:after {
    content: "\f0dc";
    position: absolute;
    top: 10px;
    right: 6px;
    bottom: auto;
    font-family: FontAwesome, "Font Awesome 5 Free", "Font Awesome 5 Pro";
    font-weight: 900;
    font-size: 14px;
    opacity: .6;
}

th.sorting.descending:after {
    content: "\f107";
}

th.sorting.ascending:after {
    content: "\f106";
}


select.selected {
    border: 1px solid #3F9CE8;
    box-shadow: 0 0 3px #9ecaed;
}

/*  switch */

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;

}

.toggle:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .4);


}

input:checked + .toggle {
    background-color: #6bbea3;
}

input:focus + .toggle {
    box-shadow: 0 0 1px #6bbea3;
}

input.environmental:checked + .toggle {
    background-color: rgba(51, 160, 44, 0.7);
}

input.social:checked + .toggle {
    background-color: rgba(255, 127, 0, 0.7);
}

input.governance:checked + .toggle {
    background-color: rgba(31, 120, 180, 0.7);
}

input.credit_equity:checked + .toggle {
    background-color: rgba(107, 190, 163, .9) !important;
}

input.credit_equity + .toggle {
    background-color: rgba(107, 190, 163, .9) !important;
}

input:checked + .toggle:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}


table.vcenter td {
    vertical-align: middle;
}

tr.disabled {
    color: #cecece
}

.noUi-horizontal .noUi-tooltip {
    bottom: -210% !important;
}

/* slider */

.irs--flat .irs-handle > i:first-child {
    background-color: #6bbea3 !important;
}

.irs--flat .irs-bar {
    background-color: #6bbea3 !important;
}

.irs--flat .irs-from, .irs--flat .irs-to, .irs--flat .irs-single {
    background-color: #6bbea3 !important;
}

.irs--flat .irs-from:before, .irs--flat .irs-to:before, .irs--flat .irs-single:before {
    border-top-color: #6bbea3 !important;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 15px;
    border-radius: 5px;
    background: #6bbea3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    margin: 15px 0;
}


.slider-lg::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .4);
    cursor: pointer;
}

.slider-lg::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .4);
    cursor: pointer;
}

.slider.slider-sm {
    height: 7px;
    background: #cecece;
    margin: 5px 0 !important;

}

.slider-sm::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
    cursor: pointer;
}

.sm::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .4);
    cursor: pointer;
}


.slider.thermometer::-webkit-slider-thumb, .slider.thermometer::-moz-range-thumb {
    box-shadow: 0 3px 4px rgba(0, 0, 0, .4);
}

.rerun_overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;

}


.bullet {
    width: 17px;
    height: 17px;
    border-radius: 4px;
    position: relative;
    bottom: -3px;
    display: inline-block;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

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

.help-block {
    position: relative;
    bottom: 8px;
    color: #aab0bc
}

.help-block ul {
    margin-top: 10px;
}


.alert-toastr {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 2000;
    min-width: 400px;
    animation: fadeout 5s forwards;
}

@keyframes fadeout {
    0% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.table-borderless thead {
    color: #97a4a0;
    border-bottom: 2px solid #c7d2cf;
    font-weight: 700;
}


/* Thermometer */

.thermometer {
    width: 52px;
    height: 400px;
    margin: auto;
    background: #f7f7f7;
    border-radius: 3px;
    text-align: center;
    box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.2);
    position: relative;
    color: #866a62;
}

.thermometer .plus, .thermometer .minus {
    display: block;
    position: absolute;
    font-size: 14px;
    width: 100%;
    font-weight: 800;
    cursor: pointer;
}

.thermometer .plus {
    top: 10px;
}

.thermometer .minus {
    bottom: 10px;
}


.thermometer .slider-tooltip {
    position: absolute;
    background: black;
    color: white;
    width: 55px;
    padding: 2px;
    border-radius: 3px;
    font-size: 12px;
    right: -67px;
    font-weight: 900;
}


.thermometer .slider {
    transform: rotate(-90deg) translate(-190px, 124px);
    margin: 0;
    width: 300px;
    background: #6bbea3;
    position: absolute;
    top: 0;
    right: 0;
}

.thermometer label {
    position: absolute;
    color: #6bbea3;
    font-size: 0.8em;
    bottom: -50px;
    left: -12px;
}

.slider.coolwarm {
    background: linear-gradient(90deg, #4a74b4, #4a74b4, #76abd0, #abd6e8, #dcf1ec, #faf8c0, #fedc90, #fcab64, #f16d43, #d3322b, #a50026);
}


.autocomplete-items {
    position: absolute;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.5);
    border: 1px solid #d4d4d4;
    background: white;
    z-index: 99;
    top: 100%;
    margin-top: 10px;
    border-radius: 10px;
    left: 0;
    right: 0;

}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: transparent;
    border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items div:first-child {
    border-radius: 10px 10px 0 0;
}

.autocomplete-items div:last-child {
    border-radius: 0 0 10px 10px;
}


.autocomplete-items div:hover, .autocomplete-items div.selected {
    /*when hovering an item:*/
    background-color: #e9e9e9;
}


.autocomplete-items span > em {
    color: hsl(204, 86%, 25%);
    font-style: inherit;
    background-color: #daedf8;
}


[v-cloak] {
    display: none;
    color: #a6cee3;
    color: #1f78b4;
    color: #b2df8a;
    color: #33a02c;
    color: #fb9a99;
    color: #e31a1c;
    color: #fdbf6f;
    color: #ff7f00;
    color: #cab2d6;
    color: #6a3d9a;
    color: #ffff99;
    color: #b15928;
}

.hero-video-wrapper {
    height: 60vh;
    position: relative;
}

.hero-video-wrapper .content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero-video-wrapper .content-overlay .container {
    height: 100%;
}

.video-wrapper-inner {
    overflow: hidden;
    position: relative;
    height: 100%;
}

/*.video-wrapper-inner:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-image: radial-gradient(#4e4e4e 20%, transparent 20%);
    background-size: 3px 3px;
}*/

.btn .spinner-border {
    width: 1rem;
    height: 1rem;
    position: relative;
    top: 1px;
    left: -2px;
}

.note-btn {
    color: #4a4a4a !important;
}

.percent, .temperature {
    position: relative;
}

.percent::after, .temperature::after {

    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0.90rem;
    font-size: 0.9rem;
    color: #9fa6b1;
    z-index: 1;
}

.percent::after {
    content: "%";
}

.temperature::after {
    content: "°C"
}


.h-400 {
    height: 400px;
}

@media (max-width: 576px) {
    .h-sm-200 {
        height: 200px !important;
    }
}

.form-check-input {
    border: 1px solid #6bbea3
}


.nav-tabs-block {
    background-color: #f1f0f0;
    border-bottom: none;
}

.nav-tabs-block.nav-tabs a.nav-link {
    background: white;
    border-radius: 0;
}


.nav-tabs-block.nav-tabs a.nav-link {
    background: transparent;
}

.nav-tabs-block.nav-tabs .nav-item.active a.nav-link {
    background: white;
    color: #6bbea3;
}

.navbar-dark .navbar-nav:not(.sm-collapsible) .nav-link.nav-special {
    color: #343f52;
    padding: 0.2rem 1.5rem;
}

.navbar-dark .navbar-nav.sm-collapsible .nav-link.nav-special {
    padding-left: 1rem;
    font-size: 0.8rem;
}

.navbar-dark .navbar-nav:not(.sm-collapsible) .nav-link.nav-special .sub-arrow {
    color: #6bbea3;
}

label {
    font-weight: 600;
}

span.selected_dimension:not(:last-child):after {
    content: " & "
}

.bg-pale-primary {
    background-color: #f6faf9 !important;
}

.link-button {
    background: none;
    border: none;
    display: inline;
    color: #6bbea3;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
}

.invalid-feedback {
    display: block;
}

.is-invalid input.form-control {
    border-color: #dc3545;
}

@media (min-width: 575.98px) {
    .w-md-100 {
        width: 100%;
    }
}

/*
.unsdg_wheel:hover {
    animation:spin 5s linear infinite
}
@keyframes spin {
    100% {
        transform:rotate(360deg);
    }
}

.unsdg_wheel {
  transition: transform 4s ease-in-out;
}
.unsdg_wheel:hover {
  transform: rotate(360deg);
}
*/

/* Container for Responsive iframe */
.container-iframe {
  position: relative;
  overflow: hidden;
  padding-top: 53%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(1px 1px);
}

/* To ensure the cards have the same height in the carousel */
.owl-carousel .owl-stage {
  display: flex;
  align-items: stretch;
}
.owl-carousel .owl-item .card {
    height:100%;
}
.owl-carousel .owl-item .card .row{
    height:100%;
}
/* To ensure margins allow to see the shadow*/
.owl-carousel .owl-item {
  margin: 9px;
}
.owl-carousel .owl-dots {
  /*margin: 10px!important;*/
}

.owl-carousel.gap-none .owl-dots {
  margin-top: 0rem;
}