.visible-under-laptop {
    display: none !important;
}

#hamburger-menu .menu .bars.icon{
font-size: 1.5em;
}

/* Special adjustement for survey selection - overwrites certain semantic styles */

@media only screen and (max-width: 1204px){
    .grey-bg .four.wide.column.flex-item{
        width: 25%!important;
    }
    .grey-bg .full-vw-res {
        width: 95% !important;
    }

    .survey_item.ui.grid>[class*="four wide"].column{
        width: 22.5% !important;
        margin-left: 4% !important;
    }
    .survey_item.ui.grid>[class*="nine wide"].column{
        width: 70% !important;
    }
    .survey_item.ui.grid>[class*="three wide"].column{
        align-items: center !important;
        margin: auto;
        min-width: fit-content;
        padding-bottom: 15px !important;
    }

}

@media only screen and (min-width: 767px) and (max-width: 991px){
    #top-nav .ui.grid.container{
        width: 100% !important;
    }
}

@media (min-width: 800px) and (max-width: 980px) {
    .overview-grid table.invisible-table {
        width: 100%;
    }
}

@media (max-width: 800px) {

    .ui {
        display: block;
        float: none;
        width: auto;
    }

    body {
        overflow-x: hidden;
    }

    /* make language dropdown hover static in mobile */
    #dropdown-lang{
        display:flex;
    }
    #dropdown-lang .globe.icon + span{
        display:none;
    }
    #dropdown-lang .menu{
        display: flex;
        flex-direction: row !important;
        border: 0;
        box-shadow: unset !important;
        align-items: center;

        /* reset hover setup */

        position: relative !important;
        top: unset !important;
        opacity: unset !important;
        width: unset !important;
        height: unset !important;
        -webkit-transition: unset !important;
        transition: unset !important;
    }
    #dropdown-lang .menu .item:first-child{
        padding-left: 20px !important;
        border-right: 2px solid teal;
    }
    #dropdown-lang i.globe.icon{
        margin-left: unset !important;
    }
    .ui.menu .ui.dropdown .menu>.item:hover{
        background: none !important;
    }

    /* end */

    /*User survey overview */

    .surveys-in-account.ui.grid>[class*="eight wide"].column{
        width: 75% !important;
    }

    .surveys-in-account > .one.wide.row.flex-item{
        width: 75% !important;
    }


    .login{
        width: 70% !important;
        height: 92.5% !important;
    }

    .dimmer{
        width: 100% !important;
    }

    /* Cookie consent */
    #cookie-consent-banner .inner_wrap{
        max-width: 100%;
        width: 100%;
    }
    #cookie-consent-banner .cookie-consent-body{
        font-size: 0.85em;
    }

    #cookie-buttons {
        padding: 1em;
        flex-direction: column;
    }
    #cookie-buttons .button{
        margin-top: 10px;
        width: 80%;
        margin-left: 10%;

    }

    .visible-under-laptop {
        display: flex !important;
    }

    .hidden-under-laptop {
        display: none !important;
    }

    img.smaller-logo {
        min-height: 60px;
        padding: 10px;
    }

    .custom-menu.ui.thirteen {
        width: 100% !important;
    }

    #main-menu, #how-it-works {
        padding: 0 !important;
    }

    .intro-text {
        padding: 2rem 0 !important;
    }

    .intro-text .twelve.wide.column {
        color: pink !important;
        width: 100% !important;
    }

    canvas {
        height: 50rem;
    }

    .banner-desc {
        font-size: 16px;
    }


    h1.huge-headline {
        font-size: 34px !important;
        padding: 0 !important;
    }

    .large-headline {
        font-size: 30px !important;
    }

    .selfsurvey-principle {
        padding: 2rem 0 !important;
        text-align:center;
    }

    #survey-principle-1, #survey-principle-2 {
        width: 100% !important;
    }

    .invest-icon {
        display: none;
    }

    .instruction-step-number {
        padding: 0 !important;
    }

    .instruction-steps {
        margin: 0;
        height: auto;
        text-align: center;
    }

    #steps-number {
        display: none;
    }

    .step-number {
        display: none;
    }


    #how-it-works-text {
        width: 100% !important;
    }

    .slightly-big {
        line-height: 1.2em !important;
        margin-bottom: 3rem !important;
    }

    #slightly-big-hiw2 {
        margin-bottom: 200px !important;
    }

    .banner-headline {
        font-size: 2rem;
    }

    #evidence-icon, #modelling-icon {
        display: none;
    }

    .principle-icon-small {
        width: 120px;
        display: block;
    }

    #invest-small {
        margin: 2rem auto 0;
    }

    #statistics-small {
        margin: 4rem auto 0;
    }

    #partner-logos > .inline-flex {
        flex-wrap: wrap;
        /*width: 10%;*/
    }

    .inline-flex.mb-3em {
        margin-bottom: 0 !important;
    }

    img.logo.partner {
        padding: 0 1rem;
        margin: 1.5rem auto !important;
    }

    .otro-blockquote:before {
        display: none;
    }

    .otro-blockquote {
        padding: 0;
        margin: 0 10px;
    }

    #landing-page-start-button {
        width: fit-content;
    }

    #footer-lp {
        padding-bottom: 1rem;
    }

    #footer-lp > .ui.container >.ui > .column {
        padding: 0.2rem !important;
    }

    .pd-l-10em {
        padding-left: 0 !important;
    }

    #contactContainer,
    #inviteContainer,
    #popupRemoveSurvey,
    .hl {
        width: 100% !important;
    }

    span.ui.label{
        font-size: 0.75rem !important;
    }

    .ui.left.aligned.segment.mb-2.pl-10-pct.ptb-2em.no-b-rad.stackable.overview-grid {
        padding: 0 0.5rem !important;
    }

    table.ui.very.basic.auto-w {
       //font-size: 1.2rem;
    }

    h3.ui.teal.header {
        font-size: 1.85rem;
    }

    .important-button {
        font-size: 1.15rem !important;
    }

    /*
    .overview-logo {
        display: none !important;
        margin-top: -100px;
    }
*/
    .button.teal.important-button {
        /*margin-top: 200rem;*/
    }
    .ui.medium.rounded.image {
        max-width: 10rem;
    }

    h2.ui.teal.header {
        font-size: 2rem;
    }

    .sub.header {
        font-size: 1rem !important;
    }

    p {
        font-size: 1.3rem;
    }

    .three.wide.column.mobile-row {
        font-size: 1.3rem;
        justify-content: space-around !important;
    }

    .logo-image {
        max-height: 40px;
        margin-top: 6px;
    }

    .ui.blue-grey.tag {
        font-size: 1rem !important;
    }

    .right-aligned.pt-1p5 {
        font-size: 1.3rem;
    }
    .ui.left.aligned.segment.mb-2.pd-v-2em.no-b-rad.basic-border.grid.flex-container.mobile-column {
        margin: 0 1rem;
        padding: 0 1rem 2rem 1rem !important;
    }

    .surveys-in-account > .one.wide.row.flex-item.survey-options-wrap{
        justify-content: flex-end;
        width: 100% !important;
        margin-bottom: 2rem;
        margin-top: 1rem;
        padding-right: 1rem;
    }
    .surveys-in-account > .one.wide.row.flex-item.survey-options-wrap .survey-options{
        flex-wrap: wrap;
    }
}

