html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}





/* ================================
   LANGUAGE SWITCH
================================ */



.desk-switch {
    position: relative;
    width: 150px;
    font-family: Arial, sans-serif;
    z-index: 9999;
}


/* ================================
   CURRENT BUTTON
================================ */

.desk-switch .current {
    width: 100%;
    height: 36px;
    margin-left: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 12px;

    cursor: pointer;

    color: #fff;
    background: #000;

    user-select: none;
}


/* Arrow */

.desk-switch .arrow {
    width: 18px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: transform 0.3s ease;
}


/* Rotate arrow when open */

.desk-switch.show-options .arrow {
    transform: rotate(180deg);
}


/* ================================
   DROPDOWN
================================ */

.desk-switch .options {
    position: absolute;

    top: calc(100% + 8px);
    left: 0;

    width: 100%;

    background: #fff;

    border-radius: 4px;

    overflow: hidden;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-10px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0.3s ease;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.20);
}


.desk-switch.show-options .options {
    opacity: 1;
    visibility: visible;
}


/* ================================
   OPEN DROPDOWN
================================ */

.desk-switch.show-options .options {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* ================================
   LIST
================================ */

.desk-switch .options-list {
    list-style: none;

    margin: 0;
    padding: 6px 0;
}


/* ================================
   LIST ITEM
================================ */

.desk-switch .options-list li {
    margin: 0;
    padding: 0;
}


/* ================================
   LINK
================================ */

.desk-switch .options-list li a {
    display: block;

    padding: 11px 15px;

    color: #222;
    background: #fff;

    text-decoration: none;

    font-size: 14px;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


/* Hover */

.desk-switch .options-list li a:hover {
    background: #f2f2f2;
}


/* Selected */

.desk-switch .options-list li.selected a {
    font-weight: 600;
    background: #eeeeee;
}


/* ================================
   OPTIONAL SHADOW ANIMATION
================================ */

.desk-switch.show-shadow .options {
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25);
}


/* ================================
   MOBILE
================================ */

@media (max-width: 768px) {

    .desk-switch {
        width: 140px;
    }

}



/* =========================================
   FORCE LANGUAGE LIST TO SHOW ON CLICK
========================================= */

.desk-switch.show-options .options {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;

    transform: translateY(0) !important;
}


/* Force all list items visible */
.desk-switch.show-options .options-list {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/* Force all languages visible */
.desk-switch.show-options .options-list li {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/* Force links visible */
.desk-switch.show-options .options-list li a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #222 !important;
}


/* Don't depend on hover */
.desk-switch .options-list li:hover a {
    color: #222 !important;
    opacity: 1 !important;
    visibility: visible !important;
}