/* CSS file */
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";

global {
    modalTransparencyBlur: 0;
    modalTransparency: 0.7;
    modalTransparencyColor: 0;
    modalTransparencyDuration: 250;
}

s|TextInput {
    skin-class: ClassReference("com.afi.estimator.style.forms.AFIInput");
}

s|DropDownList {
    skin-class: ClassReference("com.afi.estimator.style.forms.AFIDropdown");
}

s|CheckBox {
    skin-class: ClassReference("com.afi.estimator.style.forms.AFICheckbox");
}
mx|Button {
    fontFamily: 'universMedium';
}

.formTitle {
    font-size: 45;
    font-family: 'laneNarrow';
    color: #FFFFFF;
}

.subtitle {
    font-size: 18px;
    font-family: 'universMediumCFF';
    color: #415c73;
}

.cartitle {
    font-size: 18px;
    font-family: 'universMediumCFF';
    color: #4a6478;
}

@font-face {
    src: url('/com/afi/estimator/assets/fonts/lane_narrow.ttf');
    fontFamily: 'laneNarrow';
    embedAsCFF: true;
    advancedAntiAliasing: true;
}

@font-face {
    src: url('/com/afi/estimator/assets/fonts/aller_bold.ttf');
    fontFamily: 'allerBold';
    embedAsCFF: true;
    advancedAntiAliasing: true;
}

@font-face {
    src: url('/com/afi/estimator/assets/fonts/aller_regular.ttf');
    fontFamily: 'allerRegular';
    embedAsCFF: true;
    advancedAntiAliasing: true;
}

@font-face {
    src: url('/com/afi/estimator/assets/fonts/univers_medium.ttf');
    fontFamily: 'universMediumCFF';
    embedAsCFF: true;
    advancedAntiAliasing: true;
}

@font-face {
    src: url('/com/afi/estimator/assets/fonts/univers_medium.ttf');
    fontFamily: 'universMedium';
    embedAsCFF: false;
    advancedAntiAliasing: true;
}

@font-face {
    src:url('/com/afi/estimator/assets/fonts/aller_bold.ttf');
    fontFamily:'allerBoldNoCFF';
    embedAsCFF:false;
    advancedAntiAliasing:true;
}

s|RichEditableText.inputLabel {
    font-family: 'allerBold';
    font-size: 12px;
    color: #333333;
}

mx|Text.itemLabel {
    font-family: 'universMedium';
    font-size: 12px;
    color: #333333;
}

s|Label.allerLabel {
    font-family: 'allerRegular';
    color: #579409;
}

s|Label.progressLabel {
    font-family: 'allerBold';
    font-size: 14px;
    color: #FFFFFF;
}

/**

        <s:Label> Styles

**/
mx|Text {
    font-family: 'universMedium';
    color: #333333;
    font-size:14px;
    leading:5;
}

mx|Text.capsText {
    font-family: 'allerBoldNoCFF';
    color: #333333;
    font-size:14px;
}

mx|Text.bodyText {
    font-size: 14px;    
    leading: -1;
}

s|Label {
    font-family: 'universMediumCFF';
    color: #333333;
    font-size:14px;
}

s|Label.refNumber {
    font-size: 10px;
    bold: true;
}

s|Label.copy {
    leading: 18;
    font-size: 12px;
    lineHeight: 32px;
}

s|Label.inputLabel {
    font-size: 11px;
    color: #333333;
}

s|Label.whyLine {
    color: #5c9105;
    font-size: 12px;
}

s|Label.preloaderNumber {
    font-family: 'laneNarrow';
}

s|Label.dropdownLabel {
    font-size: 12px;
    color: #333333;
    fontFamily: 'allerBold';
}

s|Label.DropdownButton {
    textAlign: center;
    verticalAlign: middle;
    font-size: 12px;
    color: #366aa1;
    font-family: 'allerBold';
}

s|Label.footerLabel {
    font-size: 14px;
    color: #333333;
}

s|Label.addressGroupInput {
    font-size: 15px;
    leading: 5px;
    color: #4a6478;
}

.inputLabel {
    font-family: 'universMedium';
    font-size: 12px;
    color: #333333;
}

.glossTitle {
    font-size: 14px;
    color: #777777;
    font-family: 'allerBold';
}

.popTitle {
    font-size: 18px;
    color: #4a6478;
    font-family: 'allerBold';
}

.faqButton {
    font-family: 'allerBold';
}

.roundedDateField{
    corner-radius: 5; borderStyle: solid; borderSkin: ClassReference("com.afi.estimator.style.forms.renderers.DateFieldSkin");
}

mx|DateField{
    font-family:'allerBoldNoCFF';
    font-size:12px;
    color:#333333;
    text-input-style-name:roundedDateField;
}