/* SCROLLBARS FOR TASTES */
.list-group {
  max-height:230px;
  overflow-y:scroll;
  overflow-x:hidden;
}

.list-group::-webkit-scrollbar-track {
  webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  border-radius: 10px;
  background-color: #F5F5F5;
}

.list-group::-webkit-scrollbar {
  width: 10px;
  background-color: #F5F5F5;
}

.list-group::-webkit-scrollbar-thumb {
  border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
}

.bd-example {
    width: 90%;
    position: relative;
    padding: 1rem 1rem 0 1rem;
    margin: 1rem -15px 1.5rem;
    border: solid #f7f7f9;
    border-width: .2rem;
}

.sw.sw-justified>.nav .nav-link, .sw.sw-justified>.nav>li {
    max-height: 64px;
}
@media only screen and (max-width: 600px) {
	.bd-example {
		padding: 1rem 1rem 1rem 1rem;
	}
}

#step-4 label {
    margin-bottom: 0;
}

#step-4 li:not(:last-child) {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

#step-4 span {
    margin-left: 0.5rem;
}

/* CHECKBOX FOR PRODUCT TYPES */
.product_type_label{
	cursor: pointer;
    position: relative;
	padding:10px;
	z-index:0;
}
.product_type_name{
	font-weight: normal;
	display: block;
	margin-top: 12px;
}
.type_checkbox{
	top: 50%;
	width: 13px;
    height: 13px;
    margin: 2px 10px 0 3px;
    display: inline-block;
    vertical-align: baseline;
	position: absolute !important;
    clip: rect(0, 0, 0, 0);
	border: 0;
    overflow: hidden;
}
.product_type_card label{
	transition: all 0.5s;
}
.product_type_card:hover label{
	border: 1px solid #ddd;
}
.product_type_card_selected label{
	box-shadow: 0 0 20px 0 rgba(0,0,0,0.1);
	border: 1px solid #E0E0E0;
}
.product_type_card_selected > label > .product_type_name{
	font-weight: 700;
}
.product_type_image:after {
	content: "\2714";
	content: "";
    background: url("../img/Check-icon.png") no-repeat;
    opacity: 0;
    position: absolute;
    top: 36%;
    left: 36%;
    -margin: -16px 0 0 -16px;
    width: 56px;
    height: 56px;
    transition: all 0.5s;
}
.product_type_card_selected > label > .product_type_image:after {
    opacity: 1;
}

#checkedFlavors span {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

/* DARK MODE SWITCH */
.onoffswitch {
    position: relative; width: 90px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 2px solid #999999; border-radius: 20px;
}
.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 30px; padding: 0; line-height: 30px;
    font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-inner:before {
	content: "\f186";
	font-family: FontAwesome;
    padding-left: 10px;
    background-color: #34A7C1; color: #FFFFFF;
}
.onoffswitch-inner:after {
	font-family: FontAwesome;
    content: "\f185";
    padding-right: 10px;
    background-color: #EEEEEE; color: #999999;
    text-align: right;
}
.onoffswitch-switch {
    display: block; width: 18px; margin: 6px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 56px;
    border: 2px solid #999999; border-radius: 20px;
    transition: all 0.3s ease-in 0s; 
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px; 
}

.sw>.nav {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
}

@media screen and (max-width: 640px) {
    .sw.sw-justified>.nav .nav-link, .sw.sw-justified>.nav>li {
    height:65px;
}
}