/*********************************
		BOOTSTRAP OVERWRITES
*********************************/
body {
    color: #214657;
    font-size: 12px;
}

h1, h2, h3, h4, h5 {
    color: #4b6574;
}

h1 {
  font-size: 24.5px;
}

h2 {
  font-size: 17.5px;
}

h3 {
  font-size: 14px;
}

.btn-success {
    color: #ffffff;
    background-color: hsl(85, 45%, 47%) !important;
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#bcd83d", endColorstr="#80ad41");
    background-image: -khtml-gradient(linear, left top, left bottom, from(#bcd83d), to(#80ad41));
    background-image: -moz-linear-gradient(top, #bcd83d, #80ad41);
    background-image: -ms-linear-gradient(top, #bcd83d, #80ad41);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #bcd83d), color-stop(100%, #80ad41));
    background-image: -webkit-linear-gradient(top, #bcd83d, #80ad41);
    background-image: -o-linear-gradient(top, #bcd83d, #80ad41);
    background-image: linear-gradient(#bcd83d, #80ad41);
    border-color: #80ad41 #80ad41 hsl(86, 79%, 34%);
    color: #ffffff !important;
    -webkit-font-smoothing: antialiased;
    font-weight: bold;
}
.btn-success:hover {
    background: #80ad41;
}
.btn-info {
    color: #ffffff;
    text-decoration: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: solid #002535 1px;
    background: #0388a9;
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#0388a9), to(#214556));
    background: -moz-linear-gradient(top, #0388a9, #214556);
    -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#0388a9, endColorStr=#214556);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#0388a9, endColorStr=#214556);
    display:inline-block; /* IE is so silly */
    font-weight: bold;
}
.btn-info:hover {
    background: #015a73;
}

.btn-primary {
    background-color: hsl(195, 60%, 35%) !important;
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2d95b7", endColorstr="#23748e");
    background-image: -khtml-gradient(linear, left top, left bottom, from(#2d95b7), to(#23748e));
    background-image: -moz-linear-gradient(top, #2d95b7, #23748e);
    background-image: -ms-linear-gradient(top, #2d95b7, #23748e);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2d95b7), color-stop(100%, #23748e));
    background-image: -webkit-linear-gradient(top, #2d95b7, #23748e);
    background-image: -o-linear-gradient(top, #2d95b7, #23748e);
    background-image: linear-gradient(#2d95b7, #23748e);
    border-color: #23748e #23748e hsl(195, 60%, 32.5%);
    color: #fff !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.16);
    -webkit-font-smoothing: antialiased;
    font-weight: bold;
}

.tooltip-inner {
    max-width: 200px;
    padding: 8px;
    text-align: center;
    text-decoration: none;
    background: #abcf37;
    color: #024354;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

/*********************************
			HEADER
*********************************/

header {
    background: url(../img/header-repeat.gif) repeat-x;
    border-bottom: 2px solid #a3c84a;
    height: 133px;
}
h1.logo {
    background: url(../img/lv-logo.png) no-repeat;
    width: 165px;
    height: 67px;
    text-indent: -9999px;
    margin-top: 30px;
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled='true', sizingMethod='fixed', src='http://moreishmarketing.com/lv/inheritance-tax-calculator/img/logo.png');
}
h1.logo a {
    display: block;
    width: 165px;
    height: 67px;
}
header .page-title {
    background: url(../img/page-title.png) no-repeat;
    width: 445px;
    height: 60px;
    margin-top: 42px;
}
header .hearts {
    background: url(../img/header-hearts.png) no-repeat;
    height: 81px;
    margin-top: 20px;
}
header .container {
    position: relative;
}
header ul {
    list-style: none;
}
header ul li {
    display: inline-block;
    color: #ffffff;
    font-weight: bold;
    font-size: 11px;
}
header ul li a {
        color: #ffffff;
}
header ul li a:hover {
    text-decoration: none;
}

/*********************************
		CLIENT INFORMATION
*********************************/

#home{
    background: url('../img/background-car.png');
    width: 100%;
    height: 287px;
    display: block;
    margin: 0;
}

#home .inner, .content_block{
    position: relative;
    width: 940px;
    margin: 0 auto;
}

#home .inner h1{
    padding: 60px 0 20px 0;
    margin: 0;
}

#home .inner .big-button{
    margin: 120px 0 0 60px;

}

#client_content, #results{
    position: relative;
    width: 940px;
    margin: 0 auto;
}

#client_content .section, .section{
    position: relative;
    background: #efefef;
    padding: 15px 8px 15px 15px;
    margin: 0 0 20px 0;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px; /* future proofing */
    -khtml-border-radius: 10px; /* for old Konqueror browsers */
}


#client_content .show_property {
    background: #e5e2e2;
    width: 300px;
    padding: 5px 15px;
    margin: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px; /* future proofing */
    -khtml-border-radius: 5px; /* for old Konqueror browsers */
}


/*********************************
			RESULTS
*********************************/

.results h2 {
    color: #4b6574;
    border-bottom: 1px solid #4b6574;
}
.results .well {
    font-size: 16px;
}
.results .well p {
    padding-bottom: 5px;
    border-bottom: 1px solid #d0d2d3;
}
.results .well span.orange {
    color: #d16a1b;
    font-weight: bold;
}


/*********************************
			FOOTER
*********************************/

footer {
    padding: 25px 0;
    border-top: 1px solid #e3e3e3;
    margin-top: 50px;
}	
footer p {
    font-size: 10px;
}	
footer ul {
    margin: 0;
}

li.facebook a,
li.twitter a,
li.youtube a,
li.google a {
    display: block;
    width: 43px;
    height: 35px;
}
li.facebook {
    text-indent: -9999px;
    background: url(../img/facebook.gif) no-repeat center;
    width: 43px;
    height: 35px;
}
li.twitter {
    text-indent: -9999px;
    background: url(../img/twitter.gif) no-repeat center;
    width: 43px;
    height: 35px;
}
li.youtube {
    text-indent: -9999px;
    background: url(../img/youtube.gif) no-repeat center;
    width: 43px;
    height: 35px;
}
li.google {
    text-indent: -9999px;
    background: url(../img/google.gif) no-repeat center;
    width: 43px;
    height: 35px;
}

.center{
    text-align: center;
}

#print_header{
    display:none;
}

.less_more{
    display: none;
    margin: 15px 10px;
    background: #efefef;
    padding: 25px;
    border-radius: 6px; 
    -moz-border-radius: 6px; 
    -webkit-border-radius: 6px; 
}

.less_more ol{ 
    list-style-type:decimal;
    margin: 0 0 0 40px;
    padding: 10px 0;
}

.less_more ol li{
    padding: 5px 0;
}

.content_block label{
    width: 280px;
    font-size: 13px;
}
.content_block input, .content_block select{
    width: 115px !important;
}
.content_block select{
    width: 125px !important;
}

.content_block .more_info {
    background: url(../img/icon-info.png) no-repeat right;
    width: 21px;
    height: 21px;
    float: right;
    margin-top: 7px;
    cursor: pointer;
}

.margin_top_20{
    margin-top: 20px;
}

.error{
    color: red;
    font-weight: bold;
    padding-bottom: 10px;
}

.scenarios ul{
    margin: 0;
    padding: 0;
    width: 300px;
    background: #efefef;
}
.scenarios li{
    list-style-type: none;
    margin: 0;
    padding: 3px 5px;
    line-height: auto !important;
    border-bottom: 1px solid #fff;
}
.scenarios label{
    font-weight: bold;
    margin: 0 !important;
}
.scenarios .radio{
    float: left;
    width: 15px !important;
    margin-right: 10px;
    padding: 0;
    font-size: 10px;
    margin-top: 1px;
}
.scenarios ul p{
    margin: 0 0 0 25px;
    padding: 0;
    display: block;
}

.scenarios .link{
    font-weight: bold;
    color: #224657;
    padding-top: 5px;
}
.scenarios .link a{
    text-decoration: underline;
    color: #224657;
}

#chart-shadow{
    background: url('../img/chart-shadow.png') bottom left;
    width: 242px;
    height: 29px;
    display: block;
}

#chart, #chart_one, #chart_two, #chart_three, #chart_four{
    width: 570px;
    height: 420px;
    margin-left: -20px;
    overflow: hidden;
    position: relative;
}
#print_chart_one, #print_chart_two, #print_chart_three, #print_chart_four {
    max-width: 960px;
    height: 500px;
    margin: 0 0 0 -20px;
    padding: 20px;
    display: block;
    overflow: hidden;
}


.scenarios .dark-blue {
	color: #274556;
}
.scenarios .green{
	color: #c4d350;
}
.scenarios .light-blue{
	color: #5d8fa2;
}
.scenarios .black{
	color: #434342;
}
.scenarios .orange{
	color: #d16b1c;
}

.int-divider{
    border-top: 1px solid #ddd;
    display: block;
    margin: 10px auto;
    width: 278px;
}

#annuity_form input[type="text"] {
    /*padding: 15px !important;*/
    width: 125px !important;
    height: 30px;
}

#interest-rate {
    background: url('../img/slider-bg.png') no-repeat top left;
    margin: 10px auto;
    padding: 3px 10px 10px 10px;
    width: 283px;
}


#slider{
	width: 255px;
}

#slider label{
    width: 120px;
    font-size: 16px;
    font-weight: bold;
    padding-top: 0px;
}

