/* trackpipe/public/css/contact.css */
#contact-page-form, #contact-page-info {
    -webkit-font-smoothing: antialiased;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.contactHeader {
    font-size: 125%;
	font-weight: bold;
}

#contactForm {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    font-size: 14px;
    padding: 24px 40px 24px 40px;
}

#contactForm dl.tableLayout {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

#contactForm dl.tableLayout .tableLayoutRow {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    width: 100%;
    margin-left: 0;
}

#contactForm dl.tableLayout .tableLayoutRow dd,
#contact-page-form #contactForm dl.tableLayout .tableLayoutRow dd {
    width: 100%;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
}

#contactForm dl.tableLayout .tableLayoutRow dd .toggleable,
#contact-page-form #contactForm dl.tableLayout .tableLayoutRow dd {
    display: flex;
    display: -webkit-flex;
}

#contactForm dl.tableLayout .tableLayoutRow dd .toggleable {
    justify-content: space-between;
    width: 100%;
}

#contactForm dl.tableLayout .tableLayoutRow dd .toggleable .toggle-edit {
    color: rgb(0,161,198);
    cursor: pointer;
    padding-left: 1%;
    align-self: center;
    font-size: 14px;
    font-weight: bold;
}

#contact-page-form #contactForm dl.tableLayout .tableLayoutRow dd {
    font-size: 12px;
    cursor: pointer;
}

#contactForm dl.tableLayout dt {
	float: none;
    clear: left;
    width: auto;
    margin: 0 0 5px;
    padding-top: 0.45em; /* imperfect baseline alignment */
    text-align: left;
    color: #333;
    line-height: 1.1em;
    font-size: 12px;
}

#contactForm dl.tableLayout dd {
    float: none;
    width: 70%; /* appears to prevent layout problems at large font sizes in FF */
    margin: 0px;
    padding: 0px 0px 10px 0px;
}

/* setting the border here is important - some browsers do funky
   things with elt padding otherwise */
#contactForm .textInput {
    width: 97%;
    border: 1px solid #ccc;
    margin: 0px;
    padding: 0.3em;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    outline: none;
}

#contactForm .textInput.no-edit {
    border: none;
    padding-left: 0;
    outline: none;
    width: 80%;
}

#contactForm .textInput:focus {
    outline: none;
}

#contactForm button {
    color: #0687f5;
    text-decoration: none;
    cursor: pointer;
    margin-right: 0.5em;
    padding: 0.25em;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 150%;
    text-align: center;
    border: 1px solid silver;
    background: white;
}

#contactForm button:hover, #contactForm button.hover {
    text-decoration: underline;
}

#contactForm button:focus {
    outline: none;
}

#contactForm button.disabled {
    background: #eee;
    color: #888;
}

#contactForm button div {
    min-width: 4em;
    white-space: nowrap;
}

#contactForm .alert {
    display: none;
    color: #c00;
    font-size: 12px;
    font-weight: bold;
    margin-top: .3rem;
    margin-bottom: 0;
    padding: 0;
}

#contactForm .alertActive {
    display: block;
}

#contactForm #contact\.banner {
    margin: 0.3rem 1.5rem 1.8rem;
    background-color: #E8A2AB;
    border: thin solid red;
    padding: 0.8rem 1rem;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #9C0000;
    font-size: 1rem;
}

#contactForm #contact\.languages {
    margin: 0;
    background-color: #fdfac7;
    padding: 0.8rem 1rem;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1rem;
}

#contactForm dl.tableLayout dd.contact-action-buttons { 
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    margin: 5% 0 0;
    width: 100%;
    align-items: center;
}


#contact-page-form #contactForm dl.tableLayout dd.contact-action-buttons { 
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    margin: 5% 5% 0 0;
    max-width: 100%;
    padding-left: 0;
    font-size: 14px;
}

/* Submit button */
#contactForm dl.tableLayout dd.contact-action-buttons button[type='submit'] { 
    width: 100%;
    border: none;
    background: rgb(0,161,198);
    font-size: 14px;
    font-weight: bold;
    color: #FFF;
    border-radius: 4px;
    padding: 5px;
    margin: 0;
    min-height: 36px;
}

