﻿:root {
    --color-blue: #1967D2;
    --color-blue-secondary: #176BFB;
    --color-red: #ED4141;
    --color-green: #3CA455;
    --color-orange: #E67337;
    --color-black: #110F24;
    --color-gray-medium: #CCCED0;
    --color-gray-light: #ECECEE;
    --color-gray-lighter: #F6F6F9;
    --color-blue-rgb: 25,103,210;
    --color-red-rgb: 237,65,65;
    --color-green-rgb: 60,164,85;
    --color-orange-rgb: 230,115,55;
    --color-white: #FFFFFF ;
}

body { font-family: 'Roboto', Arial, sans-serif; font-size: 14px; line-height: 21px; color: var(--color-black); background-color: var(--color-gray-lighter);}
h1, h2, h3, h4, h5, h6, .hero-heading { font-family: 'Roboto', Arial, sans-serif; font-weight: 700; }

h1, .hero-heading { font-size: 2.5rem; line-height: 1.4em;}
h2 { font-size: 2rem; line-height: 1.4em; }
h3 { font-size: 1.7rem; line-height: 1.4em;}
h4 { font-size: 1.25rem; line-height: 1.4em; }
h5 { font-size: 1.125rem; line-height: 1.4em; }

@media (max-width: 991.98px) {
    body { font-size: 16px; line-height: 24px; }
    h1, .hero-heading { font-size: 2rem; line-height: 1.4em;}
    h2 { font-size: 1.7rem; line-height: 1.4em; }
    h3 { font-size: 1.5rem; line-height: 1.4em;}
    h4 { font-size: 1.25rem; line-height: 1.4em; }
    h5 { font-size: 1.125rem; line-height: 1.4em; }
}

@media (min-width: 992px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container { max-width: 1120px; }
}
@media (min-width: 1200px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container { max-width: 1120px; }
}
@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container { max-width: 1120px; }
}

/* width helpers */
.w-33 { width: 33.33%; }
.w-66 { width: 66.67%; }
@media (min-width: 576px) { 
    .w-sm-100 { width: 100% !important; }
    .w-sm-75 { width: 75% !important; }
    .w-sm-50 { width: 50% !important; }
    .w-sm-25 { width: 25% !important; }
    .w-sm-auto { width: auto !important; }
    .w-sm-33 { width: 33.33% !important; }
    .w-sm-66 { width: 66.67% !important; }
}
@media (min-width: 768px) {
    .w-md-100 { width: 100% !important; }
    .w-md-75 { width: 75% !important; }
    .w-md-50 { width: 50% !important; }
    .w-md-25 { width: 25% !important; }
    .w-md-auto { width: auto !important; }
    .w-md-33 { width: 33.33% !important; }
    .w-md-66 { width: 66.67% !important; }
}
@media (min-width: 992px) {
    .w-lg-100 { width: 100% !important; }
    .w-lg-75 { width: 75% !important; }
    .w-lg-50 { width: 50% !important; }
    .w-lg-25 { width: 25% !important; }
    .w-lg-auto { width: auto !important; }
    .w-lg-33 { width: 33.33% !important; }
    .w-lg-66 { width: 66.67% !important; }
}
@media (min-width: 1200px) {
    .w-xl-100 { width: 100% !important; }
    .w-xl-75 { width: 75% !important; }
    .w-xl-50 { width: 50% !important; }
    .w-xl-25 { width: 25% !important; }
    .w-xl-auto { width: auto !important; }
    .w-xl-33 { width: 33.33% !important; }
    .w-xl-66 { width: 66.67% !important; }
}

a { color: var(--color-blue); }
a:link, a:visited { text-decoration: none; }
a:hover, a:active { text-decoration: underline; }

