#header {
    position: relative;
    background: #2a2f27 url(../images/banner.jpg) no-repeat;
    background-size: cover;
    max-height:400px;
}

#logo {
}

#sidebar >section{
    background-color:#f0f0f0;
    padding-bottom:1px;
}

#content >section{
    background-color:#f0f0f0;
}

.section-divider{
    border-bottom: 1px solid #c3c3c3;
    font-size:20pt;
    margin-top:10px;
    margin-bottom:5px;
}

#main-div.with-margins {
    margin-left:auto;
    margin-right:auto;
    max-width:1000px;
    overflow:hidden;
}
.with-margins {
    margin-left:auto;
    margin-right:auto;
    max-width:1000px;
    overflow:hidden;
}
.central-form{
    max-width:600px;
    margin-left:auto;
    margin-right:auto;
    margin-top:5px;
    margin-bottom:10px;
}

.main-search-bar{
    display:block;
}
.main-search-bar >.form-group{
    background-color:transparent;
}
.main-search-bar #main-search-bar{
    font-size:12pt;
    height:36px;
    margin-right:2px;
    width:90%;
    float:left;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.main-search-bar .n-datasets{
    font-size: 12pt;
    position: absolute;
    right: 116px;
    top: 3px;
    background-color: #d7e6dd;
    padding-top:0px;
    padding-bottom:0px;
    padding-left:2px;
    padding-right:2px;
    margin-top:1px;
    margin-bottom:0px;
    margin-left:4px;
    margin-right:4px;
    border-radius: 4px;
}

.main-search-bar .search-button{
    z-index:101;
    display:block;
    float:left;
    background-color:#b3f1a3;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border:1px solid #b3f1a3;
    cursor:pointer;
}
.main-search-bar .search-button:hover{
    background-color:#a7e897;
}
.main-search-bar i.fa-search{
    font-size:19pt;
    padding: 0px;
    margin-top: 4px;
    margin-left: 6px;
    margin-right: 7px;
    cursor:pointer;
}

.main-search-bar .dataset-list{
    position:absolute;
    margin-top:40px;
    z-index:100;
    clear:both;
    display:block;
    width:46%;
    border:2px solid #e2e2e2;
    padding-left:2px;
    padding-right:2px;
    padding-top:2px;
    background-color: #ececec;
    margin-left:15px;
}
.main-search-bar .dataset-list .dataset{
    display:block;
    height:50px;
    margin-bottom:2px;
    border-radius:1px;
}
.main-search-bar .dataset-list .dataset:hover{
    background-color:#dadaff;
    cursor:pointer;
    border:1px solid #c0dfff;
}
.main-search-bar .dataset-list .dataset.active{
    background-color:#dadaff;
    cursor:pointer;
    border:1px solid #c0dfff;
}

.main-search-bar .dataset-keyword-list{
    position:absolute;
    margin-top:26px;
    z-index:100;
    clear:both;
    display:block;
    width:100%;
    /*border:2px solid #e2e2e2;*/
    padding-left:2px;
    padding-right:2px;
    padding-top:2px;
    /*background-color: #ececec;*/
}
.main-search-bar .dataset-keyword-list .keyword-container{
    width:auto;
    display:inline-block;
}

.main-search-bar .dataset-keyword-list .keyword{
    display:block;
    font-size:12pt;
    position:relative;
    margin-top:0px;
    margin-bottom:0px;
    padding-left:2px;
    padding-right:2px;
    height:25px;
    border-radius:1px;
    background-color: #ececec;
}
.main-search-bar .dataset-keyword-list .keyword:hover{
    background-color:#dadaff;
    cursor:pointer;
    border:1px solid #c0dfff;
}
.main-search-bar .dataset-keyword-list .keyword.active{
    background-color:#dadaff;
    cursor:pointer;
    border:1px solid #c0dfff;
}


.tags-container{
    height:auto;
    overflow:hidden
}

.tags-container .tag-item{
    display:inline-block;
    float:left;
    margin:1px;
    margin-right:2px;
    background-color:#e2e6f0;
    border:1px solid #9daccc;
    border-radius:2px;
    -moz-border-radius:2px;
    -webkit-border-radius:2px;
    line-height:1.3em;
    padding: .1em .3em .1em .3em;
}

