﻿body {
    font-family: 'Myriad Pro', Arial, sans-serif;
}

@font-face {
    font-family: 'Vivaldi Italic';
    src: url('css/VIVALDII.TTF');
}

@font-face {
    font-family: 'Sofia';
    font-style: normal;
    font-weight: 400;
    src: local('Sofia'), local('Sofia-Regular'), url(https://fonts.gstatic.com/s/sofia/v6/8QIHdirahM3j_su5uIs.woff) format('woff');
}

:root {
    --sidebordercolor: #ffffff;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

h1, h2, h3, div, table, span, p {
    font-family: 'Myriad Pro', Arial, sans-serif;
}

    h3 a {
        color: #003366 !important;
    }

        h3 a:link {
            color: #003366 !important;
        }

        h3 a:visited {
            color: #003366 !important;
        }

div, table, td {
    box-sizing: border-box;
}

a {
    /*text-decoration: none;*/
    font-family: 'Myriad Pro', Arial, sans-serif;
}

    a:hover {
        text-decoration: underline;
    }

    a:visited {
    }

    a.HeaderLink {
        background-color: #ece8df;
        color: black;
        font-family: 'Myriad Pro', Arial, sans-serif;
    }


    a.crumbLink:link {
        color: blue;
        background-color: white;
    }

    a.crumbLink:visited {
        color: blue;
        background-color: white;
    }


    a.crumbLink:Hover {
        color: purple;
        background-color: white;
    }

    a.crumbLink:active {
        color: blue;
        background-color: white;
    }



.outsideSection {
    width: 0%;
}

table, td, div {
    box-sizing: border-box;
}

.HomeHeaderText {
    /*text-shadow:   1px 0px #555, 0px 1px #0083c4,
               2px 1px #555, 1px 2px #0083c4,
               3px 2px #555, 2px 3px #0083c4,
               4px 3px #555, 3px 4px #0083c4,
               5px 4px #555, 4px 5px #0083c4,
               6px 5px #555, 5px 6px #0083c4,
               7px 6px #555, 6px 7px #0083c4,
               8px 7px #555, 7px 8px #0083c4,
               5px 5px #555;*/
}

.contentSection {
    width: 100%;
    vertical-align: top;
    min-height: 500px;
}

footer {
    background-color: #7d1a1a;
}

.FooterLink {
    color: white !important;
    /*text-decoration: none;*/
    padding: 5px 10px;
    font-size: 1.2em;
    display: inline-block !important;
}

/*.FooterLink:hover {
        text-decoration: underline;
    }*/

.FooterContactList {
    list-style-image: url('Images/FooterBullet.jpg');
}

.FooterContactLink {
    font-size: 1.2em;
    color: white !important;
    text-decoration: none;
    padding-left: 8px;
    line-height: 1.6em;
}

.rrButton {
    display: none !important;
}

.ServiceLink {
    color: #A12121;
    /*text-decoration: none;*/
    font-size: 1.2em;
}

    .ServiceLink:visited, .ServiceLink:link {
        color: #A12121;
    }

/*.ServiceLink:hover {
        text-decoration: underline;
    }*/

.CalculatorLink {
    font-size: 1.4em;
    font-weight: bold;
    background-color: #f6f4f5;
    color: black;
}

    .CalculatorLink:hover {
        background-color: #f6f4f5;
        color: black;
    }

.RoundedButtonLink {
    text-align: center;
    max-width: 300px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 40px;
    padding-right: 40px;
    font-size: 1.2em;
    width: 100%;
    color: white !important;
    background-color: #3E5489 !important;
}

.RoundedButtonLink2 {
    text-align: center;
    max-width: 300px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 40px;
    padding-right: 40px;
    font-size: 1.2em;
    width: 100%;
    color: white !important;
    background-color: #003366 !important;
}

.SideMenuLocationSmall {
    font-size: 1.2em;
    line-height: 1.6em;
    color: black;
    padding: 10px 10px 0px 10px;
    box-sizing: border-box;
    width: 100%;
    background-color: #fff;
    border-bottom: #106ebe 0px solid;
}

.LightArrow {
    display: initial;
    /*width: 25px;*/
}

.DarkArrow {
    display: none;
    /*width: 25px;*/
}

.SideMenuLocationSmall:hover {
    /*background-color:#4f6cb0;*/
    cursor: pointer;
}

/*  .SideMenuLocationSmall:hover b {
        text-decoration: underline;
    }*/

.SideMenuLocationSmall b {
    font-size: 1.4em;
    line-height: 1.8em;
    color: #003366;
}

.SideMenuLocation b {
    font-size: 1.4em;
    line-height: 1.8em;
    color: #003366;
}



.SideMenuLocationSmall:hover .LightArrow {
    display: none;
}

.SideMenuLocationSmall:hover .DarkArrow {
    display: initial;
}

.RadTabStrip_Sunset .rtsLevel1 .rtsSelected .rtsLink {
    background-color: #003366 !important;
    color: white !important;
    font-weight: initial;
}

.RadTabStrip_Sunset .rtsLevel1 .rtsHovered .rtsLink {
    background-color: #106ebe !important;
    background-image: none !important;
    color: white !important;
}

.SideMenuLocation {
    font-size: 1.2em;
    line-height: 22px;
    color: black;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    background-color: #fff;
}

.SideBorder {
    background-color: var(--sidebordercolor);
    color: black;
    line-height: 22px;
}

.MainContent {
    font-size: 1.2em;
    line-height: 1.5em;
}

    .MainContent h1 {
        line-height: 1.7em;
        color: #003366;
    }

    .MainContent a {
        color: #0054A8;
    }

        .MainContent a:hover {
            text-decoration: underline;
        }

a.DirectionsLink:link {
    color: #0057AD !important;
    text-decoration: none;
    text-transform: capitalize !important;
    font-size: 1.2em;
    background-color: white;
}

a.DirectionsLink:visited {
    color: #0057AD !important;
    background-color: white;
}

a.DirectionsLink:hover {
    text-decoration: underline;
}

.rrItemsList {
    width: 100% !important;
}

.itemTemplate a img {
    width: 100% !important;
}


.RateTable table, .RateTable td, .RateTable th {
    border: 1px solid black;
    border-collapse: collapse;
}

.RateTable td, .RateTable th {
    margin: 0px !important;
    padding: 5px !important;
}

.RateTable th {
    background-color: #3d5387;
    color: white;
}

.ProductRateTable table, .ProductRateTable td, .ProductRateTable th {
    border: 1px solid black;
    border-collapse: collapse;
    margin: 0px !important;
    padding: 5px !important;
}

.ProductRateTable th {
    background-color: #3d5387;
    color: white;
}

.RateTable td:nth-of-type(1) {
    text-align: left;
}

.ProductRateTable td:nth-of-type(1) {
    text-align: left;
}

.PhoneLoginTable td {
    display: block;
    width: 100%;
}

.HeaderLinkTable td {
    display: table-cell !important;
    width: auto !important;
}

.MobilePhoneLink {
    display: none !important;
}

.TableLabel {
    display: none !important;
}

@media (max-width: 980px) {
    .sideMenuColumn {
        display: block !important;
        width: 100% !important;
    }

    .ThanksgivingThankYou {
        font-size: 1.5em !important;
        line-height: 1.2em !important;
    }

    .MargaretvilleAnniversary {
        background-position-x: 60%;
        min-height: 500px !important;
        background-image: url('Images/Margaretville20AnniversaryBannerBG.jpg');
        background-size: cover;
        background-repeat: no-repeat;
    }

    .MargaretvilleAnniversaryText {
        color: white !important;
        text-shadow: 2px 2px 2px black;
        font-size: 1em !important;
        line-height: 1.2em !important;
        font-weight: bold !important;
    }

    .MargaretvilleAnniversaryTextAddress {
        text-shadow: 2px 2px 2px white;
    }

    .SchoolBanner {
        background-color: rgba(255,255,255,0.4);
        font-size: .9em !important;
        line-height: 1em !important;
    }

    .XmasBanner {
        background-color: rgba(0,0,0,0.2);
        font-size: .9em !important;
        line-height: 1em !important;
        padding: 30px !important;
        text-align: center !important;
        width: 100% !important;
        float: none !important;
        box-sizing: border-box !important;
    }

    XmasDesktopBreak {
        display: none;
    }


    .NotifiBG {
        background-image: url('images/DNBDNotifiBGMobile.jpg') !important;
    }

    .NotifiTitle {
        font-size: 1.7em !important;
    }

    .NotifiBlue {
        font-size: 1.2em !important;
        padding-left: 15px !important;
        text-shadow: 1px 1px white;
    }

    .NotifiRight {
        padding-left: 5px !important;
        padding-top: 50px !important;
    }

    .NotifiStore {
        display: block !important;
        width: 100% !important;
    }

    .NotifiLegal {
        font-size: .6em !important;
    }

    .MobilePhoneLink {
        display: inline-block !important;
        float: right !important;
        color: white !important;
        width: 50% !important;
        text-align: right !important;
        padding-right: 10px !important;
        position: fixed !important;
        top: 8px !important;
        right: 10px !important;
        height: 30px !important;
        z-index: 100 !important;
        font-size: 1.6em !important;
    }

    .VideoWrapper a img {
        width: 90% !important;
    }

    .WrapTable td {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        float: none !important;
    }

    .NoWrap td {
        display: table-cell !important;
        width: initial !important;
    }

    .WrapTable td.CenterText {
        text-align: center !important;
    }

    .WrapTable td.Half {
        width: 50% !important;
    }

    .ShrinkPaddingLeft {
        padding-left: 0px !important;
    }

    .PadTableMobile {
        padding: 12px !important;
    }

    .BankName {
        font-size: 1.7em !important;
    }

    .VeteranBG {
        background-position-x: 30%;
    }

    /*Rate Table*/
    .RateTable table, .RateTable thead, .RateTable tbody, .RateTable th, .RateTable td, .RateTable tr {
        display: block;
    }

    .RateTable th {
        display: none !important;
    }

    .RateTable thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .RateTable td {
        border: none;
        position: relative;
        text-align: right !important;
        width: 100% !important;
        min-height: 40px !important;
        /*border-right:1px solid black;*/
    }

        .RateTable td:before {
            box-sizing: border-box;
            position: absolute;
            top: 0px;
            left: 0px;
            padding: 5px;
            width: 75% !important;
            min-height: auto !important;
            padding-right: 10px;
            text-align: left !important;
            font-weight: bold !important;
            /*border-left:1px solid black;*/
            line-height: 1.1em !important;
            color: #003366 !important;
        }
        /*.RateTable td:nth-of-type(1):before { content: "Product Name";}
        .RateTable td:nth-of-type(2):before { content: "Code";}
        .RateTable td:nth-of-type(3):before { content: "Min Opening Deposit";}
        .RateTable td:nth-of-type(4):before { content: "Min Balance to Obtain Annual Percentage Yield";}
        .RateTable td:nth-of-type(5):before { content: "Interest Rate";}
        .RateTable td:nth-of-type(6):before { content: "APY (%)";}*/
        /*.RateTable td:nth-of-type(1) {
            border-top:1px solid black;
        }*/
        .RateTable td:nth-of-type(6) {
            border-bottom: 1px solid black;
        }

    .RateTable .TableLabel {
        float: left !important;
    }

    /*ProductRate Table*/
    .ProductRateTable table, .ProductRateTable thead, .ProductRateTable tbody, .ProductRateTable th, .ProductRateTable td, .ProductRateTable tr {
        display: block;
    }

    .ProductRateTable th {
        display: none !important;
    }

    .ProductRateTable thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .ProductRateTable td {
        border: none;
        position: relative;
        text-align: right !important;
        width: 100% !important;
        min-height: 40px !important;
        /*border-right:1px solid black;*/
    }

        .ProductRateTable td:before {
            box-sizing: border-box;
            position: absolute;
            top: 0px;
            left: 0px;
            padding: 5px;
            width: 45% !important;
            min-height: 40px !important;
            padding-right: 10px;
            text-align: left !important;
            font-weight: bold !important;
            /*border-left:1px solid black;*/
            line-height: 1.1em !important;
            color: #003366 !important;
        }
        /*.ProductRateTable td:nth-of-type(1):before { content: "Loan Type";}
        .ProductRateTable td:nth-of-type(2):before { content: "Term";}
        .ProductRateTable td:nth-of-type(3):before { content: "APR (%)";}
        .ProductRateTable td:nth-of-type(4):before { content: "Estimated Monthly Payment";}*/
        /*.ProductRateTable td:nth-of-type(1) {
            border-top:1px solid black;
        }*/
        .ProductRateTable td:nth-of-type(4) {
            border-bottom: 1px solid black;
        }

    .ProductRateTable .TableLabel {
        float: left !important;
    }

    .BankName {
        text-align: center !important;
    }

    .MobileHide {
        display: none !important;
    }

    .HomeCalculatorDiv {
        margin-left: 1% !important;
        width: 95% !important;
    }

    .GalleryTable td {
        border-right: none !important;
        border-bottom: none !important;
        text-align: center !important;
    }

    .ProductHomeList td {
        text-align: center !important;
    }

    h1 {
        font-size: 1.2em !important;
        line-height: 1.3em !important;
    }

    .PrivacyPolicyTable th:not(:first-child) {
        display: none !important;
    }

    .PrivacyPolicyTable td:first-child {
        border-top: 3px solid #003366 !important;
    }

        .PrivacyPolicyTable td:first-child strong {
            color: #003366 !important;
        }
    /*.PrivacyPolicyTable td:nth-child(2):before {
        content:'Does The Delaware National Bank of Delhi share? ';
        font-weight:500;
    }
    .PrivacyPolicyTable td:last-child:before {
        content:'Can you limit sharing? ';
        font-weight:500;
    }*/
    .PrivacyPolicyTable td {
        width: 100% !important;
        display: block !important;
        padding: 5px !important;
        margin: 0px !important;
    }

    .WrapTable td.NotifiHide {
        display: none !important;
    }

    .NotifiHide {
        display: none !important;
    }

    .TrustText {
        font-size: 2em !important;
    }

    .TableLabel {
        display: inline !important;
        font-weight: bold;
    }

    .TextShrinkLarge {
        font-size: 1.6em !important;
        line-height: 35px !important;
    }

    .TextShrinkMedium {
        font-size: 1.06em !important;
        line-height: 20px !important;
    }

    .TextShrinkSmall {
        font-size: .9em !important;
        line-height: 18px !important;
    }

    .TextShrinkXSmall {
        font-size: .8em !important;
        line-height: 16px !important;
    }

    .MobileText20 {
        font-size: 1.25em !important;
        line-height: 22px !important;
    }

    .MobileText21 {
        font-size: 1.7em !important;
    }

    .AppBannerRemovePadding {
        padding-right: 5px !important;
    }

    .VetImage img {
        max-height: 250px !important;
        width: auto !important;
        justify-content: center;
    }

    .WrapTable td.VetImage {
        text-align: center !important;
    }
}

@media (max-width:1150px) {
    .RoundedButtonLink {
        height: auto !important;
        text-align: center !important;
        display: inline-block !important;
    }
}


@media (max-width:1075px) {
    .HeaderMenu td {
        display: block;
        width: 100% !important;
    }


    .IconLinkTable td {
        display: table-cell !important;
        width: 15% !important;
    }

    .IconLinkTable td {
        padding: 5px 10px !important;
        text-align: center !important;
    }

    .BankName {
        font-size: 1.3em !important;
    }

    .PhoneLoginTable {
        float: none;
        width: 100%;
        padding-left: 10% !important;
    }

        .PhoneLoginTable td {
            display: inline-block !important;
            width: 50% !important;
        }

    .HeaderLinkTable td:first-child {
        width: 25px !important;
    }

    .HeaderLinkTable td:not(:first-child) {
        width: 80% !important;
    }

    .PhoneLoginTable td.HeaderPhone {
        display: none !important;
        width: 0px !important;
    }
}

.MobileBannerOnly {
    display: none;
}


.EmploymentBannerTitle {
    font-family: Roboto;
    font-style: normal;
    font-weight: bold;
    font-size: 3em;
    line-height: 1.2em;
    color: #7D1A1A;
    margin-block-start: 0px !important;
    margin: 0px !important;
}


.EmploymentBannerText {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 2.25em;
    line-height: 1.3em;
    color: #000000;
}

.EmploymentBannerButton {
    background: #7D1A1A;
    border-radius: 21px;
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 2.25em;
    line-height: 1.25em;
    color: #FFFFFF;
    padding: 10px 30px;
}

.BannerTitleNew {
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
}

.TextContainer ul {
    padding: 0px;
    margin: 0px;
}

    .TextContainer ul li {
        padding: 0px;
        margin: 0px 0px 0px 1.8rem;
    }

.BannerIcon {
    width:50px;
}

.BannerListTitle {
    font-size:20px;
    font-weight:bold;
}

.BannerListText {
    font-size:17px;
}

@media(max-width:1100px) {
    .BannerFontAdjustSmall {
        font-size: 1em !important;
        line-height: 1.3em !important;
    }
}

@media (max-width:875px) {
    .BankName {
        width: 90% !important;
    }

    .LogoMainTD {
        width: 100% !important;
    }

    .IconLinkTable, .PhoneLoginTable {
        display: none !important;
    }

    .MobileBannerOnly {
        display: block !important;
    }

    .DesktopBannerOnly {
        display: none !important;
    }

    .EmploymentBannerTitle {
        font-size: 2.25em;
        line-height: 1.3em;
    }

    .BannerTitleNew {
        font-size: 1.5em !important;
        line-height: 1.3em !important;
        margin-block-start: 0px !important;
        margin-block-end: 0px !important;
    }

    .BannerExpandFull {
        width: 100% !important;
    }

    .bannershrinkpadwrapper {
        padding: 20px 3% 10px 3% !important;
    }

    .EmploymentBannerText {
        font-size: 1.625em;
        line-height: 1.25em;
    }

    .EmploymentBannerButton {
        font-size: 1.375em;
        line-height: 1.25em;
    }

    .TechScam {
        font-size: 1em !important;
        line-height: 1em !important;
        background-color: rgba(255,255,255,0.7);
    }

    .MobileSetMarginsFull {
        margin: 20px !important;
    }

    .TextContainer p {
        font-size: 14px;
    }

    .TextContainer p {
        padding: 0px;
        margin: 0.8rem 0px;
    }

    .BannerIcon {
        width: 35px;
    }

    .BannerListTitle {
        font-size: 15px;
        font-weight: bold;
    }

    .BannerListText {
        font-size: 12px;
    }

    .FullWidthMobile {
        width:100% !important;
        padding:15px !important;
    }
    .MobileToTwo {
        width:50% !important;
    }

    .MailTheftImage {
        max-width:60px !important;
    }

}


@media (max-width:300px) {

    .WrapSmall td {
        display: block !important;
        width: 100% !important;
    }
}

@media (max-width:1170px) {
    .WellScale {
        font-size: 1.5em !important;
    }
}

@media (max-width:1035px) {
    .TextShrinkMedium {
        font-size: 1.125em !important;
    }
}

@media (max-width:490px) {

    .MobileText21 {
        font-size: 1.3rem !important;
    }

    .warningImg {
        height: 40px !important;
    }

    .TextContainer p {
        font-size: 15px;
    }

    .MobilePaddingSetTo10 {
        padding: 10px !important;
    }


    .Rotatorcta {
        padding: 0.5rem 1.2rem !important;
    }
}

@media (max-width:300px) {

    .MobileText21 {
        font-size: 0.9rem !important;
    }

    .warningImg {
        height: 30px !important;
    }

    .imgAndTex {
        align-items: center;
    }
}
