/*! HTML5 Boilerplate v5.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


/*  SECTIONS  ============================================================================= */

.section {
	clear: both;
	padding: 0px;
	margin: 0px;
}

/*  GROUPING  ============================================================================= */


.group:before,
.group:after {
    content:"";
    display:table;
}
.group:after {
    clear:both;
}
.group {
    zoom:1; /* For IE 6/7 (trigger hasLayout) */
}



body { font : 100%/1.4 'Source Sans Pro', sans-serif; font-weight: 300; }

nav { display: block; }

.col { background: #dedede; padding:0.1em 0; }

.outer_container {
			height: 100%;
			width: 100%;
			padding: 0 1rem 0 0;
		}


.span_5_of_8 {	width: 61.9%; }

.span_36 {
 			width: 36.5%;
			position: relative;
		}
#rondo_container {  overflow: hidden; position: relative;padding-left: 0px; }


.full .col.span_5_of_8, .full .col.span_36 { width: 100%; }

#logo { font-size:500%; font-weight:300; color: white; display: inline-block; position: absolute; bottom: 0; right: 10px; margin-bottom: 0; }


/*  GO FULL WIDTH AT LESS THAN 780 PIXELS */

@media only screen and (max-width: 780px) {

}

@media only screen and (max-width: 780px) {
	.span_5_of_8, .span_36 { width: 100%; }
	#logo { position: absolute; display: block; text-align:right;  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==== Accordion elements that are open ===========*/

.ui-widget-content,.ui-widget-content table.dataTable tbody tr {
/*   background: #fafafa; */
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
/*  	background: #cdcdcd none; */
	}
.ui-widget input, .ui-widget select, .ui-widget textarea {
/* 	background: transparent none; */
	}

.ui-tabs-active.ui-state-active	{
/* 	background: #fff none; */
	}
#regionDiv button { margin:0.3rem 0; }
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* ==========================================================================
CSS from Benedetta

   ========================================================================== */
#help-button {
  float: right;
}

#navSelector {
  padding: 3px;
}

/* unvisited link in the exp details section*/
.tab-content a:link {
  color: #40B34F;
  text-decoration: underline;
}

/* visited link in the exp details section*/
.tab-content a:visited {
  color: #205927;
  text-decoration: none;
}

 .tab-content .dataset2Swatch a:visited {
  color: #1fc551;
}

table.dataTable.no-footer tbody th,
table.dataTable.no-footer tbody td {
  padding-left:20px;
  padding-right:20px;
  font-size: 120%;
}
#tab-1{
  padding:0px;
}

#experimentDetailsTable{
  border-bottom: 0px;
}
#mainTabs{
  border: 0px;
  padding: 0px;
}

#mainTabs{
  border: 0px;
  padding: 0px;
}

#mainTabs a:link{
  cursor: pointer;
  font-size: 1.3em;
}

#mainTabs .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
  color: #40B34F;
}
.ui-dialog{
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}
.ui-dialog-titlebar, .ui-dialog-titlebar .ui-button{
  background: none;
}
.ui-dialog-titlebar, .ui-dialog-content{
color:white;  
}
.ui-dialog-titlebar-close .ui-button-icon{
  color:white; 
  font-size:1.4em;
}
.ui-dialog-titlebar-close:hover, .ui-dialog-titlebar-close:focus{
  border:0px;
}

#mainTabs .ui-state-active a{
  font-weight: 900;
  color: #40B34F !important;
}
#mainTabs li:not(.ui-state-active) a{
  font-weight: 300;
}
#mainTabs .ui-tabs-nav{
  background: #dedede;
}
#mainTabs .ui-tabs-tab{
  height:3em;
  outline: none;
  background: #eeeeee;
}
#mainTabs .ui-tabs-nav li{
  top: -2px;
  margin: 0px 0 0 .3em;
}
#mainTabs .ui-tabs-tab .ui-state-active{
  background: white;
  height:5em;
}

