#parentHorizontalTab {margin-top: -112px!important;}

ul.resp-tabs-list, p {
    margin: 0px;
    padding: 0px;
}

.resp-tabs-list li {
    /*font-weight: 600;
    font-size: 13px;
    /* display: inline-block; */
    padding: 20px 25px;
    margin: 0 10px 0 0;
    list-style: none;
    cursor: pointer;
    float: left;
    background: #fbfbfb!important;
    border: #e1e1e1 1px solid!important;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-family: 'Merriweather';
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.1px;
}

.resp-tabs-container {
    padding: 0px;
    background-color: #fff;
    clear: left;
}

h2.resp-accordion {
    cursor: pointer;
    padding: 5px;
    display: none;
}

.resp-tab-content {
    display: none;
    padding: 15px;
}

.resp-tab-active {
	border: 1px solid #e1e1e1 !important;
	border-bottom: none;
	margin-bottom: -1px !important;
    padding: 20px 25px !important;
    background: #fff!important;
	/* border-top: 4px solid #5AB1D0 !important; */
	border-bottom: 0px #fff solid !important;
}

.resp-tabs-list li.resp-tab-active {
    border-bottom: 1px solid #fff!important;
    background-color: #fff!important;
    color: #ec1a23;
}

.resp-content-active, .resp-accordion-active {
    display: block;
}



h2.resp-accordion {
    font-size: 16px;
    border: 1px solid #dee2e6!important;
    border-top: 0px solid #dee2e6;
    margin: 0px;
    padding: 15px 20px;
    font-family: 'Merriweather';
    font-weight: 700;
    letter-spacing: -0.2px;
}

h2.resp-tab-active {
    border-bottom: 0px solid #c1c1c1 !important;
    margin-bottom: 0px !important;
    padding: 15px 20px !important;
    color: #ec1a23;
}

h2.resp-tab-title:last-child {
    border-bottom: 12px solid #c1c1c1 !important;
    background: blue;
}

/*-----------Vertical tabs-----------*/
.resp-vtabs ul.resp-tabs-list {
    float: left;
    width: 30%;
}

.resp-vtabs .resp-tabs-list li {
    display: block;
    padding: 15px 15px !important;
    margin: 0 0 4px;
    cursor: pointer;
    float: none;
}

.resp-vtabs .resp-tabs-container {
    padding: 0px;
    background-color: #fff;
    border: 1px solid #c1c1c1;
    float: left;
    width: 68%;
    min-height: 250px;
    border-radius: 4px;
    clear: none;
}

.resp-vtabs .resp-tab-content {
    border: none;
    word-wrap: break-word;
}

.resp-vtabs li.resp-tab-active { 
position: relative;
z-index: 1;
margin-right: -1px !important;
padding: 14px 15px 15px 14px !important;
border-top: 1px solid;
border: 1px solid #5AB1D0 !important;
border-left: 4px solid #5AB1D0 !important;
margin-bottom: 4px !important;
border-right: 1px #FFF solid !important;
}

.resp-arrow {
    width: 0;
    height: 0;
    float: right;
    margin-top: 3px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 12px solid #c1c1c1;
}

h2.resp-tab-active span.resp-arrow {
    border: none;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 12px solid #ec1a23;
}

/*-----------Accordion styles-----------*/
h2.resp-tab-active {
    background: #DBDBDB;/* !important;*/
}

.resp-easy-accordion h2.resp-accordion {
    display: block;
}

.resp-easy-accordion .resp-tab-content {
    border: 1px solid #c1c1c1;
}

.resp-easy-accordion .resp-tab-content:last-child {
    border-bottom: 1px solid #c1c1c1;/* !important;*/
}

.resp-jfit {
    width: 100%;
    margin: 0px;
}

.resp-tab-content-active {
    display: block;
}

h2.resp-accordion:first-child {
    border-top: 1px solid #c1c1c1;/* !important;*/
}

@media screen and (max-width: 1500px) {
    .resp-tabs-list li {font-size: 15px;}
}

 
@media (min-width: 992px) and (max-width: 1199px) { 
    .resp-tab-active,.resp-tabs-list li{ padding: .7rem !important;}
    #parentHorizontalTab {
        margin-top: -92px!important;
    }
 }



/*Here your can change the breakpoint to set the accordion, when screen resolution changed*/
@media only screen and (max-width: 1024px) {
    #parentHorizontalTab {
        margin-top: 0px!important;
    }
      
    .resp-tabs-list li {
        border-bottom: none!important;
        margin-bottom: -1px!important;
        position: relative;
        z-index: 1;
     }

    ul.resp-tabs-list {
        display: none;
    }

    h2.resp-accordion {
        display: block;
    }

    .resp-tab-content {
        border: 1px solid #dee2e6!important;
    }

    .resp-vtabs .resp-tabs-container {
        border: none;
        float: none;
        width: 100%;
        min-height: 100px;
        clear: none;
    }

    .resp-accordion-closed {
        display: none !important;
    }

    .resp-vtabs .resp-tab-content:last-child {
        border-bottom: 1px solid #c1c1c1 !important;
    }
    #parentHorizontalTab {
        margin-top: 0!important;
    }
}
