﻿body h1, h2, h3, h4, h5, h6 {
    font-family: 'Philosopher', sans-serif!important;
    text-transform:uppercase;
}
body p, a, span {
    font-family: 'Comfortaa', sans-serif!important;
}
.validators {
    font-size: 12px;
    position: absolute;
    color: red;
}

.text-white {
    color: white;
}

.footer-margin {
    margin-top: 71px;
}

.footer-margin-bottom {
    margin-bottom: 0;
}

/*---Home---*/
/*About Us Section*/
.aboutus-img {
    background: #fff;
    /* box-shadow: rgba(0, 0, 0, 0.10) 0px 6px 20px; */
    text-align: center;
    /* padding: 5px; */
    margin: 0;
    max-width: 100%;
    height: auto;
}

    .aboutus-img img {
        width:100%;
        height:auto;
    }

.aboutus-txt-divider {
    position: absolute;
    content: "";
    height: 255px;
    left: -50px;
    top: 40px;
    border-left: 2px solid #dbdbdb;
}
/*----About us Page----*/
.aboutus-content {
    padding:50px 30px 30px 30px;
}

/*Services Section*/
.border-right {
    border-left: 5px solid white;
}

.border-top {
    border-top: 5px solid white;
}

.row-bg {
    /*background: url(../images/rinfolineImages/cream-pixels.png) repeat scroll 0 0 #f5f5f5;*/
}

.service-head {
    margin: 2px 0;
    background: url('../images/rinfolineImages/cream-pixels.png') repeat scroll 0 0 #f5f5f5;
    padding: 60px;
    height:628px
}

.sub-heading::after {
    display: block;
    margin: 15px 0 20px;
    content: '';
    height: 3px;
    width: 50px;
    background: #d9d9d9;
}

.service-body {
    padding: 0;
}

.service-box2 {
    height: 314px;
    text-align: center;
    /*overflow:hidden;*/
    position: relative;
    padding: 0;
}

.preview-box {
    height: 100%;
    margin: 0;
    background: url('../images/rinfolineImages/dot-pattern.png') repeat scroll 0 0 #ffffff;
}

    .preview-box img {
        margin-top: 75px;
        margin-bottom: 25px;
        width: 105px;
    }

    .preview-box h6 {
        margin: 0;
        line-height: 1;
        font-weight: 400;
        font-weight: bold;
    }

.preview-box2 {
    height: 100%;
    margin: 0;
}

    .preview-box2 img {
        margin-top: 75px;
        margin-bottom: 25px;
        width: 105px;
    }

    .preview-box2 h6 {
        margin: 0;
        line-height: 1;
        font-weight: 400;
        font-weight: bold;
    }



.hover-box2 {
    background-color: #3498db;
    position: absolute;
    top: 0;
    bottom: 0;
    opacity: 0;
    width: 100%;
    height: 350px;
    padding: 50px;
    margin: 0;
    overflow: hidden;
    transition: all 500ms ease-in-out 0s;
    color: white;
}

    .hover-box2 h6 {
        color: white;
        line-height: 1.3;
    }

        .hover-box2 h6::after {
            content: '';
            display: block;
            margin: 10px auto 0;
            height: 3px;
            width: 30px;
            background: white;
            line-height: 1;
        }

    .hover-box2 .para {
        font-size: 12px;
        line-height: 24px;
        margin: 20px 0;
    }

    .hover-box2 .readmore {
        color: white;
    }

.service-box2:hover .hover-box2 {
    opacity: 1;
    top: -36px;
}

.card-readmore {
    display:none;
    border: 1px solid #3a3838;
    border-radius:20px;
    width:40%;
    margin-left:auto;
    margin-right:auto;
    margin-top:20px;
    padding: 5px 0;
}

/*----Additional Services----*/
.icon img {
    height: 75px;
    padding-bottom: 10px;
    width: auto;
}

.feature-box-5 {
    height: 350px;
    text-align: center;
}

    .feature-box-5 h5 {
        line-height: 1.3;
    }

/*----Services Page----*/
.row-bg2 {
    margin-top: 50px;
}

.services-more-col {
    padding-left: 0;
}

.services-more {
    padding: 50px 40px 43px 33px;
    background-color: #f1f1f1;
}

