
/* random styles */


/* WF: overriding bootstrap's default link color, which doesn't have enough contrast against light gray tabs and row bg colors */
a {color: #3454b7;}

.container a:not([href]) {
    text-decoration: none;
    color: inherit;
}

p.solrScoreLink {
	text-align: right;
	font-size: 80%;
	}
	
p.solrScoreLink a {
	color: #cdcdcd;
	}

div#compareButtons {
	margin: 10px 10px;
	padding: 0px 0px 0px 0px;
	}

#compare-body table.table-bordered {
    table-layout: fixed;
	}

#compare-body .column a {
	word-break: break-word;
	}

#compare-body .table ::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 2px;
    height: 10px
	}

#compare-body .table ::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0,0,0,.5);
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
	}
	

div.pull-quote {
	width: 25%;
	margin: 10px 10px 10px 10px;
	font-size: 125%;
	font-style: italic;
	}

span.restrictedNote {
    background: red;
    color: white;
    padding: 0 3px;
	}
	
span.source:before { 
	content: "\A"; /* this creates a line break before the span */
	white-space:pre;
	}

div.pull-quote span.source {
	clear: horizontal;
	font-style: normal;
	}
	
aside #alphaList {
	margin-top: 20px;
	/* position: fixed;  Commented this line out 11.2.15 for mobile responsivness*/
	font-size: 125%;
	width: 150px;
	}
	
.no-js-alert {
	padding: 15px;
	background: #fbe319;
	color: #000;
	font-size: 16px;
	z-index: 1000000;
	position: relative;
}
	
/* fix alignment of Related Publications heading in deposit workspace 8-21-18 */	
#workspace .panel-heading .row {
    margin-left: 0;
    margin-right: 0;
}	

/* end random styles */

/* skip navigation link for accessibility */

#skip a, #skip a:hover, #skip a:visited, .skipNav a, .skipNav a:hover, .skipNav a:visited  { 
	position:absolute; 
	left:0px; 
	top:-500px; 
	width:1px; 
	height:1px; 
	overflow:hidden;
	} 

#skip a:active, #skip a:focus, .skipNav a:active, .skipNav a:focus {
	position:static; 
	width:auto; 
	height:auto; 
	}
	
/* end skip nav */



div#dialog-confirm {
	display: none;
	}

aside h2 {
	font-size: 130%;
	}
	
aside h3 {
	font-size: 110%;
	}
	
aside ul {
	margin-left: 0px;
	padding-left: 5px;
	}
	
aside ul li {
	font-size: 90%;
	}
	
aside ul li ul li {
	font-size: 100%;
	}

div.searchResult {
	padding: 10px 5px;
	margin: 0;
	}
	
div.searchResult .col-md-10 {
	word-wrap: break-word;
	}

#columnHeadings {
	padding: 15px;
	}
	
#savedResultsHeader ul.dropdown-menu {
	padding: 0;
	}
	
@media (max-width: 992px){
	#savedResultsHeader.affix {
	width: 100%;
    background: #3d423e;
    padding: 10px;
    z-index: 100000 !important;
    top: 0 !important;
    left: 0 !important;
	}
}

#search article .nav-tabs.nav>li>a:hover {
	text-decoration: underline;
	}
	
#search article .nav-tabs.nav>li.active>a:hover {
	text-decoration: none;
	}


/* begin new bootstrap column widths */

.col-md-0point5, 
.col-md-11point5,
.col-md-0point25,
.col-md-11point75 {
    position: relative;
    min-height: 1px;
   /*padding-right: 15px;*/
    padding-left: 15px;
    display: inline-block;
	}

/* end new bootstrap column widths */

.viewMore[aria-expanded="false"]:before{
  content:"[ View More ]";
}

.viewMore[aria-expanded="true"]:before{
  content:"[ View Less ]";
}
	
.archive-search-alert {
	display: none;
	}

#ICPSR .archive-search-alert {
	display: block;
	clear: right;
	}
	
	
div.searchResult:nth-child(odd), 
div.datasetDownload:nth-child(odd), 
div#pubsList div.row:nth-child(odd), 
div#results-body form#taxonomyForm:nth-child(odd) div.searchResult {
	background-color: #fff;
	padding-top: 10px;
	padding-bottom: 10px;
	}
	
div.searchResult:nth-child(even), 
div.datasetDownload:nth-child(even), 
div#pubsList div.row:nth-child(even), 
div#vars div.row:nth-child(even) {
	background-color: #efefef;
	padding-top: 10px;
	padding-bottom: 10px;
	} 
	
