/*Contents
Some Defaults
Logo and Header
Search
Content
Pages Customization
NHP INFO
Autocomplete
Tabs
Tooltips
*/
/*****************Some Defaults**************************/
/********************************************************/
body{
	background-color:#313947;
	margin:0;
    	padding:0 0 50px 0;
	font-family: 'Lato', sans-serif;
}
div{
	/*border-radius: 3px;*/
}

/*override bootstrap print URL behaviour*/
@media print {
  a[href]:after {
    content: none !important;
  }
}

/*****************Logo and Header************************/
/********************************************************/

.selected-reference {
	-webkit-animation: color_change 1s;
	-moz-animation: color_change 1s;
	-ms-animation: color_change 1s;
	-o-animation: color_change 1s;
	animation: color_change 1s;
	background-color: #ddeeff;
}

@-webkit-keyframes color_change {
	from { background-color: #fff; }
	to { background-color: #def; }
}
@-moz-keyframes color_change {
	from { background-color: #fff; }
	to { background-color: #def; }
}
@-ms-keyframes color_change {
	from { background-color: #fff; }
	to { background-color: #def; }
}
@-o-keyframes color_change {
	from { background-color: #fff; }
	to { background-color: #def; }
}
@keyframes color_change {
	from { background-color: #fff; }
	to { background-color: #def; }
}

#search-input {
	font-size: 1.1em;
}

.safety-item {
	margin: auto;
	text-align: center;
}

.list-container {
	margin: 30px;
}

.hidden {
	visibility: hidden;
}

a, li {
	text-shadow: none;
}

p {
	text-shadow: none;
}

#logo_container{
	width:100%;
	display:inline-block;
	background: #313947;
	border-radius: 0px;
}

#logo{
	margin: 0 auto;
	/* width:75%; */
	max-width:1000px;
}

@media screen and (max-width: 1052px){
	#logo{
		width:95%;
	}
}


#logo div{
	display:block;
	float:left;
	vertical-align:middle;
	color:#FFFFFF;
	font-size:22px;
	font-weight:600;
	padding: 8px 15px 8px 15px;
	color: #2cb298;
}

#logo div span{
	color:#FFFFFF
}

#menu_container{
	width:100%;
	display:inline-block;
	background: #2cb298;
	color:#FFFFFF;
	font-size:16px;
	font-weight:600;
}

.container-fluid{
	max-width: 1000px;
}

nav div{
	background: #2cb298;
}

.navbar {
	border-radius: 0px;
}

.navbar-default {
	border: none;
	background: #2cb298;
}

.navbar-default .navbar-nav>li>a{
	color:#FFFFFF;
	font-weight: bold;
	font-size: 1.1em;
}

.navbar .navbar-nav {
  display: inline-block;
  float: none;
  vertical-align: top;
}

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

.navbar-nav>li {
	
}

#menu{
	margin: 0 auto;
	width:75%;
}

#menu div{
	display:block;
	float:left;
	vertical-align:middle;
	padding: 10px 15px 10px 15px;
}

#menu div:hover{
	cursor:pointer;
	color:#999999;
}
#menu div#search{
	color:black;
	padding-top:2px;
	padding-bottom:2px;
	font-weight:normal;
}

@media print {
	#logo{
		background-color:#313947;
		-webkit-print-color-adjust: exact;

		width: 100%;
	}
	#logo img{
		height:62.5px;
		width:375px;
		margin: 0 auto;
		display: block;
	}
	#menu_container{
		display:none;
	}
}
/*****************Search************************/
/********************************************************/

#search{
	width: 40%;
	margin: 0 auto;
	padding-top:18px;
	padding-bottom:15px;
}

input[type=text]#drugSearch {
    height: 35px;
    padding: 0 5px;
    text-indent: 10px;
    font-size: 20px;
    width: 200px;
    text-align:center;
    border-radius: 10px;
    transition: width 0.5s ease-out;
	display:block;
	margin: 0 auto;
	background:transparent url(search.png) no-repeat scroll left center;
	background-size: 18px 18px;
	background-position-x: 5px;
	background-color:#D2D2D2;
	border: none;
	outline:none;
}

input[type=text]:focus#drugSearch {
	width: 85%;
	transition: width 0.5s ease-out;
}

@media print{
	#search{
		display: none;
	}
}

/*****************Content************************/
/********************************************************/
#content{
/*	width: 75%; */
	max-width:1000px;
	margin: 0 auto;
	margin-top:10px;
   background:#FFFFFF;
   overflow:hidden;
   font-size: 1em;
   min-height:250px;
}

#page_container{
	margin:35px;
}



@media screen and (max-width: 1052px){
	#content{
		width:95%;
	}
}

@media screen and (max-width: 500px){
	#content, #page_container{
		width:100%;
		margin: 0;
	}
	
	#page_container{
		padding:20px;
	}
}

@media print {
	#content{
		width:100%;
	}
}
/*****************Pages Customization************************/
/********************************************************/

.narrow_content{
	margin: 0 auto;
	max-width:600px;
}
.NHPindex{
	list-style-type: none;
	font-size: 1.2em;
}
.tablerow{
	width: 100%;
    display: table;
    font-weight: normal;
	position:relative;
}
/*****************NHP INFO************************/
/********************************************************/
#title{
	background-color: #2cb298;
	color:#FFFFFF;
	font-size:3em;
	margin-left:-15px;
	padding-left:30px;
	margin-right:-15px;
	display:inline-block;
	width:100%;
}
#title>div{
	float:left;
	padding-right:30px;
}
#title img{
	width:40px;
	height:40px;
}

