/*
Theme Name: USPC Domestic 2014
Author: Marlyse Comte for Barkley + Team Traction
Author URI: http://teamtraction.com/
Description: Theme for the US Playing Card Domestic Site with a Custom CASINO page - based off of the Wordpress twentytweleve theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, gray, white, one-column, two-columns, right-sidebar, flexible-width, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
Text Domain: USPC Domestic

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
/* =Notes
--------------------------------------------------------------
This stylesheet uses rem values with a pixel fallback. The rem
values (and line heights) are calculated using two variables:

$rembase:     14;
$line-height: 24;

---------- Examples

* Use a pixel value with a rem fallback for font-size, padding, margins, etc.
	padding: 5px 0;
	padding: 0.357142857rem 0; (5 / $rembase)

* Set a font-size and then set a line-height based on the font-size
	font-size: 16px
	font-size: 1.142857143rem; (16 / $rembase)
	line-height: 1.5; ($line-height / 16)

---------- Vertical spacing

Vertical spacing between most elements should use 24px or 48px
to maintain vertical rhythm:

.my-new-div {
	margin: 24px 0;
	margin: 1.714285714rem 0; ( 24 / $rembase )
}

---------- Further reading

http://snook.ca/archives/html_and_css/font-size-with-rem
http://blog.typekit.com/2011/11/09/type-study-sizing-the-legible-letter/


/* =Reset
-------------------------------------------------------------- */
html {
  background: white url("images/bg/html_bg.png") repeat-x top center;
  overflow-x: hidden; }

body {
  background: url("images/bg/body_bg.png") no-repeat center 11.42em;
  *background-position-y: 11.35em; }

.icon img {
  width: 20px;
  height: auto;
  margin: 5px 0 7px 5px; }

.entry-content .icon img {
  width: 30px;
  height: auto;
  margin: 0 0 7px 5px; }

.entry-content img {
  width: 100%; }

.img-wrap {
  position: relative; }

.clear {
  height: 0;
  clear: both;
  width: 100%; }

.noPad {
  padding: 0; }

.pad2 {
  padding: 2px; }

.rB_corner {
  background: url("images/elements/r_corner.png") no-repeat center -50%;
  width: 37px;
  height: 19px;
  position: absolute;
  bottom: 0;
  right: -20px;
  z-index: 200; }

.lB_corner {
  background: url("images/elements/l_corner.png") no-repeat center -50%;
  width: 37px;
  height: 19px;
  position: absolute;
  bottom: 0;
  left: -20px;
  z-index: 200; }

.rT_corner {
  background: url("images/elements/rT_corner.png") no-repeat center -50%;
  width: 37px;
  height: 19px;
  position: absolute;
  top: 0;
  right: -20px;
  z-index: 200; }

.lT_corner {
  background: url("images/elements/lT_corner.png") no-repeat center -50%;
  width: 37px;
  height: 19px;
  position: absolute;
  top: 0;
  left: -20px;
  z-index: 200; }

.L {
  float: left; }

.entry-content ul li {
  list-style: none;
  font-size: 0.875em;
  padding: 0 0 0.75em 1.2em;
  background: url("images/elements/bullet.png") no-repeat left top; }

.entry-content p a,
.entry-content ul li a {
  color: #EC2124; }

.entry-content p a:hover {
  color: #202558; }

.entry-content ol li {
  list-style: none;
  font-size: 0.813em; }

hr {
  border-bottom: 1px #CCC solid; }

table {
  border: none;
  width: 100%; }

table tr {
  background: none !important; }

table tr td {
  padding: 0.215em 0.625em; }

table tr td:first-child + td {
  text-align: right; }

/* ---------------- CUSTOM HEADERS ---------------- */
.entry-content h1, h2, h3, h4, h5, h6 {
  color: #202558;
  text-transform: uppercase; }

#page_title tr {
  width: 100%; }

#page_title td h4 {
  font-family: 'Crete Round', serif;
  font-weight: normal;
  font-style: italic;
  color: #EC2124;
  text-transform: none; }

/* ---------------- SIDEBAR MOBILE NAV ---------------- */
#top_nav ul li #mobile_menu {
  padding: 18px 15px 0 5px;
  background: none; }

#top_nav ul li #mobile_menu img {
  /* hardware acceleration */
  -webkit-transform: rotate3d(0, 0, 1, 0deg);
  -moz-transform: rotate3d(0, 0, 1, 0deg);
  -ms-transform: rotate3d(0, 0, 1, 0deg);
  -o-transform: rotate3d(0, 0, 1, 0deg);
  transform: rotate3d(0, 0, 1, 0deg);
  -webkit-transition: all .1s ease-in;
  -moz-transition: all .1s ease-in;
  -ms-transition: all .1s ease-in;
  -o-transition: all .1s ease-in;
  transition: all .1s ease-in; }

