﻿/********************** 
 Default button styles
***********************/

/* Styling for outer hyperlink */
.button
{
    padding: 0;
    text-decoration: none;
    white-space: nowrap;
}
.left
{
	float:left;
	margin-left:-2px;
}
.right
{
	float:right;
	margin-right:-2px;
}

/* Styling for all 3 internal span elements */
.button span
{
    display: inline-block;
	background:Transparent url("/eSales/Content/images/Axa/Button.gif") no-repeat;
	color: #FFF;
	font-weight:500;
    font-family: 'Arial';
    font-size: 18px;
    text-align:center;
    height: 48px;
    line-height: 43px;
	padding:0 3px;
	position: relative;
}
a.alternate span
{
    background-image: url("/eSales/Content/images/Axa/ButtonAlternate.gif");
}
a.small span
{
    background-image: url(/eSales/Content/images/Axa/ButtonSmall.gif);
    height: 26px;
    line-height: 20px;
    font-size: 11px;
	padding:0 5px;
}
.medium span {
    background-image: url(/eSales/Content/images/Axa/ButtonMedium.gif);
    height: 32px;
    line-height: 30px;
    font-size: 12px;
    padding: 0 5px;
}

a.button span span
{
    background-image: none;
}

a.done span.buttonInnerText span strong
{
    color: #FFF !important;
}

/* Styling for specific span elements within button */
a.button span.buttonInnerLeft
{
	background-position:left 0;
	padding-left:10px;
}
a.button span.buttonInnerRight
{
	background-position:right 0;
	padding-right:10px;
}
a.button span.buttonInnerText
{
	background-position:center 0;
	padding:0;
}
a.left span.buttonInnerText
{
    text-align:right;
}
a.right span.buttonInnerText
{
    text-align:left;
}
a.plain span.buttonInnerText
{
    text-align:center;
}

.ChangePolicyeCare .button span.buttonInnerText
{
    width: 130px;
}

.ChangeCarDetailseCare .questionsBox .button span.buttonInnerText
{
     width: 206px;
}
/* Styling for hover/focus states */
a.button:hover span.buttonInnerLeft, a.button:focus span.buttonInnerLeft
{
    background-position: left bottom;
}
a.button:hover span.buttonInnerRight, a.button:focus span.buttonInnerRight
{
    background-position: right bottom;
}
a.button:hover span.buttonInnerText, a.button:focus span.buttonInnerText
{
    background-position: center bottom;
}

/* Styling for hover/focus states */
a.button small:hover span.buttonInnerLeft, a.button small:focus span.buttonInnerLeft
{
    background-position: left bottom;
}
a.button small:hover span.buttonInnerRight, a.button small:focus span.buttonInnerRight
{
    background-position: right bottom;
}
a.button small:hover span.buttonInnerText, a.button small:focus span.buttonInnerText
{
    background-position: center bottom;
}

/* Context-specific styling */
.NavButtonsBox a.button span.buttonInnerText
{
	min-width:100px;
	_width:100px;
}
.NavButtonsBoxTop a.button span.buttonInnerText
{
	min-width:100px;
	_width:100px;
}
.popup a.button span.buttonInnerText
{
	min-width:80px;
	_width:80px;
}

/****************** Claims and convictions popup stylings  *******/

#popupEditClaims .button span,
#popupEditConvictions .button span
{
    position:static; /*must override the relative setting for this
                        popup as the buttons need to move when "another claim" is clicked*/
}

/*****************************************************************/

.AcceptRenewalTerms .NavButtonsBox .NextPageButton
{
    margin-left:20px; /*needed to stop I Decline button being too close to Accept button*/
}