/*
 Theme Name:   Orange Bank & Trust
 Description:  Orange Bank & Trust Remastered design for Wordpress.
 Author:       United Virtualities
 Version:      1.0
 Text Domain:  obt
*/

@import "css/obt-default.css";

.video__modal-wrapper {
    position: relative;
    z-index:9999999999;
}
.menu-menu-top-container .menu > .menu-item-type-custom:last-child {
    position: relative;
}
.widget-content-top .menu {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    list-style: none;
    gap: 10px;
}
.widget-content-top .menu >li:not(:last-child) > a {
    border: none;
    margin: 0;
    color: white;
    background-color: #C2521E;
    border-radius: 30px;
    padding: 9px 1rem;
}

.widget-content-top .menu >li:not(:last-child) > a:hover {
    background-color: #74777b;
}
.menu-menu-top-container .menu > .menu-item-type-custom:last-child {
    padding: 6px 1.5rem;
    border-radius: 30px;
}
.menu-menu-top-container .menu .sub-menu {
    margin-left: -1.5rem;
    margin-right: 0;
    background: #C2521E;
}
.menu-menu-top-container .menu > .menu-item-type-custom:last-child a {
    position: relative;
    z-index: 10;
}
.menu-menu-top-container .menu > .menu-item-type-custom:last-child:hover .sub-menu {
    display: block;
    top: 100%;
    margin-top: -15px;
    padding-top: 15px;
    z-index: 5;
}
.menu-menu-top-container .menu > .menu-item-type-custom:last-child .sub-menu a:hover {
    background: #fcc458;
}
footer .menu-secondary-menu-container .menu {
    background-color: white;
    color: #74777b;
}
footer a {
    color: #74777b;
}
.contact-info__contact p {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
    font-size: 1rem;
    display: block;
    text-align: right;
    margin: 0 0 5px 0;
}
.contact-info__contact p.visuallyhidden {
    opacity: 0.01;
    width: 1px;
    height: 1px;
    position: absolute;
}


main .text-block ul li.download-listing__item {
    margin-bottom: 0;
}

.text-block table td, .text-block table th {
 border: 1px solid #dee2e6;
 padding: 5px 10px;
}
.main-content-wrapper h1, .page-template-default .components h1 {
    font-size: 1rem;
}
.page-template-default .components h1 {
font-weight: 600;
}

.sidebar-owm .pages-menu__item-link,
.main-content-wrapper.priv-page .sidebar-priv ul,
.main-content-wrapper.priv-page .sidebar-priv ul a,
.main-content-wrapper.trust-page .sidebar-priv ul a,
.main-content-wrapper.trust-page .sidebar-priv ul,
.main-content-wrapper.trust-page .sidebar-priv h2.member-listing__title {
    color: #12284c;
}
.sidebar-owm .pages-menu__item-link:hover,
.main-content-wrapper.priv-page .sidebar-priv h2,
.main-content-wrapper.priv-page .sidebar-priv h2 a,
.main-content-wrapper.trust-page .sidebar-priv h2 a,
.main-content-wrapper.trust-page .sidebar-priv h2,
.trust-page .text-block a,
.trust-page .download-listing__list {
    color: #976f33;
}
.after-content.priv-after-content::before {
    content: none;
}
.after-content.priv-after-content {
    background-color:#976f33;
    color: white;
    padding: 40px 20px 20px;
    margin-top: 20px;
}
.after-content.priv-after-content a {
    color: white;
}
.sidebar-nm .link-listing__title {
    font-size: 1.35rem;
    margin: 1.35rem 0;
    color: #C2521E;
}
.sidebar-nm .link-listing a {
    font-size: 1.15rem;
    list-style: none;
    text-transform: uppercase;
    color: inherit;
    display: block;
    line-height: 1em;
    padding: 1rem 3rem 1rem 2rem;
    position: relative;
}
.sidebar-nm .link-listing a:hover {
    color: #C2521E;
    font-weight: bold;
}

.main-content-wrapper a.button {
    border: none;
    margin: 0;
    color: white;
    background-color: #C2521E;
    border: 2px solid #C2521E;
    border-radius: 30px;
    padding: 8px 1rem 7px 1rem;
    text-transform: uppercase;
    font-weight: bold;
    margin: 10px 0;
    display: inline-block;
}
.main-content-wrapper a.button:hover {
    background-color: white;
    color: #C2521E;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .main-content-wrapper .row aside {
        order: 1;
    }
}

