/**
 * Css pour le template Moteur de recherche

 * Création: 05/09/2023
 */

#main {
    padding-top: 0px !important;
} 
input::placeholder {
    /* color:#544579 !important; */
    font-weight: 400 !important;
}
.titre_page {
    color:  #ffb200;
    /*color: blue;*/
    text-align: center;
}
.aideMoteur {
    padding-top: 10px;
    width: 32px;
}
#sablier {
    background:#eccc21;
    color:#0e509e;
    font-size: 18px;
    text-align: center;
    padding: 8px;
    font-weight: 600;
    border: 1px solid #333;
    border-radius: 5px;
    margin-top: 10px;

}
.flash, .flash1 {
    width: 100%;
    top: 80px;
    background: #ffcc00;
    color:#fff0;
    display: flex;
    font-weight: 500;
    font-size: larger;
    justify-content: center;
    align-items: center;
    height: 0;
    transition: height .4s;
    border-radius: 5px;
    margin-bottom: 5px;
}
.flash--visible, .flash1--visible {
    height: 40px;
    color:#0e509e;
    transition: height .2s;
}
.grid-container1 {
    display: grid;
    grid-template-columns: 15% 40% 12% 12% 20%;
    grid-template-rows: auto;
    row-gap: 4px;

}

.label { margin-top: 3px; }
.label-bold {
    font-weight: bolder;
}
#name1,#name2,#name3,#name4,#name5 {
    border: 2px solid #ffb200;
    border-radius: 5px;
    padding-left: 5px;
}
#prenom1, #prenom2, #prenom13, #prenom14, #prenom15, #prenom16 {
    border: 2px solid  #ccc;
    border-radius: 5px;
    padding-left: 5px;
}
input::placeholder {
    font-style: italic;
    font-weight: 600;
    color: #030a14;
}
#label1 { grid-column: 1; grid-row: 1; }

#label2 { grid-column: 4; grid-row: 1; }
#label3 { grid-column: 4; grid-row: 2; }
#label4 { grid-column: 1; grid-row: 3; }
/* #label5 { grid-column: 1; grid-row: 4; } */
#label5 { grid-column: 1; grid-row: 6; }
/* #line_slide { grid-column-start: 2; }
#line_dates { grid-column: 2; grid-row: 8; } */


#label8 { grid-column: 1; grid-row: 9; }
#label9 { grid-column: 1; grid-row: 10; }
#label10 { grid-column: 1; grid-row: 11; }
#label11 { grid-column: 1; grid-row: 12; }
#label12 { grid-column: 1; grid-row: 13; }
#label13 { grid-column: 4; grid-row: 9; }
#label14 { grid-column: 4; grid-row: 10;}
#label15 { grid-column: 4; grid-row: 11; }
#label16 { grid-column: 4; grid-row: 12;}

.input1 { grid-column: 2; grid-row: 1; }
.input2 { grid-column: 5; grid-row: 1; }
.input3 { grid-column: 5; grid-row: 2; }
.input4 { grid-column: 2; grid-row: 4; display: inline-flex; }

.wrapper { grid-column: 2; grid-row: 3; }
.wrapper1 { grid-column: 1; grid-row: 5; }
.wrapper2 { grid-column-start: 2; grid-column-end: 4; grid-row: 5; }
.wrapper3 { grid-column: 2; grid-row: 13;}
.wrapper4 { grid-column: 1; grid-row: 7;}
.wrapper5 { grid-column: 2; grid-column-end: -1; grid-row: 7;}
.events {
    grid-column-start: 2;
    grid-column-end: -1;
    grid-row: 6;
    display: inline-flex;
}
.reset { 
    grid-column: 5; grid-row: 14; 
    display: inline-flex;
}
#annee { grid-column: 2; grid-row: 8;}
#conjoint { grid-column: 2; grid-row: 9; }
#prenom_conjoint { grid-column: 5; grid-row: 9; }
#mere { grid-column: 2; grid-row: 10; }
#prenom_mere { grid-column: 5; grid-row: 10; }
#parrain { grid-column: 2; grid-row: 11; }
#prenom_parrain { grid-column: 5; grid-row: 11; }
#marraine { grid-column: 2; grid-row: 12; }
#prenom_marraine { grid-column: 5; grid-row: 12; }
#exact1 { grid-column: 3; grid-row: 1; }
#exact2 { grid-column: 3; grid-row: 9; }
#exact3 { grid-column: 3; grid-row: 10; }
#exact4 { grid-column: 3; grid-row: 11; }
#exact5 { grid-column: 3; grid-row: 12; }
#corbeille { float: right ;}


