* {
    padding: 0;
    margin: 0;
}

html,
body {
    height: 100%;
    width: 100%;
}


/* header public header */

header {
    position: fixed;
    background: #fff;
    top: 0;
    width: 100%;
    box-shadow: 0 0 6px #cecece;
    border-bottom: 1px solid #cecece;
    height: 64px;
    z-index: 1;
}

header nav img {
    height: 64px;
    margin-bottom: 1px;
    margin-left: 24px;
}

header div {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
    height: 64px;
    width: auto;
}

header span {
    font-size: 35px;
    font-weight: bold;
    font-style: normal;
    color: black;
    -webkit-text-fill-color: white;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
}

header nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

header nav h3 {
    margin-right: 50px;
    letter-spacing: 1px;
    font-style: italic;
}


/* Login page */

.login-page-background {
    background-image: url('../images/login-page-background.jpg');
    position: fixed;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    top: 0;
}

main.login-page-main {
    margin-top: 64px;
}

.login-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
}

.login-page-information {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 0 2px #fff;
}

.login-page-grid>div {
    padding: 36px;
}

.login-page-information h2 {
    color: #797979;
    text-decoration: underline;
}

.form-group {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.form-group input {
    padding: 10px;
    box-shadow: 0 0 2px #efefef;
    border: 1px solid #efefef;
    border-radius: 6px;
    font-size: 16px;
    outline: 0;
    background: transparent;
}

.form-group select {
    padding: 10px;
    box-shadow: 0 0 2px #efefef;
    border: 1px solid #efefef;
    border-radius: 6px;
    font-size: 16px;
    outline: 0;
    background: transparent;
}

.form-group label {
    font-size: 18px;
    letter-spacing: 1px;
    color: #bb7a7a;
}

.form-group.login-page-btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

button.login-page-login-btn {
    padding: 10px;
    font-size: 18px;
    letter-spacing: 1px;
    border: 0;
    box-shadow: 0 0 2px #000;
    cursor: pointer;
    background: blue;
    color: #fff;
}

a.login-page-forgot-password {
    padding: 10px;
    font-size: 18px;
    letter-spacing: 1px;
    border: 0;
    box-shadow: 0 0 2px #000;
    cursor: pointer;
    text-align: center;
    background: red;
    color: blue;
    text-decoration: none;
}

.error-msg {
    padding: 10px;
    box-shadow: 0 0 2px red;
    border-radius: 4px;
    color: red;
    background: #ffe8e8;
    margin: 5px 15px;
}


/* register */

.register-page-background {
    background-image: url('../images/register-page-background.svg');
    position: fixed;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    top: 0;
}

.register-page-information {
    width: 70%;
    margin: 100px auto;
    margin-bottom: 0;
}

.form-group.division {
    background: grey;
    padding: 10px;
    margin: 5px;
    font-size: 18px;
    border-radius: 4px;
    color: #fff;
    font-weight: bold;
    font-style: italic;
    letter-spacing: 1px;
}

button.register-page-register-btn {
    padding: 10px 25px;
    font-size: 18px;
    letter-spacing: 1px;
    border: 0;
    box-shadow: 0 0 2px #000;
    cursor: pointer;
    background: blue;
    color: #fff;
}


/* register success */

h1.register-success-success-msg {
    display: flex;
    align-items: center;
    padding: 5px;
    border: 1px solid green;
    border-radius: 4px;
    background: #00c500;
    color: #fff;
    box-shadow: 0 0 2px #000;
    margin: 6px;
    margin-bottom: 15px;
}

h1.register-success-success-msg img {
    height: 60px;
    margin-right: 15px;
    border-radius: 100%;
}


/* dashboard page */

.dashboard-background {
    background-image: url('../images/dashboard-background.svg');
    position: fixed;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    top: 0;
}

nav ul {
    list-style-type: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #000;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: capitalize;
}

nav ul li a:hover {
    color: #6b6b6b;
    text-decoration: underline;
}

.page-container {
    width: 80%;
    margin: 20px auto;
}

.column {
    flex-basis: 100%;
    padding: 10px;
}

.row {
    display: flex;
}

.card {
    height: 240px;
    border: 1px solid #b5b5b5;
    overflow: hidden;
    border-radius: 10px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.card.start-exam {
    height: 400px;
}

.card img {
    height: 240px;
    width: 100%;
    transform: scale(1);
    object-fit: cover;
    object-position: center center;
    transition: all 0.3s ease-in-out 0.0s;
}

.card.start-exam img {
    height: 400px;
}

.card.hover:hover img {
    transform: scale(1.2) rotate(-2deg)
}

.card .text {
    font-size: 20px;
    position: absolute;
    text-align: center;
    line-height: 1;
    background: rgba(0, 0, 0, 1);
    padding: 20px;
    border-radius: 4px;
    color: #fff;
}

.card .text div:last-child {
    line-height: 2;
}

div.card a {
    font-size: 20px;
    padding: 15px;
    border: 1px solid blue;
    border-radius: 5px;
    font-family: sans-serif;
    color: lightslategrey;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    background: sky;
    position: absolute;
    background: #000;
    color: #fff;
    cursor: pointer;
}

.card.start-exam a {
    right: 20px;
    bottom: 20px;
    background: green;
    padding: 15px 30px;
    border-radius: 10px;
}

.classifications {
    margin-top: 50px;
}

.classifications div:first-child {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: blue;
    font-style: italic;
    font-family: monospace;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 5fr;
}

.dashboard-grid>div {
    padding: 10px;
}

img.iit-logo {
    width: 100%;
    margin-top: 10px;
    border-radius: 10px;
}

.dashboard-grid li {
    margin: 10px auto;
    list-style-type: none;
    background: #fff;
    padding: 10px;
    color: #000;
    border-radius: 4px;
    box-shadow: 0 0 2px #000;
}

.dashboard-grid a {
    color: blue;
    /* box-shadow: 0 0 2px #fff; */
    width: auto;
    padding: 4px 0;
    margin: 5px;
    text-decoration: none;
    /* width: 100%; */
}


/* profile */

.my-profile {
    font-size: 20px;
    background: #e0e0e0;
    padding: 10px 20px;
    margin-bottom: 10px;
    border-radius: 2px;
    box-shadow: 0px 0px 2px #000;
    margin-top: 10px;
}


/* Results */

.main-result-container {
    width: 75%;
    margin: auto;
    padding: 50px 20px;
}

.main-result-title {
    font-size: 20px;
    background: #e0e0e0;
    padding: 10px 20px;
    margin-bottom: 10px;
    border-radius: 2px;
    box-shadow: 0px 0px 2px #000;
    display: flex;
}

.main-result-title div:nth-child(1) {
    flex: 1;
}

.main-result-title div:nth-child(2) {
    color: #705f00;
}

.main-no-result {
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    letter-spacing: 1px;
    color: red;
    background: #f5eeee;
    margin-bottom: 10px;
    border: 1px solid red;
    border-radius: 4px;
}

.main-result-pie-chart {
    box-shadow: 0px 0px 2px #b7b7b7;
    border-radius: 2px;
    padding: 20px 10px;
    margin-bottom: 20px;
    position: relative;
}

.result-table {
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.result-table table {
    border: 1px solid #000;
    border-collapse: collapse;
}

.result-table th {
    text-align: left;
    padding: 5px 10px;
}

.result-table td {
    text-align: right;
    padding: 5px 10px;
}

.main-result-pie-chart h1 {
    text-align: center;
    color: darkgray;
    letter-spacing: 1px;
}

.row {
    display: flex;
}

.column {
    flex-basis: 100%;
}

.text-center {
    text-align: center;
}

.column .view:hover {
    text-decoration: underline;
    color: black;
}

.column .view {
    text-decoration: none;
    color: darkgoldenrod;
}

.row.result {
    background: whitesmoke;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: 0px 0px 1px #c1c1c1;
    margin-bottom: 10px;
    font-size: 14px;
}

.row.result-heading {
    padding: 10px;
    background: blanchedalmond;
    margin-bottom: 10px;
    font-weight: 600;
    color: #9a4a4a;
    margin-top: 20px;
}

.chart-data {
    display: none;
}

#total_questions {
    display: flex;
    justify-content: center;
    align-items: center;
}

#total_questions span {
    background-color: #000;
    color: #fff;
    padding: 5px 20px;
    border-radius: 2px;
    margin-top: 10px;
    letter-spacing: 1px;
}

.questions-data {
    display: none;
}

div#questions {
    max-width: 80%;
}

