/* =========================================
	ダッシュボード
========================================= */

body, html {
  height:100%;
}
body.modal-open {
	padding-right:0 !important;
}


#sidebar {
   padding-left:0;
}
/* Off Canvas at medium breakpoint */
@media screen and (max-width: 48em) {

	.row-offcanvas {
		position: relative;
		-webkit-transition: all 0.25s ease-out;
		-moz-transition: all 0.25s ease-out;
		transition: all 0.25s ease-out;
	}

	.row-offcanvas-left
	.sidebar-offcanvas {
		left: -33%;
	}

	.row-offcanvas-left.active {
		left: 33%;
		margin-left: -6px;
	}

	.sidebar-offcanvas {
		position: absolute;
		top: 0;
		width: 33%;
		height: 100%;
	}
}

/* Off Canvas wider at sm breakpoint */
@media screen and (max-width: 34em) {
	.row-offcanvas-left
	.sidebar-offcanvas {
		left: -45%;
	}

	.row-offcanvas-left.active {
		left: 45%;
		margin-left: -6px;
	}

	.sidebar-offcanvas {
		width: 45%;
	}
}

.card {
	overflow:hidden;
}

.card-block .rotate {
	z-index: 8;
	float: right;
	height: 100%;
}

.card-block .rotate i {
	color: rgba(20, 20, 20, 0.15);
	position: absolute;
	left: 0;
	left: auto;
	right: -10px;
	bottom: 0;
	display: block;
	-webkit-transform: rotate(-44deg);
	-moz-transform: rotate(-44deg);
	-o-transform: rotate(-44deg);
	-ms-transform: rotate(-44deg);
	transform: rotate(-44deg);
}



/* =========================================
	アンケート実施画面
========================================= */
.debug {
	color: #DDD;
}
small { display:none; }
.inline-block {
	display: inline-block;
}

footer {
	margin: 20px 0px;
	padding: 10px 0;
}
footer p {
	margin: 0;
	color: #FFF;
}

.bg-nikkei {
	background-color: #F00;
}
.enquete-group-header {
	
}
.enquete-group-block {
	padding-left: 50px;
}
.enquete-group-footer {
	
}

.hidden {
	display: none;
}

/* =========================================
	チェックボックス
.checkbox {
  display: none;
}
.checkbox + .checkbox-icon {
  position: relative;
  vertical-align: middle;
}
.checkbox + .checkbox-icon:before {
  content: "\f372";
  font-family: "Ionicons";
  color: #ccc;
  font-size: 22px;
}
.checkbox:checked + .checkbox-icon:before {
  content: "\f374";
  color: #17bcdf;
}
========================================= */
/* =========================================
	ラジオボタン
.radio {
  display: none;
}
.radio + .radio-icon:before {
  content: "\f3a6";
  font-family: "Ionicons";
  color: #ccc;
  font-size: 22px;
}
.radio:checked + .radio-icon:before {
  content: "\f3a7";
  color: #17bcdf;
}

========================================= */



/*Radio Check*/
label.radio, label.radio_text, label.checkbox, label.checkbox_text {
	position      : relative;
	cursor        : pointer;
	display       : inline-block;
	overflow      : hidden;
	box-sizing    : border-box;
}
label.radio {
	min-height   : 25px; /* calc(20px + 5px) */
	margin-right : 25px; /* calc(20px + 5px) */
	padding-left : 25px; /* calc(20px + 5px) */
	line-height  : 25px; /* calc(20px + 5px) */
}
label.checkbox {
	padding-left : 25px; /* calc(20px + 5px) */
	line-height  : 20px;
}
/** before after **/
label.radio:before, label.checkbox:before,
label.radio:after, label.checkbox:after{
	content  : '';
	position : absolute;
	box-sizing : border-box;
}
label.radio:before{
	border-radius    : 100%;
}
label.checkbox:after{
	transform         : rotate(45deg);
	-webkit-transform : rotate(45deg);
	-moz-transform    : rotate(45deg);
	border-right      : 3px solid #01c576;
	border-bottom     : 3px solid #01c576;
	top               : 6px; /*calc(50% - (((17px / 12 ) * 5) / 2))*/
	display           : block;
	margin-top        : -7px; /*calc(((17px / 12 ) * 5) * -1);*/
	width             : 7px; /*calc(((17px / 12 ) * 5));*/
	height            : 17px;
	z-index           : 1;
}
label.radio:before, label.radio:after{
	top              : 0px;
	bottom           : 0px;
	margin-top       : auto;
	margin-bottom    : auto;
}
label.radio:before {
	width         : 20px;
	height        : 20px;
	border        : 1px solid #666666;
	left          : 0px;
	z-index       : 3;
}
label.checkbox:before {
	width    : 20px;
	height   : 20px;
	left     : 0px;
	top      : 0;
	border   : 1px solid #B3B3B3;
	z-index  : 3;
	box-sizing: border-box;
}
label.radio:after {
	width            : 14px;
	height           : 14px;
	border-radius    : 100%;
	left             : 3px; /*calc(((20px/2) - (14px) / 2));*/
	background-color : #01c576;
	z-index          : 1;
}
label.checkbox:after {
	left : 6px; /*calc((20px / 2) - (((17px / 12 ) * 5) / 2));*/
}

label.radio input[type="radio"], label.checkbox input[type="checkbox"]{
	-moz-appearance: none;
	-webkit-appearance: none;
	position   : absolute;
	z-index    : 2;
	margin     : 0px;
	width      : 20px;
	height     : 20px;
	box-sizing    : border-box;
	outline       : none;
}
label.radio input[type="radio"]{
	left       : -20px; /*calc(20px * -1);*/
	width      : 20px;
	height     : 20px;
	top           : 0px;
	bottom        : 0px;
	margin-top    : auto;
	margin-bottom : auto;
	border-radius : 100%;
}
label.checkbox input[type="checkbox"]{
	left       : -20px; /*calc(20px * -1);*/
	padding    : 0;
}
label.radio input[type="radio"] {
	box-shadow : 20px 0px #FFF;
}
label.checkbox input[type="checkbox"] {
	display    : block;
	box-shadow : 20px 0px #FFF;
}

label.checkbox input[type="checkbox"]:checked,
label.radio input[type="radio"]:checked{
	box-shadow : none;
}
label.checkbox input[type="checkbox"]:checked:focus{
	opacity: 0.1;
}
label.radio input[type="radio"]:focus{
	opacity: 0.2;
}

label.checkbox input[type="checkbox"]:checked:focus {
	box-shadow : 20px 0px #666;
}
label.checkbox input[type="checkbox"]:focus {
	box-shadow : 20px 0px #EEE;
}
label.radio input[type="radio"]:focus {
	box-shadow : 20px 0px #FFF;
}



/* =========================================
	QRコード
========================================= */
.qroutputs { position: relative; margin: 0 auto; }
.qroutput {
	width: 100%;
	padding: 1.5rem;
	text-align: center;
	border: solid .2rem #f7f7f9;
	background: #f7f7f9;
}
.qrimg {
	position: absolute;
}
