/*
 * Base colours
 */
/* Header/footer */
/* Subfooter, social links, contact us etc */
/* Log in, log out, submit etc */
/* Left hand nav */
/* Main content */
/* Errors */
html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}
body {
  max-width: 940px;
  margin: auto;
  overflow-x: hidden;
  font-family: 'Myriad Pro', 'Helvetica', 'Arial', sans-serif;
}
header {
  /* Fix for elements that would stretch full width on a bigger screen,
     * but that make the page too wide on mobile */

  background: #262626;
  padding: 15px 0px;
  position: relative;
  margin: 0 -500%;
  padding: 0.5em 500%;
  overflow: hidden;
}
@media only screen and (max-width: 35em) {
  header {
    margin: 0;
    padding: 0;
  }
}
header h1 {
  position: relative;
}
header h1 .logo {
  display: inline-block;
  margin-left: 15px;
  height: 96px;
}
header h1 .uts_man {
  position: absolute;
  right: 15px;
}
nav#access_nav {
  /* Sign up, login in, log out, country select etc */

  background: #f2f2f2;
  margin: 0 -500% 3em -500%;
  padding: 2em 500%;
  text-align: right;
  position: relative;
}
nav#access_nav:after {
  background-image: url('/static/images/frontend/access_nav_bottom.png');
  width: 30px;
  height: 30px;
  content: " ";
  display: block;
  position: absolute;
  bottom: -30px;
}
nav#access_nav a {
  background-image: url('/static/images/frontend/button_overlay.png');
  background-position: left top;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 4px #FFF;
  border-radius: 7px;
  border: 1px solid #be4a96;
  background-color: #be4a96;
  padding: 11px 28px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  transition: background-position 0.1s ease;
  display: inline-block;
}
nav#access_nav a:hover {
  background-position: left -3px;
}
nav#access_nav p {
  font-size: 0.8em;
}
@media only screen and (max-width: 35em) {
  nav#access_nav {
    margin: 0 0 3em 0;
    padding: 2em 1em 2em 1em;
  }
}
#user_nav {
  width: 185px;
  display: block;
  float: left;
}
@media only screen and (max-width: 35em) {
  #user_nav {
    /* Mobile menu */
  
    display: block;
    float: none;
    width: 95%;
    max-height: 30px;
    overflow: hidden;
    margin: auto;
    position: relative;
    transition: max-height 1s ease-out;
  }
  #user_nav:target {
    max-height: 3000px;
    transition: max-height 1s ease-in;
  }
  #user_nav:target .active {
    position: relative;
  }
  #user_nav:after {
    content: '\25BC';
    position: absolute;
    top: 4px;
    right: 10px;
    color: #fff;
    z-index: 100;
    font-size: 0.8em;
  }
  #user_nav a {
    z-index: 0;
  }
  #user_nav .active {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 50;
  }
  #user_nav.expanded {
    height: auto;
  }
  #user_nav.expanded a {
    position: relative;
  }
  #user_nav.expanded:after {
    content: '';
  }
}
#user_nav a {
  background-image: url('/static/images/frontend/button_overlay.png');
  background-position: left top;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 4px #FFF;
  border-radius: 7px;
  display: block;
  background-color: #a0caed;
  color: #0e4f9e;
  margin-bottom: 0.3em;
  text-decoration: none;
  padding: 0.2em 1em;
  border: 1px solid #0e4f9e;
  font-size: 14px;
  transition: all 0.2s ease;
}
#user_nav a:hover {
  background-color: #0e4f9e;
  color: #ffffff;
  background-position: left -3px;
}
#user_nav a.active {
  background-color: #0e4f9e;
  color: #ffffff;
}
#content {
  display: block;
  margin-left: 200px;
}
@media only screen and (max-width: 35em) {
  #content {
    margin: 0px 20px;
  }
}
#content:after {
  clear: both;
  content: ' ';
  display: block;
}
#content h2,
#content h3 {
  color: #7f7f7f;
}
#content h2 a,
#content h3 a {
  color: #0088cc;
  text-decoration: none;
}
#content p,
#content li {
  color: #636363;
}
#content p a,
#content li a {
  color: #0088cc;
  text-decoration: none;
}
#content p a.button,
#content li a.button {
  background-image: url('/static/images/frontend/button_overlay.png');
  background-position: left top;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 4px #FFF;
  border-radius: 7px;
  display: inline-block;
  background-color: #be4a96;
  color: #ffffff;
  padding: 0.3em 0.5em;
  text-transform: uppercase;
  font-size: 0.8em;
}
#content input,
#content select {
  display: block;
  padding: 0.8em;
  font-size: 1.2em;
  margin-top: 0.5em;
  border: 1px solid #cccccc;
}
#content input[type=text],
#content select[type=text],
#content input[type=email],
#content select[type=email],
#content input[type=password],
#content select[type=password] {
  width: 80%;
}
#content input[type=submit],
#content select[type=submit] {
  background-image: url('/static/images/frontend/button_overlay.png');
  background-position: left top;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 4px #FFF;
  border-radius: 7px;
}
@media only screen and (max-width: 35em) {
  #content input[type=submit].sps,
  #content select[type=submit].sps {
    background: none;
    display: inline;
    border: none;
    padding: 0;
    color: #0088cc;
    font-size: 1em;
  }
}
footer {
  background: #333333;
  margin: 3em -500% 3em -500%;
  padding: 0 500%;
  /* Fix for elements that would stretch full width on a bigger screen,
     * but that make the page too wide on mobile */

}
@media only screen and (max-width: 35em) {
  footer {
    margin: 0;
    padding: 0;
  }
}
@media only screen and (max-width: 35em) {
  footer {
    margin-top: 1em;
  }
}
footer #subfooter > div {
  display: inline-block;
  width: 20%;
  margin: 2em 0 1.5em 4%;
  float: left;
}
@media only screen and (max-width: 35em) {
  footer #subfooter > div {
    width: 45%;
  }
}
footer #subfooter h3 {
  background-image: url('/static/images/frontend/footer_h3_bg.png');
  background-position: left center;
  background-repeat: repeat-x;
  text-transform: uppercase;
  color: #ffffff;
  font-size: 0.81em;
}
footer #subfooter .footer_login a {
  background-image: url('/static/images/frontend/button_overlay.png');
  background-position: left top;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 4px #FFF;
  border-radius: 7px;
  border: 1px solid #be4a96;
  background-color: #be4a96;
  padding: 11px 28px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  transition: background-position 0.1s ease;
  display: block;
  min-width: 3.5em;
  max-width: 5em;
  text-align: center;
}
footer #subfooter .footer_login a:hover {
  background-position: left -3px;
}
footer #subfooter .footer_login#footer_login_sps a {
  background-color: #ff6600;
  border-color: #ff6600;
}
footer #subfooter #social_links a {
  width: 40px;
  height: 40px;
  display: inline-block;
  background-image: url('/static/images/frontend/social_icons.png');
  background-color: #CCCCCC;
  text-indent: -99999px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}
