html {
    scroll-behavior: auto;
}

body {
    position: relative;
}

.col-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
}

.col-6  {
    flex: 0 0 auto;
    width: 50%;
}

.col-12 {
    flex: 0 0 auto;
    width: 100%;
}

@media(min-width: 768px) {
    .col-md-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}
/* Animation */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes flipLeft {
    from {
        opacity: 0;
        transform: rotateY(90deg);
    }
    to {
        opacity: 1;
        transform: rotateY(0);
    }
}

@keyframes flipRight {
    from {
        opacity: 0;
        transform: rotateY(-90deg);
    }
    to {
        opacity: 1;
        transform: rotateY(0);
    }
}

[data-animate] {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    will-change: opacity, transform;
}

.animate-fade-up {
    animation: fadeUp 1s ease-out forwards;
    will-change: opacity, transform;
}

.animate-fade-left {
    animation: fadeLeft 1s ease-out forwards;
    will-change: opacity, transform;
}

.animate-fade-right {
    animation: fadeRight 1s ease-out forwards;
    will-change: opacity, transform;
}

.animate-flip-left {
    animation: flipLeft 1s ease-out forwards;
    will-change: opacity, transform;
}

.animate-flip-right {
    animation: flipRight 1s ease-out forwards;
    will-change: opacity, transform;
}
/* End Animation */

section {
    padding: 60px 0;
}

.head-nav {
    background-color: rgba( 255, 255, 255, .1) !important;
    backdrop-filter: blur(10px) !important;
}

.header-d-nav {
    font-size: 1rem;
}

.set-logo-size
{
    height: auto !important;
}

.nav-logo {
    min-width: 80px;
    min-height: 80px;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

#home {
    min-height: 900px;
    position: relative;
    padding-top: 0;
    padding-bottom: 0;
}

.background-style {
    background-position: top;
    background-color: #000;
}

.background-img-style {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* padding-top: 15%; */
    height: 50%;
    top: 45%;
    transform: translateY(-50%);
    width: 80%;
}

.banner-img {
    max-width: 40%;
    width: 100%;
}


.background-content-section {
    position: relative;
    max-width: 60%;
    width: 100%;
    /* height: fit-content; */
    height: 80%;

    display: flex;
    justify-content: space-around;
    flex-direction: column;

    text-align: left;
}

.banner-img-content1 {
    /* color: #d11515;
    font-size: 1.7rem;
    font-family: 'Bahnschrift';
    font-weight: 700;
    line-height: normal;
    letter-spacing: normal; */
    color: #d11515;
    font-size: 1.35rem;
    font-family: 'Bahnschrift';
    font-weight: 500;
    line-height: normal;
    letter-spacing: normal;

    margin-bottom: 15px;
    
    text-transform: uppercase;
}

.banner-img-content2 {
    /* color: #fff;
    font-size: 2.6rem;
    font-family: 'Palatinolinotype italic';
    font-weight: 700;
    line-height: normal;
    letter-spacing: 3.2px; */
    color: #fff;
    font-size: 2.25rem;
    font-family: 'Palatinolinotype italic';
    font-weight: 700;
    line-height: normal;
    letter-spacing: .5px;
}

.btn-position {
    position: relative;
    width: 100%;
    bottom: 10%;
    left: 0;
    display: flex;
    justify-content: center;
}

.btn-link-tag {
    text-decoration: none;
    width: auto;
}