.services-img {
    padding: 45px 0;
}

    .services-img img {
        vertical-align: middle;
        width: 100%;
        height: auto;
    }



.points-title {
}

.points {
    margin-bottom: 20px;
}

.points-title h4 {
    line-height: 1.3;
}

.points-bullet {
    display: inline-block;
    float: left;
    width: 30px;
    height: 30px;
    margin: -4px 15px 0 0;
    position: relative;
    background-color: #3498db;
    border: 1px solid #3498db;
    border-radius: 50%;
    text-align: center;
    transition: all 0.3s ease-in-out;
}


    .points-bullet i {
        font-size: 16px;
        line-height: 28px;
        color: white;
    }



.points-text p {
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
    color: #303030;
}

.points:hover .points-bullet {
    border-radius: 3px;
}



/*Why us Section*/
.whyus-font {
    font-size: 16px;
    color: black;
    font-weight: bold;
}

.tm-icon img {
    margin-top: 14px;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    opacity: 0.7;
}

.check {
    font-size: 18px;
    color: #3498db;
}

.whyus-img-col {
    padding: 0;
}

.whyus-body {
    margin-top: 70px;
    padding-right: 50px;
}


.whyus-img img {
    height: 500px;
    width: auto;
}

.tm-detail h5 {
    line-height: 1.8em;
}
.tl-margin {
    margin-bottom:30px;
}
.tl-margin2 {
    margin-bottom:30px;
}
.timeline::before {
    height:85%
}

/*Testimonials Section*/
.testimonials-bg {
    padding: 45px 0 !important;
    background: linear-gradient(0deg,rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(../images/rinfolineImages/testimonials.jpeg) fixed no-repeat center;
    background-size: cover;
}

.testimonial-box {
    background-color: #fff;
    padding: 40px;
    margin: 15px 15px;
    text-align: center;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.10) 0px 6px 20px;
    position: relative;
}

.double-quotes {
    height: 15px;
    width: 15px;
    position: absolute;
    top: 0px;
    right: 0px;
    opacity: 0.2;
    margin-right: 20px;
    margin-top: 35px;
}



.testimonial-author {
    padding-top: 7px;
}

    .testimonial-author span:first-child,
    .testimonial-author span:last-child {
        display: inline-block;
    }

    .testimonial-author span:first-child {
        font-size: 13px;
        color: #121212;
        margin-bottom: 5px;
    }

        .testimonial-author span:first-child::after {
            content: "|";
            margin: 0 3px 0 7px;
            opacity: .5;
        }

    .testimonial-author span:last-child {
        font-size: 13px;
    }
.owl-carousel .owl-nav [class*=owl-] {
    border-radius:50%;
    background:#7b7b7b;
    opacity:0.5;
}
    .owl-carousel .owl-nav [class*=owl-]:hover {
        opacity:1;
        background:#7b7b7b;
    }
.owl-next {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 32%;
    right: -40px;
    display: block;
    border:0px solid black;
    
}
.owl-prev {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 32%;
    left: -40px;
    display: block;
    border:0px solid black;
    
}
.owl-prev i, .owl-next i {margin-top:8px}
.owl-next i {margin-left:2px;
}
.owl-prev i {margin-right:2px;
}

/*Partners Section*/

.partners-logo {
    height: 80px;
    width: auto;
    overflow: hidden;
    vertical-align: middle;
}

    .partners-logo img {
        max-width: 100%;
        height: 100%;
        object-fit: contain;
        display: inline-block;
    }

/*----Clients & Projects----*/



/*---Contact Us---*/
.form-group {
     margin-bottom: 15px;
     margin-bottom:25px;
}

input[type=text] {
    margin-bottom: 0;
}

.red-text {
    color: red;
}

.green-text {
    color: green;
}
.header .logo-img {
    max-height:none;
}

