/*
-------------------------------------------------------
* Template Name    : Maa Consultancy                  *
* Version          : 1.0.0                            *
* File Description : Main Css file of the template    *
*------------------------------------------------------
*/

/********************************
    1.BASIC                     *
    2.HELPER                    *
    3.NAVBAR                    *
    4.HOME PAGE                 *
     4.1.SLIDER                 *
    5.ABOUT PAGE                *
    6.SERVICES PAGE             *
    7.CONTACT PAGE              *
    10.FOOTER                   *
    11.RESPONSIVE               *
********************************/

/*======================
        1.BASIC
========================*/

body {
    font-family: 'Source Sans Pro', sans-serif;
    overflow-x: hidden;
    font-weight: 400;
    color: #404040;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
    color: #333;
}

h1 {
    font-size: 16px;
}
.marquee{width:100%;height:50px;overflow:hidden;font-weight:600;}
p, ul li {
    line-height: 1.6;
    font-size: 16px;
    color: #666666;
    text-align:justify;
}

.font-16 {
    font-size: 16px !important;
}

.font-20 {
    font-size: 20px !important;
}
.zindex9{
    position:relative;
    z-index:9;
}
.height-210{
    min-height:210px;
}

.theme-bg {
    background: #DB2015;
    color: #fff;
    transition: all 0.4s;
}

    .theme-bg:hover {
        background: #F03C02;
        color: #fff;
    }

.theme-txt {
    color: #DB2015;
}
    .theme-txt:hover{
        color:#202020;
    }

    a,
    a:hover,
    a:focus,
    button,
    button:focus {
        text-decoration: none !important;
        outline: none !important;
    }

.weight-600 {
    font-weight: 600;
}

.back_top {
    position: fixed;
    bottom: 20px;
    height: 40px;
    width: 40px;
    display: none;
    right: 20px;
    z-index: 99;
}

    .back_top i {
        line-height: 40px;
        font-size: 25px;
    }
.breadcrumb {
    background: url(../images/bredcrum-bg.jpg) center fixed no-repeat;
    background-size: cover;
}
.breadcrumb-item a {
    color: #ccc;
}

.breadcrumb-item.active {
    color: #fff;
}

.modal-body {
    max-height: 60vh;
    overflow: auto;
}
.table td, .table th {
    font-size: 14px;
    padding: 5px;
}
.page_enabled{
    padding:0 5px;
    color:#333
}
.page_disabled {
    color: #DB2015;
}
table th a, table th a i, table th a i:before {
    width: 6px;
    height: 10px;
    display: inline-block;
    align-items: center;
    line-height: normal;
}
/*==========================
        2.HELPER
============================*/
.form-control {
    padding: 7px 20px;
}

.section {
    position: relative;
    padding-top: 70px;
    padding-bottom: 70px;
    background-color: #fff;
}

.section_title {
    width: 100%;
}

    .section_title h2 {
        font-size: 30px;
        font-weight: 500;
    }

    .section_title span {
        color: #DB2015;
        font-weight: 700;
    }

.next-arrow, .prev-arrow {
    position: absolute;
    top: 50%;
    font-size: 40px;
    color: #DB2015;
    transform: translateY(-50%);
    height: 40px;
    width: 40px;
    background: rgba(255,255,255,.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
}

    .next-arrow:hover, .prev-arrow:hover {
        background: rgba(240,60,2,.8);
        color: #fff;
    }

.next-arrow {
    right: 0;
}

.prev-arrow {
    left: 0;
}

.dots-enable .owl-dots {
    margin: 20px 0;
    text-align: center;
}

.border-img {
    border: 3px solid #ddd;
}

.dots-enable .owl-dots .owl-dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 3px;
    transition: all 0.3s;
}

    .dots-enable .owl-dots .owl-dot.active, .dots-enable .owl-dots .owl-dot:hover {
        background: #DB2015;
    }
/*==========================
        3.NAVBAR
============================*/
header.sticky-header {
    background-color: #fff;
    box-shadow: 0px 0px 18px 1px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
    width: 100%;
}

.panel-top {
    background: #DB2015;
    padding: 5px 0;
    display: none;
}

    .panel-top.open {
        display: block;
    }

.panel-toggle {
    height: 36px;
    width: 36px;
    background: #DB2015;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    margin-left: 10px;
}

.brand-logo img {
    transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    width: 160px;
}

