body, body div, body p {
    font-family: var(--font-default);
    font-weight: 400 !important;
}


h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 500 !important;
}

b, strong {
    font-weight: bold !important;
}


@media only screen and (max-width: 768px) {
    .swiper-slide {
        width: 100% !important;
    }

    .testimonials-wrapper .testimonials-block .carousel-control {
        display: none;
    }

    .carousel-control.left, .carousel-control.right {
        background-image: unset;
        background-image: unset;
        background-repeat: unset;
    }

    .carousel-control, .carousel-control:hover, .carousel-control:focus {
        color: #FFFFFF;
    }
}

#services-box a {
    margin: 0 auto;
}

#articles .ry-btn-primary, #articles .ry-btn-primary:after {
    color: #FFFFFF;
}

#articles .ry-btn-primary:hover, #articles .ry-btn-primary:hover:after {
    color: #FFFFFF;
}

.ry-btn:after {
    display: none;
}


.ry-btn-primary:hover {
    background: var(--color-secondary) !important;
    color: #FFFFFF !important;
}

.ry-btn.ry-btn-secondary {
    color: #FFFFFF !important;
    background: var(--color-primary) !important;
}

.ry-btn.ry-btn-secondary:hover {
    ackground: var(--color-primary) !important;
    color: #FFFFFF !important;
    box-shadow: unset !important;
}


.btn, .ry-btn, .ry-btn-primary {
    font-size: 24px !important;
    text-transform: initial;
    background-image: linear-gradient(179deg, #1787c1 0%, #17527f 100%) !important;
    border-radius: 30px !important;
    border: none !important;
    font-family: var(--font-title);
    font-style: italic;
    font-weight: normal !important;
    padding: 15px 40px 17px;
    line-height: initial;
    width: 100%;
    display: flex;
    align-items: center;
    max-width: fit-content;
}


a#welcome-btn {
    margin-top: 1.5em;
    padding: 15px 35px;
    max-width: 220px;
}

@media (min-width: 1081px) {
    li.mobile-app-link.primary {
        display: none !important;
    }
}

.ry-anchor-hidden {
    display: block;
    position: relative;
    top: -200px;
    visibility: hidden;
}

.full-link, .full-link a {
    position: absolute;
    inset: 0;
    color: transparent;
}

.full-link:hover a {
    color: transparent;
}

#ry-pg-body .owl-carousel .owl-item img {
    filter: unset;
}

.HOLDsp-slides-container {
    height: calc(100vh - 120px) !important;
}

li.third-level-container:not(.third-level a):after {
    content: '\f105';
    font-family: fontawesome;
    color: #fff;
    position: relative;
    top: 12px;
    right: 12px;
}

.page-anchor {
    display: block;
    position: relative;
    top: -143px;
    visibility: hidden;
}

.ry-form input:not(input[type="checkbox"], input[type="radio"]) height: 50px !important; }

