/*************************************************************************/
/*                                                                       */
/*                                LOADER                                 */
/*                                                                       */
/*************************************************************************/

.no-js #loader { display: none;  }
.js #loader { display: block; position: absolute; left: 100px; top: 0; }
.se-pre-con {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url("../img/Preloader_2.gif") center no-repeat #fff;
}


/*************************************************************************/
/*                                                                       */
/*                               GENERAL                                 */
/*                                                                       */
/*************************************************************************/

.small-text {
    font-size: 0.95em;
}

.tab {
    display:inline-block;
    margin-left: 20px;
}

.text-underline {
    text-decoration: underline;
}

.separator {
    width: inherit;
    height: 1px;
    background: #ecf0f1;
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    padding-bottom: 16px;
}

@media screen and (max-width: 1140px) {
    .col-6, .col-9 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 91.6666666667%;
        flex: 0 0 91.6666666667%;
        max-width: 91.6666666667%;
    }
}

.btn-space {
    margin-left: 15px;
}

.asterisk-field {
    color: orangered;
    font-weight: bold;
}

@media screen and (max-width: 990px){
    .space-first-card {
        margin-top: 40px !important;
    }
}

.space-first-card {
    margin-top: 90px !important;
}

.card {
    float: none;
    margin: 0 auto 10px;
}

.invisible {
    display: none !important;
}

th[data-sort] {
    cursor: pointer;
}

.text-title {
    text-align: center;
    font-size: x-large;
    margin-top: 30px;
}

.table-100-percent-width {
    width: 100%;
}

.wrongValue {
    border: 2px double Red !important;
}

html, body {
    height: 100%;
}

.wrap {
    height: auto;
    margin: 30px auto -80px; /* footer height + space */
    min-height: 100%;
    padding: 0 0 80px; /* footer height + space */
    box-sizing: border-box;
    overflow: hidden;
    background: #f7f9fb;
}

.footer {
    background-color: #111111;
    color: #eeeeee;
    border-top: 1px solid red;
    height: 60px; /* footer height */
    padding-top: 20px;
    display: block;
    margin-top: 20px; /* space between content and footer */
    box-sizing: border-box;
    position: relative;
    width: 100%;
}


/*************************************************************************/
/*                                                                       */
/*                                NAVBAR                                 */
/*                                                                       */
/*************************************************************************/

#page-title {
    color: white;
    margin-top: 15px;
}

@media screen and (max-width: 1170px) {
    #logo-aa {
        display: none !important;
    }
}

#logo-aa {
    display: block;
    margin-left: auto;
    margin-right: 20px;
    /*width: 2%;*/
    width: 50px;
}

@media screen and (max-width: 1521px) {
    #button-group-navbar {
        display: none !important;
    }
    #button-group-navbar-table {
        display: inherit !important;
    }
}

@media screen and (min-width: 1521px) {
    #button-group-navbar {
        display: inherit !important;
    }
    #button-group-navbar-table {
        display: none !important;
    }
}

@media screen and (min-width: 1170px) {
    #container-navbar-button-right {
        position: absolute;
        right: 20px;
    }
}

#navbar-project-name {
    display: inline-block;
    padding-top: 0.32421875rem;
    padding-bottom: 0.32421875rem;
    margin-right: 1rem;
    font-size: 1rem;
    line-height: inherit;
    white-space: nowrap;
    color: white;
}

.active {
    color: #18BC9C !important;
}

@media (max-width: 1169.98px) {
    .navbar-expand-custom > .container,
    .navbar-expand-custom > .container-fluid {
        padding-right: 0;
        padding-left: 0;
    }
}

@media (min-width: 1170px) {
    .navbar-expand-custom {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row nowrap;
        flex-flow: row nowrap;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
    .navbar-expand-custom .navbar-nav {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }
    .navbar-expand-custom .navbar-nav .dropdown-menu {
        position: absolute;
    }
    .navbar-expand-custom .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
    .navbar-expand-custom > .container,
    .navbar-expand-custom > .container-fluid {
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }
    .navbar-expand-custom .navbar-collapse {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
    }
    .navbar-expand-custom .navbar-toggler {
        display: none;
    }
}


/*************************************************************************/
/*                                                                       */
/*                             PROJECT PAGE                              */
/*                                                                       */
/*************************************************************************/

#result-change-to-d {
    background: none;
    border: none;
}

#result-change-to-d:hover {
    cursor: pointer;
}

#result-change-to-t {
    background: none;
    border: none;
}

#result-change-to-t:hover {
    cursor: pointer;
}

.result-change-active {
    color: lightgray;
}

.konva-responsive {
    height: 100%;
    width: 100%;
    overflow: auto;
}

.button-export-card-export {
    position: absolute;
    right: 0px;
    top: 30px;
}

@media screen and (max-width: 550px){
    .button-export-card-export {
        position: absolute;
        right: -20px;
        top: 10px;
    }
}

.button-export-card-results {
    position: absolute;
    right: 30px;
    top: 30px;
}

