table.paleBlueRows {

  border: 1px solid #FFFFFF;
  width: 100%;

  text-align: center;
  border-collapse: collapse;
}
table.paleBlueRows td, table.paleBlueRows th {
  border: 1px solid #FFFFFF;
  padding: 8px 2px;
}
table.paleBlueRows tbody td {
  font-size: 13px;
}
table.paleBlueRows tr:nth-child(even) {
  background: #D0E4F5;
}
table.paleBlueRows thead {
  background: #293649;
  border-bottom: 5px solid #FFFFFF;
}
table.paleBlueRows thead th {
  font-size: 17px;
  font-weight: bold;
  color: #FFFFFF;
  text-align: center;
  border-left: 2px solid #FFFFFF;
}

table.paleBlueRows thead th small a{display:inline-block;font-size:9px;padding:0px 4px;/*background:black;margin-bottom:4px*/}
table.paleBlueRows thead th:first-child {
  border-left: none;
}
.red{color:red;}
table.paleBlueRows td i{display:inline-block;margin:0 2px}

tr.head2{background:#f2f2f2}
tr.head2 th a{display:block;min-width:70px;margin-bottom:5px;}
tr.head2 th{vertical-align:top}
.p_block_1{display:block;min-width:130px;}
.addNewOption_popup{position:absolute;top:0;left:0;background:#c3c3c3;width:100%;padding:20px;z-index:2;box-shadow:2px 2px 2px #ccc;}
.addNewOption_popup #x{position:absolute;top:10px;right:10px;color:black;font-size:18px;}
.addNewOption_popup>span{font-size:12px;display:block;margin-bottom:4px;}
.addNewOption_popup input[type="text"]{font-size:12px;display:block;margin-bottom:8px;background:#fff}
.addNewOption_popup i{color:#0088cc;display:inline-block;margin-left:10px;}

ul.paging{padding:15px;margin:0;text-align:center;}
ul.paging li{display:inline;margin:2px 2px;padding:2px 4px;}
ul.paging li a{background:#c0c0c0;padding:5px;color:#f2f2f2;font-size:16px;font-weight:bold;text-decoration:none;}
ul.paging li a.selected{color:#333}
.bluelink{color: #4f93ce !important;border-bottom:1px #4f93ce solid;cursor:pointer}

ul#tab{border-bottom:1px solid #ddd;margin:20px 0}
ul#tab li{display: inline-block;
  margin: 0 0 -1px;
  padding: 15px 15px;
  font-weight: 600;
  text-align: center;
  color: #bbb;
border: 1px solid transparent;
position:relative;
}

ul#tab li:hover {
  color: #888;
  cursor: pointer;
}

ul#tab li.active {
  color: #555;
  border: 1px solid #ddd;
  border-top: 2px solid orange;
  border-bottom: 1px solid #fff;
}
.tab_content{display:none;}

.notification2{background:khaki;padding:20px;margin:10px 0}
table#perio_chart td{text-align:center;padding:20px 0;vertical-align:top;}
table#perio_chart td:hover{background:#cecece;}
table#perio_chart td img{display:block;margin:10px auto}
table#perio_chart td input{width:100%;text-align:center;}


ul#left_menu{border-radius:4px;margin-bottom:25px;position:sticky;top:0}
ul#left_menu>li{}

ul#left_menu li a{background:#2a394f;color:white;display:block;border-bottom:1px solid #293649;padding:25px;}
ul#left_menu li a:hover{background:#212e41;padding-right:35px}
ul#left_menu li li a{background:#15a4fa;border-bottom:0}
ul#left_menu li i.fa{margin:0 5px;}
ul#left_menu li i.fa-angle-right{float:right}

.faded{background:#ccc}
#modal-header {
    padding: 2px 16px;
    background-color: #2a394f;
    color: white;
}

/* Modal Body */
#modal-body {padding:35px 50px;max-height: calc(100vh - 80px);
overflow-y: auto;}



/* Modal Content */
#modal-content {
	display:none;

    background-color: #fefefe;

    padding: 0;
   
    width: 800px;
    position:fixed;
    z-index:99;
    left:50%;
    margin:0px 0 0 -400px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    top:50px;
}

#modal-content #close {
    color: #fff;
    float: right;
    font-size: 38px;
    font-weight: bold;
}

#modal-content #close:hover,
#modal-content #close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* Add Animation */
@-webkit-keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 50px; opacity: 1}
}

@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 50px; opacity: 1}
}

