@font-face
{
font-family: 'Rethink';
src: url('fonts/RethinkSans-VariableFont_wght.ttf') format('truetype');
font-style: normal;
font-weight: 100 900;
}

body
{
background:#fff;
color:#353535;
font-family:Rethink, 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;
cursor: pointer;
background-color: #f1f5f8;
border: 2px solid #ebecf0;
width: 48%;
border-radius: 8px;
height: 46px;
color: #000;
text-align: center;
padding-top: 9px;
box-sizing: border-box;
transition: background-color 0.25s ease-out, color 0.25s ease-out;
}

.button2:hover
{
background: #b2c2e4;
//color: #fefefe;
}

.button2:hover svg
{
//fill: #fefefe;
}

.button2 svg
{
position: relative;
fill: #000;
top: 4px;
left: 7px;
}

[data-whatinput='mouse'] .button2 {
    outline: 0;
}

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;
}

h1
{
font-size: 29px;
font-weight: 600;
margin: 0 0 7px 0;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5.516 7.548l4.484 4.483 4.484-4.483-1.06-1.06-3.424 3.424-3.424-3.424z'/></svg>");
    background-repeat: no-repeat;
    background-position: center right 0px;
    background-size: 20px;
    padding-right: 35px;
    padding-left: 8px;
    border: 2px solid #ebecf0;
    border-radius: 6px;
  	color: inherit;
    font-size: inherit;
    font-family: inherit;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    outline: none;
    width: 180px;
    height: 32px;
    cursor: pointer;
}

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;
}

.expand_header
{
background:#08353a;
border-radius:0px;
color:#fff;
width:auto;
padding:7px;
padding-left:12px;
font-weight:bold;
cursor:pointer;
margin-bottom:2px;
}

.expand_contents
{
height:0px;
overflow:hidden;
}

#sliders_extra
{
top:20px;
left:20px;
width:215px;
height:450px;
font-size:12px;
float:left;
}

#sliders_extra .slider_outer
{
margin-left:11px;
}

#sliders_extra .value_box_blank
{
margin:0px;
}

#container_div
{
width:auto;
height:-webkit-min-content;
height:-moz-min-content;
height:min-content;
}

.container_sub
{
width:auto;
background:#fff;
border:2px solid #f2f4f7;
border-radius:20px;
padding:18px;
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;
margin-left:0px;
margin-right:27px;
}

.slider
{
width:157px;
height:22px;
margin:11px 0px 11px 0px;
}

.ui-widget-content { background:#eceded; background-repeat:repeat-x; color: #222222; }
.ui-widget-header { background:#7b98ce!important; 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: 10px;
height: 10px;
cursor: default;
background: #7b98ce;
outline: none;
border: 4px solid #fff;
border-radius: 16px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.ui-slider .ui-slider-handle:focus
{
outline: 1px solid #00a3e5;
}

.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
{
height: 2px;
background: #f2f4f7;
margin: 0 -20px 10px -17px;
}

.dashed_line
{
border-top: 2px solid transparent;
border-image: repeating-linear-gradient(to right, #eaebee 0 5px, transparent 5px 10px) 100% 1;
width: 100%;
margin: 20px 0;
}

.button
{
cursor:pointer;
}

#disclaimer
{
font-size:14px;
}

.bar_blue
{
position:absolute;
background:#003e51;
width:32%;
bottom:58px;
border-radius:6px;
min-height: 33px;
}

.bar_red
{
position:absolute;
background:#f99e33;
width:110px;
bottom:58px;
border-radius:3px;
}

.bar_green
{
position:absolute;
background:#f99e33;
width:110px;
bottom:58px;
border-radius:3px;
}

.bar_grey
{
position:absolute;
background:#c0c0c0;
width:135px;
bottom:58px;
border-radius:3px;
}

#chart_canvas
{
position:relative;
top:20px;
left:75px;
width:390px;
height:270px;
}

#chart_popup
{
position:absolute;
width:140px;
height:60px;
border:1px solid #000;
border-radius:3px;
display:none;
text-align:center;
background:rgba(255,255,255,0.8);
}

#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: 100%;
min-width: 120px;
max-width: 180px;
height: 32px;
background-color: #fff;
border: 2px solid #ebecf0;
border-radius: 6px;
position: relative;
box-sizing: border-box;
overflow: hidden;
}

.value_box_blank
{
width: 100%;
min-width: 120px;
max-width: 180px;
height:32px;
background-color: #fff;
border: 2px solid #ebecf0;
border-radius: 6px;
}

.value_box_dropdown
{
background-image: none;
height: auto;
border:none;
}

.value_box:not(.percent):not(.years):not(.value_box_dropdown)::before
{
content: "$";
position: absolute;
top: 0;
left: 0;
width: 24px;
height: 100%;
background-color: #f1f5f8;
color: #333;
display: flex;
align-items: center;
justify-content: center;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
border-right: 2px solid #ebecf0;
pointer-events: none;
}

.value_box.percent:not(.value_box_dropdown)::after
{
content: "%";
position: absolute;
top: 0;
right: 0;
width: 24px;
height: 100%;
background-color: #f1f5f8;
color: #333;
display: flex;
align-items: center;
justify-content: center;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
border-left: 2px solid #ebecf0;
pointer-events: none;
}

.value_box.years:not(.value_box_dropdown)::after
{
content: "Yrs";
position: absolute;
top: 0;
right: 0;
width: 24px;
height: 100%;
background-color: #f1f5f8;
color: #333;
display: flex;
align-items: center;
justify-content: center;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
border-left: 2px solid #ebecf0;
pointer-events: none;
}

.grey
{
background-color:#f1f5f8;
border:2px solid #ebecf0;
}

.value_box_inner
{
position:relative;
top:3px;
left:35px;
text-align:left;
outline:none;
width: auto;
padding-bottom: 3px;
}

.value_box.percent .value_box_inner, .value_box_blank .value_box_inner, .value_box.years .value_box_inner
{
left:10px;
}

.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;
right:50px;
height:58px;
left:50px;
}

#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:0px;
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;
}

