/*global*/

.h--50 {
  height: 50% !important;
}

.rotate--180 {
  transform: rotate(180deg);
}

/*.d-flex {
    display: flex !important;
}*/
.background--white {
  background-color: white;
}


.hide {
  display: none !important;
}


#toast-container>.toast-warning {
  background-color: #bf0e3d;
}

#toast-container>.toast-warning {
  background-color: #bf0e3d;
}

#selection_list {
  max-width: 441px;
  margin-left: 5px;
}

.navbar-nav {
  flex-direction: row !important
}

.animation-img {
  display: none;
}

.animation-img.active {
  display: block !important;
}

#image_copy_selection_modal .modal-dialog {
  max-width: 80%;
}

button:focus {
  outline: none !important;
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
  background-color: unset;
  /*background-color: red;*/
  /*background-image: url(https://mdbreak.com/content/Images/background.jpg);
    background-size: cover;*/
}

.soft-blue {
  background-color: #F5F5F5
}

.pale-blue {
  background-color: #DDEAF1;
}


.blue-green {
  background: rgb(227, 242, 253);
  background: linear-gradient(90deg, rgba(227, 242, 253, 1) 0%, rgba(240, 244, 248, 1) 100%);
}

.light-grey {
  background-color: #E0E0E0;
}


.soft-beige {
  background-color: #F3E5AB;
}

.light-blue {
  background-color: #D6EAF8;
}

.white-light-grey {
  background: rgb(255, 255, 255);
  background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(77, 77, 77, 1) 100%);
}

#upload_link i {
  transform: rotate(180deg);
}


.buttons-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  background-color: lightgray;
  padding: 3px;
  border-radius: 5px;
}

/* width */
.buttons-container::-webkit-scrollbar {
  width: 8px;
}

/* Track */
.buttons-container::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
.buttons-container::-webkit-scrollbar-thumb {
  background: white;
  border-radius: 10px;
}


/*
.buttons-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
}*/

.buttons-container .group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  padding: 5px;
  border-radius: 5px
}



.navbar {
  justify-content: start;
}

nav i {
  color: white;
}

body {
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10 and IE 11 */
  user-select: none;
  /* Standard syntax */
}

#canvas_container {}



canvas {
  outline: none;
}

/*#flat_model_canvas*/
/*#main_model_canvas {
    width: 100%;
    max-height: calc(100vh - 10px);
    aspect-ratio: 1 / 1;
    min-width: 1280px !important;
}*/

/*test*/
#main_model_canvas {
  width: 100%;
  height: 100vh;
}

