#menu .mobile-menu-wrapper {
  background-color: #800000;
  color: #fff;
  float: left;
  height: 30px;
}

#menu .mobile-menu-button {
  border: none;
  border-radius: none;
  background: url('../images/mobile-menu-button.png') center no-repeat #8B0000;
  cursor: pointer;
  font-size: 40px;
  height: 30px;
  width: 30px;
}

#menu .mobile-menu {
  display: none;
  background-color: #8B0000;
  color: #fff;
  position: absolute;
  width: 100%;
}

#menu .mobile-menu li a {
  border-bottom: 1px solid #800000;
  clear: both;
  color: #fff;
  display: block;
  padding: 15px;
}

#menu .mobile-menu li a:hover {
  background-color: #900000;
  text-decoration: none;
}

#menu .mobile-menu li:last-child a {
  border-bottom: none;
}

#menu .expanded {
  display: block;
}

#menu .mobile-menu li {
  list-style: none;
  width: 100%;
}

#sidetable_535 h2,
#sidetable_535 .view-header,
#table_540 .view-header,
#plan-results .view-header {
	display: none;
}

#sidetable_535 ul,
#table_540 ul,
#plan-results ul {
	list-style-type: disc;
	padding-left: 15px;
}

#sidetable_535 table,
#table_540 table,
#plan-results table {
	border-collapse:collapse;
	border-spacing:0;
	background-color:#fff;
	-moz-box-shadow:0 1px 3px rgba(0,0,0,.08), inset 0 0 0 1px rgba(255,255,255,.5);
	-webkit-box-shadow:0 1px 3px rgba(0,0,0,.08), inset 0 0 0 1px rgba(255,255,255,.5);
	box-shadow:0 1px 3px rgba(0,0,0,.08), inset 0 0 0 1px rgba(255,255,255,.5);
}

#sidetable_535 table th,
#table_540 table th,
#plan-results table th {
	border:1px solid #dcdcdc;
	padding:20px;
	text-align:left;
}

#table_540 table tr:nth-child(odd) td:nth-child(odd),
#table_540 table tr:nth-child(even) td:nth-child(even),
#plan-results table tr.odd td:nth-child(odd),
#plan-results table tr.even td:nth-child(even) {
  background: rgba(200, 200, 200, 0.2);
}

#table_540 table tbody tr,
#plan-results table tbody tr {
  background: url('../images/row-shadow-inset.png') no-repeat center bottom transparent;
  width: 100%;
}

#table_540 table tr td,
#plan-results table tr td {
	padding: 10px 20px;
}

#table_540 table tbody tr td:first-child,
#plan-results table tbody tr td:first-child {
  border-left: 1px solid #dcdcdc;
}
#table_540 table tbody tr td:last-child,
#plan-results table tbody tr td:last-child {
  border-right: 1px solid #dcdcdc;
}

#sidetable_535 table thead,
#table_540 table thead,
#plan-results table thead {
  background-image: -o-linear-gradient(top, #9fb93d 0%, #71b140 100%);
  background-image: -moz-linear-gradient(top, #9fb93d 0%, #71b140 100%);
  background-image: -webkit-linear-gradient(top, #9fb93d 0%, #71b140 100%);
  background-image: -ms-linear-gradient(top, #9fb93d 0%, #71b140 100%);
  background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, #9fb93d), color-stop(1, #71b140) );
  color: #fff;
  text-align: left;
  text-shadow: 2px 1px 2px #74a42f;
}


#sidetable_535 table thead th,
#table_540 table thead th,
#plan-results table thead th {
  border: none;
}

#sidetable_535 table thead th:first-child,
#table_540 table thead th:first-child,
#plan-results table thead th:first-child {
  border-radius: 10px 0 0;
}

#sidetable_535 table thead th:last-child,
#table_540 table thead th:last-child,
#plan-results table thead th:last-child {
  border-radius: 0px 10px 0  0;
}

