﻿body.modal-open #viewport {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}

.error {
    border-color: #a94442;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

fieldset label > input {
    vertical-align: bottom;
}

fieldset .cal {
    width: 240px;
}

fieldset .cal input.fake-input {
    width: 62px;
    height: 36px;
    line-height: 34px;
    text-align: center;
    float: left;
    margin-right: 1px;
    margin-top: 3px;
    padding: 0;
}

input[type="checkbox"].subscription-checkbox-input {
    margin: 12px 0;
}

.row.row--clear {
    margin: 0;
}

.row.row--contain,
.inner-box.inner-box--contain {
    position: relative;
    min-height: 239px;
}

.profile-popup .sraccordion .row-contents .inner-box.inner-box--contain {
    padding: 7px;
}

.select-box-wrapper {
    margin: 60px 7px 7px;
}

.interest-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.col--vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.col--action-details {
    font-size: 14px;
    text-transform: uppercase;
}

.row--clear-whitespace {
    font-size: 0;
}

.profile-section svg {
    vertical-align: middle;
    fill: currentColor;
    max-height: 3em;
}

.modal {
    overflow-y: auto;
}

.modal.modal--high-priority {
    z-index: 1070;
    background:rgba(0,0,0,0.7);
}

.modal-dialog.modal-dialog--small {
    max-width: 300px;
}

.profile-sidebar.profile-sidebar--full {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
}

.profile-popup .profile-sidebar .profile-complete.profile-complete--full {
    margin-top: 0;
}

.text-xs-break,
h2.text-xs-break {
    margin-top: 0;
    white-space: initial;
}

.text-xs-shrink > * {
    font-size: 11px;
}

.js-selected-interest-list fieldset .remove.x {
    padding: 0;
}

.profile-popup input, 
.profile-popup select, 
.profile-popup textarea {
    font-size: 16px;
}

.profile-popup .manage-interests-container fieldset {
    margin-left: 0;
}

.modal.modal--absolute {
    position: absolute;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-dialog.modal-dialog--slim {
    max-width: 600px;
}

@media only screen and (min-width : 350px) {
    .text-xs-break,
    h2.text-xs-break {
        margin-top: 10px;
        white-space: nowrap;
    }
}

@media only screen and (min-width : 750px) {
    fieldset .cal {
        width: 170px;
    }
    fieldset .cal input.fake-input {
        width: 37px;
        height: 36px;
    }

    .profile-sidebar.profile-sidebar--full {
        padding: 9px;
    }

    .profile-popup .profile-sidebar .profile-complete.profile-complete--full {
        margin-top: 15px;
    }

    .text-xs-shrink > * {
        font-size: 14px;
    }

    .profile-popup .manage-interests-container fieldset {
        margin-left: 5px;
    }
}

@media only screen and (min-width : 992px) {
    .text-right-sm {
        text-align: initial;
    }
    .text-right-sm.text-center {
        text-align: center;
    }

    .profile-popup .sraccordion .row-contents .inner-box.inner-box--contain {
        padding: 0px;
    }

    .full-height {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
    }

    .myInterests .add-interests-container fieldset.full-height {
        margin-right: 0;
    }

    .full-height.full-height--clear {
        margin: 0;
        height: 100%;
    }

    .add-interests-container {
        padding-top: 7px;
        padding-bottom: 7px;
        padding-left: 16px; /*compensate for row -9px*/
        padding-right: 7px;
    }

    .profile-popup input, 
    .profile-popup select, 
    .profile-popup textarea {
        font-size: 14px;
    }

    .profile-popup .manage-interests-container fieldset {
        margin-left: 0;
    }
}