/* CSS Document */

h2 {padding: 10px 0;}
hr {margin: 12px 0;}

/****** SAVE AND CONTINUE LATER BUTTONS ******/
.button.save_questionnaire{
  position: fixed;
  top:35px;
  right:0;
  background-image: none;
  border-radius: .25em 0 0 .25em;
  letter-spacing: .05em;
  background-color: #390;
  line-height: 1.4em;
  box-shadow: -3px 3px 6px rgba(0, 0, 0, 0.5);
  font-size: 90%;
  z-index: 200;
}

.button.save_questionnaire:hover {
  background-color: #006699;
  color: white;
}



.delete_questionnaire_text {
	padding: 6px 20px 0px;
	font-style: italic;
}

.delete_questionnaire_draft {
	text-transform: uppercase;
	padding: 4px 8px;
	border-radius: .25em;
	font-size: 12px;
	cursor: pointer;
	line-height: 1.4em;
	background-color: #A40000;
	color: white;
	border:none;
	margin-left: 4px;
}

.delete_questionnaire_draft:hover {
	background-color: #790808;
}

.last-completed-date {
	clear: left;
	display: block;
	font-size: .8em;
	font-style: italic;
}

.questionnaire_options button {
	margin-right: 12px;
}

/******** HIDDEN CONTROL FIELDS ********/
input.start_block, input.end_block {display:none;}