/*iPad*/
@media only screen and (max-width: 1024px) and (min-width: 768px) {
    .aboutus-txt-divider {
        height: 300px;
        left: -5px;
    }

    .whyus-font {
        font-size: 14px;
    }

    .whyus-body {
        margin-top: 70px;
        padding-right: 20px;
    }
    .whyus-section {
        padding-top:0;
    }

    .whyus-img {
        position: relative;
        left: -300px;
        margin-top: 90px;
    }

        .whyus-img img {
            height: 500px;
            width: auto;
        }

    .check {
        font-size: 16px;
    }

    .hover-box2 {
        padding: 50px 20px;
    }

    .service-box2 {
        width: 50%;
    }
    .back {
        padding: 50px 20px;
    }

    .card {
        width: 50%;
    }
    .service-head {
        height:942px;
        padding:30px 25px;
    }

    .service-special {
        border-top: 5px solid white;
    }
    

    .services-more-col {
        padding-right: 0;
    }
    .aboutus-col {
        padding:0;
    }
    .aboutus-content {
        padding: 50px 10px;
    }
    .back .para-sp {
        line-height:19px!important;
    }
    .testimonial-box {
        padding: 40px 20px;
    }
    .double-quotes {
        margin-top:25px;
    }
    .tl-margin2 {
        margin-bottom:35px;
    }
    .feature-type-5 .feature-box-5 {
        padding: 60px 20px;
    }
    .footer-margin {
        margin-top:72px;
    }
    .header .logo-img {
        max-height:40px;
    }
    .card-readmore {
        display:block;
        width:55%;
    }
}
/*Phone*/
@media only screen and (max-width: 767px) {
    .aboutus-txt-divider {
        display: none;
    }

    .footer-margin {
        margin-top: 0;
    }

    .border-right {
        border: 0;
    }

    .border-top {
        border: 0;
    }

    .service-box2 {
        border-top: 5px solid white;
    }
    .card {
        border-top: 5px solid white;
    }
    .preview-box h6{
        font-size:18px;
    }
    .hover-box2 h6{
        font-size:18px;
    }
    .front h6 {
        font-size:18px;
    }
    .back h6 {
        font-size:18px;
    }
    .service-head {
        height:auto;
        padding:60px 15px;
        text-align:center;
    }
    .services-img {
        padding:45px 15px;
    }
    .services-more {
        padding:50px 15px 43px 15px; 
    }

    .whyus-body {
        margin-top: 50px;
        padding-right: 20px;
    }

    .whyus-img img {
        height: 250px;
        width: auto;
    }

    .services-more-col {
        padding-right: 0;
    }

    .aboutus-col {
        padding:0;
    }
    .aboutus-content {
        padding:50px 0 30px 0;
    }
    .testimonial-box {
        padding: 40px 20px;
    }
    .double-quotes {
        margin-top:25px;
    }
    .tl-margin2 {
        margin-bottom:50px;
    }
    .tl-margin {
        margin-bottom:15px;
    }
    .header .logo-img {
        max-height:40px;
    }
    .card-readmore {
        display:block;
}
    
}





/*Test Card Flip*/
.card {
    height: 314px;
    text-align: center;
    overflow: hidden;
    position: relative;
    padding: 0;
    
}

.front,
.back {
    width: 100%;
    height: 100%;
    position: absolute;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: -webkit-transform 300ms;
    transition: -webkit-transform 300ms;
    transition: transform 300ms;
    transition: transform 300ms, -webkit-transform 300ms;
    -webkit-transition-timing-function: linear;
    transition-timing-function: linear;
    border-radius: 5px;
}

.front {
    background: url('../images/rinfolineImages/cream-pixels.png') repeat scroll 0 0 #f5f5f5;
    transform: rotateY(0deg);
    text-align: center;
    padding: 30px;
    height: 100%;
    margin: 0;
}

.front img {
    margin-top: 40px;
    margin-bottom: 25px;
    width: 105px;
}

.front h6 {
    margin: 0;
    line-height: 1;
    font-weight: 400;
    font-weight: bold;
}

.back {
    background-color: #3498db;
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    padding: 40px 15px;
    color: #fff;
    
}

.back h6 {
    color: white;
    line-height: 1.3;
}

    .back h6::after {
        content: '';
        display: block;
        margin: 10px auto 0;
        height: 3px;
        width: 30px;
        background: white;
        line-height: 1;
    }

.back .para {
    font-size: 12px;
    line-height: 24px;
    margin: 20px 0;
    
}


.back .readmore {
    color: white;
}


.card:hover .front {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
}

.card:hover .back{
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
}