#top_nav ul li #mobile_menu .mobile_active {
  /* hardware acceleration */
  -webkit-transform: rotate3d(0, 0, 1, 45deg);
  -moz-transform: rotate3d(0, 0, 1, 45deg);
  -ms-transform: rotate3d(0, 0, 1, 45deg);
  -o-transform: rotate3d(0, 0, 1, 45deg);
  transform: rotate3d(0, 0, 1, 45deg);
  -webkit-transition: all .1s ease-in;
  -moz-transition: all .1s ease-in;
  -ms-transition: all .1s ease-in;
  -o-transition: all .1s ease-in;
  transition: all .1s ease-in; }

#sidebar {
  font-family: "Arial", Helvetica Neue, Helvetica, sans-serif;
  font-weight: bold;
  color: #202558;
  background: #FFF; }

#sidebar ul li {
  list-style: none;
  text-align: center;
  border-bottom: 1px #CCC inset;
  padding: 0 0 20px 0; }

#sidebar ul li a {
  background: url("images/bg/link_bg.png") repeat-x;
  background-position: 0 -7px;
  /* hardware acceleration */
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  transition: background-position .1s ease-in;
  -webkit-transition: background-position .1s ease-in;
  -moz-transition: background-position .1s ease-in;
  -o-transition: background-position .1s ease-in;
  -ms-transition: background-position .1s ease-in;
  text-transform: uppercase;
  height: 100%;
  padding: 23px 10px 0 10px;
  display: block; }

#sidebar ul li a:hover {
  background-position: 0 0px; }

/* ---------------- TOP NAV ---------------- */
.active_menu a {
  background-position: 0 7px !important; }

#top_nav {
  position: relative;
  z-index: 5000;
  height: 60px;
  width: 100%;
  background: url("images/bg/top_nav_bg.png") repeat-x center;
  font-family: "Arial", Helvetica Neue, Helvetica, sans-serif;
  font-weight: bold; }

#top_nav .ln {
  float: left; }

#top_nav .rn {
  float: right; }

#top_nav ul {
  height: 60px; }

#top_nav ul li {
  float: left;
  list-style: none;
  padding-top: 13px; }

#top_nav ul li a {
  background: url("images/bg/link_bg.png") repeat-x;
  background-position: 0 -7px;
  /* hardware acceleration */
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  transition: background-position .1s ease-in;
  -webkit-transition: background-position .1s ease-in;
  -moz-transition: background-position .1s ease-in;
  -o-transition: background-position .1s ease-in;
  -ms-transition: background-position .1s ease-in;
  text-transform: uppercase;
  height: 100%;
  margin: 0 12px;
  padding: 23px 10px 0 10px;
  display: block; }

#top_nav ul li a:hover {
  background-position: 0 7px; }

.top_nav_links {
  margin-top: -132px !important;
  position: relative; }

.hide_b {
  display: none; }

#logo {
  background: url("images/bg/logo_bg.png") no-repeat top center;
  width: 11.813em;
  height: 7em;
  width: 200px;
  margin: 0 auto; }

#logo a {
  *display: block;
  position: relative;
  z-index: 5000; }

#logo img {
  margin: 4% 25% 0 28%;
  *position: absolute;
  *top: 0;
  *left: 0; }

.page-id-2 #page-id-2,
.page-id-19 #page-id-19,
.page-id-60 #page-id-60,
.page-id-157 #page-id-157,
.page-id-171 #page-id-171 {
  background-position: 0 7px; }

.page-id-2 #sidebar #page-id-2,
.page-id-19 #sidebar #page-id-19,
.page-id-60 #sidebar #page-id-60,
.page-id-157 #sidebar #page-id-157,
.page-id-171 #sidebar #page-id-171 {
  background-position: 0 0px; }

/* ---------------- FANCY HEADER ---------------- */
.home .fancy_header {
  margin: 0; }

.fancy_header {
  background: #202558;
  position: relative;
  width: 100%;
  padding: 20px 50px;
  margin: 20px 0;
  /*IE7*/
  *width: 90%;
  *padding: 20px 5%; }

.fancy_line {
  background: url("images/bg/w_line.jpg") repeat-x center;
  padding: 0 10px;
  width: 100%; }

.fancy_L {
  background: url("images/bg/fancy_l.png") no-repeat center left;
  padding-left: 32px; }

