.infotext {
    width: 1560px;
}

.infoTextName {
    margin: 10px 0px 10px 0px;
    padding: 0px;
    
}

.infoTextFiled {
    margin: 0px 0px 5px 0px;
    padding: 0px;
}

.tableholder {
    width: 1800px;
    margin-bottom: 10px;
    display: inline-block;
}

.periodictable {
    float: left;
    height: 900px;
    width: 1560px;
    display: inline-block;
    margin-right: 0px;
    padding: 0px;
}

.legend {
    float: left;
    width: 200px;
    display: inline-block;
    vertical-align: top;
    margin-left: 10px;
    padding: 0px;
}

.plotsMain{
    display: inline-block;
    margin-top: 10px;
    width: 1800px;
}

.histholder{
    float: left;
    vertical-align: top;
    margin: 10px;
    width: 580px;
}

.histograms {
    width: 580px; 
    height: 400px;
}

.histname{
    width: 580px;
    margin-top: 20px;
    margin-bottom: 0px;
    text-align: center;
}

.histsub{
    width: 580px;
    margin-top: 10px;
    margin-bottom: 0px;
    text-align: center;
    font-size: 10px;
}

.pieholder{
    float: left;
    vertical-align: top;
    margin: 10px;
    width: 580px;
}

.pie {
    width: 400px; 
    height: 400px;
    margin-left: 90px;
    margin-right: 90px;
}

.piename{
    width: 580px;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.nodatanotification{
    width: 700px;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: left;
}

.buttontoclear{
    margin-bottom: 10px;
    margin-top: 2px;
    margin-left: 10px;
}

.labelname {
    width: 200px;
}

.labelname span {
    white-space: nowrap;
    font-size: 12px;
    vertical-align: top;
    margin-left: 5px;
}

.box {
    margin: 0px;
    padding: 0px;
    display: inline-block;
    height: 20px;
    width: 20px;
    border: 1px solid;
}

.element {
    text-align: center;
    display: inline-block;
    border-style: solid;
    border-width: 1px;
    border-color: black;
    height: 9.5%;
    width: 5.1%;
    vertical-align: top;
    margin: 0px 0px 0px 0px;
    cursor: pointer;
}

.atomicNumber {
    margin-top: 6px !important;
}

.element p {
    font-size: 10px;
    margin: 0px 0px 0px 0px;
}

.element h3 {
    margin: 0px 0px 0px 0px;
}

.element.small{
    height: 2% !important;
}

.alkaliearth {
    background-color: #f3c9d6;
}

.alkalineearth {
    background-color: #e3e9dd;
}

.halogen {
    background-color: #f3ffd1;
}

.metalloids {
    background-color: #f6d3d0;
}

.nonmetal {
    background-color: #f9e9d7;
}

.othermetal {
    background-color: #f9e0e2;
}

.rareearth {
    background-color: #e6d8f0;
}

.transition {
    background-color: #d4e5e3;
}

.noblegas {
    background-color: #c4e1e9;
}

.bigRadii{
    background-color: rgb(127, 57, 153); 
    border-style: none solid solid solid !important;
}

.middleRadii{
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(152, 245, 214)), to(rgb(127, 57, 153))); /* Chrome, Safari 4+ */
    background-image: -webkit-linear-gradient(top, rgb(152, 245, 214), rgb(127, 57, 153)); /* Chrome 10-25, iOS 5+, Safari 5.1+ */
    background-image: -moz-linear-gradient(top, rgb(152, 245, 214), rgb(127, 57, 153)); /* Firefox 3.6-15 */
    background-image: -o-linear-gradient(top, rgb(152, 245, 214), rgb(127, 57, 153)); /* Opera 11.10-12.00 */
    background-image: linear-gradient(to bottom, rgb(152, 245, 214), rgb(127, 57, 153)); /* Chrome 26, Firefox 16+, IE 10+, Opera 12.10+ */
    border-style: none solid none solid !important;
}

.smallRadii{
    background-color: rgb(152, 245, 214); 
    border-style: solid solid none solid !important;
}

.negativeBigRadii{
    background-color: rgb(245, 231, 174); 
    border-style: none solid solid solid !important;
}

.negativeMiddleRadii{
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(158,47,47)), to(rgb(245, 231, 174))); /* Chrome, Safari 4+ */
    background-image: -webkit-linear-gradient(top, rgb(158,47,47), rgb(245, 231, 174)); /* Chrome 10-25, iOS 5+, Safari 5.1+ */
    background-image: -moz-linear-gradient(top, rgb(158,47,47), rgb(245, 231, 174)); /* Firefox 3.6-15 */
    background-image: -o-linear-gradient(top, rgb(158,47,47), rgb(245, 231, 174)); /* Opera 11.10-12.00 */
    background-image: linear-gradient(to bottom, rgb(158,47,47), rgb(245, 231, 174)); /* Chrome 26, Firefox 16+, IE 10+, Opera 12.10+ */
    border-style: none solid none solid !important;
}

.negativeSmallRadii{
    background-color: rgb(158,47,47); 
    border-style: solid solid none solid !important;
}

.element.empty {
    color: white;
    border-color: white;
    user-select: none; 
    cursor: inherit;
    -o-user-select: none; 
    -moz-user-select: none; 
    -khtml-user-select: none; 
    -webkit-user-select: none;
}

.greyout{
    user-select: none; 
    -o-user-select: none; 
    -moz-user-select: none; 
    -khtml-user-select: none; 
    -webkit-user-select: none;
    opacity: 0.5;
    pointer-events: none;
}

.comparison_na{
    background-color: #c8c7d6 !important;
    color: grey !important;
    border-color: black !important;
}

.hide {
    display: none;
}

.loader {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