.btn-contact {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    background: linear-gradient(to right, #4f4f4f 20%, #9f9fa7 100%);
    border-radius: 15px;
    color: #fff;

    font-size: 1rem;
}

.banner-container {
    max-width: 1280px;
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-carousel {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    position: absolute !important;
    bottom: 15%;
    left: 0;
}

.banner-box {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    height: 100%;
}

.case-code {
    font-size: 1.25rem;
    color: #fff;
    text-align: center;
    margin-bottom: 1rem;
}

.case-name {
    font-size: 1rem;
    color: #fff;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
}

.case-title {
    font-size: 1.125rem;
    color: #fff;
    text-align: center;
    font-weight: 700;
    line-height: 36px;
    text-transform: uppercase;
}

.about-content-box {
    /* background: linear-gradient(to right, #4f4f4f 20%, #9f9fa7 100%); */
    height: 100%;
    padding: 12px 24px;
    color: #000;
    /* font-family: 'playFairDisplay'; */
    text-align: justify;
}


#teams {
    min-height: 750px;
    /* background-image: url("../../assets/images/team/team-logo.png"); */
    background: linear-gradient(to right, rgb(0, 0, 0) 60%, rgba(172, 172, 172, 0.5) 100%);
}

.team-logo {
    position: absolute;
    top: 0;
    left: 0;
}

.swiper-custom {
    /* padding-bottom: 80px !important; */
    min-height: 288px;
}

.swiper-pagination-bullet {
    background: #fff !important;
}

.swiper-pagination-bullet-active {
    background: #fff !important;
}

.small-team-title {
    font-family: 'montserrat',sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    line-height: 26px;
    letter-spacing: 3px;
    color: #d5a848;
}

.big-team-title {
    color: #fff;
    font-family: 'playFairDisplay';
    font-weight: 400;
    font-size: 2.375rem;
    line-height: 46px;
    padding: .5rem 0;
    margin: 1.5rem 0;
    position: relative;
}

.team-content {
    color: #fff;
}

.team-ul {
    padding-left: 20px;
    color: #fff;
    list-style: disc;
}

.big-team-title:after {
    content: '';
    width: 100px;
    background-color: #d5a848;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: -10px;
}

.banner-carousel .owl-dots {
    display: none;
}

.lawyer-box {
    position: relative;
    display: block;
}

.padding-gap-lawyer {
    padding: 0 10px;
}

.floating-up-container {
    background-color: #fff;
    margin: -15px 10px 0;
    border-bottom: 1px solid transparent;
    position: absolute;
    z-index: 1;
    width: calc(100% - 20px);
    transform: translateY(0);
    border-bottom: 2px solid #d5a848;
    -webkit-transition: all 0.5s cubic-bezier(.645,.045,.355,1);
    -o-transition: all 0.5s cubic-bezier(.645, .045, .355, 1);
    transition: all 0.5s cubic-bezier(.645,.045,.355,1);
    overflow: hidden;
}

.lawyer-profile {
    padding: 20px 15px 15px 15px;
}

.lawyer-name {
    color: #42474c;
    font-family: 'playFairDisplay';
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    margin-bottom: 15px;
    cursor: pointer;
}

.lawyer-position {
    color: #aeb0b1;
    font-size: 0.825rem;
    font-weight: 500;
    line-height: 17.6px;
    text-align: center;
}

.lg-break {
    display:inline;
}

.lawyer-social {
    display: flex;
    justify-content: center;
    /* margin-bottom: 15px; */
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity .1s ease-in;
}

.lawyer-box:hover>.floating-up-container{
    transform: translateY(-32px);
}

.lawyer-box:hover>.floating-up-container>.lawyer-social{
    height: 32px;
    opacity: 1;
}

.news-card {
    height: 100%;
    min-height: 500px;
}

.card-body.card-news {
    min-height: 150px;
}

/* Article post card */
.lawyer-container {
    position: relative;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    -webkit-transition: box-shadow 0.5s;
    transition: box-shadow 0.5s;
}

.lawyer-container a {
    color: inherit;
    text-decoration: none;
}

.lawyer-container:hover {
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
}

.inner-modal-size
{
    max-width: 800px;
    min-width: 320px;
}

.close-modal {
    font-size: 2rem;
}

.modal-order-list {
    list-style: none;
    padding: 0 0px;
    text-align: justify;
}

.modal-order-list li{
    margin-bottom: 10px;
}

.edu-modal-ul li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0;
}

.edu-modal-ul li::before {
    content: "-";
    position: absolute;
    left: 0;
    top: 0;
    color: black;
}

/**
* DATE
**/

.card__date {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    padding-top: 10px;
    background-color: coral;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    font-weight: 700;
    line-height: 13px;
}

.card__date__day {
    font-size: 14px;
}

.card__date__month {
    text-transform: uppercase;
    font-size: 10px;
}


/**
* THUMB
**/

.card__thumb {
    height: 245px;
    overflow: hidden;
    background-color: #000;
    -webkit-transition: height 0.5s;
    transition: height 0.5s;
}

.card__thumb img {
    width: 100%;
    display: block;
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: opacity 0.5s, transform 0.5s;
    transition: opacity 0.5s, transform 0.5s, -webkit-transform 0.5s;
}

