/******************
    User custom CSS
    ---------------

    In this file you can add your own custom CSS
    It will be loaded last, so you can override any other property.
    Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/

:root {
    --color-header-top-text-hover: #2070AB;
    --color-hover-link-btn: #EB670A;
    --font-family: "Manrope", sans-serif;
    --font-size: clamp(1rem,0.227vi + 0.943rem,1.125rem);
    --bs-gutter-x: 24px;
}

body {
    padding: 0; /* reset */
    font-family: var(--font-family);
    font-size: var(--font-size);
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body > article {
    flex: 1;
}

/* Link colors */
#survey-nav .nav-link:hover {
    color: var(--color-hover-link-btn);
}
.btn-primary {
    background-color: var(--color-header-top-text-hover);
    border-color: #0d6efd;
    color: #fff;
}
.btn-check:focus+.btn-primary, .btn-primary:focus, .btn-primary:hover {
    background-color: var(--color-hover-link-btn);
    border-color: #ba5208;
}
.btn-check:focus+.btn-primary, .btn-primary:focus {
    box-shadow: 0 0 0 .25rem rgba(246, 131, 50, .5);
}
.btn-check:active+.btn-primary, .btn-check:checked+.btn-primary, .btn-primary.active, .btn-primary:active, .show>.btn-primary.dropdown-toggle {
    background-color: var(--color-hover-link-btn);
    border-color: #ba5208;
}
.btn-check:focus:checked + .btn-primary, .btn-check .btn-primary:focus:checked {
    background-color: var(--color-hover-link-btn);
    border-color: #ba5208;
}

/* Header */
#header-bar {
            transition-property: transform, background, box-shadow, line-height, height;
        transition-duration: .3s;
        transition-timing-function: cubic-bezier(.78,.13,.15,.86);
                line-height: 40px;
        height: 40px;
        /* check responsive */
            background: linear-gradient(90deg, #eb670a, #87C3EE);
    color: #fff;
}
#header-bar.sticky {
    line-height: 0px;
    height: 0px;
    overflow: hidden;
}

#survey-nav {
    background-color: #fff;
    line-height: 60px;
    height: 60px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
    padding-left: var(--bs-gutter-x, 12px);
    padding-right: var(--bs-gutter-x, 12px);
    padding-top: 0;
    padding-bottom: 0;
}
#survey-nav.sticky {
    line-height: 60px;
    height: 60px;
}
#survey-nav > .container-md, #header-bar > .container-md {
    padding:0;
    height: inherit;
}
#navbar {
    background: white;
    line-height: initial;
    padding: 0.5rem;
    padding-left: var(--bs-gutter-x);
    padding-right: var(--bs-gutter-x);
    margin-left: calc(var(--bs-gutter-x)* -1);
    margin-right: calc(var(--bs-gutter-x)* -1);
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}
@media (min-width: 768px) {
    #survey-nav {
        background-color: #fff;
        line-height: 100px;
        height: 100px;
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
        transition-property: transform, background, box-shadow, line-height, height;
        transition-duration: .3s;
        transition-timing-function: cubic-bezier(.78,.13,.15,.86);
    }
    #navbar {
        padding: 0;
        margin-left: unset;
        margin-right: unset;
        box-shadow: none;
    }
}

.logo-container {
    line-height:unset;
    flex-shrink: 0;
    transition: height 0.3s;
}
.logo-container > img {
    height: 40px;
    max-height: 40px;
    padding: 0;
}
/*.logo-container.sticky > img {
    height: 40px !important;
}*/
@media (min-width: 768px) {
    .logo-container > img {
        height: 70px;
        max-height: 70px;
        padding: 0;
        transition: all 0.3s;
    }
    .logo-container.sticky > img {
        height: 35px !important;
    }
}

.loghi-container {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
    background: var(--color-header-top-text-hover) !important;
}
.loghi-container > div.container-md {
    padding-top: 60px;
}

.loghi-grid {
    grid-template-columns: repeat(4, 1fr);
    display: grid;
    grid-gap: 3rem;
}

.loghi-grid > .cell {
    justify-content: center;
    min-width: 0;
    width: auto;
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
}

.loghi-grid > .cell > img {
    width: 200px;
    max-width: 200px;
}

@media (max-width: 600px) {
    .loghi-grid {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    grid-gap: 1rem;
}
}

@media (min-width: 768px) {
    .loghi-container > div.container-md {
        padding-top: 140px;
    }
}

@media (max-width: 767px) {
    .loghi-grid > .cell > img {
        width: 120px;
        max-width: 120px;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .loghi-grid > .cell > img {
        width: 150px;
        max-width: 150px;
    }
}

.top-content {
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
}

@media (min-width: 768px) {
    .top-content {
        padding-left: calc(var(--bs-gutter-x, 24px) / 2);
        padding-right: calc(var(--bs-gutter-x, 24px) / 2);
    }
}

/* Footer */
footer {
    background-color: #e3c7af;
    margin-top: 3rem;
    font-size: calc(var(--font-size) * 0.85);
    padding: 3rem 0 2rem 0;
}
footer p {
    margin-bottom:0;
}

  .table-bordered > thead > tr > th {
    border: 1px solid #dadada;
  }
  .table-bordered > thead > tr > td {
    border: 1px solid #dadada;
  }
  
.ls-questionhelp {
    color: var(--color-header-top-text-hover) !important;  
}

.survey-welcome {
    word-break: auto-phrase;
}

.survey-name {
    color: var(--color-header-top-text-hover);
}