.question-container-header {
    display: flex;
    font-size: 20px;
    background: whitesmoke;
    padding: 10px;
    border-bottom: 1px solid #000;
    margin-bottom: 10px;
}

.correctly-answered {
    text-align: center;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.correctly-answered span {
    background: green;
    border: 1px solid #000;
    color: #fff;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 2px;
    line-height: 32px;
}

.wrongly-answered {
    text-align: center;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.wrongly-answered span {
    background: red;
    border: 1px solid #000;
    color: #fff;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 2px;
    line-height: 32px;
}

.not-attempted {
    text-align: center;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.not-attempted span {
    background: #673AB7;
    border: 1px solid #000;
    color: #fff;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 2px;
    line-height: 32px;
}

.display-option-container {
    width: 100%;
    margin: 10px 20px;
    display: flex;
}

.option-container {
    flex-basis: 100%;
}

.display-option {
    margin: 2px;
    display: flex;
    justify-content: flex-start;
    padding: 8px;
    align-items: center;
    line-height: 1;
    border-radius: 2px;
    background: #eeeeee;
}

.display-option.green {
    background-color: #03ea03;
    width: 48%;
}

.display-option.red {
    background-color: #ff0707;
    width: 48%;
}

.hv-wrapper {
    display: flex;
    padding: 50px 0;
    background: #868686;
}

.hv-wrapper .hv-item {
    display: flex;
    flex-direction: column;
    margin: auto;
}

.hv-wrapper .hv-item .hv-item-parent {
    margin-bottom: 50px;
    position: relative;
    display: flex;
    justify-content: center;
}

.hv-wrapper .hv-item .hv-item-parent p {
    font-weight: bold;
    color: #de5454;
}

.hv-wrapper .hv-item .hv-item-parent:after {
    position: absolute;
    content: "";
    width: 2px;
    height: 25px;
    bottom: 0;
    left: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    transform: translateY(100%);
}

.hv-wrapper .hv-item .hv-item-children {
    display: flex;
    justify-content: center;
}

.hv-wrapper .hv-item .hv-item-children .hv-item-child {
    padding: 0 15px;
    position: relative;
}

.hv-wrapper .hv-item .hv-item-children .hv-item-child:only-child:after {
    display: none;
}

.hv-wrapper .hv-item .hv-item-children .hv-item-child:before,
.hv-wrapper .hv-item .hv-item-children .hv-item-child:after {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7);
    left: 0;
}

.hv-wrapper .hv-item .hv-item-children .hv-item-child:before {
    left: 50%;
    top: 0;
    transform: translateY(-100%);
    width: 2px;
    height: 25px;
}

.hv-wrapper .hv-item .hv-item-children .hv-item-child:after {
    top: -25px;
    transform: translateY(-100%);
    height: 2px;
    width: 100%;
}

.hv-wrapper .hv-item .hv-item-children .hv-item-child:first-child:after {
    left: 50%;
    width: 50%;
}

.hv-wrapper .hv-item .hv-item-children .hv-item-child:last-child:after {
    width: calc(50% + 1px);
}

.hv-wrapper.reverse .hv-item {
    flex-direction: column-reverse;
}

.hv-wrapper.reverse .hv-item .hv-item-parent {
    margin-top: 50px;
    margin-bottom: 0;
}

.hv-wrapper.reverse .hv-item .hv-item-parent:after {
    top: 0;
    transform: translateY(-100%);
}

.hv-wrapper.reverse .hv-item .hv-item-child {
    display: flex;
    align-items: flex-end;
}

.hv-wrapper.reverse .hv-item .hv-item-child:before {
    top: auto;
    bottom: 0;
    transform: translateY(100%);
}

.hv-wrapper.reverse .hv-item .hv-item-child:after {
    top: auto;
    bottom: -25px;
    transform: translateY(100%);
}

.tree-node {
    background: #fff;
    padding: 10px;
    box-shadow: 0px 0px 5px #888;
    border-radius: 4px;
    width: max-content;
    cursor: pointer;
}

.tree-label {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.tree-details {
    font-size: 12px;
    text-align: center;
}

.tree-container {
    overflow: auto;
}

.tree-container-body {
    display: none;
    overflow: auto;
}

div#conceptTree {
    max-width: 100%;
}

.concept-tree-data {
    display: none;
}

#concept-tree-container {
    background-color: gray;
}

.only-mobile {
    display: none;
}


/* common */

label.error {
    color: red;
    font-size: 14px;
    letter-spacing: 1px;
}


/* footer */

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    margin: 15px 0;
    flex-direction: column;
}

footer a {
    color: #fff;
    letter-spacing: 1px;
    margin: 10px;
}

footer div {
    margin-top: 15px;
}

.blink-image {
    -moz-animation: blink normal 2s infinite ease-in-out; /* Firefox */
    -webkit-animation: blink normal 2s infinite ease-in-out; /* Webkit */
    -ms-animation: blink normal 2s infinite ease-in-out; /* IE */
    animation: blink normal 2s infinite ease-in-out; /* Opera and prob css3 final iteration */
}
 
@-moz-keyframes blink {
    0% {
        opacity:1;
    }
    50% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
} 
 
@-webkit-keyframes blink {
    0% {
        opacity:1;
    }
    50% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
}
/* IE */
@-ms-keyframes blink {
    0% {
        opacity:1;
    }
    50% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
} 
/* Opera and prob css3 final iteration */
@keyframes blink {
    0% {
        opacity:1;
    }
    50% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
} 