.w20{display:inline-block;width:19.5%;}
.tal{text-align:left}
#chart {
  width: 100%;
  margin: 30px 0; }
  #chart rect, #chart polygon {
    stroke-width: 5px;
    stroke: black;
    fill: white; }
    #chart rect .selected, #chart polygon .selected {
      fill: lightskyblue; }
    #chart rect .amalgam, #chart polygon .amalgam {
      fill: grey; }
    #chart rect .extract, #chart polygon .extract {
      fill: black !important; }
#right_col_inner h1{margin:40px 0}
#right_col_inner h1 small{font-size:14px; color:#333;display:inline-block;margin-left:30px;font-style:italic}      
.yellow{background:yellow}


#account_login_form{border:15px white solid;position:absolute;left:50%;top:50%;margin:-130px 0 0 -204px;width:408px;background:#fff;border-radius:4px; box-shadow: 1px 1px 2px #000;}
#account_login_form h2{font-size:24px;color:#fff;margin:0 0 15px 0;background:#626262;color:white;padding:25px 0px;text-align:center;}
#account_login_form .input_group{position:relative;margin-bottom:15px;}
#account_login_form .input_group i{position:absolute;top:10px;right:27px;font-size:22px;opacity:0.8}
#account_login_form .input_group.x_password_reset span{text-transform:uppercase;position:absolute;top:10px;right:54px;font-size:12px;line-height:180%}
#account_login_form .input_group.x_password_reset i{color:#ccc}
#account_login_form .input_group i.weak,
#account_login_form .input_group span.weak{color:#a51919}
#account_login_form .input_group i.good,
#account_login_form .input_group span.good{color:#edc81a}
#account_login_form .input_group i.strong,
#account_login_form .input_group span.strong{color:#07aa12}

#account_login_form .button_s.last{margin-right:0}
#account_login_form .input2 {
    color: #2c2c2c;
    border-radius: 5px;
    border: 0;
    background: #f2f2f2;
    font-size: 16px;
    padding: 10px;
    font-family: "Roboto", sans-serif;
    width: 93%;
    font-size: 14px;
}

.input3{border:0;width:90%;padding:2%;margin-bottom:2%}

