/*
 * Changes for jquery.mobile css
 */

/*headers, content panels*/ 
.ui-header .ui-btn-left, .ui-header .ui-btn-right, .ui-footer .ui-btn-left, .ui-footer .ui-btn-right {    
    top: 5px;
    /*height: */
}

.ui-header .ui-btn-icon-left .ui-btn-inner, .ui-header .ui-btn-icon-right .ui-btn-inner, .ui-footer .ui-btn-icon-left .ui-btn-inner, .ui-footer .ui-btn-icon-right .ui-btn-inner
{
    /*padding: 40px 0.65em 21px 0.65em;*/
    padding-top: 0.75em;
    padding-bottom: 0.7em;
}

.ui-header .ui-title, .ui-footer .ui-title {
    margin: 0.85em 20%;
    font-weight: normal;
}

div.ui-page > div.ui-header
{
    z-index: 1001;
}

div.ui-page > div.ui-footer
{
    z-index: 1001;
}

div.ui-page > div.ui-content
{
    /*font-size: 16px;*/
}

.ui-popup-screen
{
    visibility: hidden;
}
/* corner rounding classes
-----------------------------------------------------------------------------------------------------------*/
.ui-corner-tl 
{
    -moz-border-radius-topleft: .6em /*{global-radii-blocks}*/;
    -webkit-border-top-left-radius: .6em /*{global-radii-blocks}*/;
    border-top-left-radius: .6em /*{global-radii-blocks}*/;
}
.ui-corner-tr 
{
    -moz-border-radius-topright: .6em /*{global-radii-blocks}*/;
    -webkit-border-top-right-radius: .6em /*{global-radii-blocks}*/;
    border-top-right-radius: .6em /*{global-radii-blocks}*/;
}
.ui-corner-bl 
{
    -moz-border-radius-bottomleft: .6em /*{global-radii-blocks}*/;
    -webkit-border-bottom-left-radius: .6em /*{global-radii-blocks}*/;
    border-bottom-left-radius: .6em /*{global-radii-blocks}*/;
}
.ui-corner-br 
{
    -moz-border-radius-bottomright: .6em /*{global-radii-blocks}*/;
    -webkit-border-bottom-right-radius: .6em /*{global-radii-blocks}*/;
    border-bottom-right-radius: .6em /*{global-radii-blocks}*/;
}
.ui-corner-top 
{
    -moz-border-radius-topleft:.6em /*{global-radii-blocks}*/;
    -webkit-border-top-left-radius: .6em /*{global-radii-blocks}*/;
    border-top-left-radius:.6em /*{global-radii-blocks}*/;
    -moz-border-radius-topright:.6em /*{global-radii-blocks}*/;
    -webkit-border-top-right-radius: .6em /*{global-radii-blocks}*/;
    border-top-right-radius:.6em /*{global-radii-blocks}*/;
}
.ui-corner-bottom 
{
    -moz-border-radius-bottomleft:.6em /*{global-radii-blocks}*/;
    -webkit-border-bottom-left-radius: .6em /*{global-radii-blocks}*/;
    border-bottom-left-radius:.6em /*{global-radii-blocks}*/;
    -moz-border-radius-bottomright: .6em /*{global-radii-blocks}*/;
    -webkit-border-bottom-right-radius: .6em /*{global-radii-blocks}*/;
    border-bottom-right-radius:.6em /*{global-radii-blocks}*/;
}
.ui-corner-right 
{
    -moz-border-radius-topright:.6em /*{global-radii-blocks}*/;
    -webkit-border-top-right-radius: .6em /*{global-radii-blocks}*/;
    border-top-right-radius:.6em /*{global-radii-blocks}*/;
    -moz-border-radius-bottomright: .6em /*{global-radii-blocks}*/;
    -webkit-border-bottom-right-radius: .6em /*{global-radii-blocks}*/;
    border-bottom-right-radius:.6em /*{global-radii-blocks}*/;
}
.ui-corner-left 
{
    -moz-border-radius-topleft:.6em /*{global-radii-blocks}*/;
    -webkit-border-top-left-radius: .6em /*{global-radii-blocks}*/;
    border-top-left-radius:.6em /*{global-radii-blocks}*/;
    -moz-border-radius-bottomleft:.6em /*{global-radii-blocks}*/;
    -webkit-border-bottom-left-radius: .6em /*{global-radii-blocks}*/;
    border-bottom-left-radius:.6em /*{global-radii-blocks}*/;
}
.ui-corner-all 
{
    -moz-border-radius:.6em /*{global-radii-blocks}*/;
    -webkit-border-radius:.6em /*{global-radii-blocks}*/;
    border-radius:.6em /*{global-radii-blocks}*/;
}