.fancy_R {
  background: url("images/bg/fancy_r.png") no-repeat center right;
  padding-right: 32px; }

.fancy_header h4 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: normal;
  color: #FFF;
  text-align: center;
  margin: 0;
  text-transform: none; }

.b-bg {
  background: #202558;
  display: inline-block;
  padding: 0 5px; }

/* ---------------- BRAND SLIDER ---------------- */
#brand_slider {
  background: #202558; }

#brand_tank {
  position: relative;
  margin-bottom: 1.875em; }

.tank {
  overflow: hidden;
  display: block;
  width: 100%;
  height: 0;
  padding: 0 0 75% 0;
  position: relative; }

.tank img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  /* hardware acceleration */
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  transition: top .1s ease;
  -webkit-transition: top .1s ease;
  -moz-transition: top .1s ease;
  -o-transition: top .1s ease;
  -ms-transition: top .1s ease; }

.tank img:hover {
  top: -101%; }

/* ---------------- POP UP GALLERY ---------------- */
#pop-up {
  position: absolute;
  background: url("images/bg/trans_w.png") repeat;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 20000;
  display: none; }

#pop-up .pop-wrap {
  background: #202558;
  position: relative;
  padding: 20px; }

#pop-up .pop-wrap img {
  width: 100%; }

#pop-up #prev, #pop-up #next {
  position: absolute;
  height: 100%;
  width: 50%;
  z-index: 20001;
  top: 0;
  cursor: pointer; }

#pop-up #prev {
  background: url("images/bg/arrow_L.png") no-repeat center left;
  left: -10px; }

#pop-up #next {
  background: url("images/bg/arrow_R.png") no-repeat center right;
  right: -10px; }

/* ---------------- SLIDE SHOW ---------------- */
.entry-header {
  margin-top: -2px;
  position: relative; }

.entry-header img {
  width: 100%; }

.cycle-wrap {
  position: relative; }

.cycle-wrap-2 {
  position: relative; }

#cycle-pager-con {
  position: absolute;
  right: 0;
  top: 12%;
  z-index: 200; }

.cycle-pager-con-2 {
  position: absolute;
  left: 50%;
  bottom: -20%;
  z-index: 200; }

.cycle-pager-con-2 .cycle-pager {
  background: none;
  padding: 0;
  margin-left: -50%; }

.cycle-cap {
  background: url("images/bg/cycle_pager_cap.png") no-repeat;
  width: 7px;
  height: 27px;
  float: left; }

.cycle-pager {
  background: url("images/bg/cycle_pager_bg.png") repeat;
  padding-right: 10px;
  height: 27px;
  float: left; }

.cycle-pager a {
  background: url("images/bg/cycle_pager_tab_blue.png") no-repeat center;
  height: 13px;
  width: 13px;
  padding: 12.5px 8px;
  display: block;
  float: left;
  /*IE7*/
  *padding-left: 0;
  *padding-top: 0; }

.cycle-pager .cycle-pager-active {
  background: url("images/bg/cycle_pager_tab_red.png") no-repeat center; }

/* ---------------- HEADER TITLE ---------------- */
#page_title {
  position: relative;
  margin-top: -31px;
  z-index: 200;
  text-align: center;
  border: none;
  background: none;
  width: 100%; }

#page_title td {
  padding: 0; }

#title_C {
  width: 90%;
  background: white url("images/bg/title_C.png") repeat-x bottom;
  text-align: center; }

#title_L, #title_R {
  width: 5%; }

#title_L img, #title_R img {
  height: 80%;
  width: 100%; }

/* ---------------- END CONTAINER ---------------- */
#end_con {
  position: relative;
  background: #202558;
  padding: 20px;
  margin: 20px 0; }

#end_con p {
  text-align: center;
  color: #FFF;
  font-style: italic;
  font-size: 16px;
  margin: 0; }

/* ---------------- FOOTER ---------------- */
footer {
  padding: 20px 0; }

footer p {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 0.625em;
  color: #A7A9AC;
  text-align: center; }

/* ---------------- MEDIA QUERIES ---------------- */
@media only screen and (max-width: 768px) {
  html, body {
    background: none; }

  .hide_s {
    display: none; }

  .hide_b {
    display: block; }

  .rB_corner, .rT_corner, .lT_corner, .lB_corner {
    display: none; }

  .cycle-wrap-2 {
    margin-bottom: 40px; } }
