.row {
    margin-left: 0px;
    margin-right: 0px;
}

/* Style the buttons inside the tab */
.tab button {
    display: block;
    background-color: inherit;
    color: black;
    padding: 22px 16px;
    width: 100%;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current "tab button" class */
.tab button.active {
    background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
    float: left;
    padding: 0px 12px;
    border: 1px solid #e7eaee;
    padding: 47px 49px;
    margin-top: 30px;
    border-radius: 4px;
    border-left: none;
    height: 300px;
    display: none;
    background-color: #fff;
}

/* Clear floats after the tab */
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.intro_layers {
    -webkit-animation: bubble 5s linear infinite;
    animation: bubble 5s linear infinite;
    background-image: linear-gradient(to top, #dd4454 0%, #dd9044 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 250px;
    max-width: 730px;
    padding: 187px 63px;
    position: relative;
    width: 100%;
    z-index: 1;
}

/* .tabcontent1{
    display: inline-block;
    position: absolute;
    right: 25%;
    top: 34%;
    left: 25%;
    width: 16% !important;
   } */
@media (min-width: 1420px) {
    .tabcontent1 {
        display: inline-block;
        position: absolute;
        right: 25%;
        top: 34%;
        left: 25%;
        width: 16% !important;
    }
}

@media (min-width: 1276px) and (max-width: 1421px) {
    .tabcontent1 {
        display: inline-block;
        position: absolute;
        right: 25%;
        top: 34%;
        left: 25%;
        width: 21% !important;
    }
}

@media (max-width: 950px) {
    .tabcontent1 {
        position: absolute;
        right: 3%;
        top: 15%;
        left: 0%;
        width: 50% !important;
    }
}

@media (min-width: 951px) and (max-width: 1275px) {
    .tabcontent1 {
        position: absolute;
        right: 9%;
        top: 17%;
        left: 25%;
        width: 26% !important;
    }
}

.flat-why-choose .image-why-choose1 {
    width: 49.2%;
    float: right;
    height: 876px;
    background-image: url(images/vision/imag-vision-2.png);
    background-size: cover;
    background-position: 100% 100%;
}

.csr-images {
    /* margin:10px; */
    padding: 10px;
}

.csr-text {
    font-family: inherit;
    font-size: 24px;
    font-weight: inherit;
    font-style: inherit;
    vertical-align: baseline;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
}

header .nav-wrap ul.sub-menu li:hover,
header ul.sub-menu>li.active {
    background: #ef2935;
}

.img-container {
    position: relative;
}

.map-pin {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: red;
    cursor: pointer;
    z-index: 3;
}

.img-container img {
    transition: transform 0.5s ease;
}

@media (max-width: 1399px) {
    .logo1header {
        height: 50px !important;
        width: 175px !important;
    }

    .cardsofcsr {
        width: 400px;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .text-why-choose {
        padding: 0px;
    }
}

@media (min-width: 1400px) {
    .text-why-choose {
        padding: 115px 5% 0px 19.3% !important;
    }
}

#chartdiv {
    width: 100%;
    height: 95vh;
}

@media(max-width:767px) {
    /* .row-desk {
        box-shadow: 2px 2px 30px #000;
    } */
}

@media (max-width: 991px) {

    .header-wrap {
        background-color: #ffffff !important;
    }

    #chartdiv {
        width: 100%;
        height: 500px;
    }

    #site-header {
        box-shadow: 1px 1px 10px #000;
    }

    .row-desk {
        /* box-shadow: 2px 2px 30px #000; */
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .mobile-button:before,
    .mobile-button:after,
    .mobile-button span {
        background-color: #ef232d;
    }

    #mainnav-mobi ul.sub-menu>li>a:hover {
        color: #ffffff;
    }

    .breakerbetween {
        display: block;
    }

    .cardsofcsr {
        margin-bottom: 30px !important;
        border-radius: 10px;
    }

    .title-section h1 {
        font-size: 30px;
        line-height: 40px;
    }

    header.style1 {
        background-color: #ffffff;
    }

    .spacer {
        display: none;
    }

    .footer {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .header-spacer {
        padding-bottom: 10px;
    }

    .flat-testimonials1 {
        padding: 50px 0 100px;
    }

    .main-home1 {
        padding-top: 50px;
    }

    .flat-welcome .info-welcome h4,
    .flat-welcome .info-welcome h1 {
        margin-bottom: 10px;
    }

    .flat-why-choose .text-why-choose {
        padding: 50px 15px;
    }

    .flat-latest .post {
        margin-bottom: 0px;
    }
}

.nav-wrap {
    background-color: #ef232d;
    border-radius: 4px 0px 0px 4px;
}

header.style1 .header-button h3 a {
    padding: 27px 60px;
}

@media (min-width: 1300px) and (max-width: 1399px) {
    .container1 {
        width: 1145px;
    }

    header.style1 #mainnav>ul.menu>li {
        margin-right: 50px;
        margin-top: 2px;
        margin-bottom: 2px;
    }

    .container2 {
        width: 1145px;
    }

    .header-button {
        width: 30% !important;
    }
}

