@CHARSET "ISO-8859-1";

/* Order property has effect only on flexible items 
Here order property has been used for form 7 change of field positions */
div#hpsAddressIntlSection {
            display: flex;
            flex-wrap: wrap;            
}
/* Billing Address */
div#hpsAddress1Row {order: 1;}
div#hpsAddress2Row {order: 2;} 
/* City */
div#hpsCityRow {order:3;}
/* Zip Code */
div#hpsZipRow {order: 4;}
/* Country */
div#hpsCountryRow {order: 5;}
/* Province */
div#hpsStateRow {order: 6;}


.creNameLabel,
.creAddressOneLabel,
.creAddressTwoLabel,
.creCityLabel,
.creProvinceLabel,
.crePostalCodeLabel,
.creCountryLabel,
.creNumberLabel,
.creCVV2Label,
.creTypeLabel,
.creExpirationLabel{
    font-family: aktiv-grotesk,Arial,sans-serif;
    font-size: 12px;
    white-space: nowrap;    
    color: #4B4C50;
} 

.creNameField,
.creAddressOneField,
.creAddressTwoField,
.creAddressField,
.creStateField,
.creCountryField,
.crePostalCodeField,
.creNumberField,
.creCountryField,
.creCVV2Field,
.creTypeField,
.creExpirationMonthField,
.creExpirationYearField{
    padding: 2px 0px;
    border: 1px solid #ccc;
    width: 250px;  
    font-size: 12px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.creExpirationMonthField,
.creExpirationYearField{
    width: 118px !important;
}

.creExpirationMonthField{
    margin: 2px 6px 2px 10px;
}

.creExpirationYearField{
    margin: 2px 10px 2px 4px;
}
.creCVV2WhatLink{
            font-size: 14px;
    color: #3D8138;
    text-decoration: none;
    display: none;
}

.completeButton{
    cursor: default;
    margin: 10px 0px 0px;
    width: auto;
    height: 29px;
    background-color: #25282A;
    color: white;
    text-transform: uppercase;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.375;
    box-shadow: none;
    border: 1px solid #25282A;
    outline: #25282A solid 1px;
    display: inline-block !important;
    font-weight: 900 !important;
}

.cancelButton{
    display: none !important;
}

.creButtonRow{
    display: inline-block;
}

#hpsCardSection{
    /* display: table; */
    width: 100%;
}

/* Begin Form Type - 7 Lebel styling*/
#hpsNameLabel,
#hpsTypeLabel,
.hpsNumberLabel,
#hpsCVV2Label,
#hpsExpirationLabel
{
    display: table-cell;
    font-family: aktiv-grotesk,Arial,sans-serif;
    font-size: 12px;
    white-space: nowrap;    
    color: #4B4C50;
}
#hpsAddress1Label,
#hpsAddress2Label,
#hpsCityLabel,
#hpsStateLabel,
#hpsZipLabel,
#hpsCountryLabel{
	width: 0px;
    float: left;
    font-family: aktiv-grotesk,Arial,sans-serif;
    font-size: 12px;
    white-space: nowrap;    
    color: #4B4C50;
}

#hpsCardSection span, #hpsTypeLabel{
 	font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
}
#hpsAddressIntlSection #hpsCityLabel,  #hpsAddressIntlSection #hpsZipLabel, 
#hpsAddressIntlSection #hpsStateLabel,  #hpsAddressIntlSection #hpsCountryLabel,  #hpsAddressIntlSection 
#hpsAddress1Label {
	float: none;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 12px;
}

/* End Form Type - 7 Label styling*/


.hpsNameField,
#ccType,
.hpsNumberField,
.hpsCVV2Field,
.hpsExpirationMonthField,
.hpsExpirationYearField{
    padding: 5px;
    border: 1px solid #ccc;
    width: 100%;
    font-size: 12px;
    line-height: 18px;
    height: 28px;
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
    border-radius: 0px;
}

.hpsAddressOneField,
.hpsAddressTwoField,
.hpsCityField,
.hpsProvinceState,
.hpsZipField,
.creStateField,
#country{
    padding: 5px;
    border: 1px solid #ccc;
    width: 100%;
    font-size: 12px;
    line-height: 18px;
    height: 28px;
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
}
   