header.sticky-header .brand-logo img {
    width: 120px;
}
.account-icon {
    display: none;
}
.logo-block {
    text-align: center;
}

.overlay {
    position: fixed;
    background: rgba(0,0,0,0.5);
    top: 0;
    left: 0;
    z-index: 9;
    height: 100%;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
}

    .overlay.show {
        opacity: 1;
        visibility: visible;
    }

.custom-nav {
    padding: 0px;
    z-index: 999;
    padding: 5px 0;
}

    .custom-nav .navbar-nav.navbar-center {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .custom-nav .navbar-nav li a {
        position: relative;
        font-size: 16px;
        font-weight: 600;
        padding: 6px 20px !important;
        margin: 0;
        color: #404040;
        transition: color 0.3s;
        text-transform: uppercase;
    }

.navbar-toggler {
    display: none;
}

.custom-nav .navbar-nav .nav-item > a:before, .custom-nav .navbar-nav .nav-item > a:before {
    position: absolute;
    top: 85%;
    left: 50%;
    color: transparent;
    content: "\2022";
    text-shadow: transparent 0px 0px;
    font-size: 18px;
    line-height: 5px;
    transform: translateX(-50%);
    pointer-events: none;
    transition: text-shadow 0.3s ease 0s, color 0.3s ease 0s;
}

.custom-nav .navbar-nav .nav-item.active > a:before, .custom-nav .navbar-nav .nav-item:hover > a:before {
    color: #DB2015;
    text-shadow: 10px 0 #DB2015, -10px 0 #DB2015;
}

.custom-nav .navbar-nav .nav-item.active > a,
.custom-nav .navbar-nav .nav-item:hover > a,
.custom-nav .navbar-nav .nav-item:active > a {
    color: #DB2015;
}

.dropdown-menu {
    padding: 0;
    overflow: hidden;
}

    .dropdown-menu .dropdown-item {
        margin: 0 !important;
    }

        .dropdown-menu .dropdown-item:hover, .dropdown-menu .dropdown-item.active, .dropdown-menu .dropdown-item:focus {
            background: #DB2015;
            color: #fff;
        }

/*==========================
        4.HOME PAGE
============================*/

/*===== 4.1.SLIDER =====*/
.txt-area {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
}

.slider-content .heading {
    font-size: 30px;
    font-weight: 400;
}

.bg-image {
    background-size: cover !important;
}

.content-box {
    background: rgba(0,0,0,0.7);
    display: block;
    width: 100%;
    text-align: left;
    padding: 15px;
}

.main-slider .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%)
}

    .main-slider .owl-dots .owl-dot span {
        width: 10px;
        height: 10px;
        display: block;
        background: #fff;
        border-radius: 10px;
        margin: 0 3px;
        transition: all 0.5s;
    }

    .main-slider .owl-dots .owl-dot.active span, .main-slider .owl-dots .owl-dot:hover span {
        background: #333;
        width: 10px;
    }

.offer-box {
    margin-top: 30px;
    display: block;
    overflow: hidden;
}

    .offer-box .details {
        width: 100%;
        padding: 10px;
        position: absolute;
        content: "";
        bottom: -20px;
        left: 0;
        transform-origin: 50%;
        background: rgba(240,60,2,0.8);
        opacity: 0;
        transition: all 0.4s;
    }

    .offer-box:hover .details {
        opacity: 1;
        bottom: 0;
    }

    .offer-box img {
        transition: all 0.4s;
    }

    .offer-box:hover img {
        transform: scale(1.2);
    }

.parallax-bg {
    background: url(../images/parallax-bg.jpg) center fixed no-repeat;
    background-size: cover;
    position: relative;
}

    .parallax-bg:before {
        content: '';
        background: rgba(0,0,0,0.8);
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }
/*==========================
        5.ABOUT PAGE
============================*/
.about-box {
    min-height: 300px;
    cursor: pointer;
    transition: all 0.3s;
}

    .about-box:hover {
        transform: translateY(-5px);
    }

