#NewEA {

	/*margin-bottom: 40px;*/
}

#resultoutput {
    font-size: 1.2em;
    font-family: monospace;
}

#process-data-div {
  /*min-height: 600px;*/
  padding-bottom: 60px;
}

#submitted {
	display:none; 
	position:absolute; 
	width:50%; 
	/*font-family: Verdana; */
	font-size: 2em; 
	padding:20px; 
	vertical-align: middle; 
	text-align: center; 
	margin-top: 25%;
	margin-left: 15%;
	background-color: lightgreen;
	opacity: .8;
  border-radius: 2px;
  border: 1px solid darkgray;
  font-weight: bold;
	}

#clicked-state {
  border: 1px solid #888;
  border-radius: 2px;
  padding: 5px;
  background-color: ivory;
  font-size: .9em;

}

.gray {
    fill: red;
}

.event_entry_box {

	clear: both;
	padding-bottom: 15px;
	line-height: 1.5em;
	border: 1px solid darkgray;
	border-radius: 3px;
	padding: 10px;
	box-shadow: 2px 2px 2px lightgray;
	background-color: floralwhite;
	margin-bottom: 20px;

}

 .add_items { 
	display: none;
	
	/*border: 1px solid darkgray;*/
	/*border-radius: 10px;*/
	/*padding: 5px;*/
	/*box-shadow: 2px 2px 2px lightgray;*/
	background-color: #FFF;
	top: 10px;
	/*height: calc(100% + 150px);*/
  padding-bottom: 60px;
 		
 	}
 .add_items_r { 
 		position: relative;
 		display:table;
 		clear: both;
 		/*height: 100px;
 		line-height: 100px;*/
 	}
 .add_items_i { 
 		display:inline;  
 		/*padding: 2px;*/
 		/*width: 33%;*/
 		vertical-align: middle;
 		text-align: center;

 	}

 .add_items_i img {
  width:18%;
  max-width: 75px;
 }

 .add_items_5 img {
  width:18%;
 }

.todays_counts {
	float:right;
	clear:both;
	/*font-family: Verdana;*/
	padding: 0px 5px 10px 0px;
	width: 90%;
}

.today_header {
	border-bottom: 1px solid #4D3F5D;
	padding-top: 10px;
	clear: both;
	/*font-family: Verdana;*/
	font-size: 1.1em;
	font-weight: bold;
	margin-bottom: 5px;
	color: #ff7c4c;
}

.home_page_header {
  color: #4e36d3;
}

.add_item_header {
  border-bottom: 1px solid #4D3F5D;
  clear: both;
  /*font-family: Verdana;*/
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #5B5365;
}

.header {
  padding: 5px;
  display: block;
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  width: 100%;
  z-index: 1;
  background-color: white;
}

.footer {
    background: #fff;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display:  table;
    width:  100%;
    box-shadow: 0px -1px 1px #a8a8a8;
    z-index: 2;
/*line-height: 3.6em;*/
    /*height: 40px;*/
}    

.navbar_item {
    color: #7e7e7e;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
display: table-cell;
padding: 2px 2px 0px 2px;
position: relative;
top: 5px;
font-size: .7em;
width: 20%;
text-align:  center;
/*line-height: 3.6em;*/


}
.navbar_item :hover, :active {
    color: darkblue;
}
.xbox {
	float: right;
	border: 1px solid #444;
	color: #444;
	font-size: .8em;
	margin-right: 3px;
	padding-left: 3px;
	padding-right: 3px;

}


.add_popup {
	/*width: 95%;*/
	background-color: #eee;
  color: #222;
  text-align: center;
  border-radius: 2px;
  border: 1px solid darkgray;
  padding: 8px;
  /*padding-bottom: 150px;*/
  /*position: absolute;*/
  z-index: 1;
  top: -33px;
  /*box-shadow: 5px 5px 5px #888888;*/
}

.popup_container {
	top: -33px;
  z-index: 1;
	/*padding-top: 20px; */
	display:none; 
	position: relative; 
	/*background-color: #EEE; */
	clear:both;
  padding-bottom: 60px;
	/*left:20px;*/

}

.ui-content {
  padding-top: 34px;
}
.ui-grid-b {


}

.ui-block-a {
	float: left;	
	width: 33.333%;
	
}

.ui-block-b {
	float: left;
	/*height: 65px;*/
    overflow: hidden;
	/*display: inline;*/
	width: 33.333%;

}
.ui-block-c {
	float: right;	
	width: 33.333%;
	
}

 .log_img {
 	opacity: .5;
 	height: 100px;
 	line-height: 100px
 }

 /*RangeSlider*/
 // Base Colors
$shade-10: #444 !default;
$shade-1: #444 !default;
$shade-0: #fff !default;
$teal: #1abc9c !default;


// Reset
* {
  &,
  &:before,
  &:after {
    box-sizing: border-box;
  }
}

body {
  /*font-family: sans-serif;*/
  padding: 0px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif; 

  
  @media (min-width: 600px) {
    padding: 10px;
  }
}

