:root {
	--color1: #d6e1e5;
}

/* COMMON OVERRIDES FOR BOOTSTRAP */
label {
	font-weight: normal!important;
}

/* DRUNKEN PARROT RELATED STYLING */
.form-control {
    border: 1px solid #d3d3d3;
    color: #636363;
    font-size: 16px;
    line-height: 1.467;
    padding: 7px 12px;
    height: 40px;
    background-color: #f3fafd;
    -webkit-appearance: none;
    border-radius: 4px;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: border .25s linear,color .25s linear,background-color .25s linear;
    transition: border .25s linear,color .25s linear,background-color .25s linear;
}
select.form-control {
    -webkit-appearance: auto;
}
.form-horizontal .control-label, 
.form-horizontal .radio, 
.form-horizontal .checkbox, 
.form-horizontal .radio-inline, 
.form-horizontal .checkbox-inline {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
}
body#checkout .form-horizontal .control-label {
	line-height: 2.4;
}
.input-icon [class*="ss-"] {
    position: absolute;
    top: 50%;
    left: 15px;
    margin-top: -11px;
    color: #d6e0e5;
}
.input-required .input-icon-edit span.req {
    right: 11px;
}
.input-required span.req {
    width: 20px;
    height: 40px;
    position: absolute;
    overflow: hidden;
    display: block;
    right: 10px;
    top: -15px;
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
}
.input-required span.req:before {
    font-size: 20px;
    content: "*";
    top: 9px;
    right: 3px;
    color: white;
    position: absolute;
    z-index: 2;
}
.input-required span.req:after {
    content: '';
    width: 40px;
    height: 40px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    background: #ffa73d;
    position: absolute;
    top: 0;
    right: -32px;
    border-radius: 3px;
    -moz-border-radius: 10px;
}

/* CONTAINERS */
.checkbox-default1,
.radio-default1,
.selectbox-inlined,
.switch-default1 {
	display: flex;
	align-items: center;
    justify-content: left;
}	

/* CHECKBOX */
input[type=checkbox].default1 {
	appearance: none;
	background-color: #fff;
	margin: 0 .3em 0 0!important;
	font: inherit;
	color: currentColor;
	flex: 0 0 auto;
	width: 1.4em;
	height: 1.4em;
	border: 1px solid #d6e1e5;
	border-radius: 4px;
	display: grid;
  	place-content: center;
  	outline: none;
  	transform: translateY(-0.075em);
  	cursor: pointer;
}
input[type=checkbox].default1::before {
	content: "";
	width: 0.85em;
	height: 0.85em;
	transform: scale(0);
	transition: 120ms transform ease-in-out;
	box-shadow: inset 1em 1em #00aeef;
	transform-origin: bottom left;
	clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
input[type=checkbox].default1:checked::before {
  	transform: scale(1);
}
input[type=checkbox].default1:focus {
  	/*outline: max(2px, 0.15em) solid currentColor;*/
  	outline: none;
  	outline-offset: max(2px, 0.15em);
}

/* RADIO */
input[type=radio].default1 {
	appearance: none;
	background-color: #fff;
	margin: 0 .3em 0 0!important;
	font: inherit;
	color: currentColor;
	flex: 0 0 auto;
	width: 1.4em;
	height: 1.4em;
	border: 1px solid #d6e1e5;
	border-radius: 50%;
	display: grid;
  	place-content: center;
  	outline: none;
  	transform: translateY(-0.075em);
  	cursor: pointer;
}
input[type=radio].default1::before {
	content: "";
	width: 0.85em;
	height: 0.85em;
	transform: scale(0);
	transition: 120ms transform ease-in-out;
  	box-shadow: inset 1em 1em #00aeef;
  	border-radius: 50%;
}
input[type=radio].default1:checked::before {
	transform: scale(1);
}
.radio-smaller input[type=radio].default1 {
	width: 1em;
	height: 1em;
}
.radio-smaller input[type=radio].default1::before {
	width: .5em;
	height: .5em;
}

/* SWITCH */
.switch-default1 .switch-toggle {
  	--width: 80px;
  	--height: calc(var(--width) / 3);

	position: relative;
	display: inline-block;
	width: var(--width);
	height: var(--height);
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
	border-radius: var(--height);
	cursor: pointer;
	margin-bottom: 0 !important;
}

.switch-default1 .switch-toggle input {
 	display: none;
}

.switch-default1 .switch-toggle .slider {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: var(--height);
	background-color: #ccc;
	transition: all 0.4s ease-in-out;
}

.switch-default1 .switch-toggle .slider::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: calc(var(--height));
	height: calc(var(--height));
	border-radius: calc(var(--height) / 2);
	background-color: #fff;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
	transition: all 0.4s ease-in-out;
}

.switch-default1 .switch-toggle input:checked+.slider {
 	background-color: #2196F3;
}

.switch-default1 .switch-toggle input:checked+.slider::before {
	transform: translateX(calc(var(--width) - var(--height)));
}

.switch-default1 .switch-toggle .labels {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	font-size: 12px;
	font-family: sans-serif;
	transition: all 0.4s ease-in-out;
	display: inline-flex;
    align-items: center;
}

.switch-default1 .switch-toggle .labels::after {
	content: attr(data-off);
	position: absolute;
	right: 5px;
	color: #4d4d4d;
	opacity: 1;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
	transition: all 0.4s ease-in-out;
}

.switch-default1 .switch-toggle .labels::before {
	content: attr(data-on);
	position: absolute;
	left: 5px;
	color: #ffffff;
	opacity: 0;
	text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.4);
	transition: all 0.4s ease-in-out;
}

.switch-default1 .switch-toggle input:checked~.labels::after {
	opacity: 0;
}

.switch-default1 .switch-toggle input:checked~.labels::before {
	opacity: 1;
}

/* LABELS */
label.default1 {
	line-height: inherit;
	margin: 0;
	font-weight: 400;
}

/* SELECT */
.selectbox-inlined {
    grid-gap: 0.75rem;
}
.selectbox-inlined select {
	width: auto !important;
}

@media all and (max-width: 500px) {
	.selectbox-inlined {
	    flex-wrap: wrap;
	}
}