#variables-search-results div.row:nth-child(odd) {
	background-color: #efefef;
	padding-top: 5px;
	padding-bottom: 5px;
}
	
	
#variables-search-results div.row:nth-child(even) {
	background-color: #fff;
	padding-top: 5px;
	padding-bottom: 5px;
}

#varResults .searchResult div.col-sm-2 {
	word-break: break-all;
}

.col-xs-12.varNameMobile {
	padding-bottom: 10px;
	padding-left: 0px;
	}
	

div.previous-next {
	background-color: #ffffff;
	padding: 5px;
	font-size: 90%;
	vertical-align: middle;
	border-left: 1px solid #ddd;
	}
	
div.previous-next button {
	font-weight: bold;
	}
	
div.previous-next label {
	font-weight: normal;
	}

div#compareTools  {
	margin: 0;
	padding: 10px 10px;
	}
	
#search label[for="sort-series"],
#search select#sort-series {
    display: none;
}

div.subTable div.row {
	padding-top: 10px;
	}
	
div#noResultsFound {
	padding: 20px;
	}
	
/* adding styling to series and search pages for new study home pages */
#search [title='Name'],
#variables-display [title="Name"]{
	word-wrap: break-word;
	}

#search [title='Dataset'],
#variables-display [title="Dataset"],
#columnHeadings .dataset,
#columnHeadings .col-md-3:last-child{
	text-align: center;
	}

#columnHeadings .col-md-2{
	padding:0;
	}

#columnHeadings .col-md-6{
	padding-left: 10px
	}
	
	
#dataTab h1,
.dataTables_length {
	margin-left: 10px;
	}	

#studyListTable_filter {
	margin-right: 10px;
	}
	
	
/* prevent content from overflowing the At a Glance tab (done specifically for asteriks in Army Starrs study description) */
.panel.panel-default.studyhomepanel {
	overflow: hidden;
}

	
/* variable pane on ind. variable display */

aside div#varpane ul li ul li {
	margin-left: 26px;
	list-style-type: disc;
	}
	
aside div#varpane ul {
	list-style-type: none;
	}

aside div#varpane ul li {
	margin-left: 0px;
	}	
	
aside div#varpane {
	height: auto;
}

#wrap .popover,
#wrap2 .popover{
    min-width:600px;
}

.btn.popovers{
	padding: 0;
}

#search ul.nav.nav-tabs li{
	text-transform: capitalize;
	}
	
aside div#varpane ul li ul li a {
	color: #000000;
	text-decoration: underline;
	}
	
aside div#varpane ul li a {
	color: #000000;
	text-decoration: none;
	}

aside .select-varname {
text-decoration: underline;
font-weight: bold;
color: blue;
}	
	
aside div#varpane a.varGrpLink {
	color: black;
	text-decoration: none;
	}

aside div#varpane a.closed {
	background-image: url("../../shared/images/arrow-collapse-down.png" ); 
	background-size: 11px 11px;
	background-repeat: no-repeat;
	padding-left: 16px;
	}
	
aside div#varpane a.open {
	background-image: url("../../shared/images/arrow-expand-right.png" ); 
	background-size: 11px 11px;
	background-repeat: no-repeat;
	padding-left: 16px;
	}
	
	
a.highlight {
	font-weight: bold;
	background-color: #dedede;
	padding: 3px 5px 3px 5px;
	}
	
a.nohighlight {

	}
	
/* owner blurb style */

img.ownerBlurb {
	float: right;
	border: none;
	margin: 0px 0px 0px 5px;
	}
	
div#ownerBlurb h2 {
	display: none;
	}
/*	
we are overriding this to show the logo on every archive site, so the default should be visible.
div#ownerBlurb img {
	display: none;
	}
*/
	
#ICPSR div#ownerBlurb img {
	display: block;
	}
	
div#datasets p#more {
	padding-bottom: 10px;
	}	
	

.unpublished.bg-warning.warningRestrictedMsg{
	padding: 10px;
	}

	
/* begin quick download modifications */

.quick_download_note2 {font-size: 80%;}	

/* This code enables a hover menu. Need to disable this on touch-screen devices. */

ul#quickDownloadWrapper li.dropdown:hover > ul.dropdown-menu {
    display: block; 
    }   
    
#quickDownloadWrapper .dropdown-menu {
	margin: 0;
	}

ul#quickDownloadWrapper {
	list-style-type: none;
	margin-left: 0px;
	padding-left: 0px;
	}
	


/* end quick download modifications */


/* The container element defines the main content block on the screen. Below is a copy from the main boostrap css. Modify as needed.

.container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}

@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

*/

/* styles for external icon script */

a.mailto {
	background: url("https://www.icpsr.umich.edu/files/images/email.png" ) no-repeat 100% 2px;
	padding-right: 18px;
}