.button-62 {
  background: linear-gradient(to bottom right, #EF4765, #FF9A5A);
  border: 0;
  border-radius: 12px;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-block;
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 2.5;
  outline: transparent;
  padding: 0 1rem;
  text-align: center;
  text-decoration: none;
  transition: box-shadow .2s ease-in-out;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  min-width: 100px;
}


.button-62:not([disabled]):focus {
  box-shadow: 0 0 .25rem rgba(0, 0, 0, 0.5), -.125rem -.125rem 1rem rgba(239, 71, 101, 0.5), .125rem .125rem 1rem rgba(255, 154, 90, 0.5);
}

.button-62:not([disabled]):hover {
  box-shadow: 0 0 .25rem rgba(0, 0, 0, 0.5), -.125rem -.125rem 1rem rgba(239, 71, 101, 0.5), .125rem .125rem 1rem rgba(255, 154, 90, 0.5);
}



/* Handle on hover */
.menu::-webkit-scrollbar-thumb:hover {
  background: #afafaf;
}

.menu {
  position: absolute;
  left: 0;
  top: 58px;
  /* width: min(300px, 100%); */

  z-index: 1;
  padding: 5px;
  max-height: calc(100vh - 50px);
}

/*
.menu {
    position: absolute;
    left: 0;
    top: 50px;
    width: 100%;
    z-index: 1;
    padding: 10px;
}*/





.tooth_mark {
  background-color: deeppink;
  border-radius: 50%;
  padding: 3px;
  color: white;
  font-weight: 500;
}

.tooth_mark.opacity {
  background-color: #ff000050;
}

.range-input {
  width: min(300px, 100%);
  display: inline-block;
}



.navbar-brand {
  display: flex;
}

.range-container {
  width: 100%;
}


.play_upper_btn,
.play_lower_btn {
  padding: 8px 8px 8px 12px !important;
}

.toggle-upper-jaw-btn {
  text-align: start !important;
  padding-left: 25px !important;
}



/*#top_modal_3d_toolbar button .fa-eye {
    font-size: 6px;
}*/
/* mobile landscape */
/*
@media screen and (max-width: 820px) {
    .menu {
        width: 100%;
    }


    .menu {
        position: relative;
        top: 0;
    }

    .range-container {
        display: flex;
        justify-content: center;
    }

    .ethos-logo-clone {
        width: 50% !important;
    }

    .group button {
        font-size: 12px;
    }

    .toggle-jaw-btn {
        grid-column: 1 / 3;
    }

    .buttons-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .tooth_mark {
        font-size: 10px
    }

    #composite_treatment_collapse,
    .group.group-green,
    .group.group-yellow {
        grid-column: 1/span 2
    }
}*/
.x-ray-img {
  object-fit: contain;
  width: 100%;
  max-width: 581px;
  max-height: 200px;
}

#mainDiv {
  margin-bottom: 5px !important;
}

.group button {
  font-size: 14px;
}


.ethos-logo-clone {
  position: absolute;
  left: 0;
  width: 25%;
  border-radius: 15px;
  display: grid;
  grid-template-columns: 1fr;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.navbar-brand svg {
  height: 20px;
}

.navbar-brand svg path,
.ethos-logo-clone svg path {
  fill: white;
}


#ethos_logo {
  display: none;
}


.btn-light {
  font-size: 14px;
}

hr {
  border-top: 1px solid black;
}

.fa-eye-slash,
.fa-eye {
  font-size: 27px;
  border: 1px solid black;
  padding: 5px;
  border-radius: 5px;
  cursor: pointer !important;
}



.lower-continue-btn,
.upper-continue-btn {
  display: none;
}

#play_animation_btn {
  border: 1px black solid;
  padding: 8px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 19px;
  margin-top: 15px;
  height: 100%;
  background-color: white;
}



.top-menu-btn {
  border: 1px black solid;
  padding: 8px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 19px;
  margin-top: 15px;
  height: 35px;
  background-color: white;
  width: calc(25% - 10px);
  justify-content: center;
}

.top-menu-btn:hover {
  background-color: lightgray;
}



.d-flex-col {
  display: flex;
  flex-direction: column;
  /*    gap: 5px*/
}

.d-flex-col>button {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/*button.active {
    background-color: #79a8ce !important;
}*/

.border-top-left {
  border-top-left-radius: 10px;
}

.border-top-right {
  border-top-right-radius: 10px;
}

/*groups colors*/
.group-yellow {
  background: rgb(238, 238, 218);
  background: linear-gradient(90deg, rgba(238, 238, 218, 1) 0%, rgba(236, 236, 112, 1) 100%);
}

.group-red {
  background: rgb(237, 238, 218);
  background: linear-gradient(90deg, rgba(237, 238, 218, 1) 0%, rgba(236, 112, 112, 1) 100%);
}

.group-green {
  background: rgb(237, 238, 218);
  background: linear-gradient(90deg, rgba(237, 238, 218, 1) 0%, rgba(150, 236, 112, 1) 100%);
}

.group-purple {
  background: rgb(237, 238, 218);
  background: linear-gradient(90deg, rgba(237, 238, 218, 1) 0%, rgba(235, 112, 236, 1) 100%);
}

.group-cyn {
  background: rgb(237, 238, 218);
  background: linear-gradient(90deg, rgba(237, 238, 218, 1) 0%, rgba(112, 236, 224, 1) 100%);
}

.group-blue {
  background: rgb(237, 238, 218);
  background: linear-gradient(90deg, rgba(237, 238, 218, 1) 0%, rgba(112, 116, 236, 1) 100%);
}

.group-grey {
  background: rgb(237, 238, 218);
  background: linear-gradient(90deg, rgba(237, 238, 218, 1) 0%, rgba(149, 149, 149, 1) 100%);
}



#files_modal .modal-body {
  max-height: calc(100vh - 300px);
  overflow-y: scroll;
}