@media print{
	#title{
		color:black;
	}
	
	#title img{
		display:none;
	}
}

/*****************NHP INFO->Table************************/
/********************************************************/

p {
	margin: 0 0 5px 0;
}

h2 {
	margin-top: 0;
}
h3 {
	font-size: 1.1em;
	font-weight: bold;
	margin: 5px 0 5px 0;
}
p, h3	{
word-wrap: break-word;
}
section {
		margin: 0 -15px;
		padding: 15px 15px 15px 15px;
}

/*
section:nth-child(odd)	{
	background-color: #eee;
}
*/

section {
	border-width: 2px;
	border-bottom-style: dashed;
	border-color: #cccccc;
}

section:not([style*="display:none"]):not([style*="display: none"]):last {
	border-bottom-style: none;
}

.monograph-h3 {
	margin: 0px;
	padding: 0px;
}

#printed-disclaimer {
	display: none;
}

@media only print {
	#printed-disclaimer {
		display: block;
	}
}

@media only screen and (max-width: 500px) {
	.col-xs-4 {
		padding: 0px;
	}
}
.row>ul>li {
	margin-left: 20px; 
}

ol>li {
	margin-bottom: 5px;
}

li.NHP>a {
color: #004fb2;
}

li.NHP>a:visited {
color: #002d66
}

.gheader>.tablerow p, .gheader>.tablerow ul {
    -webkit-margin-before: 0px;
    -webkit-margin-after:  0px;
	display:block;
}
.gheader>.tablerow>div>ul{
	-webkit-padding-start: 0px;
}
.gheader{
	background: transparent url(expand-arrow.png) no-repeat;
	background-position: 18px 5px;
	text-indent: 15px;
	background-size: 10px 10px;
	font-weight: 600;
	/* background-color: #600000; */
	margin-left: -30px;
	margin-right: -15px;
	padding-left: 15px;
	padding-right: 30px;
}

.gheader>div{
	display:table;
}
.gheader>div:first-child{
	font-size: 1.4em;
	cursor: pointer;
}
.tablerow>div:first-child {
    width: auto;
    text-align:left;
    font-weight: 600;
}
.tablerow>div {
    width: 70%;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 4px;
    display: table-cell;
    font-size: 1em;
    text-indent: 0px;
}
.tablerowseperator {
    position: absolute;
}
.tablerow:not(:last-child)>div.tablerowseperator {
    bottom: 0px;
    left: 5%;
    width: 90%;
    height: 1px;
    border-bottom: 1px dashed grey;
}

.gheader:nth-of-type(even){
	background-color:rgba(152, 255, 195, 0.59);
}
.gheader:nth-of-type(odd){
	background-color:#FFFFFF;
}
.gheader >div:first-child{
    text-decoration: underline;
}

#safety>div{
	float:left;
	text-align:center;
}

div#safety {
    display: flex;    /* text-align: justify; */    flex-direction: row;    
    justify-content: center;
}
#safety img{
	width: 100px;
	height: 100px;
}

/************Can delete if we don't customize text color for safety 
.tablerow.LikelySafe>div:nth-child(2){
	color:#339966;
}

.tablerow.PossiblySafe>div:nth-child(2){
	color:#0000FF;
}

.tablerow.PossiblyUnsafe>div:nth-child(2){
	color:#F79646;
}
.tablerow.Unsafe>div:nth-child(2){
	color:#FF0000;
}*/

/*.References .tablerow{
	display: none;
}*/
#references > div:first-child{
	width:100%;
	font-weight:normal;
}

/*****************Literature Review************************/
/********************************************************/

.back-link {
	font-size: 1.1em;
	padding: 10px 0 0 0;
}

#studyinfo {
    border: 1px solid black;
    margin: 0 auto;
    width: 90%;
    padding: 0 15px;
	position:relative;
}
.sheader {
    margin-left: -15px;
    padding-left: 15px;
    margin-right: -30px;
}
.sheader>.tablerow{
	margin-left:-15px;
	border-radius:0px;
}
.sheader>.tablerow:nth-of-type(odd){
	background-color:rgba(152, 255, 195, 0.59);
}
.sheader>.tablerow:nth-of-type(even){
	background-color:#FFFFFF;
}
#literature>div.tablerow>li{
	cursor:pointer;
}


/*****************Autocomplete************************/
/********************************************************/
ul.ui-autocomplete.ui-menu{
	border-radius: 3px;
	border-left:1px solid black;
	border-right: 1px solid black;
	border-bottom: 1px solid black;
}

.ui-helper-hidden-accessible { position: absolute; left:-999em; }

/*****************Tabs************************/
/********************************************************/

 .hiddentabhead{
	display:none;
}

@media print{
	.hiddentabhead{
		display:block;
		font-size: 2em;
	}
	
	.ui-tabs-nav { display: none; }
	.ui-tabs .ui-tabs-hide { display: block !important; }
	.ui-tabs .ui-tabs-panel {
			display: block !important
		}
	}

/*****************Tooltips************************/
/********************************************************/
.tooltip p{
	-webkit-margin-before: 0px;
    -webkit-margin-after:  0px;
	margin-before:0px;
	margin-after:0px;
	border: 1px solid black;
}