#desc-layout {
    margin: 40px 0px;
}

#wordsList span {
    cursor: pointer;
}
html{height: 100%;}
body{
    height: 100%;
    padding-top: 70px;
    padding-bottom: 70px;
    font-family: 'Open Sans',Arial,Helvetica,sans-serif;
    background: url("/img/background/small.jpg") center left no-repeat;
    background-size: cover;
}

header{
    height: 60px;
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
    -moz-box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
    box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
    background-color: white;
}
.container{
    padding-right: 2rem;
    padding-left: 2rem;
    height: 100%;
}
body .container > div:first-child{padding-bottom: 40px;}
footer{
    height: 40px;
    font-size: 0.8rem;
    background-color: white;
}
footer p{line-height: 40px;}

/*Loader*/
.loader{
    padding-top: 60px;
}
/*Aristea backgrounds*/
.bg-light-aristea {
    background-color: #e5e6e6!important;
}
/*Aristea borders*/
.border-light-aristea {
    border-color: #e5e6e6!important;
}
/*Tests page*/
#load-data table{
    margin-bottom: 0;
}
/*Aristea Box shadow*/
.shadow-aristea{
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
    -moz-box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
    box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
}


/*Test page*/
.test-navigation .col-md-6,.test-navigation .col-sm-6,.test-navigation .col-lg-6{padding: 0;}
button.test-navigation-btn{
    width: 100%;
    cursor: pointer;
    font-size: 2em;
    height: 100%;
}

.prev-question{
    border-top-left-radius: 10px;
}
.submit-test,
.next-question{
    border-top-right-radius: 10px;
}
.prev-question-down{
    border-bottom-left-radius: 10px;
}
.next-question-down, .submit-test-down{
    border-bottom-right-radius: 10px;
}
.submit-test:hover,
.submit-test-down:hover,
.prev-question:hover,
.prev-question-down:hover,
.next-question:hover,
.next-question-down:hover {
    background-color: #66D8F9;
    transition: all 0.5s;
    box-shadow: 0px 6px 15px #0000ff61;
}

.test{
    height: 97%;
    display: flex;
    flex-direction: column;
}
.test-navigation{flex: 0.5;}
.test-content {
    padding: 20px;
    flex: 9;
    overflow-y: scroll;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    border-top-left-radius:10px;
    border-top-right-radius:10px;
}
.test-content > .col-lg-12:nth-child(1){
    padding: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
.test-content::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera*/
}

.test button[disabled="disabled"]{
    opacity: .65;
}
.test button[disabled="disabled"] i{
    display: none;
}
.test button[disabled="disabled"]:hover{
    background-color:  #4fb4d7;
    transition: none;
    box-shadow: none;
    cursor: default;
}
.test .question h3 span{
    cursor: pointer;
}
.test .question{
    height: 100%;
    width: 100%;
    display: inline-block;
    white-space:normal;
}
.test .question .answer{
    text-align: left !important;
}
.test .submit-test i
,.test .submit-test-down i {
    margin-right: 20px;
}
.test .submit-test
,.test .submit-test-down{
    font-size: 1.5em;
}
.test h3 span.active{
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: antiquewhite;
}

.test h3 span.missing-answer{
    border-bottom: 2px dashed red;
}
/*Solved test page*/
#test-summary{
    margin-right: 0 !important;
    margin-left: 0 !important;
}
#solved-test .question.row{
    margin-bottom: 20px;
}
#solved-test .question p:first-child{
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 0;
    margin-top: 15px;
}
#solved-test .question p:first-child .badge,
#solved-test #test-summary .badge
{
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

#solved-test h3 > span{
    display: inline-block;
    position: relative;
    text-align: center;
}
#solved-test h3 > span > span{
    font-size: 1.2rem;
    position: relative;
}
#solved-test h3 > span > span:nth-child(1){
    top:0.7em;
}
#solved-test h3 > span > span:nth-child(2){
    bottom:-0.5em;
}

#solved-test h3 > span > span.correct{
    top:0;
    font-size: 1.75rem;
}