@media (max-width: 500px) {
    .overview-heading {
        flex-direction: column !important;
        align-items: flex-start !important;
        row-gap: 15px;
    }

}
@media only screen and  (max-width: 400px) {

    body {
        overflow-x: hidden;
    }

    img.logo.partner {
        padding: 0;
        margin: 0.5rem auto !important;
    }

    h2.ui.teal.header {
        font-size: 2.2rem;
    }

    .important-button {
        font-size: 1rem !important;
    }

    h3.ui.teal.header {
        font-size: 1.4rem;
    }

    .ui.segment.ptb-2em {
        padding: 0.5rem 1rem !important;
    }

/* Destroys user surveys overview layout in tiny screen
    .ui.very.basic.table.auto-w > tbody > * {
        padding: 0;
        font-size: 12px;
        line-height: 14px;
    }
*/
    span.ui.label.dsp-inline {
        font-size: 12px !important;
    }

    .right-aligned.mobile.left-aligned {
        display: flex;
        flex-wrap: wrap;
    }

    .right-aligned.mobile.left-aligned > .ui.button.teal {
        margin-top: 3px;
        align-items: center !important;
    }
    button.ui.button.tiny.red.ml-2 {
        margin-top: 12px !important;
        margin-left: 0 !important;
    }

    #save_button {
        margin-bottom: 14px !important;
    }

    .pd-v-2em {
        padding: 0 !important;
    }

    h2.ui.teal.header {
        font-size: 24px;
        margin-bottom: 0.2rem;
    }

    .eight.wide.column > p {
        font-size: 16px;
    }

    .flex-item > div.mb-05, .flex-item > div.mb-1{
        font-size: 16px;
    }

    .logo-image {
        /*margin-top: 6px !important;*/
        /*width: 45% !important;*/
    }

    .horizontal-space-between.pl-28-pct.mobile {
        flex-direction: column;
        flex-wrap: wrap;
        font-size: 18px;
        line-height: 20px;
    }

    .ui.left.aligned.segment.mb-2.pd-v-2em.no-b-rad.basic-border.grid.flex-container.mobile-column {
        margin: 0;
        padding: 0 1rem 2rem 1rem !important;
    }

    .survey-intro-table > tbody > tr > td > img {
        display: none;
    }

    .survey-bottom-control {
        font-size: 15px;
        /*margin-right: 10px;*/
    }

    #scroll-up-btn {
        display: none;
    }

    .row.min-h-15 {
        font-size: 1rem;
        margin-top: 20px;
        /*width: 100%;'*/
        /*text-align: center;*/
        /*padding-left: 20px !important;*/
    }

    .row.min-h-15 > .two.wide.column {
        display: none;
    }

    .surveys-in-account .ui.table:not(.unstackable) tr>td,
    .surveys-in-account .ui.table:not(.unstackable) tr>th{
        float: unset !Important;
        margin-top: unset !Important;
        width: 100% !important;
    }
    .surveys-in-account .ui.table:not(.unstackable) tr>td:first-of-type,
    .surveys-in-account .ui.table:not(.unstackable) tr>th:first-of-type{
        font-weight: 700;
    }

    .surveys-in-account .ui.table:not(.unstackable) tr{
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .survey-options-wrap{
        margin-top: 0 !Important;
        padding-right: 0 !important;
    }
    .survey-options-wrap .survey-options{
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }
    .survey-options-wrap .survey-options > a button{
        width:100%;
    }
    .survey-options-wrap .survey-options a,
    .survey-options-wrap .survey-options button:not(a button){
        margin: 5px 0 !important;
    }

    /* Questions */

    html,body {
        overflow-x: hidden;
    }

    #selfsurvey-content {
        padding: 1rem !important;
        margin: 0 !important;
    }

    .matrix_2ways, .matrix-standard, .itsm-explanation-table {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        font-size: 12px !important;
        line-height: 12px !important;
    }

    /*
    .itsm-explanation-table {
        overflow-y: scroll !important;
        display: block !important;
        height: 355px !important;
    }
    */


    .txtinput {
        font-size: 13px;
        padding: 4px !important;
    }

    .questiondescription {
        font-size: 12px;
    }

    .mainquestion {
        font-size: 14px !important;
    }

    #page_main6 > .page_text > p {
        font-size: 14px !important;
    }

    #footer-lp {
        padding-bottom: 2rem;
        line-height: 1.4rem;
    }
    #footer-lp .ui.stackable.grid {

        flex-direction: column-reverse;
    }

    #welcomeText{
        width: 100% !important;
    }

    /*tr    { page-break-inside:avoid; page-break-after:auto }*/
    /*thead { display:table-header-group }*/
    /*tfoot { display:table-footer-group }*/


}