/* Button corner classes
-----------------------------------------------------------------------------------------------------------*/
.ui-btn-corner-tl 
{
    -moz-border-radius-topleft:.4em /*{global-radii-buttons}*/;
    -webkit-border-top-left-radius: .4em /*{global-radii-buttons}*/;
    border-top-left-radius:.4em /*{global-radii-buttons}*/;
}
.ui-btn-corner-tr 
{
    -moz-border-radius-topright:.4em /*{global-radii-buttons}*/;
    -webkit-border-top-right-radius: .4em /*{global-radii-buttons}*/;
    border-top-right-radius:.4em /*{global-radii-buttons}*/;
}
.ui-btn-corner-bl 
{
    -moz-border-radius-bottomleft:.4em /*{global-radii-buttons}*/;
    -webkit-border-bottom-left-radius: .4em /*{global-radii-buttons}*/;
    border-bottom-left-radius:.4em /*{global-radii-buttons}*/;
}
.ui-btn-corner-br 
{
    -moz-border-radius-bottomright: .4em /*{global-radii-buttons}*/;
    -webkit-border-bottom-right-radius: .4em /*{global-radii-buttons}*/;
    border-bottom-right-radius:.4em /*{global-radii-buttons}*/;
}
.ui-btn-corner-top 
{
    -moz-border-radius-topleft:.4em /*{global-radii-buttons}*/;
    -webkit-border-top-left-radius: .4em /*{global-radii-buttons}*/;
    border-top-left-radius:.4em /*{global-radii-buttons}*/;
    -moz-border-radius-topright:.4em /*{global-radii-buttons}*/;
    -webkit-border-top-right-radius: .4em /*{global-radii-buttons}*/;
    border-top-right-radius:.4em /*{global-radii-buttons}*/;
}
.ui-btn-corner-bottom 
{
    -moz-border-radius-bottomleft:.4em /*{global-radii-buttons}*/;
    -webkit-border-bottom-left-radius: .4em /*{global-radii-buttons}*/;
    border-bottom-left-radius:.4em /*{global-radii-buttons}*/;
    -moz-border-radius-bottomright: .4em /*{global-radii-buttons}*/;
    -webkit-border-bottom-right-radius: .4em /*{global-radii-buttons}*/;
    border-bottom-right-radius:.4em /*{global-radii-buttons}*/;
}
.ui-btn-corner-right 
{
    -moz-border-radius-topright:.4em /*{global-radii-buttons}*/;
    -webkit-border-top-right-radius: .4em /*{global-radii-buttons}*/;
    border-top-right-radius:.4em /*{global-radii-buttons}*/;
    -moz-border-radius-bottomright: .4em /*{global-radii-buttons}*/;
    -webkit-border-bottom-right-radius: .4em /*{global-radii-buttons}*/;
    border-bottom-right-radius:.4em /*{global-radii-buttons}*/;
}
.ui-btn-corner-left 
{
    -moz-border-radius-topleft:.4em /*{global-radii-buttons}*/;
    -webkit-border-top-left-radius: .4em /*{global-radii-buttons}*/;
    border-top-left-radius:.4em /*{global-radii-buttons}*/;
    -moz-border-radius-bottomleft:.4em /*{global-radii-buttons}*/;
    -webkit-border-bottom-left-radius: .4em /*{global-radii-buttons}*/;
    border-bottom-left-radius:.4em /*{global-radii-buttons}*/;
}
.ui-btn-corner-all 
{
    -moz-border-radius:.4em /*{global-radii-buttons}*/;
    -webkit-border-radius:.4em /*{global-radii-buttons}*/;
    border-radius:.4em /*{global-radii-buttons}*/;
} 

/* Overlay / modal
-----------------------------------------------------------------------------------------------------------*/
.ui-shadow 
{
    -moz-box-shadow: 1px 1px 0px /*{global-box-shadow-size}*/ rgba(0,0,0,.3) /*{global-box-shadow-color}*/;
    -webkit-box-shadow: 1px 1px 0px /*{global-box-shadow-size}*/ rgba(0,0,0,.3) /*{global-box-shadow-color}*/;
    box-shadow: 1px 1px 0px /*{global-box-shadow-size}*/ rgba(0,0,0,.3) /*{global-box-shadow-color}*/;
}

/* Focus state - set here for specificity (note: these classes are added by JavaScript)
-----------------------------------------------------------------------------------------------------------*/
.ui-focus,
.ui-btn:focus {
    -moz-box-shadow: inset 0px 0px 3px #387bbe /*{global-active-background-color}*/, 0px 0px 3px #387bbe /*{global-active-background-color}*/;
    -webkit-box-shadow: inset 0px 0px 3px #387bbe /*{global-active-background-color}*/, 0px 0px 3px #387bbe /*{global-active-background-color}*/;
    box-shadow: inset 0px 0px 3px #387bbe /*{global-active-background-color}*/, 0px 0px 3px #387bbe /*{global-active-background-color}*/;
}
.ui-input-text.ui-focus,
.ui-input-search.ui-focus 
{
    -moz-box-shadow: 0px 0px 5px #387bbe /*{global-active-background-color}*/;
    -webkit-box-shadow: 0px 0px 5px #387bbe /*{global-active-background-color}*/;
    box-shadow: 0px 0px 5px #387bbe /*{global-active-background-color}*/;	
}
.ui-slider-track
{
    margin: 0 !important;
}
/*
 * CF Base
 */

* {
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}

body
{
    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
    -webkit-user-select: none;                  /* prevent copy paste, to allow, change 'none' to 'text' */
    background-color:#E4E4E4;
    background-image:linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%);
    background-image:-webkit-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%);
    background-image:-ms-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%);
    background-image:-webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0, #A7A7A7),
        color-stop(0.51, #E4E4E4)
    );
    background-attachment:fixed;
    font-family:'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif;
    font-size:16px;
    height:100%;
    margin:0px;
    padding:0px;
    width:100%;
}

a.ui-slider-handle-snapping
{
    -webkit-transition: none !important;
    -moz-transition: none !important;
}

div.Invalid
{
    -webkit-box-shadow:  0px 0px 5px 0px #ff0000 !important;
    box-shadow:  0px 0px 5px 0px #ff0000 !important;
}

div.NotInRange
{
    -webkit-box-shadow:  0px 0px 5px 0px #FF9900 !important;
    box-shadow:  0px 0px 5px 0px #FF9900 !important;
}

span.Invalid
{
    color: #ff0000;
    border-bottom: 1px dashed #ff0000;
    /*text-shadow:  1px 1px 1px #666666 !important;*/
}