.ry-btn {
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 30px;
    padding-right: 30px;
    max-width: max-content;
    color: #FFFFFF !important;
    background-image: linear-gradient( 179deg, #1787c1 0%, #17527f 100%) !important;
    font-size: 20px !important;
    text-transform: uppercase;
}

.ry-heading h4 {
    font-weight: 400 !important;
    font-style: italic;
    font-family: var(--font-title);
    font-size: clamp(1.875rem, 1.5846rem + 1.5487vw, 4.0625rem);
    font-size: 30px;
    color: var(--color-secondary);
    font-style: italic;
}

.ry-heading h2 {
    color: var(--color-primary) !important;
    font-size: clamp(2.1875rem, 1.8971rem + 1.5487vw, 4.375rem);
    line-height: 1;
}

.ry-btn-primary:after {
    content: '\f101';
    font-family: 'FontAwesome';
    display: block !important;
    font-style: normal;
    font-size: 15px;
    position: relative;
    top: 1px;
}

@media (max-width: 1080px) {
    .ry-list-wrp .ry-list-item .ry-list-photo img {
        margin: auto;
    }

    .mobile-container .flex-wrap .flex-item.right-nav .mobile-button a {
    }

    .ry-list-wrp .ry-list-item .ry-box-right * {
        text-align: center;
    }

    .ry-list-wrp .ry-list-item .ry-box-right .col-xs-12 {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 30px;
        margin-bottom: 20px;
    }
}

@media (max-width: 991px) {
    div.testimonials-wrapper:before {
        width: 80px;
        height: 40px;
        left: 20%;
        top: -17%;
    }

    div.testimonials-wrapper:after {
        right: 20%;
        width: 80px;
        height: 40px;
        bottom: initial;
        top: -17%;
    }
}

@media (max-width: 500px) {
    div.testimonials-wrapper:before {
        width: 50px;
        height: 20px;
        left: 6px;
        top: -77px;
    }

    div.testimonials-wrapper:after {
        right: 6px;
        width: 50px;
        height: 20px;
        bottom: initial;
        top: -76px;
    }
}

/*RESPONSIVE*/
@media (max-width: 1600px) {
    .module-66 .bnr-textbox .ry-heading h1, .ry-heading h2 {
        font-size: 50px;
    }

    div.module-team.style-1:after {
        width: 330px;
        height: 650px;
        top: 15%;
    }
}

@media (max-width: 1199px) {
    .ry-heading h2, .ry-heading h4 {
        text-align: center !important;
    }

    .module-66 .bnr-textbox .ry-heading h4, .ry-heading h4 {
    color: var(--color-secondary);
    font-size: 25px !important;
}

div.ry-section-hero:after {
        background: transparent;
        display: none;
    }

    nav#mobile_menu, div#menu_container {
        background: var(--color-primary) !important;
    }

    .module-66 .carousel .carousel-inner {
        padding-bottom: 0;
        background-image: none !important;
        height: auto !important;
    }

    .module-66 .bnr-textbox {
        position: static;
        background: #fff;
        padding: 2em 0 0 !important;
    }

    .module-43 .ry-right .ry-menu .nav-menu li .dropdown-menu li:hover {
        background: var(--color-primary) !important;
    }

    .module-67 {
        padding: 4em 0;
        border-top: 1px solid hsl(0deg 6.67% 2.94% / 8%);
    }

    .module-66 .ry-el-bg img, .module-66 .carousel .carousel-inner .item {
        display: block !important;
        object-fit: cover;
        height: auto !important;
        object-position: top center;
        visibility: visible !important;
    }

    .module-66 .carousel-inner:before {
        display: none;
    }

    .module-66 .ry-el-bg {
        height: auto !important;
        background-image: none !important;
    }

    .module-66 .bnr-textbox .ry-heading h1, .ry-heading h2 {
        font-size: 33px;
        color: var(--color-primary) !important;
        font-weight: 700 !important;
        
    } 
    


    .ry-heading h4, .module-66 .bnr-textbox .ry-heading h4 {
        font-size: 28px !important;
        font-weight: 400 !important;
        margin-bottom: 10px;
        line-height: normal;
    }

    div#serv-right {
        max-width: 100% !important;
        top: 0 !important;
        width: 100% !important;
        margin-bottom: 2em;
    }

    .ry-services.style2:before {
        height: 100%;
        top: 0;
        background-position: top center;
    }

    div#serv-content-flex {
        flex-direction: column;
    }

    div#serv-content-flex .serv-left {
        display: none;
    }
}



@media (max-width: 500px) {
    .module-66 .ry-el-bg img {
        height: 300px !important;
        object-position: bottom !important;
    }
}

/* END RESPONSIVE*/






/*HOMEPAGE TEAM*/

.team-title {
    position: absolute;
    bottom: 15%;
    left: 0;
    right: 0;
}

.team-title p {
    color: #fff;
    font-size: 29px;
    max-width: 150px;
    margin: auto;
    line-height: 1.1;
    font-family: var(--font-title);
    font-style: italic;
}

.module-team.style-1:before {
    background: url(https://www.royacdn.com/unsafe/smart/Site-9b4afb72-76c4-488c-96e5-44b21dba1ac4/homeapage_assets/drs_container.png);
    background-size: cover;
    background-position: center;
    position:absolute;
    content:'';
    top: -26%;
    height: 520px;
    width: 90%;
    max-width: 1280px;
    right: 0;
    left: 0;
    margin: auto;
    box-shadow: 0px 20px 14px 0px rgb(0 0 0 / 8%);
    border-radius: 60px;
}



div.module-team.style-1 .ry-container .ry-content {
    margin-top: -12em;
}

.module-team.style-1 ol.carousel-indicators {
    margin-left: 0 !important;
    right: 0 !important;
    text-align: center !important;
    gap: 0 6px !important;
    bottom: 3% !important;
    display: flex !important;
    left: 0 !important;
    justify-content: flex-end;
}

.module-team.style-1 .carousel-indicators li {
    border: 1px solid var(--color-primary) !important;
    width: 15px !important;
    height: 15px !important;
    margin: 0 !important;
    background: transparent;
}

.module-team.style-1 .carousel-indicators .active {
    background-color: var(--color-primary);
}

div.module-team.style-1 .carousel-fade .carousel-control {
    display: none;
}

div.module-team.style-1 .ry-container {
    max-width: 1300px;
    width: 80%;
}

.module-team.style-1 .ry-flex .ry-each .photo {
    filter: none !important;
}

.module-team.style-1 .ry-flex .ry-each .photo img {
}

.module-team.style-1 .ry-flex {
    gap: 0 10%;
    justify-content: center;
    max-width: 700px;
    margin: 3em auto 0;
    float: none;
}

.module-team.style-1 .ry-flex div#bio-image {
    width: 40%;
}