#slider input{
    float: right;
    width: 80px !important;
    margin-right: 0px;
    font-size: 24px;
    background: #edf5f9 !important;
    border: none !important;
    box-shadow: none !important;
    height: auto;
}

#slider p{
    font-size: 11px;
    position: relative;
    top: -5px;
    line-height: 18px;
}

#slider-range-min{
    margin: 15px 0 ;  
    width: 255px !important;
    background: #214657;
}

.ui-slider-horizontal .ui-slider-range {
    background: #bacb30;
}

#slider .ui-state-default, #slider .ui-widget-content #slider .ui-state-default, #slider .ui-widget-header #slider .ui-state-default {
    background: url("../img/dial.png") !important;
    width: 24px !important;
    height: 24px !important;
    border: none !important;
    cursor: pointer !important;
}

#breakeven{
    position:absolute;
    left: 440px;
}

.flip, .reverse{
    cursor: pointer;
}

.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl {
    border-top-left-radius: 4px;
}
.ui-widget-content {
    border: none !important;
    width: 320px !important;
}

#crunching{
    width: 570px;
    height: 420px;
    background: url("../img/spinner.gif") center center no-repeat;
    overflow: hidden;
}

.btn-long{
	width: 150px;
}

.start-arrow{
    background: url("../img/start-arrow.png") no-repeat top right;
    width: 38px;
    height: 39px;
    padding-left: 60px;
}