/* Validation helpers */
.field-validation-error { color: #ff0000;  text-align: left;}
.field-validation-valid { display: none; }
.validation-summary-errors { color: #ff0000; text-align: left; }
.validation-summary-valid { display: none; }

/* Top Nav Bar */
.navbar { background-color: var(--color-white); }
.navbar .nav-item a { text-decoration: none; }
.navbar a.h1 { color: var(--color-blue); text-decoration: none; }
.navbar .navbar-brand { white-space: normal; line-height: 1.5em; position: relative; }
.navbar .slogan { font-size:1rem; color:var(--color-black); position: absolute; left: 5rem; top: 2.9rem; white-space: nowrap;}
@media (max-width: 575.98px) {
    .navbar .logo { width: 250px; height: auto;}
    .navbar .slogan { left: 4.5rem; top: 2.7rem; }
}
@media (min-width: 992px) {
    .navbar { height: 5rem }
    .navbar .nav-item .dropdown-menu{ display: none; }
    .navbar .nav-item:hover .dropdown-menu{ display: block; }
    .navbar .nav-item .dropdown-menu{ margin-top:0; }
}

/* Footer */
.footer-container { /*background-color: #fff; font-size:0.9em; */ line-height: 2em; margin-bottom: 8rem; }

/* Green check list */
.green-check-list { list-style-type: none; }
.green-check-list li { padding: 0.25em 0.25em 0.25em 2rem; background-image: url('/Content/Images/v3/icon_greencheck.svg'); background-position: left center; background-repeat: no-repeat; font-weight: 500}

/* Buttons */
input.primary-btn { padding: 0.75em 1.5em; border: 0; background-color: var(--color-blue); color: #FFF; border-radius: 0.375rem; box-sizing:content-box; font-size:1rem; cursor: pointer; font-weight: 500; }
input.primary-btn:hover { background-color: var(--color-blue-secondary); }

input.primary-btn-sm { padding: 0.5em 1.5em; border: 0; background-color: var(--color-blue); color: #FFF; border-radius: 0.375rem; box-sizing:content-box; font-size:1rem; cursor: pointer; font-weight: 500; }
input.primary-btn-sm:hover { background-color: var(--color-blue-secondary); }

/* Scroll to Top */
#btnToTop {display: none; width: auto; position: fixed; bottom: 1.5rem; right: 2rem; background-color: #ddd; opacity: 0.5; border-radius: 0.25rem; width: 2.5rem; height: 2.5rem; background-image: url(/Content/Images/Icons/icon_top_dark.png); background-position: center center; background-repeat: no-repeat; background-size: 1.25rem 1.25rem;}

/* My Account */
#accountNav { line-height: 200%;}
#accountNav a { display: inline-block; padding: 0 1em 0 0; }
#btnPurchaseCreditPaypal { width: 108px; height: 47px; border: 0px; background-color:White; background-image: url(/content/images/paypal_button.gif); }

/* Green check list */
.green-check-list { list-style-type: none; }
.green-check-list li { padding: 0.25em 0.25em 0.25em 2rem; background-image: url('/Content/Images/v3/icon_greencheck.svg'); background-position: left center; background-repeat: no-repeat; font-weight: 500}


/* Common pages */
.section-page { background-color: var(--color-gray-lighter); }
.section-page .page-content { border-radius: 1.75rem; background: #FFF; box-shadow: 0px 12px 28px -2px rgba(0, 0, 0, 0.10); }

/* Fax forms */
.partnerHeading { font-size: 1.7rem; color: var(--color-blue); }
.partnerHeading .orange { color: var(--color-orange); }
.section-form { background-color: var(--color-gray-lighter); }
.section-form .form-content { position: relative; padding: 1rem; margin-bottom: 1.5rem; border-radius: 1.25rem; background: #FFF; box-shadow: 0px 12px 28px -2px rgba(0, 0, 0, 0.15); }
.section-form .form-content h1, .section-form .form-content h2, .section-form .form-content h3 { font-size: 1.1rem; color: var(--color-blue);}
.section-form #senderContainer table td, .section-form #receiverContainer table td { padding: 0.125rem 0.25rem 0.125rem 0; vertical-align: text-top; }
.section-form .form-control-inline { border: 1px solid #ced4da; border-radius: 0.25rem; }
.section-form input[type=file] { border-color: #fff; }
.section-form input[type="button"], .section-form input[type="submit"] { border-radius: 0.3rem; padding: 0.25rem 0.5rem; background: linear-gradient(#F9F9F9, #E3E3E3); border: 1px solid #BBBBBB; cursor: pointer; color: var(--color-black)}
.section-form input[type="button"]:hover, .section-form input[type="submit"]:hover { border: 1px solid #666666; }
.section-form input[type=text], .section-form input[type=password] { padding: 0.125rem 0.25rem; margin-bottom: 0.125rem; }
.section-form textarea#faxText { width: 100%; height: 100%; min-height: 150px; padding: 0.125rem 0.25rem; }
.form-content .watermark { position: absolute; top: 0; right: 0; transform: translate(-0.5rem, 0.5rem) rotate(90deg) translate(100%, 0); transform-origin: top right; background-repeat: no-repeat; height: 24px; width: 180px; }
.form-content .watermark-sender { background-image:url('/Content/Images/v3/bg_text_sender.svg'); }
.form-content .watermark-receiver { background-image:url('/Content/Images/v3/bg_text_receiver.svg'); }
.form-content .watermark-import { background-image:url('/Content/Images/v3/bg_text_import.svg'); }
.form-content .watermark-receiver-list { background-image:url('/Content/Images/v3/bg_text_receiver_list.svg'); width: 230px; }
.form-content .watermark-content { background-image:url('/Content/Images/v3/bg_text_content.svg'); }
.form-content .watermark-free { background-image:url('/Content/Images/v3/bg_text_free.svg'); }
.form-content .watermark-premium { background-image:url('/Content/Images/v3/bg_text_premium.svg'); }
.form-content .watermark-prepaid { background-image:url('/Content/Images/v3/bg_text_prepaid.svg'); }
.form-content .watermark-receive { background-image:url('/Content/Images/v3/bg_text_receive.svg'); }
.form-content .watermark-resume { background-image:url('/Content/Images/v3/bg_text_resume.svg'); }
.form-content .watermark-message { background-image:url('/Content/Images/v3/bg_text_message.svg'); }
.form-content .watermark-format { background-image:url('/Content/Images/v3/bg_text_format.svg'); }
.form-content .watermark-template { background-image:url('/Content/Images/v3/bg_text_template.svg'); }
.form-content .containerHeading a { text-decoration: none;}
@media (max-width: 991.98px) {
    .section-form input[type="button"], .section-form input[type="submit"] { padding: 0.5rem 0.5rem; }
    .section-form input[type=text], .section-form input[type=password] {  padding: 0.25rem 0.5rem; margin-bottom: 0.25rem; }
}
@media (min-width: 992px) {
    #prepaidFaxAccountInner { border: 1px solid var(--color-gray-medium); border-radius: 0.75rem; background-color: var(--color-gray-lighter); padding: 0.5rem 1rem; position: relative; top: -0.5rem; }
}
.addressButton { border-radius: 0.3rem; padding: 0.25rem 1em; background: linear-gradient(#F9F9F9, #E3E3E3); border: 1px solid #BBBBBB; cursor: pointer; width: 100%; }
.addressLines { align-self: flex-end; width: 100%; }
.form-content #receiverListTbl td { padding: 0.25rem 0.5rem; }
.form-content #receiverListTbl input { border: 0; padding: 0; margin: 0; width: 100%; }

/* Fax Cover Sheet */
.coverSheetMessage .form-content { height: 15rem; }
.coverSheetDownload .form-content { height: 15rem; }
.coverSheetDownload ul { list-style-type: none; padding-left: 0.25rem !important; line-height: 1.8rem; }
#coverSheetTemplate .scrolling-wrapper { position: relative; overflow: hidden; white-space: nowrap; }
#coverSheetTemplate .template-container { display: flex; overflow-x: auto; scroll-behavior: smooth; text-align: center; -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */}
#coverSheetTemplate .template-container::-webkit-scrollbar { display: none; /* WebKit browsers */ }
#coverSheetTemplate .template-image { flex: 0 0 auto; width: 200px; margin-right: 10px; cursor: pointer; }
#coverSheetTemplate .scroll-arrow { position: absolute; top: 50%; transform: translateY(-50%) scaleY(2); cursor: pointer; z-index: 10; background-color: #fff; border: none; font-size: 2rem; color:var(--color-gray-medium)}
#coverSheetTemplate .scroll-arrow:hover, #coverSheetTemplate .scroll-arrow:active { background-color: var(--color-gray-light); }
#coverSheetTemplate .left-arrow { left: 1rem; }
#coverSheetTemplate .right-arrow { right: 1rem; }
#coverSheetTemplate .template-image img { width: 100%; height: auto;  border: 3px solid var(--color-gray-light); }
#coverSheetTemplate .template-image img.selected { border: 3px solid var(--color-blue); }
input#btnCoverSheet { background: none; background-color: var(--color-blue); color: #FFF; font-weight: 500; border: 0; }
input#btnCoverSheet:hover { background-color: var(--color-blue-secondary); }

.incoming-fax-number {display: inline; color: var(--color-blue);}
.incoming-number { font-weight: 700; font-size: 2rem; }
.incoming-number input {display:inline-block; width: 1.3rem; border-top: 0; border-left: 0; border-right:0; margin-right:5px; outline: none; }
.incoming-number input.no-border {border: 0; width: 1.3rem;}
.incoming-fax .fax-image img { height:250px; border: 3px solid var(--color-gray-medium); }

/* AI Write */
#contentAiWrite a { text-decoration: none; color: var(--color-blue); font-weight: 500; }
#contentAiWrite a:hover { text-decoration: underline; }
#aiWriteModal .modal-body textarea { font-size: 0.9rem; }
#aiWriteModal .btn-primary { background-color: var(--color-blue); border-color: var(--color-blue); }
#aiWriteModal .btn-primary:hover { background-color: var(--color-blue-secondary); border-color: var(--color-blue-secondary); }
#aiWriteModal .btn-primary:disabled { opacity: 0.7; }

/* Optimizing image indicator (client-side JPEG compression) */
.optimizing-indicator { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--color-blue); font-size: 0.9rem; margin-right: 0.5rem; }
.optimizing-indicator .spinner-border { width: 0.9rem; height: 0.9rem; border-width: 0.15em; color: var(--color-blue); }