.lawyer-container:hover .card__thumb {
    height: 130px;
}

.lawyer-container:hover .card__thumb img {
    opacity: 0.6;
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

/**
* card_BODY
**/

.card__body {
    position: relative;
    height: 185px;
    padding: 20px;
    -webkit-transition: height 0.5s;
    transition: height 0.5s;
}

.lawyer-container:hover .card__body {
    height: 300px;
}

.card__category {
    position: absolute;
    top: -25px;
    left: 0;
    height: 25px;
    padding: 0 15px;
    background-color: coral;
    color: #fff;
    text-transform: uppercase;
    font-size: 11px;
    line-height: 25px;
}

.card__title {
    margin: 0;
    padding: 0 0 10px 0;
    color: #000;
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
}

.card__subtitle {
    margin: 0;
    padding: 0 0 10px 0;
    font-size: 19px;
    color: coral;
}

.card__description {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 56px;
    margin: 0;
    padding: 0;
    color: #666C74;
    line-height: 27px;
    opacity: 0;
    -webkit-transform: translateY(45px);
    transform: translateY(45px);
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
    transition: opacity 0.3s, transform 0.3s, -webkit-transform 0.3s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.lawyer-container:hover .card__description {
    opacity: 1;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}

.card__footer {
    position: absolute;
    bottom: 12px;
    left: 20px;
    right: 20px;
    font-size: 11px;
    color: #A3A9A2;
}

.icon {
    display: inline-block;
    vertical-align: middle;
    margin: -2px 0 0 2px;
    font-size: 18px;
}

.icon+.icon {
    padding-left: 10px;
}

/* Warrant to act CSS */
.warrant_form {
    background-color: #fff;
    padding: 1rem .875rem;
    border-radius: 15px
}

.agreementForm {
    display: flex;
    flex-direction: column;
}

.modal-popup-whiteContainer {
    overflow-y: scroll;
    height: 89%;
}

[data-dialog-backdrop] {
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.hidden {
    display: none;
}

.opacity-0 {
    opacity: 0;
    pointer-events: none;
}

.signature-container {
    max-width: 50%;
}

.QRPopupModal {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.qrCode-img {
    max-height: 550px;
    height: 100%;
    margin: 0 auto;
}
/* End warrant to act css */

@media( max-width: 1600px ) {
    .banner-container {
        max-width: 980px;
    }

    /* .btn-position {
        bottom: 5%;
    } */
}

@media( max-width: 1400px ) {
    /* .background-content-section {
        top: 15%;
    } */

    /* .btn-position {
        bottom: 8%;
    } */
}

@media(max-width: 1240px) {
    .lg-break {
        display: block;
    }

    .banner-img-content1 {
        font-size: 1.235rem;
    }
    
    .banner-img-content2 {
        font-size: 2.05rem;
    }
}

@media(max-width: 1200px) {
    #home {
        min-height: 780px;
    }

    .swiper-custom {
        min-height: 320px;
    }

    .big-team-title {
        font-size: 2rem;
    }

    .news-card {
        height: 100%;
        min-height: 420px;
    }

    .inner-modal-size
    {
        max-width: 650px;
    }

    .lawyer-name {
        font-size: 1rem;
    }

    .lg-break {
        display: inline;
    }

    .header-d-nav {
        font-size: 0.825rem;
    }
}

@media(max-width: 1180px) {
    .banner-img-content1 {
        font-size: 1.1rem;
    }
    
    .banner-img-content2 {
        font-size: 1.8rem;
    }
}

@media(max-width: 1080px) {
    .lg-break {
        display: block;
    }
}

@media(max-width: 992px) {
    .big-team-title {
        font-size: 2rem;
    }

    .team-content {
        font-size: 0.875rem;
    }

    .news-card {
        height: 100%;
        min-height: 440px;
        max-height: 440px;
    }

    .btn-contact {
        font-size: .875rem;
    }

    .banner-img-content1 {
        font-size: 1rem;
    }
    
    .banner-img-content2 {
        font-size: 1.65rem;
    }
}

@media(max-width: 971.9px) {
    .lawyer-profile {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 115.59px;
    }
}

@media(max-width: 940px) {
    .big-team-title {
        font-size: 1.6rem;
    }

    .team-content {
        font-size: 0.875rem;
    }
}

/* @media(max-width: 890px) {
    .banner-img-content1 {
        font-size: 1.045rem;
    }
    
    .banner-img-content2 {
        font-size: 1.35rem;
    }
} */


@media(max-width: 880px) {
    .background-img-style {
        top: 45%;
    }

    /* .btn-position {
        bottom: -5%;
    } */
}

@media(max-width: 801px) {
    .lawyer-profile {
        min-height: 132.59px;
    }
}

@media(max-width: 768.9px) {
    .big-team-title {
        font-size: 20px;
    }
}

@media(max-width: 767.9px) {
    #home {
        min-height: 125vh;
    }

    .background-img-style {
        top: 40%;
        width: 100%;
    }

    .banner-img {
        max-width: 70%;
        width: 100%;
        max-height: 300px;
        margin: 0 auto;
    }

    .background-content-section {
        width: 80%;
        margin: 0 auto;
        top: 0;
        min-width: 455px;
        height: 50%;
    }

    .banner-carousel {
        bottom: 8%;
    }

    .btn-contact {
        min-width: 125px;
    }

    .lawyer-box {
        width: calc(100% - 20%);
        margin: 0 auto;
        margin-bottom: 5rem;
    }

    .floating-up-container {
        margin: -30px 0px 0;
        width: calc(100% + 20%);
        margin-left: -10%;
    }

    .padding-gap-lawyer {
        padding: 30px 40px;
    }

    .header-logo-gap {
        padding-left: 24px;
    }

    .news-card {
        height: 100%;
        min-height: 400px;
        max-height: 400px;
    }

    .inner-modal-size
    {
        max-width: 500px;
    }

    .close-modal {
        font-size: 16px;
    }

    .lawyer-profile {
        min-height: 90px;
    }

    .lg-break {
        display: inline
    }

    .banner-img-content1 {
        font-size: 1.1rem;
    }
    
    .banner-img-content2 {
        font-size: 1.8rem;
    }
}

@media(max-width: 576px) {
    .news-card {
        height: 100%;
        min-height: 420px;
        max-height: 500px;
    }

    .background-content-section {
        min-width: 350px;
        height: 40%;
    }

    .btn-position {
        bottom: 5%;
    }

    .banner-img-content1 {
        font-size: .875rem;
    }

    .banner-img-content2 {
        font-size: 1.435rem;
    }

    .signature-container {
        max-width: 100%;
    }
}

@media(max-width: 480px) { 
    .background-content-section {
        width: 80%;
        min-width: 80%;
        height: 45%;
    }
    
    .btn-contact {
        min-width: 100%;
        text-wrap: nowrap;
    }
}

@media (max-width: 480px) and (min-height: 680px) {
    #home {
        min-height: 110vh;
    }
}

@media(max-width: 440px) {
    .background-content-section {
        width: 80%;
        min-width: 80%;
    }
    
    .btn-contact {
        min-width: 100%;
        font-size: 12px;
    }

    .banner-img-content1 {
        font-size: 14px;
    }

    .banner-img-content2 {
        font-size: 22px;
    }
}


@media(max-width: 420px) {
    #home {
        min-height: 115vh;
    }
    
    .news-card {
        height: 100%;
        min-height: 400px;
        max-height: 400px;
    }
}

@media (max-width: 420px) and (min-height: 650px) {
    #home {
        min-height: 130vh;
    }
}

@media(max-width: 400px) {
    .banner-img-content1 {
        font-size: 12px;
        text-wrap: nowrap;
    }

    .banner-img-content2 {
        font-size: 19.5px;
        text-wrap: nowrap;
    }
}

@media(max-width: 380px) {
    .swiper-custom {
        min-height: 260px;
    }

    .btn-position {
        bottom: 0;
    }
}

@media(max-width: 360px) {
    #home {
        font-size: 10px;
        min-height: 110vh;
    }

    .btn-contact {
        padding: 8px 14px;
    }
}

/* @media(max-width: 340px) {
    .btn-position {
        bottom: -10%;
    }
} */

@media(max-width: 320px) {
    .swiper-custom {
        min-height: 280px;
    }

    .banner-img-content1 {
        font-size: .7rem;
    }

    .banner-img-content2 {
        font-size: 1.05rem;
    }
}

@media(max-width: 310px) {
    .swiper-custom {
        min-height: 300px;
    }
}

@media(max-height: 610px) {
    #home {
        min-height: 160vh;
    }
}