#translate_treatment_btn {
  display: none;
}

#translate_treatment_btn.show {
  display: inline-block !important;
}


main {
  display: grid !important;
  grid-template-areas: "b b b b b";
  grid-template-columns: repeat(5, 1fr);
}

#model_container_3d {
  /* grid-area: a;*/
  position: relative;
}

#canvas_image_container .canvas-container {
  /*  width: 100%;*/
  /* max-height: calc(100vh - 10px);
    aspect-ratio: 1 / 1;*/
}

#model_container_3d {
  display: none;
  display: none;
  width: calc(100vw - 2rem);
  height: calc(100vh - 90px);
  position: absolute;
  top: 70px;
  left: 1rem;
  z-index: 5;
  border-radius: 15px;
  z-index: 20;
}

/*#main_model_canvas {
    position: relative;
    width: 100%;
    height: calc(100vh - 90px);
}*/

/*#buttons_main_model_tools_container {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
}*/

#bottom_modal_3d_toolbar {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 6;
}

.gap-5 {
  gap: 5px !important;
}

#top_modal_3d_toolbar {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 6;
  display: grid;
  grid-template-columns: 125px 125px 125px;
  background-color: #d3d3d396;
  border-radius: 8px;
  padding: 5px;
  gap: 6px;
}

.w-100 {
  width: 100%;
}

#buttons_main_model_tools_container button {
  /* grid-column: 1 / 4;*/
  display: block;
}


#model_container_2d {
  position: relative;
  grid-area: b;
  /*  pointer-events: none;*/
  /*display: flex;
    justify-content: center;
    background-color: #fff0;
    flex-direction: column;*/
  /*remove any interaction for now*/
}

#nav_btn_open {
  position: absolute;
  top: 50px;
  left: 5px;
  font-size: 32px;
  cursor: pointer;
  z-index: 2;
  /*display: inline-block*/
}



#translation_container {
  padding: 5px;
  border-radius: 5px;
  border-radius: 5px;
  display: none;
  position: absolute;
  width: min(95%, 400px);
  z-index: 11;
  background-color: #f1f1f1;
  text-align: center;
  border: 1px solid #d3d3d3;
  top: 10%;
  left: 10%;
  /*  transform: translate(-50%, 0);*/
  background-color: white;
}

#translation_container>div {
  padding: 10px;
  cursor: move;
  z-index: 10;
  background-color: #2196F3;
  color: #fff;
}

#translation_textarea {
  min-height: 450px;
  width: 100%;
  padding: 5px;
  cursor: none !important;
  border: none;
}



#tooth_selection_container {
  position: absolute;
  right: 10px;
  top: 100px;
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(2, 1fr);
}

#progress-bar {
  transition: width 0.1s;
  height: 20px;
}

/*analyzer model*/

.cs-container,
.final-container,
.prov-container,
.analyzers-option-headers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.gap--8 {
  gap: 8px;
}

#xml_analyzer_option_modal input[type="radio"] {
  opacity: 0;
  position: fixed;
  width: 0;
}

#xml_analyzer_option_modal .form-check {
  padding: 0;
}

#xml_analyzer_option_modal label {
  display: inline-block;
  background-color: #ddd;
  padding: 10px;
  font-family: sans-serif, Arial;
  font-size: 16px;
  border: 2px solid #444;
  border-radius: 4px;
  cursor: pointer !important;
}

