/*
*
* Magical addons tabs style
*
*
*/

.mpdtab-nav-wrap ul.nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tab-content.mpdtab-content {
    padding: 15px;
    overflow: hidden;
}

.mpdtabs-style1 .nav-tabs {
    position: relative;
    border-bottom: none;
}

.tab-content.mpdtab-content {
    margin-top: 0;
}

ul.nav.nav-tabs {
    display: flex;
    width: 100%;
    overflow: inherit;
    background: #fff;
    -webkit-box-shadow: 0px 3px 40px rgb(0 0 0 / 20%);
    box-shadow: 0px 3px 40px rgb(0 0 0 / 20%);
}

.mpdtabs-style1 .nav-tabs li {
    margin: 0;
}

.mpdtabs-style1 .nav-tabs li a {
    display: block;
    padding: 20px 15px;
    background: #fff;
    font-size: 17px;
    font-weight: 700;
    color: #f2bd47;
    text-transform: uppercase;
    text-align: center;
    border-radius: 0;
    border: none;
    margin-right: 0;
    overflow: hidden;
    z-index: 1;
    position: relative;
    transition: all 0.3s ease 0s;
}

.tab-content.mpdtab-content {
    margin-left: auto;
    margin-right: auto;
}

.mpdtabs-style1 .nav-tabs li a:after {
    content: "";
    width: 100%;
    height: 100%;
    background: #e9e9e9;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    perspective-origin: 50% 100%;
    transform: perspective(900px) rotate3d(1, 0, 0, 90deg);
    transform-origin: 50% 100% 0;
    transition: transform 0.3s ease 0s, background-color 0.3s ease 0s;
}

.mpdtabs-style1 .nav-tabs li a.active:after {
    background: #eee6d2;
    transform: perspective(900px) rotate3d(1, 0, 0, 0deg);
}

.mpdtabs-style1 .nav-tabs li a.active,
.mpdtabs-style1 .nav-tabs li a:hover {
    color: #4b489b;
    border: none;
}

.mpdtabs-style1 .tab-content {
    padding: 20px;
    color: #757575;
}

.mpdtabs-style1 {
    background: #ededed;
}

@media only screen and (max-width: 479px) {
    .mpdtabs-style1 .nav-tabs li {
        width: 100%;
        text-align: center;
    }
}

/*Tab style two*/

.mpdtabs-style2 .nav-tabs {
    background: #fff;
    border-top: 3px solid #303335;
}

.mpdtabs-style2 .nav-tabs li {
    margin: 0;
}

.mpdtabs-style2 .nav-tabs li a {
    font-size: 14px;
    color: #999898;
    background: #fff;
    margin: 0;
    padding: 20px 25px;
    border-radius: 0;
    border: none;
    border-right: 1px solid #c2c2c2;
    text-transform: uppercase;
}

.mpdtabs-style2 .nav-tabs li a:hover {
    border-top: none;
    border-bottom: none;
    border-right-color: #c2c2c2;
}

.mpdtabs-style2 .nav-tabs li a.active,
.mpdtabs-style2 .nav-tabs li a.active:hover {
    color: #000;
    border-top: 3px solid #a5658b;
    border-left: none;
    border-bottom: none;
    margin: -3px 0 0 0;
}

.mpdtabs-style2 .nav-tabs li a.active:hover {
    border-right-color: #c2c2c2;
}

.mpdtabs-style2 .tab-content {
    font-size: 13px;
    color: #999898;
    line-height: 25px;
    background: #fff;
    padding: 20px;
}

.mpdtabs-style2 .tab-content h3 {
    font-size: 24px;
    color: #999898;
    margin-top: 0;
}

@media only screen and (max-width: 480px) {
    .mpdtabs-style2 .nav-tabs {
        border-top: none;
    }
    .mpdtabs-style2 .nav-tabs li {
        width: 100%;
    }
    .mpdtabs-style2 .nav-tabs li a {
        border: none;
        border-bottom: 1px solid #c2c2c2;
    }
    .mpdtabs-style2 .nav-tabs li a:hover {
        border-bottom: 1px solid #c2c2c2;
    }
    .mpdtabs-style2 .nav-tabs li:last-child a {
        border-bottom: none;
    }
    .mpdtabs-style2 .nav-tabs li a.active:hover,
    .mpdtabs-style2 .nav-tabs li a.active {
        border-bottom: 1px solid #c2c2c2;
        border-right: none;
    }
}

/*Style three*/

.mpdtabs-style3 .nav-tabs {
    box-shadow: -1px 0 2px #6676ff;
    border-bottom: 0 none;
    background: #333;
}

/* .mpdtabs-style3  .nav-tabs li{
    width: 25%;
} */

