@media only screen and (max-width: 768px) {
    body {
        position: fixed;
    }
    #bot {
        margin-bottom: 5px;
    }
    .graph svg text.title {
    display: none;
    }

}
@media only screen and (min-width: 767px) {
    #bot {
        margin-bottom: 30%;
    }
}
@media (min-width: 768px) {
    .navbar .navbar-collapse .dropdown {
        margin-right: 0px !important;
    }
    .primary-menu {
        margin-top: 0px !important; 
    }
}
html, body {
    overflow: hidden;
}

#result {
    height: 660px;
    border-top: 1px solid rgb(68, 68, 68);
    border-right: 1px solid rgb(68, 68, 68);
    border-left: 1px solid rgb(68, 68, 68);
    border-image: initial;
    background-color: #1f2022;
    border-bottom: none;
    position: relative;
    border-radius: 10px 10px 0px 0px;
    overflow-y: scroll;
}

.cas-input {
    width: 100%;
    border: 1px solid rgb(68, 68, 68);
    margin-bottom: 10px;
}
.CodeMirror-line::selection {
  background: #007AFF;
  color: #ffffff;
}
.CodeMirror-line {
    padding: 20px !important;
}
.CodeMirror-cursor {
    border-left: 2px solid #007AFF;
    height: 30px !important;
    margin-top: 17px !important
}
.collapse-a, .collapse-a:active, .collapse-a:hover, collapse-a:visited {
    color: #800 !important;
    text-decoration: underline;
}
.functions{
    margin-top: 5px;
}
.dropdown-left {
  right: 0;
  left: auto;
  padding-left: 1px;
  padding-right: 1px;
}
.dropup {
    display: inline-block;
    width: 100%;
}

#supported-functions a {
    display: inline-block;
    margin-right: 5px;
    color: #a8465d;
    font-weight: 600;
}
#cas-panel {
    width: 100%;
    background-color: rgb(41, 42, 47);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.function-plot text,
.function-plot .axis,
.function-plot .inner-tip circle {
    fill: #007AFF;
}
.function-plot .axis path {
    stroke: rgb(68, 68, 68);
}
.function-plot .axis line {
    fill: rgb(68, 68, 68);
    stroke: rgb(68, 68, 68);
}
.function-plot .content .graph path {
    stroke: #007AFF;
}
#cas-panel .remove-graph {
    color: #007AFF;
}

.expression-body {
    padding: 10px;
}
.expression-btn {
    float: right;
}
.expression-btn a, expression-btn a:active, expression-btn a:hover, expression-btn a:visited {
    color: #007AFF;
}
.modal-header, .modal-body, .modal-footer {
    background: #337ab7;
    color: #000000;
    border: 0;
 }
 .modal-body {
     background: #ffffff;
     padding: 30px;
 }
 .modal-header .close span{
     color: #FFF;
 }
 .modal-header {
     padding: 5px;
     padding-right: 15px;
 }
/*http://bootsnipp.com/snippets/featured/animated-radios-amp-checkboxes-nojs*/
.checkbox label:after, 
.radio label:after {
    content: '';
    display: table;
    clear: both;
}

.checkbox .cr,
.radio .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #a9a9a9;
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    float: left;
    margin-right: .5em;
}

.radio .cr {
    border-radius: 50%;
}

.checkbox .cr .cr-icon,
.radio .cr .cr-icon {
    position: absolute;
    font-size: .8em;
    line-height: 0;
    top: 50%;
    left: 20%;
}

.radio .cr .cr-icon {
    margin-left: 0.04em;
}

.checkbox label input[type="checkbox"],
.radio label input[type="radio"] {
    display: none;
}

.checkbox label input[type="checkbox"] + .cr > .cr-icon,
.radio label input[type="radio"] + .cr > .cr-icon {
    transform: scale(3) rotateZ(-20deg);
    opacity: 0;
    transition: all .3s ease-in;
}

.checkbox label input[type="checkbox"]:checked + .cr > .cr-icon,
.radio label input[type="radio"]:checked + .cr > .cr-icon {
    transform: scale(1) rotateZ(0deg);
    opacity: 1;
}
.checkbox-label {
    font-size: 0.7em;
}
/*GRAPH*/
.graph svg text{
    font-size: 10px;
}
.graph svg text.title {
    font-size: 20px;
}
/*Guppy*/
.guppy_active, .guppy_inactive {
    padding: 30px !important;
}
.guppy_active {
    border: 2px solid #b1d0ff !important;
}
.guppy_inactive {
    border: 2px solid #7A95FC !important;
}
.guppy_buttons {
    display: none !important;
}

.checkbox label {
    padding-left: 10px;
}

.checkbox-label {
    font-size: 0.6em;
}

.expression-body .katex .mfrac .frac-line {
    border-bottom-style: none !important;
}
#example-functions {
    border-radius: 5px;
    padding: 4px;
    border: 1px solid #CCC;
    width: fit-content;
}
.example-title {
    display: inline-block;
    padding-left: 3px;
    padding-right: 3px;
    color: #000000; 
}
.navbar-collapse {
    padding-right: 0px !important;
    padding-left: 0px !important;
}

.CodeMirror-cursors {
    visibility: visible!important;
}