/* ======================== form field validation ========================= */
html body .ui-input-text.invalid,
html body .ui-select .ui-btn.invalid,
html body .required.invalid ~ label {
  border: 1px solid red !important;
}
html body label.required_label:not(.ui-btn):after,
html body legend.required_label:after {
  content: "*";
  position: absolute;
  width: 100%;
}
html body input ~ .ui-invalid-label,
html body textarea ~ .ui-invalid-label,
html body select ~ .ui-invalid-label {
  display: none;
}
html body input.invalid ~ .ui-invalid-label,
html body textarea.invalid ~ .ui-invalid-label,
html body select.invalid ~ .ui-invalid-label {
  bottom: 0;
  right: 0;
  margin-bottom: -1.25em;
  color: red;
  font-size: 0.75em;
  display: inline-block;
  position: absolute;
}
@media (max-width: 40em) {
  html body input.invalid ~ .ui-invalid-label,
  html body textarea.invalid ~ .ui-invalid-label,
  html body select.invalid ~ .ui-invalid-label {
    top: 0;
    right: 0;
    left: auto;
    bottom: auto;
    margin-bottom: auto;
    margin-top: -1.75em;
  }
}
/* ======================== disabled form fields ========================= */
span.static {
  padding: 0 .5em;
}
/* TODO: don't use important!!!, padding is for missing clear button! */
.ui-mask-input {
  padding-right: 2.375em;
  background: 0 none !important;
}
.ui-mask-input.ui-focus {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}
/* ======================== generic things ========================= */
.bold {
  font-weight: bold;
}
.italic {
  font-style: italic;
}
.info {
  font-size: 80%;
  line-height: 100%;
  display: inline-block;
  text-transform: capitalize;
  padding-top: .5em;
}
.info:after {
  content: "|";
  padding: 0 .5em;
}
/* NOTE: empty elements IE8/9 require selectivzr */
.info:empty:after {
  content: "";
  padding: 0;
}
.info:last-child:after {
  content: none;
}

.dashed a, .dashed.a {
  border-style: dashed;
  opacity: .75;
}
.note {
  font-weight: bold;
  display: block;
}
.center {
  display: block;
  text-align: center;
  margin: 0;
}
/* TODO: we should not float!!! and not clear... */
.left {
  display: block;
  text-align: left;
  float: left;
}
.right {
  display: block;
  text-align: right;
  float: right;
}
.starred {
  color: #0FBABD;
}
.faint {
  opacity: .25;
}
.large {
  font-size: 125%;
}
.small {
  font-size: 75%;
}
.ui-popup .file {
  max-width: 70%;
}
.inline {
  max-width: 50%;
  margin: 0 auto;
}
@media (max-width: 40em) {
  .inline {
    max-width: 70%;
    margin: 0 auto;
  }
}
.static {
  cursor: default;
}
.input_board {
  margin: 0;
}
.input_board .ui-controlgroup-controls {
  width: 100%;
}
.input_board .ui-controlgroup-controls .ui-input-text input {
  box-shadow: 0 0 2px #999999 inset;
  -webkit-box-shadow: 0 0 2px #999999 inset;
}
.button_board {
  text-align: center;
}
.profile {
  display: inline-block;
  border: 1px solid;
}
@media (max-width: 40em) {
  .profile {
    margin-top: 1em;
  }
}
.profile img {
  padding-right: 1em;
  float: left;
  vertical-align: middle;
  max-width: 120px;
}
.tag {
  margin: 0;
  font-size: 200%;
}
  /* Modified on BASE */
