@font-face
{
font-family: 'Sofia';
src: url("fonts/SofiaProRegular.otf");
font-weight: normal;
font-style: normal;
}

body
{
background:#fff;
color:#353535;
font-family:Sofia, Helvetica, Roboto, Arial, sans-serif;
font-size:13.5pt;
margin:0px;
padding:0px;
text-align:left;
direction:ltr;
unicode-bidi:embed;
display:none;
}

.button2 {
    display: inline-block;
    text-align: center;
    line-height: 1;
    cursor: pointer;
    -webkit-appearance: none;
    transition: background-color 0.25s ease-out, color 0.25s ease-out;
    vertical-align: middle;
    border: 1px solid transparent;
    border-radius: 0;
    padding: 0.85em 1em;
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    background-color: #005580;
    color: #fefefe;
}

[data-whatinput='mouse'] .button2 {
    outline: 0;
}

.button2.dark-teal {
    background-color: #005580;
    color: #fefefe;
    font-size:10.5pt;
}

.button2.hollow {
    background-color: #fff;
    padding: 13px 30px;
}

.button2.hollow:after {
    content: "\f054";
    font-family: "FontAwesome";
    font-weight: normal;
    font-style: normal;
    margin: 0px 0px 0px 10px;
    text-decoration: none;
}

.button2.hollow.dark-teal {
    border: 2px solid #005580;
    color: #005580;
}

.button2.dark-teal:hover
	{
	background: #005580;
    color: #fefefe;
    }