@media (min-width: 768px) {
    .contact-info__social-link:after {
        font-size: 2rem;
    }
    .contact-info__social-link{
        width: 1.5rem;
        height: 2rem;
    }

}
@media (max-width: 767px) {
    .contact-info__contact, .contact-info__contact  p {
        text-align: center;
    }
    .contact-info__social {
        margin: auto;
        float: none;
    }
}

.main-menu .sub-menu {
    margin: 0 8px 0 -10px;
}


.main-content-wrapper.priv-page h1, .priv-page .components h1 {
    font-size: 2rem;
    margin-top: 1rem;
    color: #74777b;
}
.main-content-wrapper.priv-page p.callout, .main-content-wrapper.trust-page p.callout {
    font-style: italic;
    color: #976f33;
    margin: 1rem auto;
}
.main-content-wrapper.priv-page h2 {
    font-size: 1.6rem;
    font-weight: normal;
    color: #976f33;
}
.main-content-wrapper p.disclaimer {
    font-style: italic;
    font-size: 0.8rem;
    line-height: 1.5;
}
/*
.branch-finder-contact {
    display: none;
}*/
.lk-form .flex-form .field-row {
    display: flex;
    gap: 20px;
}
.lk-form {
    padding: 1rem 0;
    text-align: center;
}
.lk-form .field-group {
    margin: 1rem 0;
}
.lk-form .flex-form .field-row .field-group {
    flex: 1;
    margin: 0.5rem 0;
}
.lk-form input[type="email"],
.lk-form input[type="text"],
.lk-form input[type="email"],
.lk-form select,
.lk-form textarea,
.lk-form input[type="number"],
.lk-form input[type="tel"] {
    width: 100%;
    min-width: 100px;
    border-radius: 0;
    border: 1px solid #C2521E;
    font-size: 0.9rem;
    background-color: transparent;
    padding: 2px 5px;
}
.lk-form textarea {
    resize: vertical;
}

.lk-form label.error,
.error-message {
    color: #C2521E;
}
.lk-form legend {
    font-size: 0.9rem;
    padding-top: 0.5rem;
    display: block;
}
.lk-form label {
    display: block;
    font-size: 0.9rem;
}
.lk-form .radio-2col-set {
    columns: 2 100px;
    column-gap: 20px;
    max-width: max-content;
    margin: 0 auto;
    text-align: left;
}
.lk-form .radio-2col-set  label {
    margin: 0;
    padding: 2px 0;
}
.visuallyhidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    line-height: 0;
    opacity: 0.0005;
}
.branch-finder-contact {
    position: relative;
    z-index: 999;
}
.lk-form input[type="button"],
.lk-form input[type="submit"] {
    border: 0;
    font-size: 1rem;
    padding: 10px 30px;
    margin-top: 10px;
    background-color: #C2521E;
    color: white;

}
.atm-search input[type="button"] {
    background-color: #db6e2d;
    color: white;
    border: none;
    border-radius: 0;
    font-size: 0.9rem;
    padding: 3px 10px;
    font-weight: 400;
}
.lk-form input[type="button"]:hover,
.lk-form input[type="submit"]:hover,
.atm-search input[type="button"]:hover {
    background-color:#74777b;
}

.g-recaptcha {
    margin: 0 auto;
    max-width: 304px;
}

.success-message p {
    padding: 30px 10px;
    text-align: center;
    font-weight: bold;
}

.components .lk-form {
text-align: left;
padding-top: 0;
}
.components .lk-form .flex-form {
    margin-bottom: 10px;
}

.components .lk-form input[type="email"],
.components .lk-form input[type="text"],
.components .lk-form input[type="email"],
.components .lk-form select,
.components .lk-form textarea,
.components .lk-form input[type="number"],
.components .lk-form input[type="tel"] {
    font-size: 1rem;
    line-height: 2rem;
    border-color: #74777b;
}
.components .g-recaptcha {
    margin-left: 0;
}
.components .lk-form input[type="button"],
.components .lk-form input[type="submit"] {
    color: white;
    background-color: #74777b;
    border: 1px solid #74777b;
    transition: all 0.3s;
}
.components .lk-form input[type="button"]:hover,
.components .lk-form input[type="submit"]:hover {
    background-color: white;
    color: #74777b;
}