.mpdtabs-style3 .nav-tabs li a {
    display: block;
    font-size: 14px;
    color: #fff;
    text-align: center;
    border: none;
    padding: 18px;
    background: #272e38;
    border-radius: 0;
    margin: 0;
    position: relative;
    transition: all 0.3s ease 0s;
}

.mpdtabs-style3 .nav-tabs li a:hover {
    background: #6676ff;
}

.mpdtabs-style3 .nav-tabs li a.active,
.mpdtabs-style3 .nav-tabs li a.active:focus,
.mpdtabs-style3 .nav-tabs li a.active:hover {
    border: none;
    background: #6676ff;
    color: #fff;
    transition: all 0.20s ease 0s;
}

.mpdtabs-style3 .nav-tabs li a.active:after {
    content: "";
    position: absolute;
    bottom: -25px;
    left: 44%;
    border: 15px solid transparent;
    border-top-color: #6676ff;
}

.mpdtabs-style3 .tab-content {
    font-size: 14px;
    color: #fff;
    background: #333;
    line-height: 25px;
    padding: 20px;
}

.mpdtabs-style3 .tab-content h3 {
    font-size: 20px;
    color: #6676ff;
}

@media only screen and (max-width: 480px) {
    .mpdtabs-style3 .nav-tabs li {
        width: 100%;
        margin-bottom: 2px;
    }
    .mpdtabs-style3 .nav-tabs li a.active:after {
        border: none;
    }
}

/*Style four*/

.mpdtabs-style4 .nav-tabs {
    border-bottom: 0 none;
}

.mpdtabs-style4 .nav-tabs li {
    margin-right: 2px;
}

.mpdtabs-style4 .nav-tabs li a {
    font-size: 14px;
    color: #333;
    padding: 18px 25px;
    border: none;
    border-radius: 0;
    background: #efefef;
    text-transform: uppercase;
    position: relative;
}

.mpdtabs-style4 .nav-tabs li a.active:after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #4aaaa5;
}

.mpdtabs-style4 .nav-tabs li a.active,
.mpdtabs-style4 .nav-tabs li a.active:focus,
.mpdtabs-style4 .nav-tabs li a.active:hover {
    border: none;
    background: #4aaaa5;
    color: #fff;
    transition: all 0.20s linear 0s;
}

.mpdtabs-style4 .tab-content {
    font-size: 15px;
    color: #808080;
    border: 0 none;
    line-height: 25px;
    margin-top: 15px;
}

.mpdtabs-style4 .tab-content h3 {
    margin-top: 10px;
    font-size: 24px;
}

@media only screen and (max-width: 479px) {
    .mpdtabs-style4 .nav-tabs li {
        width: 100%;
        margin-bottom: 5px;
    }
    .mpdtabs-style4 .nav-tabs li a {
        padding: 20px;
    }
    .mpdtabs-style4 .nav-tabs li a.active:after {
        border: none;
    }
    .mpdtabs-style4 .tab-content {
        margin-top: 5px;
    }
}

.tab-pane.slideDown.active {
    animation: slideDown 0.5s ease-out;
}

.tab-pane.slideUp.active {
    animation: slideUp 0.5s ease-out;
}

.tab-pane.slideRight.active {
    animation: slideRight 0.5s ease-out;
}

.tab-pane.slideLeft.active {
    animation: slideLeft 0.5s ease-out;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideRight {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideLeft {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.mpdtabs-icon-top {
    text-align: center;
    margin-bottom: 3px;
    display: block;
}

.mpdtabs-icon-left {
    text-align: left;
    margin-right: 3px;
    display: inline-block;
}

.mpdtabs-icon-bottom {
    text-align: center;
    margin-top: 3px;
    display: block;
}

.mpdtabs-icon-right {
    text-align: right;
    margin-left: 3px;
    display: inline-block;
}

.mpdtab-nav-wrap {
    border-bottom: 1px solid #ededed;
}

.mgnav-fit ul {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
}

.navalign-center ul.nav-tabs {
    justify-content: center;
}

.navalign-right ul.nav-tabs {
    justify-content: flex-end;
}

/*vartical tab sytle*/

.mpt-tab-vertical .nav-tabs li.nav-item {
    display: block;
    width: 100%;
}

.mpdtabs-style2.mpt-tab-vertical .nav-tabs li.nav-item {
    border-bottom: 1px solid #ededed;
}

.mpdtabs-style3.mpt-tab-vertical .nav-tabs li a.active:after {
    left: inherit;
    right: -36px;
    transform: rotate(-90deg);
    top: 0;
    bottom: 0;
}

.mpdtabs-style4.mpt-tab-vertical .nav-tabs li a.active:after {
    right: -12px;
    left: inherit;
    bottom: inherit;
    top: 0;
}