#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:35px;
margin-top:-16px;
//font-size:13px;
}

.blue_inner
{
position:relative;
text-align:center;
color:#fff;
margin-top:5px;
}

.grey_inner
{
position:relative;
text-align:center;
color:#000;
}

.key_square
{
width:14px;
height:14px;
}

#key_div
{
position:absolute;
top:300px;
left:48px;
}

.table_slider
{
    width: 260px;
}


.province_title
{
    width: 40%;
}

#chart_header_text
{
font-weight: bold;
font-size: 19px;
margin: 5px 0 17px 0;
}

#chart_footer_text
{
line-height: 170%;
margin-top: 10px;
}

.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: 180px;
    //padding-right: 25px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    //display: inline-flex;
    margin-left: auto;
    margin-right: 5%;
    position: relative;    
}

.container_info
{
    padding: 10px;
}

.header_row {
    width: 750px;
    font-weight: normal;
    background: #f9fafa;
    height: 40px;
    vertical-align: middle;
    display: block;
    font-size: 14px;
    font-weight: 500;
    left: -19px;
    box-sizing: border-box;
    padding: 12px 20px;
    position: relative;
}

#chart_div
{
    width: 100%;
    width: -webkit-fill-available;
    width: -moz-available;
    width: stretch;
    left: 0PX;  
}    

#chart_blue_0
{
left: 0%;
}

#chart_blue_1
{
left: 34%;
}

#chart_blue_2
{
left: 68%;
}

#chart_label_0
{
left: 0%;
width: 32%;
}

#chart_label_1
{
left: 34%;
width: 32%;    
}

#chart_label_2
{  
left: 68%;
width: 32%;    
}

.container_sub table
{
    width: 100%;
    width: -webkit-fill-available;
    width: -moz-available;
    width: stretch;
    padding: 10px 0;
}

.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;
}

.table_container{
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: 150px;
    margin-left: auto;
}

.app_description
{
    padding: inherit;
    width: 60%;
}

.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: 200px;
}



@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: 100%;
        width: -webkit-fill-available;
        width: -moz-available;
        width: stretch;
        font-size:3vw;
        left: 0px;
    }    

    #chart_div td  
    {
        border-right: 1px solid;
        padding-right: 1px;
    }


    .table_slider
    {
        display: block;
    }

    #chart_div th
    {
        font-size: 3vw;
        padding-left: 0px;
        padding-right: 0px;
    }



    .table_slider
    {
        width: 95%;
    }
    
    .slider_outer
    {
        width: 100%;
    }
    
    .slider
    {
        width: 100%;
        margin: 11px 0px 11px;        
    }

    .divider_line {
        width: auto;
        margin: 10px 0px 10px 0px;
    }
    
    .table_input
    {
        width: 180px;
        padding-right: unset;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;        
    }

	.table_input:has(.grey)
	{
		padding-right: 22px;
		width: 176px;
	}

    .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;
    }

    .calc_dropdown
    {
        width: -webkit-fill-available;
        width: -moz-available;
        width: stretch;
    }

    .value_box_inner{
        width: 150px;
        margin-left: auto;
        }

    .table_container
    {
        padding-top: 5px;        
    }

    .app_header_div
    {
        display: block;
        text-align: center;
        padding: unset;
    }

    .app_header_element
    {
        display: block;
    }

    .app_description
    {
        padding: 10px 15px 0px;
        width: auto;
    }

    .province_current
    {
        text-align: right;
        padding-right: 5%;
    }

    .table_popup
    {
        padding-left: 5px;
    }

    
    .table_popup_no_image
    {
        padding-left: 0px;
    }

    /* Styleset for pdf*/
    #print_div #chart_blue_0
    {
    left:110px;
    height:50px;
    background:#00447c;
    }

    #print_div #chart_blue_1
    {
    left:262px;
    height:100px;
    background:#00447c;
    }

    #print_div #chart_blue_2
    {
    left:405px;
    height:150px;
    background:#009fc2;
    }

    #print_div .bar_blue
    {
    position:absolute;
    /* background:#003e51; */
    width:110px;
    bottom:58px;
    border-radius:3px;
    }

    #print_div #chart_label_0
    {
    position:absolute;
    width:140px;
    left:103px;
    top:276px;
    text-align:center;
    font-weight:bold;
    }

    #print_div #chart_label_1
    {
    position:absolute;
    width:140px;
    left:246px;
    top:276px;
    text-align:center;
    font-weight:bold;
    }

    #print_div #chart_label_2
    {
    position:absolute;
    width:140px;
    left:388px;
    top:276px;
    text-align:center;
    font-weight:bold;
    }
    
    .calculator .blue_inner,
    .calculator #chart_label_2,
    .calculator #chart_label_0,
    .calculator #chart_label_1 {
        font-size: 13px;
    }
}

#print_div .bar_rect
{
position:absolute;
width:448px;
height:58px;
right:unset;
left:88px;
//border-left:1px solid #ccc;
//border-top:1px solid #ccc;
}