.toggler-wrapper {
    display: block;
    width: 45px;
    height: 20px;
    cursor: pointer;
    position: relative;
}
.toggler-wrapper input[type="checkbox"] {
    display: none;
}

.toggler-wrapper input[type="checkbox"]:checked+.toggler-slider {
    background-color: #0069d9;
}

.toggler-wrapper .toggler-slider {
    background-color: #ccc;
    position: absolute;
    border-radius: 100px;
    top: 5px;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}

.toggler-wrapper .toggler-knob {
    position: absolute;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}

.toggler-wrapper.style-1 input[type="checkbox"]:checked+.toggler-slider .toggler-knob {
    left: calc(100% - 18px );
}

.toggler-wrapper.style-1 .toggler-knob {
    width: calc(20px - 6px);
    height: calc(20px - 6px);
    border-radius: 50%;
    left: 3px;
    top: 3px;
    background-color: #fff;
}

.wrapper,
.wrapper3 {
    display: inline-flex;
}
.wrapper1,
.wrapper4 {
    display: block;
}


.wrapper .option {
	background: #fff;
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	/* margin: 0px 2px; */
    margin-right: 2px;
    margin-left: 2px;
    margin-bottom: 2px;
	border-radius: 5px;
	cursor: pointer;
	padding: 3px 10px;
	border: 2px solid lightgrey;
	transition: all 0.3s ease;
}
.wrapper1 .option,
.wrapper3 .option,
.wrapper4 .option {
    background: #fff;
    height: 32px;
    width: 80%;
    display: flex;
	align-items: center;
	justify-content: space-evenly;
    margin-right: 2px;
    margin-left: 2px;
    margin-bottom: 2px;
	border-radius: 5px;
	cursor: pointer;
	padding: 3px 10px;
	border: 2px solid lightgrey;
	transition: all 0.3s ease;
    
}
.wrapper .option .dot,
.wrapper1 .option .dot,
.wrapper3 .option .dot,
.wrapper4 .option .dot {
height: 18px;
width: 18px;
background: #d9d9d9;
border-radius: 50%;
position: relative;
}
.wrapper .option .dot::before,
.wrapper1 .option .dot::before,
.wrapper3 .option .dot::before,
.wrapper4 .option .dot::before {
position: absolute;
content: "";
top: 4px;
left: 4px;
width: 10px;
height: 10px;
background: #0069d9;
border-radius: 50%;
opacity: 0;
transform: scale(1.5);
transition: all 0.3s ease;
}
input[type="radio"]{
display: none;
}
#option-1:checked:checked ~ .option-1,
#option-2:checked:checked ~ .option-2,
#option-3:checked:checked ~ .option-3,
#option-4:checked:checked ~ .option-4,
#option-5:checked:checked ~ .option-5,
#option-6:checked:checked ~ .option-6,
#option-7:checked:checked ~ .option-7,
#option-8:checked:checked ~ .option-8,
#option-9:checked:checked ~ .option-9 {
    border-color: #0069d9;
    background: #0069d9;
}
#option-1:checked:checked ~ .option-1 .dot,
#option-2:checked:checked ~ .option-2 .dot,
#option-3:checked:checked ~ .option-3 .dot,
#option-4:checked:checked ~ .option-4 .dot,
#option-5:checked:checked ~ .option-5 .dot,
#option-6:checked:checked ~ .option-6 .dot,
#option-7:checked:checked ~ .option-7 .dot,
#option-8:checked:checked ~ .option-8 .dot,
#option-9:checked:checked ~ .option-9 .dot {
    background: #fff;
}
#option-1:checked:checked ~ .option-1 .dot::before,
#option-2:checked:checked ~ .option-2 .dot::before,
#option-3:checked:checked ~ .option-3 .dot::before,
#option-4:checked:checked ~ .option-4 .dot::before,
#option-5:checked:checked ~ .option-5 .dot::before,
#option-6:checked:checked ~ .option-6 .dot::before,
#option-7:checked:checked ~ .option-7 .dot::before,
#option-8:checked:checked ~ .option-8 .dot::before,
#option-9:checked:checked ~ .option-9 .dot::before {
    opacity: 1;
    transform: scale(1);
}
.wrapper .option span,
.wrapper1 .option span,
.wrapper2 .option span,
.wrapper3 .option span,
.wrapper4 .option span {
    font-size: 14px;
    color: #000;
    margin-left: 5px;
}
#option-1:checked:checked ~ .option-1 span,
#option-2:checked:checked ~ .option-2 span,
#option-3:checked:checked ~ .option-3 span,
#option-4:checked:checked ~ .option-4 span,
#option-5:checked:checked ~ .option-5 span, 
#option-6:checked:checked ~ .option-6 span,
#option-7:checked:checked ~ .option-7 span,
#option-8:checked:checked ~ .option-8 span,
#option-9:checked:checked ~ .option-9 span {
    color: #fff;
    margin-left: 5px;
}
.wrapper .option:hover,
.wrapper1 .option:hover,
.wrapper2 .option:hover,
.wrapper3 .option:hover,
.wrapper4 .option:hover
 {
    background-color: #ddd;
}