footer #subfooter #social_links a.fb {
  background-position: -45px 0px;
}
footer #subfooter #social_links a.fb:hover {
  background-color: #3b5998;
}
footer #subfooter #social_links a.twitter {
  background-position: 0px 0px;
}
footer #subfooter #social_links a.twitter:hover {
  background-color: #4099FF;
}
footer #subfooter #contact_us p {
  color: #7f7f7f;
  font-size: 0.85em;
  margin: 0 0 0.5em 0;
}
footer #subfooter #contact_us p a {
  color: #0088cc;
  text-decoration: none;
}
footer > p {
  /* Fix for elements that would stretch full width on a bigger screen,
     * but that make the page too wide on mobile */

  background: #262626;
  margin: 0 -500% 3em -500%;
  padding: 2em 500%;
  color: #666666;
  font-size: 0.8em;
  clear: both;
}
@media only screen and (max-width: 35em) {
  footer > p {
    margin: 0;
    padding: 0;
  }
}
@media only screen and (max-width: 35em) {
  footer > p {
    padding: 2em;
  }
}
/* Forms */
#eway_payment_form #wrapper_id_EWAY_CARDEXPIRYMONTH,
#eway_payment_form #wrapper_id_EWAY_CARDEXPIRYYEAR {
  width: 20%;
  display: inline-block;
}
#eway_payment_form #wrapper_id_EWAY_CARDEXPIRYMONTH .form_field,
#eway_payment_form #wrapper_id_EWAY_CARDEXPIRYYEAR .form_field {
  width: 100%;
}
#eway_payment_form #wrapper_id_EWAY_CARDEXPIRYMONTH .form_field input,
#eway_payment_form #wrapper_id_EWAY_CARDEXPIRYYEAR .form_field input {
  width: 50%;
}
#eway_payment_form #wrapper_id_EWAY_CARDCVN input {
  width: 5em;
}
#card_wrapper {
  float: right;
}
.form_field {
  width: 45%;
  display: inline-block;
}
@media only screen and (max-width: 35em) {
  .form_field {
    width: 90%;
  }
}
.form_help {
  font-size: 0.8em;
  margin: 0;
}
.errorlist {
  background-image: url('/static/images/frontend/button_overlay.png');
  background-position: left top;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 4px #FFF;
  border-radius: 7px;
  background: #f08080;
  margin: 0;
  padding: 1em;
  width: 12em;
  width: 45%;
  display: inline-block;
}
@media only screen and (max-width: 35em) {
  .errorlist {
    width: 90%;
  }
}
.errorlist.nonfield {
  width: 75%;
}
.errorlist li {
  color: #ffffff !important;
  list-style: none;
  margin: 0px;
}
.highlight {
  background-image: url('/static/images/frontend/button_overlay.png');
  background-position: left top;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 4px #FFF;
  border-radius: 7px;
  background: #f0f07f;
  padding: 1em;
}
.highlight.error {
  background: #f08080;
  font-weight: bold;
}
.messages {
  margin: 0;
  margin-bottom: 1em;
  padding: 0;
}
.messages li {
  background-image: url('/static/images/frontend/button_overlay.png');
  background-position: left top;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 4px #FFF;
  border-radius: 7px;
  width: 90%;
  padding: 1em;
  list-style: none;
}
.messages li.success {
  background: #7ff07f;
}
.messages li.error {
  background: #f08080;
}
.messages li.info {
  background: #7fb8f0;
}
table.details {
  width: 100%;
}
table.details.phone_setup {
  max-width: 60%;
}
@media only screen and (max-width: 35em) {
  table.details.phone_setup {
    max-width: 100%;
  }
}
@media only screen and (max-width: 35em) {
  table.details.large-only {
    /* Converted to responsive by stackable.js */
  
    display: none;
  }
}
@media only screen and (min-width: 35em) {
  table.details.small-only {
    /* Converted to responsive by stackable.js */
  
    display: none;
  }
}
table.details thead th {
  background: #cdcdcd;
}
table.details td,
table.details th {
  padding: 1em;
  background: #efefef;
  border: 3px solid #fff;
}
@media only screen and (max-width: 35em) {
  table.details td,
  table.details th {
    padding: 3px;
  }
}
table.details td a,
table.details th a {
  color: #0088cc;
  text-decoration: none;
}
table.details td input[type=submit],
table.details th input[type=submit] {
  width: 95%;
}
table.details td input[type=submit].edit,
table.details th input[type=submit].edit {
  background-color: #be4a96;
  color: #ffffff;
}
table.details .col_action a {
  display: block;
  margin-top: 1em;
  text-align: center;
}
table.details .col_action a.button {
  background-image: url('/static/images/frontend/button_overlay.png');
  background-position: left top;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 4px #FFF;
  border-radius: 7px;
  border: 1px solid #be4a96;
  background-color: #be4a96;
  padding: 11px 28px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  transition: background-position 0.1s ease;
}
table.details .col_action a.button:hover {
  background-position: left -3px;
}
table.details .col_action a.secondary {
  background-color: #C0C0C0;
  border-color: #CCCCCC;
  color: #000;
}
.pagination {
  text-align: center;
  margin-top: 1em;
  margin-bottom: 1em;
}
.pagination .prev,
.pagination .next {
  background-image: url('/static/images/frontend/button_overlay.png');
  background-position: left top;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 4px #FFF;
  border-radius: 7px;
  border: 1px solid #be4a96;
  background-color: #be4a96;
  padding: 11px 28px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  transition: background-position 0.1s ease;
  padding: 0.5em 1em;
  margin: 1em;
}
.pagination .prev:hover,
.pagination .next:hover {
  background-position: left -3px;
}
@media only screen and (max-width: 35em) {
  .pagination .prev,
  .pagination .next {
    margin: 0;
  }
}
.pagination .page-current select {
  display: inline !important;
}
#compose_form input,
#compose_form textarea,
#compose_form select {
  /* For loading gif */

  background-repeat: no-repeat;
  background-position: center center;
}
#compose_form .recipient p {
  width: 100%;
}
#compose_form .recipient p select {
  width: 100%;
}
#compose_form .recipientname,
#compose_form .recipientnumber,
#compose_form .prison,
#compose_form .replyenabled {
  display: table-cell;
  width: 45%;
}
#compose_form .recipientname .form_field,
#compose_form .recipientnumber .form_field,
#compose_form .prison .form_field,
#compose_form .replyenabled .form_field {
  width: 100%;
}
#compose_form .recipientname input[type=checkbox],
#compose_form .recipientnumber input[type=checkbox],
#compose_form .prison input[type=checkbox],
#compose_form .replyenabled input[type=checkbox] {
  display: inline-block;
  margin-right: 1em;
}
@media only screen and (max-width: 35em) {
  #compose_form .recipientname,
  #compose_form .recipientnumber,
  #compose_form .prison,
  #compose_form .replyenabled {
    display: block;
    width: 100%;
  }
  #compose_form .recipientname input,
  #compose_form .recipientnumber input,
  #compose_form .prison input,
  #compose_form .replyenabled input {
    width: 90%;
  }
  #compose_form .recipientname select,
  #compose_form .recipientnumber select,
  #compose_form .prison select,
  #compose_form .replyenabled select {
    width: 100%;
  }
}
#compose_form .messagetext {
  width: 100%;
}
#compose_form .messagetext .form_field {
  width: 100%;
  position: relative;
}
#compose_form .messagetext .form_field textarea {
  width: 100%;
  border: 1px solid #cccccc;
  padding: 1em;
  box-sizing: border-box;
}
#compose_form .messagetext .char_limit,
#compose_form .messagetext .line_limit {
  display: table-cell;
  border: 1px solid #ccc;
  position: relative;
  top: -7px;
  border-top: none;
  width: 50%;
  box-sizing: border-box;
  padding: 0;
  float: left;
}
@media only screen and (max-width: 35em) {
  #compose_form .messagetext .char_limit,
  #compose_form .messagetext .line_limit {
    display: block;
    float: none;
    width: 100%;
  }
}
#compose_form .messagetext .char_limit i,
#compose_form .messagetext .line_limit i {
  display: block;
  background: lightblue;
  width: 0;
  height: 100%;
  position: absolute;
  z-index: -1;
  box-sizing: border-box;
  background-color: #7ff07f;
}
#compose_form .messagetext .char_limit i.bad,
#compose_form .messagetext .line_limit i.bad {
  background-color: #f08080;
}
#compose_form #attachment_wrapper p {
  border: 0.3em dashed #cccccc;
  border-radius: 20px;
  width: 150px;
  height: 120px;
  margin-right: 1em;
  display: inline-block;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