a.pdflink {
	background: url("https://www.icpsr.umich.edu/files/images/pdf.png" ) no-repeat 100% 0;
	padding-right: 18px;
}

a.external {
	background: url("https://www.icpsr.umich.edu/files/images/external.png") no-repeat 100% 2px;
	padding-right: 16px;
}

a.external.btn-default {
	background-image: linear-gradient(to bottom,#fff 0,#e0e0e0 100%);
	background-repeat: repeat-x;
}

.share-study a.external {
	background: none;
	padding: 0;
}

footer a.external {
	background: none;
	padding-right: 0px;
	color: #fff;
	text-decoration: underline;
}

a.aTagCard.external {
    padding: 0;
}

/* customizations for collapsible facets */
	
div#facetgroups div.panel-heading {
	padding: 0px 0px 0px 0px;
	}
	
div#facetgroups div.panel-heading h3 {
	margin: 10px 0px 5px 0px;
	}
	
div#facetgroups .panel-group .panel-heading+.panel-collapse>.panel-body {
	border: none;
	}
	
div#facetgroups .panel-body {
	padding: 0px;
	}


/**************************** mydata button on login page */

div.blue-pill {
  background-color: #3260c6;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3260c6), color-stop(100%, #4a7cec));
  background-image: -webkit-linear-gradient(top, #3260c6, #4a7cec);
  background-image: -moz-linear-gradient(top, #3260c6, #4a7cec);
  background-image: -ms-linear-gradient(top, #3260c6, #4a7cec);
  background-image: -o-linear-gradient(top, #3260c6, #4a7cec);
  background-image: linear-gradient(top, #3260c6, #4a7cec);
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: inset 0 1px 0 0 #aec3e5;
  -moz-box-shadow: inset 0 1px 0 0 #aec3e5;
  box-shadow: inset 0 1px 0 0 #aec3e5;
  color: #fff;
  font: 17px "helvetica neue", helvetica, arial, sans-serif;
  padding: 10px 0;
  text-shadow: 0 -1px 1px #1a5ad9;
  width: 191px; 
  text-align: center;
  letter-spacing: 1px;
}

div.blue-pill a {color: #fff; text-decoration: none;}
  
div.blue-pill:hover {
    background-color: #4a7cec;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4a7cec), color-stop(100%, #5b8af3));
    background-image: -webkit-linear-gradient(top, #4a7cec, #5b8af3);
    background-image: -moz-linear-gradient(top, #4a7cec, #5b8af3);
    background-image: -ms-linear-gradient(top, #4a7cec, #5b8af3);
    background-image: -o-linear-gradient(top, #4a7cec, #5b8af3);
    background-image: linear-gradient(top, #4a7cec, #5b8af3);
    -webkit-box-shadow: inset 0 1px 0 0 #a5b9d9;
    -moz-box-shadow: inset 0 1px 0 0 #a5b9d9;
    box-shadow: inset 0 1px 0 0 #a5b9d9;
    cursor: pointer; }
  
div.blue-pill:active {
   -webkit-box-shadow: inset 0 0 8px 2px #bbcef9, 0 1px 0 0 #eeeeee;
   -moz-box-shadow: inset 0 0 8px 2px #bbcef9, 0 1px 0 0 #eeeeee;
   box-shadow: inset 0 0 8px 2px #bbcef9, 0 1px 0 0 #eeeeee; }
   
.signin-subhead {font: 18px lucida grande,Verdana,sans-serif;}   	

#timePeriodFrom,
#timePeriodTo {
	padding: 1px;
	font-size: 9px;
	width: 29px;
	display: inline;
}

#timePeriodSubmit {
	padding: 5px 1px;
}


/**********************************************************

MyDATA LOGIN PAGE

**********************************************************/

.rpxlogin-page .form-control,
.requestPW{
	height: 45px;
	}

.rpxlogin-page [name="Create Account"]{
	background-image: none;
	}

input [name=".submit"]{
	padding: 10px;
	margin: 10px 0;
}


/************************  myData Dashboard page  ************************/
.myDataDashCard {
    font-size: 1em;
	overflow: hidden;
	padding: 0;
	border: none;
	border-radius: .28571429rem;
	box-shadow: 0 1px 3px 0 #d4d4d5, 0 0 0 1px #d4d4d5;
	min-height: auto;
	margin: 15px 0;
	}

#mainContent a:link.aTagCard  {
    text-decoration: none;
	}

a.aTagCard > .myDataDashCard > .myDataDashCard-block > .myDataDashText-bold,
a.aTagCard > .myDataDashCard > .myDataDashCard-block > .myDataDashText-bold{
	text-decoration: none;
	}

a > .myDataDashCard {
	color: #000;
	text-decoration: none;
	}

a:hover > .myDataDashCard,
a:focus > .myDataDashCard {
	background-color: #ddd;
 	-webkit-transition: background-color 1s ease-out;
 	-moz-transition: background-color 1s ease-out;
  	-o-transition: background-color 1s ease-out;
 	transition: background-color 1s ease-out;
	}

a.aTagCard:hover,
a.aTagCard:focus {
	background-color: #ddd;
	text-decoration: none;
	text-decoration-color: #ddd;
	}

a.aTagCard:hover > .myDataDashCard > .myDataDashCard-block > .myDataDashText-bold,
a.aTagCard:focus > .myDataDashCard > .myDataDashCard-block > .myDataDashText-bold{
	text-decoration: underline;
	}

.myDataDashCard-block {
    font-size: 1em;
	position: relative;
	margin: 0;
	padding: 1em .5em;
	border: none;
	box-shadow: none;
	}

.myDataDashCard-img-top {
	display: block;
	width: 100%;
	height: auto;
	margin: 15px auto;
	text-align: center;
	}

.myDataDashCard-img-top.researchPassportImg {
	width: 71%;
	}

.fa-5x {
	font-size: 8em;
	}

.myDataDashText-bold {
	font-weight: 700;
	text-align:center;
	}

.myDataDashCard-img-top.viewHistory{
	margin-bottom:8px;
	color: #757575;
	}

.myDataDashCard-block.viewHistory{
	padding-top:0;
	}

.viewHistoryStrike{
	text-decoration: line-through;
	font-size: .8em;
	}

.accountValid {
	margin-top: 10px;
	}



/*******************end myData Dashboard Page *************/


/* prevent search submit buttons from wrapping */
.citations-search-input {
	display: inline;
	width: 80%;
	}

/* making result facets into tabs */

div#main article #facetResultType ul {
	margin: 0;
	padding: 10px 0 0 0;
	}

#facetResultType ul li {
	text-align: center;
	}

.result-type-tabs.row {
	margin-left: -15px;
	margin-right: -15px;
	}

#studyResults, #varResults, #pubResults {
	border-left: 1px solid #ddd;
	}

.totalResultsVariables,
.totalResultsCitations,
.totalResultsStudies {
	border-left: 1px solid #ddd;
    margin: 0;
    padding: 10px;
	}
	
#facetResultType .nav>li>a,
#facetResultType .nav>li>a {
	text-decoration:none;
	background-color:#eee;
	background-image: none;	
	}

#facetResultType .nav>li.active>a,
#facetResultType .nav>li.active>a {
	background-color:#fff;
	background-image:none;
	}

.answerTable td {padding: 7px;}

.openicpsrlogo,
.datalumoslogo,
.censuslogo {
	padding-left: 10px;
	}
	
		
.facet_select {
	margin-right: 5px;
	}	
	
.facet-count:before {
	content: "(";
	}

.facet-count:after {
	content: ")";
	}
	
.facet-values li {
	margin: 4px 0;
	}
	
.facet-values span {
	display:inline-block;
	}

.alert-danger a, 
.alert-info a, 
alert-success a, 
alert-warning a {
	text-decoration: underline;
	}
	
.alert-danger a:hover, 
.alert-info a:hover, 
alert-success a:hover, 
alert-warning a:hover {
	text-decoration: none;
	}

.alert-danger-beta {
	margin-top: 5px;
	margin-bottom: 5px;
	padding: 5px;
	}

.book-section-icon,
.journal-article-icon {
    padding-right: 12px;
	}

#varpane .varGrp .panel-title {
	word-wrap: break-word;
    hyphens: auto;
    font-size: 14px;
}

#varpane .varGrp .panel-heading {
    padding: 10px 4px;
    border: none;
    box-shadow: none;
}

#varpane .varGrp i.glyphicon-chevron-right,
#varpane .varGrp i.glyphicon-chevron-down {
    margin-right: 1px;
}

#varpane .list-group {
	border: none;
	box-shadow: none;
}