#xml_analyzer_option_modal input[type="radio"]:checked+label {
  background-color: #bfb;
  border-color: #4c4;
}

#xml_analyzer_option_modal label:hover {
  background-color: #dfd;
}

.d-grid {
  display: grid;
}

.align-items-center {
  align-items: center
}

/*
.upper-canvas,
#image_layer_canvas {
    width: 100% !important;
    max-height: calc(100vh - 10px) !important;
    aspect-ratio: 1 / 1 !important;
}

#canvas_image_container .canvas-container {
    width: 100% !important;
    max-height: calc(100vh - 10px) !important;
    aspect-ratio: 1 / 1 !important;
}*/


#canvas_image_container {
  grid-area: b;
  z-index: -1;
}

/*#buttons_flat_model_tools_container {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
}*/



#scale_object_container,
#move_object_container {
  background-color: #f8f9fa;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
}

#scale_object_container>div,
#move_object_container>div {
  width: calc(33% - 10px);
}

.flex-full {
  flex: 1;
}



#buttons_flat_model_tools_container {
  padding-top: 5px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  /*gap: 5px;*/
}


#menu_tabs button.active {
  background-color: cyan;
}

#toast-container>.toast-success {
  background-color: forestgreen;
}


#xml_analyzer_option_modal img {
  max-width: 25px;
}


#upload_xray_container_img_options {
  background-color: #f8f9fa;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  padding: 5px;
}


#xray_front_img_container {
  /* text-align: center;*/
  /*min-width: 400px;*/
  padding: 5px;
  border-radius: 5px;
  display: none;
  position: absolute;
  z-index: 11;
  background-color: #f1f1f1;
  border: 1px solid #d3d3d3;
  top: 10%;
  left: 10%;
  background-color: white;
}

#front_img_wrapper {
  min-width: 100px;
  border: 2px solid;
  padding: 5px;
  resize: both;
  overflow: auto;
  z-index: 1000;
  width: 1200px;
  height: 500px
}



#xray_front_img_container span {
  top: 0px;
  left: 0px;
  font-size: 14px;
  padding: 5px;
  position: absolute;
}


#xray_front_img_container span:hover {
  text-decoration: underline;
  cursor: pointer !important;
}


#search_save_file_input {
  background-image: url('https://www.w3schools.com/css/searchicon.png');
  background-position: 10px 10px;
  background-repeat: no-repeat;
  width: 100%;
  font-size: 16px;
  padding: 12px 20px 12px 40px;
  border: 1px solid #ddd;
  margin-bottom: 12px;
}

.external-link {
  color: #9d9d9d !important;
}

.external-link:hover {
  text-decoration: none !important;
}



.treatment-file-row {
  display: flex;
  justify-content: space-between;
}

.treatments-file-row {
  background-color: cadetblue;
  display: flex;
  justify-content: space-between;
}

.treatments-file-row:hover {
  background-color: #88bfc1;
  transition: 0.5s;
  padding-left: 30px;
  padding-right: 10px;
  text-decoration: none;
}


.file-name-download-btn {
  border: none;
  background-color: cadetblue;
  position: relative;
}

.file-name-download-btn {
  padding: 8px 20px 8px 20px;
  color: white;
  display: block;
}

.file-name-delete-btn {
  border: 1px solid grey;
  border-radius: 50%;
  /*color: red !important;*/
}



#quotation_modal_body .td-treatment-cost,
#quotation_modal_body .td-tooth-number {
  text-align: center;
}

#quotation_modal_body th {
  text-align: center;
}

#user_default_pages_container img {
  width: 100%;
}

#quotation_user_details {
  display: flex;
  justify-content: space-between;
}

#quotation_user_details>div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quotation-img-btn-label {
  min-width: 146px;
}

#quotation_img_container img {
  width: 100%;
  margin-bottom: 10px;
}

.static_quotation_object_row {
  /* display: flex;
    justify-content: space-between;*/
  padding: 5px;
  font-weight: 600;
  align-items: center;
  /*   gap: 15px;*/
}

