/* Redefine bootstrap panel colors */

/* Gold */
.panel-primary {
    border-color: #E9AF10 !important;
    border: 0;
}

.panel-primary > .panel-heading {
    background-color: #E9AF10 !important;
    background-image: none;
    border-color: #E9AF10 !important;
    color: #FFF;
}
.panel-primary > .panel-body {
    background-color: #DDD !important;
}

/* Purple */
.panel-warning > .panel-heading {
    background-color: #644765 !important;
    background-image: none;
    border-color: #644765 !important;
    color: #FFF;
}
/* Red */
.panel-danger > .panel-heading {
    background-color: #D95936 !important;
    background-image: none;
    border-color: #D95936 !important;
    color: #FFF;
}
/* Green */
.panel-success > .panel-heading {
    background-color: #A6AB13 !important;
    background-image: none;
    border-color: #A6AB13 !important;
    color: #FFF;
}
/* Turquoise */
.panel-info > .panel-heading {
    background-color: #2A8C95 !important;
    background-image: none;
    border-color: #2A8C95 !important;
    color: #FFF;
}

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

.text-turq {
    margin-top: 10px;
    font-style: italic;
    color: #2A8C95;
    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: justify;
}

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

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

.list-group-item {
    padding: 3px 10px
}

.well-green{
    background-color: #007E33;
}

.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: 16px;
}

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

.times_30 {
	font-weight: bold;
	font-size: 30px;
}

.helv_18, .helv_18b {
	font-size: 18px;
}

.helv_18b {
	font-weight: bold;
}

.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%;
}

.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);
}

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

.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: 44px !important;
    max-height: 44px !important;
}

.text-white {
    color: white;
}

.text-black {
    color: #000;
}

.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;
}
.badge-gold {
    background-color: #E9AF10;
}

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

.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: 2vmin;
}

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

.list-group-responsive-other {
	height: 200px;
	-webkit-overflow-scrolling: touch;
	overflow-y: scroll;
	font-size: 2vmin;
}

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

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

.btn-copy {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 9px;
	padding: 1px 5px;
	display: block;
	cursor: pointer;
	border-radius: 3px;
	box-shadow: inherit;
}

.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 {
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -moz-transform-scale(0.60);
}

.deftext {
    margin-bottom: 10px;
}

.nowrap {
    white-space: nowrap;
}

.contexts {
    text-indent: 50px;
}

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

.indent {
    padding-left: 50px;
}

.img-responsive {
    padding: 10px 0;
}

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;
}

.iupac_wm::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(0,0,0,0.25);
}

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

.responsivediv {
    max-height: calc(100vh - 100px);
    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;
}