@font-face
{
font-family: "MuseoSans500Regular";
src: url("fonts/MuseoSans_500-webfont.woff");
}

body
{
background:#fff;
color:#353535;
font-family:Verdana;
font-size:14px;
margin:0px;
padding:0px;
text-align:left;
direction:ltr;
unicode-bidi:embed;
display:none;
}

h1, h2, h3, h4, h5{font-size:13px;color:#333;margin:0px;padding:0px;}
h1{font-size:14px;margin-bottom:20px;}
h5{font-size:11px;}

h2,h3
{
font-weight: bold;
font-size: inherit;
color: inherit;
display: inline;
}

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;
}

select {
    -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-size: inherit;
    margin: 0;
    overflow: hidden;
    //padding-top: 2px;
    //padding-bottom: 2px;
    text-overflow: ellipsis;
    white-space: nowrap;
    outline:none;
    background-size: contain;
    width:170px;
}

select:focus
{
border:2px 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:3px;
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-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:8px 0px 8px 0px;
height:0px;
//border:1px solid #acacac;
}

.td_underline
{
border-bottom:2px solid #ccc;
width:414px;
height:29px;
vertical-align:bottom;
}

select
{
margin-top:11px;
}

.button
{
cursor:pointer;
}

#disclaimer
{
font-size:11px;
}

.bar_blue
{
position:absolute;
background:#00447c;
width:107px;
bottom:58px;
border-radius:3px;
}

.bar_grey
{
position:absolute;
background:#c0c0c0;
width:135px;
bottom:58px;
border-radius:3px;
}

#chart_blue_0
{
left:10px;
height:50px;
background:#13467b;
}

#chart_blue_1
{
left:131px;
height:100px;
background:#cacdc2;
}

#chart_blue_2
{
left:255px;
height:150px;
background:#07a0c2;
}

#chart_blue_3
{
left:380px;
height:150px;
background:#818286;
}

.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:6px;
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;
width:300px;
height:100px;
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;
}

#info_popup_0
{
top:60px;
left:400px;
}

#info_popup_1
{
top:180px;
left:250px;
}

.bar_rect
{
position:absolute;
width:485px;
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:100px;
left:12px;
top:276px;
text-align:center;
font-weight:bold;
}

#chart_label_1
{
position:absolute;
width:100px;
left:136px;
top:276px;
text-align:center;
font-weight:bold;
}

#chart_label_2
{
position:absolute;
width:100px;
left:260px;
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;
width:487px;
height:326px;
left:26px;
margin-top:-16px;
}

.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
{
}

.expand_header
{
background:#0093b5;
border-radius:8px;
color:#fff;
width:517px;
padding:7px;
padding-left:12px;
font-weight:bold;
cursor:pointer;
margin-bottom:2px;
}

.expand_contents
{
height:0px;
overflow:hidden;
}

.expand_table
{
width:525px;
border-collapse:collapse;
font-size:13px;
margin-bottom:10px;
}

.expand_table td
{
border-bottom:1px solid #acacac;
}

.expand_input
{
background:#e9ebe8;
text-align:right;
padding-right:12px;
width:124px;
}

.summary_table .expand_input
{
background:none;
}

.expand_divider
{
width:2px;
}

.expand_print_divider
{
border:none !important;
width:40px;
}

.expand_title
{
padding-left:15px;
}

.expand_footer
{
padding-top:5px;
padding-bottom:5px;
background:#cacdc2;
font-weight:bold;
}


#pie_canvas
{
    margin-top:-28px;
    margin-left:-19px;
}

.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;
}

.app_description
{
    padding: inherit;
    width: 50%;
}

.container_sub table
{
    width: -webkit-fill-available;
    width: -moz-available;
    width: stretch; 
}

.td_underline
{
    width: 100%;
}

.control_buttons_reset
{
    text-align: right;    
}

.reset_button
{
width: 176px;
height: 26px;
padding-top: 7px;
background: url(images/blank_reset_button.png);
text-align: center;
font-weight: bold;
color: #000;
}

.container_info
{
    padding: 10px;
}

.pie_chart_table
{
    display: block;
    width: 100%;
}

.pie_chart_description
{
    display: block;   
    width: 100%; 
}

.pie_chart_container 
{
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
}

img.header_logo {
    width: 100%;
    max-width: 270px;
}


@media screen and (max-width:550px){
    .pie_chart_container 
    {
        display: block;
    }
}

@media screen and (max-width:450px){
  
    .td_underline
    {
        width:  -webkit-fill-available;
        width:  -moz-available;
        width:  stretch;
        height: auto;
    }

    .calc_logo
    {
        position: inherit;
    }

    #container_div
    {
        height: -webkit-fit-content;
        height: -moz-fit-content;
        height: fit-content;
        width:-webkit-fill-available;
        width:-moz-available;
        width:stretch;
        border-radius:5px;
        padding:8px;        
    }
    .container_sub
    {
        width:inherit;  
        border:3px solid #ebebeb;
        border-radius:6px;
        padding:4px;
        margin-bottom:8px;
    
    }
    .container_sub.summary_sub
    {
        height: -webkit-fit-content;
        height: -moz-fit-content;
        height: fit-content;
        padding-left: 15px;
    }
    
    #text_1_div
    {
        width: -webkit-fill-available;
        width: -moz-available;
        width: stretch;
    }
    
    #pie_canvas
    {
        margin-top: -28px;
        margin-left: -20px;
        margin-bottom: -28px;
        max-width: 290px;
        width: 113%;
    }

    .control_button_show
    {
        text-align: right;
    }

    .control_buttons_button 
    {
        /* width: 220px; */
    }

    .control_buttons td
    {
        text-align: center;
    }

    .control_buttons
    {
        margin-left: 0px;
    }

    td
    {
        display: block;
        width: auto;
    }

    .td_select
    {
        text-align: right;
        padding-bottom: 15px;
    }

    .td_underline
    {
        text-align: justify;
    }

    select
    {
        font-size: 18px;
        white-space: normal;
        width: 100%;
    }
    
    .app_header_div
    {
        display: unset;
        text-align: center;
        padding: unset;
    }

    .app_header_element
    {
        display: block;
    }

    .app_description
    {
        padding: 10px 15px 0px;
        width: auto;
    }


}

#print_div #pie_table
{
width:271px;
}

#print_div #pie_canvas
{
    margin-top: unset;
    margin-left: unset;
}