/* SEMANTIC UI  */

/* Semantic UI has these classes, however they're only applicable to*/
/* grids, containers, rows and columns.*/
/* plus, there isn't any `mobile hidden`, `X hidden` class.*/
/* this snippet is using the same class names and same approach*/
/* plus a bit more but to all elements.*/
/* see https://github.com/Semantic-Org/Semantic-UI/issues/1114*/

/* Mobile */
@media only screen and (max-width: 767px) {
    [class*="mobile hidden"],
    [class*="tablet only"]:not(.mobile),
    [class*="computer only"]:not(.mobile),
    [class*="large screen only"]:not(.mobile),
    [class*="widescreen only"]:not(.mobile),
    [class*="or lower hidden"] {
        display: none !important;
    }
    /* User Survey overview on Mobile */

    .user_info .ui.grid {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }
    .user_info .user_surveys_content .ui.grid{
        margin-top: 0rem !important;
        margin-bottom: 0rem !important;
    }

    .surveys-in-account > .flex-item.overview-logo{
        display:none !important;
    }

    .surveys-in-account table.ui.table.invisible-table{
        border: 1px solid #ccc;
        border-radius: unset !important;
    }
    .surveys-in-account .ui.table:not(.unstackable) tbody,
    .surveys-in-account .ui.table:not(.unstackable) tr{
        width: 100% !important;
        box-shadow: unset !important;
        -webkit-box-shadow: unset !important;
    }
    .surveys-in-account .ui.table:not(.unstackable) tr:nth-child(odd){
        background: #f5f5f5;

    }

    .surveys-in-account .ui.table:not(.unstackable) tr>td,
    .surveys-in-account .ui.table:not(.unstackable) tr>th{
        width: 50%;
        float: left;
        font-size: 1rem;
        font-weight: 100;
        margin-top: -20px;
    }

    .survey-options-wrap .survey-options a{
        height: auto !important;
    }

    .survey-options-wrap .survey-options a,
    .survey-options-wrap .survey-options button:not(a button){
        margin: 15px 0;
    }

    .user_info_content{
      border-bottom: 0 !important;
    }
    .user_info_content .ui.table{
        margin-bottom: 0rem !important;
    }

    .user_info_content .ui.table,
    .user_surveys_content .number-heading,
    .user_surveys_content .big-numbers,
    .profil_details_content .ui.table{
        font-size: 1rem !important;
        width: 100% !important;
        padding-right: 5px;
    }
    .user_info_content .ui.table td.left, .user_surveys_content .number-heading {
        font-weight: bold;
    }
    .user_surveys_content,
    .profil_details_content.ui.grid>[class*="three column"].row>.column,
    .profile_change_password .ui.grid>[class*="three column"].row>.column{
        width: 100% !important;
        margin-top: 0px !important;
        margin-bottom: 0px !important;
        padding: 1rem !important;
    }
    .profil_details_content .right.aligned{
        text-align: left !important;
    }


    .user_surveys_content .ui.grid{
        flex-direction: column;
        margin-left: 0rem;
        margin-right: 0rem;
    }
    .user_surveys_content .ui .upgrade{
       display:flex !important;
        align-items: center;
        justify-content: center;
    }
    .user_surveys_content .ui.grid>[class*="five wide"].column{
        width: 100% !important;
        text-align: left;
        border-bottom: 2px solid #e5e6e5;
        padding-left: 0.75rem !important;
        padding-right: 1rem !important;
        padding-top: 0;
        padding-bottom: 0;
    }
    .user_surveys_content .ui.grid>[class*="five wide"].column:last-of-type,
    .user_surveys_content .ui.grid>[class*="five wide"].column:nth-last-child(2),
    .profil_details_content .ui.basic.table,
    .profil_details_content .ui.basic.table tbody tr:last-of-type{
        border-bottom: 0px solid #ccc;
        box-shadow: unset !important;
    }

    .profil_details_content .ui.table:not(.unstackable) tr>td.hidden-temporary{
        display:none !important;
    }
    .profil_details_content .edit-button{
        display: flex;
        width: 100%;
        justify-content: flex-end;
        padding: 15px;
    }

    .profil_details_content .edit-cell .field input{
        font-size: 1rem !important;
    }

    #save-change-button .button{
        margin-bottom: 25px;
    }
    /* SURVEY */

    #selfsurvey-content .ui.steps:not(.unstackable){
        overflow-x: scroll !important;
    }
    #selfsurvey-content .ui.steps:not(.unstackable) .step{
        min-width: 15% !important;
    }

    #selfsurvey-content .ui.steps:not(.unstackable) .step>.icon{
        margin: unset !important;
    }

    #survey_evaluation_options .column .right-aligned{
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    #survey_evaluation_options .column .right-aligned a{
        display: flex;
        margin-bottom: 25px;
        width: 100%;
        justify-content: center;
    }

    #survey_evaluation_options .column .right-aligned a:last-of-type{
        margin-bottom: 0px;
    }
    #survey_evaluation_options .column .right-aligned a:first-of-type{
        margin-top: 15px;
    }
    #survey_evaluation_options .column .right-aligned a button{
        width: 100% !important;
        max-width: 300px !important;
    }

}

