.banner {
    width: 772px;
    margin: 0 auto;
}

#content-body .inner-content {
    width: 95%;
}

#content-body .question.calculator.active {
    background: url(/static-tools/common/rd/gfx/btn-dd-open.gif) right top no-repeat #ffffff;
}

#content-body .question.calculator.active:focus,
#content-body .question.calculator.active:hover {
    background: url(/static-tools/common/rd/gfx/btn-dd-open-over.gif) right top no-repeat #ffffff;
}

#content-body .question {
    width: 775px;
    background: url(/static-tools/common/rd/gfx/btn-dd-close.gif) right top no-repeat;
}

#content-body .question.active {
    background: url(/static-tools/common/rd/gfx/btn-dd-open.gif) right top no-repeat #f9f9f7;
}

#content-body .question:hover {
    background: url(/static-tools/common/rd/gfx/btn-dd-close-over.gif) right top no-repeat;
}

#content-body .question.active:focus,
#content-body .question.active:hover {
    background: url(/static-tools/common/rd/gfx/btn-dd-open-over.gif) right top no-repeat #f9f9f7;
}

#content-body .question.calculator {
    background: url(/static-tools/common/rd/gfx/btn-dd-close.gif) right top no-repeat #ffffff;
}

#content-body .question.calculator:hover {
    background: url(/static-tools/common/rd/gfx/btn-dd-close-over.gif) right top no-repeat #ffffff;
}

#content-body .question .content {
    width: 90%;
}

#content-body .question.calculator .content {
    width: 97%;
}

#content-body .question.calculator .tiles {
    margin-top: 30px;
}

#content-body .question.calculator .tiles .one-col {
    width: 47%;
}

#content-body .question.calculator .tiles .one-col:first-child {
    background: #ffffff url("/ca/common/banners/banner-hockey-calc1.jpg") right top no-repeat;
}

#content-body .question.calculator .tiles .one-col:last-child {
    background: #ffffff url("/ca/common/banners/banner-hockey-calc2.jpg") right top no-repeat;
}

#content-body .question.calculator .tiles a.one-col {
    text-decoration: none;
}

#content-body .question.calculator .tiles a.one-col>* {
    margin-top: 0px;
    width: 50%;
}

#content-body .question.calculator .tiles a.one-col>.red-btn {
    width: 30%;
    bottom: 0px;
}

#content-body .question.calculator .tiles .tile.one-col h4 {
    color: #515151;
    padding-top: 40px;
}

#content-body .question.calculator .tiles .tile.one-col:last-child h4 {
    color: white;
}

#content-body .question.calculator .tiles .tile.one-col:last-child p {
    color: white !important;
}

#content-body .tiles #hockey-adventure {
    width: 97.5%;
    background: #ffffff url("/ca/common/banners/banner-long-NHLAdventure.jpg") no-repeat top left;
}

#content-body .ad-unit.tiles .one-col.tile .red-btn {
    left: auto;
    right: 20px;
    bottom: 25px;
}

.tool-wrapper .legend,
.tool-wrapper .amount,
.tool-wrapper .slider-container {
    float: left;
}