.tags-container .tag-item .tag-text{
    display:block;
    line-height: 17px;
    float:left;
    font-family: Helvetica,Arial,lucida grande,tahoma,verdana,arial,sans-serif;
    font-size: 12px;
    position: relative;
    top: 1px;
}

.tags-container .tag-item input.tag-text{
    height: 19px;
    width: 50px;
    margin-top: -1px
}

.tags-container .tag-item .tag-button{
    width: 14px;
    height: 19px;
    cursor: pointer;
    margin-left: 4px;
    padding-left: 4px;
    padding-top: 4px;
    right: 0;
    position: relative;
    display: block;
    float: left;
}

.tags-container .tag-item .tag-button.tag-remove{

}
.tags-container .tag-item .tag-button.tag-add{

}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
  margin-left:5px;
  margin-right:5px;
}

.autocomplete-items div {
  padding: 8px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9;
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: DodgerBlue !important;
  color: #ffffff;
}

.autocomplete-input-unknown-value{
position: absolute;
    top: 4px;
    right: 9px;
    border-radius: 10px;
    border: 1px solid #d0d5f7;
    background-color: #d0d5f7;
    color: #878da2;
    width: 16px;
    height: 16px;
    padding-top: 1px;
    padding-right: 1px;
    text-align: center;
}

.autocomplete-dropdown-list{
    display: block;
    overflow: hidden;
    overflow-y: auto;
    position: absolute;
    z-index: 10;
    background: #f3f3f3;
    padding: 3px;
    padding-top:0px;
    width: 90%;
    max-height: 99px;
    margin-top:3px;
}

.autocomplete-dropdown-list >{
    cursor:pointer;
    display: block;
    margin: 1px;
    background-color: white;
}
.autocomplete-dropdown-list >:hover{
    background-color: #f0f0f0;
}


 /* The Modal (background) */
