:root {
	--dark-color-a: #003220;
	--dark-color-b: #335b4c;
	--light-color: #ebf2d9;
	--success-color: #5cb85c;
	--error-color: #d9534f;
}

/* width */
::-webkit-scrollbar {
    width: 6px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background-color: #FFFFFF;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #F1F1F1;
    ;
}

::-webkit-scrollbar-button{
    display: none;
}

@supports not selector(::-webkit-scrollbar) {
    * {
        scrollbar-width: thin;
        scrollbar-color: white transparent;
    }
  }
  

::-moz-selection { /* Code for Firefox */
    color: white;
    background: #335B4C;
}

::selection {
    color: white;
    background: #335B4C;
}


/* * {
    scrollbar-width: thin;
    scrollbar-color: white transparent;
} */

a{
    color: inherit;
    text-decoration: underline;
}

.generalButton.disabled{
    cursor: default;
    pointer-events: none;
    user-select: none;
    opacity: 0.5;
}

.styledBtn {
    height: 44px;
    border-radius: 2px;
    border: none;

    font-family: 'Bentley';
    font-size: 14px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    letter-spacing: 0.01em; /* Converted from 1% in Figma */

    cursor: pointer;

    transition: 100ms ease-out all;
}

.primaryBtn {
    background-color: #394d45;
    color: white;
}
.primaryBtn.gradient {
    background: linear-gradient(60deg, #394D45 50%, #637A77);
}

.primaryBtn:hover {
    background-color: #637a77;
}
.primaryBtn.gradient:hover{
    background: linear-gradient(60deg, #394D45, #637A77 50%);
}

.primaryBtn:active {
    background-color: #022000;
}

.primaryBtn.disabled,
.primaryBtn:disabled {
    background: #BFCDC8;
}

.secondaryBtn {
    color: #394D45;

    border: solid 1px #394D45;
    padding: 16px 22px;
    box-sizing: border-box;
    min-width: fit-content;
    font-size: 16px;
    line-height: 16px;

    background: white;
}
.secondaryBtn:hover{
    /* color: white; */
    background-color: #384c4433;
    /* background: linear-gradient(45deg, transparent 25%, #394d4580); */
}

.secondaryBtn.disabled {
    background-color: #BFCDC8;
}

.loader {
    /* border: 2px solid #BFCDC8;
    border-top: 2px solid #335B4C; */
    border-radius: 50%;
    width: 32px;
    height: 32px;
    animation: spin 2s linear infinite;

    background: linear-gradient(to right, #BFCDC8 33%, #335B4C);
}
.loader::after{
    content: '';
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    display: block;
    border-radius: 100px;
    position: absolute;
    background: white;
    left: 2px;
    top: 2px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


#myModal.openned {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

#myModal .modal-content {
    width: 568px;
    height: 444px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 25px 78px;
    box-sizing: border-box;
}



/* TOOTLTIPS */
.tooltip {
    --backgroundColor: #FFFFFF;

    position: relative;
    display: inline-block;
}
.tooltip *,
.tooltip::before,
.tooltip::after{
    box-sizing: border-box;
}

/* .tooltip .tooltiptext.tooltip-hidden{
    display: block;
} */
.tooltiptext.tooltip-hidden{
    display: none;
}

.tooltip .tooltiptext {
    visibility: hidden;
    position: absolute;
    width: var(--widthValue);
    background-color:var(--backgroundColor);
    color: #000000;
    text-align: center;
    /* padding: 16px 24px; */
    padding: 10px 16px;

    z-index: 200;

    font-family: 'Bentley_Light';
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0.01em;
    /* text-transform: none; */

    opacity: 0;
    transition: opacity 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}


.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}



.tooltip{
    --offsetValue: 10px;
    --widthValue: 120px;
}
.tooltip .tooltip-right {
    /* top: -5px; */
    top: calc(50% - var(--offsetValue));
    left: 125%;
}

.tooltip .tooltip-right::after {
    content: "";
    position: absolute;
    top: var(--offsetValue);
    right: 100%;
    margin-top: 0px;
    border-width: 10px 8px;
    border-style: solid;
    border-color: var(--backgroundColor) var(--backgroundColor) transparent transparent;
}

.tooltip .tooltip-bottom {
    top: 135%;
    left: 50%;
    margin-left: calc(-1* var(--widthValue) / 2);
}

.tooltip .tooltip-bottom::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent var(--backgroundColor) transparent;
}

.tooltip .tooltip-top {
    bottom: 125%;
    left: 50%;
    margin-left: calc(-1* var(--widthValue) / 2);
}

.tooltip .tooltip-top::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--backgroundColor) transparent transparent transparent;
}

.tooltip .tooltip-left {
    top: calc(50% - var(--offsetValue));
    bottom: auto;
    right: 128%;
}

.tooltip .tooltip-left::after {
    content: "";
    position: absolute;
    top: var(--offsetValue);
    left: 100%;
    margin-top: -5px;
    border-width: 10px 8px;
    border-style: solid;
    border-color: var(--backgroundColor) transparent transparent var(--backgroundColor);
}


/*  SHAKE ANIMATION */

.shake {
	animation: shake-frames 0.82s cubic-bezier(.36,.07,.19,.97) both;
	transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
	perspective: 1000px;
  }


@keyframes shake-frames {
	10%, 90% {
	  transform: translate3d(-1px, 0, 0);
	}

	20%, 80% {
	  transform: translate3d(2px, 0, 0);
	}

	30%, 50%, 70% {
	  transform: translate3d(-4px, 0, 0);
	}

	40%, 60% {
	  transform: translate3d(4px, 0, 0);
	}
  }