#contactForm dl.tableLayout dd.contact-action-buttons button[type='submit']:hover {
    text-decoration: none;
}

/* Cancel button */
#contactForm dl.tableLayout dd.contact-action-buttons button[type='button'] { 
    border: none;
    width: 25%;
    color: rgb(0,161,198);
    font-size: 14px;
    font-weight: bold;
    padding: 5% 0 0;
    background: none;
    height: 36px;
}

/* These rules are specific to the stand-alone contact form page at /contact */

#contact-page-info {
    text-align: left;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    align-items: center;
    width: 489px;
    max-width: 500px;
    margin: 50px auto 0;
}
#contact-page-info h2 {
    text-align: left;
    margin-top: 0;
    color: #2E3332;
    font-size: 36px;
    font-weight: 400;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 30px 0 50px 0;
    width: 100%;
    font-size: 32px;
    text-align: center;
    margin: 30px 0 20px 0;
}
#contact-page-form h1{
    margin-top: 5%;
}
#contact-page-form h1 a {
    font-weight: normal;
    line-height: 2rem;
}
#contact-page-form {
    margin: 1rem auto 0;
    width: 489px;
}

#contact-page-form .contact-form-optional {
    font-size: 12px;
    margin-left: 135px;
    font-style: italic;
}

#contact-page-form #contact-form {
    margin: 0 ;
}
#contact-page-form dl.tableLayout {
    align-items: flex-start;
}
#contact-page-form dl.tableLayout dd  { 
    width: 90%;
    display: block;
    font-size: 125%;
}
#contact-page-form dl.tableLayout dt {
    width: 100%;
    text-align: left;
    margin: 0 0 5px; /* (right originally .1rem) */
    padding-right: 0;
    color: #333;
    font-size: 14px;
}

/* Contact banner tweaks */

#contact-banner {
    font-size: 14px;
    display: flex;
    display: -webkit-flex;
    line-height: 19px;
    margin-bottom: 8%;
    color: #333;
}

/* Contact banner (/contact) */
#contact-banner.page {
    margin-bottom: 4%;
    border: 1px solid #00a1c6;
    padding: 15px;
    background-color: #f5fdff;
    border-radius: 2px;
}


#contact-banner.page .contact-banner-img img {
    max-width: 52px;
    width: 52px;
}

/* If there's something to show next to the image then move it over */
#contact-banner.page .contact-banner-img + .contact-banner-message {
    margin-left: 5%;
}

#contact-banner.page .contact-banner-message {
    max-width: 85%
}

#contact-banner.page .contact-banner-message p {
    margin: 0;
}

.contact-banner-message p {
    color: #333;
}

.contact-banner-faq {
    font-size: 14px;
    width: 100%;
    color: #333;
    text-align: center;
    margin: 0 auto;
}

.vinyl-contact-banner-faq {
    width: 83%;
    line-height: 24px;
}

.contact-banner-message a, .contact-banner-faq a {
    color: rgb(0,161,198);
    font-weight: bold;
}

/* Contact form modal tweaks */

#contactForm dl.tableLayout dd #contact\.message {
    background-color: #F9F9F9;
}

/* Contact banner modal */

#contact-banner.modal {
    flex-direction: column;
    align-items: center;
    margin: 0;
}

#contact-banner.modal .contact-banner-img img {
    max-width: 52px;
    width: 52px;
}

#contact-banner.modal .contact-banner-img {
    margin-bottom: 5%;
}

#contact-banner.modal .contact-banner-message {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

#contact-banner.modal .contact-banner-message-header {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-verification {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    align-items: center;
    line-height: 19px
}

#contact-page-form .contact-verification {
    border: 1px solid #eee;
    border-radius: 3px;
    padding: 50px 80px;
}

.contact-verification h1, .contact-verification p {
    font-size: 14px;
}

.contact-verification a {
    color: rgb(0,161,198);
}

.contact-verification .contact-verification-img {
    margin: 5% 0;
}

