:root {
  --main-blue: #040FD9;
  --dark-blue: #1E4FA8;
  --gray: #eee;
}

#eyecatch {
  background-image: url(/assets/images/simulator/eyecatch.jpg);
}

#gNav .drone::before {
  background: transparent;
  height: 20px;
  width: 10px;
  content: "";
  display: block;
  margin: 0 auto 10px;
}

.btn {
	font-size: 1em;
	line-height: 1;
}

.strong {
	font-size: 150%;
	font-weight: bold;
}

.smaller {
	font-size: 70%;
}

.smallest {
	font-size: 50%;
}

.fit-image {
	object-fit: contain;
}

.fit-image-cover {
	object-fit: cover;
	font-family: "object-fit: cover;";
}


.inner-contents {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.preview-wrapper .parts-img {
	position: absolute;
	top: 0;
	left: 0;
}

.item-frame {
	overflow-y: scroll;
	height: auto;
	position: relative;
}

.item-frame:before {
	content: "";
	display: block;
	padding-top: 48%;
}

.item-frame .item {
	flex: 0 0 20%;
	max-width: 20%;
	margin-top: 5px;
	margin-bottom: 5px;
	line-height: 1;
}

.item-frame .item .color-box {
	display: block;
	width: 100%;
	height: auto;
	background-color: transparent;
	position: relative;
	overflow: hidden;
}
.item-frame .item .color-box:before {
	content: "";
	display: block;
	width: 100%;
	padding-top: 67%;
}
.item-frame .item.selected .color-box:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 3px solid var(--main-blue);
}

.expander {
	overflow: hidden;
	flex-grow: 1;
}

.expander .item-frame {
	width:  100%;
	height: 100%;
}

.expander .item-frame .item {
	flex: 0 0 33.33%;
	max-width: 33.33%;
	margin-top: 5px;
	margin-bottom: 5px;
	line-height: 1;
	padding-left: 5px;
	padding-right: 5px;
}


#ChoiceBlock > .row {
	margin-left: 0;
	margin-right: 0;
}

#ChoiceBlock .btn {
  color: var(--main-blue);
  background-color: var(--gray);
  border: 2px solid var(--main-blue);
  font-weight: bold;
  transition: 0.5s;
}
#ChoiceBlock .btn::after {
  content: "▼";
}
#ChoiceBlock .btn.save::after {
  content: "";
}

#ChoiceBlock .btn:hover {
  color: var(--gray);
  background-color: var(--main-blue);
}

#ChoiceBlock .border-bottom {
  border-color: var(--gray) !important;
  padding-bottom: 0.5rem;
}

#type .rounded {
  border-radius: 0.5rem !important;
}

#type h4 {
	position: relative;
}

#type h4 .material-icons {
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%) rotate(180deg);
}

#type h4.open .material-icons {
	transform: translateY(-50%);
}

#type dt {
  display: inline-block;
  border-radius: 35px;
  color: #fff;
  background-color: var(--dark-blue);
  text-align: center;
  padding: 0 1rem;
  margin-bottom: 0.5rem;
	font-size: 14px;
	font-weight: 400;
}


@media (min-width: 992px) {
	.h-md-3 {
		font-size: 1.75rem;
	}

	#ChoiceBlock > .row {
		margin-left: -15px;
		margin-right: -15px;
	}

	#type h4 .material-icons {
		display: none;
	}

	#type .expander {
		display: block !important;
	}
}