.exact, .exact2, .exact3, .exact4, .exact5 {
    padding-top: 0px;
    padding-left: 10px
}
.exact label,
.exact2 label,
.exact3 label,
.exact4 label,
.exact5 label {
    display: inline-block;
    background-color: rgba(255, 255, 255, .9);
    border: 2px solid rgba(139, 139, 139, .3);
    color: #000;
    border-radius: 20px;
    white-space: nowrap;
    margin: 2px 5px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: all .2s;
    padding: 0px 8px;
    cursor: pointer;
}

/* .exact label {
    padding: 8px 12px;
    cursor: pointer;
} */

.exact label::before,
.exact2 label::before,
.exact3 label::before,
.exact4 label::before,
.exact5 label::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 12px;
    padding: 2px 6px 2px 2px;
    content: "\f067";
    transition: transform .3s ease-in-out;
}

.exact input[type="checkbox"]:checked + label::before,
.exact2 input[type="checkbox"]:checked + label::before,
.exact3 input[type="checkbox"]:checked + label::before,
.exact4 input[type="checkbox"]:checked + label::before,
.exact5 input[type="checkbox"]:checked + label::before {
    content: "\f00c";
    transform: rotate(-360deg);
    transition: transform .3s ease-in-out;
}

.exact input[type="checkbox"]:checked + label,
.exact2 input[type="checkbox"]:checked + label,
.exact3 input[type="checkbox"]:checked + label,
.exact4 input[type="checkbox"]:checked + label,
.exact5 input[type="checkbox"]:checked + label {
    border: 1px solid #000;
    background-color: #0069d9;
    color: #fff;
    transition: all .2s;
}

.exact input[type="checkbox"] {
    display: absolute;
}
.exact input[type="checkbox"],
.exact2 input[type="checkbox"],
.exact3 input[type="checkbox"],
.exact4 input[type="checkbox"],
.exact5 input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}
.exact input[type="checkbox"]:focus + label,
.exact2 input[type="checkbox"]:focus + label,
.exact3 input[type="checkbox"]:focus + label,
.exact4 input[type="checkbox"]:focus + label,
.exact5 input[type="checkbox"]:focus + label {
    border: 2px solid #e9a1ff;
}
.line1, .line2 { 
    display: inline-flex; 
    width: 100%;
    padding-top: 2px;
    padding-bottom: 1px;
    padding-left: 2px;
    height: 34px;
}