@media (min-width: 1400px) and (max-width: 1499px) {
    .container1 {
        width: 1400px;
    }

    .header-button {
        width: 36% !important;
    }
}

@media(max-width:1499px) {
    .ul-for-desktop {
        display: none !important;
    }

    .phone-for-desktop {
        display: none !important;
    }
}

@media (min-width: 1500px) {
    .container1 {
        width: 1476px;
    }

    .container2 {
        width: 1342px !important;
    }

    .header-button {
        width: 33.1% !important;
    }
}

@media (min-width: 1500px) {
    .container1 {
        width: 1342px;
    }
}

.flat-tabs ul.menu-tab li.active,
.flat-tabs ul.menu-tab li:hover {
    background-color: #f82a2b;
}

.flat-tabs .content-wrap .content-text {
    background-color: #f82a2b;
}

.flat-tabs .content-wrap .title-content span.color {
    color: #f82a2b;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .header-button {
        width: 31.6% !important;
    }
}

.flat-tabs .content-wrap .title-content {
    bottom: 5%;
    right: 4%;
    top: auto;
    left: auto;
}

.image-content>img {
    border-radius: 4px;
    margin-bottom: 10px;
}

@media(min-width:992px) and (max-width:1199px) {
    .flat-tabs .content-wrap .title-content {
        padding: 54px 20px 54px 10px;
    }
}

@media(min-width:992px) {

    .header-wrap {
        background-color: #ee232d !important;
    }


    .header-wrap {
        box-shadow: 1px 1px 4px #000000;
    }
}

.parallax1 {
    background-image: url(../../images/oilmax-banners/csr_banner.webp);
    background-size: cover;
}

.header-wrap-inner.style1 .header-top-info {
    float: none;
}

footer.style1 .bottom-inner {
    margin-top: 50px;
}

header.style1 .header-button {
    float: none;
}

@media(min-width:1200px) {
    #mainnav {
        margin-left: 25px;
    }
}

@media(min-width:1400px) {
    header.style1 #mainnav>ul.menu>li {
        margin-right: 69px;
    }
}

header.style1 #mainnav>ul.menu {
    margin-left: 25px;
    margin-top: 2px;
    margin-bottom: 2px;
}

.header-wrap-inner.style1 .header-top-info ul li {
    margin-bottom: 15px;
}

@media(min-width:1200px) and (max-width:1750px) {
    .flat-tabs .content-wrap .content-text {
        padding: 57px 59px 69px;
    }
}

footer.style1 .widget-menu ul li {
    line-height: 50px !important;
}


@media (max-width: 991px) {
    .row-desk {
        /* box-shadow: 2px 2px 30px #000; */
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .image-content {
        text-align: center !important;
    }

    .flat-tabs .content-wrap .title-content {
        width: 108% !important;
    }

    #mainnav-mobi ul>li.active>a {
        color: #ffffff;
    }
}

@media (max-width: 767px) {
    .row-desk {
        box-shadow: 2px 2px 30px #000;
    }
}

@media(max-width:721px) {
    .flat-tabs ul.menu-tab li {
        width: 50%;
        margin-top: 0;
        margin-left: 0px;
        padding: 22px 15px 22px;
    }

    .flat-tabs ul.menu-tab li i {
        font-size: 38px;
    }

    .flat-tabs ul.menu-tab li a {
        font-size: 18px;
    }

    .flat-tabs ul.menu-tab {
        margin-bottom: 20px;
    }
}

header.style1 .nav-wrap #mainnav>ul>li>a {
    margin-right: 0px;
    padding: 24px 0;
}

header.style1 .nav-wrap ul.menu>li {
    padding: 17px 0;
}

#mainnav>ul.menu>li {
    margin-right: 0px;
}

#mainnav ul.sub-menu li a,
#mainnav2 ul.sub-menu li a {
    padding-top: 25px;
    padding-bottom: 25px;
}

@media(min-width:1299px) and (max-width:1399px) {
    header.style1 #mainnav>ul.menu {
        margin-top: 0px;
        margin-bottom: 0px;
    }
}


#mainnav ul.sub-menu li a,
#mainnav2 ul.sub-menu li a {
    padding-right: 99px;
    padding-left: 7px;
}

#mainnav ul.sub-menu>li,
#mainnav2 ul.sub-menu>li {
    padding: 10px 0 9px 13px;
}

header.style1 .header-wrap {
    height: 68px;
}