.about-icon {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    background: #DB2015;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}
/*==========================
        6.SERVICES PAGE
============================*/
.service-tabs .nav-tabs {
    border: none;
}

.service-tabs .nav-link {
    font-size: 16px;
    transition: all 0.4s;
    height: 40px;
    border-radius: 50px;
    margin: 0 5px;
    background: #fff;
    border: 1px solid #fff;
    color: #202020;
    padding: 5px 20px;
    font-weight: 600;
    margin-top:10px;
}

    .service-tabs .nav-link.active, .service-tabs .nav-link:hover {
        background: #DB2015;
        border: 1px solid #DB2015;
        color: #fff;
    }
/*==========================
        7.CONTACT PAGE
============================*/
.map iframe{
    width:100%;
    border:none;
}
/*==========================
        10.FOOTER
============================*/
footer {
    padding-top: 50px;
    background: #202020;
}

    footer hr {
        border-color: #333;
    }

.footer .footer_menu_list li {
    margin-bottom: 10px;
    transition: all 0.5s;
}

.footer h5 {
    color: #fff;
}

.footer p {
    color: #fff;
}

.social-icons a {
    height: 40px;
    width: 40px;
    display: flex;
    background: #585858;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    color: #fff;
    font-size: 18px;
    margin: 0 5px;
    transition: all 0.4s;
}

    .social-icons a:hover {
        background: #fff;
        color: #DB2015;
    }

.footer .footer_menu_list li a,
.footer .footer_menu_list li i {
    display: inline-block;
    font-size: 16px;
    color: #ddd !important;
    transition: all 0.5s;
}

    .footer .footer_menu_list li a:hover,
    .footer .footer_menu_list li:hover i {
        color: #DB2015 !important;
    }

.foot_desc {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-bottom a {
    color: #fff;
}
/*==========================
        11.RESPONSIVE
============================*/
@media(max-width:1199px) {
    .container {
        max-width: 98%;
    }
}

@media (max-width: 991px) {
    header .brand-logo img, header.sticky-header .brand-logo img {
        width: 100px;
    }
    .nivo-caption h2 {
        font-size: 20px;
    }
    .m-text-hide {
        font-size: 0;
    }
    .m-padding{
        padding:5px 20px 5px 5px;
    }

        .m-padding .mdi-account.mr-1 {
            margin-right: 0px !important;
        }

    .slider-content .heading {
        font-size: 30px;
    }

    .custom-nav {
        padding: 0 !important;
    }

    .logo-block {
        text-align: left;
        display: flex;
        align-items: center;
    }

    .menu-ico {
        width: 24px;
    }

    .navbar-toggler {
        display: block;
    }

    .custom-nav .navbar-nav li a {
        color: #333333 !important;
        text-align: left;
        margin: 0 0px;
        padding: 6px 0;
        font-size: 16px;
        border-bottom: 1px solid #eee;
    }

    .dropdown-toggle::after {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .navbar-nav .dropdown-menu {
        background: #f1f1f1;
        border: none;
    }

    .custom-nav > .container {
        width: 90%;
    }

    .navbar-collapse {
        background: #fff;
        position: fixed;
        top: 0;
        left: 0;
        width: 70%;
        padding: 0;
        height: 100%;
        margin-left: -70%;
        transition: all 0.4s;
        display: block !important;
        z-index: 9;
    }

    .custom-nav .navbar-nav .nav-item.active > a:before, .custom-nav .navbar-nav .nav-item:hover > a:before {
        display: none;
    }

    .navbar-collapse.show {
        margin-left: 0;
    }

    .navbar-nav {
        margin-top: 0px;
    }

    .section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .custom-nav {
        padding: 12px 0;
    }

        .custom-nav li.nav-item:hover .nav-bar.submenu {
            width: 100%;
            left: 0;
        }

    .product-list-block, .list-box {
        padding: 0 !important;
    }

}

@media only screen and (max-width: 767px) {
    .social-icons {
        justify-content:center !important;
        margin-top:10px;
    }
    .m-text-center{
        text-align:center;
    }
    .panel-top .justify-content-between {
        text-align:center;
        flex-direction:column;
    }
    .m-content-start{
        justify-content:flex-start !important;
    }
    .m-hidden{
        display:none;
    }
    .section_title h2 {
        font-size: 22px;
    }
    .nivo-caption{
      min-height:180px;
    }
    .m-justify-start{
        justify-content:flex-start !important;
    }
    .offer-box .details {
        opacity: 1;
        bottom: 0;
    }
    .ttl-txt {
        font-size:13px !important;
    }
    .list-btn-link{
        font-size:12px;
    }
}
@media(max-width:640px){
    .main-slider .owl-item img {
        height: 300px;
        object-fit: cover;
        object-position: left;
    }
    .hide-mobile{
        display:none;
    }
    .account-icon{
        display:block;
    }
}

@media (max-width: 575px) {
    .service-tabs .nav-tabs{
        display:block;
    }
}