.selectorManager{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-end;
}

.selectorManager .selectorBtn{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    align-content: center;

    cursor: pointer;
	user-select: none;

    width: 100%;
}
.selectorManager .selectorBtn.disabled{
    opacity: 0.5;
}

.selectorManager .selectorBtn img{
    display: block;
}

.selectorManager .selectorBtn>div:last-child{
	/* margin-left: 10px; */
	transition: transform 150ms ease-in-out;
}
.selectorManager .selectorBtn.openned>div:last-child{
	transform: rotate(180deg);
}

.selectorManager .valueSelector{
    display: none;

	background-color: white;

    overflow-y: auto;
	border: solid white 4px;
}
.selectorManager .valueSelector::-webkit-scrollbar-thumb {
    background-color: #335B4C;
}
.selectorManager .valueSelector > input {
	display: none;
}
.selectorManager .valueSelector > label{
	display: flex;
	align-items: center;

	height: 34px;
	padding: 0 12px;
	box-sizing: border-box;
	/* margin-right: 4px; */

	font-family: 'Bentley';
	font-style: normal;
	font-size: 14px;
	line-height: 19px;
}
.selectorManager .valueSelector > label:hover{
	background-color: #F7F7F7;
}
.selectorManager .valueSelector > input:checked + label{
	font-family: 'Bentley_SemiBold';
	background-color: #F7F7F7;
}
.selectorManager .valueSelector.openned{
	display: block;
}



input[type="checkbox"] {
	width: 20px;
	height: 20px;
	appearance: unset;
	border: 1px solid #637A77;

	margin-right: 12px;
	float: left;
    border-radius: 2px;
    cursor: pointer;
}

input[type="checkbox"]:checked {
	background-color: #637A77 !important;
    background: url('../imgs/icons/check.svg') no-repeat center; /* CHANGES LOG XX/01/2024 ZOOM DISABLED */
	border: 1px solid #637A77;
	/* outline: 1px solid #335B4C; */
}
input[type="checkbox"]:checked:hover {
	background-color: #394D45 !important;
    background: url('../imgs/icons/check.svg') no-repeat center; /* CHANGES LOG XX/01/2024 ZOOM DISABLED */
	border: 1px solid #394D45;
	/* outline: 1px solid #335B4C; */
}

textarea{
    width: 100%;
}

#myModal .modal-content{
    position: relative;
}
#myModal .modal-content #closeModal{
    position: absolute;
    top: 22px;
    right: 22px;
    width: 30px;
    height: 30px;

    cursor: pointer;
}
#myModal .modal-content #closeModal>img{
    display: block;
    width: 100%;
}


#copyrightDiv{
    position: absolute;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-around;
    align-items: center;
    padding: 5px 10px;
    bottom: 3vh;
    left: 0;
    width: 100%;

    color: #FFFFFF;
    font-family: "Bentley";
    font-size: 12px;

    box-sizing: content-box;

    min-height: 50px;
    text-align: center;
    box-sizing: border-box;

    z-index: 10;

    z-index: 10;
    row-gap: 2vh;
}

@media (max-height: 650px) {
    #copyrightDiv{
        bottom: 0.4vh;
        row-gap: 1vh;
    }
}

#copyrightDiv a{
    text-decoration: none;
    margin: 0 10px;
    text-transform: uppercase;
}

/* #copyrightDiv br{
    display: none;
} */

body.logIn #copyrightDiv{
    background-color: transparent;
    color: white;
}

body.logIn .txt_copyright{
    line-height: 1.4em;
}

body.thanks #copyrightDiv{
    background-color: transparent;
    color: white;
}

body.host-url-pages #languageSelector{
    margin-top: 5px;
    max-height: 204px;
    box-shadow: #00000033 0px 4px 4px 0px;
}






/* ZOOM MODIF */
#meetingSDKElement button[title="Share Screen"] {
    display: none;
}






.txt_required{
    color: var(--error-color);
}




/* CHANGES LOG 19/01/2024 CONSOLE LOG report bug */
    /*the container must be positioned relative:*/
    .custom-select {
        position: relative;
    }

    .custom-select select {
        display: none; /*hide original SELECT element:*/
    }

    .select-selected {
        background-color: #394D45;
        /* border-radius: 18px; */
    }

    /*style the arrow inside the select element:*/
    .select-selected:after {
        position: absolute;
        content: "";
        top: 14px;
        right: 10px;
        width: 0;
        height: 0;
        border: 6px solid transparent;
        border-color: #fff transparent transparent transparent;
    }

    /*point the arrow upwards when the select box is open (active):*/
    .select-selected.select-arrow-active:after {
        border-color: transparent transparent #fff transparent;
        top: 7px;
    }

    .select-selected.select-arrow-active{
        /* border-radius: 18px 18px 0 0; */
    }

    /*style the items (options), including the selected item:*/
    .select-items div,.select-selected {
        color: #ffffff;
        padding: 8px 16px;
        border: 1px solid transparent;
        border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
        cursor: pointer;
        user-select: none;
    }

    /*style items (options):*/
    .select-items {
        position: absolute;
        background-color: #394D45;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 99;
    }

    .select-items:last-child{
        /* border-radius: 0 0 18px 18px; */
    }

    /*hide the items when the select box is closed:*/
    .select-hide {
        display: none;
    }

    .select-items div:hover, .same-as-selected {
        background-color: rgba(0, 0, 0, 0.1);
    }

/* CHANGES LOG 19/02/2024 DISABLE PICTURE IN PICTURE FOR EDGE */
    video:has(source[src$=".mp4"]) {
        pointer-events: none;
    }
/* CHANGES LOG 19/02/2024 END */