/*Alerts*/
.alert{
    position: absolute;
    bottom:40px;
    left:0;
    max-width: 400px;
    padding-top: 2rem;
    padding-bottom: 2rem;
    -webkit-animation: fadein .15s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein .15s; /* Firefox < 16 */
    -ms-animation: fadein .15s; /* Internet Explorer */
    -o-animation: fadein .15s; /* Opera < 12.1 */
    animation: fadein .15s;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/*element for empty result*/
div.empty{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;

    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
}
div.empty img{
    width: 100px;
    margin: 0 auto 15px auto;
}
div.empty p{
    font-size: 2rem;
    color: #444;
}
/*Site menu*/
header .navbar {
    padding-top: 0;
    padding-bottom: 0;
    height: 100%;
}

header .navbar .nav-item .nav-link{
    padding: 0.5rem 1rem;
    margin: 12px 0;
    text-align: center;
    color: #444;
    text-transform: uppercase;
    font-size: 0.8rem;
}
header .navbar .nav-item:not(:last-child):hover{
    background-color: #00aeef;
}
header .navbar .nav-item:hover .nav-link{
    color: #fff;
}
header .navbar .nav-item.active .nav-link{
    border-bottom: 2px solid #00aeef;
}
/*Logo*/
.navbar-brand{
    font-family: 'Times New Roman', serif;
    text-transform: uppercase;
    color: #004a8f !important;
    line-height: 60px;
    font-size: 2rem;
}
/*Profile link in menu*/
#navbarNav .nav-item .nav-link a:first-child{
    color: #00aeef;
    margin-right: 5px;
}
/*Exit link in menu*/
#navbarNav .nav-item .nav-link a:last-child{
    color: #00aeef;
}
#navbarNav .nav-item .nav-link a:last-child:hover{
    color: #028abd;
}

/*Search in menu*/
#navbarNav button{
    color: #00aeef;
    /*border-color: #fff;*/
    background-color: #fff;
    border-top: 1px solid #ced4da;
    border-right: 1px solid #ced4da;
    border-bottom: 1px solid #ced4da;
}
#navbarNav button:hover{
    background-color: #00aeef;
    color: #fff;
}
/*--Colapsed menu*/
#navbarNav.navbar-collapse.show{
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
    -moz-box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
    box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
}
#navbarNav.navbar-collapse.show .nav-item .nav-link{
    text-align: left;
}
#navbarNav.navbar-collapse.show .nav-item.active .nav-link{
    border-left: 4px solid #00aeef;
    border-bottom: none;
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
    -moz-box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
    box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
}

.navbar-toggler{margin-bottom: 5px;}
.navbar-toggler:focus{
    outline: 0 !important;
    box-shadow: none !important;
}

#navbarNav input.form-control {
    border-right: none;
}

/*Links*/
.nav-link, table a{color: #ff6600;}
.nav-link:hover, table a:hover{color: #ff6600;}
header nav.navbar span.nav-link a {
    text-decoration: none;
}
.aristea-link{
    color: #ff6600;
}

#wordsList .badge {
    padding: 8px 10px;
    font-size: 16px;
    margin-bottom: 8px;
    background-color: #0d6efd;
}

#wordsList .badge.active {
    background-color: #064bb1;
}

/*Tabs*/
.aristea-tabs{
    border: none;
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
    -moz-box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
    box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
    padding: 5px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.aristea-tabs .nav-link{
    border: none;
    color: #fff;
}
.aristea-tabs .nav-link.active{
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 0.25rem;
    color: #fff;
}

/** pagination */
ul.pagination {}
ul.pagination li a { color: #ff6600 ; }
ul.pagination li a:hover { color: #fff; background-color: #ff6600; }

/*------------------------------------------------------------------
Question fix gab between divs in .test because of nowrap options by reset font-size to 0 for .test and then setting font size for elements inside
----------------------------------------------------------------------*/
.fs-0 {
    font-size: 0;
}
.test .question .alert-danger{
    font-size: 1rem;
}
.test .question .title p{
    font-size: 1rem;
}
.test .question .answer .form-check span,
.test .question .answer .form-check input{
    font-size: 1rem;
}
.test .question .answer .form-check input{
    margin-left: 0;
}
.test .question .answer .form-check span{
    padding-left: 0.5rem;
}


@media only screen and (max-width: 768px) {
    #solved-test #test-summary{text-align: center}
    #solved-test #test-summary .col-sm-12{
        border-bottom: 0 !important;
    }
    .mt-sm-3 {
        margin-top: 1rem!important;
    }
}


@media only screen and (max-width: 600px) {
    #solved-test #test-summary div:first-child .badge:first-child{
        width: 100%;
    }
    .mb-sm-5 {
        margin-bottom: 3rem!important;
    }
    .px-sm-3{
        padding-right: 1rem!important;
        padding-left: 1rem!important;
    }
    /*Test list page*/
    #load-data{overflow-x: scroll;}
}

/*Scrollbar style*/
body {
  scrollbar-width: thin;          /* "auto" or "thin" */
  scrollbar-color: #0d6efd #fff;   /* scroll thumb and track */
}

::-webkit-scrollbar {
  width: 12px;               /* width of the entire scrollbar */
}

::-webkit-scrollbar-thumb {
  background-color: #0d6efd;    /* color of the scroll thumb */
  border-radius: 20px;       /* roundness of the scroll thumb */
  border: 4px solid #fff;  /*padding in track area */
}

