/*Vertical Tab Videos
_________________________________________________________*/
.vertical-tab-2 #verticaltab ,
.vertical-tab-3 #verticaltab ,
.vertical-tab-4 #verticaltab {
    margin: auto;
    width: 100%;
    height: 100%;
}
#verticaltab > ul > li {
    width: 110px;
    background-color: #909090 !important;
    list-style-type: none;
    display: block;
    text-align: center;
    margin: auto;
    padding: 0 5px 10px;
    border: 1px solid #cdcdcd;
    border-bottom: 0;
    position: relative;
    border-right: none;
}
.vertical-tab-2 #verticaltab > ul > li {  
    height: 200px;
}
.vertical-tab-3 #verticaltab > ul > li {
    height: 133px;
}
.vertical-tab-4 #verticaltab > ul > li {
    height: 100px;
}
/*Selected arrow*/
.vertical-tab-2 #verticaltab .tabs.selected:after {
    content:'';
    position: absolute;
    top: 0;
    left: 100%;
    width: 0;
    height: 0;
    border-left: solid 40px #000;
    border-top: solid 100px transparent;
    border-bottom: solid 100px transparent;
    border-top: solid 100px transparent;
    border-bottom: solid 100px transparent;
}
.vertical-tab-3 #verticaltab .tabs.selected:after {
    content:'';
    position: absolute;
    top: 0;
    left: 100%;
    width: 0;
    height: 0;
    border-left: solid 40px #000;
    border-top: solid 100px transparent;
    border-bottom: solid 100px transparent;
    border-top: solid 66px transparent;
    border-bottom: solid 66px transparent;
}
.vertical-tab-4 #verticaltab .tabs.selected:after {
    content:'';
    position: absolute;
    top: 0;
    left: 100%;
    width: 0;
    height: 0;
    border-left: solid 40px #000;
    border-top: solid 100px transparent;
    border-bottom: solid 100px transparent;
    border-top: solid 50px transparent;
    border-bottom: solid 50px transparent;
}

/*tab shadows to look like buttons*/
#verticaltab .tabs:before, #verticaltab .tabs:after {
    content: '';
    display: block;
    position: absolute;
    left: 2px;
    right: 2px;
    height: 3px;
}
#verticaltab .tabs:before {
    top: 0;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 4px;
    background: rgba(255,255,255,.6);
    box-shadow: 0 1px 3px 0 rgba(255,255,255,.6);
}
#verticaltab .tabs:after {
    bottom: 0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background: rgba(0,0,0,.15);
    box-shadow: 0 -1px 3px 0 rgba(0,0,0,.15);
}
/*remove tab shadows if selected*/
#verticaltab .tabs.selected:before, #verticaltab .tabs.selected:after {
    content: '';
    display: block;
    position: absolute;
    left: 2px;
    right: 2px;
    height: 3px;
}
#verticaltab .tabs.selected:before {
    top: 0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    background: none;
    box-shadow: none;
}
#verticaltab .tabs.selected:after {
    bottom: 0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background: none;
    box-shadow: none;
}
#verticaltab .tabs { 
    font-size: 13px;
    line-height: 30px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
}
#verticaltab > ul > li.selected a, #verticaltab > ul > li a:hover {
    color: #fff;
}
#verticaltab > ul > li.tabs {
    background: #F0FFF0;
}
#verticaltab > ul > li.selected {
    z-index: 10;
    background-color: #000 !important;
    position: relative;
    color: #fff;

}
#verticaltab > ul {
    float: left;
    width: 110px;
    text-align: left;
    display: block;
    margin: auto 0;
    padding: 0;
    position: relative;
}
#verticaltab > .vertical-tab-video {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#393941+0,29292f+10,29292f+90,393941+100 */
    background: #393941; /* Old browsers */
    background: -moz-linear-gradient(top, #393941 0%, #29292f 10%, #29292f 90%, #393941 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #393941 0%,#29292f 10%,#29292f 90%,#393941 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #393941 0%,#29292f 10%,#29292f 90%,#393941 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#393941', endColorstr='#393941',GradientType=0 ); /* IE6-9 */
    margin-left: 110px;
    border: 8px solid #808080;
    min-height: 400px;
    padding: 40px 0 0 0;
    position: relative;
    z-index: 9;
    border-radius: 0 20px 20px 0;
}
#verticaltab > div > h4 {
    color: #2F4F4F;
    font-size: 1.2em;
    padding-top: 5px;
    margin-top: 0;
}
li.tabs:last-child { 
  border-radius: 0 0 0 10px;
}
li.tabs:first-child { 
  border-radius: 10px 0 0 0;
}
 li.tabs img {
    padding-top: 13px;
    opacity: .9;
 }


