/* * * Magical addons tabs style * * */ .item-visiable { opacity: 1 !important; visibility: visible !important; } ul.nav.nav-tabs { clear: both; } ul.nav.nav-tabs li { list-style: none; float: left; } .nav>li>a { position: relative; display: block; padding: 10px 15px; } .nav { padding-left: 0; margin-bottom: 0; list-style: none; } .nav-tabs>li>a { margin-right: 2px; line-height: 1.42857143; border: 1px solid transparent; border-radius: 4px 4px 0 0; } .nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover { color: #555; cursor: default; background-color: #fff; border: 1px solid #ddd; border-bottom-color: transparent; } .nav>li { position: relative; display: block; } .nav-tabs>li { float: left; margin-bottom: -1px; } .nav:after, .nav:before, .navbar-collapse:after, .navbar-collapse:before, .navbar-header:after, .navbar-header:before, .navbar:after, .navbar:before, .pager:after, .pager:before, .panel-body:after, .panel-body:before, .row:after, .row:before { display: table; content: " "; } .nav:after, .navbar-collapse:after, .navbar-header:after, .navbar:after, .pager:after, .panel-body:after, .row:after { clear: both; } .nav-tabs { border-bottom: 1px solid #ddd; } .tab-pane:not(.active) { display: none; } .mgtab-nav-wrap ul.nav { margin: 0; padding: 0; list-style: none; } .tab-content.mgtab-content { padding: 15px; overflow: hidden; } .mgt-style1 .nav-tabs{ position: relative; border-bottom: none; } ul.nav.nav-tabs { display: flex; width: 100%; overflow: inherit; background: #fff; } .mgv-tabs { display: flex; } .mgv-tmenu { flex: 0 0 20%; min-width: 150px; max-width: 220px; width: auto; } .mgv-tmenu ul.nav.nav-tabs { display: flex; flex-direction: column; } .mgv-tcontent { display: inline-flex; } .mgt-style1 .nav-tabs li{ margin: 0; } .mgt-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.mgtab-content { margin-left: auto; margin-right: auto; } .mgt-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; } .mgt-style1 .nav-tabs li a.active:after{ background: #eee6d2; transform: perspective(900px) rotate3d(1, 0, 0, 0deg); } .mgt-style1 .nav-tabs li a.active, .mgt-style1 .nav-tabs li a:hover{ color: #4b489b; border: none; } .mgt-style1 .tab-content{ padding: 20px; color: #757575; } .mgt-style1{ background: #ededed; } @media only screen and (max-width: 479px){ .mgt-style1 .nav-tabs li{ width: 100%; text-align: center; } } /*Tab style two*/ .mgt-style2 .nav-tabs{ background: #fff; border-top: 3px solid #303335; } .mgt-style2 .nav-tabs li{ margin: 0; } .mgt-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; } .mgt-style2 .nav-tabs li a:hover{ border-top: none; border-bottom: none; border-right-color: #c2c2c2; } .mgt-style2 .nav-tabs li a.active, .mgt-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; } .mgt-style2 .nav-tabs li a.active:hover{ border-right-color: #c2c2c2; } .mgt-style2 .tab-content{ font-size: 13px; color: #999898; line-height: 25px; background: #fff; padding: 20px; } .mgt-style2 .tab-content h3{ font-size: 24px; color: #999898; margin-top: 0; } @media only screen and (max-width: 480px){ .mgt-style2 .nav-tabs{ border-top: none; } .mgt-style2 .nav-tabs li{ width:100%; } .mgt-style2 .nav-tabs li a{ border: none; border-bottom: 1px solid #c2c2c2; } .mgt-style2 .nav-tabs li a:hover{ border-bottom: 1px solid #c2c2c2; } .mgt-style2 .nav-tabs li:last-child a{ border-bottom: none; } .mgt-style2 .nav-tabs li a.active:hover, .mgt-style2 .nav-tabs li a.active{ border-bottom: 1px solid #c2c2c2; border-right: none; } } /*Style three*/ .mgt-style3 .nav-tabs{ box-shadow: -1px 0 2px #6676ff; border-bottom: 0 none; background: #333; } /* .mgt-style3 .nav-tabs li{ width: 25%; } */ .mgt-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; } .mgt-style3 .tab-content p{ color:#fff; } .mgt-style3 .nav-tabs li a:hover{ background: #6676ff; } .mgt-style3 .nav-tabs li a.active, .mgt-style3 .nav-tabs li a.active:focus, .mgt-style3 .nav-tabs li a.active:hover{ border: none; background: #6676ff; color: #fff; transition: all 0.20s ease 0s; } .mgt-style3 .nav-tabs li a.active:after { content: ""; position: absolute; bottom: -25px; left: 44%; border: 15px solid transparent; border-top-color: #6676ff; } .mgt-style3 .tab-content{ font-size: 14px; color: #fff; background: #333; line-height: 25px; padding: 20px; } .mgt-style3 .tab-content h3{ font-size: 20px; color: #6676ff; } /*Style four*/ .mgt-style4 .nav-tabs{ border-bottom: 0 none; } .mgt-style4 .nav-tabs li{ margin-right: 2px; } .mgt-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; } .mgt-style4 .nav-tabs li a.active:after{ content: ""; position: absolute; bottom: -12px; left: 0; border-bottom: 15px solid transparent; border-left: 15px solid #4aaaa5; } .mgt-style4 .nav-tabs li a.active, .mgt-style4 .nav-tabs li a.active:focus, .mgt-style4 .nav-tabs li a.active:hover{ border: none; background: #4aaaa5; color: #fff; transition: all 0.20s linear 0s; } .mgt-style4 .tab-content{ font-size: 15px; color: #808080; border: 0 none; line-height: 25px; margin-top: 15px; } .mgt-style4 .tab-content h3{ margin-top: 10px; font-size: 24px; } @media only screen and (max-width: 479px){ .mgt-style4 .nav-tabs li{ width: 100%; margin-bottom: 5px; } .mgt-style4 .nav-tabs li a{ padding: 20px; } .mgt-style4 .nav-tabs li a.active:after{ border: none; } .mgt-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); } } .mgt-icon-top { text-align: center; margin-bottom: 3px; display: block; } .mgt-icon-left { text-align: left; margin-right: 3px; display: inline-block; } .mgt-icon-bottom { text-align: center; margin-top: 3px; display: block; } .mgt-icon-right { text-align: right; margin-left: 3px; display: inline-block; } .mgtab-nav-wrap{ border-bottom: 1px solid #ededed; } .mgnav-fit ul { display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; } /*vartical tab sytle*/ .mg-tab-vertical .nav-tabs li.nav-item { display: block; width: 100%; } .mgt-style2.mg-tab-vertical .nav-tabs li.nav-item { border-bottom: 1px solid #ededed; } .mgt-style3.mg-tab-vertical .nav-tabs li a.active:after { left: inherit; right: -36px; transform: rotate(-90deg); top: 0; bottom: 0; } .mgt-style4.mg-tab-vertical .nav-tabs li a.active:after { right: -12px; left: inherit; bottom: inherit; top: 0; } @media only screen and (max-width: 768px) { .mgv-tabs { flex-flow: row wrap; } .mgv-tmenu { flex: 0 0 100%; width: 100%; max-width: inherit; } .mg-tab-vertical .nav-tabs li.nav-item { width: auto; display: inline-block; } .mgv-tmenu ul.nav.nav-tabs { flex-direction: row; flex-flow: row wrap; } } @media only screen and (max-width: 480px) { .mgt-style3 .nav-tabs li { width: 100%; margin-bottom: 2px; } .mgt-style3 .nav-tabs li a.active:after { border: none; } }