.toggle_less_more, .toggle_close{
    cursor: pointer;
    font-weight: bold;
    color: #004357;
    text-decoration: underline;
}

.toggle{
    display: none;
    width: 395px;
    background: #666;
    color: #fff;
    padding: 8px;
    clear: both;
    margin-top: -2px;
    margin-bottom: 10px;
    border-radius: 4px; 
    -moz-border-radius: 4px; 
    -webkit-border-radius: 4px; 
}

.icon_show_more{
    background: url(../img/icon_show_more.gif) right no-repeat;
    width: 14px;
    padding-left: 20px;
}
.icon_show_less{
    background: url(../img/icon_show_less.gif) right no-repeat;
    width: 14px;
    padding-left: 20px;
}

.less_more{
    display: none;
    margin: 15px 10px;
    background: #efefef;
    padding: 25px;
    border-radius: 6px; 
    -moz-border-radius: 6px; 
    -webkit-border-radius: 6px; 
}

.less_more ol{ 
    list-style-type:decimal;
    margin: 0 0 0 40px;
    padding: 10px 0;
}

.less_more ol li{
    padding: 5px 0;
}

.large{
	font-size: 14px;
	line-height: 25px;
}

.center{
	text-align: center;
	padding: 10px;
}
.clear {
    display: block;
    clear: both;
}
#print-window {
    width: 100%;
    display: block;
}
#print-window .print {
    float: right;
    padding: 15px;
    background: #8CAA2D !important;
    color: #FFF;
    border: none;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    text-transform: uppercase;
    margin: 10px 5px;
}
#print-window .profile {
    margin-left: 20px;
    margin-right: 20px;
    position: relative;
}
#print-window .profile ul {
    width: 100%;
    margin: 0px;
    position: relative;
}
#print-window .profile li {
    font-size: 13px;
    border: 1px solid #EFEFEF;
    margin: 3px 0;
}
#print-window .profile .label {
    font-weight: bold;
    background: #EFEFEF;
    padding: 5px;
    width: 70%;
    display: block;
    color: #555;
    font-size: 100%;
    position: relative;
    white-space: normal;
}
#print-window .profile .field {
    position: absolute;
    left: 70%;
    padding: 0 5px 5px 5px;
    margin-top: -20px;
    font-size: 100%;
    white-space: normal;
}
#print-window h1 {
    font-size: 22px;
    color: #004357;
    line-height: 20px;
    padding: 20px 20px 0 20px;
    margin-bottom: 0;
}
#print-window h2 {
    font-size: 17px;
    color: #004357;
    line-height: 20px;
    padding: 15px 20px 5px 20px;
    border-top: 1px solid #DDD;
}
#print-window p {
    font-size: 13px;
    color: #004357;
    line-height: 20px;
    padding: 15px 20px;
}
#print-window .less_more {
    display: block;
    margin: 0 10px;
    background: #FFF;
    padding: 0 25px;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}
