/**
 * @file
 * Tabs Styling
 *
 * Adds styles for the primary and secondary tabs.
 *
 * Compare this with default CSS found in the system module's stylesheet (a copy
 * of which is in drupal7-reference.css.)
 */


/*
 * Basic positioning styles shared by primary and secondary tabs.
 */

ul.primary,
ul.secondary {
  overflow: hidden;
  *zoom: 1;
  border-bottom: 1px solid #bbbbbb;
  list-style: none;
  margin: 1em 0 1.5em;
  padding: 0 2px;
  white-space: nowrap;
}

ul.primary li,
ul.secondary li {
  float: left; /* LTR */
  margin: 0.5em 3px 0;
}

ul.primary a,
ul.secondary a {
  border: 1px solid #e9e9e9;
  border-right: 0;
  border-bottom: 0;
  display: block;
  line-height: 1.5em;
  text-decoration: none;
}

/*
 * Primary tabs
 */

ul.primary li {
  -moz-border-radius-topleft: 4px;
  -webkit-border-top-left-radius: 4px;
  -o-border-top-left-radius: 4px;
  -ms-border-top-left-radius: 4px;
  -khtml-border-top-left-radius: 4px;
  border-top-left-radius: 4px;
  -moz-border-radius-topright: 4px;
  -webkit-border-top-right-radius: 4px;
  -o-border-top-right-radius: 4px;
  -ms-border-top-right-radius: 4px;
  -khtml-border-top-right-radius: 4px;
  border-top-right-radius: 4px;
  text-shadow: white 1px 1px 0;
  border: 1px solid #bbbbbb;
  border-bottom: 0;
  margin: 0.5em 0 0 3px; /* LTR */
}

ul.primary li.active {
  border-bottom: 1px solid white;
  margin-bottom: -1px; /* Overlap the ul's border. */
}

ul.primary a:link,
ul.primary a:visited {
  -moz-border-radius-topleft: 4px;
  -webkit-border-top-left-radius: 4px;
  -o-border-top-left-radius: 4px;
  -ms-border-top-left-radius: 4px;
  -khtml-border-top-left-radius: 4px;
  border-top-left-radius: 4px;
  -moz-border-radius-topright: 4px;
  -webkit-border-top-right-radius: 4px;
  -o-border-top-right-radius: 4px;
  -ms-border-top-right-radius: 4px;
  -khtml-border-top-right-radius: 4px;
  border-top-right-radius: 4px;
  -moz-transition: background-color 0.3s;
  -webkit-transition: background-color 0.3s;
  -o-transition: background-color 0.3s;
  transition: background-color 0.3s;
  color: #333;
  background-color: #dedede;
  letter-spacing: 1px;
  padding: 0 1em;
  text-align: center;
}

ul.primary a:hover,
ul.primary a:focus {
  background-color: #e9e9e9;
  border-color: #f2f2f2;
}