.mini {
  font-size: 80%;
}
@media (max-width: 40em) {
  .tag {
    margin: 0;
    font-size: 150%;
  }
}
.downloads:before {
  content: "Ã‚Â·";
}
.inline-icon {
  padding: 0 .5em;
}
.logo_wrap {
  margin-top: 0em;
  margin-bottom: 2em;
  padding: 0.5em;
  text-align: center;
}
.logo_wrap img {
  max-height: 8em;
}
@media (max-width: 40em) {
  .logo_wrap {
    margin-top: 1em;
    margin-bottom: 1em;
  }
  .logo_wrap img {
    max-height: 7em;
  }
}
@media (max-width: 30em) {
  .logo_wrap {
    margin-top: .5em;
    margin-bottom: .5em;
  }
}
@media (max-width: 20em) {
  .logo_wrap {
    margin-top: .25em;
    margin-bottom: .25em;
  }
}
/* ====================== Sign in With ===================================== */
.signin_google,
.signin_google:visited {
  background: #DD4B39 !important;
  color: #fff !important;
  text-shadow: none !important;
  cursor: pointer !important;
}
.signin_fb,
.signin_fb:visited {
  background: #4863ae !important;
  color: #fff !important;
  text-shadow: none !important;
  cursor: pointer !important;
}
.signin_fb:hover,
.signin_fb:active,
.signin_fb.ui-btn-active,
.signin_google:hover,
.signin_google:active,
.signin_google.ui-btn-active {
  background-image: -webkit-gradient(linear, center bottom, center top, from(rgba(255, 255, 255, 0.1)), color-stop(0.30, rgba(255, 255, 255, 0)), to(rgba(0, 0, 0, 0.1))) !important;
  background-image: -webkit-linear-gradient(center bottom , rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 30%, transparent 50%, rgba(0, 0, 0, 0.1)) !important;
  background-image: -ms-linear-gradient(center bottom , rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 30%, transparent 50%, rgba(0, 0, 0, 0.1)) !important;
  background-image: -moz-linear-gradient(center bottom , rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 30%, transparent 50%, rgba(0, 0, 0, 0.1)) !important;
  background-image: -o-linear-gradient(center bottom , rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 30%, transparent 50%, rgba(0, 0, 0, 0.1)) !important;
  background-image: linear-gradient(center bottom , rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 30%, transparent 50%, rgba(0, 0, 0, 0.1)) !important;
}
.signin_google:focus,
.signin_google.ui-focus
.signin_fb:focus,
.signin_fb.ui-focus {
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
}
/* ====================== flags =================================== */
/*
builder: http://iconizr.com/
svg flags: https://github.com/koppi/iso-country-flags-svg-collection
*/
html body .ui-btn.flag:after {
  background-repeat: no-repeat;
  background-size: 18px 36px;
  -webkit-background-size: 18px 36px;
  background-image: url("../img/flags.png");
  content: "";
  /* margin-top: 11px !important; */
  width: 18px;
  height: 18px;
  border-radius: .6em;
  -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.2);
  -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.2);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.2);
}
html body .ui-btn.flag.ui-icon-flag-fr:after {background-position: 0px 0px; }
html body .ui-btn.flag.ui-icon-flag-en:after {background-position: 0px -18px; }

/* ====================== ribbon =================================== */
.ribbon-wrapper {
  width: 85px;
  height: 88px;
  overflow: hidden;
  position: absolute;
  top: -3px;
  right: -3px;
}