.autocomplete-suggestions {text-align: left; cursor: default; border: 1px solid #ccc; border-top: 0; background: #fff; box-shadow: -1px 1px 3px rgba(0,0,0,.1);position: absolute; display: none; z-index: 9999; max-height: 254px; overflow: hidden; overflow-y: auto; box-sizing: border-box;}
.autocomplete-suggestion { position: relative; padding: 0 .6em; line-height: 23px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 1.02em; color: #333; }
.autocomplete-suggestion b { font-weight: normal; color: #1f8dd6; }
.autocomplete-suggestion.selected { background: #f0f0f0; }

/*
.tt1{display:inline-block;vertical-align:top;background:url(/media/elem/tooth_type_1.jpg) top center;width:44px;height:45px;font-size:0;}
.tt1 dd{font-size:11px;display:inline-block;text-align:center;margin:0;padding:0}
.tt1 .a{width:100%;line-height:15px}
.tt1 .b{width:25%;line-height:15px}
.tt1 .c{width:50%;line-height:15px;}
.tt1 .d{width:25%;line-height:15px}
.tt1 .e{width:100%;line-height:15px}

.tt1 dd.active, .tt2 dd.active{background:rgba(249,0,0, 0.6)}

.tt2{display:inline-block;vertical-align:top;background:url(/media/elem/tooth_type_2.jpg) top center;width:60px;height:45px;font-size:0}
.tt2 dd{font-size:11px;display:inline-block;text-align:center;margin:0;padding:0}
.tt2 .a{width:50%;line-height:13px}
.tt2 .b{width:50%;line-height:13px}
.tt2 .c{width:22%;line-height:19px}
.tt2 .d{width:28%;line-height:19px}
.tt2 .e{width:28%;line-height:19px}
.tt2 .f{width:22%;line-height:19px}
.tt2 .g{width:50%;line-height:15px}
.tt2 .h{width:50%;line-height:15px}

*/
.treatment_selection_row{display:none}
img.SINGLE_ELEM{z-index: 1;position:absolute;width:15px;height:15px;top:0;left:0;opacity:0.8}
img.FULL_ELEM{z-index: 1;position:absolute;width:100%;height:100%;top:0;left:0}


.signature-pad{background-color:white}
			  
.balloon{font-size:14px;padding:15px;border:1px #333 solid;border-radius:0;box-shadow:2px 2px 4px #555;color:black;background:white;opacity:1;z-index:32767;text-align:left;}			  
.balloon h3{margin:0 0 10px 0;font-size:18px;}
.tt1 .b img.SINGLE_ELEM,
.tt2 .b img.SINGLE_ELEM{left:-15px}

.tt1 .a img.SINGLE_ELEM,
.tt2 .a img.SINGLE_ELEM{top:-15px}

.tt1 .e img.SINGLE_ELEM{top:-15px}


.tt2{width:42px;height:42px;background:transparent;position:relative;display:inline-block;margin:0 2px;}
.tt2 .a { position:absolute;border-top: 14px solid #dedede; border-left: 14px solid transparent; border-right: 14px solid transparent; height: 0; width: 42px; }
.tt2 .b { position:absolute;left:0;border-left: 14px solid #dadada; border-top: 14px solid transparent; border-bottom: 14px solid transparent; height: 42px; width: 14px; }
.tt2 .c { position:absolute;top:50%;left:50%;margin:-7px 0 0 -7px;background: #fff;border:1px #ccc solid;width: 14px;height:14px;z-index:1 }
.tt2 .d { position:absolute;right:0;border-right: 14px solid  #dadada; border-top: 14px solid transparent; border-bottom: 14px solid transparent; height: 42px; width: 14px; }
.tt2 .e { position:absolute;bottom:0;border-bottom: 14px solid #dedede; border-left: 14px solid transparent; border-right: 14px solid transparent; height: 0; width: 42px; }

.tt2 .a.active{border-top: 14px solid #ff0099;}
.tt2 .b.active{border-left: 14px solid #ff0099}
.tt2 .c.active{background: #ff0099;}
.tt2 .d.active{border-right: 14px solid  #ff0099;}
.tt2 .e.active{border-bottom: 14px solid #ff0099;}
/*
.tt2[title]:after {
  content: attr(title);
  position: absolute;
  top: 42px;
  left: 0;
  z-index:2;background:#ffcf00;font-size:12px;
  overflow:hidden;
  width:15px;height:20px;
  text-align:left;
  padding:5px;
  
}
.tt2[title]:hover:after{
	width:auto;height:auto;
	z-index:10;
	width:120px;
}
*/

.tt01{width:56px;height:20px;background:#333;position:relative;display:inline-block;margin:0 2px;vertical-align:top;}
.tt02{width:42px;height:20px;background:#333;position:relative;display:inline-block;margin:0 2px;}

.tt1{width:56px;height:42px;background:transparent;position:relative;display:inline-block;margin:0 2px;vertical-align:top;}
.tt1 .a { position:absolute;border-top: 14px solid #dadada; border-left: 14px solid transparent;  height: 0; width: 28px; }
.tt1 .b { position:absolute;left:0;border-left: 14px solid #dedede; border-top: 14px solid transparent; border-bottom: 14px solid transparent; height: 42px; width: 14px; }
.tt1 .c{ position:absolute;top:14px;left:14px;background:#f2f2f2;width: 14px;height:14px;border:1px #ccc solid; }
.tt1 .d { position:absolute;bottom:0;border-bottom: 14px solid #dadada; border-left: 14px solid transparent;  height: 0; width: 28px; }
.tt1 .e { position:absolute;right:0;border-top: 14px solid #dedede; border-right: 14px solid transparent;  height: 0; width: 28px; }
.tt1 .g { position:absolute;right:0;border-right: 14px solid #dedede; border-top: 14px solid transparent; border-bottom: 14px solid transparent; height: 42px; width: 14px; }
.tt1 .f { position:absolute;top:14px;right:14px;background:#f2f2f2;width: 14px;height:14px;border:1px #ccc solid; }
.tt1 .h { position:absolute;right:0;bottom:0;border-bottom: 14px solid #dedede; border-right: 14px solid transparent;  height: 0; width: 28px; }
.tt1 .i{ color:white;background:#333;width: 100%;height:100%;line-height:42px;}

.tt1 .a.active{border-top: 14px solid #ff0099;}
.tt1 .b.active{border-left: 14px solid #ff0099;}
.tt1 .c.active{background:#ff0099;}
.tt1 .d.active{border-bottom: 14px solid #ff0099;}
.tt1 .e.active{border-top: 14px solid #ff0099;}
.tt1 .g.active{border-right: 14px solid #ff0099;}
.tt1 .f.active{background:#ff0099;}
.tt1 .h.active{border-bottom: 14px solid #ff0099;}
.tt1 .i.active{background:#000;}
#FULL_MOUTH{width:30%;margin:5px auto}

.button2{ color:white;background:#333;width: 100%;height:100%;line-height:42px;}

.tt1 div, .tt2 div{-webkit-transition: all .4s ease-in-out;-moz-transition: all .4s ease-in-out;-o-transition: all .4s ease-in-out;-ms-transition: all .4s ease-in-out;z-index:2;}
.zoom {color:black !important;z-index:999;  -webkit-transform: scale(1.6);    -moz-transform: scale(1.6);   -o-transform: scale(1.6);   transform: scale(1.6);}
.sq{width:30px;height:20px;display:inline-block;margin:0 5px;background:#ff0099;vertical-align:middle;text-align:center;line-height:20px;-webkit-transition: all .4s ease-in-out;-moz-transition: all .4s ease-in-out;-o-transition: all .4s ease-in-out;-ms-transition: all .4s ease-in-out;color:white;}
#x_apppointment_list li{margin:8px 0;line-height:120%;padding:8px 0;border-bottom:1px #ccc solid}
#x_apppointment_list li span{display:inline-block;margin-right:10px;width:2%;vertical-align:top}
#x_apppointment_list li span+span{width:4%;}
#x_apppointment_list li span+span+span{width:33%;}
#x_apppointment_list li span+span+span+span{width:29%;}
#x_apppointment_list li span+span+span+span+span{width:22%;}
#x_apppointment_list li span+span+span+span+span+span{width:2%;}
#x_apppointment_list li span.link_buttons{width:100%;font-size:11px;display:none;position: absolute;   background: white;   width: 254px;   text-align: left;   top: 26px;   padding: 10px;   border: 1px #549dd8 solid;z-index:999}
#x_apppointment_list li span.link_buttons a{display:block;font-size:11px;}
span.link_buttons_wrapper{position:relative;width:auto !important;}

#x_apppointment_list li span+span+span i{margin-left:8px;}
#x_apppointment_list2 li{margin:8px 0;line-height:120%;padding:8px 0;border-bottom:1px #ccc solid}
#x_apppointment_list2 li span{display:inline-block;margin-right:10px;width:5%;vertical-align:top}
#x_apppointment_list2 li span+span{width:50%;}
#x_apppointment_list2 li span+span+span{width:20%;}
#x_apppointment_list2 li span+span+span+span{width:17%;}

img.jaw{height:30px;vertical-align:middle;margin:0 10px;opacity:0.4}


.calendar_tooltip{width:200px;font-size:14px;padding:10px;background:#fff;position:absolute;z-index:10001;box-shadow:2px 2px 2px #ccc;}
/***
Spectrum Colorpicker v1.8.0
https://github.com/bgrins/spectrum
Author: Brian Grinstead
License: MIT
***/

.sp-container {
    position:absolute;
    top:0;
    left:0;
    display:inline-block;
    *display: inline;
    *zoom: 1;
    /* https://github.com/bgrins/spectrum/issues/40 */
    z-index: 9999994;
    overflow: hidden;
}
.sp-container.sp-flat {
    position: relative;
}

/* Fix for * { box-sizing: border-box; } */
.sp-container,
.sp-container * {
    -webkit-box-sizing: content-box;
       -moz-box-sizing: content-box;
            box-sizing: content-box;
}

/* http://ansciath.tumblr.com/post/7347495869/css-aspect-ratio */
.sp-top {
  position:relative;
  width: 100%;
  display:inline-block;
}
.sp-top-inner {
   position:absolute;
   top:0;
   left:0;
   bottom:0;
   right:0;
}
.sp-color {
    position: absolute;
    top:0;
    left:0;
    bottom:0;
    right:20%;
}
.sp-hue {
    position: absolute;
    top:0;
    right:0;
    bottom:0;
    left:84%;
    height: 100%;
}

.sp-clear-enabled .sp-hue {
    top:33px;
    height: 77.5%;
}

.sp-fill {
    padding-top: 80%;
}
.sp-sat, .sp-val {
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
}

.sp-alpha-enabled .sp-top {
    margin-bottom: 18px;
}
.sp-alpha-enabled .sp-alpha {
    display: block;
}
.sp-alpha-handle {
    position:absolute;
    top:-4px;
    bottom: -4px;
    width: 6px;
    left: 50%;
    cursor: pointer;
    border: 1px solid black;
    background: white;
    opacity: .8;
}
.sp-alpha {
    display: none;
    position: absolute;
    bottom: -14px;
    right: 0;
    left: 0;
    height: 8px;
}
.sp-alpha-inner {
    border: solid 1px #333;
}

.sp-clear {
    display: none;
}

.sp-clear.sp-clear-display {
    background-position: center;
}

.sp-clear-enabled .sp-clear {
    display: block;
    position:absolute;
    top:0px;
    right:0;
    bottom:0;
    left:84%;
    height: 28px;
}

/* Don't allow text selection */
.sp-container, .sp-replacer, .sp-preview, .sp-dragger, .sp-slider, .sp-alpha, .sp-clear, .sp-alpha-handle, .sp-container.sp-dragging .sp-input, .sp-container button  {
    -webkit-user-select:none;
    -moz-user-select: -moz-none;
    -o-user-select:none;
    user-select: none;
}

.sp-container.sp-input-disabled .sp-input-container {
    display: none;
}
.sp-container.sp-buttons-disabled .sp-button-container {
    display: none;
}
.sp-container.sp-palette-buttons-disabled .sp-palette-button-container {
    display: none;
}
.sp-palette-only .sp-picker-container {
    display: none;
}
.sp-palette-disabled .sp-palette-container {
    display: none;
}

.sp-initial-disabled .sp-initial {
    display: none;
}


/* Gradients for hue, saturation and value instead of images.  Not pretty... but it works */
.sp-sat {
    background-image: -webkit-gradient(linear,  0 0, 100% 0, from(#FFF), to(rgba(204, 154, 129, 0)));
    background-image: -webkit-linear-gradient(left, #FFF, rgba(204, 154, 129, 0));
    background-image: -moz-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
    background-image: -o-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
    background-image: -ms-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
    background-image: linear-gradient(to right, #fff, rgba(204, 154, 129, 0));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)";
    filter : progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr='#FFFFFFFF', endColorstr='#00CC9A81');
}
.sp-val {
    background-image: -webkit-gradient(linear, 0 100%, 0 0, from(#000000), to(rgba(204, 154, 129, 0)));
    background-image: -webkit-linear-gradient(bottom, #000000, rgba(204, 154, 129, 0));
    background-image: -moz-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
    background-image: -o-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
    background-image: -ms-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
    background-image: linear-gradient(to top, #000, rgba(204, 154, 129, 0));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)";
    filter : progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81', endColorstr='#FF000000');
}

.sp-hue {
    background: -moz-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: -ms-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: -o-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: -webkit-gradient(linear, left top, left bottom, from(#ff0000), color-stop(0.17, #ffff00), color-stop(0.33, #00ff00), color-stop(0.5, #00ffff), color-stop(0.67, #0000ff), color-stop(0.83, #ff00ff), to(#ff0000));
    background: -webkit-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
}

/* IE filters do not support multiple color stops.
   Generate 6 divs, line them up, and do two color gradients for each.
   Yes, really.
 */
.sp-1 {
    height:17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#ffff00');
}
.sp-2 {
    height:16%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00', endColorstr='#00ff00');
}
.sp-3 {
    height:17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff00', endColorstr='#00ffff');
}
.sp-4 {
    height:17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff', endColorstr='#0000ff');
}
.sp-5 {
    height:16%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000ff', endColorstr='#ff00ff');
}
.sp-6 {
    height:17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff', endColorstr='#ff0000');
}

.sp-hidden {
    display: none !important;
}

/* Clearfix hack */
.sp-cf:before, .sp-cf:after { content: ""; display: table; }
.sp-cf:after { clear: both; }
.sp-cf { *zoom: 1; }

/* Mobile devices, make hue slider bigger so it is easier to slide */
@media (max-device-width: 480px) {
    .sp-color { right: 40%; }
    .sp-hue { left: 63%; }
    .sp-fill { padding-top: 60%; }
}
.sp-dragger {
   border-radius: 5px;
   height: 5px;
   width: 5px;
   border: 1px solid #fff;
   background: #000;
   cursor: pointer;
   position:absolute;
   top:0;
   left: 0;
}
.sp-slider {
    position: absolute;
    top:0;
    cursor:pointer;
    height: 3px;
    left: -1px;
    right: -1px;
    border: 1px solid #000;
    background: white;
    opacity: .8;
}

/*
Theme authors:
Here are the basic themeable display options (colors, fonts, global widths).
See http://bgrins.github.io/spectrum/themes/ for instructions.
*/

.sp-container {
    border-radius: 0;
    background-color: #ECECEC;
    border: solid 1px #f0c49B;
    padding: 0;
}
.sp-container, .sp-container button, .sp-container input, .sp-color, .sp-hue, .sp-clear {
    font: normal 12px "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
.sp-top {
    margin-bottom: 3px;
}
.sp-color, .sp-hue, .sp-clear {
    border: solid 1px #666;
}

/* Input */
.sp-input-container {
    float:right;
    width: 100px;
    margin-bottom: 4px;
}
.sp-initial-disabled  .sp-input-container {
    width: 100%;
}
.sp-input {
   font-size: 12px !important;
   border: 1px inset;
   padding: 4px 5px;
   margin: 0;
   width: 100%;
   background:transparent;
   border-radius: 3px;
   color: #222;
}
.sp-input:focus  {
    border: 1px solid orange;
}
.sp-input.sp-validation-error {
    border: 1px solid red;
    background: #fdd;
}
.sp-picker-container , .sp-palette-container {
    float:left;
    position: relative;
    padding: 10px;
    padding-bottom: 300px;
    margin-bottom: -290px;
}
.sp-picker-container {
    width: 172px;
    border-left: solid 1px #fff;
}

/* Palettes */
.sp-palette-container {
    border-right: solid 1px #ccc;
}

.sp-palette-only .sp-palette-container {
    border: 0;
}

.sp-palette .sp-thumb-el {
    display: block;
    position:relative;
    float:left;
    width: 24px;
    height: 15px;
    margin: 3px;
    cursor: pointer;
    border:solid 2px transparent;
}
.sp-palette .sp-thumb-el:hover, .sp-palette .sp-thumb-el.sp-thumb-active {
    border-color: orange;
}
.sp-thumb-el {
    position:relative;
}

/* Initial */
.sp-initial {
    float: left;
    border: solid 1px #333;
}
.sp-initial span {
    width: 30px;
    height: 25px;
    border:none;
    display:block;
    float:left;
    margin:0;
}

.sp-initial .sp-clear-display {
    background-position: center;
}

/* Buttons */
.sp-palette-button-container,
.sp-button-container {
    float: right;
}

/* Replacer (the little preview div that shows up instead of the <input>) */
.sp-replacer {
    margin:0;
    overflow:hidden;
    cursor:pointer;
    padding: 4px;
    display:inline-block;
    *zoom: 1;
    *display: inline;
    border: solid 1px #91765d;
    background: #eee;
    color: #333;
    vertical-align: middle;
}
.sp-replacer:hover, .sp-replacer.sp-active {
    border-color: #F0C49B;
    color: #111;
}
.sp-replacer.sp-disabled {
    cursor:default;
    border-color: silver;
    color: silver;
}
.sp-dd {
    padding: 2px 0;
    height: 16px;
    line-height: 16px;
    float:left;
    font-size:10px;
}
.sp-preview {
    position:relative;
    width:25px;
    height: 20px;
    border: solid 1px #222;
    margin-right: 5px;
    float:left;
    z-index: 0;
}

.sp-palette {
    *width: 220px;
    max-width: 220px;
}
.sp-palette .sp-thumb-el {
    width:16px;
    height: 16px;
    margin:2px 1px;
    border: solid 1px #d0d0d0;
}

.sp-container {
    padding-bottom:0;
}


/* Buttons: http://hellohappy.org/css3-buttons/ */
.sp-container button {
  background-color: #eeeeee;
  background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
  background-image: linear-gradient(to bottom, #eeeeee, #cccccc);
  border: 1px solid #ccc;
  border-bottom: 1px solid #bbb;
  border-radius: 3px;
  color: #333;
  font-size: 14px;
  line-height: 1;
  padding: 5px 4px;
  text-align: center;
  text-shadow: 0 1px 0 #eee;
  vertical-align: middle;
}
.sp-container button:hover {
    background-color: #dddddd;
    background-image: -webkit-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: -moz-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: -ms-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: -o-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: linear-gradient(to bottom, #dddddd, #bbbbbb);
    border: 1px solid #bbb;
    border-bottom: 1px solid #999;
    cursor: pointer;
    text-shadow: 0 1px 0 #ddd;
}
.sp-container button:active {
    border: 1px solid #aaa;
    border-bottom: 1px solid #888;
    -webkit-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
    -moz-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
    -ms-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
    -o-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
    box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
}
.sp-cancel {
    font-size: 11px;
    color: #d93f3f !important;
    margin:0;
    padding:2px;
    margin-right: 5px;
    vertical-align: middle;
    text-decoration:none;

}
.sp-cancel:hover {
    color: #d93f3f !important;
    text-decoration: underline;
}


.sp-palette span:hover, .sp-palette span.sp-thumb-active {
    border-color: #000;
}

.sp-preview, .sp-alpha, .sp-thumb-el {
    position:relative;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);
}
.sp-preview-inner, .sp-alpha-inner, .sp-thumb-inner {
    display:block;
    position:absolute;
    top:0;left:0;bottom:0;right:0;
}

.sp-palette .sp-thumb-inner {
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=);
}

.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=);
}

.sp-clear-display {
    background-repeat:no-repeat;
    background-position: center;
    background-image: url(data:image/gif;base64,R0lGODlhFAAUAPcAAAAAAJmZmZ2dnZ6enqKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq/Hx8fLy8vT09PX19ff39/j4+Pn5+fr6+vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAUABQAAAihAP9FoPCvoMGDBy08+EdhQAIJCCMybCDAAYUEARBAlFiQQoMABQhKUJBxY0SPICEYHBnggEmDKAuoPMjS5cGYMxHW3IiT478JJA8M/CjTZ0GgLRekNGpwAsYABHIypcAgQMsITDtWJYBR6NSqMico9cqR6tKfY7GeBCuVwlipDNmefAtTrkSzB1RaIAoXodsABiZAEFB06gIBWC1mLVgBa0AAOw==);
}


#x_client_form_switch #new_customer_details{display:none}
#x_client_form_switch #x_client_dropdown{display:block}

#x_client_form_switch.new_client #new_customer_details{display:block;}
#x_client_form_switch.new_client #x_client_dropdown{display:none}

#x_appointment_input_details{display:none;}
#x_appointment_input_details.visible_block{display:block;}
.perio_c{height:20px;margin:5px 0;}
.perio_c ul{height:100%;}
.perio_c ul li{display:inline-block;background:#584444;width:5px;height:0%;margin:0 3px;vertical-align:top;}


.perio_c ul li.cundefined{height:0%;}
.perio_c ul li.c0{height:0%;}
.perio_c ul li.c1{height:20%;}
.perio_c ul li.c2{height:30%;}
.perio_c ul li.c3{height:40%;}
.perio_c ul li.c4{height:50%;}
.perio_c ul li.c5{height:60%;}

.perio_c ul li.c6{height:70%;}
.perio_c ul li.c7{height:80%;}
.perio_c ul li.c8{height:90%;}
.perio_c ul li.c9{height:100%;}
.perio_c.b ul li{vertical-align:bottom}
img.tooth_image{cursor:pointer}
img.tooth_image.bleeding{border:3px red dotted}
#formula_icons{display:none;margin-bottom:50px;}
#formula_icons img{display:inline-block;height: 44px;margin: 0 10px 10px 0;border:1px #ccc solid;padding:5px;}
#formula_icons img:hover{border:1px #333 solid;}
#formula_icons img.selected{border:1px #333 solid;}


#treatment_icons{display:none;margin-bottom:50px;}
#treatment_icons a{display:inline-block;margin: 0 10px 10px 0;border:1px #ccc solid;padding:5px;}
#treatment_icons a.selected{border:1px #000 solid;}
#treatment_icons b{display:block;margin-bottom:5px;}





/*! Swipebox v1.3.0 | Constantin Saguin csag.co | MIT License | github.com/brutaldesign/swipebox */
html.swipebox-html.swipebox-touch {
  overflow: hidden !important;
}

#swipebox-overlay img {
  border: none !important;
}

#swipebox-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999 !important;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#swipebox-container {
  position: relative;
  width: 100%;
  height: 100%;
}

#swipebox-slider {
  -webkit-transition: -webkit-transform 0.4s ease;
  transition: transform 0.4s ease;
  height: 100%;
  left: 0;
  top: 0;
  width: 100%;
  white-space: nowrap;
  position: absolute;
  display: none;
  cursor: pointer;
}
#swipebox-slider .slide {
  height: 100%;
  width: 100%;
  line-height: 1px;
  text-align: center;
  display: inline-block;
}
#swipebox-slider .slide:before {
  content: "";
  display: inline-block;
  height: 50%;
  width: 1px;
  margin-right: -1px;
}
#swipebox-slider .slide img, #swipebox-slider .slide .swipebox-video-container {
  display: inline-block;
  max-height: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  width: auto;
  height: auto;
  vertical-align: middle;
}
#swipebox-slider .slide .swipebox-video-container {
  background: none;
  max-width: 1140px;
  max-height: 100%;
  width: 100%;
  padding: 5%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
#swipebox-slider .slide .swipebox-video-container .swipebox-video {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  position: relative;
}
#swipebox-slider .slide .swipebox-video-container .swipebox-video iframe {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
}
#swipebox-slider .slide-loading {
  background: url(../img/loader.gif) no-repeat center center;
}

#swipebox-bottom-bar,
#swipebox-top-bar {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  position: absolute;
  left: 0;
  z-index: 999;
  height: 50px;
  width: 100%;
}

#swipebox-bottom-bar {
  bottom: -50px;
}
#swipebox-bottom-bar.visible-bars {
  -webkit-transform: translate3d(0, -50px, 0);
  transform: translate3d(0, -50px, 0);
}

#swipebox-top-bar {
  top: -50px;
}
#swipebox-top-bar.visible-bars {
  -webkit-transform: translate3d(0, 50px, 0);
  transform: translate3d(0, 50px, 0);
}

#swipebox-title {
  display: block;
  width: 100%;
  text-align: center;
}

#swipebox-prev,
#swipebox-next,
#swipebox-close {
  background-image: url(/media/js/swipebox/img/icons.png);
  background-repeat: no-repeat;
  border: none !important;
  text-decoration: none !important;
  cursor: pointer;
  width: 50px;
  height: 50px;
  top: 0;
}

#swipebox-arrows {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: 50px;
}

#swipebox-prev {
  background-position: -32px 13px;
  float: left;
}

#swipebox-next {
  background-position: -78px 13px;
  float: right;
}

#swipebox-close {
  top: 0;
  right: 0;
  position: absolute;
  z-index: 9999;
  background-position: 15px 12px;
}

.swipebox-no-close-button #swipebox-close {
  display: none;
}

#swipebox-prev.disabled,
#swipebox-next.disabled {
  opacity: 0.3;
}

.swipebox-no-touch #swipebox-overlay.rightSpring #swipebox-slider {
  -webkit-animation: rightSpring 0.3s;
  animation: rightSpring 0.3s;
}
.swipebox-no-touch #swipebox-overlay.leftSpring #swipebox-slider {
  -webkit-animation: leftSpring 0.3s;
  animation: leftSpring 0.3s;
}

.swipebox-touch #swipebox-container:before, .swipebox-touch #swipebox-container:after {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
  content: ' ';
  position: absolute;
  z-index: 999;
  top: 0;
  height: 100%;
  width: 20px;
  opacity: 0;
}
.swipebox-touch #swipebox-container:before {
  left: 0;
  -webkit-box-shadow: inset 10px 0px 10px -8px #656565;
  box-shadow: inset 10px 0px 10px -8px #656565;
}
.swipebox-touch #swipebox-container:after {
  right: 0;
  -webkit-box-shadow: inset -10px 0px 10px -8px #656565;
  box-shadow: inset -10px 0px 10px -8px #656565;
}
.swipebox-touch #swipebox-overlay.leftSpringTouch #swipebox-container:before {
  opacity: 1;
}
.swipebox-touch #swipebox-overlay.rightSpringTouch #swipebox-container:after {
  opacity: 1;
}

@-webkit-keyframes rightSpring {
  0% {
    left: 0;
  }

  50% {
    left: -30px;
  }

  100% {
    left: 0;
  }
}

@keyframes rightSpring {
  0% {
    left: 0;
  }

  50% {
    left: -30px;
  }

  100% {
    left: 0;
  }
}
@-webkit-keyframes leftSpring {
  0% {
    left: 0;
  }

  50% {
    left: 30px;
  }

  100% {
    left: 0;
  }
}
@keyframes leftSpring {
  0% {
    left: 0;
  }

  50% {
    left: 30px;
  }

  100% {
    left: 0;
  }
}
@media screen and (min-width: 800px) {
  #swipebox-close {
    right: 10px;
  }

  #swipebox-arrows {
    width: 92%;
    max-width: 800px;
  }
}
/* Skin 
--------------------------*/
#swipebox-overlay {
  /*background: #3f4052;*/
  background:#3f4052 url(/media/elem/bg10.jpg) top center repeat;
}

#swipebox-bottom-bar,
#swipebox-top-bar {
  text-shadow: 1px 1px 1px black;
  background: #333;
  opacity: 0.95;
}

#swipebox-top-bar {
  color: #333 !important;
  font-size: 15px;
  line-height: 43px;
  font-family: Helvetica, Arial, sans-serif;
}

#WEB_FORMS article{    background: white;padding: 20px;margin: 20px;}

#signature_widget{margin-bottom:10px;}
#signature_widget b{display:block;}
#signature_widget canvas{border:1px #ccc dashed;}
#signature_widget a{display:inline-block;vertical-align:top;margin-left:5px;}

#med_records_dropzone{border:1px dashed #ccc;padding:10px;margin-top:10px;flex-basis: 100%;flex-grow: 1;}
#initial_buttons{border:1px dashed #ccc;padding:10px;margin-top:10px;flex-basis: 100%;flex-grow: 1;font-size:14px;margin-right:20px;}

#med_records_dropzone a.button, #initial_buttons a.button{font-size:14px;padding: 0.4rem 0.7rem;}
@media screen and (max-width: 1200px) {


	#modal-content {width: 100%;position: fixed;z-index: 99;left: 0%;margin: 0px 0 0 0;box-shadow: none;height:100%;top: 0;}
	#modal-body {height: 95%;padding: 10px;}
	#modal-body iframe{height: 95% !important;}
}

@media screen and (max-width: 600px)
{
	#WEB_FORMS article img{width:95%;height:auto}
	#body_iframe .w100 img{width:95%;height:auto}
	#body_iframe h1{font-size:24px;}
	#body_iframe h2{font-size:22px;}
}