.canton {
    width: 35%;
}
.com { 
    padding-left: 10px;
    width: 40%;
}

ul.ks-cboxtags {
    list-style: none;
    padding: 0px;
    margin: 0;
}
ul.ks-cboxtags li{
  display: inline;
}
ul.ks-cboxtags li label{
    display: inline-block;
    background-color: rgba(255, 255, 255, .9);
    border: 2px solid rgba(139, 139, 139, .3);
    color: #000;
    border-radius: 25px;
    white-space: nowrap;
    margin: 3px 0px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: all .2s;
}
ul.ks-cboxtags li label:disabled{
    background-color: rgba(128, 128, 128, .9);
}
ul.ks-cboxtags li label {
    padding: 2px 8px;
    cursor: pointer;
}

ul.ks-cboxtags li label::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 12px;
    padding: 2px 6px 2px 2px;
    content: "\f067";
    transition: transform .3s ease-in-out;
}

ul.ks-cboxtags li input[type="checkbox"]:checked + label::before {
    content: "\f00c";
    transform: rotate(-360deg);
    transition: transform .3s ease-in-out;
}

ul.ks-cboxtags li input[type="checkbox"]:checked + label {
    border: 1px solid #000;
    background-color: #0069d9;
    color: #fff;
    transition: all .2s;
}
ul.ks-cboxtags li input[type="checkbox"]:disabled + label {
    border: 1px solid rgba(139, 139, 139, .3);
    background-color: #ccc !important; 
    color: #fff;
    transition: all .2s;
}

ul.ks-cboxtags li input[type="checkbox"] {
  display: absolute;
}
ul.ks-cboxtags li input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}
ul.ks-cboxtags li input[type="checkbox"]:focus + label {
  border: 2px solid #ffb200;
}
#line_dates {
    height: 32px;
    padding-top: 2px;
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}
#line_slider {
    height: 64px;
    padding-top: 5px;
}
.line-slider {
    grid-column-start: 2;
    grid-column-end: -1;
    grid-row: 7;
    background: #fff;
    height: 55px;
    width: 100%;
    border-radius: 5px;
    padding-left: 10px;
    padding-right: 10px;
    box-shadow: 5px 5px 30px rgba(0,0,0,0.2);
    margin-top: 0px;
}
#titlePeriod {
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
}

.ui-slider {
    margin-bottom: 2em;
    z-index: 0;
}
.ui-slider .ui-slider-handle {
    height: 2em;
}
.ui-slider-horizontal {
    height: 1.5em;
}
#custom-handle1, #custom-handle2 {
    width: 40px;
    padding-top: 3px;
    padding-left: 2px;
    margin-top: -8px;
}
#typeLieu {
    margin-right: 3px;

}
#lieu0 {
    display: block;
    margin-left: 10px;
}
#lieu1 {
    display: none;
    margin-left: 10px;
}
#lieu2 {
    display: none;
    margin-left: 10px;
}
.cacheElt {
    height: 0px !important;
    border: 0px !important;
}
.btn-close, .btn-close1 {
    height: 29px;
}
img.btn_close1 {
    float: right;
    margin: -55px -55px 0 0;
    cursor: pointer; 
} 
#cantons, #communes {
    width: 100%;
}
.modal {
    display: none; /* caché par défaut */
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); 
    /* overflow: scroll; */
    /* display: flex;
    align-items: center;
    justify-content: center; */
}
.modal-content {
    width: 800px;
    top: 28%;
    left: 15%;
    position: relative;
    padding: 20px;
    background-color: #ccc;
    border-radius: 20px !important;
    border: 8px solid #a1a693 !important;

}
.identite {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
}
.close2 {
    color: #000;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
#resultats {
    margin-top: 15px;
    width: 100%;
    display: none;
}
.caption-text {
    padding: 3px 10px;
    background-color: #0069d9;
    border: 1px solid #000;
    color: #fff;
    border-radius: 8px;
    text-align: center;
    /* font-weight: bold; */
    width: 100%; 
    margin-bottom: 10px;
    margin-top: 10px;
}
#table_des_resultats { 
    width: 100%;
    border-collapse: separate;
    border-spacing: 2px;
}
/* table thead { width: 100%; font-weight: bold; } */
.thead {
    font-weight: bold;
}
table th { font-weight: bold;
    border: 1px solid;
    background-color: #ffb200;
}

