#survey {
    font:14px Arial;
}
h1,h2 {
    font-size:26px;
}

p {
    margin-top: 1.5em;
}

  em {
    font-weight:normal;
    color:Black;
    font-style:italic;
}

.alert {
    padding:6px;
    margin-bottom: 2px;
}

.masthead {
    padding-right: 100px;
    vertical-align: middle; 
    margin-left:-1em;
    margin-right:-1em;
 
}

.masthead h1 {
     vertical-align:middle;
     padding: 1em 0em .5em 0em;
   font-size:40px;
     font-weight: 800;
     
}
/* default site*/
.masthead0 {
    background-position:right;
    background-repeat:no-repeat;
    border-bottom:solid #036EB7;
     background-image:url(https://www.gem-beta.org/App_Themes/logoHospitalLG.png);
}
 

/* alternate site*/
.masthead1 {
    background-position:right;
    background-repeat:no-repeat;
    border-bottom:solid #815887;
    background-image:url(https://www.gem-beta.org/App_Themes/logoMedLG.png);
  
}
.masthead0 h1 {
     color:#036EB7;   
}
.masthead1 h1 {
     color:#815887;   
}





#survey {
    /*margin-left: 1em;*/
}



#survey .form-control {
     width:inherit;
     display:inline;
}

.radio + .radio, .checkbox + .checkbox {
    margin: -1px;
}
/* end bootstrap*/



/* BASE Question*/
/* padding between questions*/
.q {
    margin-top: 2em;
    margin-left:1em;
}


.q-indicator {
    margin-left: -1em;
    float: left;
   /*padding-left: 1em;*/
    min-width: 1em;
    font-weight:bold;
    /*padding-right: .5em;*/
    text-align:left
}

.q-symbol {
     background-image: url('https://www.gem-beta.org/App_Themes/play16.png');
    background-repeat: no-repeat;
    background-position-x: left;
    background-position-y: center;
}

/* general spacing between question text and response area*/
.prompt {
     font: bold 14px Arial; 
    padding: 0px 0px 4px 0px;
    margin-top: .1em;
}

/* indent the response area with-in a question*/
.resp {
    margin-top: 1em;
}

.resp label {
    margin-bottom: 0px;
    font-weight:  normal;
}
.resp-line,
.flowlabel > label ,
.stacklabel > label {
   
    /*background-color: #E8EFFC;*/
    border-top: 1px solid #edecec;
   padding: .5em 0em .5em 2em;
    border-radius: 4px;
   /*  border-radius: 4px;

  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
 -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
          transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;*/

}

.resp-line {
    padding-left:  .5em;
}


.flowlabel > label {
    display: inline;
}

.stacklabel > label,.resp-line {
    display: block;
    margin-top: .2em;
}

/* input controls*/
input[type='text'] {
}

textarea {
    display: block;
}


.resp label:hover,
.resp-line:hover {
  /*  border-style: solid;
  
    border-color: #FF9933;
    
      */
  background-color: #f5ecbd;

}


/*matrix questions*/
/*
mx= outer table
mx-row and _alt is the TR within the table
mx-qnumber: leading cell with qnumber, when present
mx-question: cell with question text
*/

.mxplus,
.mx  {
    border:solid 1px #CECECE;
}

/* center the content cells*/
.mxplus tbody > tr > td,
.mx tbody > tr > td {
    text-align: center;
}
/* matrix row header*/
.mxplus tbody > tr > th,
.mx tbody > tr > th {
    text-align: left;
     padding: .5em .5em .5em .5em;
    font-weight: normal;

}
/* column headers*/
.mxplus thead > tr > th,
.mx thead > tr > th {
    text-align: center;
    background-color: #E8EFFC;
    padding: .5em .5em .5em .5em;
    vertical-align: bottom;
}

.mx-header-left {
 text-align:left;    
}
.mxplus-row,
.mx-row {
    	background-color: #FFFFFF;
}
.mxplus-row-alt,
.mx-row-alt {
    background-color: #E8EFFC;
}
.mxplus-row-alt > td,
.mxplus-row > td {
     /*border-bottom-style:solid;*/
}

.mx-question
{
vertical-align:top
}

.mx-qnumber
{
 vertical-align:top;
 /*width: 2em;*/
 text-align:right;
 padding-top: .5em;

}

/* spacer column id=spacer*/	
.mx-cell-leftborder, .mx-cell-spacer
{
    border-left-style:dashed;
    border-left-width: thin;
    
}

.mx-cell-rightborder
{
    border-right-style:dashed;
    border-right-width: thin;
}


    .mxplus tbody > tr > td > label.radio  {
            display:inline;
            padding-left:0px;
        
        }


     /*disable off cell label*/
     .mxplus input[type='radio'],.mxplus input[type='checkbox'] {
            margin-left: 0em;
             float:none;

        }

/*grouped radio buttons*/
.optiongroup {
    margin-top: .5em;
    margin-bottom: .5em;
}

.optiongroupheader{
    
     font-weight:bold;
}


/* scale questions*/
.scale  {
  
}

/* center the content cells*/
.scale thead > tr > th {
    text-align: center;
    padding:0px;
    background-color: transparent;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid #ddd;
}

.scale tbody > tr > td {
    text-align: center;
     padding: 8px;
}





/*style applied to td elements of add-new row of table control*/
.tbl-addnew {
     background-color:#f5ecbd;
     
}

.tbl-addnew > td {
   
     padding-top: 1em;
     border-top:1px double #CECECE;
}

/*style applied to div below table containing any buttons*/
tbl-btnbox {

}

.sbfile {
      border: 1px solid #e7eaec;
  padding: 0;
  background-color: #ffffff;
  position: relative;
  margin-bottom: 20px;
  margin-right: 20px;
}
.sbfile .icon i {
  font-size: 70px;
  color: #dadada;
}

.sbfile a {
    text-decoration: none;
    cursor: pointer;
}
.sbfile .icon,
.sbfile .image {
  height: 100px;
  overflow: hidden;
}
.sbfile .icon {
  padding: 15px 10px;
  text-align: center;
}

.sbfile .sbfile-name {
  padding: 10px;
  background-color: #f8f8f8;
  border-top: 1px solid #e7eaec;
}

.sbfile-value {
 /*height:100px;
    border:2px black solid;*/
    margin:auto;
    position: relative;
}

.sbfile-thumbnail{
     position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-size: contain;
   
}

.sbfile-control{

}
.block {
display:block;
}


/**** Custom Styles ***/


.text-muted {
  color: #7a8288;
}

.selspace 
{
	margin-right:1em;
}
.signin
{
	font-size:16px;
	
}
.logo {
    text-align:center;
}

.logo img {
        max-width :100%;
}