.modal {
  display: block; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal .modal-content {
  display:block;
  background-color: #fefefe;
  top:10%;
  margin: auto auto; /* 15% from the top and centered */
  padding: 5px 20px 20px 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  max-height: 80%;
  overflow:hidden;
  overflow-y:auto;
}

.modal .modal-inner-content{
    /*overflow-y:scroll;*/
    max-height:100%;
    margin: 0;
    height:auto;
}
.modal-header {
  display:block;
  padding: 2px 0px 2px 16px;
  color: white;
}
/* The Close Button */
.modal .close-btn {
  line-height: 34px;
  color: #aaa;
  float: right;
  font-size: 42px;
  font-weight: bold;
}

.modal .close-btn:hover,
.modal .close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.help-hint{
    display: block;
    overflow: hidden;
    width: max-content;
    height: max-content;
}

.help-hint i{
    font-size:19pt;
    padding: 0px;
    margin-top: 4px;
    margin-left: 6px;
    margin-right: 7px;
    cursor:pointer;
}

.help-hint.help-section-search{
    z-index:101;
    background-color:#a3e2f2;
    border-radius:7px;
    border: 1px solid #b9f1ff;
    padding-top: 0px;
    padding-left: 6px;
    padding-right: 7px;
    padding-bottom: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    display: inline-block;
    margin-left: 3px;
}
.help-hint.help-section-search:hover{
    background-color:#84cbee;
}
.help-hint.help-section-search i{
    color:white;
}


.help-hint.help-section-search:hover i{
    color:#eeeeee;
}

.element-selection{
    overflow:hidden;
    padding-bottom:5px;
    margin-bottom:0px;
}

.element-selection .element-display{
    font-size:30pt;
    float:left;
    display: block;
    margin-top:10px;
    margin-left: 10px;
    margin-right: 10px;
}

.element-selection .elements-container{
    float:right;
    margin:10px;
}

.elements-container .elm-button{
    display: inline-block;
    height:28px;
    width:28px;
    text-align:center;
    border-radius:2px;
    border:1px solid #b7b7b7;
    background-color:#cecdcd;
    color:#606060;
    margin: 1px 1px 1px 1px;
    cursor:pointer;
}
.elements-container .elm-button.inactive{
    background-color:#8a8a8a;
    color:#505050;
    cursor:not-allowed;
}
.elements-container .elm-button.active{
    background-color:#9cbbec;
    color:#505050;
}

body.fancybox{background-color:#ffffff}

/*-------------------  LOADER  ----------------*/
.loader-panel{
    position: absolute;
    width: 100%;
    height: 100%;
    opacity:100%;
    transition: ease-out;
    background-color: #fff;
    z-index:1;
}

.loader-container{
    position:relative;
    width:100%;
    height:100%;
}
.loader-inner-container{
    position:absolute;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

.loader-spinner {
    display:block;
    /*margin-left:auto;
    margin-right:auto;
    margin-top:50%;*/
    border: 10px solid #f3f3f3; /* Light grey */
    border-top: 10px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/*------------------  /LOADER  ----------------*/
.graph-container{
    float: none;
}
.render-window{
    float: none;
}
.viewport-container{
    position:relative;
}
.slidecontainer{
    display: block;
    position: absolute;
    bottom: 10px;
    width:100%;
}
.legend{
    display: block;
    position: absolute;
    bottom: 56px;
    margin-left: 15px;
}
.legend .legend-row{
    display:block;
}
.legend .legend-circle{
    width: 20px;
    height: 20px;
    display: block;
    border-radius: 50%;
    background-color: #ff0000;
    float: left;
    margin-top: 2px;
}
.legend .legend-text{
    display:inline;
    margin-left:5px;
}
.particle-info{
    display: block;
    margin: 0px;
    float: left;
    width: 100%;
    padding: 0px;
    overflow-x: hidden;
}
.download-button-container{
    position:relative;
    right: 30px;
    bottom: 16px;
    float: right;
    margin-right: -10px;
    margin-bottom: -10px;
}

#particle-viewer-window{
    width:auto;
    float:left;
}
@media only screen and (min-width: 600px) {
    .graph-container{
        float: left;
    }
    .render-window{
        float:left;
    }
    #particle-viewer-window{
        width:500px;
    }
}
@media only screen and (min-width: 1000px) {
    #particle-viewer-window{
        width:900px;
    }
}

.no-of-results-label{
}

.no-of-results-num{
    font-weight:bold;
}

.no-of-results-div{
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    display: block;
    overflow: hidden;
}

.particle-results{
    max-height:500px;
    overflow-y:scroll;
    overflow-x:hidden;
}

.particle-results-table{
    width:100%
}
.particle-results-table, .particle-results-table th, .particle-results-table td{
    border:1px solid #c1c1c1;
    background-color: #e5e7f0;
    padding:3px;
}
.particle-results-table th{
    font-weight:bold;
    background-color: #e5e7f0;
    padding-top:5px;
    padding-bottom:5px;
}

.particle-results-section{
    position:relative;
    overflow-x:hidden;
    overflow-y:hidden;
}

.particle-results .particle{
    cursor:pointer;
}
.particle-results .particle:hover td{
    background-color:#acacac;
}

#viewport, #graph{
    min-height:200px;
}
@media only screen and (min-width: 380px) {
    #viewport, #graph{
        min-height:400px;
    }
}
.search-controls{
    margin-bottom: 0px !important;
}

.search-controls .form-group{
    display:block;
    overflow:hidden;
    margin-bottom:10px;
}

.search-controls .form-group select{
    padding-left:2px;
}

.search-controls .form-group .search-button-container{
    margin-left:10px;
    margin-right:10px;
}
.team-section{
    display:block;
    margin-left:auto;
    margin-right:auto;
    margin-top: 20px;
}
.team-section .group-name{
    font-weight:bold;
    font-size:20pt;
    margin-left:auto;
    margin-right:auto;
    display:block;
    width:max-content;
    overflow:hidden;
    height: 27px;
}
.team-name{
    margin-left:auto;
    margin-right:auto;
    width:max-content;
    font-size:15pt;
}
.teams-logos-container{
    margin-left:auto;
    margin-right:auto;
    margin-top:30px;
    padding-bottom: 20px;
    width:max-content;
}
.teams-logos-container >a{
    margin-left:20px;
    margin-right:20pt;
}
.noUi-tooltip {
    display: none;
}
.noUi-active .noUi-tooltip {
    display: block;
}

/*#composition-slider .noUi-tooltip {
    display: none!important;
}
#composition-slider .noUi-active .noUi-tooltip {
    display: block!important;
}*/


/*.search-controls #results-search-button{
    margin: 0px 10px 10px 0px;
}*/

.footer{
    color: #737373;
}
.footer a{
    text-decoration: underline;
    color: #636363;
}
.footer a:hover{
    color: 838383;
}

.footer .row{
    margin-left:0px;
    padding-left:0px;
}
.footer .row > *{
    margin-left:0px;
    padding-left:0px;
}