#agent_banner {
    height:500px;
    max-height:50dvh;
    display: flex;
    justify-content: center;
    overflow:hidden;
}

#agent_banner img.agent_bg {
    height:107%;
    width:auto;
    position: absolute;
    top:0;
    --mask: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0) 0) 100% 50% / 100% 100% repeat-x;
    -webkit-mask: var(--mask);
    mask: var(--mask);
}

#agent_banner .caption-wrapper {
    animation-delay:.7s;
    position: absolute;
    top: calc(50% - 5rem);
    left:0;
    width:100%;
    z-index:104;
    padding: 2rem 1.5rem;
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0.55) 35%, rgba(0, 0, 0, 0.55) 65%, rgba(0, 0, 0, 0) 90%);
}

#agent_banner .caption-wrapper h5 {
    font-size:40px;
    color:#fff;
    font-weight:300;
    text-align: center;
    letter-spacing: .03em;
    margin:0;
    font-family: Roboto, RobotoFlex, sans-serif;
}

.filter {
    /*background-color:rgba(255,255,255,.8);
    background: linear-gradient(to right, #0b4674, #072e4b, #0b4674);
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);*/
    padding:.5rem;
    display: flex;
    justify-content: center;
    position: sticky;
    top:0;
    z-index:104;
    transition: .1s all ease-in-out;
}
/*
.filter::before {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    z-index: -1;
    background-image: url(../img/bg2.png);
    background-size: cover;
    opacity: .75;
}
*/

.filter .form-control {
    border-radius:0;
    margin: 0 .25rem;
    width:400px;
    max-width:100%;
    padding:.5rem 1rem;
    /*filter:invert(1);*/
    color:#000;
    background-color:transparent;
    border-color:#000;
}

.filter_scroll {
    background-color:rgba(255,255,255,.9);
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
}

.agentContent {
    padding: 0;
    margin-top:-1px;
    background-color:#fff;
    background: linear-gradient(to bottom, #fff, #f3f3f3, #efefef);
}

.agentContent::before {
    position: absolute;
    content: "";
    height: 90%;
    width: 90%;
    left: 5%;
    top: 5%;
    z-index: -1;
    background-image: url(../img/pws/bg.png);
    background-size: cover;
    opacity: .02;
}

.agentContent .row {
    width:1400px;
    max-width: 100%;
    margin: auto;
    justify-content: center;
}

.agentContent .row h1 {
    font-size: 36px;
    font-family: RobotoFlex, Roboto, sans-serif;
    font-weight: 300;
    letter-spacing: .03em;
    text-align: center;
    padding: 1.25rem 1rem;
    margin-bottom: 1rem;
}

.agentContent .row h1 div {
    background-image: linear-gradient(90deg, #131F28, #0e5e9b, #131F28);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    display: inline-block;
    font-size:28px;
}

.agentContent .row .card {
    width: 90%;
    max-width: 100%;
    margin:1rem;
    cursor: pointer;
    padding:0;
    border-radius:0;
    border:none;
    overflow: hidden;
    background-color:transparent;
    transition:.1s all ease-in-out;
}

.agentContent .row .card .card-body {
    background: linear-gradient(to bottom, #ddd, #efefef, transparent);
}

.agentContent .row .card .card-text {
    text-align: center;
    color:#131F28;
    font-size:18px;
}


.modal .agent_thumbnail span {
   line-height: normal; 
   font-size:18px;
	padding-right:1.5rem;
}

.modal .agent_body {
    padding-top:.25rem;
}

.modal .agent_body table:first-child {
    border-bottom:1px solid #e2e2e2;
    margin-bottom:.5rem;
}

.modal .agent_body table:first-child td {
    color:#131F28;
}

.modal .agent_body table:first-child td:first-child {
    width:250px;
    text-align:left;
}

.modal .agent_body table:first-child td:last-child {
    font-weight:600;
    letter-spacing: .03em;
}

.agentContent .row .card .card-img {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius:0;
    height:240px;
    background-color: #fff;
    border: 1px solid #ddd;
}

.agentContent .row .card .card-img img {
    transition:.1s all ease-in-out;
}

.agentContent .row .card:hover {
    transform: translateY(-3px);
    background-color:#fff;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
}

.agentContent .row .card:hover img {
    transform: scale(1.05);
}

.modal .agent_thumbnail img {
    width: 110px !important;
    height: auto !important;
    border-radius: 10px;
    margin-right:1rem !important;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
}

.modal .agent_body table td {
    white-space: pre-wrap;
    line-height: 1.35;
}

.modal .agent_body table td i {
    color: #072e4b !important;
}

.modal .modal-footer button {
    margin-bottom:0 !important;
}

.modal .modal-footer button:hover {
    border-color:#072e4b !important;
    background-color: #072e4b !important;
}

.header .logo_bar {
    position:relative;
}

.header .logo_bar button {
    position:absolute;
    top: 1.25rem;
    padding: 1rem 1.25rem;
    padding-right: 3.25rem;
    display: flex;
    left:-5px;
    background-color:transparent;
    border:none;
    color:#131F28;
    overflow: hidden;
    transition: .1s all ease-in-out;
}

.header .logo_bar button img {
    width: 32px;
    height: 32px;
    margin-right: .35rem;
    margin-top: -3px;
    filter: brightness(0) saturate(100%) invert(8%) sepia(8%) saturate(3669%) hue-rotate(163deg) brightness(97%) contrast(91%);
}

.header .logo_bar button::before {
    position: absolute;
    content: "";
    height: 150px;
    width: 200px;
    left: -9%;
    top: -75%;
    z-index:-1;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, .1));
    transform: rotate(20deg);
}

.header .logo_bar button:hover {
    left:0;
}

.header_mobile {
    position:relative;
}

@media only screen and (min-width: 768px) {
    #agent_banner {
        overflow:visible;
    }
    #agent_banner img.agent_bg {
        height:57%;
        height:650px;
        margin-top:-100px;
    }
    .agentContent {
        padding:2rem 0
    }
    .agentContent .row h1 div {
        font-size: 36px;
    }
    .agentContent .row .card {
        width: 17%;
        min-width: 15rem;
    }
    .filter .form-control {
        margin:.5rem 1rem;
    }
	.modal .agent_thumbnail img {
        width: 120px !important;
        margin-right:1.5rem !important;
    }
}