#print-window .table {
    width: 95%;
    margin-left: 20px;
    margin-bottom: 30px;
    display: inline-table;
    border-collapse: collapse;
    border-spacing: 0;
}
#print-window .table th {
    font-weight: bold;
    padding: 8px;
    background: #EFEFEF;
    text-align: left;
}
#print-window .table td {
    padding: 8px;
    border: 1px solid #EFEFEF;
    text-align: left;
}
@media ( max-width: 1000px ) {
    footer .row .container {
        width: 100%;
    }
    footer .row .container .span12 {
        width: 93%;
        margin: auto 40px;
    }
}
@media ( max-width: 960px ) {
    #client_content, #results {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    #print_chart_one, #print_chart_two, #print_chart_three, #print_chart_four {
        width: 300px;
        height: 450px;
        margin: 0 0 0 0px;
        padding: 10px;
        display: block;
        overflow: hidden;
    }
}
@media ( max-width: 940px ) {
    header .container, .content_block, #home .inner {
        width: 95%;
        margin: auto;
    }
    #home .inner .span6 {
        width: 60%;
    }
    #home .inner .span5 {
        width: 34%;
    }
    .content_block .row .span12 {
        width: 97%;
    }
    header .page-title {
        margin-top: 28px;
        width: 50%;
        background-size: contain;
    }
    header .hearts {
        margin-top: -45px;
    }
    header .image-logo-header {
        width: 170px;
        
    }
    h1.logo {
        margin-top: 20px;
    }
}
@media ( max-width: 700px ) {
    #home .inner .span6, #home .inner .span5 {
        width: 95%;
        clear: both;
    }
    #home .inner .span5 {
        text-align: center;
    }
    #home .inner .big-button {
        margin: 10px auto;
        float: none;
    }
}
@media ( max-width: 850px ) {
    header .page-title {
        margin-top: 0px;
    }
}

