@font-face {
  font-family: "Montserrat";
  font-weight: normal;
  src: url(../font/MontserratR.ttf) format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-weight: bold;
  src: url(../font/MontserratB.ttf) format("truetype");
}

body {
  font-family: Montserrat, sans-serif !important;
  background-image: url(../img/bg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #000 !important;
  color: #fff !important;
}

.mainBox {
  display: flex;
  height: 100vh;
}

.loginBox {
  border: 3px solid #ffb900;
  border-radius: 20px;
}

.header, .menuBox, .contentBox, .mainButton {
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.menuItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 5px;
  width: 110px;
  height: 110px;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.2);
  background-position: top 15px center;
  background-repeat: no-repeat;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  cursor: pointer;
}

.menuItem:hover, .mainButton:hover {
  border: 3px solid #ffb900;
}

.gameSettings {
  background-image: url(../img/gameSettingsW.svg);
}

.menuItem.active.gameSettings {
  background-image: url(../img/gameSettingsB.svg);
}

.missionMenu {
  background-image: url(../img/missionW.svg);
}

.menuItem.active.missionMenu {
  background-image: url(../img/missionB.svg);
}

.targetMenu {
  background-image: url(../img/targetW.svg);
}

.menuItem.active.targetMenu {
  background-image: url(../img/targetB.svg);
}

.teamsMenu {
  background-image: url(../img/teamsW.svg);
}

.menuItem.active.teamsMenu {
  background-image: url(../img/teamsB.svg);
}

.resultsMenu {
  background-image: url(../img/resultsW.svg);
}

.menuItem.active.resultsMenu {
  background-image: url(../img/resultsB.svg);
}

.menuItem.active {
  color: #000;
  background-color: #ffb900;
  border: 3px solid #ffb900;
}

.mainButton {
  background-color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.mainButton.inactive {
  filter: grayscale(100%) opacity(0.6);
}

.mainButton:hover.inactive {
  border: 3px solid rgba(255, 255, 255, 0.2);
  cursor: default;
}

.header {
  font-size: 1.5em;
}

.content {
  overflow-x: hidden;
  overflow-y: auto;
}

.mission, .target, .teams, .results, .limit, .openedlock, .solution, .cardcreated {
  padding-left: 2.6rem;
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
  font-size: 1.5rem;
}

.mission {
  background-image: url(../img/mission.svg);
}

.target {
  background-image: url(../img/target.svg);
}

.teams {
  background-image: url(../img/teams.svg);
}

.results {
  background-image: url(../img/results.svg);
}

.openedlock {
  background-image: url(../img/openedlock.svg);
}

.limit {
  background-image: url(../img/limit.svg);
}

.solution {
  background-image: url(../img/solution.svg);
}

.cardcreated {
  background-image: url(../img/cardcreated.svg);
}

.targetType, .targetInput {
  width: 2rem;
  height: 2rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.targetType.S {
  background-image: url(../img/soundIcon.svg);
}

.targetType.I {
  background-image: url(../img/pictureIcon.svg);
}

.targetType.V {
  background-image: url(../img/videoIcon.svg);
}

.targetInput.T {
  background-image: url(../img/textIcon.svg);
}

.targetInput.N {
  background-image: url(../img/numberIcon.svg);
}

.flex-1 {
  flex: 1;
  min-width: 0;
  min-height: 0;
}

.w-100-px {
  width: 100px;
}

.w-150-px {
  width: 150px;
}

.w-200-px {
  width: 200px;
}

.w-4-rem {
  width: 4rem;
}

.w-6-rem {
  width: 6rem;
}

.w-7-rem {
  width: 7rem;
}

.w-8-rem {
  width: 8rem;
}

.w-9-rem {
  width: 9rem;
}

.w-10-rem {
  width: 10rem;
}

.w-15-rem {
  width: 15rem;
}

.h-2-rem {
  height: 2rem;
}

.mh-20-rem {
  max-height: 20rem;
}

/*checkbox*/
input[type=checkbox].checkbox {
	position: absolute;
	z-index: -1000;
	left: -1000px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
}

input[type=checkbox].checkbox + label.checkboxLabel {
	padding-left: 28px;
	height: 20px;
	display: inline-block;
	line-height: 18px;
	background-repeat: no-repeat;
	background-position: 0 0;
	font-size: 15px;
	vertical-align: middle;
	cursor: pointer;
}

input[type=checkbox].checkbox:checked + label.checkboxLabel {
	background-position: 0 -20px;
}

label.checkboxLabel {
	background-image: url(../img/checkbox.svg);
	user-select: none;
}

input[type=checkbox].checkbox:disabled + label.checkboxLabel {
  opacity: 0.3;
  cursor: not-allowed;
}

/*radio*/
input[type=radio].radio {
	position: absolute;
	z-index: -1000;
	left: -1000px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
}

input[type=radio].radio + label.radioLabel {
	padding-left: 28px;
	height: 20px;
	line-height: 20px;
	display: inline-block;
	background-repeat: no-repeat;
	background-position: 0 0;
	vertical-align: middle;
	cursor: pointer;
}

input[type=radio].radio:checked + label.radioLabel {
	background-position: 0 -20px;
}

label.radioLabel {
	background-image: url(../img/radio.svg);
	user-select: none;
}

/*bootstrap tune*/

.form-control:focus {
  border-color: #ffb900 !important;
  box-shadow: 0 0 0.6rem 0.2rem rgba(255, 185, 0, 0.8) !important;
}

.modal-open .modal {
  overflow-y: hidden !important;
}

.modal-content {
  background-color: #282828 !important;
  box-shadow: 0 0 8rem 2rem rgba(255, 185, 0, 0.3);
}

.modal-header {
  background-color: #ffb900;
  color: #000;
  padding: .6rem 1rem !important;
  border-bottom: 3px solid rgba(255, 255, 255, 0.2) !important;
  border-top-left-radius: .5rem !important;
  border-top-right-radius: .5rem !important;
}

.modal-header > .close {
  margin: -.6rem -1rem -1rem auto !important;
  opacity: 1;
}

.modal-footer {
  border-top: 3px solid rgba(255, 255, 255, 0.2) !important;
}

label {
  margin-bottom: 3px !important;
}

.btn-xs {
  padding: 0.1rem 0.3rem !important;
  font-size: 0.8rem !important;
}

.btn:disabled {
  background-color: #999 !important;
  color: #fff !important;
  border: 1px solid #999 !important;
  cursor: not-allowed;
}

::-webkit-scrollbar {
	width: 12px;
	background-color: none;
}

::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background-color: #b2b2b2;
}

::-webkit-scrollbar-track {
	background-color: none;
}

.trumbowyg-box {
  margin: 0 auto !important;
  min-height: 10rem !important;
}

.trumbowyg-editor {
  min-height: 10rem !important;
}
