/* Styles for MITx Courses and Related OCW Courseware */

select {
  background-color: #f2f2f2;
  font-size: 15px;
  border: 1px solid #999999;
  width: 222px;
  padding: 5px;
}

option:nth-child(even) {background: #f2f2f2; padding:5px;}
option:nth-child(odd) {background: #FFF; padding:5px;}

.mitx-grid {
  border: 1px solid #333;
  width: 692px;
}

.mitx-thumb{
	border: 1px solid #e5e0db;
    border-radius: 2px;
    display: block;
    height: 150px;
    margin: auto;
}

.mitx-wrap p {      /* remove the extra spaces */
  margin: 0;
  padding: 0; 	
}

.mitx-status {
	color:#a31f34;	
}

.mitx-multi.mitx-help {
    font-size: 1.3em;
    line-height: 1.23;
    margin-bottom: 1.3em;
  }

/* ---- .mitx-course-item ---- */

.mitx-course-item {
  position: relative;
  float: left;
  width: 220px;
  height: 375px;
  margin: 5px;
  padding: 10px;
  background: #bbbbbb;
  color: #262524;
  box-sizing: border-box;
}

.mitx-course-item .mitx-title {
  position: absolute;
  left: 10px;
  top: 172px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
  font-weight: bold;
}

.mitx-course-item .mitx-details {
  position: absolute;  
  top: 210px;  
}

.button {
  display: inline-block;
  padding: 10px 18px;
  margin-bottom: 10px;
  background: #EEE;
  border: none;
  border-radius: 7px;
  background-image: linear-gradient( to bottom, hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.2) );
  color: #222;
  font-family: sans-serif;
  font-size: 16px;
  text-shadow: 0 1px white;
  cursor: pointer;
}

.button:hover {
  background-color: #8CF;
  text-shadow: 0 1px hsla(0, 0%, 100%, 0.5);
  color: #222;
}

.button:active,
.button.is-checked {
  background-color: #28F;
}

.button.is-checked {
  color: white;
  text-shadow: 0 -1px hsla(0, 0%, 0%, 0.8);
}

.button:active {
  box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);
}

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

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

.button-group .button {
  float: left;
  border-radius: 0;
  margin-left: 0;
  margin-right: 1px;
}

.button-group .button:first-child { border-radius: 0.5em 0 0 0.5em; }
.button-group .button:last-of-type{ border-radius: 0 0.5em 0.5em 0; }