ul.primary a.active {
  background-color: transparent;
  *zoom: 1;
  filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FFE9E9E9', endColorstr='#00E9E9E9');
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e9e9e9), color-stop(100%, rgba(233, 233, 233, 0)));
  background-image: -webkit-linear-gradient(#e9e9e9, rgba(233, 233, 233, 0));
  background-image: -moz-linear-gradient(#e9e9e9, rgba(233, 233, 233, 0));
  background-image: -o-linear-gradient(#e9e9e9, rgba(233, 233, 233, 0));
  background-image: -ms-linear-gradient(#e9e9e9, rgba(233, 233, 233, 0));
  background-image: linear-gradient(#e9e9e9, rgba(233, 233, 233, 0));
  border-color: #fff;
}

/*
 * Secondary tabs
 */

ul.secondary {
  font-size: .9em;
  margin-top: -1.5em; /* Collapse bottom margin of ul.primary. */
  padding-bottom: .5em;
}

ul.secondary a:link,
ul.secondary a:visited {
  -moz-border-radius: 0.75em;
  -webkit-border-radius: 0.75em;
  -o-border-radius: 0.75em;
  -ms-border-radius: 0.75em;
  -khtml-border-radius: 0.75em;
  border-radius: 0.75em;
  -moz-transition: background-color 0.3s;
  -webkit-transition: background-color 0.3s;
  -o-transition: background-color 0.3s;
  transition: background-color 0.3s;
  text-shadow: white 1px 1px 0;
  background-color: #f2f2f2;
  color: #666;
  padding: 0 .5em;
}

ul.secondary a:hover,
ul.secondary a:focus {
  background-color: #dedede;
  border-color: #999;
  color: #333;
}

ul.secondary a.active,
ul.secondary a:active {
  text-shadow: #333333 1px 1px 0;
  background-color: #666;
  border-color: #000;
  color: #fff;
}

/* Quicktabs */
/* Move this all to the same file with the deck styles */

/* Quicktabs - Based on Sky theme style
 * http://drupal.org/project/sky


 */
 
#quicktabs-tabbed-deck {

}

.quicktabs_main.quicktabs-style-nostyle {
  border: none;
  clear: both;
  padding: 0;
  position: relative;
  top: -10px;
  margin: 0;
}

ul.quicktabs-tabs.quicktabs-style-nostyle {
  margin: 0 0 0 9px;
  padding: 0;
  width: 100%;
  height: 30px;
  position: relative;
  z-index: 99;
}
/* default color: #6d6555 */
/* hilite color: #342d28 */
/* 1px border below: #CFC9C5 */
/* hi tab bg color: #EDEAE1 */

/*

Basically a 2px border below, but the tabs are moved down one px over it.
lo-tabs should have a 1px bottom border of #F6F5F4
hi tabs should have a 1px bottom border of #EDEAE1
and a 2-px border on either side.

*/

ul.quicktabs-tabs.quicktabs-style-nostyle li {
  float: left;
  font-family: "open-sans", arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  list-style: none;
  height: 30px;
  min-height: 30px;
  margin: 0;
  padding: 0;
  background: url('../images/deck/deck-tab-bg.png') repeat-x bottom left;
}

ul.quicktabs-tabs.quicktabs-style-nostyle li.active {
  margin: 0 0 0 0;
  background: #EDEAE1;
}

ul.quicktabs-tabs.quicktabs-style-nostyle li a,
ul.quicktabs-tabs.quicktabs-style-nostyle li a:visited {
  float: left;
  display: block;
  height: 20px;
  line-height: 100%;
  padding: 9px 17px 0 13px;
  text-decoration: none;
  border-right: 1px solid #CFC9C5;
  border-bottom: 1px solid #F6F5F4;
  color: #b0a392;
  position: relative;
  
}

a#quicktabs-tab-tabbed_deck-1 {
  padding-right: 25px;
  background: url(../images/deck/deck-explore-tri-2.png) no-repeat 96% 86%;
}

li.active a#quicktabs-tab-tabbed_deck-1 {
  background-image: url(../images/deck/deck-explore-tri-on.png);
}

/*
ul.quicktabs-tabs.quicktabs-style-nostyle li a:hover,
ul.quicktabs-tabs.quicktabs-style-nostyle li.active a:hover {
  text-decoration: none;
  border-color: #B3B3B3;
  background: #B3B3B3 url('images/bg-shade-medium.png') repeat-x bottom left;
  color: #fff;
}
*/
ul.quicktabs-tabs.quicktabs-style-nostyle li.active a,
ul.quicktabs-tabs.quicktabs-style-nostyle li.active a:visited {
  margin-top: -1px;
  color: #342d28;
  padding-top: 10px;
  border-left: 1px solid #CFC9C5;
  border-right: 2px solid #CFC9C5;
  border-bottom: #EDEAE1;
}

ul.quicktabs-tabs.quicktabs-style-nostyle li:first-child a {

}

ul.quicktabs-tabs.quicktabs-style-nostyle li.active a {
}

ul.quicktabs-tabs.quicktabs-style-nostyle li a:focus,
ul.quicktabs-tabs.quicktabs-style-nostyle li a:active {
  outline: none;
  
}

/* Opera */
@media all and (min-width: 0px) {
  body .quicktabs_main.quicktabs-style-nostyle {
  }
}
