@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 {
    -webkit-appearance: none;
    -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;
    width:100%;
}

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:3px;
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-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:414px;
height:2px;
margin:8px 0px 8px 0px;
}

.button
{
cursor:pointer;
}

#disclaimer
{
font-size:14px;
}

.bar_blue
{
position:absolute;
background:#00447c;
width:135px;
bottom:58px;
border-radius:3px;
}

.bar_grey
{
position:absolute;
background:#c0c0c0;
width:135px;
bottom:58px;
border-radius:3px;
}

#chart_blue_0
{
left:60px;
height:50px
}

#chart_grey_0
{
left:60px;
height:75px;
}

#chart_blue_1
{
left:202px;
height:100px;
}

#chart_grey_1
{
left:202px;
height:150px;
}

#chart_blue_2
{
left:345px;
height:150px;
}

#chart_grey_2
{
left:345px;
height:220px;
}

.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.grey
{
background-color:#ccc;
}

.value_box_inner
{
position:relative;
top:2px;
left:25px;
width:87px;
text-align:right;
}

.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:435px;
height:58px;
left:0px;
//border-left:1px solid #ccc;
//border-top:1px solid #ccc;
//border-bottom: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_label_4
{
position:absolute;
width:100px;
left:386px;
top:276px;
text-align:center;
font-weight:bold;
}
#chart_label_5
{
position:absolute;
width:100px;
left:386px;
top:276px;
text-align:center;
font-weight:bold;
}


#chart_div
{
position:relative;
height:326px;
left:35px;
margin-top:-16px;
//font-size:13px;
}

.blue_inner
{
position:relative;
text-align:center;
color:#000;
}

.grey_inner
{
position:relative;
text-align:center;
color:#000;
}

.key_square
{
width:14px;
height:14px;
}

#key_div
{
position:absolute;
top:300px;
left:48px;
}

.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%;
}

#chart_header_text
{
font-weight:bold;
//font-size:13px;
text-align:center;
}

.container_info
{
    padding: 10px;
}

.divider_line
{
    width: auto;
}

.pie_chart_container
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.pie_chart_container_chart
{
    margin-left: auto;
    margin-right: auto;
}

.province_title
{
    width: 40%;
}

.right_bracket_container
{
    width: 75%;
    display: table-cell;
}

.left_bracket_container
{
    width: 20%;
    display: table-cell;
}

.slider_outer
{
    width: 90%;
}

.slider
{
    width: 100%;
}

.table_slider
{
    width: 100%;
}

.table_input
{
    width: 150px;
    padding-right: 25px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-left: auto;
    margin-right: 5%;
    position: relative;    
}

.tax_rate
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.info_popup
{
    right: 0px;
    left: unset;
    top: inherit;
    width: 70%;
    min-width: 180px;
    max-width: 300px;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    z-index: 3;
}

.value_box
{
    width: -webkit-fill-available;
    width: -moz-available;
    width: stretch;
    height: 30px;
    //background-repeat: round;
    //background-size: cover; 
    min-width: 80px;
}

.value_box_inner 
{
    position: relative;
    height: 21px;
    left: -5px;
    outline:none;
    width: inherit;
    text-align: right;
}

/* .value_box .value_box_inner::before
{
    content: '$';
}

.value_box_blank
{
    background-image: unset;
} */

.container_sub table
{
    width: -webkit-fill-available;
    width: -moz-available;
    width: stretch; 
    border-spacing: initial;
    
}

#chart_div
{
    width: -webkit-fill-available;
    width: -moz-available;
    width: stretch;
    left: 0PX;  
}    

#chart_blue_0
{
    left: 10%;
}
#chart_blue_1
{
    left: 25%;
}
#chart_blue_2
{
    left: 40%;
}
#chart_blue_3
{
    left: 55%;
}
#chart_blue_4
{
    left: 70%;
}
#chart_blue_5
{
    left: 85%;
}


#chart_label_0
{
    left: 10%;
    width: 10%;
    font-size: 14px;
    line-height: 1.3;
}
#chart_label_1
{
    left: 25%;
    width: 10%;
    font-size: 14px;
    line-height: 1.3;

}
#chart_label_2
{
    left: 40%;
    width: 10%;
    font-size: 14px;
    line-height: 1.3;
}
#chart_label_3
{
    left: 55%;
    width: 10%;
    font-size: 14px;
    line-height: 1.3;
}
#chart_label_4
{
    left: 70%;
    width: 10%;
    font-size: 14px;
    line-height: 1.3;
}
#chart_label_5
{
    left: 85%;
    width: 10%;
    font-size: 14px;
    line-height: 1.3;
}