.slidecontainer {
    width: 100%;
    border: 1px solid black;
    border-radius: 8px;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #fff;
}
  
.slider {
    -webkit-appearance: none;
    width: 97%;
    height: 6px;
    background: #777;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    margin-top: 8px;
    /* margin-bottom: 15px; */
    border-radius: 3px;
    overflow: visible !important;
}
  
.slider:hover {
    opacity: 1;
}
  
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #ffb200;
    cursor: pointer;
    border-radius: 50%;
    border: 1px solid black;
}
  
.slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #ffb200;
    cursor: pointer;
    border-radius: 50%;
    border: 1px solid black;
}
.container {
    display: inline-flex;
    width: 100% !important;
}
.arrow {
    /* width: 15px; */
    /* border: 0px; */
    /* background-color: transparent; */
    margin-left: 5px;
    margin-right: 5px;
    font-weight: bold;
    /* margin-top: -10px; */
    /* font-size: 24px; */
    padding-left: 5px;
    padding-right: 5px;;
}
.arrow:hover {
    cursor: pointer;
    /* transform: scale(1.3,1.3); */
    
}
.titre {
	text-align: center;
    font-family: Arial;
    font-weight: bold;
}
.naissance { background-color:  rgb(244, 200, 207); }
.mariage { background-color:  rgb(236, 230, 231); }
.publication { background-color: rgb(224, 255, 255) }
.contrat { background-color: rgb(141, 238, 238);}
.deces { background-color: rgb(190, 190, 190);}
.reconnaissance { background-color: rgb(240, 185, 240);}
.divorce { background-color: rgb(246, 246, 140);}
.evenement { background-color: rgb(144, 238, 144);}
.jugement { background-color: rgb(0, 255, 255);}
.fiche { background-color: rgb(205, 133, 63);}
.sexe {
    padding-right: 5px;
    padding-top: 3px;
}
.indent {
    padding-left: 40px; 
}
table td {
    padding-left: 5px;
    border: 1px solid #000 !important;
}
div p {
    text-align: justify;
}
.btnPhoto {
    margin-right: 3px;
    margin-bottom: 10px;
}
.btnCousain {
    margin-right: 3px;
    margin-bottom: 10px;
    text-transform: capitalize !important;
}

