.message-alert{padding:10px; text-align:center; background:#FFFF99; color:#000; border:1px solid #F0E68C; margin-bottom:20px;}
.fancybox-title-over{color:#000;background:#fff;opacity:0.85;padding:5px 10px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;}

.QuerySheet{}
.QuerySheetLine{}
.QuerySheetForm{width:100%;overflow:hidden;margin-bottom:15px;}
.QuerySheetLine{width:100%;overflow:hidden;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;}

.QSBase .QuerySheetLine label.QuerySheetQuery{float:left; width:200px;}
.QSBase .QuerySheetLine .QuerySheetAnswer{margin-left:210px;}
.QSBase .QuerySheetLine .QuerySheetLineBoolen,
.QSBaseCols .QuerySheetLine .QuerySheetAnswer.QuerySheetLineBoolen{margin-left:0;}
.QuerySheetAnswer .QuerySheetSectionDesc{margin-left:20px; padding:0 !important;background:none !important;border:0;}
.BoldLabel label.QuerySheetQuery{font-weight:bold;}
label.QuerySheetQuery{padding:2px 0 5px 0; display:block;}

.QSBaseCols .QuerySheetLine,
.QSVerticalCols .QuerySheetLine{width:50%;float:left;}

.QSBaseCols .QuerySheetLine:nth-child(2n+1),
.QSVerticalCols .QuerySheetLine:nth-child(2n+1){clear:both;}

.QSBaseCols .QuerySheetLineSection,
.QSVerticalCols .QuerySheetLineSection{float:none; width:auto;clear:both;}
.QSBaseCols .QuerySheetLine label.QuerySheetQuery{float:left; width:150px;}
.QSBaseCols .QuerySheetLine .QuerySheetAnswer{margin-left:160px;}

.QuerySheetAnswerRequired,
.QuerySheetQueryRequired,
.QuerySheetAnswerRequiredMessage{color:#f00;}
p.QuerySheetAnswerRequired,
.QuerySheetAnswerRequiredMessage{padding:5px 0;font-style:italic;}
.QuerySheetQueryRequiredInfo{float:left;}

.QuerySheet input[type="text"],.QuerySheet select{width:50%;}
.QuerySheet input.Verify{width:auto !important;}
.QuerySheet textarea,
.QSBaseCols input[type="text"],.QSBaseCols select,
.QSVerticalCols input[type="text"],.QSVerticalCols select{width:100%;}

.QuerySheet input[type="text"],
.QuerySheet textarea,
.QuerySheet select{padding:10px; max-width:100%;border:1px solid #ccc;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;background:#f9f9f9;}

.QuerySheetFoot{padding:10px 0;clear:both;width:100%;}
.QuerySheetResult button.button, .QuerySheet input.button{border:0; font-size:14px; cursor:pointer; padding:10px 15px;text-align:center;min-width:150px;}
.QuerySheet input.button{float:right;}
.QuerySheetTitle{margin:10px 0; padding:0;}
.QuerySheetSectionTitle{padding:10px; background:#e6e6e6;border:1px solid #ddd; margin:0;}

.QuerySheetSectionDesc{font-style:italic; margin:0; padding:10px 0;}
.QuerySheetStriped .QuerySheetSectionDesc,
.QuerySheetBordered .QuerySheetSectionDesc,
.QSBaseCols .QuerySheetWrapper .QuerySheetLine,
.QSVerticalCols .QuerySheetWrapper .QuerySheetLine{padding:10px;}

.QuerySheetWrapper .QuerySheetLine{padding:10px 0;}
.QuerySheetStriped .QuerySheetWrapper .QuerySheetLine,
.QuerySheetBordered .QuerySheetWrapper .QuerySheetLine{padding:10px;}


.QuerySheetStriped .QuerySheetWrapper .QuerySheetLine:nth-child(even),
.QuerySheetStriped .QuerySheetSectionDesc{background:#f6f6f6;}

.QSBaseCols.QuerySheetStriped .QuerySheetWrapper .QuerySheetLine:nth-child(even),
.QSBaseCols.QuerySheetStriped .QuerySheetSectionDesc,
.QSVerticalCols.QuerySheetStriped .QuerySheetWrapper .QuerySheetLine:nth-child(even),
.QSVerticalCols.QuerySheetStriped .QuerySheetSectionDesc{background:none;}

.QuerySheetBordered .QuerySheetWrapper{border:1px solid #ddd;overflow:hidden;}
.QuerySheetBordered .QuerySheetWrapper .QuerySheetLine{border-color:#ddd;border-width:1px 0 0 0;border-style:solid;}
.QuerySheetBordered .QuerySheetWrapper .QuerySheetLine:first-child,
.QSBaseCols.QuerySheetBordered .QuerySheetWrapper .QuerySheetLine:nth-child(2),
.QSVerticalCols.QuerySheetBordered .QuerySheetWrapper .QuerySheetLine:nth-child(2) {border-top:0;}
.QuerySheetBordered .QuerySheetSectionDesc{border:1px solid #ddd;border-bottom:0;}
.QuerySheetBordered .QuerySheetAnswer .QuerySheetSectionDesc{border:0;}

.QuerySheetBefore{margin-bottom:15px;}
.QuerySheetResult{padding:15px 0;}
.QuerySheetResult table{margin:0 0 15px 0;border-collapse:collapse;}

@media (max-width: 959px){
	.QuerySheet input[type="text"],
	.QuerySheet textarea,
	.QuerySheet select{width:100%;}
	.QSBaseCols .QuerySheetLine{width:100%;float:none;}
	.QSBaseCols.QuerySheetBordered .QuerySheetWrapper .QuerySheetLine:nth-child(2),
	.QSVerticalCols.QuerySheetBordered .QuerySheetWrapper .QuerySheetLine:nth-child(2){border-top:1px solid #ddd;}
}

@media (max-width: 500px){
	.QuerySheetLine label.QuerySheetQuery,
	.QSBaseCols .QuerySheetLine label.QuerySheetQuery,
	.QSVerticalCols .QuerySheetLine,
	.QuerySheetQueryRequiredInfo{width:100% !important;float:none !important;display:block !important;}
	.QuerySheetLine .QuerySheetAnswer{margin-left:0 !important;}
}