/******** FOR THE EMR ********/
.push-to-note {
  background-color: #f90;
  border: 2px solid;
  float: right;
  font-size: 10px;
  font-weight: bold;
  margin: 0 0 5px 5px;
  padding: 2px 5px;
}
.push-to-note:hover {background-color:#739A64;}
.push-to-note.already-pushed {background-color:#CCC;}
.included-in-push, .included-in-push * {color:#739A64;}
.emr_embedded a.save_questionnaire {display:none;}

.questionnaire_form label, .consent label {
    padding: 2px 4px 8px 4px;
}


.emr_embedded .consent li {
    margin-left: 35px;
    padding: 2px 4px 5px 2px;
}

.emr_embedded  td {
    padding: 2px 4px 5px 2px;
}



/* BPI QUESTIONNAIRE (BRIEF PAIN INVENTORY) */
.emr_embedded  .bpi_questionnaire img.marked-up-img,
.emr_embedded  .bpi_questionnaire img.bpi_image {	
    background-image: url('https://devportal.md-hq.com/custom/images/bpi_image.png');
}

/******** FIX FOR GRAMMARYLY PLUGIN ********/
.gr_ver_2 {
  display: none;
}

/********** PRINTABLE QUESTIONNAIRES *******/
@media print {
 	*, * * {
        transition:none !important;
		-webkit-transition:none !important;
        -moz-transition:none !important;
        -ms-transition:none !important;
        -o-transition:none !important;

    }
	body,html {background-color:#FFF; background-image:none; padding:0; margin:0;}
	.draggable {
	  left: 0 !important;
	  top: 0 !important;
	  min-width: 100%;
	  max-width:100%;
	  position: static;
	  
	  border-radius:0;
	}
	.draggable * {max-width:100%;}
	.draggable h2 {
	  background-color: #fff;
	  border-bottom: 1px solid #ccc;
	  border-radius: 0;
	  cursor: move;
	  font-size: 24px;
	  margin: 0 0 6px;
	  padding: 6px;
	}
	.draggable h2 .close {
	  display: none;
	}
	.button_box {
	  display: none;
	}
	.draggable label {
	  page-break-inside: avoid;
	}
	.screen_cover {display:none;}
	.wrapper {display:none;}
	.sub_foot {display:none;}
	.save_questionnaire {
	    display: none !important
	}
	
	.emr_embedded, .emr_embedded .show_in_emr {border:none; margin:0; padding:0;}
	.emr_embedded .show_in_emr table {page-break-inside:auto;}
	.emr_embedded .show_in_emr table tr {page-break-inside:avoid;}
	
	/**** HIDE PLACEHOLDERS IN PRINT VIEW ****/
	::-webkit-input-placeholder {
        /* WebKit browsers */
         color: transparent;
    }
     :-moz-placeholder {
        /* Mozilla Firefox 4 to 18 */
         color: transparent;
    }
     ::-moz-placeholder {
        /* Mozilla Firefox 19+ */
         color: transparent;
    }
     :-ms-input-placeholder {
        /* Internet Explorer 10+ */
         color: transparent;
    }
     input::placeholder {
         color: transparent;
    }
     textarea::-webkit-input-placeholder {
        /* WebKit browsers */
         color: transparent;
    }
     textarea:-moz-placeholder {
        /* Mozilla Firefox 4 to 18 */
         color: transparent;
    }
     textarea::-moz-placeholder {
        /* Mozilla Firefox 19+ */
         color: transparent;
    }
     textarea:-ms-input-placeholder {
        /* Internet Explorer 10+ */
         color: transparent;
    }
     textarea::placeholder {
         color: transparent;
    }

   .draggable.add_box h2:before {
      display: none;
   }
}

/* MEDIA DISPLAY  Make Family Hx table keep shape and be scrollable*/
@media only screen and (max-width: 800px) {

	form.family_hx_uw {
		overflow: scroll;
	}

	form.family_hx_uw table{
		width: 800px;
		overflow: scroll;
	}

	.family_table input[type="text"] {
		width: 25px !important;
	}

	table, tbody, tr, td {
		display: revert;
		width: auto;
	}

}

/********** ReCODE stuff **********/

.page-recode .recode-exception {
	color:#C00;
	font-weight:bold;
	font-size:16px;
	padding:20px 10px;
}

.page-recode input[type=number]{
    background-clip: padding-box;
    background-color: #fff !important;
    border-radius: 4px;
    border: 1px solid #ced4da;
    box-sizing: border-box;
    color: #495057;
    font-size: 12px;
    line-height: 21px;
    padding: 6px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    width: 100px;
}


/* BRIGHT FUTURES */
form.bright-futures {
	background-color: white;
}

.bright-futures h4 {
	background-color:#41AD49;
	text-align: center;
	color:white;
	font-weight: bold;
}

.bright-futures h5.blue_header {
	text-align: center;
	color: #1C78C1;
	font-weight: bold;
	font-size: 14px;
	line-height: 28px;
}

.bright-futures h6 {
	textf-align: center;
	font-size: 16px;
	line-height: 36px;
	font-weight: bold;
}

.bright-futures .question {
	background-color: #E6EFF7;
	margin: 9px;
	padding: 6px;
}

.bright-futures .skills_checklist p {
	font-weight: bold;
	line-height: 30px;
}

.bright-futures h4.pink_header {background-color:#DD2F6A;}
.bright-futures h4.blue_header {background-color:#065CA9;}
.bright-futuresh5 {
	text-align: center;
	color:#276FB3;
}
.bright-futures p.bf_subhead {
	font-weight: bold;
	background-color: #A6C6E1;
	padding: 5px;
	margin: 8px 10px 2px;
}


.bright-futures .questionnaire-header p {
	font-weight: bold;
}

.bright-futures .questionnaire-header .gradient-line {
	height: 6px; 
	width: 83%;
	display: inline-block;
	vertical-align: top;
	margin-left:8px; 
	background-image: linear-gradient(90deg, rgb(130, 191, 120) 0%, rgb(6, 92, 169) 80%);
}

.bright-futures .questionnaire-header .header-logo img {
	display: block;
	width: 89px;
	margin: 0 auto;
	padding: 10px 5px 0px 6px;
	position: relative;
	top: -27px;
	right: -6px;
}

.bright-futures .questionnaire-header .header-logo {
	width: 100px; 
	display: inline-block;
}

.bright-futures .questionnaire-header p.to-provide {
	color: #5d8bb3;
    font-size: 13px;
}


.bright-futures .bf-footer{
	padding-top: 30px;
}

.bright-futures .bf-footer p.consistent {
    font-weight: bold;
    color: #065CA9;
    text-align: center;
    background-color: #DDE0F0;
    padding: 10px 0;
    margin: 10px 5px;
    font-style: italic;
    font-size: 14px;
}

.bright-futures .bf-footer .footer-logo img{
	display: inline-block; 
	width: 45%;  
	padding: 0px 5px 18px 6px;
}

.footer-disclaimer p {
    font-size: 8px;
}

.bright-futures .bf-footer div.footer-disclaimer {
	width: 52%;
	font-size: 8px;
	display: inline-block;
}

.bright-futures .title-group {
	position: relative;
	top: -90px;
	left: 6px;
}

.bright-futures .bf-title {
    font-size: 24px;
    letter-spacing: .2px;
    color: #4c4b43;
    font-style: normal;
    font-family: lato;
}

.bright-futures .bf-age {
    font-weight: bold;
    color: #065CA9;
    font-style: normal;
	font-family: lato;
	font-size: 30px;
}

.bright-futures .to-provide {
	color: #065CA9;
	   border-top: 2px solid grey;
	padding-top: 9px;
	margin-top: 9px;
	margin-bottom: -85px;
}

table.bf_table {
    margin: auto;
    padding-right: 0;
}

ol > li > ol {
	list-style-type: lower-alpha;
}

ol > li > ol > li > ol {
	list-style-type: lower-roman;
}

ol ol {
	padding-inline-start: inherit !important;
}