.member-listing .team-member-more {
    pointer-events: none;
    text-decoration: none;
    color: inherit;
    max-width: 300px;
}

.team-members-dynamic .team-member-more {
    pointer-events: all;
}
.member-listing img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    max-width: 200px;
}
@media screen and (min-width: 599px) {
    .team-members-dynamic .member-listing__list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media screen and (min-width: 1100px) {
    .team-members-dynamic .member-listing__list {
        grid-template-columns: repeat(4, 1fr);
    }
}

.team-members-dynamic .member-listing__item {
    width: 100%;
    margin: 0;
}
.team-members-dynamic .team-member-overlay-bio {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999999;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: hidden;
}
.team-members-dynamic .team-member-overlay-bio.active .team-member-bio-inner  {
    right: 0;
    transition: right 1s 0.1s;
}
.team-members-dynamic .member-listing__title {
    font-size: 1.5rem;
    color: #976f33;
}
.team-members-dynamic .team-member-bio-inner {
    display: flex;
    height: 100%;
    background-color: white;
    width: 100%;
    max-width: 800px;
    padding: 20px 20px 20px 30px;
    overflow: auto;
    right: -110%;
    position: absolute;
    top: 0;
    bottom: 0;
    transition: right 1s -0.1s;
}
.team-members-dynamic .team-member-more .team-member__name {
    font-size: 1.2rem;
    color: #12284c;
}
.team-members-dynamic h2 {
    color: #976f33;
}
.team-members-dynamic .team-member-more .team-member__position {
    display: none;
}
.bio-close {
    background-color: transparent;
    height: 20px;
    width: 20px;
    margin-left: auto;
    position: relative;
    border: none;
}
.bio-close::before, .bio-close::after {
    content: "";
    top: 40%;
    height: 4px;
    left: 0;
    right: 0;
    display: block;
    position: absolute;
    background: #74777b;
}
.bio-close::before {
    transform: rotate(45deg);
}
.bio-close::after {
    transform: rotate(-45deg);
}
.team-member-bio-inner .left {
    max-width: 300px;
    flex: 1;
    padding-right: 20px;
 }
 .team-member-bio-inner  .right {
     flex: 1;
     text-align: left;
 }
 .team-member-bio-inner .team-member__name {
     font-size: 1.5rem;
     color: #976f33;
 }
 .team-member-bio-inner .team-member__position {
     font-weight: bold;
     color: #12284c;
 }

 .privacy-tables table {
     width: 100%;
 }
 .privacy-tables table td {
     text-align: left;
 }
 .privacy-tables table th {
    background-color: #dee2e6;
    border-color: #ccc;
    font-size: 0.9rem;
 }

 .trust-menu-with-icons .menu-with-icons__title {
    color: #976f33;
 }

 .page-id-5474 aside,
 .page-id-5476 aside,
 .page-id-5472 aside {
    display: none !important;
 }

 .page-id-5474 .main-content-wrapper .offset-md-1,
 .page-id-5476 .main-content-wrapper .offset-md-1,
 .page-id-5472 .main-content-wrapper .offset-md-1 {
    margin-left: 0;
    flex: 1;
    max-width: 100%;
    padding: 0 30px;
 }

 @media (min-width: 768px) {
    .contact-info__membership {
        display: flex;
        gap: 20px;
        justify-content: flex-start;
        align-items: center;
    }
 }

 .upload-ideas {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 10px;
 }

@media (max-width: 599px) {
    .upload-ideas {
        flex-direction: column;
    }
 }

 .upload-ideas > div {
    position: relative;
    flex: 1 30%;
    padding-left: 25px;
 }

 @media (max-width: 999px) {
    .upload-ideas > div {
        flex: 1 45%;
    }
 }

 .upload-ideas > div::before {
    position: absolute;
    content: '\2713';
    color: #C2521E8;
    top: 5px;
    font-size: 1.4rem;
    left: 0;
 }

 .upload-ideas > div h3 {
    font-size: 1rem;
    font-weight: bold;
 }

 .header {
    z-index: 99999;
 }