@media screen and (max-width: 550px){
    .button-export-card-results {
        position: absolute;
        right: 10px;
        top: 10px;
    }
}

.button-export-card-details {
    position: absolute;
    right: 10px;
    top: 30px;
}

@media screen and (max-width: 550px){
    .button-export-card-details {
        position: absolute;
        right: -29px;
        top: 1px;
    }
}

@media screen and (min-width: 1300px){
    #button-group-export-marks-mobile {
        display: none !important;
    }
}

@media screen and (max-width: 1300px){
    #button-group-export-marks {
        display: none !important;
    }
}

.result-title {
    padding-top: 10px;
}

.header-fixed-solution {
    width: 100%
}

.header-fixed-solution > thead,
.header-fixed-solution > tbody,
.header-fixed-solution > thead > tr,
.header-fixed-solution > tbody > tr,
.header-fixed-solution > thead > tr > th,
.header-fixed-solution > tbody > tr > td {
    display: block;
}

.header-fixed-solution > tbody > tr:after,
.header-fixed-solution > thead > tr:after {
    content: ' ';
    display: block;
    visibility: hidden;
    clear: both;
}

.header-fixed-solution > tbody > tr:hover {
    background-color: lightgray;
}

.header-calculation-text {
    width: 45%;
    float: left;
}

@media screen and (max-width: 1140px) {
    .header-calculation-text {
        width: 33%;
        float: left;
    }
}

.header-calculation-button {
    width: 10%;
    float: left;
}

@media screen and (max-width: 1140px) {
    .header-calculation-button {
        width: 33%;
        float: left;
    }
}

.cell-info {
    background-color: #3498DB !important;
    color: white !important;
    font-size: 15px;
    font-weight: 700;
}

.table-hover .cell-info:hover {
    background-color: #258cd1 !important;
    color: white !important;
    font-size: 15px;
    font-weight: 700;
}

@media screen and (max-width: 514px) {
    #container-option-modal-mobile {
        display: inline-block;
    }
    #container-option-modal-desktop {
        display: none !important;
    }
}

@media screen and (min-width: 515px) {
    #container-option-modal-mobile {
        display: none !important;
    }
    #container-option-modal-desktop {
        display: inline-block;
    }
}

@media screen and (max-width: 465px) {
    #container-admin-account-mobile {
        display: inline-block;
    }

    #container-admin-account-desktop {
        display: none !important;
    }
}

@media screen and (min-width: 466px) {
    #container-admin-account-mobile {
        display: none; !important;
    }

    #container-admin-account-desktop {
        display: inline-block;
    }

    #button-admin-account-delete {
        position: absolute !important;
        left: 30px;
    }
}

/*************************************************************************/
/*                                                                       */
/*                             ANALYSE PAGE                              */
/*                                                                       */
/*************************************************************************/

#button-align-analyse-projects {
    text-align: center;
    padding-top: 20px;
}


/*************************************************************************/
/*                                                                       */
/*                              ADMIN PAGE                               */
/*                                                                       */
/*************************************************************************/

#button-align-admin {
    text-align: center;
    padding-top: 20px;
}

#tableAccount {
    margin-top: 10px;
}


/*************************************************************************/
/*                                                                       */
/*                          ADMIN ACCOUNT PAGE                           */
/*                                                                       */
/*************************************************************************/

.card-admin-account {
    padding: 10px 10px 10px 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}


/*************************************************************************/
/*                                                                       */
/*                              ANIMATIONS                               */
/*                                                                       */
/*************************************************************************/

.shake {
    -webkit-animation-name: shake;
    animation-name: shake;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes shake {
    0%, 100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    10%, 30%, 50%, 70%, 90% {
        -webkit-transform: translate3d(-10px, 0, 0);
        transform: translate3d(-10px, 0, 0);
    }
    20%, 40%, 60%, 80% {
        -webkit-transform: translate3d(10px, 0, 0);
        transform: translate3d(10px, 0, 0);
    }
}

@keyframes shake {
    0%, 100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    10%, 30%, 50%, 70%, 90% {
        -webkit-transform: translate3d(-10px, 0, 0);
        transform: translate3d(-10px, 0, 0);
    }
    20%, 40%, 60%, 80% {
        -webkit-transform: translate3d(10px, 0, 0);
        transform: translate3d(10px, 0, 0);
    }
}

.fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/*************************************************************************/
/*                                                                       */
/*                             SWITCH BUTTON                             */
/*                                                                       */
/*************************************************************************/

.switch input {
    display: none;
}

.switch {
    display: inline-block;
    width: 60px;
    height: 30px;
    position: relative;
}

.slider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 30px;
    box-shadow: 0 0 0 2px #95a5a6, 0 0 4px #95a5a6;
    cursor: pointer;
    border: 4px solid transparent;
    overflow: hidden;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: #95a5a6;
    border-radius: 30px;
    transform: translateX(-30px);
    transition: .4s;
}

input:checked + .slider:before {
    transform: translateX(30px);
    background: #03BC85;
}

input:checked + .slider {
    box-shadow: 0 0 0 2px #03BC85, 0 0 2px #03BC85;
}
