﻿/*
    custom styles for Hearst HOP
*/
@font-face {
    font-family: 'SourceSansPro-Regular';
    src: url('https://cdn.syncronex.com/css/hearst/SourceSansPro-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SourceSansPro-Bold';
    src: url('https://cdn.syncronex.com/css/hearst/SourceSansPro-Bold.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SourceSansPro-Semibold';
    src: url('https://cdn.syncronex.com/css/hearst/SourceSansPro-Semibold.ttf');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'SourceSansPro-Regular';
}

label {
    font-size: 14px;
}

input {
    font-size: 14px;
    padding: 4px 10px;
}

input[type='number'] {
    -moz-appearance:textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

select {
    font-size: 14px;
    border: 1px solid #ccc;
    padding: 0 0 0 10px;
}

    input.field.error,
    select.field.error,
    textarea.field.error {
        border: 1px solid #cc0000;
    }

div.field.error {
    color: #ee3948;
}

select.btn-mini {
    height: auto;
    line-height: 14px;
}

select.btn {
    -webkit-appearance: button;
    -moz-appearance: button;
    padding-right: 16px;
    padding-left: 0px;
}

select.btn-mini + .caret {
    margin-left: -20px;
    margin-top: 9px;
    padding-left: 0px;
}

select option {
    padding: 4px 16px;
}

.accountnumber input,
.nameoncard input {
    margin-top: 12px;
    width: 404px;
    height: 40px;
}

.accountnumber label,
.nameoncard label {
    width: 100%;
    margin-top: 20px;
    font-size: 14px;
    margin-bottom: 0;
    font-weight: normal;
}

.securitycode label,
.expiration .month label,
.expiration .year label {
    width: 100%;
    margin-top: 20px;
    font-size: 14px;
    margin-bottom: 0;
    font-weight: normal;
}

.securitycode {
    float: left;
    width: 134px;
    margin-right: 16px;
}

.expiration {
    float: left;
    width: 268px;
}

    .expiration > div {
        width: 122px;
        margin-right: 10px;
        float: left;
    }

.securitycode > div {
}

.securitycode input {
    margin-top: 12px;
    width: 130px;
    height: 40px;
}

.expiration .month select,
.expiration .year select {
    margin-top: 12px;
    width: 122px;
    height: 40px;
}

.dropdown-wrapper select {
    padding: 4px;
    outline: none;
    display: inline-block;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.dropdown-wrapper select::-ms-expand {
    display: none;
}

.dropdown-wrapper {
    position: relative;
    font-weight: normal;
}

.dropdown-wrapper:after {
    content: "\f078";
    font-family: "FontAwesome";
    font-size: 16px;
    color: #777;
    right: 4px;
    top: 40%;
    padding: 0 0 2px;
    position: absolute;
    pointer-events: none;
}



@media screen and (max-width: 600px) {
    .accountnumber input,
    .nameoncard input {
        margin-top: 12px;
        width: 100%;
        height: 40px;
    }
}