#sidetable_535 table thead th:nth-child(even),
#table_540 table thead th:nth-child(even),
#plan-results table thead th:nth-child(even) {
  background-image: -o-linear-gradient(top, #8aae36 0%, #70af3e 100%);
  background-image: -moz-linear-gradient(top, #8aae36 0%, #70af3e 100%);
  background-image: -webkit-linear-gradient(top, #8aae36 0%, #70af3e 100%);
  background-image: -ms-linear-gradient(top, #8aae36 0%, #70af3e 100%);
  background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, #8aae36), color-stop(1, #70af3e) );
}

#sidetable_535 tr td,
#table_540 tr td,
#plan-results tr td {
	border-bottom:1px solid #dcdcdc;
	padding:10px 20px;
}

#sidetable_535 a.title,
#table_540 a.title,
#plan-results a.title {
	margin: 0;
}


#sidetable_535 .book.details,
#table_540 .book.details,
#plan-results .buy-now,
#sidetable_671 .details span,
#sidetable_672 .details span {
  text-decoration: none;
  font-weight: bold;
  font-family: "PT Sans", Arial, Helvetica, sans-serif !important;
  color: #fff !important;
  background-image: -o-linear-gradient(top, #ff7e00 0%, #ff5b00 100%);
  background-image: -moz-linear-gradient(top, #ff7e00 0%, #ff5b00 100%);
  background-image: -webkit-linear-gradient(top, #ff7e00 0%, #ff5b00 100%);
  background-image: -ms-linear-gradient(top, #ff7e00 0%, #ff5b00 100%);
  background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, #ff7e00), color-stop(1, #ff5b00) );
  border: 1px solid #ff5a00;
  height: 32px;
  font: 13px/32px 'PTSansBold', arial, helvetica, sans-serif;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 1px 0 #fff;
  padding: 0 20px;
  border-radius: 5px;
  -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.2);
  -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.2);
  box-shadow: 0 1px 1px rgba(0,0,0,0.2);
  outline: none;
  border: 0px none transparent !important;
  display: inline-block;
}

#sidetable_535 .book.details:hover,
#table_540 .book.details:hover,
#plan-results .buy-now:hover,
#sidetable_671 .details span:hover,
#sidetable_672 .details span:hover {
    color: #fff !important;
    background-image: -o-linear-gradient(top, #ff5b00 0%, #ff7e00 100%);
    background-image: -moz-linear-gradient(top, #ff5b00 0%, #ff7e00 100%);
    background-image: -webkit-linear-gradient(top, #ff5b00 0%, #ff7e00 100%);
    background-image: -ms-linear-gradient(top, #ff5b00 0%, #ff7e00 100%);
    background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, #ff5b00), color-stop(1, #ff7e00) );
    border: 1px solid #ff5a00;
}

.view-footer {
	margin-bottom: -10px;
}


#sidetable_671, #sidetable_672 {
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	width: 300px;
  padding-bottom: 20px;
	/*margin: 0 auto;*/
}

#sidetable_671 table, #sidetable_672 table {
	width: 100%;
}

#sidetable_671 tbody td, #sidetable_672 tbody td {
	padding: 10px;
	border-bottom: 1px solid #eee;
	border-right: 1px solid #eee;
	text-align: center;
}

#sidetable_671 tbody td:first-child, #sidetable_672 tbody td:first-child {
	padding: 10px;
	border-left: 1px solid #eee;
}

#sidetable_671 .details span, #sidetable_672 .details span {
  height: 20px;
  line-height: 20px;
  margin-top: 5px;
  padding-top: 3px;
  padding-bottom: 1px;
}

#table_540 .footer,
#plan-results .footer {
  font-size: 0.8em;
}

.voip-ads.widget .views-field.views-field-phpcode-1 {
	padding: 5px 0 5px 5px;
}

.voip-ads.widget .views-field.views-field-phpcode-1 div {
	padding-top: 0 !important;
	font-size: 11px;
	line-height: normal;
}

.voip-header.business {
	background: url(//assets.prepaidphonenews.com/media/images/business-ads-header.png) no-repeat;
	width: 300px;
	height: 38px;
}

.voip-header.residential {
	background: url(//assets.prepaidphonenews.com/media/images/residential-ads-header.png) no-repeat;
	width: 300px;
	height: 38px;
}

/* Plan Results-specific styling */
#plan-results {
  max-width: 618px;
  width: 100%;
}

#plan-results table {
  color: #585858;
  table-layout: fixed;
  width: 100% !important;
}

#plan-results table thead th {
  font-weight: bold;
  padding: 20px 10px 20px 20px;
}

#plan-results table thead th:first-child {
  width: 230px;
}

#plan-results table thead th:nth-child(3) {
  min-width: 50px;
}

#plan-results table thead th:last-child {
  width: 65px;
}

#plan-results table thead th.sorting_desc:after,
#plan-results table thead th.sorting_asc:after,
#plan-results table thead th.sorting:after {
  background-image: url('../images/sort-arrow.png');
  background-repeat: no-repeat;
  content: '';
  display: block;
  float: right;
  height: 4px;
  margin-top: 7px;
  width: 7px;
}

#plan-results table thead th.sorting_asc:after {
  background-position: 0 -10px;
}

#plan-results table thead th.sorting_desc:after {
  background-position: 0 -15px;
}

#plan-results table thead th.sorting:after {
  background-position: 0 -5px;
}

#plan-results table tbody tr.main {
  background-image: none;
}

#plan-results table tbody tr td  {
  padding: 10px;
  vertical-align: top;
}

#plan-results table tbody tr.main td  {
  padding: 5px 15px;
}

#plan-results table tbody tr td img {
  max-height: 40px;
}