/* #city, #postal_code, #state, #country, #address2, #address {
 line-height: 24px;
 width: 100%;
 margin-left: 0px;
 font-size: 16px;
} */

.hpsExpirationMonthField,
.hpsExpirationYearField{
    width: 118px !important;
}

.hpsExpirationMonthField , .hpsExpirationYearField{
    padding: 4px;
    margin: 4px 0px 0px;
}
.hpsExpirationMonthField{
    margin-right: 15px;
}

.hpsrow,
.hpsTypeRow {
    margin-bottom: 10px;
            
}
#hpsNumberRow,
#hpsCVV2Row{
	float: none;
    margin-right: 0;
}
    
#WhatsThisLabelText{
    display:none;
}

.errorSpanAbove, .errorSpanBelow 
{
    display: none !important;
}
    
#addnewcard .modal-body{
 	padding:0;
 } 
#addnewcard .modal-dialog {
    width: 70%;
}
#paymentFrame{
	height:450px !important;
}
#paymentFrame body{
	margin:0;
}

.mainTable,#theForm {
	width: 100%;
}
 
.modal-title{
 	text-align: center;
    color: #00AEC7;
    font-size: 32px;
    margin: 10px;
    font-weight:300;
}

#hpsNameRow{
    width: 100%;
    margin: 5px 0px;
} 
#hpsCardSection input {
	margin: 3px 0px 5px
}
    
#hpsCardSection .hpsNameField {
	width: 48%; 
}
  
#hpsCardSection .hpsTypeRow {
   display: block!important;
}
#hpsCardSection #hpsNumberRow , #hpsCardSection #hpsExpirationRow,  #hpsCardSection .hpsTypeRow ,
#hpsAddressIntlSection #hpsCityRow,#hpsAddressIntlSection #hpsZipRow, #hpsAddressIntlSection #hpsStateRow, #hpsAddressIntlSection #hpsCountryRow, 
#hpsAddressIntlSection #hpsAddress2Row, #hpsAddressIntlSection #hpsAddress1Row{
	float: left;
  	width: 48%;
  	padding: 0px 10px 0px 0px;
  	clear: none;
}

#hpsAddressIntlSection #hpsAddress2Row{
 	top: 24px;
 	position: relative;
}
#hpsCardSection #hpsCVV2Row{
	width: 48%;
 	padding: 0px 10px 0px 0px;
 	float: left;
 	clear: both;
}
#expMonth ,#expYear{
	width: 48% !important; 
}
#hpsAddressIntlSection {
 	clear:both;
    font-size: 16px;
 	line-height: 24px;
}
#cardTypePayload #ccType{
    padding: 4px;
 	margin: 4px 0px 0px;
}
#state, #country {
    padding: 4px;
}

/* 
#completeButton span{
  display:none;
}

#completeButton:after{
   content: "ADD CARD";   
} */

#hpsAddress1Row, #hpsAddress2Row, #hpsCityRow, #hpsZipRow, #hpsStateRow, #hpsCountryRow{
	margin-bottom: 5px;
}


@media(max-width: 640px){
		#hpsCardSection #hpsNumberRow , #hpsCardSection #hpsExpirationRow,  #hpsCardSection .hpsTypeRow ,
		#hpsAddressIntlSection #hpsCityRow,#hpsAddressIntlSection #hpsZipRow, #hpsAddressIntlSection #hpsStateRow, #hpsAddressIntlSection #hpsCountryRow, 
		#hpsAddressIntlSection #hpsAddress2Row, #hpsAddressIntlSection #hpsAddress1Row{
			float: left;
			margin: auto;
		  	width: 97%;
		  	padding: 0px 10px 0px 0px;
		  	clear: none;
		}
		#hpsCardSection #hpsCVV2Row {
		    margin: auto;
		    width: 97%;
		    padding: 0px 10px 0px 0px;
		    clear: none;
		}
		#hpsCardSection .hpsNameField {
		    width: 97%;
		    margin: auto;
		}
		#expMonth, #expYear {
		    width: 99% !important;
		}
		#hpsAddressIntlSection #hpsAddress2Row {
		    top: 0px;
		    position: relative;
		}
		#paymentFrame {
		    height: 700px !important;
		}
}
    