h1, h2, h3, h4, h5{font-size:13px;color:#333;margin:0px;padding:0px;}
h1{font-size:14px;margin-bottom:20px;}
h4, h5{font-size:11px;}
a{cursor:pointer;color:#3b5998;-moz-outline-style:none;text-decoration:none;}
a:hover{text-decoration:none;color:#000000;}
a.tool:hover {background:#ffffff;}
a.tool span {display:none;}
a.tool:hover span{display:inline; position:absolute;background:#ffffff;}

a
{
text-decoration:none;
}

img
{
border:0px;
}

h2
{
font-size: 21px;
font-weight: bold;
margin: 0 0 0px 0;
}

select {
    background-size: contain;
    -webkit-appearance: button;
    -moz-appearance: button;
    -webkit-user-select: none;
    -moz-user-select: none;
    -webkit-padding-end: 35px;
    -moz-padding-end: 35px;
    -webkit-padding-start: 2px;
    -moz-padding-start: 2px;
   // background-color: #F07575; /* fallback color if gradients are not supported */ /* For Chrome and Safari */ /* For old Fx (3.6 to 15) */ /* For pre-releases of IE 10*/ /* For old Opera (11.1 to 12.0) */
    background-image: url(../resources/select_arrow.png);
    background-position: top right;
    background-repeat: no-repeat;
    border: 1px solid #AAA;
    border-radius: 0px 6px 6px 0px;
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
            box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    color: #555;
    font-size: inherit;
    margin: 0;
    overflow: hidden;
    //padding-top: 2px;
    //padding-bottom: 2px;
    text-overflow: ellipsis;
    white-space: nowrap;
    outline:none;

}

select:focus
{
border:1px solid #00f!important;
}

#main_div
{
    max-width: 750px;
    margin: auto;
    height: -webkit-min-content;
    height: -moz-min-content;
    height: min-content;
    width: auto;
}

#print_div
{
position:absolute;
width:635px;
top:1600px;
-webkit-print-color-adjust:exact;
color-adjust:exact;
display:none;
}

.print_bar
{
position:absolute;
top:0px;
left:0px;
width:100%;
height:100%;
z-index:0;
}

.print_key
{
position:relative;
top:0px;
left:0px;
width:14px;
height:14px;
z-index:0;
}

#container_div
{
width:auto;
height:-webkit-min-content;
height:-moz-min-content;
height:min-content;
background:#f5f5f5;
border-radius:16px;
padding:17px;
}

.container_sub
{
width:auto;
background:#fff;
border:3px solid #ebebeb;
border-radius:12px;
padding:12px;
margin-bottom:8px;
}


.slider_outer
{
position:relative;
top:0px;
width:162px;
height:22px;
background-image:url(images/slider_bg.png);
background-position:0px -7px;
background-repeat:repeat-x;
}

.slider
{
width:157px;
height:22px;
margin:11px 0px 11px 3px;
}

.ui-widget-content { background-image:url(images/slider_right.png); background-repeat:repeat-x; color: #222222; }
.ui-widget-header { background-image:url(images/slider_left_new.png); background-repeat:repeat-x;;color: #222222; font-weight: bold; }

.ui-slider { position: relative; text-align: left; }
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 16px; height: 17px; cursor: default; background-image:url(images/slider_knob.png);outline:none;border:none;}
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }

.ui-slider-horizontal { height: .8em; }
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%;  }
.ui-slider-horizontal .ui-slider-range-min { left: 0;  }
.ui-slider-horizontal .ui-slider-range-max { right: 0;}

.divider_line
{
background:#acacac;
width:414px;
//height:2px;
margin:4px 0px 8px 0px;
height:0px;
border:1px solid #acacac;
}

.button
{
cursor:pointer;
}

#disclaimer
{
font-size:14px;
}

.bar_blue
{
position:absolute;
background:#003e51;
width:110px;
bottom:58px;
border-radius:3px;
}

.bar_grey
{
position:absolute;
background:#c0c0c0;
width:135px;
bottom:58px;
border-radius:3px;
}

#chart_blue_0
{
left:20px;
height:50px;
background:#00447c;
}

#chart_blue_1
{
left:162px;
height:100px;
background:#00447c;
}

#chart_blue_2
{
left:305px;
height:150px;
background:#009fc2;
}

.value_box
{
width:126px;
height:28px;
background-color: #fff;
background-image: url(images/dollar_2.png);
background-repeat: no-repeat;
border: 2px solid #d2d2d2;
background-position: 6px;
background-size: auto;
}

.value_box_blank
{
width:126px;
height:28px;
background-color: #fff;
border: 2px solid #d2d2d2;
}

.value_box_inner
{
position:relative;
top:2px;
left:25px;
width:87px;
text-align:right;
outline:none;
}

.cont_row_left
{
font-weight:bold;
border-left:2px solid #dadada;
border-top:2px solid #dadada;
border-bottom:2px solid #dadada;
border-radius:6px 0px 0px 6px;
}

.cont_row_right
{
text-align:center;
border-right:2px solid #dadada;
border-top:2px solid #dadada;
border-bottom:2px solid #dadada;
border-radius:0px 6px 6px 0px;
}

.cont_row_center
{
border-top:2px solid #dadada;
border-bottom:2px solid #dadada;
}

.info_popup
{
position:absolute;
background:#fff;
color:#222;
border:2px solid #a8a8a8;
border-radius:6px;
padding:8px;
display:none;
z-index:2;
}

.close_button
{
position:absolute;
right:11px;
top:8px;
cursor:pointer;
}

.bar_rect
{
position:absolute;
width:448px;
height:58px;
left:0px;
//border-left:1px solid #ccc;
//border-top:1px solid #ccc;
}

#bar_rect_0
{
top:32px;
}

#bar_rect_1
{
top:91px;
}

#bar_rect_2
{
top:150px;
}

#bar_rect_3
{
top:209px;
border-bottom:1px solid #ccc;
}

.x_label
{
position:absolute;
top:25px;
left:-33px;
font-size:12px;
width:80px;
text-align:right;
}

#x_label_0
{
top:25px;
}

#x_label_1
{
top:80px;
}

#x_label_2
{
top:140px;
}

#x_label_3
{
top:200px;
}

#x_label_4
{
top:260px;
}

#chart_label_0
{
position:absolute;
width:140px;
left:3px;
top:276px;
text-align:center;
font-weight:bold;
}

#chart_label_1
{
position:absolute;
width:140px;
left:146px;
top:276px;
text-align:center;
font-weight:bold;
}

#chart_label_2
{
position:absolute;
width:140px;
left:288px;
top:276px;
text-align:center;
font-weight:bold;
}

#chart_label_3
{
position:absolute;
width:100px;
left:386px;
top:276px;
text-align:center;
font-weight:bold;
}

#chart_div
{
position:relative;
margin-top:7px;
//font-size:13px;
}

#chart_div td
{
text-align:right;
border-right:9px solid #fff;
padding-right:13px;
}

#chart_div th
{
text-align:center;
padding-left:9px;
padding-right:9px;
}

.blue_inner
{
position:relative;
text-align:center;
color:#000;
font-weight:bold;
margin-top:-18px;
}

.grey_inner
{
position:relative;
text-align:center;
color:#000;
}

.key_square
{
width:14px;
height:14px;
}

#key_div
{
position:absolute;
top:300px;
left:48px;
}

#pie_canvas
{
position:absolute;
top:228px;
right:80px;
}

#pie_canvas_print
{
}

.scenario_th_0
{
    white-space: nowrap;
    width: 10%;
}

.scenario_th_1
{
    width: 30%;
}

.scenario_th_2
{
    width: 30%
}

.scenario_th_3
{
    width: 30%;
}

#print_div .scenario_th_2
{
padding-right:-20px;
}

#print_div .scenario_th_3
{
padding-right:-15px;
}

.scenario_table_header
{
    width: 100%;
}

.dial_years_0
{
    font-weight:bold;
    font-size:20px;
    vertical-align:bottom;
    padding-right:35px;
}

#chart_header_text
{
font-weight:bold;
//font-size:13px;
text-align:center;
}


.table_canvas_container
{
    margin-left: auto;
    margin-right: auto;
}

.table_inputs
{
    border-spacing:9px;
    width: 100%;
    width: -webkit-fill-available;
    width: -moz-available;
    width: stretch; 
    position: relative;
}

.table_container 
{
    display: -webkit-inline-box;
}



.info_popup
{
    right: 0px;
    left: unset;
    top: inherit;
    width: 70%;
    min-width: 200px;
    max-width: 300px;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    z-index: 3;
}
.container_info
{
    padding: 10px;
}

.value_box
{
    width: auto;    
    //background-repeat: round;
    //background-size: cover;
    min-width: 100px;    
}

.value_box_inner
{

    left: 0px;
    width: auto;
    padding-bottom: 3px;
    margin-left: 10px;
    padding-right: 10px;
    
}


.value_box_blank
{
    min-width: 100px;    
    width: auto;    
    //background-repeat: round;
    //background-size: cover;
}

.table_container{
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: 150px;
    margin-left: auto;
}

.table_inputs_header
{
    font-weight:bold;
    text-align:right;
}

.table_inputs_header td
{
    white-space: nowrap;
}

.dial_years_0
{
    padding-right: unset;
    width: 10%;
}

.app_header_div
{
    padding: 10px;  
    display: -webkit-box;  
    display: -ms-flexbox;  
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.app_description
{
    padding: inherit;
    width: 50%;
}

.app_header_element
{
    display: inline-block;
}

#chart_div
{
    overflow: auto;  
    max-height: 350px;
}

#chart_div td.scenario_td_3 {
    border-right: 0px;
}

.chart_container_outer { position: relative; } 

.chart_container_fade
{
    position: absolute;
    right: 0px;
    width: 30px;
    height: 100%;
    background: -webkit-gradient(linear, left top, right top, from(rgba(163,163,163,0)),to(rgba(163,163,163,1)));
    background: linear-gradient(to right, rgba(163,163,163,0) 0%,rgba(163,163,163,0.7) 100%);
    z-index: 1;
    pointer-events: none;
}

.scenario_table_header
{
    min-width: 400px;
}

.ui-slider-horizontal {
    height: .5em;
}

.ui-widget-content {
    border-radius: 10px;
}

#chart_div::-webkit-scrollbar
{
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  z-index: 2;
}

#chart_div::-webkit-scrollbar-thumb
{
  border-radius: 8px;
  border: 3px solid #fff;
  background-color: rgba(0, 0, 0, .3);
}

html
{
    -webkit-text-size-adjust: 100%;    
} 

img.header_logo {
    width: 100%;
    max-width: 270px;
}

@media screen and (max-width:500px){
    .app_header_div
    {
        display: block;
        text-align: center;
        padding: 0px;
    }

    .app_header_element
    {
        display: block;
    }

    .app_description
    {
        padding: 10px 15px 0px;
        width: auto;
    }

    #main_div
    {
        padding:unset;
    }

    #container_div
    {
        border-radius:5px;
        padding:4px;
    }
    .container_sub
    {
        border:3px solid #ebebeb;
        border-radius:6px;
        padding:5px;
        margin-bottom:8px;
    } 

    #chart_div td  
    {
        border-right: 1px solid;
        padding-right: 5px;
    }

    .divider_line
    {
        width:auto;
    }

    .dial_years_0
    {
        width: auto;
    }

    select
    {
        width: -webkit-fill-available;
        width: -moz-available;
        width: stretch;
        font-size: 18px;
        margin-top: 10px;        
    }

    #table_scroll{
        width: -webkit-fill-available;
        width: -moz-available;
        width: stretch;        
    }
    .table_inputs
    {
        border-spacing: 0px;
    }

    .table_inputs td
    {
        padding: 5px 0;
        display: flex;
    }

    #table_scroll_table td{
        padding-right: 15px;
    }

    .table_canvas_container
    {
        margin-left: auto;
        
    }

    .table_canvas_container td
    {
        display: block;
    }

    .table_inputs
    {
        width: 100%;
        margin-left: 0px;
    }

    .value_box
    {
        margin-top: unset;
        max-width: 130px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin: 3px;
        margin-left: auto;
    }

    .value_box_blank
    {
        margin-top: unset;
        max-width: 130px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin: 3px;
        margin-left: auto;        
    }

    .value_box_inner
    {
        width: -webkit-fill-available;
        width: -moz-available;
        width: stretch;
        left: unset;
        top: unset;
        margin-left: 30px; 
        padding-top: 5px;
        
    }

    .scenario_1::before
    {
        padding-top: 5px;
        content: 'Scenario 1';
        display: table-cell;
        white-space: nowrap;
    }

    .scenario_2::before
    {
        padding-top: 5px;
        content: 'Scenario 2';
        display: table-cell;
        white-space: nowrap;        
    }

    td.scenario_1_result
    {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    td.scenario_2_result
    {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .scenario_1_result::before
    {
        display: table-cell;        
        content: 'Scenario 1';
        white-space: nowrap;
        
    }

    .scenario_2_result::before
    {
        display: table-cell;        
        content: 'Scenario 2';
        white-space: nowrap;        
    }

    .scenario_result_value
    {
        margin-left: auto;
    }

    #scenario_table
    {
        width: -webkit-fill-available;
        width: -moz-available;
        width: stretch;
    }

    .table_inputs_header
    {
        display: none;
    }

    .table_input .table_popup{
        margin-left: 0px;
    }

    .table_popup
    {
        text-align: right;
        margin-left: auto;
        width: -webkit-fit-content;
        width: -moz-fit-content;
        width: fit-content;
    }

    .info_popup
    {
        text-align: left;
    }

    #chart_div 
    {
        width: -webkit-fill-available;
        width: -moz-available;
        width: stretch;
        left: 0px;
        font-size: 14px;      
    }
    
    #chart_div th{
        padding-left: 2px;
        padding-right: unset;
    }
 }