.errorDB, .formDecujus{
    display: none;
    position: fixed;
    top: -50px;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
	z-index: 99999;
}
.signal {text-align: center;}
#event_concerned, #detail_event {
    border: 1px solid black;
    border-radius: 5px;
    padding: 10px;
    margin-left: 20px;
}
#correction, #demande  {
    width: 705px;
    border-radius: 5px;
    margin-left: 20px;
    padding: 10px;
}
.event_concerned {
    margin-left: 20px;
}
#send_mail_correction, #send_mail_decujus {
    margin-top: 15px;
    margin-left: 20px;
}
.popup_block {
    background-color: #d5d2d1;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 650px;
    padding-top: 0;
}
.popup_block h1 {
    color: #77570d;
    margin: 0;
}
.foto, .foto_off  {
    height: 30px;
    text-align: center;
  }
  .foto:hover {
    height: 35px;
  }
  #id2329 {
    display: none;
    margin-top: 5px;;
  }
  .tblphotos {
      width:  100% !important;
      border-collapse: collapse;
  }
  .tblphotos th {
    font-family: Arial;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
  }
  .tblphotos caption {
    background-color: #ffb200;
      font-family: Arial;
      text-align: center;
      font-size: 16px;
      font-weight: bold;
      border: 2px solid blue;
      color: black;
      padding-top: 5px;
      padding-bottom: 5px;  
  }
  .tblphotos label {
    text-align: right;
  }
  .tblphotos td { 
    padding: 0px;
    border: transparent !important;
  }
  #acte_photo1, #acte_photo2, #acte_photo3 {
    height: 50px;
    width: 100%;
  }
  #num_photo1, #num_photo2, #num_photo3 {
    height: 50px;
  }
  #ref_photo1, #ref_photo2, #ref_photo3 {
    height: 50px;
    resize: none;
   
  }
  #delete1, #delete2, #delete3 {
    margin-top: 5px;
    margin-left: 20px;
    display: none;
  }
  .cache { display: none;}
  .noncache { display: block;}
  .delete {
    background-color: #fff;
    border: 1px solid #ccc;
    height: 50px;
  }
  textarea {
    border: 1px solid #ccc;
    width: 100%;
    resize: none;
  }
  .paginateur {
    background: #333;
	padding: 1rem;
	margin-bottom: 1rem;
	text-align: center;
	display: flex;
	justify-content: center;
  }
  #numbers {
    padding: 0;
	margin: 0 2rem;
	list-style-type: none;
	display: flex;  
  }
  #numbers li a {
	color: #fff;
	padding: .5rem 1rem;
	text-decoration: none;
	opacity: .7;
    background-color: #333;
    padding-right: 15px;
    padding-left: 15px;
    border-radius: 50%;
  }
  #numbers li a:hover {
    opacity: 1;
    transform:scale(1.3);

  }
  #numbers li a.active {
    opacity: 1;
    background: #fff;
    color: #333;
  }
  .crayon {
    padding-left: 10px;
    height: 18px;
    background-color: transparent;
  }
  #config {
    height: 40px;
    margin-right: 10px;
    margin-left: 10px;
  }
  .form-control {
    display: block;
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    font-size: 1rem;
    font-weight: 400;
    color: #495057;
    border-radius: 0.25rem;
    margin-left: 0.25rem;
    width: 100px;
  }
  .input-group {
    margin-left: 3px;
    /* padding-top: 2px; */
    padding-left: 6px;
    padding-right: 6px;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    height: 29px;

  }
  .input-group-text {
    /* background-color: #e9ecef; */
   
    font-size: 1.2rem;
    
    
    text-align: center;
    white-space: nowrap;

  }
  .inputDate {
    height: 29px;
    width: 100px;
    margin-left: 8px;
  }
  .plusMoins {
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 5px;
    padding-bottom: 5px;
    border: 1px solid #000;
    font-size: 18px;
  }
  #arbre {
    height: 40px;
  }
  .tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
  }
  
  .tooltip-text {
    visibility: hidden;
    position: absolute;
    width: max-content;
    background-color: #000;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 10px;
    z-index: 1;
    font-size: 12px;
    /* bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s; */
  }
  .tooltip-text::before {
    content: "";
    position: absolute;
    transform: rotate(45deg);
    background-color: #000;
    padding: 5px;
    z-index: 1;
  }
  .hover-text:hover .tooltip-text {
    visibility: visible;
  }
 
  /* #top {
    top: -35px;
    left: -40px;
  } */
  .top::before {
    top: 80%;
    left: 45%;
  }
  .hover-text {
    position: relative;
    display: inline-block;
    font-family: Arial;
    text-align: center;
  }
  #scrollToTopButton {
    display: block;
    z-index: 99;
    transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
    /* opacity: 0; */
    /* visibility: hidden; */
    /* position: fixed; */
    /* bottom: 20px; */
    /* right: 30px; */
    border: none;
    border-radius: 6px;
    outline: none;
    width: 50px;
    height: 50px;
    padding: 8px;
    background-color: #000;
    float: right;
  }
  #scrollToTopButton i {
    color: white;
  }
  #scrollToTopButton:hover,
  #scrollToTopButton:focus,
  #scrollToTopButton:focus-within {
    cursor: pointer;
    background-color: #0078b4;
  }
 



  


    