/*Horizontal Tab Videos
_________________________________________________________*/
.hs-tab,
.he-tab,
.h-tab {
    background-color: #909090 !important;
    border-right: #000 solid 1px;
    min-height: 40px;
    line-height: 40px;
    cursor: pointer;
    color: #000;
    font-weight: 500;
    font-size: 13px;
}
.he-tab:first-child,
.hs-tab:first-child,
.h-tab:first-child {
    border-radius: 10px 0 0 0;
}
.he-tab:last-child,
.hs-tab:last-child,
.h-tab:last-child { 
    border-right: none;
    border-radius: 0 10px 0 0;
}
.horizontal-tab-video{
    background: #393941; /* Old browsers */
    background: -moz-linear-gradient(top, #393941 0%, #29292f 10%, #29292f 90%, #393941 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #393941 0%,#29292f 10%,#29292f 90%,#393941 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #393941 0%,#29292f 10%,#29292f 90%,#393941 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#393941', endColorstr='#393941',GradientType=0 ); /* IE6-9 */
    border: 8px solid #808080;
    padding: 10px;
    position: relative;
    z-index: 9;
    border-radius: 0 0 20px 20px;
}
.he-tab.selected,
.hs-tab.selected,
.h-tab.selected {
    background-color: #000 !important;;
    color: #fff !important;;
}
.he-tab.selected:after,
.hs-tab.selected:after,
.h-tab.selected:after {
    content:'';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -50px;
    width: 0;
    height: 0;
    border-top: solid 50px #000;
    border-left: solid 50px transparent;
    border-right: solid 50px transparent;
    z-index: 10;
}
/*tab shadows to look like buttons*/
#horizontaltab .he-tab:before, #verticaltab .he-tab:after,
#horizontaltab .hs-tab:before, #verticaltab .hs-tab:after,
#horizontaltab .h-tab:before, #verticaltab .h-tab:after {
    content: '';
    display: block;
    position: absolute;
    left: 2px;
    right: 2px;
    height: 3px;
}
#horizontaltab .he-tab:before,
#horizontaltab .hs-tab:before,
#horizontaltab .h-tab:before {
    top: 0;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 4px;
    background: rgba(255,255,255,.6);
    box-shadow: 0 1px 3px 0 rgba(255,255,255,.6);
}


/* Horizontal Tab Activity
_________________________________________________________*/
#horizontaltabactivity {
    background-color: #FBD999 !important;
}
.he-tab-activity,
.hs-tab-activity,
.h-tab-activity {
    background-color: #FBD999 !important;
    border-right: #000 solid 1px;
    min-height: 40px;
    line-height: 40px;
    cursor: pointer;
    color: #000;
    font-size: 16px;
    font-weight: 800;
}
/*tab shadows to look like buttons*/
#horizontaltabactivity .he-tab-activity:before, #verticaltab .he-tab:after,
#horizontaltabactivity .hs-tab-activity:before, #verticaltab .hs-tab:after,
#horizontaltabactivity .h-tab-activity:before, #verticaltab .h-tab:after {
    content: '';
    display: block;
    position: absolute;
    left: 2px;
    right: 2px;
    height: 3px;
}
#horizontaltabactivity .he-tab-activity:before,
#horizontaltabactivity .hs-tab-activity:before,
#horizontaltabactivity .h-tab-activity:before {
    top: 0;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 4px;
    background: rgba(255,255,255,.6);
    box-shadow: 0 1px 3px 0 rgba(255,255,255,.6);
}