/* Tablet / iPad Portrait */
@media only screen and (min-width: 767px) and (max-width: 991px) {
    [class*="mobile only"]:not(.tablet),
    [class*="tablet hidden"],
    [class*="computer only"]:not(.tablet),
    [class*="large screen only"]:not(.tablet),
    [class*="widescreen only"]:not(.tablet),
    [class*="or lower hidden"]:not(.mobile) {
        display: none !important;
    }
    .ui.steps .step{
        padding: 1.5% !important;
    }

}

/* Computer / Desktop / iPad Landscape */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    [class*="mobile only"]:not(.computer),
    [class*="tablet only"]:not(.computer),
    [class*="computer hidden"],
    [class*="large screen only"]:not(.computer),
    [class*="widescreen only"]:not(.computer),
    [class*="or lower hidden"]:not(.tablet):not(.mobile) {
        display: none !important;
    }
    .ui.steps .step{
        padding: 1.5% !important;
    }
}

/* Large Monitor */
@media only screen and (min-width: 1200px) and (max-width: 1919px) {
    [class*="mobile only"]:not([class*="large screen"]),
    [class*="tablet only"]:not([class*="large screen"]),
    [class*="computer only"]:not([class*="large screen"]),
    [class*="large screen hidden"],
    [class*="widescreen only"]:not([class*="large screen"]),
    [class*="or lower hidden"]:not(.computer):not(.tablet):not(.mobile) {
        display: none !important;
    }
}

/* Widescreen Monitor */
@media only screen and (min-width: 1920px) {
    [class*="mobile only"]:not([class*="widescreen"]),
    [class*="tablet only"]:not([class*="widescreen"]),
    [class*="computer only"]:not([class*="widescreen"]),
    [class*="large screen only"]:not([class*="widescreen"]),
    [class*="widescreen hidden"],
    [class*="widescreen or lower hidden"] {
        display: none !important;
    }
}