#plan-results table tbody tr.even td:first-child,
#plan-results table tbody tr.odd td:first-child {
  width: 255px;
}

#plan-results table tbody tr td:first-child .table-cell-content-wrapper {
  float: left;
  font-weight: bold;
}

#plan-results table tbody tr td:first-child .table-cell-content-wrapper .network,
#plan-results table tbody tr td:first-child .table-cell-content-wrapper .byod,
#plan-results table tbody tr td:first-child .table-cell-content-wrapper .price {
  background-image: url("../images/plan-detail-sprites.png");
  background-repeat: no-repeat;
  display: table;
  clear: both;
  margin: 5px 0;
  width: 100%;
}

#plan-results table tbody tr td:first-child .table-cell-content-wrapper .network {
  background-position: 0 0;
}

#plan-results table tbody tr td:first-child .table-cell-content-wrapper .byod {
  background-position: 0 -15px;
}

#plan-results table tbody tr td:first-child .table-cell-content-wrapper .price {
  background-position: 0 -34px;
}

#plan-results table tbody tr td:first-child .table-cell-content-wrapper .network label,
#plan-results table tbody tr td:first-child .table-cell-content-wrapper .network span,
#plan-results table tbody tr td:first-child .table-cell-content-wrapper .byod label,
#plan-results table tbody tr td:first-child .table-cell-content-wrapper .byod span,
#plan-results table tbody tr td:first-child .table-cell-content-wrapper .price label,
#plan-results table tbody tr td:first-child .table-cell-content-wrapper .price span {
  display: table-cell;
}


#plan-results table tbody tr td:first-child .table-cell-content-wrapper .network label,
#plan-results table tbody tr td:first-child .table-cell-content-wrapper .byod label,
#plan-results table tbody tr td:first-child .table-cell-content-wrapper .price label {
  color: #929292;
  padding-left: 25px;
  min-width: 100px;
  width: 50%;
}

#plan-results table tbody tr td:first-child .table-cell-content-wrapper .network span,
#plan-results table tbody tr td:first-child .table-cell-content-wrapper .byod span,
#plan-results table tbody tr td:first-child .table-cell-content-wrapper .price span {
  padding-left: 15px;
  white-space: nowrap;
}

#plan-results table tbody tr td:first-child .table-cell-content-wrapper .network span {
  white-space: normal;
}

#plan-results table tbody tr td:nth-child(2) .table-cell-content-wrapper {
  min-width: 115px;
}

#plan-results table tbody tr td:nth-child(2) .table-cell-content-wrapper > div:first-child,
#plan-results table tbody tr td:nth-child(3) .table-cell-content-wrapper > div:first-child,
#plan-results table tbody tr td:last-child .table-cell-content-wrapper > div:first-child {
  padding-bottom: 40px;
}

#plan-results table tbody tr td {
  background-color: transparent;
  position: relative;
}

#plan-results table tbody tr.main td img {
  float: left;
  position: relative;
}

#plan-results table tbody tr.main td a {
  color: #3fa2b7;
  float: left;
  font-size: 1.1rem;
  left: 30%;
  padding: 5px 0;
  position: absolute;
  text-decoration: none;
  top: 20%;
}

#plan-results table tbody tr td a.buy-now {
  font-size: 0.8rem;
  white-space: nowrap;
  text-transform: none;
}

#plan-results table tbody tr.main td a.buy-now {
  left: inherit;
  padding: 0 15px;
  right: 10px;
  top: 20%;
  width: 56px;
}

#plan-results .show-more {
  clear: both;
  color: #1470d6;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 3px;
  bottom: 10px;
  box-shadow: 1px 1px 3px #ccc;
  max-width: 55px;
  padding: 5px;
  position: absolute;
  text-align: center;
}

#plan-results .show-more:hover {
  box-shadow: none;
}

#plan-results .show-description {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 1px 1px 3px #ccc;
  margin: 0 0 0 -25px;
  padding: 20px;
  position: absolute;
  top: 95%;
  z-index: 99;
}

#plan-results .show-description table td {
  padding: 15px;
}

#plan-results .buy-now {
  padding: 0 15px;
  width: 56px;
}

#plan-results tr td .mobile-main {
  display: none;
}

#plan-results .dataTables_paginate {
  margin-top: 15px;
  max-width: 618px;
  text-align: center;
  width: 100%;
}

#plan-results .dataTables_paginate .paginate_button {
  background-color: #fff;
  box-shadow: 0 1px 1px rgba(1,1,1,0.25);
  color: #579dc2;
  cursor: pointer;
  display: inline;
  margin: 0 5px;
  padding: 5px 10px;
}

#plan-results .dataTables_paginate .paginate_button:hover,
#plan-results .dataTables_paginate .paginate_button.current {
  background-color: #579dc2;
  box-shadow: none;
  color: #fff;
}