#static_quotation_objects ul {
  width: 300px;
}

.static_quotation_object_row> :nth-child(2) {
  display: flex;
  width: 100%;
  max-width: 100%;
  gap: 5px;
}

.custom-tooth-number-input {
  flex: 0.7;
  min-width: 0;
}

.multipile-custom-treatment-input {
  flex: 0.2;
  min-width: 0;
}


.static_quotation_object_row button {
  flex: 0.1;
  min-width: 0;
}

table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
  /*  border: none;*/
}

td,
th {
  /* border-bottom: 2px solid grey;*/
  padding: 0 0px 1px 8px;
  vertical-align: baseline;
}

tr:nth-child(even) {
  background-color: #dddddd;
}

#enable_quotation_btn {
  max-height: 38px;
}

#enable_quotation_comment_btn {
  min-width: 145px;
  margin: 5px 0 5px 0;
}

#discount_input {
  border: 0;
  outline: 0;
  background: transparent;
  border-bottom: 1px solid #ffffff;
  max-width: 40px;
  padding: 0;
}

#discount_input:focus {
  border: none !important;
  outline: none !important;
}

#td-total-cost {
  text-align: right;
  padding-right: 10px;
}

#td_discount_input {
  display: flex;
  justify-content: right;
  gap: 5px;
}

#total_cost_discount_row {
  text-align: right;
  padding-right: 10px;
}




#quotation_textarea {
  width: 100%;
  height: 150px;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  background-color: #f8f8f8;
  font-size: 16px;
  resize: none;
}



#xray_front_toolbar {
  position: sticky;
  text-align: left;
  left: 0;
  top: 0;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  min-width: 300px;
}

#xray_front_elements_menu {
  position: absolute;
  top: 50px;
  left: 5px;
  display: flex;
  flex-direction: column;
  max-width: 40px;
  gap: 2px;
  opacity: 0;
  transform: translateX(-100%);
  /* Start off-screen */
  transition: transform 0.5s ease, opacity 0.5s ease;
  /* Apply smooth transition */
}

#xray_front_elements_menu.visible {
  transform: translateX(0);
  /* Slide to the normal position */
  opacity: 1;
  /* Fade in */
}

#xray_front_elements_menu.hidden {
  transform: translateX(-100%);
  /* Slide out of view */
  opacity: 0;
  /* Fade out */
}

#xray_front_elements_menu button {
  border: none;
  background-color: none;
  background-color: #ffffff00;
}

#xray_front_elements_menu button:last-of-type {
  background-color: #d3d3d3;
  background-clip: content-box;
  height: 30px;
}

#xray_front_elements_menu img {
  width: 100%;
}


.buttons-colors button {
  border: none;
  color: black;
  font-weight: 600;
  border-radius: 50%;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.size-btn {
  border: none;
  color: black;
  border-radius: 50%;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  padding: 1px 8px;
}

.size-btn.active,
.buttons-colors button.active {
  border: 3px lightblue solid;
}

.sm-seperator {
  border-radius: 50%;
  padding: 5px;
  background-color: lightgray;
}

/* Red */
.red-btn {
  background-color: red;
}

/* Blue */
.blue-btn {
  background-color: blue;
}

/* Blue */
.green-btn {
  background-color: green;
}

/* Brown */
.brown-btn {
  background-color: brown;
}


/*3d - model*/
.transparency-3d-model-btn {
  width: 33%;
}


.td-treatment-cost {
  position: relative;
}

.custom-row-del-btn {
  border-radius: 50%;
  background-color: red !important;
  font-weight: 700;
  position: absolute;
  right: 5px;
  top: 5px;
}


.help-row {
  /*  display: flex;*/
  align-items: baseline;
  background-color: #d8d8d8;
  gap: 10px;
  margin-bottom: 10px;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  pointer-events: none;
}

.range-helper-row {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.help-btn {
  display: flex !important;
  align-content: center;
  gap: 2px;
  /*min-width: 100px;*/
  justify-content: center;
  align-items: center;
  color: white !important;
}

.question-mark {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  color: white;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}


#model_container_2d,
#model_container_3d {
  background-image: url('/content/images/flat/bg_watermark_flat.jpg');
  background-size: cover;
  /* fill the whole container */
  background-repeat: no-repeat;
  /* prevent tiling */
  background-position: center;
  /* keep it centered */
}

.partner_logo_container {
  position: absolute;
  right: 7px;
  top: 62px;
  z-index: 2;
  max-width: 125px;
  border-radius: 50px;
}

/* Container sticks to bottom and centers content */
.banner-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 5;
  /* stays above normal content */
  pointer-events: none;
  /* optional: allows clicks through container */
}