.contact-verification .contact-verification-message {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.contact-verification .contact-verification-message h1 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.contact-dlg .hd {
    background-color: #F5F5F5;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    border: none;
    padding: 10px 45px 5px;
    border-bottom: 1px solid #ededed;
    cursor: default !important;
    border-radius: 5px 5px 0px 0px;
}

.contact-dlg .ft {
    background-color: #FFFFFF;
    border: none;
}

.contact-dlg .hd .content {
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #2E3332;
    letter-spacing: 0;
}

.contact-dlg .bd {
    background-color: #FFFFFF;
    border: none;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding: 24px 45px 0px;
}

.contact-dlg .bd.footerless {
    padding: 0px;
}

.contact-dlg .bd.footered.alertDlg {
    padding: 24px 45px 0px;
}

.contact-dlg .ft {
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding: 20px 45px 45px;
    margin-top: -1px;
    border-radius: 0px 0px 5px 5px;
}

.contact-dlg .footerless {
    border-radius: 0px 0px 5px 5px;
}

.contact-dlg .ft .button-group {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

.contact-dlg .ft .button-group button {
    border: none;
    background: rgb(0,161,198);
    font-size: 14px;
    color: #FFF;
    border-radius: 4px;
    padding: 3%;
    font-weight: bold;
    height: 36px;
}

.contact-dlg .ft .button-group .default {
    padding: 1.5%;
    width: 100%;
}

.contact-dlg .ft .button-group button:focus {
    outline: none;
}

.contact-dlg .yui-module.yui-overlay.yui-panel {
    width: 448px !important;
    border-radius: 5px 5px 0px 0px;
}

.contact-dlg .yui-panel {
    -webkit-font-smoothing: antialiased;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.contact-dlg .yui-panel .container-close {
    right: 20px;
    width: 13px;
    height: 13px;
    background: url(https://s4.bcbits.com/img/x_close_dialog.svg) no-repeat;
    margin-top: 10px;
}
.contact-dlg {
    top: 50% !important;
    left: 50% !important;
    position: fixed;
    transform: translate(-50%, -50%);
}

#contact-issue-selector {
    max-width: 408px;
    margin: 0 auto 1.3125rem;
    font-size: 14px;
    color: #333;
}

#contact-issue-selector select {
    display: block;
    width: 100%;
    border: 1px solid #ccc;
    margin: 2% 0;
    padding: 0.3em;
    color: #333;
    max-width: 408px;
}
/* trackpipe/public/css/basic.css */
/* a new version of trackpipe_basic - global styles that apply everywhere */
body {
    font: 13px/1.231 'Helvetica Neue',Helvetica,Arial,sans-serif;
    margin: 0px;
    padding: 0px;
    background-color: #fff;
}

a, .pseudoLink, button {
    color: #0687f5;
    text-decoration: none;
    cursor: pointer;
}

a:hover, .pseudoLink:hover, button:hover,
a.hover, .pseudoLink.hover, button.hover {
    text-decoration: underline;
}

#centerWrapper {
    position: static;
    margin: 0px auto;
}

#propOpenWrapper {
    background-color: white;
    position: absolute;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* vh - menubar */
    min-height: calc(100vh - 53px);
}

#pgBd {
    width: 915px;
    margin-bottom: 1.9em;
    padding: 35px 30px 45px;
    background: white;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    flex: 1;
}

li {
    margin-top: 13px;
    margin-bottom: 13px;
}

/* used to visually hide text but keep it available for screen readers */    
.hiddenAccess {
    position: absolute;
    left: -10000px;
    top: -10000px;
}


/***** shared UI elements *****/

/* spinny */

.bc-spinny {
    height: 1em;
    width: 1em;
    animation: rotate 0.8s infinite linear;
    border: 0.25em solid #000;
    opacity: .38;
    border-right-color: rgba(0,0,0,.3);
    border-radius: 50%;
    min-width: auto;
    margin: 0 auto;
}

.bc-spinny.light {
    opacity: 1;
    border: 0.25em solid rgba(255,255,255,1);
    border-right-color: rgba(255,255,255,.4);
}

@keyframes rotate {
    0%    { transform: rotate(0deg); }
    100%  { transform: rotate(360deg); }
}