#chart_grey_0
{
    left: 20%;
}
#chart_grey_1
{
    left: 45%;
}
#chart_grey_2
{
    left: 70%;
}


.bar_rect
{
    width: 100%;
}


.blue_inner
{
    margin-top: -25px;      
}

.bar_blue
{
    width: 10%;
}

.bar_grey
{
    width: 20%
}

.x_label
{
    left: unset;
    right: 88%;
    z-index: 1;
}

#key_div
{
    left: 35%;
}

.cont_row_left
{
    width: 5%;
}

.cont_row_center
{
    text-align: center;
}

.cont_row_center .value_box_inner
{
    //top: 9px;  
}

.cont_row_slider
{
    width: 30%;
}

.cont_row_slider .slider_outer
{
    width: 90%;
}

.table_input
{
    position: relative;
    padding-right: 0px;    
}

.ui-slider-horizontal
{
    height: .5em;
}

.ui-widget-content
{
    border-radius: 10px;
}

.ui-widget-header
{
    border-radius: 10px;    
}

.slider_outer
{
    background-image: none;
}

.table_popup
{
    padding-left: 5px;
}

.table_popup .button
{
    padding-top: 5px;    
}

select
{
    background-size: contain;       
}

img.header_logo {
    width: 100%;
    max-width: 270px;
}

@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;
    }

	select
	{
	width: unset;
	}

	#chart_footer_text
	{
	font-size: 14px;
	}

	[id^="chart_label_"]
	{
	font-size: 13px!important;
	white-space: nowrap;
	}

    #chart_div
    {
        width: -webkit-fill-available;
        width: -moz-available;
        width: stretch;
        font-size: 2.5vw;
        left: 0px;
    }    

    #chart_div td  
    {
        border-right: 1px solid;
        padding-right: 1px;
    }

    .table_slider
    {
        display: block;
    }

    .table_input
    {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    #chart_div th
    {
        font-size: 3vw;
        padding-left: 0px;
        padding-right: 0px;
    }

    .table_slider
    {
        width: 95%;
    }
    
    .slider_outer
    {
        width: 100%;
    }
    
    .slider
    {
        width: 99%;
    }

    .divider_line {
        width: auto;
        margin: 10px 0px 10px 0px;
    }
    
    .table_input
    {
        width: 95%;
        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: 150px;
        margin-left: auto;
    }
    .value_box_inner{
        width: 150px;
        margin-left: auto;
        }


    .app_header_div
    {
        display: unset;
        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;
    }

    #marginal_tax_rate
    {
        margin-right: 5%;
    }

    .x_label
    {
        right: unset;
        left: -30px;
    }

    .contribution_amount_table td
    {
        display: block;
        padding: 5px 5px;
        
    }

    .contribution_amount_table_header
    {
        display: -webkit-box;
    }

    .contribution_amount_table .contribution_amount_table_label
    {
        display: none;
    }

    .cont_row_left
    {
        width: auto;
        border-right: 2px solid #dadada;
        border-radius: unset;
        border-bottom: none;
    }

    .cont_row_left::after
    {
        content: "Amount"
    }
    

    .cont_row_center
    {
        border-bottom: none;
        border-right: 2px solid #dadada;
        border-left: 2px solid #dadada;   
    }

    .cont_row_right
    {
        border-left: 2px solid #dadada;
        border-radius: unset;
    }

    .cont_row_slider
    {
        width: auto;
    }

    .cont_row_slider .slider_outer
    {
        width: 99%;
    }

    .cont_row_tax_savings::before
    {
        display: table-cell;        
        content: "Tax Savings:"
    }

    .contribution_amount_table .cont_row_tax_savings
    {
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .contribution_amount_table .cont_row_right
    {
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;        
        display: -webkit-box;        
        display: -ms-flexbox;        
        display: flex;
    }

    .cont_row_right::before
    {
        display: table-cell;                
        content: "After Tax Amount:";
    }
}

/* Styleset for pdf*/

.table-m td
{
border-bottom:1px solid #ccc;
}

#print_div body
{
background:#fff;
color:#353535;
font-family:Verdana;
font-size:14px;
margin:0px;
padding:0px;
text-align:left;
direction:ltr;
unicode-bidi:embed;
}

#print_div h1{font-size:14px;margin-bottom:20px;}
#print_div h4, h5{font-size:11px;}
#print_div a{cursor:pointer;color:#3b5998;-moz-outline-style:none;text-decoration:none;}
#print_div a:hover{text-decoration:none;color:#000000;}
#print_div a.tool:hover {background:#ffffff;}
#print_div a.tool span {display:none;}
#print_div a.tool:hover span{display:inline; position:absolute;background:#ffffff;}

#print_div a
{
text-decoration:none;
}

#print_div img
{
border:0px;
}

#print_div h2
{
font-size: 20px;
font-weight: bold;
margin: 0 0 0px 0;
}

#print_div select {
    -webkit-appearance: none;
    -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: 6px;
    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;
}