span.NotInRange
{
    color: #FF9900;
    border-bottom: 1px dashed #FF9900;
    /*text-shadow:  1px 1px 1px #666666 !important;*/
}

label.Invalid
{
    font-weight:bold;
    color: #ff0000;
}

label.NotInRange
{
    font-weight:bold;
    color: #FF9900;
}

div.disable
{
    background-color:#e5e5e5 !important;
}

input[disabled]
{
    background-color:inherit;
    color:#333333 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

div.Result.disable
{
    background-color: #fffad1 !important;
    border-color: #666666 !important;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

div.Result.disable input[disabled]
{
    background-color: inherit;
    color: #333333 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}
div[data-role="popup"]
{
    margin: 10% 0 10% 0;
}

label.ui-input-text.ui-slider
{
    display: none;
}

input.ui-slider-input
{
    display: none;
}

div.ui-slider
{
    width: 80%;
    margin: 0 10%;
}

#logo
{
    text-align: center;
    margin: 0px 0 30px 0;
}

#logo img
{
    max-width: 100%;
}

div.Overlay {
    position: fixed;
    top: 0px;
    left: 0px;  
    right: 0px;
    bottom: 0px;
    z-index: 1099; 
    background:rgba(0,0,0,0.2);
}

div.OverlayChangePage {
    position: fixed;
    top: 0px;
    left: 0px;  
    right: 0px;
    bottom: 0px;
    z-index: 1099; 
}

div.TransparencyOverlay
{
    position: fixed;
    top: 0px;
    left: 0px;  
    right: 0px;
    bottom: 0px;
    z-index: 1200; 
}

div.Loader 
{
    text-align: center;
    border: 0 none;
    display: block;
    left: 50%;
    position: fixed;
    top: 50%;
    z-index: 9999999;
}

div.Loader img
{
    width: 24px;
    height: 24px;
}
     
div.Basic div.ui-block-a
{
    padding: 17px 0 17px 0;
}

input
{
    -webkit-user-modify: read-write-plaintext-only;
    /*-webkit-appearance: none;
    -webkit-backface-visibility: hidden;
    -webkit-transform: rotateY(0deg);*/
}

.ui-icon-mail
{
    background-image: url("../Images/mail.png");
}

.ui-icon-new-calc
{
    background-image: url("../Images/new-calc.png");
}

.ui-icon-print
{
    background-image: url("../Images/print.png");
}

.ui-icon-send-calc
{
    background-image: url("../Images/send-calc.png");
}
.ui-icon-phone
{
    background-image: url("../Images/phone.png");
}
.ui-icon-glob
{
    background-image: url("../Images/glob.png");
}
li.NormalFont
{
    font-weight: normal;
}
li.NotLast
{
    border-bottom-width:0px;
}
div.Last
{
    border-bottom-width:1px;
}
a.ButtonMargin
{
    margin: 0.5em 0.5em 0.5em 0.5em;
}

div.ui-grid-a div.ui-block-b
{
    padding-right: 5px;
}
/*
 * Calculation edition
 */
div#EditCalculationPage div.ui-grid-b label, div#EditCalculationPage div.ui-grid-b span
{
  /*  font-size:16px;*/
}
 
div#EditCalculationPage input.ui-input-text
{
    text-align: right;
}

div#EditCalculationPage div.ui-grid-b.Basic div.ui-block-a
{
    width: 40%;
    padding: 17px 0 17px 0;
}

div#EditCalculationPage div.ui-grid-b.Basic div.ui-block-b
{
    width: 60%;
}

div#EditCalculationPage div.ui-grid-b.Basic div.ui-block-c
{
    width: 0;    
}

/*
 * EditCalculationPage2
 */
div#EditCalculationPage2 div.ui-grid-a.Basic div.ui-block-a
{
    width: 45%;
    padding: 17px 0 17px 20px;
}

div#EditCalculationPage2 div.ui-grid-a.Basic div.ui-block-b
{
    width: 55%;
}

div#EditCalculationPage2 div.ui-grid-b label, div#EditCalculationPage2 div.ui-grid-b span, div#EditCalculationPage2 div.ui-grid-a label, div#EditCalculationPage2 div.ui-grid-a span
{
   /* font-size:16px;*/
}
 
div#EditCalculationPage2 input.ui-input-text
{
    text-align: right;
}

div#EditCalculationPage2 div.ui-grid-b.Values div.ui-block-a
{
    width: 45%;
    padding-left: 20px;
}

div#EditCalculationPage2 div.ui-grid-b.Values div.ui-block-a span
{
    line-height: 53px;
}

div#EditCalculationPage2 div.ui-grid-b.Values div.ui-block-a span.Checkbox
{
    margin-top: 17px;
}

div#EditCalculationPage2 div.ui-grid-b.Values div.ui-block-a div.Checkbox
{
    position: absolute;
    margin-left: -35px;
    width: 35px;
    height: 53px;
}

div#EditCalculationPage2 div.ui-grid-b.Values div.ui-block-b
{
    width: 40%;
}

div#EditCalculationPage2 div.ui-grid-b.Values div.ui-block-c
{
    width: 15%;
    float:right;
}

div#EditCalculationPage2 div.ui-grid-b.Values div.SliderRow
{
    padding: 5px 0 18px 0;
}

div#EditCalculationPage2 div.ui-grid-b.Values div.SliderRow.Invisible
{
    padding: 0 0 10px 0;
}

div#EditCalculationPage2 div.ui-grid-b.Values div.CheckboxRow.ui-block-b
{
    width: 85%;
}
div#EditCalculationPage2 input#PresentValueSlider
{
    width:100%;
}


div#EditCalculationPage2 div.ui-grid-b.Values div.InputRow.ui-block-c
{
    padding: 4px 0 0 0;
}

div#EditCalculationPage2 div.ui-grid-b.Values div.SliderRow.ui-block-a
{
    width: 100%;
}
div#EditCalculationPage2 div.ui-grid-b.Values div.SliderRow.ui-block-b
{
    width: 0%;
}
div#EditCalculationPage2 div.ui-grid-b.Values div.SliderRow.ui-block-c
{
    width: 0%;
}

div#EditCalculationPage2 div.ui-grid-b.Values div.ui-block-c a
{
    float: right;
}

div#EditCalculationPage2 span.Checkbox , div#UpdateUserProfilePage span.Checkbox
{
    position:absolute;
    /*margin-left:-25px;*/
    margin-left: 10px;
    width: 18px;
    height: 18px;
    background-color: transparent;
    background: url("../Images/jquery.mobile/icons-18-white.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0.4);
    border-radius: 9px 9px 9px 9px;
    background-position: -754px -1px;
}

div#EditCalculationPage2 span.checkboxLabel, div#EditCalculationPage2 label.checkboxLabel
{
   /* margin-left:20px;*/
}

div#EditCalculationPage2 span.Checkbox.Checked, div#UpdateUserProfilePage span.Checkbox.Checked
{
    background-position: -718px -1px;
    background-color: #4596CE;
}

div#EditCalculationPage2 div.ui-popup-container
{
    width:100%;
}

div#EditCalculationPage2 div.ui-popup-container div.ui-content
{
    /*font-size: 15px;*/
}
div#EditCalculationPage2 div.ui-popup-container table.data tr td.Label
{
    width:30%;
}

div#EditCalculationPage2 div#firstPaymentPopUp table.data th, div#EditCalculationPage2 div#lastPaymentPopUp table.data th, 
div#EditCalculationPage2 div#pricePopUp table.data th,div#EditCalculationPage2 div#durationPopUp table.data th
{
    text-align: left;
    /*font-weight: normal;*/
    padding: 20px 0 6px 0;
}

/*
 * EditCalculationPage3
 */
div#EditCalculationPage3 div.ui-block-b
{
    text-align: right;
}

div#EditCalculationPage3 .Text
{
    text-align: left !important;
}

div#EditCalculationPage3 table.data tr td
{
    width:50%;
}

div#EditCalculationPage3 #photo
{
    text-align: center;
    margin-bottom: 15px;
}

div#EditCalculationPage3 #photo img.Photo
{
    max-width:50%;
}

div#EditCalculationPage3 #photo .SmallImage
{
    width: 80px;
    -moz-box-shadow: 1px 1px 0px /*{global-box-shadow-size}*/ rgba(0,0,0,.3) /*{global-box-shadow-color}*/;
    -webkit-box-shadow: 1px 1px 0px /*{global-box-shadow-size}*/ rgba(0, 0, 0, .3) /*{global-box-shadow-color}*/;
    box-shadow: 1px 1px 0px /*{global-box-shadow-size}*/ rgba(0, 0, 0, .3) /*{global-box-shadow-color}*/;
    -moz-border-radius: 0em /*{global-radii-buttons}*/;
    -webkit-border-radius: 0em /*{global-radii-buttons}*/;
    border-radius: 0em /*{global-radii-buttons}*/;
    text-align: center;
    cursor: pointer;
    position: relative;
    -webkit-background-clip: padding;
    background-clip: padding-box;
    font-family: Helvetica, Arial, sans-serif /*{global-font-family}*/;
    text-decoration: none;

    border: 1px solid #CCC /*{c-bup-border}*/;
    background: #EEE /*{c-bup-background-color}*/;
    font-weight: bold;
    color: #222 /*{c-bup-color}*/;
    text-shadow: 0 /*{c-bup-shadow-x}*/ 1px /*{c-bup-shadow-y}*/ 0 /*{c-bup-shadow-radius}*/ white /*{c-bup-shadow-color}*/;
    background-image: -webkit-gradient(linear, left top, left bottom, from( white /*{c-bup-background-start}*/), to( #F1F1F1 /*{c-bup-background-end}*/));
    background-image: -webkit-linear-gradient( white /*{c-bup-background-start}*/, #F1F1F1 /*{c-bup-background-end}*/);
    background-image: -moz-linear-gradient( white /*{c-bup-background-start}*/, #F1F1F1 /*{c-bup-background-end}*/);
    background-image: -ms-linear-gradient( white /*{c-bup-background-start}*/, #F1F1F1 /*{c-bup-background-end}*/);
    background-image: -o-linear-gradient( white /*{c-bup-background-start}*/, #F1F1F1 /*{c-bup-background-end}*/);
    background-image: linear-gradient( white /*{c-bup-background-start}*/, #F1F1F1 /*{c-bup-background-end}*/);
}

div#EditCalculationPage3 #photo .SmallImage:hover
{
    border: 1px solid 		#bbb /*{c-bhover-border}*/;
	background: 			#dfdfdf /*{c-bhover-background-color}*/;
	font-weight: bold;
	color: 					#222 /*{c-bhover-color}*/;
	text-shadow: 0 /*{c-bhover-shadow-x}*/ 1px /*{c-bhover-shadow-y}*/ 0 /*{c-bhover-shadow-radius}*/ #fff /*{c-bhover-shadow-color}*/;
	background-image: -webkit-gradient(linear, left top, left bottom, from( #f6f6f6 /*{c-bhover-background-start}*/), to( #e0e0e0 /*{c-bhover-background-end}*/)); /* Saf4+, Chrome */
	background-image: -webkit-linear-gradient( #f6f6f6 /*{c-bhover-background-start}*/, #e0e0e0 /*{c-bhover-background-end}*/); /* Chrome 10+, Saf5.1+ */
	background-image:    -moz-linear-gradient( #f6f6f6 /*{c-bhover-background-start}*/, #e0e0e0 /*{c-bhover-background-end}*/); /* FF3.6 */
	background-image:     -ms-linear-gradient( #f6f6f6 /*{c-bhover-background-start}*/, #e0e0e0 /*{c-bhover-background-end}*/); /* IE10 */
	background-image:      -o-linear-gradient( #f6f6f6 /*{c-bhover-background-start}*/, #e0e0e0 /*{c-bhover-background-end}*/); /* Opera 11.10+ */
	background-image:         linear-gradient( #f6f6f6 /*{c-bhover-background-start}*/, #e0e0e0 /*{c-bhover-background-end}*/);
}

div#EditCalculationPage3 div.GraphPanel
{   
    width: 100%;
    display: inline-block;
    white-space: nowrap;
    text-align: right;
}

div#EditCalculationPage3 div.GraphPanel div
{
    float: right;
    height: 60px;
    width: 60px;
    margin: 5px;
    padding: 0;

}

div#EditCalculationPage3 div.GraphPanel a
{
    text-decoration: none;
    height: 60px;
    width: 60px;
    padding: 0;
    margin: 0;
}

div#EditCalculationPage3 div.GraphPanel a span.ui-btn-inner
{
    padding: 0;
}

div#EditCalculationPage3 div.GraphPanel a img
{
    height: 60px;
    width: 60px;
}

/*
*Settings
*/
div#SettingsPage div.ui-grid-a > div.ui-block-a 
{
    padding-top: 17px;
}

div#SettingsPage div.ui-grid-a > div.ui-block-a.Toggle
{
    padding-top: 10px;
}

div#SettingsPage .ui-slider-switch
{ 
    width: 9em 
}

div#SettingsPage input.ui-input-text
{
    text-align: right;
}

/*
*Log in
*/
div#LogInPage div.ui-grid-a > div.ui-block-a 
{
    padding-top: 17px;
}
/*
*Repayment calculation
*/
div#RepaymentCalculationPage div.ui-grid-a div.ui-block-a, div#RepaymentContractCalculationPage div.ui-grid-a div.ui-block-a
{
    padding:17px 0 0 0;   
}
div#RepaymentCalculationPage div.ui-block-b.Values input, div#RepaymentContractCalculationPage div.ui-block-b.Values input
{
    text-align:right;
}
div#RepaymentCalculationPage div.ui-grid-a div.SliderRow.ui-block-a, div#RepaymentContractCalculationPage div.ui-grid-a div.SliderRow.ui-block-a
{
    padding: 5px 0 18px 0;
    width: 100%;
}
div#RepaymentCalculationPage div.ui-grid-a div.SliderRow.ui-block-b, div#RepaymentContractCalculationPage div.ui-grid-a div.SliderRow.ui-block-b
{
    width: 0%;
}
div#RepaymentCalculationPage div.ui-grid-a div.SliderRow.ui-block-c, div#RepaymentContractCalculationPage div.ui-grid-a div.SliderRow.ui-block-c
{
    width: 0%;
}
/*
*Repayment calculation Graph
*/

div#RepaymentCalculationGraphPage td.Month
{
    padding-right: 10px;
    white-space: nowrap;
}

div#RepaymentCalculationGraphPage td.Month div
{
    vertical-align: middle;
    height: 19px;
    line-height: 19px;
}

div#RepaymentCalculationGraphPage td.Graph
{
    width:100%;
}

div#RepaymentCalculationGraphPage td.Graph div.Value
{
    border: 1px solid #555555;
    border-radius:2px;
    height: 19px;
    width:100%;

    background: rgb(192,192,192); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(192,192,192,1) 0%, rgba(221,221,221,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(192,192,192,1)), color-stop(100%,rgba(221,221,221,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(192,192,192,1) 0%,rgba(221,221,221,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(192,192,192,1) 0%,rgba(221,221,221,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(192,192,192,1) 0%,rgba(221,221,221,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(192,192,192,1) 0%,rgba(221,221,221,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c0c0c0', endColorstr='#dddddd',GradientType=0 ); /* IE6-9 */
}

div#RepaymentCalculationGraphPage td.Graph div.Value::after
{
    content: '';
    display: block;
    clear: both;
}

div#RepaymentCalculationGraphPage td.Graph div.Value div
{
    /*background-color: #8db8e2;*/
    top:50%;
    text-align: center;
    float: left;
    height:100%;
    
    background: #5E87B0 /*{b-bar-background-color}*/;
    color: white /*{b-bar-color}*/;
    text-shadow: 0 /*{b-bar-shadow-x}*/ 1px /*{b-bar-shadow-y}*/ 3px /*{b-bar-shadow-radius}*/ #000 /*{b-bar-shadow-color}*/;
    background-image: -webkit-gradient(linear, left top, left bottom, from( #497BAE /*{b-bar-background-start}*/), to( #497BAE /*{b-bar-background-end}*/));
    background-image: -webkit-linear-gradient( #6FACD5 /*{b-bar-background-start}*/, #497BAE /*{b-bar-background-end}*/);
    background-image: -moz-linear-gradient( #6FACD5 /*{b-bar-background-start}*/, #497BAE /*{b-bar-background-end}*/);
    background-image: -ms-linear-gradient( #6FACD5 /*{b-bar-background-start}*/, #497BAE /*{b-bar-background-end}*/);
    background-image: -o-linear-gradient( #6FACD5 /*{b-bar-background-start}*/, #497BAE /*{b-bar-background-end}*/);
    background-image: linear-gradient( #6FACD5 /*{b-bar-background-start}*/, #497BAE /*{b-bar-background-end}*/);
}

div#RepaymentCalculationGraphPage td.Graph div.Value div.Current
{
    background: #20981b /*{b-bar-background-color}*/;
    background-image: -webkit-gradient(linear, left top, left bottom, from( #2d902c /*{b-bar-background-start}*/), to( #2d902c /*{b-bar-background-end}*/));
    background-image: -webkit-linear-gradient( #24b735 /*{b-bar-background-start}*/, #2d902c /*{b-bar-background-end}*/);
    background-image: -moz-linear-gradient( #24b735 /*{b-bar-background-start}*/, #2d902c /*{b-bar-background-end}*/);
    background-image: -ms-linear-gradient( #24b735 /*{b-bar-background-start}*/, #2d902c /*{b-bar-background-end}*/);
    background-image: -o-linear-gradient( #24b735 /*{b-bar-background-start}*/, #2d902c /*{b-bar-background-end}*/);
    background-image: linear-gradient( #24b735 /*{b-bar-background-start}*/, #2d902c /*{b-bar-background-end}*/);

}

div#RepaymentCalculationGraphPage td.Graph div.Value span
{
    height: 19px;
    line-height:19px;
    color:#FFFFFF;
    text-align: center;
    font-size: 13px;
    padding-left: 4px;
    padding-right: 4px;
}
/*
* Calculations
*/
div#CalculationsPage div.deleteClass
{
    float: left;
    width: 50px;
    margin-right: -15px;
    height: 60px;
}
div#CalculationsPage span.deleteClass
{
    background-color: #8f0404;
    position:absolute; 
    top:50%; 
    margin-top: -9px; 
    left: 10px;
}
/*
*Offer
*/
div#CalculationSummaryPage div.ui-block-b
{
    text-align: right;
}

div#CalculationSummaryPage .Text
{
    text-align: left !important;
}

div#CalculationSummaryPage #photo
{
    text-align: center;
    margin: 15px 0 15px 0;
}
div#CalculationSummaryPage #photo img
{
    width:50%;
}
/*
 *Amount
 */
div#AmountPage input.ui-input-text
{
    text-align: right;
}

div#AmountPage div.ui-grid-a div.ui-block-a
{
    padding:17px 0 0 0;   
}
/*
 *Residual
 */
div#ResidualPage input.ui-input-text
{
    text-align: right;
}
div#ResidualPage div.ui-grid-a div.ui-block-a
{
    padding:17px 0 0 0;   
}
/*
 *Instalment
 */
div#InstalmentPage input.ui-input-text
{
    text-align: right;
}
div#InstalmentPage div.ui-grid-a div.ui-block-a
{
    padding:17px 0 0 0;   
}
div#InstalmentPage div.GraphPanel
{   
    width: 100%;
    display: inline-block;
    white-space: nowrap;
    text-align: right;
}

div#InstalmentPage div.GraphPanel div
{
    float: right;
    height: 60px;
    width: 60px;
    margin: 5px;
    padding: 0;

}

div#InstalmentPage div.GraphPanel a
{
    text-decoration: none;
    height: 60px;
    width: 60px;
    padding: 0;
    margin: 0;
}

div#InstalmentPage div.GraphPanel a span.ui-btn-inner
{
    padding: 0;
}

div#InstalmentPage div.GraphPanel a img
{
    height: 60px;
    width: 60px;
}

/*
 * Car configurator
 */
div#CarsPage ul li img
{
    height: 48px;
    width: 48px;
    position: static;
    float: none;
}

div#CarsPage ul li.Car a
{
    white-space: normal !important;
    padding: 0px;
    height: 48px;
    line-height: 0;
    display: table;
}

div#CarsPage ul li.Car
{
    padding: 10px;
    height: 48px;
}

div#CarsPage ul li a span.Text
{
    display: table-cell;
    vertical-align: middle;
    line-height: 110%;
    padding-right: 25px;
}

div#CarsPage ul li#SelectedCar
{
    padding: 17px;
}

div#CarsPage div.ui-grid-a label, div#EditCalculationPage div.ui-grid-a span
{
    font-size:16px;
    display: table-cell;
    vertical-align: middle;
    padding: 10px 0;
}
 
div#CarsPage input.ui-input-text
{
    text-align: right;
}
div#CarsPage input[data-type="search"]
{
    text-align: left;
}
div#CarsPage div.ui-grid-a.Basic div.ui-block-a
{
    width: 40%;
    padding: 25px 0 25px 0;
}
div#CarsPage p
{
    margin-top:15px;
    margin-bottom:15px;
    text-overflow: clip;
    white-space: normal;
    text-align:center;
}
/*
 *Contract
 */
div#ContractPage div.ui-block-b
{
    text-align: right;
}

div#ContractPage .Text
{
    text-align: left !important;
}
div#ContractPage table.data tr td
{
    width:50%;
}

/*
 * HomePage
 */
div#HomePage div.icon
{
    margin: 1%;
    float: left;
    width: 48%;    
}

div#HomePage div.icon > a
{
    text-decoration:none; 
}

div#HomePage div.icon > a > div
{
    padding: 20px 20px 20px 20px;
    text-align:center;
}

div#HomePage div.icon a div
{
    display: inline;
}

div#HomePage div.icon > .ui-btn
{
    margin: 0;
}

div#HomePage div.icon img
{
    width: 90%;
}

div#HomePage div.list h3
{
    line-height: 40px;
}

div#HomePage div.icon.OverlayDisabled > a > span, 
div#HomePage div.list ul li.OverlayDisabled div > a > h3, 
div#HomePage div.list ul li.OverlayDisabled div > a > img, 
a.OverlayDisabled > span
{
    opacity: 0.4;
}

div#HomePage div.list ul li div > span
{
    display: none;
}

div#HomePage div.list ul li div > a
{
    padding-right: 20px;
}

/*
*RegisterPage
*/
/*
div#RegisterPage div.ui-block-a
{
    padding: 15px;
}*/
/*
 *RepaymentSchedulePage
 */
div#RepaymentSchedulePage table.data tr td.number
{
    width:50%;
}

div#RepaymentSchedulePage table.data tr td.Index
{
    width: 30px;
    text-align: right;
}

div#RepaymentSchedulePage table.data tr td
{
    padding: 2px;
}

/*
*Repayment calculation Graph
*/

div#RepaymentScheduleGraphPage div.Legend
{
    width:100%;
    height: 40px;
    display: inline-block;
}

div#RepaymentScheduleGraphPage div.Legend div.Monthly
{
    height:20px;
    float: left;
    display: inline-block;
    white-space: nowrap;
}

div#RepaymentScheduleGraphPage div.Legend div.Monthly
{
    display: inline-block;
    width: 18px;
    height: 18px;
    float: left;
    border: 1px solid #555555;
    border-radius:2px;

    background-image: -webkit-gradient(linear, left top, left bottom, from( #78FF71  /*{b-bar-background-start}*/), to( #51965C  /*{b-bar-background-end}*/));
    background-image: -webkit-linear-gradient( #78FF71 /*{b-bar-background-start}*/, #51965C  /*{b-bar-background-end}*/);
    background-image: -moz-linear-gradient( #78FF71 /*{b-bar-background-start}*/, #51965C  /*{b-bar-background-end}*/);
    background-image: -ms-linear-gradient( #78FF71 /*{b-bar-background-start}*/, #51965C  /*{b-bar-background-end}*/);
    background-image: -o-linear-gradient( #78FF71 /*{b-bar-background-start}*/, #51965C  /*{b-bar-background-end}*/);
    background-image: linear-gradient( #78FF71 /*{b-bar-background-start}*/, #51965C  /*{b-bar-background-end}*/);
}

div#RepaymentScheduleGraphPage div.Legend span.Monthly
{
    height: 20px;
    line-height: 20px;
    text-align: left;
    float: left;
    padding: 0 5px;
}

div#RepaymentScheduleGraphPage div.Legend div.Interest
{
    display: inline-block;
    width: 18px;
    height: 18px;
    float: right;
    border: 1px solid #555555;
    border-radius:2px;

    background: rgb(192,192,192); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(105, 13, 13, 1) 0%, rgba(255, 86, 86, 1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(105, 13, 13, 1)), color-stop(100%,rgba(255, 86, 86, 1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(105, 13, 13, 1) 0%,rgba(255, 86, 86, 1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(105, 13, 13, 1) 0%,rgba(255, 86, 86, 1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(105, 13, 13, 1) 0%,rgba(255, 86, 86, 1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(105, 13, 13, 1) 0%,rgba(255, 86, 86, 1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c0c0c0', endColorstr='#dddddd',GradientType=0 ); /* IE6-9 */

}

div#RepaymentScheduleGraphPage div.Legend span.Interest
{
    height: 20px;
    line-height: 20px;
    text-align: right;
    float: right;
    padding: 0 5px;
}

div#RepaymentScheduleGraphPage td.Month
{
    padding-right: 10px;
    white-space: nowrap;
}

div#RepaymentScheduleGraphPage td.Month div
{
    vertical-align: middle;
    height: 19px;
    line-height: 19px;
}

div#RepaymentScheduleGraphPage td.Graph
{
    width:100%;
}

div#RepaymentScheduleGraphPage td.Graph div.Value
{
    overflow:visible;
    position:relative;
    border: 1px solid #555555;
    border-radius:2px;
    height: 19px;
    width:100%;
    
    text-align: right;
    color: white /*{b-bar-color}*/;
    text-shadow: 0 /*{b-bar-shadow-x}*/ 1px /*{b-bar-shadow-y}*/ 3px /*{b-bar-shadow-radius}*/ #000 /*{b-bar-shadow-color}*/;
    background: rgb(192,192,192); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(105, 13, 13, 1) 0%, rgba(255, 86, 86, 1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(105, 13, 13, 1)), color-stop(100%,rgba(255, 86, 86, 1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(105, 13, 13, 1) 0%,rgba(255, 86, 86, 1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(105, 13, 13, 1) 0%,rgba(255, 86, 86, 1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(105, 13, 13, 1) 0%,rgba(255, 86, 86, 1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(105, 13, 13, 1) 0%,rgba(255, 86, 86, 1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c0c0c0', endColorstr='#dddddd',GradientType=0 ); /* IE6-9 */
}

div#RepaymentScheduleGraphPage td.Graph div.Value::after
{
    content: '';
    display: block;
    clear: both;
}

div#RepaymentScheduleGraphPage td.Graph div.Value div
{
    position:absolute;
    /*background-color: #8db8e2;*/
    /*top:50%;*/
    text-align: left;
    float: left;
    height:100%;
    z-index:100;
    
    background: #78FF71 /*{b-bar-background-color}*/;
    color: white /*{b-bar-color}*/;
    text-shadow: 0 /*{b-bar-shadow-x}*/ 1px /*{b-bar-shadow-y}*/ 3px /*{b-bar-shadow-radius}*/ #000 /*{b-bar-shadow-color}*/;
    background-image: -webkit-gradient(linear, left top, left bottom, from( #78FF71  /*{b-bar-background-start}*/), to( #51965C  /*{b-bar-background-end}*/));
    background-image: -webkit-linear-gradient( #78FF71 /*{b-bar-background-start}*/, #51965C  /*{b-bar-background-end}*/);
    background-image: -moz-linear-gradient( #78FF71 /*{b-bar-background-start}*/, #51965C  /*{b-bar-background-end}*/);
    background-image: -ms-linear-gradient( #78FF71 /*{b-bar-background-start}*/, #51965C  /*{b-bar-background-end}*/);
    background-image: -o-linear-gradient( #78FF71 /*{b-bar-background-start}*/, #51965C  /*{b-bar-background-end}*/);
    background-image: linear-gradient( #78FF71 /*{b-bar-background-start}*/, #51965C  /*{b-bar-background-end}*/);
}

div#RepaymentScheduleGraphPage td.Graph div.Value > span.Monthly
{
    position:absolute;
    height: 19px;
    line-height:19px;
    left: 0;
    color:#FFFFFF;
    text-align: left;
    font-size: 13px;
    padding-left: 4px;
    padding-right: 4px;
    z-index:100;
}

div#RepaymentScheduleGraphPage td.Graph div.Value > span.Interest
{
    position:absolute;
    height: 19px;
    line-height:19px;
    right: 0;
    color:#FFFFFF;
    text-align: right;
    font-size: 13px;
    padding-left: 4px;
    padding-right: 4px;
    z-index:100;
}

/*
 *PoolObjectPage
 */
div#PoolObjectPage ul li a img
{
    max-width: 90px;
    max-height:60px;
    margin: 10px 10px 10px 10px;
}
div#PoolObjectPage ul li a h3
{
    font-size: 16px;
    margin-left: 10px;
    margin-top: 12px;
}
div#PoolObjectPage ul li a h3 span.Right
{
    position:absolute;
    padding-right:40px;
    right:0;
}
div#PoolObjectPage ul li a p
{  
    white-space:nowrap;
    margin-left: 10px;
}
div#PoolObjectPage p.DemoData
{
    margin-top:15px;
    margin-bottom:15px;
    text-overflow: clip;
    white-space: normal;
    text-align:center;
}
/*
 *PoolObjectSummaryPage
 */
div#PoolObjectSummaryPage table
{
    width:100%;
}
div#PoolObjectSummaryPage td.Title
{
    width:65%;
}
div#PoolObjectSummaryPage td.Title span.Make
{
    font-weight:bold;
    font-size:16px;
}
div#PoolObjectSummaryPage td.MonthlyPayment
{
    text-align:right;
    width:35%;
    vertical-align:middle;
}
div#PoolObjectSummaryPage td.MonthlyPayment span
{
    font-weight:bold;
    font-size:24px;
    white-space:nowrap;
}
div#PoolObjectSummaryPage div.Gallery
{
    margin: 10px 10px 10px 10px;
    width:100%; 
    overflow: auto;
    white-space:nowrap;
    font-size: 0;
}
div#PoolObjectSummaryPage img.ImageListItem
{
    display: inline-block;
    height: 150px;
    margin-right:5px;
}

div#PoolObjectSummaryPage div.ui-collapsible-content
{
    min-height:100px;
}
/*
*Table lines
*/
table.data
{
    width: 100%;
}
table.data tr.line1
{
    background: none repeat scroll 0 0 #dedede;
    
}
table.data tr.line2
{
    background: none repeat scroll 0 0 #eeeeee;
}
table.data tr td.number
{
    text-align:right;
}
/*
*Grid divider
*/
div.ui-grid-solo hr
{
    border:none;
    margin:15px 0 5px 0;
    height:1px;
    color:#999999;
    background-color:#999999;
}

.radiowidthfix .ui-radio {
    width: 49.5%;
}

.radiowidthfix .ui-controlgroup-controls {
    display:block
}

.radiowidthfix .labelpaddingfix .ui-btn-inner {
    padding: 0.6em 10px;
}
/*
 *NewsPage
 */
 div#NewsPage ul li a.List
{
    padding: 0 0 0 0;
}

div#NewsPage ul li a.List div div.Img
{
    line-height:0;
    position:absolute;
    left:0;
    width: 80px;
    height: 80px;
    min-width: 80px;
}


div#NewsPage ul li a.List div div.Img div
{
    display: table-cell;
    vertical-align:middle;
    text-align: center;
    width: 80px;
    height: 80px;
}

div#NewsPage ul li a.List div div.Img div img
{
    max-width:70px;
    max-height:70px;
}

div#NewsPage ul li a.List div div.Desc
{
    padding: 10px 0 0 0;
    vertical-align:top;
    margin: 0 40px 0 80px;
    height:70px;
}
div#NewsPage ul li a.List div div.Desc h3
{
    margin: 0 0 0.6em 0;
}

/*
 *NewsDetailsPage
 */
 
div#NewsDetailsPage
{
    width:100%;
}

div#NewsDetailsPage img
{
    max-width: 100% 
}
 
div#NewsDetailsPage h3 a
{
    color: black;
}

/*
 * MyContractsPage
 */
div#MyContractsPage li[data-role="divider"]
{
    padding-right: 40px;
}

/*
 * CalculationsPage
 */
div#CalculationsPage li[data-role="divider"]
{
    padding-right: 40px;
}