/** Footer fix */
body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

.page-footer {
    padding-top: 0px !important;
}

/** Header fix */
.nav {
    background-color: transparent !important;
}

/** Parallax fix */
@media only screen and (min-width: 1600px) {
    .parallax-container img {
        width: 100%;
        height: auto;
    }
}

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

    .parallax-container img {
        height: 500px;
        width: auto;
    }
}

/** Right menu mobile fix */

@media only screen and (max-width: 993px) {
    .brand-logo {
        font-size: 1.1rem !important;
    }

    .desktop-only {
        display: none !important;
    }
}

nav a.sidenav-icon {
    display: inherit !important;
}

/** Side nav fix */
@media only screen and (min-width: 993px) {
    /* nav a.sidenav-trigger {
        display: inherit !important;
    } */
    .mobile-only {
        display: none !important;
    }
}

.sidenav {
    padding-bottom: 100px;
}

/** Sortable fix */
.sortable-handle {
    vertical-align: top;
    vertical-align: -webkit-baseline-middle;
    vertical-align: -moz-middle-with-baseline;
}

/** Datepicker fix */
.datepicker-controls .select-month input {
    width: 100px !important;
}

/** Table sorter fix for Materialize Theme */
.tablesorter-materialize thead .sorter-false {
    background-image: none !important;
    cursor: default !important;
    padding: 4px !important;
}

.tablesorter thead .disabled {
    display: none
}

/** Ribbon */
.ribbon {
    position: absolute;
    right: -5px;
    top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 75px;
    height: 75px;
    text-align: right;
}

.ribbon span {
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    width: 100px;
    display: block;
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 19px;
    right: -21px;
}

.ribbon span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    z-index: -1;
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
}

.ribbon span::after {
    content: "";
    position: absolute;
    right: 0;
    top: 100%;
    z-index: -1;
    border-left: 3px solid transparent;
    border-bottom: 3px solid transparent;
}

.ribbon-free span {
    color: #FFF;
    background: #79A70A;
    background: linear-gradient(#05EFF7 0%, #087F8F 100%);
}

.ribbon-free span::before {
    border-left: 3px solid #087F8F;
    border-top: 3px solid #087F8F;
}

.ribbon-free span::after {
    border-right: 3px solid #087F8F;
    border-top: 3px solid #087F8F;
}

.ribbon-paid span {
    color: #FFF;
    background: #79A70A;
    background: linear-gradient(#9BC90D 0%, #79A70A 100%);
}

.ribbon-paid span::before {
    border-left: 3px solid #79A70A;
    border-top: 3px solid #79A70A;
}

.ribbon-paid span::after {
    border-right: 3px solid #79A70A;
    border-top: 3px solid #79A70A;
}

.file-field input.file-path {
    width: 75% !important;
}

.gssurvey-thumbnail {
    width: 150px;
}

/* FRONTEND STUFF */
.flex {
    display: flex !important;
    flex-wrap: wrap;
}

.card-color {
    background-color: #167696;
}

.card-color-taken {
    background-color: green;
}

/* BOOTSTRAP FIX */
@media only screen and (min-width: 0) {
    html {
        font-size: 14px !important;
    }
}

@media only screen and (min-width: 992px) {
    html {
        font-size: 14.5px !important;
    }
}

@media only screen and (min-width: 1200px) {
    html {
        font-size: 15px !important;
    }
}

.btn {
    padding: 0 16px !important;
    line-height: 36px !important;
    border: none !important;
    border-radius: 2px !important;
}

/* DEVEXTREME FIX */
.dx-texteditor-container input {
    height: auto !important;
    box-sizing: inherit !important;
    margin: 0 !important;
    border-bottom: none !important;
}

.dx-searchbox .dx-texteditor-input,
.dx-searchbox .dx-placeholder:before {
    padding-left: 34px !important;
}

.question_wrapper p {
    /* display: inline !important; */
    font-size: 16px !important;
    font-weight: 300 !important;
}

.question_wrapper td {
    border: 1px solid gray !important;
}

.question_wrapper .question_number {
    background: lightgreen;
    padding: 5px;
    border: 2px solid green;
    text-align: center;
    display: inline-block;
    min-width: 30px;
    color: green;
    font-weight: bold !important;
    font-size: 24px !important;
}

.question_wrapper .question_number_wrong {
    background: lightcoral;
    border: 2px solid red;
    color: red;
}

#form-questions .row {
    margin-bottom: 0 !important;
}

#form-questions .card .card-content {
    padding: 16px !important;
}

#form-questions .input-field {
    margin-bottom: 0 !important;
}

.sta {
    background-color: #167696 !important;
}

/** Footer **/
.page-footer li {
    display: inline-block;
    margin-right: 20px;
}

/** Dropdown fix **/
.dropdown-content {
    min-width: 300px !important;
}

/** Static pages **/

.slide_content {
    padding: 90px 20px 90px 20px;
    width: 20%;
    background-color: rgba(76, 100, 135, 0.8);
    position: absolute;
    left: 20%;
    color: white;
    height: 100%;
}

.bx_info img {
    width: 150px;
}

.bx_info h3 {
    color: #008cae;
}

.bx_right {
    background-color: #e0e7f2;
    padding: 4% !important;
}

.bx_right a, .bx_right a:hover {
    background-color: #c7d42d;
    color: white;
    font-weight: bold;
}

.bx_right a:hover {
    color: #008cae;
}

.what_is_it h3 {
    text-transform: uppercase;
}

.static img {
    width: 100%;
}

.static-row {
    display: flex;
    flex-direction: row;
}

@media only screen and (max-width: 1600px) {
    .slide_content {
        min-width: 321px;
    }
}

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

    .static-row {
        flex-direction: column !important;
    }

    .slide_content {
        padding: 10px 5px 10px 5px !important;
        left: 0 !important;
        width: 100% !important;
    }

    h1 {
        font-size: 24px;
    }
}

.bulleted-lists ul:not(.dropdown-content):not(.ui-sortable) {
    padding-inline-start: 40px;
}

.bulleted-lists ul:not(.dropdown-content):not(.ui-sortable) > li {
    list-style-type: square !important;
}

.dx-datagrid-table td > h1, .dx-datagrid-table td > h2, .dx-datagrid-table td > h3 {
    font-size: inherit !important;
}

.alert .card-content span {
    font-weight: bold;
    font-size: 1.1em;
    margin-right:4px;
}

.alert .card-content .material-icons {
    font-size: 1.5em;
    position: relative;
    top: 5px;
    margin-right: 0.5em;
}