#print_div #main_div
{
position:absolute;
top:0px;
left:0px;
width:664px;
height:1098px;
padding:27px 36px 27px 36px;
}

#print_div #print_div
{
position:absolute;
width:635px;
top:1600px;
display:none;
}

#print_div .print_bar
{
position:absolute;
top:0px;
left:0px;
width:100%;
height:100%;
z-index:0;
}

#print_div .print_key
{
position:relative;
top:0px;
left:0px;
width:14px;
height:14px;
z-index:0;
}

#print_div #container_div
{
position:absolute;
width:562px;
height:770px;
background:#f5f5f5;
border-radius:16px;
padding:17px;
}

#print_div .container_sub
{
width:533px;
background:#fff;
border:3px solid #ebebeb;
border-radius:12px;
padding:12px;
margin-bottom:8px;
}

#print_div .slider_outer
{
position:relative;
top:3px;
width:162px;
height:22px;
background-image:url(images/slider_bg.png);
background-position:0px -7px;
}

#print_div .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;} */

#print_div .divider_line
{
background:#acacac;
width:414px;
height:2px;
margin:8px 0px 8px 0px;
}

#print_div .button
{
cursor:pointer;
}

#print_div #disclaimer
{
font-size:11px;
}

#print_div .bar_blue
{
position:absolute;
background:#00447c;
//width:135px;
bottom:58px;
border-radius:3px;
}

#print_div .bar_grey
{
position:absolute;
background:#c0c0c0;
width:135px;
bottom:58px;
border-radius:3px;
}

#print_div #chart_grey_1
{
left:202px;
height:150px;
}

#print_div #chart_grey_2
{
left:345px;
height:220px;
}

#print_div .value_box
{
width:126px;
height:28px;
background-image:url(images/value_button_bg.png);
}

#print_div .value_box_inner
{
position:relative;
top:5px;
left:25px;
width:87px;
text-align:right;
}

#print_div .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;
}

#print_div .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;
}

#print_div .cont_row_center
{
border-top:2px solid #dadada;
border-bottom:2px solid #dadada;
}

#print_div .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;
}

#print_div .close_button
{
position:absolute;
right:11px;
top:8px;
cursor:pointer;
}

#print_div #info_popup_0
{
top:60px;
left:400px;
}

#print_div #info_popup_1
{
top:180px;
left:250px;
}

#print_div .bar_rect
{
position:absolute;
width:500px;
height:58px;
left:0px;
//border-left:1px solid #ccc;
//border-top:1px solid #ccc;
//border-bottom:1px solid #ccc;
}

#print_div #bar_rect_0
{
top:32px;
}

#print_div #bar_rect_1
{
top:91px;
}

#print_div #bar_rect_2
{
top:150px;
}

#print_div #bar_rect_3
{
top:209px;
border-bottom:1px solid #ccc;
}

#print_div .x_label
{
position:absolute;
top:25px;
left:-33px;
font-size:12px;
width:80px;
text-align:right;
}

#print_div #x_label_0
{
top:25px;
}

#print_div #x_label_1
{
top:80px;
}

#print_div #x_label_2
{
top:140px;
}

#print_div #x_label_3
{
top:200px;
}

#print_div #x_label_4
{
top:260px;
}

#print_div #chart_div
{
position:relative;
width:587px;
height:326px;
left:0px;
}

#print_div .blue_inner
{
position:relative;
text-align:center;
}

#print_div .grey_inner
{
position:relative;
text-align:center;
color:#000;
}

#print_div .key_square
{
width:14px;
height:14px;
}

#print_div #key_div
{
position:absolute;
top:300px;
left:48px;
}