#plan-results #disclaimer {
  float: right;
  margin-top: 5px;
  padding-right: 5px;
}

@media screen and (max-width: 650px) {
  div#wrapper {
    overflow: hidden;
  }
  table.gridtable {
    display: block;
    overflow-x: auto;
  }

  #plan-results .show-more,
  #plan-results .show-more:hover {
    clear: both;
    border: none;
    box-shadow: none;
    display: block;
    margin-left: 15px;
    padding: 10px 0 5px;
    position: relative;
    text-align: left;
  }
  #plan-results table#results-1 thead,
  #plan-results table#results-1 tbody tr.main {
    display: none;
  }
  #plan-results table#results-1,
  #plan-results table#results-1 > tbody {
    box-shadow: none;
  }
  #plan-results table#results-1,
  #plan-results table#results-1 > tbody,
  #plan-results table#results-1 > tbody > tr {
    clear: both;
    display: block;
    float: left;
    max-width: 100%;
    width: 100%;
  }
  #plan-results table#results-1 > tbody > tr {
    background-image: none;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin: 10px 0;
  }
  #plan-results table#results-1 > tbody > tr > td {
    border-bottom: none;
    display: table;
    padding: 0;
    vertical-align: middle;
    width: 100%;
  }
  #plan-results table#results-1 > tbody > tr > td:before {
    background-image: -o-linear-gradient(top, #9ab336 0%, #87b23b 100%);
    background-image: -moz-linear-gradient(top, #9ab336 0%, #87b23b 100%);
    background-image: -webkit-linear-gradient(top, #9ab336 0%, #87b23b 100%);
    background-image: -ms-linear-gradient(top, #9ab336 0%, #87b23b 100%);
    background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, #9ab336), color-stop(1, #87b23b) );
    border: none;
    color: #fff;
    display: table-cell;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: left;
    text-shadow: 2px 1px 2px #74a42f;
    margin-right: 15px;
    padding: 15px;
    position: relative;
    width: 30%;
    vertical-align: top;
  }
  #plan-results table#results-1 > tbody > tr > td:nth-child(even):before {
    background-image: -o-linear-gradient(top, #7aa833 0%, #7aa834 100%);
    background-image: -moz-linear-gradient(top, #7aa833 0%, #7aa834 100%);
    background-image: -webkit-linear-gradient(top, #7aa833 0%, #7aa834 100%);
    background-image: -ms-linear-gradient(top, #7aa833 0%, #7aa834 100%);
    background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, #7aa833), color-stop(1, #7aa834) );
  }
  #plan-results table#results-1 > tbody > tr > td:first-child {
    border-left: none;
  }
  #plan-results table#results-1 > tbody > tr > td:first-child:before {
    content: 'Provider & Plan Details';
  }
  #plan-results table#results-1 > tbody > tr > td:nth-child(2):before {
    content: 'Minutes/ Texts';
  }
  #plan-results table#results-1 > tbody > tr > td:nth-child(3):before {
    background-image: -o-linear-gradient(top, #7db23d 0%, #76b13f 100%);
    background-image: -moz-linear-gradient(top, #7db23d 0%, #76b13f 100%);
    background-image: -webkit-linear-gradient(top, #7db23d 0%, #76b13f 100%);
    background-image: -ms-linear-gradient(top, #7db23d 0%, #76b13f 100%);
    background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, #7db23d), color-stop(1, #76b13f) );
    content: 'Data';
  }
  #plan-results table#results-1 > tbody > tr > td:nth-child(4):before {
    content: 'Tethering';
  }
  #plan-results table#results-1 > tbody > tr > td .table-cell-content-wrapper {
    font-size: 0.8rem;
    padding: 15px;
  }
  #plan-results table#results-1 > tbody > tr > td .mobile-main {
    display: block;
  }
  #plan-results table#results-1 > tbody > tr > td .mobile-main img {
    display: block;
    margin-bottom: 10px;
    max-width: 90px;
  }
  #plan-results table#results-1 > tbody > tr > td .mobile-main a {
    color: #3fa2b7;
    font-size: 1.1rem;
    font-weight: normal;
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
  }
  #plan-results table#results-1 > tbody > tr > td .mobile-main a.buy-now {
    font-size: 0.8rem;
    float: right;
    white-space: nowrap;
  }
  #plan-results table tbody tr td:first-child .table-cell-content-wrapper .network span,
  #plan-results table tbody tr td:first-child .table-cell-content-wrapper .byod span,
  #plan-results table tbody tr td:first-child .table-cell-content-wrapper .price span {
    padding-left: 0;
    white-space: nowrap;
  }
  #plan-results table tbody tr td:first-child .table-cell-content-wrapper .network span {
    white-space: normal;
  }
  #plan-results .show-description {
    margin-top: 0;
  }
  #plan-results #disclaimer {
    margin-top: 10px;
  }
}