/* ---------------- MOBILE BROWSERS ---------------- */
a {
  -webkit-tap-highlight-color: transparent;
  -moz-tap-highlight-color: transparent;
  -ms-tap-highlight-color: transparent;
  -o-tap-highlight-color: transparent;
  tap-highlight-color: transparent; }

/* ---------------- IE7 and below fix ---------------- */
* {
  *behavior: url(box-sizing.htc); }

/* ---------------- 2014 CASINO PAGE CUSTOMIZATION ---------------- */
html#casino {
  background-image: url("images/bg/html_bgRed.jpg");
  background-position-y: -4px;
  background-repeat: repeat-x; }
  html#casino body {
    background: none; }
  html#casino .rT_corner, html#casino .rB_corner,
  html#casino .lT_corner, html#casino .lB_corner {
    display: none; }
  html#casino .intro {
    position: absolute;
    top: 0;
    width: 50%;
    padding: 11% 3% 3%;
    font-family: Arial, "Helvetica Neue", "Helvetica", Helvetica, sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: 1.2em;
    color: #fff;
    text-rendering: optimizeLegibility;
    line-height: 1.2125em; }
  html#casino .fancy_header {
    margin-top: 0;
    margin-bottom: 1.25em;
    padding: 0;
    background-color: #fff; }
    html#casino .fancy_header .fancy_L, html#casino .fancy_header .fancy_R {
      background: none;
      padding: 0; }
    html#casino .fancy_header .fancy_line {
      background-color: transparent;
      background-repeat: no-repeat;
      background-position: top center;
      background-size: 100%;
      background-image: url("images/elements/divider.png");
      width: 100%;
      height: auto;
      display: block;
      padding: 0; }
      html#casino .fancy_header .fancy_line h4 {
        color: #202558;
        padding: 0 15px;
        font-family: Arial, 'Helvetica Neue', Helvetica, Helvetica, sans-serif;
        font-size: 23px;
        font-style: normal;
        font-weight: bold;
        line-height: 32px;
        text-align: left;
        text-rendering: optimizelegibility;
        text-transform: uppercase; }
        html#casino .fancy_header .fancy_line h4 .b-bg {
          background-color: inherit;
          display: block;
          padding: 60px 0 10px 0; }
  html#casino .entry-content .columns.large-6.medium-6 .minMargin {
    margin-top: -60px;
    padding-left: 20px; }
  html#casino .entry-content .columns.large-6.medium-6 #end_con {
    position: relative;
    background: transparent;
    padding: 0 20 20px;
    margin: 0 0 20px; }
    html#casino .entry-content .columns.large-6.medium-6 #end_con p {
      margin: 0;
      text-align: left;
      color: #d02434;
      font-family: Arial, 'Helvetica Neue', Helvetica, Helvetica, sans-serif;
      font-size: 2.25em;
      line-height: 1em;
      font-weight: bold; }
  html#casino .page-id-171 .entry-content + #end_con {
    display: none; }
  html#casino .large-8 .panel {
    margin: 0 20px; }

@media only screen and (max-width: 768px) {
  html#casino {
    background: none; }
    html#casino .intro {
      padding: 8% 3% 3% 2%;
      font-size: 1.1em; }
    html#casino .entry-header {
      background-color: #d1202c; }
    html#casino .entry-content .columns.large-6.medium-6 .minMargin {
      margin-top: 0; }
    html#casino .large-4 {
      text-align: center; } }
@media only screen and (max-width: 680px) {
  html#casino .intro {
    padding: 8% 3% 3% 2%;
    font-size: 1em; } }
@media only screen and (max-width: 620px) {
  html#casino .intro {
    padding: 8% 3% 3% 2%;
    font-size: 0.9em; } }
@media only screen and (max-width: 580px) {
  html#casino .entry-header img.attachment-full.wp-post-image {
    padding-top: 10px; }
  html#casino .intro {
    padding: 7% 7% 3% 2%;
    font-size: 0.8em; } }
@media only screen and (max-width: 500px) {
  html#casino .intro {
    padding: 5% 8% 3% 2%;
    font-size: 0.7em; } }
@media only screen and (max-width: 410px) {
  html#casino .intro {
    padding: 6% 5% 3% 2%;
    font-size: 0.6em; } }
@media only screen and (max-width: 380px) {
  html#casino .intro {
    display: none; }
  html#casino .fancy_line {
    background-image: none !important; }
  html#casino .large-4 img {
    width: 50%; }
  html#casino .entry-content .columns.large-6.medium-6 .minMargin {
    margin-top: 0; }
  html#casino .entry-content .columns.large-6.medium-6 #end_con p {
    text-align: center; } }