.rtecenter {
    text-align: center;
}

/* toggle switch styles */


/* The switch - the box around the slider */
.related-publications-toggle {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 18px;
  margin-left: 140px;
  text-indent: -140px;
  margin-top: 5px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 18px;
  margin-left: 75px;
  text-indent: -75px;
  margin-top: 5px;
}

/* Hide default HTML checkbox */
.toggle-switch input,
.related-publications-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000;
  -webkit-transition: .4s;
  transition: .4s;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .toggle-slider {
  background-color: #1caa23;
}

input:focus + .toggle-slider {
  outline: 0;
  box-shadow: 0 0 4px 3px rgba(102,175,233,.8);
}

input:checked + .toggle-slider:before {
  -webkit-transform: translateX(14px);
  -ms-transform: translateX(14px);
  transform: translateX(14px);
}

/* Rounded sliders */
.toggle-slider.toggle-round {
  border-radius: 18px;
}

.toggle-slider.toggle-round:before {
  border-radius: 50%;
}

.searchResult .collapse.relStudies {
	clear: left;
}

.searchResult .collapse.result-summary,
.searchResult .collapse.relStudies {
	visibility: visible;
}

/*************************************************

						Media Queries

*************************************************/


@media (min-width: 992px) {
	aside div#varpane {
		overflow: auto;
		height: 750px;
		/* margin: 0px 0px 0px 0px; */
		/* padding: 0px 0px 0px 0px; */
	}

	div.floating-nav {
		position: fixed;
	}
	
	
}

