/* top left corner */
.ui.rounded,
.ui.builder_button.rounded:before,
.ui.nav.rounded>li:first-child,
.ui.nav.separate.rounded>li,
.ui.nav.separate.rounded>li a:before,
.ui.nav.rounded ul,
.ui.nav.rounded ul>li:first-child,
.ui.nav.rounded>li:first-child a,
.ui.nav.rounded>li:first-child a:before,
.ui.nav.rounded ul>li:first-child a:before,
.ui.module-tab.rounded.vertical .tab-nav,
.ui.module-tab.rounded.vertical .tab-nav li:first-child,
.ui.module-tab.rounded .tab-nav li,
.ui.module-accordion.rounded li:first-child,
.ui.module-accordion.rounded>li:first-child .accordion-title,
.ui.module-accordion.rounded>li:first-child .accordion-title a:before,
.ui.module-accordion.rounded.separate .accordion-title a:before,
.ui.module-callout.rounded,
.ui.module-callout.rounded:before,
.ui.nav.rounded>li:first-child:before,
.ui.nav.fullwidth.rounded:before,
.ui.glossy.rounded .tab-nav>li a:before,
.ui.nav.rounded.separate.vertical li:last-child:before,
.ui.nav.rounded.vertical.separate>li:last-child a:before,
.ui.module-tab.panel.rounded .tab-nav,
.ui.module-tab.panel .tab-nav:before{
    border-top-left-radius:8px
}
/* top right corner */
.ui.rounded,
.ui.builder_button.rounded:before,
.ui.nav.rounded.vertical li:first-child,
.ui.nav.rounded>li:last-child,
.ui.nav.separate.rounded>li,
.ui.nav.separate.rounded>li a:before,
.ui.nav.rounded ul,
.ui.nav.rounded ul>li:first-child,
.ui.nav.rounded>li:last-child a:before,
.ui.nav.rounded ul>li:first-child a:before,
.ui.nav.rounded li:last-child a,
.ui.module-tab.rounded .tab-nav li,
.ui.module-accordion.rounded li:first-child,
.ui.module-accordion.rounded>li:first-child .accordion-title,
.ui.module-accordion.rounded>li:first-child .accordion-title a:before,
.ui.module-accordion.separate.rounded .accordion-title a:before,
.ui.module-callout.rounded,
.ui.module-callout.rounded:before,
.ui.nav.rounded>li:last-child:before,
.ui.nav.rounded.vertical>li:first-child:before,
.ui.nav.fullwidth.rounded:before,
.ui.glossy.rounded .tab-nav>li a:before,
.ui.nav.separate.rounded.vertical li:last-child:before,
.ui.nav.rounded li:last-child:before,
.ui.nav.rounded.vertical li:first-child a:before,
.ui.nav.separate.rounded.vertical>li:last-child a:before,
.ui.module-tab.panel.rounded .tab-nav,
.ui.module-tab.panel .tab-nav:before{
    border-top-right-radius:8px
}
/* bottom right corner */
.ui.rounded,
.ui.nav.rounded>li:last-child,
.ui.nav.separate.rounded>li,
.ui.nav.rounded ul,
.ui.nav.rounded ul>li:last-child,
.ui.nav.rounded li:last-child a,
.ui.module-accordion.rounded li:last-child,
.ui.module-accordion.rounded>li:last-child .accordion-title,
.ui.module-accordion.separate.rounded li.current .accordion-content,
.ui.module-accordion.rounded li:last-child .accordion-content,
.ui.module-callout.rounded{
    border-bottom-right-radius:8px
}
/* bottom left corner */
.ui.rounded,
.ui.nav.rounded.vertical li:last-child,
.ui.nav.rounded>li:first-child,
.ui.nav.rounded.separate>li,
.ui.nav.rounded ul,
.ui.nav.rounded ul>li:last-child,
.ui.nav.rounded>li:first-child a,
.ui.module-tab.rounded.vertical .tab-nav,
.ui.module-tab.rounded.vertical .tab-nav li:last-child,
.ui.module-accordion.rounded li:last-child,
.ui.module-accordion.rounded>li:last-child .accordion-title,
.ui.module-accordion.separate.rounded li.current .accordion-content,
.ui.module-accordion.rounded li:last-child .accordion-content,
.ui.module-callout.rounded{
    border-bottom-left-radius:8px
}
/* no top-left corner */
.ui.nav.separate.vertical ul li:not(:first-child) a:before,
.ui.tab.vertical .tab-nav li:not(:first-child) a:before,
.ui.module-tab.panel.rounded .tab-content,
.ui.module-tab.vertical li:last-child a:before{
    border-top-left-radius:0;
}
/* no top-right corner */
.ui.nav.separate.vertical ul li:not(:first-child) a:before,
.ui.tab.vertical .tab-nav li:not(:first-child) a:before,
.ui.nav.fullwidth.rounded li:last-child a,
.ui.nav.fullwidth.rounded li:last-child,
.ui.nav.rounded.vertical li:last-child,
.ui.module-tab.panel.rounded .tab-content,
.ui.module-tab.vertical li:first-child a:before,
.ui.module-tab.vertical li:last-child a:before{
    border-top-right-radius:0
}
/* no bottom-left corner */
.ui.nav.rounded.vertical>li:first-child,
.ui.nav.rounded.vertical>li:first-child a,
.ui.module-accordion.rounded>li:last-child.current .accordion-title,
.ui.module-accordion.separate.rounded li.current .accordion-title{
    border-bottom-left-radius:0;
}
/* no bottom-right */
.ui.nav.rounded.vertical>li:first-child,
.ui.nav.rounded.vertical>li:first-child a,
.ui.nav.fullwidth.rounded li:last-child a,
.ui.nav.fullwidth.rounded li:last-child,
.ui.module-accordion.rounded>li:last-child.current .accordion-title,
.ui.module-accordion.separate.rounded li.current .accordion-title{
    border-bottom-right-radius:0
}
/* all border-radius */
.ui.nav.rounded.vertical.separate>li:first-child,
.ui.nav.rounded.vertical.separate>li:first-child a,
.ui.nav.rounded.vertical.separate>li:last-child,
.ui.nav.rounded.vertical.separate>li:last-child a,
.ui.module-accordion.separate.rounded li,
.ui.module-accordion.separate.rounded .accordion-title,
.ui.module-tab.rounded .tab-content{
    border-radius:8px
}
/* no border-radius all */
.ui.nav.rounded.vertical>li:last-child:before,
.ui.module-tab.rounded.vertical .tab-nav li,
.ui.nav.rounded.vertical>li:last-child a:before{
    border-radius:0
}