﻿html {
    height: 100%;
}

body {
    padding-top: 50px;
    height: 100%;
}

#content {
    height: calc(100% - 80px);
    width: 100%;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.rendered-body {
    height: calc(100% - 30px);
    overflow-y: scroll;
}

/* Override the default bootstrap behavior where horizontal description lists
   will truncate terms that are too long to fit in the left column
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.table-input {
    width: 30px;
    text-align: center;
}

.table-item {
    -webkit-appearance: none;
    padding: 2px 5px !important;
}

select.table-item {
    border-color: #f00;
}

.solution {
    float: left;
    margin: 0 30px;
    width: auto;
}

.solution-big {
    width: 50%;
    float: left;
    margin-right: 9%
}

.container.body-content {
    margin: 0px;
    padding: 5px;
}

.solution-big > th, .solution-big > td {
    width: 40px;
}

input[type="text"]:disabled {
    background: #ffffff;
    border: 1px solid rgb(169, 169, 169);
}

th {
    text-align: center;
}

.function-info {
    float: left;
    margin-left: 25px;
    margin-right: 10%;
    padding-top: 5%;
}

.solution-div {
    float: right;
}
.train-container {
    overflow-y: scroll;
    width: 100%;
    height: 100%;
}

.solution-menu {
    display: flex;
    width: 100%;
    justify-content: center;}

.solution-menu.nav li {
    float: none;
}

footer {
    text-align: center;
    background: #222;
    height: 30px;
}

footer p {
    padding: 5px 0px;
    margin: 0px;
    color: #999999;
}

.matrix-g {
    float: left;
    display: none;
}

.train-container > .table tbody > tr > td {
    padding: 2px;
}

.matrix-g > .table tbody > tr > td {
    padding: 4px!important;
    text-align: center;
}

.container.body-content {
    max-width: 100%;
    height: 100%;
}

.navbar {
    height: 30px;
    margin: 0px;
    border-radius: 0px;
}

.mistakes {
    float: right;
    margin-left: 0px;
    width: 130px
}

.ndks-home {
    background: url('/images/wallpaper.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    color: black;
}

.container.body-content {
    padding: 0px;
}
.welcome-text {
    margin: 0px;
    padding: 30px;
    color: rgb(166, 200, 200);
    font-size: 25px;
    width: 40%;
}

.relative {
    position: relative;
}

.absolute,width40 {
    z-index: 2000;
}

.absolute {
    position: absolute;
}

.width100 {
    width: 200px;
    left: -200px;
}

.width40 {
    top: -224px;
    left: 0px;
    width: 39px;
}

.btn-matrix {
    padding: 0px 5px;
    margin: 0px;
    text-decoration: none;
    border-radius: 3px;
}

.btn-matrix:hover {
    background: #428bca;
    color: white;
}

.truth-row {
    cursor: pointer;
}

.fine-alert {
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10;
    position: fixed;
}

.inner-alert {
    margin-right: auto;
    margin-left: auto;
    width: 400px;
    padding: 40px;
    background: #f0f0f0;
    border-radius: 10px;
}

.col-row {
    margin-bottom: 10px;
}

.minimize-history {
    display: none;
    width: 320px;
    border: 1px solid #999;
    float: left;
    padding: 10px;
}

.minimize-history div:hover {
    background: #eee;
    border-radius: 1px;
}

.minimization-header {

}

.undo {
    color: #376DB5;
    font-size: 11px;
    float: right;
    padding: 2px;
    cursor: pointer;
}

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

.slashed:before {
    content:"╱";
    color: black;
    position:relative;
    left: 10px;
  }

.slashed-col:before {
    content:"╱";
    color: black;
    position:relative;
    left: 15px;
  }

.boolean-function {
    display: none;
    width: 250px;
    margin-top: 200px;
}

.boolean-function span {
    display: block;
}

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

.truth-table tr td {
    text-align: center;
}

.navbar-inverse .navbar-nav > li > .admin-button {
    color: #e60000;
}

.search-form {
    padding: 11px 0px;
}
#search-button {
    background-image: url('/images/search-icon.png');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: 50%;
    width: 30px;
    float: left;
    border-radius: 0px 5px 5px 0px;
    background-color: #F6F7F9;
    border: 1px solid grey;
    border-left: none;
    height: 26px;
}

#search-input {
    max-width: 280px;
    float: left;
    height: 26px;
    border: 1px solid grey;
    border-radius: 5px 0px 0px 5px;
    width: 200px;
    padding: 0px 10px;
}
.admin-body {
}

.search-container {
    height: 700px;
}
.search-container h1 {
    text-align: center;
    font-size: 30px;
}

.search-user {
    padding: 10px;
    float: left;
    width: 30%;
    margin-left: 200px;
    border: 1px solid;
    margin-bottom: 30px;
}

.search-user span {
    font-size: 20px;
}

.solution-view {
    margin-top: 20px;
    float: left;
    display: none;
    width: 100%;
}

.solution-view-activator {
    float: left;
    width: 100%;
    padding: 20px;
}

.problem-results-view {
    float: left;
    width: 100%;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.user-solution-view {
    margin-top: 20px;
}

.solution-view .solution {
    float: none;
}

.user-solution-view .solution {
    float: none;
}

.admin-matrix {
    display: block !important;
    float: right;
}

.admin-matrix table tr td input {
    padding: 10px 15px;
    width: 40px;
}

.mistakes-view {
    margin-left: 50px;
}

.user-view h2 {
    text-align: center;
    text-decoration: underline;
    margin-bottom: 30px;
}

.problems {
    padding: 0px 30px;
}

.solution-view .table  {
    float: none!important;
    width: auto;
}

.user-solution-view .table  {
    float: none!important;
    width: auto;
}

.classwork-problem .btn-danger a{
    color: white;
}
.classwork-problem .btn-danger {
    margin-top: 10px;
    width: 140px;
}

.classwork-problem .btn-success {
    color: white;
    margin-top: 10px;
    width: 140px;
}

.classwork-problem {
    display: inline-block;
    width: 48%;
    vertical-align: top;
}

.classwork-wraper {
    padding: 10px 80px;
    height: 100%;
    overflow-y: scroll;
}

.classwork-problem-custom {
    display: inline-block;
    width: 48%;
}

.classwork-problem-custom label{
    width: 150px;
}

.classwork-problem-custom form div {
    margin: 5px 0px;
}

.classwork-problem-custom input[type="text"], .classwork-problem-custom input[type="number"]{
    width: 280px;
}

.problem-heading {
    text-align: center;
    color: #428bca;
    margin: 13px 0px;
}

.problems > div {
    overflow: auto;
}

.function-info .btn-danger{
     margin-top: 10px;
}

.function-info .btn-danger a{
    color: white;
}

.admin-truth-table {
    width: 53%;
    display: inline-block;
}

.admin-matrix-minimized {
    display: inline-block;
    width: 50%;
}

.gMatrix-minimized tr td input{
    padding: 10px 15px;
    width: 40px;
}

.solution-info {
    display: inline-block;
    width: 40%;
}

.student-view-menu li a{
    font-size: 20px;
}

.coursework-info a{
    text-decoration: underline;
}

.already-available {
    text-align: center;
    color: #e60000;
}

.login-container {
    padding-left: 42%;
}

.login-container .row {
    width: 60%;
    padding-top: 20px;
}

form .alert.alert-danger {
    float: left;
    width: 100%;
}


.search-buttonContainer a {
    margin-right: 5px;
}

#loginForm {
    background: rgba(255,255,255,0.8);
    padding: 5px 20px;
    margin-top: 30px;
    overflow: hidden;
}

#loginForm label {
    width: auto;
    display: block;
}

.form-group {
    overflow: hidden;
    float: left;
    width: 100%;
}

#loginForm input[type="text"] {
    width: 100%;
}

#loginForm form div div{
    margin: 0px;
}

.register .row {
    width: 40% !important;
}

.change-password{
    width: 60%;
}
.notifyjs-corner {
    top: 100px !important;
}

.train-container .navbar {
    margin: 40px;
}

.minimization-instructions {
    display: none;
}

@media only screen and (max-width: 1000px) {
    .navbar {
        height: auto;
    }

    .function-info {
        width: 100%;
        margin: auto;
        text-align: center;
        float: none;
    }

    .solution {
        margin: 30px auto;
        float: none;
    }

    .matrix-g {
        float: none;
        width: auto;
        margin: 30px auto;
    }
}