#compose_form #attachment_wrapper p.dragging {
  border-color: #7ff07f;
}
#compose_form #attachment_wrapper p.error {
  border-color: #f08080;
}
@media only screen and (max-width: 35em) {
  #compose_form #attachment_wrapper p {
    width: 130px;
  }
}
#compose_form #attachment_wrapper p label {
  position: absolute;
  top: 40%;
  display: block;
  text-align: center;
  width: 100%;
  color: #ccc;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
}
#compose_form #attachment_wrapper p input {
  width: 200px;
  height: 200px;
  margin: 0;
  cursor: pointer;
  opacity: 0;
}
#compose_form #attachment_wrapper p img {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}
#compose_form #attachment_wrapper p .processing {
  top: 30px;
  left: 45px;
  z-index: 50;
  width: 60px;
  height: 60px;
}
#compose_form #attachment_wrapper p .remove {
  background-image: url('/static/images/frontend/button_overlay.png');
  background-position: left top;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 4px #FFF;
  border-radius: 7px;
  position: absolute;
  bottom: 10px;
  display: block;
  width: 80%;
  text-align: center;
  background: #fff;
  margin: auto;
  left: 15px;
  z-index: 100;
}
#reply_table .reply_full td {
  border-bottom-width: 2em;
  background-repeat: no-repeat;
  background-position: center center;
}
#reply_table .unread td {
  background: #B8F07F;
  transition: all 1s ease;
}
.reply_wrapper img {
  max-width: 100%;
}
.inline_actions form {
  display: inline-block;
}
.inline_actions input {
  display: inline-block !important;
  margin-right: 1em;
}
.inline_actions .back {
  background: #be4a96;
  color: #ffffff;
}
.inline_actions a {
  color: #0088cc;
  text-decoration: none;
}
.message_preview {
  width: 49%;
}
.featherlight-next span,
.featherlight-previous span {
  color: #be4a96 !important;
}
.payment_type {
  display: table-cell;
  width: 45%;
  padding: 0 1em;
}
.payment_type.payment_type_left {
  border-right: 1px solid #bebebe;
}
.payment_type .sps {
  background-color: #ff6600;
  color: #ffffff;
}
@media only screen and (max-width: 35em) {
  .payment_type {
    display: block;
    width: 95%;
    border: none !important;
  }
}
#realex_frame {
  border: 0;
  width: 100%;
  min-height: 500px;
}
.compose_submit input[type=submit],
.compose_submit p {
  display: inline-block !important;
}
#draft_status {
  display: block;
  font-size: 0.8em;
}
.news_wrapper {
  background-image: url('/static/images/frontend/button_overlay.png');
  background-position: left top;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 4px #FFF;
  border-radius: 7px;
  background: #f0f07f;
  width: 90%;
  padding: 1em;
}
.news_wrapper h3,
.news_wrapper h4 {
  margin-top: 0;
  margin-bottom: 0;
  color: #636363 !important;
}
.news_wrapper h4 {
  font-size: 0.9em;
}
.news_wrapper .news_item p {
  margin-bottom: 0;
  line-height: 1em;
}
.photo_attachment_wrapper {
  width: 200px;
  height: 150px;
  overflow: hidden;
  display: inline-block;
  position: relative;
}
.photo_attachment_wrapper .photo_attachment {
  width: 200px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.photo_attachment_wrapper .status {
  float: left;
  position: absolute;
  top: 0;
  left: 40px;
  z-index: 1000;
}
.photo_attachment_wrapper .status p {
  margin: 0px;
  text-align: center;
  background: #fff;
  border: 1px solid #ababab;
  border-radius: 5px;
}
#popup_content {
  display: none;
}
#popup_content input[type=button] {
  background-image: url('/static/images/frontend/button_overlay.png');
  background-position: left top;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 4px #FFF;
  border-radius: 7px;
  border: 1px solid #be4a96;
  background-color: #be4a96;
  padding: 11px 28px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  transition: background-position 0.1s ease;
}
#popup_content input[type=button]:hover {
  background-position: left -3px;
}
#popup_content .popup_actions {
  text-align: center;
}
.ok_cancel_wrapper {
  display: none;
}
.ok_cancel input[type=button] {
  background-image: url('/static/images/frontend/button_overlay.png');
  background-position: left top;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 4px #FFF;
  border-radius: 7px;
  border: 1px solid #be4a96;
  background-color: #be4a96;
  padding: 11px 28px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  transition: background-position 0.1s ease;
}
.ok_cancel input[type=button]:hover {
  background-position: left -3px;
}
blockquote {
  background: #efefef;
  padding: 1em;
  margin-left: 0;
  width: 70%;
}
@media only screen and (max-width: 35em) {
  blockquote {
    width: auto;
    margin-right: 0;
  }
}
/* ==========================================================================
   HTML5 boilerplate below...
   ========================================================================== */
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}
::selection {
  background: #b3d4fc;
  text-shadow: none;
}
/*
 * A better looking default horizontal rule
 */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}
/*
 * Remove default fieldset styles.
 */
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
/*
 * Allow only vertical resizing of textareas.
 */
textarea {
  resize: vertical;
}
/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */
.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Hide visually and from screen readers
 */
.hidden {
  display: none !important;
}
/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}
/*
 * Hide visually and from screen readers, but maintain layout
 */
.invisible {
  visibility: hidden;
}
/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */

  display: table;
  /* 2 */

}
.clearfix:after {
  clear: both;
}
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}
@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
@media print {
  *,
  *:before,
  *:after,
  *:first-letter,
  *:first-line {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster:
                                     http://www.sanbeiji.com/archives/953 */
  
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
       * Don't show links that are fragment identifiers,
       * or use the `javascript:` pseudo protocol
       */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
       * Printing Tables:
       * http://css-discuss.incutio.com/wiki/Printing_Tables
       */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