.range-slider {
  /*margin: 60px 0 0 0%;*/
}

.checklist {
  list-style: none;
  padding-left:  0px;
}

.uncheckedbox {
  border: 1px solid #666;
  margin: 4px 9px 4px 4px;
  float: left;
  height: 20px;
  width: 20px;
  clear: left;
  /*background: url(images/checkmark.png) 0px/20px;*/
  border-radius: 20px;
  display: table-cell;
}

.checkedbox {
  border: 3px solid green;
  margin: 2px 7px 2px 2px;
  float: left;
  height: 20px;
  width: 20px;
  clear: left;
  background: url(images/checkmark.png) #E0FFCA 0px/20px;
  border-radius: 20px;
  display: table-cell;
}

.checklist li {
   margin-top:5px;
}

// Range Slider
$range-width: 100% !default;

$range-handle-color: $shade-10 !default;
$range-handle-color-hover: $teal !default;
$range-handle-size: 20px !default;

$range-track-color: $shade-1 !default;
$range-track-height: 10px !default;

$range-label-color: $shade-10 !default;
$range-label-width: 60px !default;

.range-slider {
  width: $range-width;
}

.range-slider__range {
  -webkit-appearance: none;
  width: calc(100% - (#{$range-label-width + 13px}));
  /*height: $range-track-height;*/
  border-radius: 5px;
  background: $range-track-color;
  outline: none;
  padding: 0;
  margin: 0;
  margin-top: 20px; 

  // Range Handle
  &::-webkit-slider-thumb {
    appearance: none;
    width: $range-handle-size;
    height: $range-handle-size + 20;
    border-radius: 50%;
    background: $range-handle-color;
    cursor: pointer;
    transition: background .15s ease-in-out;

    &:hover {
      background: $range-handle-color-hover;
    }
  }

  &:active::-webkit-slider-thumb {
    background: $range-handle-color-hover;
  }

  &::-moz-range-thumb {
    width: $range-handle-size;
    height: $range-handle-size;
    border: 0;
    border-radius: 50%;
    background: $range-handle-color;
    cursor: pointer;
    transition: background .15s ease-in-out;

    &:hover {
      background: $range-handle-color-hover;
    }
  }

  &:active::-moz-range-thumb {
    background: $range-handle-color-hover;
  }
}


// Range Label
.range-slider__value {
  display: inline-block;
  position: relative;
  width: $range-label-width;
  color: $shade-0;
  /*line-height: 20px;*/
  text-align: center;
  border-radius: 3px;
  background: $range-label-color;
  padding: 10px;
  margin-left: 8px;
  vertical-align: top;

  &:after {
    position: absolute;
    top: 8px;
    left: -7px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-right: 7px solid $range-label-color;
    border-bottom: 7px solid transparent;
    content: '';
  }
}


// Firefox Overrides
::-moz-range-track {
    background: $range-track-color;
    border: 0;
}

input::-moz-focus-inner,
input::-moz-focus-outer { 
  border: 0; 
}

input[type="datetime-local"] {
	-webkit-appearance: none !important;
    border:none;
/*    font-family: monospace;*/
    	
	/*margin-left: -20px;*/
    /*border: 1px solid darkgray;*/
}	
input[type='range'] {
    -webkit-appearance: none !important;
    background:ghostwhite;
    height:2px;
    width: 290px;
    border: 1px solid darkgray;
}
input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    background: ghostwhite;
    height:30px;
    width:60px;
    border-radius: 3px;
    border: 1px solid #444;
}


select {
   -webkit-appearance: none; 
   -moz-appearance: none;
   appearance: none;       /* remove default arrow */
   background-image: url(...);   /* add custom arrow */
}

.home_page_left {
  width: 100%;
}
.home_page_right {
  width: 100%;
  height: 175px;
  
}

@media only screen and (orientation:landscape) {
  .home_page_left {
    width: 55%;
    float:left;
    min-height: 85%;
  }
  .home_page_right {
    width: 40%;
    float:right;
  }

}


@media screen and (-webkit-min-device-pixel-ratio:0) { 
  select,
  textarea,
  input {
    font-size: 16px;
  }
}

.switch-field {
  /*font-family: "Lucida Grande", Tahoma, Verdana, sans-serif;*/
  /*padding: 10px;*/
	overflow: hidden;
}

.switch-title {
  margin-bottom: 6px;
  text-align: left;
  color:#666;
  font-weight:  bold;
}

.switch-field input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}

.switch-field label {
  float: left;
}

.switch-field label {
  display: inline-block;
  /*width: 60px;*/
  background-color: #e4e4e4;
  color: rgba(0, 0, 0, 0.6);
  font-size: .9em;
  font-weight: normal;
  text-align: center;
  text-shadow: none;
  padding: 6px 14px;
  border: 1px solid rgba(0, 0, 0, 0.2);
 /* -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);*/
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition:    all 0.1s ease-in-out;
  -ms-transition:     all 0.1s ease-in-out;
  -o-transition:      all 0.1s ease-in-out;
  transition:         all 0.1s ease-in-out;
  margin-top: 1px;
}

