/*****RT EMAIL PREFERANCES CSS *****/
form .error {
  color: #ff0000;
  font-size: 14px;
}

form .error.hidden {
  display: none;
}

.response-ok {
  color: blue;
  font-size: 14px;
  font-weight: bold;
}

.response-ok.hidden {
  display: none;
}

body {
    background-color: #EEEEEE;
    color: #333333;
    font-size: 1.6rem;
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.25;
}

/*****STRUCTURE CSS *****/

.container-fluid {
    margin: 0 auto;
    min-width: 320px;
    max-width: 1100px;
    background-color: #FFFFFF;
}

.rt-pref .main-header {
    height: 84px;
    border-bottom: solid white 1px;
    background-color: #FA320A;
}

.rt-pref .brand {
    float: left;
    padding: 2.2rem 2.6rem 1.0rem 1.5rem;
    max-width: 218px;
}

.rt-form-wrap {
    padding: 0 4rem;
    font-size: 1.6rem;
}

.rt-form-wrap .form-header, .rt-form-wrap .rt-mkt-email-box {
    border-bottom: 1px solid #333333;
}

.rt-form-wrap .form-header, .rt-form-wrap .email-box {
    margin-bottom: 1.5rem;
}
.rt-form-wrap .email-box {
    position: relative;
}
.rt-form-wrap .rt-mkt-email-box {
    margin-bottom: 5rem;
    padding-bottom: 5rem;
}

.rt-form-wrap .unsub {
    margin-bottom: 4rem;
}

.rt-form-wrap h1 {
    font-size: 2rem;
}

.rt-form-wrap p {
    margin: 0;
}

.rt-form-wrap label {
    font-weight: bold;
}

.rt-form-wrap .email-box label, .rt-form-wrap .note-box label {
    text-transform: uppercase;
}

.rt-form-wrap .email-box label {
    margin-right: 1rem;
    width: 189px;
}

.rt-form-wrap input[type=text] {
    max-width: 400px;
    height: 30px;
    outline: 0;
}

.rt-form-wrap input[type=text]:focus {
    border: 1px solid rgba(102, 175, 233, 1.00);
}

.rt-form-wrap .note-box label {
    position: relative;
    top: -1px;
}

.rt-form-wrap .note-box {
    margin-bottom: 3.1rem;
    font-size: 1.3rem;
}

.rt-form-wrap .note-box p {
    width: calc(100% - 42px);
}

.rt-form-wrap .rt-mkt-email-box div, .rt-form-wrap .unsub p {
    width: calc(100% - 35px);
}

.rt-form-wrap .button-container {
    margin-bottom: 5rem;
}

.rt-form-wrap .btn {
    border-radius: 6px;
}

.rt-form-wrap .btn.btn-primary {
    width: 160px;
    outline: 0;
    background-color: #FA320A;
    font-weight: bold;
    line-height: 30px;
}

.rt-form-wrap .btn.btn-primary:hover {
    background-color: #FA320A;
}

.unsub-pixel {
    width:1px;
    height:1px;
    display:none;
}

/**PAGE ERROR MESSAGING**/
label.error {
    bottom: -19px;
    left: 202px;
}

/******RESPONSIVE******/

@media only screen and (min-width:320px) and (max-width:700px) {
    .rt-pref .main-header {
        height: 50px;
    }

    .rt-pref .brand {
        float: none;
        margin: 0 auto;
        padding: .5rem 0;
        max-width: 100%;
        width: 110px;
        max-height: 34px;
        background-image: none;
    }

    .rt-form-wrap {
        padding: 0 1.5rem;
    }

    .rt-form-wrap .email-box label {
        margin-bottom: 1rem;
    }

    .rt-form-wrap .note-box {
        margin-bottom: 1.5rem;
    }

    .rt-form-wrap .rt-mkt-email-box {
        margin-bottom: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .rt-form-wrap .unsub {
        margin-bottom: 2.5rem;
    }
    label.error {
        bottom: -29px;
        left: 0;
    }
}