@media ( max-width: 650px ) {
    header .hearts {
        margin-top: -20px;
        background-size: contain;
        width: 25%;
    }
    header .image-logo-header {
        width: 30%;
    }
    h1.logo {
        width: 100%;
        height: 100%;
        background-size: contain;
    }
    h1.logo img {
        width: 100%;
    }
    #client_form .margin_top_20 .span6 {
        width: 95%;
    }
}
@media ( max-width: 600px ) {
    #comparison_charts .margin_top_20 .span6 {
        width: 95%;
    }
    #comparison_charts .margin_top_20 .span4.offset2 {
        width: 95%;
        margin-left: auto;
        float: none;
        margin-right: auto;
    }
    .scenarios ul {
        margin: auto;
    }
    #chart, #chart_one, #chart_two, #chart_three, #chart_four{
        width: 100%;
    }
    #crunching {
        width: 100%;
    }
    #breakeven {
        position: relative;
        left: 0px;
    }
}
@media ( max-width: 550px ) {
    .image-separator {
        display: none;
    }
    .anuity-qoute-image {
        margin-left: -8px;
    }
    #home .inner h1 {
        padding: 30px 0 20px 0;
    }
    .content_block .row .span12 {
        width: 95%;
    }
    footer .row .container .span12 {
        width: 85%;
    }
    #annuity_form .row .span6 {
        width: 96%;
    }
}
@media ( max-width: 500px ) {
    #annuity_form .row .span6 {
        width: 95%;
    }
    #annuity_form .row .span6 .section label, .toggle {
        width: 95%;
    }
}
@media ( max-width: 385px ) {
    #home .inner h1 {
        padding: 15px 0 10px 0;
    }
    #home p.large {
        line-height: 20px;
    }
}
@media ( max-width: 320px ) {
    #print-window .profile ul {
        width: 100%;
        margin: 0px;
    }
    #print-window .profile .label {
        width: 60%;
    }
    #print-window .profile .field {
        left: 60%;
    }
    #print-window h1 {
        padding: 20px 10px 0 10px;
    }
    #print-window .profile {
        margin-left: 10px;
        margin-right: 10px;
    }
    #print-window p {
        padding: 15px 10px;
    }
    #print-window .less_more {
        padding: 0 0px;
    }
    
    #print-window .table {
        width: 94%;
        margin-left: 10px;
    }
    header .page-title {
        clear: both;
        width: 70%;
    }
    h1.logo {
        margin-top: -10px;
    }
    header .hearts {
        margin-top: -35px;
        width: 35%;
    }
    .content_block .row .span12 {
        width: 90%;
    }
    footer .row .container .span12 {
        width: 80%;
    }
    #annuity_form .row .span6 {
        width: 93%;
    }
    #client_form .margin_top_20 .span6 h1 {
        text-align: center;
    }
    #client_form .margin_top_20 .btn-primary {
        float: none;
        margin-left: 60px;
    }
    #interest-rate {
        width: 285px;
        margin-left: 15px;
    }
    .int-divider {
        width: 278px;
        margin-left: 18px;
    }
    .scenarios ul {
        margin-left: 20px;
        width: 275px;
    }
    .recalculate {
        margin-left: 15px;
    }
    header .image-logo-header {
        margin-top: 15px;
    }
    #annuity_form h3 {
        margin-top: 20px;
    }
}
@media print {
    #print-window .print {
        display: none;
    }
}
@media ( max-width: 640px ) {
    .highcharts-axis-labels text {
        display: none;
    }
    .highcharts-axis-labels text:nth-child(5),
    .highcharts-axis-labels text:nth-child(10),
    .highcharts-axis-labels text:nth-child(15),
    .highcharts-axis-labels text:nth-child(20),
    .highcharts-axis-labels text:nth-child(25),
    .highcharts-axis-labels text:nth-child(30)
    {
        display: block;
    }
    #chart, #chart_one, #chart_two, #chart_three, #chart_four {
        overflow: inherit;
    }
}

@media ( max-width: 510px ) {
    .footer-3-button {
        position: relative;
        left: -7px;
    }
}