@media (min-width: 768px) {
    .col-md-0point5,
    .col-md-11point5,
	.col-md-0point25,
	.col-md-11point75 {
        float: left;
        display: inline-block;
    }

    .col-md-0point25 {
        width: 2.083333333%;
    }

    .col-md-11point75 {
        width: 97.916666667%;
    }

    .col-md-0point5 {
        width: 4.16666667%;
    }

    .col-md-11point5 {
        width: 95.83333333%;
    }
    
    
}

@media (max-width: 1023px){
	a.btn.btn-default.sdaXmlink{
		margin-top: 15px;
	}
}

@media (max-width: 768px) {
	#facetResultType ul li {
	    word-spacing: normal;
	    max-width: none;
	}


	h3.variableNameSmallScreen{
		text-align: center;
	}

	#wrap .popover,
	#wrap2 .popover{
	    min-width:80%;
	}
	
	
    .col-md-0point5, 
    .col-md-11point5,
	.col-md-0point25,
	.col-md-11point75 {
        float: left;
        padding-left: 0;
    }
    .col-md-0point25 {
        width: 2.083333333%;
    }
    .col-md-11point75 {
        width: 97.916666667%;
    }
    .col-md-0point5 {
        width: 4.16666667%;
    }
    .col-md-11point5 {
        width: 95.83333333%;
	}
}

@media(max-width:992px){
	#mainContent #search [title='Dataset'],
 	#mainContent #variables-display [title="Dataset"],
	#columnHeadings .dataset,
	#columnHeadings .col-md-10,
	#columnHeadings .col-md-6,
	#columnHeadings .col-md-3:last-child{
		text-align: left;
		padding-left: 0;
	}


	#columnHeadings .col-md-1{
		padding: 0;
	}
	
	#variableGroups{
		padding-bottom: 25px;
	}
	
	aside div#varpane{
		padding-top: 10px;
	    max-height: 150px;
    	overflow: scroll;
    	border: 1px solid #ddd;
	}
	
	#variableGroups input[type=submit] {
		width: 90%;
    	margin: 11px 16px;
	}
	
	.myDataDashCard-img-top.researchPassportImg {
		width: 80%;
	}
	
	
	/* making the tabs on study home pages go full width on mobile like search results pages */
	small.hidden-sm.hidden-md.hidden-lg.hidden-xl {
		display: none;
	}
	
	#mainContent .nav-tabs-responsive .nav-tabs { 
		display: block;
		min-width: 100%; 
	}
	
}

@media(max-width: 767px){
	.myDataDashCard-img-top.researchPassportImg {
		width: 59%;
	}
	.nav-tabs { 
		display: block;
		min-width: 100%; 
	}
	
	.nav-tabs>li {
		min-width: 100%;
	}
	.nav-tabs-responsive .nav-tabs li {
		max-width: 100%;
		min-width: 100%;
	}
	
}

@media(max-width: 600px){
	#search .nav-tabs>li {
		width: 100%;
	}

	#NACDA #search .nav-tabs>li {
		margin-top: 0 !important;
	}

	#data-doc .dropdown-menu {
		right: 0;
		left: auto;
	}
}


@media (max-width: 400px){
	#facetResultType ul li {
	    width: 100%;
	}

	table#data-doc {
    	font-size: 12px;
	}

	div#mainContent {
    	padding: 2px;
	}


	table#data-doc thead>tr>th,
	table#data-doc tbody>tr>th,
	table#data-doc tfoot>tr>th,
	table#data-doc thead>tr>td,
	table#data-doc tbody>tr>td, 
	table#data-doc tfoot>tr>td {
		padding: 2px;
	}
}

