* {
  box-sizing: border-box;
}

html, body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: 'Roboto', sans-serif;
}

div.selector_container {
  height: 100px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  width: 90%;
}

div.selector_wrapper {
  margin: auto;
  width: 100%;
}

div.selector_item {
  border: 2px solid #e9c103;
  border-bottom-right-radius: 30px;
  border-top-left-radius: 30px;
  float: left;
  height: 70px;
  line-height: 50px;
  margin: 10px 0.5% 50px 0.5%;
  padding-top: 10px;
  position: relative;
  width: 16%;
  color: #e9c103;
  font-weight:bold;
  font-size: 1em;
}

div.purple {
    border: 2px solid #4f3170;
  color: #4f3170;
}

div.selector_item:hover {
 border: 2px solid grey;
 cursor: pointer;
}

div.detail_container {
  display: none;
  margin: 0 auto;
  padding: 5px;
  width: 90%;
}

div.item_header {
  background-color: pink;
  border: 2px solid red;
  border-bottom-right-radius: 30px;
  border-top-left-radius: 30px;
  box-sizing: border-box;
  clear: both;
  height: 80px;
  line-height: 80px;
  margin: 0 0.5% 20px 0.5%;
  text-align: center;
  width: 99%;
}

div.item_container {
  float: left;
  clear: none;
  height: 150px;
  line-height: 150px;
  margin: 0 0.5%;
  text-align: center;
  width: 19%;
  padding: 0 5px;
}

div.item_text {
  border: 2px solid white;
  border-bottom-right-radius: 30px;
  border-top-left-radius: 30px;
  float: left;
  clear: none;
  height: 80px;
  line-height: 20px;
  text-align: center;
  width: 100%;
  padding: 8px 8px 0 8px;
}

span.arrow {
  display: inline-block;
  width: 100%;
  float: left;
  height: 48px;
  line-height: 48px;
  background-image: url(Images/arrow-down.png);
  background-position: center center;
  background-repeat: no-repeat;
}

.target1 .item_header
{
    background-color: white;
    border: 2px solid #504bad;
	color: #504bad;
	font-size: 1em;
	font-weight: bold;
}
.target1 .item_text {
    background-color: white;
    border: 2px solid #504bad;
	color: #504bad;
	font-size: 1em;
}

.target2 .item_header{
    background-color: white;
    border: 2px solid #4bad67;
	color: #4bad67;
	font-size: 1.1em;
	font-weight: bold;
}

.target2 .item_text {
    background-color: white;
    border: 2px solid #4bad67;
	color: #4bad67;
	font-size: 1em;
}

.target3 .item_header{
    background-color: white;
    border: 2px solid #848484;
	color: #848484;
	font-size: 1em;
	font-weight: bold;
}

.target3 .item_text {
    background-color: white;
    border: 2px solid #848484;
	color: #848484;
	font-size: 1em;
}

.target4 .item_header{
    background-color: white;
    border: 2px solid #e6790d;
	color: #e6790d;
	font-size: 1.1em;
	font-weight: bold;
}

.target4 .item_text {
    background-color: white;
    border: 2px solid #e6790d;
	color: #e6790d;
	font-size: 1em;
}

.target5 .item_header    {
    background-color: white;
    border: 2px solid #4f3170;
	color: #4f3170;
	font-size: 1.1em;
	font-weight: bold;
}

@media screen and (max-width: 700px) {
  div.item_header {
    margin-bottom: 30px;
  }

  div.item_container {
    float: right;
    clear: right;
    height: 60px;
    line-height: 60px;
    margin: 5px 0.5%;
    width: calc(100% - 6px);
  }
  
  div.item_text {
    float: right;
    clear: right;
    height: 60px;
    line-height: 60px;
    width: 85%;
	padding: 0;
  }

  span.arrow {
    width: 15%;
    float: left;
    height: 60px;
    background-image: url(Images/arrow-right.png);
    background-position: center center;
    background-repeat: no-repeat;
  }
}