.tool-wrapper {
    position: relative;
    color: #515151;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

.tool-wrapper h2 {
    margin: 15px 14px;
    font-weight: normal;
    font-size: 2.8em;
}

.tool-wrapper h3 {
    background: url(/static-tools/scotiabank/personal/programs/hockey-parents-budget-calculator/images/bg-tiles-header.gif) no-repeat left center;
    padding-left: 17px;
    margin: 20px 7px;
    font-size: 1.6em;
}

.tool-wrapper p {
    font-size: 1.4em;
}

.tool-wrapper form {
    position: relative;
    background: #fff;
    padding: 0;
    margin: 0 auto;
    z-index: 99;
}

.tool-wrapper .fieldset {
    padding: 20px 0 20px 0;
    margin: 0 8px 0 20px;
    border: none;
    zoom: 1;
}

.tool-wrapper .top-divider {
    border-top: 1px solid #f5f5f5;
}

.tool-wrapper .bottom-divider {
    border-bottom: 1px solid #f5f5f5;
}

.tool-wrapper .fieldset .question {
    float: left;
    width: 225px;
    font-size: 1.4em;
    overflow: hidden;
}

.tool-wrapper .help-tool-tip {
    float: left;
    background: url(/static-tools/scotiabank/personal/programs/hockey-parents-budget-calculator/images/sprite-info.png) top left no-repeat;
    color: #D81E05;
    height: 18px;
    line-height: 18px;
    padding-left: 23px;
    font-size: 12px;
    text-decoration: none;
}

.tool-wrapper .help-tool-tip-disabled {
    background-position: bottom left;
    color: #979797;
}

.tool-wrapper .pop-up {
    position: absolute;
    background: #fff;
    display: none;
    left: -999em;
    border: 1px solid #BABABA;
    z-index: 99;
    outline: none;
    -moz-box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.45);
    -webkit-box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.45);
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.45);
}

.tool-wrapper .pop-up h3 {
    background: #F1F1F1;
    margin: 0;
    padding: 13px 20px;
    font-size: 1.7em;
}

.tool-wrapper .pop-up .close-pop-up {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    text-indent: -999em;
    background: url(/static-tools/scotiabank/personal/programs/hockey-parents-budget-calculator/images/icn-close.png) bottom left no-repeat;
    overflow: hidden;
}

.tool-wrapper .legend {
    font-weight: bold;
    font-size: 15px;
    padding-top: 37px;
    width: 165px;
}

.tool-wrapper .legend label {
    float: left;
}

.tool-wrapper .legend a {
    background: url("/static-tools/scotiabank/personal/programs/hockey-parents-budget-calculator/images/icon_information.png") no-repeat;
    display: block;
    text-indent: 9999px;
    overflow: hidden;
    width: 20px;
    height: 20px;
    float: left;
    margin-left: 10px;
}

.tool-wrapper .amount {
    font-weight: bold;
    font-size: 20px;
    padding-top: 30px;
    padding-left: 0px;
}

.tool-wrapper .amount input {
    background: #f6f6f6;
    color: #666;
    width: 50px;
    height: 26px;
    border-radius: 4px;
    font-size: .8em;
    text-align: center;
}

.tool-wrapper .fieldLine {
    width: 97%;
    padding-left: 15px;
}

.tool-wrapper .fieldLine .tooltip {
    display: none;
    left: 26%;
    top: -31px;
    padding: 20px;
    position: relative;
    width: 405px;
    background-color: #E2E1D6;
    font-size: 1.5em;
}

.tool-wrapper .fieldLine .tooltip>p {
    font-size: 1.0em !important;
}

#content-body .question .content .tool-wrapper .fieldLine .tooltip ul {
    font-size: 1.0em;
}

#content-body .question.calculator .content h4 {
    font-size: 2.3em !important;
}

#content-body .question.calculator .content>p {
    margin-left: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #EEE;
}

.tool-wrapper .fieldLine .tooltip .close {
    position: relative;
    left: 90%;
    color: #515151;
    padding-left: 15px;
    background: url("/static-tools/scotiabank/personal/programs/hockey-parents-budget-calculator/images/icon-close.png") no-repeat left 4px;
}

.tool-wrapper .total {
    width: 90%;
    background-color: #EEEEEE;
    text-align: right;
    font-size: 2.0em;
    padding: 20px 20px 20px 0;
    margin-right: 0px;
    font-weight: bold;
}
html[lang=fr] .tool-wrapper .total {
    width: 85%;
}
.total .total-amt,
.total .monthly-amt {
    padding-left: 5px;
    padding-right: 5px;
}

.total .title {
    padding-right: 5px;
}

/* SLIDER */

.tool-wrapper .slider {
    position: relative;
    background-size: 100% 22px;
}

.tool-wrapper .tile-slider {
    display: none;
    position: relative;
    background: url(/static-tools/scotiabank/personal/programs/hockey-parents-budget-calculator/images/bg-notch-slider.png) left 15px no-repeat;
    width: 610px;
    padding: 5px 100px 0 40px;
    margin: 0;
}