.ribbon {
  font: bold 15px Sans-Serif;
  color: #333;
  text-align: center;
  text-shadow: rgba(255,255,255,0.5) 0px 1px 0px;
  -webkit-transform: rotate(45deg);
  -moz-transform:    rotate(45deg);
  -ms-transform:     rotate(45deg);
  -o-transform:      rotate(45deg);
  position: relative;
  padding: 7px 0;
  left: -5px;
  top: 15px;
  width: 120px;
  background-color: #BFDC7A;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#BFDC7A), to(#8EBF45));
  background-image: -webkit-linear-gradient(top, #BFDC7A, #8EBF45);
  background-image:    -moz-linear-gradient(top, #BFDC7A, #8EBF45);
  background-image:     -ms-linear-gradient(top, #BFDC7A, #8EBF45);
  background-image:      -o-linear-gradient(top, #BFDC7A, #8EBF45);
  color: #6a6340;
  -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
  -moz-box-shadow:    0px 0px 3px rgba(0,0,0,0.3);
  box-shadow:         0px 0px 3px rgba(0,0,0,0.3);
}

.ribbon:before, .ribbon:after {
  content: "";
  border-top:   3px solid #6e8900;
  border-left:  3px solid transparent;
  border-right: 3px solid transparent;
  position:absolute;
  bottom: -3px;
}

.ribbon:before {
  left: 0;
}
.ribbon:after {
  right: 0;
}
/* ====================== recaptcha/form spamhandling=================================== */
/* needed to prevent captcha CSS being overriden by ERP5 td height 34px */
html body div#recaptcha_area table#recaptcha_table th,
html body div#recaptcha_area table#recaptcha_table td {
  height: 6px;
}
html body form input.secure_form {
  display: none;
}
/* ============================== breadcrumbs ============================== */
/* make sure content does not flow next to crumbs*/
.crumbs {
  display: block;
  clear: both;
}
.crumbs a.ui-btn,
.crumbs a.ui-link {
  font-size: 80%;
  line-height: 100%;
  display: inline-block;
  background: 0 none;
  background-image: none;
  text-decoration: none;
  border: 0 none;
  box-shadow: none;
  -webkit-box-shadow: none;
  vertical-align: middle;
  margin: 0;
  text-transform: capitalize;
}
.crumbs a.ui-link:before {
  content: "|";
  font-weight: bold;
  padding: 0 .25em;
  position: relative;
}
.crumbs a.ui-link:first-child:before {
  padding-left: 0;
}
.crumbs a.ui-link:hover,
.crumbs a.ui-link:active {
  text-decoration: underline;
}
.crumbs a.ui-btn:after {
  margin-top: -6px;
  font-size: 1.2em;
}
/* ============================== status loader ============================== */
/* fadeout "heartbeat" transition with 1sec delay */
.loader_icon {
  display: inline-block;
  text-align: center;
  width: 100%;
}
.loader_icon:after {
  font-size: 2em;
}
.loader_message {
  text-align: center;
}
.ui-loader {
  -webkit-animation-timing-function: ease-in;
  -webkit-animation-duration: 375ms;
  -moz-animation-timing-function: ease-in;
  -moz-animation-duration: 375ms;
  animation-timing-function: ease-in;
  animation-duration: 375ms;
}
@-webkit-keyframes fadeout {
    0% { opacity: 1; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}
@-moz-keyframes fadeout {
    0% { opacity: 1; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}
@keyframes fadeout {
    0% { opacity: 1; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}
.ui-loader {
  opacity: 0;
  -webkit-animation-duration: 1000ms;
  -webkit-animation-name: fadeout;
  -moz-animation-duration: 1000ms;
  -moz-animation-name: fadeout;
  animation-duration: 1000ms;
  animation-name: fadeout;
}
/* ============================== unenhanced ============================== */
/* TODO: remove once generateFromArray is done */
html body div.ui-panel a.unenhanced {
  background: none repeat scroll 0 center rgba(0, 0, 0, 0);
  border: 0 none;
  font-size: 0.7em;
  padding-top: 0.25em;
  margin: 0;
}
html body div.ui-panel a.unenhanced:focus,
html body div.ui-panel a.unenhanced:hover,
html body div.ui-panel a.unenhanced:active {
  background: none repeat scroll 0 center rgba(0, 0, 0, 0);
}
/* ========================= ugly black status box ======================== */
.progress_notifier {
  background: none repeat scroll 0 0 #000000 !important;
  border: 0 none;
  border-radius: 0.375em;
  color: #FFFFFF;
  font-weight: bold;
  min-height: 2em;
  padding: 1em;
  text-align: center;
  width: 100%;
}
/* ============================= content grid ============================= */
/* everything wrapped in a span as sibling of content goes top! */
html div.ui-content > .span_1,
html div.ui-content > .span_2,
html div.ui-content > .span_3 {
  vertical-align: top;
}
.span_1 {
  width: 96%; /* 2% padding-left/right */
  display: block;
}
.span_2 {
  width: 45%;
  display: inline-block;
}
.span_3 {
  width: 29%;
  display: inline-block;
}
.span_1, .span_2, .span_3 {
  vertical-align: middle;
  padding-left: 2%;
  padding-right: 2%;
  padding-top: 2%;
}
/* form need no padding and align top */
form .span_1, form .span_2 {
  vertical-align: top;
  padding-left: 0%;
  padding-right: 0%;
}
.span_2 textarea {
  width: 57.5%;
  display: inline-block;
  vertical-align: middle;
}
form .span_1 {
  width: 100%;
}
form .span_2 {
  width: 50%;
}
form .span_3 {
  width: 33%;
}
/* mh.... no!*/
form {
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 40em) {
  form {
    max-width: 80%; /* allow scrolling! */
    margin: auto;
  }
  .span_1, .span_2, .span_3, form .span_1, form .span_2, form .span_3 {
    width: auto; /* 100 does not work... why? */
    display: block;
    padding: .25em 0;
  }
  .span_2 textarea {
    width: 100%;
  }
}
/* ======================== status (red...) ========================= */
html body div.ui-page a.ui-btn.error.status,
html body div.ui-page a.ui-btn.error.status:hover,
html body div.ui-page a.ui-btn.error.status:active,
html body div.ui-page .ui-controlgroup-controls a.ui-btn.error.status:hover,
html body div.ui-page .ui-controlgroup-controls a.ui-btn.error.status:active {
  background: 0 none;
  background-color: red !important;
  color: #fff !important;
}
.alert {
  color: red;
  font-weight: bold;
}
.alert textarea {
  color: red !important;
  font-weight: normal;
}
.alert label {
  display: block;
  width: 100%;
  float: none;
}
html table.ui-table tr td.plain,
html table.ui-table tr th.plain {
  padding: 0 .25em;
}
tbody .alert,
tbody .proceed,
tbody .large {
  display: block;
  text-align: center
}
@media (max-width: 40em) {
  tbody .alert,
  tbody .proceed {
    font-size: 1.5em;
  }
}
.proceed {
  color: #0FBABD;
  font-weight: bold;
}

/* ======================== dyno (gadget layout) ========================= */
/* no friend, but for the moment ok */
.dyno {
  padding-top: 1em;
  padding-bottom: 1em;
  width: 100%;
}
.ui-panel .dyno,
.ui-content .span_1 .dyno,
.ui-content .span_2 .dyno,
.ui-content .span_3 .dyno {
  padding: 0;
}
.dyno > div.ui-table-wrapper:first-child {
  margin: 0;
}

/* ================================= CUSTOM CSS =========================== */

html body div.ui-content div.ui-controlbar a.light {
  color: #fff;
  text-shadow: none;
  border-color: #fff;
}
html body div.ui-content div.ui-controlbar a.light:hover,
html body div.ui-content div.ui-controlbar a.light:active,
html body div.ui-content div.ui-controlbar a.light.ui-btn-active {
  color: #000;
}
html body div.ui-content .vert,
html body div.ui-header.vert {
  background-color: #79AC21;
}
html body div.ui-content div.ui-controlbar a.vert.light,
html body div.ui-content div.ui-controlbar a.vert.light:hover,
html body div.ui-content div.ui-controlbar a.vert.light:active,
html body div.ui-content div.ui-controlbar a.vert.light.ui-btn-active {
  background-color: #A3ED24;
}
.rose.background {
  background: url("../img/bg-offre02.png") no-repeat scroll center 40px / 70px auto #B01B99;
}
html body div.ui-content .rose {
  background-color: #B01B99;
}
html body div.ui-content div.ui-controlbar a.rose.light,
html body div.ui-content div.ui-controlbar a.rose.light:hover,
html body div.ui-content div.ui-controlbar a.rose.light:active,
html body div.ui-content div.ui-controlbar a.rose.light.ui-btn-active
{
  background-color: #E156CC;
}
.bleu.background {
  background: url("../img/bg-offre03.png") no-repeat scroll center 40px / 80px auto #2296C9;
}
html body div.ui-content .bleu {
  background-color: #2296C9;
}
html body div.ui-content div.ui-controlbar a.bleu.light,
html body div.ui-content div.ui-controlbar a.bleu.light:hover,
html body div.ui-content div.ui-controlbar a.bleu.light:active,
html body div.ui-content div.ui-controlbar a.bleu.light.ui-btn-active {
  background-color: #5FC2EF;
}
.violet.background {
  background: url("../img/bg-offre01.png") no-repeat scroll  center 35px / 50px auto #7B40B8;
}
html body div.ui-content .violet {
  background-color: #7B40B8;
  color: #fff;
}
.violet > *,
.rouge > *,
.bleu > *,
.rose > *,
.vert > * {
  color: #fff;
}
html body div.ui-content div.ui-controlbar a.violet.light,
html body div.ui-content div.ui-controlbar a.violet.light:hover,
html body div.ui-content div.ui-controlbar a.violet.light:active,
html body div.ui-content div.ui-controlbar a.violet.light.ui-btn-active {
  background-color: #B184E0;
}
.rouge.background {
  background: url("../img/website-bg-libert-vacances.png") no-repeat scroll center 30px / 70px auto #EB5757;
}
html body div.ui-content .rouge {
  background-color: #EB5757;
}
html body div.ui-content div.ui-controlbar a.rouge.light,
html body div.ui-content div.ui-controlbar a.rouge.light:hover,
html body div.ui-content div.ui-controlbar a.rouge.light:active,
html body div.ui-content div.ui-controlbar a.rouge.light.ui-btn-active  {
  background-color: #FC8484;
}
.offer.custom_offer {
  max-height: 150px;
  min-height: 150px;
  text-align: left;
}
.offer.custom_offer.rouge h3 {
  margin-top: .5em;
  margin-bottom: 1em;
}
.offer.custom_offer.rouge a.ui-link {
  padding: 0 .5em;
}
@media (max-width: 40em) {
  .offer.custom_offer {
    text-align: center;
  }
  .offer.custom_offer.rouge h3 {
    margin: 2.5em 0 0.75em;
  }
}
.offer {
  width: 100%;
  min-height: 320px;
  max-height: 320px;
  border-radius: .6em;
  -webkit-border-radius: .6em;
  text-align: center;
}
.offer > img{
  padding: .25em;
}
.offer_tag {
  font-size: 150%;
  margin: 2.5em 0 0.75em;
  font-weight: bold;
  color: #FFFFFF;
  line-height: 1em;
}
.offer_price {
  font-size: 150%;
  margin: 0 0 0.75em;
  font-weight: bold;
  color: #FFFFFF;
  line-height: 1em;
}
.offer_tag_small {
  font-size: 1em;
}
span.offer_tag {
  margin: 1em 0;
}
/* offer */
.offer .ui-link, .offer .ui-link:hover, .offer .ui-link:active {
  color: #FFFFFF;
  text-decoration: none;
}
.offer .ui-link > span {
  display: block;
  padding: .5em;
  line-height: .5em;
}
.ui-header .ui-first-wrap ~ .ui-title-logo,
.ui-header .ui-first-wrap ~ picture {
  margin-left: 5em;
}
/* logo in header */
@media (max-width: 24em) {
  .ui-header .ui-first-wrap ~ .ui-title-logo,
  .ui-header .ui-first-wrap ~ picture {
    margin-left: 3em;
  }
}
/* img in subheader */
.ui-subheader > img{
  height: auto;
  padding: 0.75em 0.25em;
  vertical-align: middle;
}
/* border subheader */
@media (max-width: 60em) {
  .ui-header .ui-subheader {
    border-top-style: solid;
    border-top-width: 1px;
    display: block;
  }
  .rouge.background {
    background: url("../img/website-bg-libert-vacances.png") no-repeat scroll center 40px / 80px auto #EB5757;
  }
  .offer.custom_offer {
    max-height: 300px;
    min-height: 300px;
  }
}
/* collapsible inside panel */
.ui-collapsible-heading-toggle {
  font-size: 100%;
}
/* margin in panel listview */
.ui-collapsible-content > .ui-listview{
  margin: 0 !important;
}
.ui-collapsible-content > .ui.listview li:first-child {
  border-top-width: 0px;
}
.ui-collapsible-content > .ui-listview li:last-child {
  border-bottom-width: 1px;
}
.ui-panel .ui-collapsible .ui-collapsible-content > .ui-listview  .ui-li-divider {
  border: 1px solid red;
}
/* carousel handles */
html body .ui-carousel-handle-right:not(.ui-carousel-handle-inset), 
html body .ui-carousel-handle-left:not(.ui-carousel-handle-inset) {
  margin-top: -10% !important;
}
.ui-carousel-controls .ui-radio {
  background: 0 none;
}
.ui-carousel-controls .ui-radio label {
  width: 18px;
  height: 18px;
}
.ui-carousel-controls .ui-radio .ui-radio input {
  left: 0;
}
html body .ui-controlbar .ui-carousel-controls .ui-btn[class*="ui-icon-"]:after {
  margin-top: -8px;
  margin-left: -2px;
}
/* lonely button */
.ui-controlbar > .pad {
  padding: auto;
}
/* reverse list item */
.ui-listview.reverse {
  margin: 0;
}
/* intro text in header */
.beeper_text {
    display: inline-block;
    padding: 0 .5em;
    margin: 0;
}
/* custom footer > override everything here, but many things are like in
   the panel and some class assignment (first/last) is not working properly*/
html body .custom_footer .ui-listview .ui-li-divider {
  border-color: transparent;
}
html body .custom_footer .ui-listview .ui-li-divider h3 {
  font-weight: normal;
  font-size: 95%;
}
html body .custom_footer .ui-listview li a h3 {
  font-weight: normal;
}
html body .custom_footer .ui-listview li a {
  background-image: none;
  background-color: none;
}
html body .custom_footer .ui-listview li:nth-child(2) a {
  border-top-left-radius: .6em;
  border-top-right-radius: .6em;
  -webkit-top-left-radius: .6em;
  -webkit-top-right-radius: .6em;
}
html body .custom_footer .ui-listview li:last-child a {
  border-bottom-width: 1px;
  border-bottom-left-radius: .6em;
  border-bottom-right-radius: .6em;
  -webkit-bottom-left-radius: .6em;
  -webkit-bottom-right-radius: .6em;
}
html body .custom_footer .ui-listview {
  display: inline-block;
  vertical-align: top;
  width: 25%;
  padding-left: 4%;
  padding-right: 4%;
  box-shadow: none;
  -webkit-box-shadow: none;
}
@media (max-width: 60em) {
  html body .custom_footer .ui-listview {
    display: block;
    width: auto;
    padding: auto;
  }
}
/* custom bar */
.custom_bar {
  vertical-align: top;
  padding-left: 0;
  padding-right: 0;
}
.custom_bar_header {
  border-top-left-radius: 0.6em;
  border-top-right-radius: 0.6em;
  -webkit-border-top-left-radius: .6em;
  -webkit-border-top-right-radius: .6em;
  line-height: 1em;
  min-height: 1em;
  padding: 0.5em 0;
  vertical-align: bottom;
  width: 100%;
  border: 1px solid #aaa;
  color: #fff;
  margin-bottom: -1.5em;
  position: relative;
  z-index: 1;
  background-color: #FF712B;
  border-color: #FF712B;
  text-align: center;
}
.custom_bar_header ~ img {
  border: 1px solid #aaa;
  border-radius: 0;
  -webkit-border-radius: 0;
  border-bottom-width: 1px;
  border-bottom-left-radius: .6em;
  border-bottom-right-radius: .6em;
  -webkit-bottom-left-radius: .6em;
  -webkit-bottom-right-radius: .6em;
  width: 100%;
  z-index: -1;
}
/* custom_profit button position */
html body .custom_bar a.ui-btn.custom_profit {
  margin-top: -3.5em;
  background-color: #FF712B;
  border-color: transparent;
  color: #fff;
  text-shadow: none !important;
}
html body .custom_bar a.ui-btn.custom_profit:hover {
  color: #aaa;
}
.ui-listview.custom_reverse li.ui-li-has-thumb {
  line-height: 1em;
  padding: 0;
}
/* advantages listview */
.ui-listview.custom_reverse .ui-li-divider {
  text-align: center;
  border-color: #FF712B;
  background-color: #FF712B;
  text-shadow: none !important;
  border-top-left-radius: 0.6em;
  border-top-right-radius: 0.6em;
  -webkit-border-top-left-radius: .6em;
  -webkit-border-top-right-radius: .6em;
}
.ui-listview.custom_reverse .ui-li-divider h3 {
  color: #fff;
  font-weight: bold;
  line-height: 1.5em;
  display: inline;
  white-space: pre-wrap;
}
.ui-listview.custom_reverse li img:first-child {
    display: inline-block;
    max-width: none;
    width: 25%;
    position: static;
    vertical-align: middle;
}
@media (max-width: 60em) {
  .ui-listview.custom_reverse li img:first-child {
      display: block;
      max-width: none;
      width: 100%;
      max-height: none;
      position: static;
  }
}
.ui-listview.custom_reverse li:last-child {
  border-bottom-left-radius: .6em;
  border-bottom-right-radius: .6em;
  -webkit-bottom-left-radius: .6em;
  -webkit-bottom-right-radius: .6em;
  border-bottom-width: 1px;
}
.ui-listview.custom_reverse li:not(:first-child) > * {
  white-space: pre-wrap;
  text-align: center;
  line-height: 1.5em;
  color: #a3a3a3;
}
.ui-listview.custom_reverse li:not(:first-child) p {
  font-size: 90%;
  text-align: left;
  display: inline-block;
  vertical-align: middle;
}
.ui-listview.custom_reverse li:not(:first-child) h3 {
  display: inline-block;
  padding-left: 5%;
  padding-right: 5%;
  vertical-align: middle;
  min-width: 7%;
}
@media (max-width: 60em) {
  .ui-listview.custom_reverse li:not(:first-child) > p,
  .ui-listview.custom_reverse li:not(:first-child) > img,
  .ui-listview.custom_reverse li:not(:first-child) > h3 {
    display: block;
    width: 100%;
    padding-left: 0;
    padding-top: 0;
    text-align: center;
  }
  .ui-listview.custom_reverse .ui-li-divider {
    border: 0 none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }
}
.offer.custom_offer > * {
    display: block;
    text-align: left;
}
.offer.custom_offer img {
  padding: .5em;
}
.offer.custom_offer h3 {
  padding-left: .5em;
}
.offer.custom_offer a .offer_tag {
  font-size: 100%;
  font-weight: normal;
}
.offer.custom_offer a:last-child {
  display: block;
}
.custom_find_out {
    float: right;
    margin-right: 1.75em;
    margin-top: -5em;
}
.custom_button {
  margin-top: -3em;
}
@media (max-width: 60em) {
.custom_find_out {
    float: none;
    margin-top: auto;
    margin-right: auto;
  }
.custom_button,
.offer.custom_offer a:last-child {
  margin-top: 0;
  display: inline-block;
  text-align: center;
  float: none;

  }
.offer.custom_offer > * {
    display: inline-block;
    text-align: center;
  }
  .offer.custom_offer a .offer_tag {
    line-height: 1.5em;
  }
  .custom_find_out {
    float: none;
    display: inline-block;
  }
}
.dyno > .ui-controlgroup {
  text-align: center;
}
@media (max-width: 60em) {
  .dyno > .ui-controlgroup {
    margin: 1em 0;
  }
  .dyno > .ui-controlgroup .ui-controlgroup-controls .ui-btn {
    padding-left: 12px;
    padding-right: 12px;
  }
}
/* subscription_selector */
ul.ui-listview.subscription_selector {
  vertical-align: top;
  margin-top: 0.5em;
}
ul.ui-listview.subscription_selector li.ui-li-has-thumb {
  padding-left: 5.25em;
}
ul.ui-listview.subscription_selector li:first-child {
  border-top-left-radius: .6em;
  border-top-right-radius: .6em;
  -webkit-top-left-radius: .6em;
  -webkit-top-right-radius: .6em;
}
ul.ui-listview.subscription_selector li:last-child {
  border-bottom-left-radius: .6em;
  border-bottom-right-radius: .6em;
  -webkit-bottom-left-radius: .6em;
  -webkit-bottom-right-radius: .6em;
}
/* footer collapsible */
.custom_footer_collapsible .ui-collapsible-heading a {
  display: block;
  background: transparent;
  text-align: center;
  font-weight: bold;
  font-size: 1em;
}
.custom_footer_collapsible .ui-collapsible-heading a:hover {
  background: auto;
}
html body div.ui-collapsible.custom_footer_collapsible div.ui-collapsible-content {
  background: transparent;
}
html body div.ui-collapsible.custom_footer_collapsible div.ui-collapsible-content .ui-listview li a {
  padding-top: .25em;
  padding-bottom: .25em;
}
/* pull up the info box under the listview subscription on desktop */
.custom_advantage {
  max-width: 40%;
}
.custom_advantage p {
  margin: 0;
  vertical-align: bottom;
}
.custom_advantage ~ .span_1 {
  display: inline-block;
}
.custom_form_display .span_2 {
  float: left;
}
@media (max-width: 60em) {
  .custom_form_display .span_2 {
    float: none;
  }
  html div.ui-page div.ui-content .ui-content-element > .ui-btn,
  .custom_advantage {
    max-width: none;
  }
}
html .ui-btn.ui-panel-close:after {
  color: #fff;
}
html .ui-panel .ui-collapsible h1 a {
  border-bottom-width: 0px;
}
html .ui-panel .panel_element_last .ui-collapsible h1 a {
  border-bottom-width: 1px;
}
p.custom_padding {
  padding-right: 5%;
}
@media (max-width: 60em) {
  p.custom_padding {
    padding-right:0;
  }
}
img.ui-title-logo {
  cursor: pointer;
}

li {
  text-align: left !important;
  margin-left: 20px;
}
