﻿/*************************checkbox**************************************/
.cbround {
  position: relative;
  margin-top: 0.8em;
}

.cbround label {
  backgcbround-color: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
  height: 28px;
  left: 0;
  position: relative;
  top: 0;
  width: 28px;
}

.cbround.inline + label {display: inline-block; padding-left: 10px;width: calc( 100% - 40px )}
.cbround.inline { display: inline-block;}
.cbround.square label { border-radius: 20%; }


.cbround label:after {
  border: 2px solid #fff;
  border-top: none;
  border-right: none;
  content: "";
  height: 6px;
  left: 7px;
  opacity: 0;
  position: absolute;
  top: 8px;
  transform: rotate(-45deg);
  width: 12px;
}

.cbround input[type="checkbox"] {
  visibility: hidden;
  display: none;
}

.cbround input[type="checkbox"]:checked + label {
	background-color: #66bb6a;
	border-color: #66bb6a;
}

.cbround input[type="checkbox"]:checked + label:after {
  opacity: 1;
}

/********************* Radio ***************************/

.option-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 28px;
  width: 28px;
  -webkit-transition: all 0.15s ease-out 0s;
  -moz-transition: all 0.15s ease-out 0s;
  transition: all 0.15s ease-out 0s;
  background: #cbd1d8;
  border: none;
  color: transparent;
  cursor: pointer;
  display: inline-block;
  margin-right: 0.5rem;
  outline: none;
  position: relative;
  z-index: 1000;
}
.option-input:hover {
  background: #9faab7;
}
.option-input:checked {
  background: #66bb6a;
}

.option-input:checked::before {
  border: 2px solid #fff;
  border-top: none;
  border-right: none;
  content: "";
  height: 6px;
  left: 7px;
  opacity: 1;
  position: absolute;
  top: 8px;
  transform: rotate(-45deg);
  width: 12px;
}


x.option-input:checked::before {
  height: 28px;
  width: 28px;
  position: absolute;
  content: '\2716';
  display: inline-block;
  font-size: 26.6666666667px;
  text-align: center;
  line-height: 28px;
}
/*
.option-input:checked::after {
  background: #40e0d0;
  content: '';
  display: block;
  position: relative;
  z-index: 100;
}
*/
.option-input.radio {
  border-radius: 50%;
}
.option-input.radio::after {
  border-radius: 50%;
}

*
label {
vertical-align: middle;
line-height: 100%;
}

/******* popovers help *****************************************/
.questionmark {
	border: 1px solid #ccc;
	border-radius: 50%;
	width: 20px;
	display: inline-block;
	text-align: center;
        vertical-align: middle;
	margin: 0;
	padding: 0;
	cursor: help;
	box-sizing: border-box;
	background-color: #f1f1f1;
	margin-left: 0.5em;
	margin-right: 0.5em;
	height: 20px;
	font-size: 18px;
	font-weight: bold;
	font-family: monospace;
        background-repeat: no-repeat;
        background-position: center;
        background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAINJREFUeNpiYBgqgB+I+4H4PRD/R8LrgVieFIPOoxmAjN8Ta1g8mkaQy/LRXDefGIPWI2moRxKvRxLfj66JBYtBD4D4AJS9AUlcgBqBj+7demoYch4aqyQBeTRD5pPrpXy0NIQTMBEwCDmAJwyKrBKPlJr1KfFaApIXA+jiosEHAAIMADOrMypd/5JqAAAAAElFTkSuQmCC');
}


/*************************custom CSS **************************************/
label + label {margin-left: 0.5em; }
form label { font-weight: inherit; }
form label.headlabel { font-weight: 700; margin-bottom: 0.7em;}

label.error {
    font-size: 90%;
    color: red;
}

.carousel .carousel-inner .panel { width: calc( 100% - 1px ); }