.module-team.style-1 .ry-flex div#bio-text h4 {
    text-align: left;
    margin-bottom: 10px;
}

.module-team.style-1 .ry-flex div#bio-text h3 {
    color: #eb9929;
    font-size: 35px;
    margin: 15px 0;
}

a#hp-team-btn {
    margin: 2em auto 0;
}

a#hp-team-btn:hover {
    background: var(--color-primary) !important;
}

@media (max-width: 1199px) {
    .module-team.style-1 ol.carousel-indicators {
        justify-content: center !important;
        bottom: -5% !important;
    }

    div.module-team.style-1 .ry-flex div#bio-image {
        margin-top: 2em;
    }
}

/* HOMEPAGE TEAM */



/* HOMEPAGE GALLERY */

.homepage-gallery .ry-heading {
    background: var(--color-secondary);
    padding: 2.5em 0;
}


.homepage-gallery button.slick-prev.slick-arrow, .homepage-gallery button.slick-next.slick-arrow {
    display: none !important;
}

.homepage-gallery .slick-track {
    display: flex;
    gap: 0px;
}

.homepage-gallery .ry-heading h2 {
    color: #fff !important;
    max-width: fit-content;
    margin: auto;
    position: relative;
}

.homepage-gallery {
    padding: 0;
    background-size: cover;
    background-position: center;
}

.homepage-gallery .slick-list {
    overflow: visible;
}

.homepage-gallery ul.slick-dots {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    gap: 0 10px;
    margin-top: 4em;
    display: none !important;
}

.homepage-gallery ul.slick-dots li {
    list-style: none;
}

.homepage-gallery ul.slick-dots button {
    color: transparent !important;
    width: 12px;
    height: 12px;
    background: var(--color-primary);
    border-radius: 100%;
    opacity: 0.2;
}

.homepage-gallery ul.slick-dots li.slick-active button {
    opacity: 1;
}

div.homepage-gallery .ry-heading h4 {
    color: #fff !important;
}

.homepage-gallery .ry-heading h2:after {
    left: initial;
    right: -90%;
    transform: rotate(180deg);
}

@media (max-width: 1660px) and (min-width:1200px) {
    .homepage-gallery .ry-heading h2 {
        padding: 0 20px !important;
    }
}

@media (max-width: 1199px) {
    div.homepage-gallery .ry-heading h2 {
        padding: 0 35px !important;
    }

    div.homepage-gallery .ry-heading h2:before, div.homepage-gallery .ry-heading h2:after {
        width: 300px;
    }

    div.homepage-gallery {
        padding: 0 !important;
    }

    div.homepage-gallery .slick-slide {
        max-width: 200px;
    }
}

@media (max-width: 500px) {
    div.homepage-gallery .ry-heading h2 {
        padding: 0px 5px !important;
    }

    div.homepage-gallery .ry-heading h2:before, div.homepage-gallery .ry-heading h2:after {
        width: 150px;
    }
}

/* END HOMEPAGE GALLERY */




/*HOMEPAGE CTA */

.hp-cta-image-wrap img {
    max-width: 150px;
    margin: 0 auto 1em;
    height: 150px;
    object-fit: contain;
}



div#homepage-cta-flex {
    margin: 3em auto 0;
    gap: 0 5%;
}
div#homepage-cta-flex .ry-each span {
    color: var(--color-secondary);
    display: block;
    font-style: italic;
    font-size: 30px;
}

div#homepage-cta-flex p {
    color: #454e58;
    max-width: 420px;
    margin: auto;
}

div#homepage-cta-flex .ry-each h4 {
    clear: both;
    font-size: 40px;
    line-height: 1.1;
    margin-bottom: 15px;
}

div.module-cta.style-5 {
    padding: 4em 0 8em;
    background: #eff1f3;
}

@media (max-width:1199px) {
    div#homepage-cta-flex .ry-each h4 {
		font-size: 28px;
	}

	.hp-cta-image-wrap img {
		height: 100px;
	}

	div#homepage-cta-flex .ry-each span {
		font-size: 25px !important;
	}
	div.module-cta.style-5 {
		padding: 4em 0  !important;
	}
}


@media (max-width:767px) {
    div#homepage-cta-flex {
		flex-direction: column;
		gap: 2em 0 !important;
	}
}

/* END HOMEPAGE CTA */



:root {
    --color-primary: #173b63;
    --color-secondary: #1788c2;
    --font-default: Inter;
    --font-title: Cormorant;
    
}