/* Image styling */
.banner-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  pointer-events: auto;
  /* allow interaction with image if needed */
}

/* Desktop keeps the horizontal slide it always had; the drawer handle is
   mobile-only. Declared before the media block so the block wins. */
.menu-toggle-btn {
  display: none;
}

/* ==========================================================================
   Mobile layout
   On a phone the screen belongs to the model. The dark navbar strip and the
   brand logo are dropped entirely; the partner's WhatsApp button is the only
   thing left over the canvas, and it is parked above the banner.
   The controls panel becomes a drawer that comes down from the top; its handle
   flows underneath it, so it rides up with the panel and stays the one thing
   on screen once the drawer is closed.
   ========================================================================== */
@media screen and (max-width: 768px) {

  /* the bar is gone; what is left is a transparent hit-through wrapper -- the
     WhatsApp button inside it is placed above the banner from media-queries.js */
  .navbar.fixed-top {
    min-height: 0;
    padding: 6px 8px;
    background: transparent !important;
    border: 0;
    box-shadow: none;
    pointer-events: none;
  }

  .navbar-brand {
    display: none !important;
  }

  /* help is a desktop affordance: the modal would cover the treatment view here */
  .help-btn {
    display: none !important;
  }

  .navbar .navbar-nav {
    margin-left: auto;
    align-items: center;
    gap: 6px;
    pointer-events: auto;
  }

  /* small but still a real tap target, and readable over a light model */
  .navbar .btn-sm {
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
  }

  #partner_whatsapp_btn {
    margin-left: 0 !important;
  }

  /* -- controls drawer ------------------------------------------------ */
  /* fixed, full width, and sitting above the bottom banner (z-index 5) */
  .sidenav {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 6;
    /* the drawer is pushed up by its own height less the handle, which is what
       keeps the handle -- and only the handle -- on screen when closed */
    transform: translateY(calc(-100% + 34px));
    transition: transform .35s ease;
    /* the box spans the full width even when it is off screen, so the empty
       part of it must not swallow touches meant for the model */
    pointer-events: none;
  }

  .sidenav.open {
    transform: translateY(0);
  }

  /* the panel no longer hangs off the navbar; it flows inside the drawer */
  .menu {
    position: relative;
    top: 0;
    left: 0;
    padding-top: 6px;
    max-height: none;
    pointer-events: auto;
  }

  .buttons-container {
    overflow-y: auto;
  }

  /* -- drawer handle -------------------------------------------------- */
  /* in flow, centred under the panel: it moves with the drawer */
  .menu-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 72px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 0 0 14px 14px;
    color: #fff;
    font-size: 16px;
    background-color: rgba(33, 37, 41, .82);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, .35);
    pointer-events: auto;
  }

}

/* Small phones: the WhatsApp button drops its label and keeps the icon, so it
   stays a small square above the banner instead of a wide bar. */
@media screen and (max-width: 480px) {

  #partner_whatsapp_btn span[data-translation] {
    display: none;
  }

  #partner_whatsapp_btn .fa {
    font-size: 15px;
  }

  .navbar .btn-sm {
    padding: 6px 8px;
  }
}

