* { box-sizing: border-box; }

body {
  font-family: sans-serif;
}

/* ---- input ---- */

input[type="text"] {
  font-size: 20px;
}

input::placeholder {
  color: #aaa;
}

/* ---- button ---- */

.about-main article {
	width: 100%;
	margin: 0;
	padding: 0;
}

.button {
  display: inline-block;
  padding: 0.5em 1.0em;
  margin-bottom: 10px;
    color: #0092c5;
  border: 1px solid #0092c5;
  background-color: #fff;
  cursor: pointer;
  font-family: sans-serif;
  font-size: 0.9em;
  border-radius: 0;
  outline: none;
}

.button:hover {
  background-color: #eff1ff;
  border: 1px solid #0092c5;
  border-radius: 0;
  outline: none;
}

.button:active,
.button.is-checked {
  background-color: #0092c5;
  border: 1px solid #0092c5;
  border-radius: 0;
  outline: none;
}

.button:focus {
  border: 1px solid #0092c5;
  border-radius: 0;
  outline: none;
}

.button.is-checked {
  color: white;
  border: 1px solid #0092c5;
  border-radius: 0;
  outline: none;
}

.button:active {
  border: 1px solid #0092c5;
  border-radius: 0;
  outline: none;
}

/* ---- button-group ---- */

.button-group:after {
  content: '';
  display: block;
  clear: both;
}


.button-group .button {
    flex: 1 1 110px;
    border-radius: 0;
    margin-bottom: 4px;
    margin-left: 2px;
    margin-right: 2px;
    border: 1px solid #0092c5;
    padding: 6px 4px;

}

.button-group {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    margin: 0 25px;

}

.button-group-customers-page:after {
  content: '';
  display: block;
  clear: both;
}



a.buttonlink {
    text-decoration: none;
    color: #444;
	padding: 2px 10px;
	margin: 5px 0;
	background: #efefef;
	position: absolute;
    bottom: 10px;
    left: 105px;
}

/* ---- grid ---- */

.grid {
	min-height: 500px;
	clear: both;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .element-item ---- */

.element-item {
  display: inline-block;
  vertical-align: middle;
  width: 300px;
  height: 250px;
  margin: 5px 5px 5px 5px;
  padding: 0.5em;
  background: #fff;
  color: #262524;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 10px;
}

#customers-list {
margin: 0 25px;
}

#customers-list .element-item {
width: 290px;
height: 150px;
margin: 22px 22px 0 2px;
}


@media screen and (max-width: 700px) {
#customers-list .element-item {
width: 200px;
height: 150px;
margin: 4px 6px 0 2px;
}
}










.element-item > * {
  margin: 0 0.5em 0 0;
  padding: 0;
  font-size: 0.9em;
}

.element-item .name {
	font-weight: bold;
	margin-top: 10px;
}

.element-item .country {
	color: #aaa;
}

.element-item .searchableinfo {
	display: none;
}

.element-item .logo {
  text-align: center;
  line-height: 70px;

}

#customers-list .element-item .logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}



.element-item .logo img {
  max-height: 60px;
  max-width: 180px;
  vertical-align: middle;
}

#customers-list .element-item .logo img {
  max-height: unset;
  max-width: unset;
}

@media screen and (max-width: 700px) {
    #customers-list .element-item .logo img {
        display: block;
        max-width: 150px;
        max-height: 100px;

    }
}


.element-item.alkali          { background: #F00; background: hsl(   0, 100%, 50%); }
.element-item.alkaline-earth  { background: #F80; background: hsl(  36, 100%, 50%); }
.element-item.lanthanoid      { background: #FF0; background: hsl(  72, 100%, 50%); }
.element-item.actinoid        { background: #0F0; background: hsl( 108, 100%, 50%); }
.element-item.transition      { background: #0F8; background: hsl( 144, 100%, 50%); }
.element-item.post-transition { background: #0FF; background: hsl( 180, 100%, 50%); }
.element-item.metalloid       { background: #08F; background: hsl( 216, 100%, 50%); }
.element-item.diatomic        { background: #00F; background: hsl( 252, 100%, 50%); }
.element-item.halogen         { background: #F0F; background: hsl( 288, 100%, 50%); }
.element-item.noble-gas       { background: #F08; background: hsl( 324, 100%, 50%); }

	
	#qsearch { float: left; padding: 0 10px 0 5px; margin: 0 26px;
	}
	#quicksearch {
		padding: 0.25em 1em;
		width: 400px;
		font-size: 0.9em;
		font-family: sans-serif;
		margin-bottom: 10px;
		border: 1px solid #ccc;
		border-radius: 4px;
		color: #555;
		}
		
		

	
@media screen and (max-width: 1500px) {
	#qsearch { float: none;}
}