.notselected:after {
    bottom: 0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background: rgba(0,0,0,.15);
    box-shadow: 0 -1px 3px 0 rgba(0,0,0,.15);
}
/*Selected Tab*/
/*Selected Tab*/
.he-tab-activity.selected,
.hs-tab-activity.selected,
.h-tab-activity.selected {
    background-color: #000 !important;;
    color: #fff !important;
}
.he-tab-activity.selected:after,
.hs-tab-activity.selected:after,
.h-tab-activity.selected:after {
    content:'';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -50px;
    width: 0;
    height: 0;
    border-top: solid 20px #000;
    border-left: solid 50px transparent;
    border-right: solid 50px transparent;
    z-index: 10;
}

/*.h-tab-activity:last-child { 
    border-right: none;
}*/
.horizontal-tab-activity-left {
    background-color: #fff;
    height: 330px;
    padding: 20px 10px;
    margin: 0 0 10px 10px;
    color: #000;
}
.horizontal-tab-activity-right {
    margin: 10px;
}
#tab-activity_video_frame3,
#tab-activity_video_frame2,
#tab-activity_video_frame {
    height: 100%;
    width: 100%;
     background: #393941; /* Old browsers */
    background: -moz-linear-gradient(top, #393941 0%, #29292f 10%, #29292f 90%, #393941 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #393941 0%,#29292f 10%,#29292f 90%,#393941 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #393941 0%,#29292f 10%,#29292f 90%,#393941 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#393941', endColorstr='#393941',GradientType=0 ); /* IE6-9 */
    border: 8px solid #808080;
}

/* Accordian
_________________________________________________________*/

.panel {
    margin-top: 0;
}

/* Media Queries for all
_________________________________________________________*/
@media screen and (max-width: 1199px) {
    #verticaltab > .vertical-tab-video {
        padding: 80px 0 0 0;
    }
    .horizontal-tab-activity-left {
        height: 235px;
        font-size: 16px;
    }
    .horizontal-tab-activity-right img{
        height: 250px
    }
}

@media screen and (max-width: 991px) {
    #verticaltab > .vertical-tab-video {
        padding: 40px 0 0 0;
    }
    .horizontal-tab-activity-left {
        height: auto;
    }
    .horizontal-tab-activity-right img{
        height: auto;
    }
    .horizontal-tab-activity-left {
        margin: 0 10px 10px 10px;
    }
}
@media screen and (min-width: 768px) {
    #horizontaltab {
        display:none;
    }
}

@media screen and (max-width: 767px) {
    #verticaltab {
        display:none;
    }
    #horizontaltab {
        display:block;
    }
}
@media screen and (max-width: 550px) {  
    .he-tab.selected:after,
    .hs-tab.selected:after,
    .h-tab.selected:after {
        margin-left: -40px;
        border-top: solid 40px #000;
        border-left: solid 40px transparent;
        border-right: solid 40px transparent;
    }
}
@media screen and (max-width: 505px) {  
    .he-tab-activity,
    .hs-tab-activity,
    .h-tab-activity {
        font-size: 14px;
    }
    .he-tab-activity.selected:after,
    .hs-tab-activity.selected:after,
    .h-tab-activity.selected:after {
        margin-left: -40px;
        border-top: solid 15px #000;
        border-left: solid 40px transparent;
        border-right: solid 40px transparent;
    }
}
@media screen and (max-width: 400px) {  
    .he-tab.selected:after,
    .hs-tab.selected:after,
    .h-tab.selected:after {
        margin-left: -30px;
        border-top: solid 30px #000;
        border-left: solid 30px transparent;
        border-right: solid 30px transparent;
    }
    .he-tab-activity,
    .hs-tab-activity,
    .h-tab-activity {
        font-size: 12px;
    }
}
@media screen and (max-width: 350px) {  
    .he-tab-activity.selected:after,
    .hs-tab-activity.selected:after,
    .h-tab-activity.selected:after {
        margin-left: -20px;
        border-top: solid 20px #000;
        border-left: solid 20px transparent;
        border-right: solid 20px transparent;
    }
}
@media screen and (max-width: 300px) {  
    .he-tab.selected:after,
    .hs-tab.selected:after,
    .h-tab.selected:after {
        margin-left: -20px;
        border-top: solid 20px #000;
        border-left: solid 20px transparent;
        border-right: solid 20px transparent;
    }
}