#mainTabs a.image_tab{
  padding:0.2em 1em;
}

#mainTabs .ui-tabs-tab .ui-corner-bottom{
  border-bottom-right-radius: .5em;
  border-bottom-left-radius: .5em;
}


/*Border at the beginning and end of the experimentTable dataset */

/*table.dataTable.no-footer {
     padding-bottom: 2px;
}*/


#legendRadio{
  display: inline-block;
  vertical-align: top;
  color: red;
}


#resolutionDiv{
  padding: 15px;
}

.ui-accordion .ui-accordion-content {
  padding: 1em 1em;
  height: auto !important;
  max-height: 650px  !important;
  overflow: scroll;


}

#selectorDiv{
  width:100%;
  margin-bottom: 2.5em;
}
/* #regionLogic {
  width: 80px;
  padding: 5px;
  display: inline-flex;
}

#regionLogicAny{
  padding: 1em;
}

#regionLogicWithin{
  padding: 1em;
}
 */

#leewaySlider{
  width: 100%;
  overflow: hidden;
  padding: 10px
}

#leewayText{
  float: left;
  width: 10%;
}

#theSliderValue {
  width: 30%;
  float: left;
}

#tableRangeSlider{
  clear: both;
 /* width: 55%;*/
}

#addNewFiltersButton .ui-button-text{

}

.spacer {
  padding: 1em;
}

 #settingsDiv legend {
  font-size: 1.2em;
  border: none;
  padding-left: 0.5em;
  padding-right: 1px;
  /*margin-bottom: 4px;*/
  width: inherit;
  font-weight: 800;
}



#settingsDiv .nojq {
/*   display: inline-flex;
  width: 6em;
  height: 2.5em;
 */
 }


#statsAccordion .ui-accordion-header {
  font-size: 130%;
}

.zoomContainer {
  pointer-events: none;
}


#navSelector_vs {
  padding: .1em;
  color: #555;
  font-weight: bold;
  line-height: 1.3;
  cursor: pointer;
  width: 3.5em;
  font-size: 1.3em;
  vertical-align: top;
  font-weight: lighter;
  font-weight: bold;
  pointer-events: none;
  cursor: default;
  border: none;
  background: #dedede;
}

#navSelector_vs.active{
  background-color: #ededed;
  border-radius: 4px;
  box-shadow: 0px 1px #999;
  pointer-events: all;
  color: #40B34F;
  cursor: pointer;
}
/*
TABS TABS TABS TABS
*/

/*#rightBar{
  max-height: 100vh;
  overflow: hidden;
}*/

/*#top_right{
  max-height: 20vh;
  overflow: hidden;
}*/

/*#statsDiv{
  max-height: 70vh;
  overflow: scroll;
}*/

ul.tabs{
  margin: 0px;
  padding: 0px;
  width:100%;
  display:flex;
  list-style: none;
}
ul.tabs li{
  flex:1;
  text-align: center;
  background: none;
  color: #58595B;
  padding: 0.5em 0.3em;
  cursor: pointer;
  font-size: 1.5em;
}

ul.tabs li.current{

  border-bottom: 2px solid gray;
  font-weight: 900;
  color: #40B34F;

}

.tab-content{
  display: none;
  padding: 15px;
  background:white;
  overflow-y: scroll;
  font-size: 1.2em;
  color: #58595B;
}


.tab-content.current{
  display: inherit;
}



.rondo_legend{
  margin-top: 4em;
  /*width: 100%;*/
  background: white;
  /*position: absolute;*/
  bottom: 1em;

}

.rondo_legend img {
  display: block;
  margin: auto;
  width: 50%;
}

.rondo_legend h4{
  font-weight: 700;
  font-size: 1.5em;
  color: #58595B;
  margin-bottom: 0px;
  margin-left: 2em;

}

.bg_gray{
  background-color: #EEEEEE;
}


/*------------------*/
/*  NAVIGATION BAR  */
/*------------------*/


