
/* #Nerd Field - generic field object
================================================== */

.nrd-field {
    box-sizing: border-box;
    overflow: hidden;
    display: block;
    width: 100%;
    max-width: 100%;
    height: 39px;
    padding: 0 0 0 10px;
    border: 1px solid #b9b9b9;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background-color: #ffffff;
    /* box-shadow: none; */
    line-height: normal;
    font-size: 15px;
    font-family: arial, helvetica, sans-serif;
}



/* #Login Modal
================================================== */

.modal .nrd-loginModal-formErrors {
    padding: 16px;
    margin-top: -30px;
    margin-bottom: 15px !important;
    background-color: #ffffe2;
    color: red;
    font-size: 15px;
    opacity: 0;
    -webkit-animation: fadeIn 150ms ease-out;
    animation: fadeIn 150ms ease-out;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.ie9 .modal .nrd-loginModal-formErrors {
    opacity: 1;
}

@-webkit-keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-adopt-pet .fancybox-skin {
    padding: 0 !important;
}

.nrd-loginModal-section_cta {
}

.nrd-loginModal-hdg {
    font-size: 28px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 39.2px;
}

.nrd-loginModal-hdg_white {
    color: #ffffff;
}

.nrd-loginModal-list {
    color: #ffffff;
}

.nrd-loginModal {
    width: 802px;
    padding: 0;
    margin: 0;
    position: relative; /* position context for children */
    background: transparent;
}

.nrd-loginModal:before {
    content: "";
    display: block;
    width: 44%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #333333 url(../img/loginModal-ctaBg.jpg) no-repeat 191% 100%;
    background-size: 378px auto;
}

.nrd-loginModal:after {
    content: " ";
    display: table;
    clear: both;
}

.nrd-loginModal-section {
    padding: 50px;
    box-sizing: border-box;
    margin: 0;
    float: left;
    width: 56%;
    position: relative; /* stacking context to set above :before */
}

.nrd-loginModal-section_cta {
    padding-bottom: 250px;
    width: 44%;
}


.nrd-loginModal-list {
    color: white;
    font-size: 15px;
    padding-left: 20px;
}

.nrd-loginModal-listItem {
    margin-bottom: 25px;
    text-indent: -10px;
}

.nrd-loginModal-listItem:before {
    content: '- ';
    width: 10px;
    display: inline-block;

}

.nrd-loginModal-submitBtnWrap {
    position: relative; /* constrains spinner graphic */
}

.nrd-loginModal-btn {
    display: inline-block;
    box-sizing: border-box;
    min-width: 90px;
    padding: 0 20px !important;
    border-radius: 5px !important;
    border: none !important;
    background: linear-gradient(#8442e9 0, #7332d6 100%) !important;
    color: #ffffff;
    font-size: 15px !important;
    font-family: Oswald, impact, arial, helvetica, sans-serif !important;
    line-height: 38px !important;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer !important;
    -webkit-appearance: none;
    -webkit-transition: padding 150ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: padding 150ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nrd-loginModal-btn.isLoading {
    padding: 0 54px 0 20px !important;
}

.nrd-loginModal-btn.isLoading ~ .nrd-loginModal-spinner {
    opacity: 1;
}


.nrd-loginModal-spinner {
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    background: url(/assets/core/media/throbbers/throbber.png);
    background-size: 24px 24px;
    position: absolute;
    left: 71px;
    top: 7px;
    -webkit-animation: spinnerspin 666ms linear infinite;
    animation: spinnerspin 666ms linear infinite;
    opacity: 0;
}

@-webkit-keyframes spinnerspin {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinnerspin {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.nrd-loginModal-txtInput {
    width: 100% !important;
}

.nrd-loginModal-loginFields {
    padding-bottom: 45px;
    margin-bottom: 50px;
    border-bottom: 1px solid #ccc;
}

.nrd-loginModal-loginFieldset.invalid label {
    color: red;
}

.nrd-loginModal-loginFieldset.invalid input {
    border-color: #ff0000;
    background-color: #ffffe2;
}

.nrd-loginModal-error {
    margin: 0 !important;
}

.modal .nrd-loginModal-formError {
    background: #ffffe2;
    color: red;
    line-height: 21px;
    font-size: 15px;
    padding: 16px;
}

.nrd-loginModal-formErrorLink,
.nrd-loginModal-formErrorLink:hover {
    color: red;
    text-decoration: underline;
}



/* #Registration Modal
================================================== */

.nrd-registrationModal {
    width: 820px;
    padding: 50px;
    box-sizing: border-box;
}

.nrd-registrationModal-hdg {
    font-size: 28px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 39.2px;
}

.modal .nrd-registrationModal-select {
    width: 120%;
    width: calc(100% + 30px);
    max-width: none;
    padding: 0 0 0 6px;
    border: none;
    background: none;
    -webkit-appearance: none;
}

.modal .nrd-registrationModal-selectWrap {
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
    height: 39px;
    padding: 0;
    border: 1px solid #b9b9b9;
    background: #ffffff url(../img/field-select-bg.png) no-repeat right top;
    background: rgba(255, 255, 255, 1) url(../img/field-select-bg_at2x.png) no-repeat right top;
    background-size: 27px 37px;
    background-color: #ffffff;
    font-size: 15px;
}

.nrd-registrationModal-fieldgroup.invalid .nrd-registrationModal-label {
    color: red;
}

.nrd-registrationModal-fieldgroup.invalid .nrd-registrationModal-input,
.nrd-registrationModal-fieldgroup.invalid .nrd-registrationModal-selectWrap {
    border-color: #ff0000;
    background-color: #ffffe2;
}

.nrd-registrationModal-input_zip {
    width: 142px !important;
}

.nrd-registrationModal-input_email {
    width: 320px !important;
}

.nrd-registrationModal-emailHelpTxt {
    font-style: italic;
    font-family: arial, helvetica, sans-serif;
    font-size: 13px;
    color: #737373;
    position: absolute;
    bottom: 0;
    width: 320px;
    text-align: right;
}

.nrd-registrationModal-emailError {
    height: 16px;
}

.nrd-registrationModal-fieldgroup_email {
    position: relative;
    height: 97px;
}

.nrd-registrationModal-btnWrap {
    position: relative; /* constrains spinner graphic */
    padding: 0 !important;
}

.nrd-registrationModal-btn {
    display: inline-block;
    box-sizing: border-box;
    min-width: 90px;
    padding: 0 20px !important;
    border-radius: 5px !important;
    border: none !important;
    background: linear-gradient(#8442e9 0, #7332d6 100%) !important;
    color: #ffffff;
    font-size: 15px !important;
    font-family: Oswald, impact, arial, helvetica, sans-serif !important;
    line-height: 38px !important;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer !important;
    -webkit-appearance: none;
    -webkit-transition: padding 150ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: padding 150ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nrd-registrationModal-btn.isLoading {
    padding: 0 54px 0 20px !important;
}

.nrd-registrationModal-btn.isLoading ~ .nrd-registrationModal-spinner {
    opacity: 1;
}

.nrd-registrationModal-spinner {
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    background: url(/assets/core/media/throbbers/throbber.png);
    background-size: 24px 24px;
    position: absolute;
    left: 84px;
    top: 7px;
    -webkit-animation: spinnerspin 666ms linear infinite;
    animation: spinnerspin 666ms linear infinite;
    opacity: 0;
}

.nrd-registrationModal-optin {
    display: table;
    width: 100%;
}

/* upping specificity against inherited modal styles */
.nrd-registrationModal-optin.nrd-registrationModal-optin.nrd-registrationModal-optin > * {
    display: table-cell;
    min-width: 18px;
}

.nrd-registrationModal-optinLabel.nrd-registrationModal-optinLabel {
    font-size: 13px;
    padding-left: 6px;
}


/* #Contact Shelter Modal
================================================== */

.nrd-shelterContactModal {
    width: 690px;
    padding: 25px;
}

.nrd-shelterContactModal-hdg {
    font-size: 28px;
    text-transform: uppercase;
    font-weight: bold;
    font-family: Oswald, impact, arial, helvetica, sans-serif;
    line-height: 1.2;
}

.nrd-shelterContactModal-btn {
    display: inline-block;
    box-sizing: border-box;
    min-width: 90px;
    padding: 0 20px !important;
    border-radius: 5px !important;
    border: none !important;
    background: linear-gradient(#8442e9 0, #7332d6 100%) !important;
    color: #ffffff;
    font-size: 15px !important;
    font-family: Oswald, impact, arial, helvetica, sans-serif !important;
    line-height: 38px !important;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer !important;
    -webkit-appearance: none;
    -webkit-transition: padding 150ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: padding 150ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nrd-shelterContactModal-helpTxt {
    font-size: 15px;
}

.nrd-shelterContactModal-inputText {
    width: 342px;
}

.nrd-shelterContactModal-inputTextarea {
    width: 100% !important;
}

.nrd-shelterContactModal-recaptcha {
    min-height: 145px;
}

.nrd-shelterContactModal-cancelBtn {
    padding: 0 20px;
}

.nrd-shelterContact-select {
    box-sizing: border-box;
    overflow: hidden;
    display: block;
    width: 100%;
    max-width: 100%;
    height: 39px;
    padding: 0 0 0 10px;
    border: 1px solid #b9b9b9;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background-color: #ffffff;
    box-shadow: none;
    line-height: normal;
    font-size: 15px;
    font-family: arial, helvetica, sans-serif;
}

.nrd-shelterContact-inputGroup.isInvalid label {
    color: #ff0000;
}

.nrd-shelterContact-inputGroup.isInvalid input,
.nrd-shelterContact-inputGroup.isInvalid textarea {
    border-color: #ff0000;
    background-color: #ffffe2;
}


/* #Hello Bar
================================================== */

.nrd-helloBar {
    position: fixed;
    z-index: 100000; /* one below max */
    width: 100%;
    padding: 0 10px;
    background-color: #8d8d8d;
    background-image:
    linear-gradient(135deg,
        #969696 0, #969696 16.666666%,
        #8d8d8d 16.666666%, #8d8d8d 50%,
        #969696 50%, #969696 66.666666%,
        #8d8d8d 66.666666%, #8d8d8d 100%);
    background-size: 6px 6px;
    color: #ffffff;
    font-size: 15px;
}

.nrd-helloBar:hover {
    color: white;
}

.nrd-helloBar-inner {
    box-sizing: border-box;
    padding: 12px 50px 12px 0;
    position: relative;
    width: 998px;
    margin: 0 auto;
}

.nrd-helloBar-inner-close {
    overflow: hidden;
    width: 44px;
    height: 44px;
    padding: 0;
    margin-top: -22px;
    border: none;
    position: absolute;
    top: 50%;
    right: 0;
    background: none;
    cursor: pointer;
    -webkit-appearance: none;
}

.nrd-helloBar-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    vertical-align: middle;
    text-indent: -9999px;
}

.nrd-helloBar-icon_closeWhite { background-image: url('../img/closeWhite.png'); }


.nrd-helloBar-icon_chevronRight {
    width: 13px;
    height: 13px;
    background-image: url('../img/chevron-right.png');
    vertical-align: baseline;
}

.nrd-helloBar-container {
    -webkit-transition: height 1000ms ease-out;
    transition: height 1000ms ease-out;
}

.nrd-helloBar-container.isActive {
    height: 55px;
}

/* #Video
================================================== */

.nrd-video {
    min-height: 500px;
    position: relative;
}

/* upping specificity */
.nrd-video-title.nrd-video-title  {
    margin-bottom: 30px
}

.nrd-video-player {
    width: 640px;
    height: 360px;
    margin-bottom: 30px;
}
.nrd-video-throbber {
    display: block;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    background: url(/assets/core/media/throbbers/throbber_blue.png);
    background-size: 24px 24px;
    position: absolute;
    left: calc(50% - 12px);
    top: calc(50% - 45px);
    -webkit-animation: spinnerspin 666ms linear infinite;
    animation: spinnerspin 666ms linear infinite;
}

.nrd-video-description {
    margin-bottom: 30px;
}


/*=================================================
*
* #Utilities
*
================================================== */

.u-vr1x { margin-bottom: 5px; }
.u-vr2x { margin-bottom: 10px; }
.u-vr3x { margin-bottom: 15px; }
.u-vr4x { margin-bottom: 20px; }
.u-vr5x { margin-bottom: 15px; }
.u-vr6x { margin-bottom: 30px; }
.u-vr7x { margin-bottom: 35px; }
.u-vr8x { margin-bottom: 40px; }
.u-vr9x { margin-bottom: 45px; }
.u-vr10x { margin-bottom: 50px; }

.u-bold { font-weight: bold !important; }

.u-textRight { text-align: right !important; }

.u-isHidden { display: none; }


/*=================================================
*
* #Style Overrides
*
================================================== */

.modal .error {
    display: none;
    margin: 0;
}

/* Killing the not working blocker overlay which overlays the page while operations are occuring. */
#blocker-overlay[style] {
    display: none !important;
}

/* Used for hiding the modal if necesarry while operations are ocurring */
.hideModal .fancybox-overlay {
    opacity: 0 !important;
    display: none !important;
}

/* overrides styles on the button in thh find pet adoption groups sidebar widget */
.find_animal_welfare_groups button[type="submit"],
.container .widget_search button[type="submit"] {
    position: relative;
}

.find_animal_welfare_groups .find,
.container .widget_search .find {
    position: absolute;
    top: 0;
    left: 0;
}

/* fixes content jitter caused by carousel */
.slide a .rsImg {
    display: block;
}

/* #Modal Generic Styling Overrides
================================================== */

.fancybox-overlay {
    z-index: 100001 !important;
}

/*
 * Fancybox has a different markup structure on mobile devices, which sets the wrap at the same level as the overlay.
 * For this reason the z-index is set higher than the overlay, using fancybox's css selector for mobile devices.
 */
.fancybox-wrap.fancybox-mobile {
    z-index: 100002 !important;
}

.fancybox-skin {
    background-color: #ffffff;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.modal h1.stripe-purple-lt {
    padding: 0;
    background: none;
}

.modal .overlay-lead {
    background-color: #ffffff;
    padding: 18px 0;
}

.modal form label {
    font-weight: normal;
    font-size: 15px;
}

.modal textarea {
    box-sizing: border-box;
    width: 100%;
}

.fancybox-close {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    vertical-align: middle;
    text-indent: -9999px;
    background: url(../img/closeDark.png);
    right: 20px;
    top: 20px;
    opacity: .4;
}

.modal-adopt-pet #login-message { display: none; }
#no-login { display: none; }


/* #Petfinder Alert
================================================== */

.pfjs-message {
    z-index: 100000;
}



.browse-pets .adoptable-pet .rescue-info {
    word-break: break-all;
}

/* Saved Search Link List
 * The saved search links of the pet search results page
================================================== */

/* removing user selection to address iOS bug with text selectino happening instead of link click */
.nrd-savedSearch-item,
.nrd-savedSearch-item-link {
    user-select: none;
}