.tool-wrapper .slider .min,
.tool-wrapper .slider .max,
.tool-wrapper .slider .mid,
.tool-wrapper .slider .marker {
    position: absolute;
    top: -10px;
}

.tool-wrapper .slider .min {
    left: 40px;
}

.tool-wrapper .slider .max {
    right: 30px;
}

.tool-wrapper .slider .mid {
    right: 47%;
}

.tool-wrapper .slider .track {
    clear: both;
    position: relative;
    background: none;
    height: 42px;
    border: none;
}

.tool-wrapper .slider .ui-slider-handle {
    display: block;
    position: absolute;
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 -1px 0 #6d1b07;
    cursor: pointer;
    text-shadow: 0 0 0.3px #111111, 0 0 0.1px #000000, 0 0 1px #8e0000, 0 0 2px #590000, 0 0 5px #590000, -1px -1px 0 #660000;
}

.tool-wrapper .tile-slider .ui-slider-handle {
    background: url(/static-tools/scotiabank/personal/programs/hockey-parents-budget-calculator/images/notch-slider-handle.png) center -3px no-repeat;
    _background: url(/static-tools/scotiabank/personal/programs/hockey-parents-budget-calculator/images/notch-slider-handle-ie6.png) center -3px no-repeat;
    color: #fff;
    width: 126px;
    height: 24px;
    padding-top: 12px;
    border: none;
    margin: 10px -32px 0 -32px;
}

.slider {
    background: url(/static-tools/scotiabank/personal/programs/hockey-parents-budget-calculator/images/bg-amount-slider.png) left 15px no-repeat;
    width: auto;
    padding: 5px 60px 0 40px;
    margin: 0;
}

.slider-container {
    width: 63%;
}

.tool-wrapper .slider .ui-slider-handle:focus,
.tool-wrapper .slider .ui-slider-handle:active {
    border: 2px solid #BD0000 !important;
    background: #ffffff url(/static-tools/scotiabank/personal/programs/hockey-parents-budget-calculator/images/slider-handle.png) center -3px no-repeat !important;
}

.slider .ui-slider-handle {
    background: url(/static-tools/scotiabank/personal/programs/hockey-parents-budget-calculator/images/slider-handle.png) center -3px no-repeat;
    _background: url(/static-tools/scotiabank/personal/programs/hockey-parents-budget-calculator/images/slider-handle-ie6.png) center -3px no-repeat;
    color: #fff;
    width: 100px;
    height: 30px;
    padding-top: 12px;
    margin: 2px 0 0 -40px;
    border: none;
    font-size: 1.3em;
}

/* TOOL ICONS */

#hockey-calculator .tool-icons {
    position: absolute;
    right: 0;
    top: 0;
    margin: 15px 15px 0 0;
}

#hockey-calculator .tool-icons {
    position: absolute;
    right: 0;
    top: 0;
}

#hockey-calculator .tool-icons a {
    display: inline;
    float: left;
    background: url(/static-tools/scotiabank/personal/programs/hockey-parents-budget-calculator/images/sprite-dl-print.png) left top no-repeat;
    width: 16px;
    height: 16px;
    border: 5px solid #f5f5f5;
    overflow: hidden;
    text-indent: -9999px;
}

#hockey-calculator .tool-icons a.print {
    background-position: left top;
}

#hockey-calculator .tool-icons a.print:hover,
#hockey-calculator .tool-icons a.print:focus,
#hockey-calculator .tool-icons a.print:active {
    background-position: left bottom;
}

#hockey-calculator .tool-icons a.download {
    background-position: right top;
}

#hockey-calculator .tool-icons a.download:hover,
#hockey-calculator .tool-icons a.download:focus,
#hockey-calculator .tool-icons a.download:active {
    background-position: right bottom;
}

#content-body.hockey-calculator .question.calculator .content {
    width: 99%;
    margin: 5px auto 20px auto;
}