.switch-field label:hover {
	cursor: pointer;
}

.switch-field input:checked + label {
  background-color: #26598F;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: white;
}

.switch-field label:first-of-type {
  /*border-radius: 4px 0 0 4px;*/
}

.switch-field label:last-of-type {
  /*border-radius: 0 4px 4px 0;*/
}

div[data-placeholder]:not(:focus):not([data-div-placeholder-content]):before {

    content: attr(data-placeholder);

    float: left;

    margin-left: 2px;

    color: #b3b3b3;

}

div[data-placeholder] {
	width: 200px;
	line-height: normal;
	height: 23px;
	text-align: left;
	float:left;

}


#gallery .thumbnail{
    width:150px;
    float:left;
    margin:2px;
}
#gallery .thumbnail img{
    width:150px;
}

.inputfile {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;

}

.inputfile + label {
    font-size: 1.25em;
    font-weight: 700;
    color: white;
    padding: 5px;
    height: 25px;
    background-color: white;
    border-radius: 2px;
    border: 1px solid darkgray;
    display: inline-block;
	cursor: pointer; /* "hand" cursor */
}

.inputfile:focus + label,
.inputfile + label:hover {
    border: 1px solid black;
}

.inputfile:focus + label {
	outline: 1px dotted #000;
	outline: -webkit-focus-ring-color auto 5px;
}


textarea{  
  display: block;
  box-sizing: padding-box;
  overflow: hidden;

  padding: 2px;
  width: 100%;
  max-width: 100%;
  font-size: 14px;
  margin: 10px auto;
  border-radius: 2px;
  /*box-shadow: 2px 2px 8px rgba(black, .3);*/
  border: 0;
}
.event_cats {
  font-size: .8em;
}
.event_cats a {
  border:1px solid darkblue;
  text-decoration: none;
  line-height: 1.2em;
  margin: 1px;
  font-size: 1em;
  display: inline-block;
  color:darkblue;
  padding: 1px 4px 1px 4px;
  
}

.extra_padding a {
  padding:5px;
}

.triangle-right.top::after {

    top: -20px;
    right: 50px;
    bottom: auto;
    left: auto;
    border-width: 20px 20px 0 0;
    border-color: transparent #075698;

}
.triangle-right::after {

    content: "";
    position: absolute;
    bottom: -20px;
    left: 50px;
    border-width: 20px 0 0 20px;
    border-style: solid;
    border-color: #075698 transparent;
    display: block;
    width: 0;

}
.triangle-right.top {

    background: -webkit-gradient(linear, 0 0, 0 100%, from(#075698), to(#2e88c4));
    background: -moz-linear-gradient(#075698, #2e88c4);
    background: -o-linear-gradient(#075698, #2e88c4);
    background: linear-gradient(#075698, #2e88c4);

}
.triangle-right {

    position: relative;
    padding: 15px;
    margin-left: 30px;
    margin-right: 10px;
    font-family: Arial;
    color: #fff;
    background: #075698;
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#2e88c4), to(#075698));
    background: -moz-linear-gradient(#2e88c4, #075698);
    background: -o-linear-gradient(#2e88c4, #075698);
    background: linear-gradient(#2e88c4, #075698);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.triangle-left.top::after {

    top: -20px;
    right: 250px;
    bottom: auto;
    left: auto;
    /*border-width: 20px 20px 0 0;*/
    border-color: transparent green;

}
.triangle-left::after {

    content: "";
    position: absolute;
    bottom: -20px;
    left: 50px;
    border-width: 20px 0 0 20px;
    border-style: solid;
    border-color: green transparent;
    display: block;
    width: 0;

}
.triangle-left.top {

/*    background: -webkit-gradient(linear, 0 0, 0 100%, from(#075698), to(#2e88c4));
    background: -moz-linear-gradient(#075698, #2e88c4);
    background: -o-linear-gradient(#075698, #2e88c4);*/
    background: green;

}
.triangle-left {

    position: relative;
    padding: 15px;
    margin-left: 30px;
    margin-right: 10px;
    font-family: Arial;
    color: #fff;
    background: #075698;
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#2e88c4), to(#075698));
    background: -moz-linear-gradient(#2e88c4, #075698);
    background: -o-linear-gradient(#2e88c4, #075698);
    background: linear-gradient(#2e88c4, #075698);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.tooth-chart{
  width:350px;
}

.spots{
  polygon, path{
    -webkit-transition:fill .25s;
    transition:fill .25s;
    
    &:hover, &:active{
      fill:#dddddd !important;
    }
  }

}

.dtfmLabels {
  fill: #888;
  font-style: italic;
}

.btn_selected {
  fill: steelblue;
}
.btn_notselected {
  fill: gray;
}

@media only screen and (min-width: 1025px) {
  body {
    width: 800px;
  }
  .footer {
   width: 800px; 
  }
}

