@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-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-family: inherit;
    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;
}

.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-handle:focus {border:1px solid #00a3e5!important;}
.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:100%;
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:3;
}

.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
{
    max-height: 402px;
    overflow-y: auto;
position:relative;
left:23px;
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;
}

#chart_header_text
{
    font-weight:bold;
    font-size:13px;
    text-align:center;
}

.table_slider
{
    width: 260px;
}

.calc_logo
{
    position: relative;
    left:345px;
    width:270px;
}

.calc_dropdown
{
    width:127px;
}

.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_header_element
{
    display: inline-block;
}

.main_container table
{
    width: 100%;
}

.table_slider
{
    width: 100%;
}

.slider_outer
{
    width: 90%;
}

.slider
{
    width: 100%;
}

.table_input
{
    width: 150px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-left: auto;
    margin-right: 5%;
}

.value_box_blank 
{
    width: inherit;
    height: 30px;
    //background-image: url(images/blank_button_bg.png);
    //background-repeat: round;
    margin-top: -5px;
    //background-size: cover;
}


.value_box 
{
    width: inherit;
    height: 30px;
    //background-image: url(images/value_button_bg.png);
    //background-repeat: round;
    margin-top: -5px;
    //background-size: cover;
}


.value_box_inner 
{
    position: relative;
    height: 28px;
    left: -5px;
    width: inherit;
    text-align: right;
}

.calc_dropdown
{
    width: 150px;
}

.table_popup
{
    position: inherit;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    padding-left: 5px;
    padding-top: 5px;
}

.chart_header
{
    width: 100%;
    min-width: 400px;    
    border-collapse:collapse;
    border-top:2px solid #cccccc;
    border-bottom:2px solid #cccccc;
}

.chart_body
{

    max-height:402px;
    width:inherit;
    overflow-y:auto;
    font-size: 13px;
}

.chart_body_content
{
    width: 100%;
    border-collapse:collapse;
    border-spacing: 0;
    padding: 0;
}

.scenario_td_0
{
    width:8%;
    text-align:center;
    padding-right:1px;
    background:#e3e3e3;
}

.scenario_td_1
{
    width: 24%;
    background:#f3f3f3;
}
.scenario_td_2
{
    width: 23%;
    background:#e3e3e3;
}

.scenario_td_3
{
    width: 20%;
    background:#f3f3f3;
}

.scenario_td_4
{
    width: 25%;
    background:#e3e3e3;
}

#chart_div .scenario_th_0
{
    width: 8%;
    text-align: center;
}
.scenario_th_1
{
    white-space: normal;
    width: 23%; 
}
.scenario_th_2
{
    width: 23%;
}
.scenario_th_3
{
    width: 23%;
}

.scenario_th_4
{
    width: 23%;
}

#table_scroll{
    width: -webkit-fill-available;
    width: -moz-available;
    width: stretch;        
}

.info_popup
{
    right: 0px;
    left: unset;
    top: 27px;
    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;
}


.table_container{
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: 150px;
    margin-left: auto;
}

.app_description
{
    padding: inherit;    
    width: 50%;
}

.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;
}

#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);
}


#chart_div td.scenario_td_4 {
    border-right: 0px;
}

.inactive_faded
{
    opacity: 0.6;
}

.table_input
{
    position: relative;
    padding-right: 25px;    
}

.ui-slider-horizontal
{
    height: .5em;
}

.ui-widget-content
{
    border-radius: 10px;
}

.ui-widget-header
{
    border-radius: 10px;    
}

.slider_outer
{
    background-image: none;
}

.table_popup
{
    position: -ms-page;
    padding-left: 5px;
}

img.header_logo {
    width: 100%;
    max-width: 270px;
}

@media screen  and (min-width: 451px){
    #chart_div
    {
        width: auto;
        left: 0px;
        font-size: 14px;
    }

    #chart_div th
    {
        padding-left: 0px;
        padding-right: 0px;
    }

    #table_scroll_table td{
        padding-right: 15px;
    }

    #chart_header_text
    {
        font-size:15px;
    }

    .table_inputs
    {
        width: auto;
        margin-left: 0px;
    }

    .table_canvas_container
    {
        margin-left: 0px;
    }

    .dial_years_0
    {
        font-weight:bold;
        font-size:20px;
        vertical-align:bottom;
        padding-right:0px;
    }

    .scenario_th_1
    {
        white-space: normal;
    }
}

@media screen and (max-width: 450px){
    #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 
    {
        width: -webkit-fill-available;
        width: -moz-available;
        width: stretch;
        left: 0px;
        font-size: 14px;      
    }
    
    #chart_div th{
        padding-left: unset;
        padding-right: unset;
    }

    #chart_div td  
    {
        border-right: 1px solid;
        padding-right: 5px;
    }



    .table_slider
    {
        width: 95%;
        display: block;
        
    }
    
    .slider_outer
    {
        width: 100%;
    }
    
    .slider
    {
        margin: 11px 0px 11px;        
        width: 100%;
    }

    .divider_line {
        width: auto;
        margin: 10px 0px 10px 0px;
    }
    
    .table_input
    {
        width: 180px;
        padding-right: unset;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;        
    }

    .value_box_blank
    {
        width: -webkit-fill-available;
        width: -moz-available;
        width: stretch;
        margin-left: auto;
    }

    .value_box
    {
        width: -webkit-fill-available;
        width: -moz-available;
        width: stretch;
        margin-left: auto;
    }

    .table_dropdown
    {
        width: -webkit-fill-available;
        width: -moz-available;
        width: stretch;
        margin-left: auto;
        font-size: 16px;
    }

    .calc_dropdown
    {
        width: -webkit-fill-available;
        width: -moz-available;
        width: stretch;
    }

    .table_container
    {
        padding-top: 5px;    
        width: 100%;    
    }

    .app_header_div
    {
        display: block;
        text-align: center;
        padding: unset;
    }

    .app_header_element
    {
        display: block;
    }
    .app_description
    {
        padding: 10px 15px 0px;
        width: auto;
    }

    .table_popup_no_image
    {
        padding-left: 0px;
    }
 }