.visually-hidden {
    text-indent: -9999px;
    overflow: hidden;
    display: block;
}

html[lang=fr] #content-body .ad-unit.tiles .one-col.tile {
    width: 97.5%;
    background: #ffffff url("/ca/common/banners/calc-large-ad-fr.jpg") no-repeat top left;
}

html[lang=fr] .tool-wrapper .legend {
    width: 195px;
}

html[lang=fr] .slider-container {
    width: 55%;
}

html[lang=fr] .slider-container .slider {
    background-size: 100% 22px;
}

html[lang=fr] .tool-wrapper .fieldLine .tooltip {
    left: 35%;
    width: 348px;
}

@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation: portrait) {
    html[lang=fr] .tool-wrapper .fieldLine .tooltip {
        left: auto;
        width: 270px;
    }

}

@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation: landscape) {
    html[lang=fr] .tool-wrapper .fieldLine .tooltip {
        left: 20%;
        width: 348px;
    }
    
}

html[lang=fr] .tool-wrapper .fieldLine .tooltip .close {
    left: 80%;
}

html[lang=fr] #content-body .question.calculator .tiles .tile.one-col h4 {
    font-size: 1.6em !important;
    padding-top: 20px;
}

html[lang=fr] #content-body .question .content p {
    font-size: 1.3em;
}

html[lang=fr] #content-body .question.calculator .tiles a.one-col:last-child>* {
    width: 45%;
}

.tiles .tile p {
    color: #666 !important;
}

.red-btn {
    position: relative;
    display: block;
    background: #d81e05 url("/static-tools/common/rd/gfx/bg-red-btn.gif") left top repeat-x;
    color: #fff;
    height: 1.8em;
    line-height: 1.8em;
    padding: 0;
    border: 1px solid #BD0000;
    border-top-color: #FFA5A5;
    font-size: 1.4em;
    font-weight: normal;
    text-align: center;
    text-shadow: -1px -1px 0 #990000;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: -1px -1px 1px #990000;
    -moz-box-shadow: -1px -1px 1px #990000;
    box-shadow: -1px -1px 1px #990000;
}

#content-body .question.calculator .tiles a.one-col>.red-btn {
    top: 10px;
    width: 120px !important;
    position: relative;
    margin-left: 20px;
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    .wrapper #content #content-body .tool-wrapper .legend {
        width: 100px !important;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    .slider-container {
        width: 468px;
        margin: 0 20px 0 40px;
    }
}

@media only screen and (max-width: 767px) and (min-width: 320px) {
    #content-body.accordions .question.calculator .content {
        padding: 0 !important;
    }
    #content-body .question.calculator .tiles a.one-col>.red-btn {
        top: 0 !important;
        width: auto !important;
    }
    #content-body .question .content .red-btn {
        display: none !important;
    }
    .wrapper #content #content-body .tiles .tile p {
        padding-bottom: 25px !important;
    }
    .banner {
        width: 100% !important;
    }
    #content-body .inner-content {
        padding-left: 10px !important;
    }
    .tool-wrapper .fieldLine .tooltip {
        width: auto;
        left: 0;
        margin-right: 20px;
    }
    .tool-wrapper .fieldLine .tooltip .close {
        left: 87%;
    }
}

@media only screen and (min-width: 0px) and (max-width: 319px) {
    #content-body.accordions .question.calculator .content {
        padding: 0 !important;
    }
    #content-body .question.calculator .tiles a.one-col>.red-btn {
        top: 0 !important;
        width: auto !important;
    }
    #content-body .question .content .red-btn {
        display: none !important;
    }
    .wrapper #content #content-body .tiles .tile p {
        padding-bottom: 25px !important;
    }
    .banner {
        width: 100% !important;
    }
    #content-body .inner-content {
        padding-left: 10px !important;
    }
    .tool-wrapper .fieldLine .tooltip {
        width: auto;
        left: 0;
        margin-right: 20px;
    }
    .tool-wrapper .fieldLine .tooltip .close {
        left: 87%;
    }
}