/* Redefine bootstrap panel colors */

/* panel margin */
.panel-primary, .panel-warning, .panel-danger, .panel-success, .panel-info, .panel-default {
    margin-bottom: 5px;
}

/* Formatting for main page title (responsive) */

.text-turq, .text-turq-resp {
    margin-top: 10px;
    font-style: italic;
    color: #2A8C95;
}

.text-turq-resp {
    font-size: 3.5vw;
}

/* Port of legacy classes (temporary) */

div.seeAlso,
div.source-title,
div.seeAlsosrc,
.see{
    margin-left: 0;
    margin-top: 3pt;
}

div.source-title,
div.seeAlsosrc{
    border-top: none;
    padding-top: 6pt;
    font-style: italic;
    font-weight: 700;
}

.seeAlso-title{
    font-style: italic;
    font-weight: 700;
}

.seealso {
    text-align: left;
}

/* colours */

.bg-gold {
    background-color: #FFBD29;
}

.bg-gold-gradient {
    background-image: linear-gradient(to bottom, #FFBD29 0px, #FFDF00 100%);
}

.bg-turq {
    background-color: #2A8C95;
}

.bg-purple {
    background-color: #644765;
}

.bg-grey {
    background-color: #DDDDDD;
}

.notecard {
    border: 1px solid black;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.list-group-item {
    padding: 3px 10px;
}

.well-homepage {
    font-size: 1.2vw;
}

.footer-copyright {
	font-size: 18pt;
    line-height: 28pt;
}

.times_nr,.times_nr_review,.times_nr_h2,.times_nr_small,.times_nr_bolditalic {
    font-family: "Times New Roman", Times, serif;
}

.times_nr {
    /* font-size: 24px; */
    font-size: 1.6vw;
}

.times_nr_review {
    /* font-size: 24px; */
    font-size: 1.4vw;
}

.times_nr_h2 {
    font-weight: bold;
    font-size: 32px;
}

.times_nr_small {
    font-size: 12px;
}

.times_nr_medium {
    font-size: 24px;
}

.times_nr_bolditalic {
    font-weight: bold;
    font-style: italic;
}

.text_sm {
    font-size: 9px;
}

.gbcover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    width: auto;
    max-height: 100%;
}

.notepanel {
    border: 1px solid black;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.panel-fit {
    height: calc(100% - 150px);
    overflow-y: scroll;
}

.parain {
    text-indent: -3em;
    padding-left: 3em;
}

.paracap {
    display:block;
    width: 60%;
    margin: 0 auto;
    text-align: center;
    font-size: 12pt;
    line-height: 20px;
}

.navbar-nav > li > a,.navbar-brand {
    padding-top:10px !important;
    padding-bottom:0 !important;
    height: 44px !important;
}

.navbar-brand {
    padding-top: 0 !important;
}

.navbar-form {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

.navbar {
    min-height: 43px !important;
    max-height: 43px !important;
}

.navbar-right {
    min-width: 30%;
}

.text-white {
    color: white !important;
}

.text-black {
    color: #000;
}

.text-red {
    color: #D95936;
    font-style: italic;
    display: inline-block;
}

.text-green {
    color: darkgreen;
    font-style: italic;
    display: inline-block;
}

.text-purple {
    color: purple;
    font-style: italic;
    display: inline-block;
}

.b {
    font-weight: bold;
    display: inline-block;
}
.small-caps {
    font-variant: small-caps;
}

.radical {
    font-size: 120%;
}

/* badge colors */

.badge-purple {
    background-color: #644765;
}
.badge-turq {
    background-color: #2A8C95;
}
.badge-red {
    background-color: #D95936;
}
.badge-white {
    background-color: #FFF;
    color: #2A8C95;
    border-color: #2A8C95;
    border-width: 1px;
}
.badge-gold {
    background-color: #FFBD29;
}
.badge-blue {
    background-color: #000080;
}

.badge-purple, .badge-turq, .badge-red, .badge-white, .badge-gold, .badge-blue {
    margin-right: 5px;
}

.badge-left {
    float: left !important;
}

.panel-responsive {
    max-height: calc(100vh - 320px);
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
}

.panel-responsive-versions {
    max-height: calc(100vh - 750px);
    -webkit-overflow-scrolling: touch;
    overflow-y: scroll;
}

.panel-responsive-admin {
    max-height: calc(100vh - 450px);
    -webkit-overflow-scrolling: touch;
    overflow-y: scroll;
}

.list-group-responsive {
    max-height: calc(100vh - 200px);
    -webkit-overflow-scrolling: touch;
    overflow-y: scroll;
    font-size: 1.5vmin;
}

.approve-responsive {
    max-height: calc(100vh - 230px);
    -webkit-overflow-scrolling: touch;
    overflow-y: scroll;
    font-size: 1.5vmin;
}
/* Green */
.btn-success {
    background-color: #A6AB13 !important;
    background-image: none;
    border-color: #A6AB13 !important;
    color: #FFF;
}
/* Purple */
.btn-warning {
    background-color: #644765 !important;
    background-image: none;
    border-color: #644765 !important;
    color: #FFF;
}

.btn-clean {
    background-color: #FFFFFF !important;
    background-image: none;
    border-color: #FFFFFF !important;
    color: blue;
}

.btn-char {
    padding: 4px;
    font-size: 18px;
    display: inline;
    cursor: pointer;
}

.recimage {
    max-height: calc(100vh - 180px);
    filter: drop-shadow(10px 10px 5px grey);"
}

.btn-idx {
    display: inline;
    cursor: pointer;
}

.scrollable-menu {
    height: auto;
    max-height: 150px;
    overflow-y: scroll;
}

.gold {
    color: #FFBD29;
    font-weight: bold;
}

.popup {
    width: 500px;
    font-size: 14px;
}

.term {
    text-decoration: underline;
    text-decoration-style: dotted;
    color: black;
    cursor: pointer;
    display: inline-block;
}

.supercedes {
    font-style: italic;
    font-weight: bold;
}


.overlay {
    font-weight: bold;
    display: inline-block;
    border-bottom: 1px dashed;
    z-index: 1000000;
}

iframe {
    -moz-transform-origin: top left;
    -webkit-transform-origin: top left;
    -o-transform-origin: top left;
    -ms-transform-origin: top left;
    transform-origin: top left;
    -webkit-transform: scale(0.60);
    -moz-transform-scale(0.60);
}

.deftext {
    margin-bottom: 10px;
}

.nowrap {
    white-space: nowrap;
}

.contexts {
    text-indent: 50px;
}

.idx-context {
    font-style: italic;
    color: #777;
}

.hindent {
    text-indent: -100px;
    padding-left: 100px;
}

li {
    padding-bottom: 10px;
}

.li-srcs {
    padding-bottom: 1px;
}

#cy {
    width: 100%;
    height: 300px;
    display: block;
}

.text-muted {
    font-family: "Times New Roman", Times, serif;
    font-size: 14pt;
}

.subtitle {
    font-family: "Times New Roman", Times, serif;
    font-weight: bold;
    font-size: 16pt;

}

.arrow {
    padding: 0 3px;
}
.center {
    text-align: center;
}

.chemimage {
    display: inline;
    color: darkblue;
    cursor: pointer;
}

.noyoverflow {
    overflow-y: hidden;
}

/* addmathcontext.ctp, checkmath.ctp and term.ctp css*/

iframe {
    -webkit-transform: scale(1.00);
    -moz-transform-scale(1.00);
}
.responsivediv {
    max-height: calc(100vh - 100px);
    overflow-y: scroll;
}

.responsivediv-right {
    max-height: calc(100vh - 550px);
    overflow-y: scroll;
}

.chemoverlay {
    display: inline;
}

.chempop {
    position: absolute;
    visibility: hidden;
    border: solid 1px #CCC;
    padding: 5px;
}

.structure-link {
    display: inline;
    font-style: normal;
    text-decoration: none;
}


/* for recommendation view page */

.list-compact {
    font-size: 16px;
    margin-bottom: 0;
}

.responsive-terms {
    max-height: calc(100vh - 750px);
    overflow-y: scroll;
}

.responsive-changes {
    max-height: calc(100vh - 200px);
    overflow-y: scroll;
}

.responsive-comms {
    max-height: 200px;
    overflow-y: scroll;
}

.termlist-recview {
    max-height: calc(100vh - 250px);
    overflow-y: scroll;
}

.termlist-defview {
    max-height: calc(100vh - 500px);
    overflow-y: scroll;
}

.defn {
    cursor: pointer;
}

/* for left side menus */
.responsive-recs {
    max-height: calc(100vh - 450px);
    overflow-y: scroll;
}

ins {
    background-color: green;
    color: white;
}

del {
    background-color: red;
    color: white;
}

.vers {
    font-family: 'lucida grande', verdana, helvetica, arial, sans-serif;
    margin-top: 5px;margin-bottom: 5px;padding-top: 5px;padding-bottom: 5px;
    background-color: #eeeeee;
}

.checkbox-big {
    width: 20px;
    height: 20px;
}

.label-white {
    color: #bbbbbb;
    background-color: white;
}

.y {
    background-color: yellow;
}

.img-sm {
    width: 75%;
}
.img-md {
    width: 50%;
}
.img-lg {
    width: 25%;
}

.img-sm, .img-md, .img-lg {
    padding: 10px;
}

.form-control-inline {
    min-width: 0;
    width: auto;
    display: inline;
}

.MathJax {
    background-color: #DDDDDD;
}
