/*user login*/
.path-user .layout-content{
  margin-bottom: 90px;
}
.path-user header {
  position: static!important;
  top: 0!important;
}

.password-strength {
  margin-bottom: 10px;
}

.path-user .user-login-form,
#block-newcustomers{
  margin: 50px 0;
}
.path-user .page-title{
  text-align: center;
}

.user-login-form{
  max-width: 500px;
}

.user-login-form .form-actions,
.user-pass .form-actions,
.user-register-form .form-actions{
    display: inline-block;
    float: right;
    clear: right;
    margin: 20px 0 0 0;
}
.user-login-form .captcha {
    float: right;
}
.user-register-form .form-actions {
    clear: right;
}

.new-customer-content .content-action-toolbar {
  text-align: right;
}

/*reset password*/
#block-hmds-content #user-pass{
  max-width: 500px;
  margin: 50px auto;
}


/*user register form*/
#user-register-form {
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
  padding: 50px 0;
}
#user-register-form label {
  display: block;
}

#user-register-form .password-confirm,
#user-register-form .password-field,
#user-register-form .password-strength,
#user-register-form .password-confirm-match,
#user-register-form select{
  width: 100%;
}


#user-register-form > .form-wrapper:not(.form-actions){
  display: inline-block;
  width: 50%;
  max-width: 350px;
  padding-left: 20px;
}

#user-register-form > .form-wrapper:not(.form-actions):nth-of-type(-n+6) {
  float: left;
  clear: left;
  padding-left: 0;
  padding-right: 20px;
}

#user-register-form .field--type-datetime{
    margin-bottom: 16px;
}
#user-register-form .field--type-datetime .label {
    font-weight: normal;
    margin-bottom: 0.5em;
    display: block;
}

#user-register-form div[id*='edit-pass--description'] {
    display: none;
}

#user-register-form > .field--name-field-terms-and-conditions {
    /*float: right;*/
    /*clear: right;*/
}
#user-register-form div[id*="edit-field-newsletter-wrapper"] {
    /*float: right;*/
    /*clear: right;*/
}

#user-register-form div[id*="edit-field-newsletter-wrapper"] .js-form-item {
    margin-top: 0;
}
#user-register-form div[id*="edit-field-newsletter-wrapper"] .js-form-item legend {
    display: none;
}

#user-register-form .captcha {
    float: right;
}

#user-register-form .form-wrapper:not(.form-actions) > div{
  margin-top: 0;
}
#user-register-form #edit-password-reset-link {
  display: inline-block;
  clear: both;
  float: left;
}

#edit-password-reset-link {
    display: inline-block;
    margin-top: 105px;
}
.user-pass #edit-password-reset-link,
.user-login-form #edit-password-reset-link {
    margin-top: 28px;
}

/*phone number*/
form .js-form-type-select .country-select {
  border: 1px solid #767676;
  padding: 0 5px;
  height: 38px;
  border-radius: 2px;
  width: 98%;
  position: relative;
}
form .js-form-type-select .country-select{
  background: url('../images/select-arrow.svg') no-repeat 100% 50%;
}


form .js-form-type-select .country-select .prefix {
  line-height: 35px;
}

div.js-form-item-field-phone-0-country-code {
  width: 30%;
}
div.js-form-item-field-phone-0-mobile {
  width: 68%;
}
div.js-form-item-field-phone-0-mobile input {
  width: 100%!important;
}

form .mobile-number-field .local-number {
  border: 1px solid #767676;
  padding: 0 5px;
  height: 38px;
  border-radius: 2px;
}


/*new custommer block*/
@media all and (min-width: 768px) {
  .new-customer-content .content{
    min-height: 114px;
  }
}

@media all and (max-width: 767px) {
  .path-user .page-title{
    text-align: left;
  }
    #user-register-form #edit-password-reset-link {
        float: none;
        margin-top: 0;
    }
    #user-register-form .captcha {
        float: none;
        margin-top: 20px;
    }

  .content-action-toolbar .btn {
    width: 100%;
    margin-top: 10px;
  }
  .form-actions,
  .form-actions .btn {
    width: 100%;
  }
  .form-actions .btn {
    margin-top: 10px;
  }

  #user-register-form > .form-wrapper:not(.form-actions){
    display: inline-block;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
      padding-right: 0!important;
  }

  #user-register-form > .form-wrapper:not(.form-actions):nth-of-type(-n+5) {
    float: none;
    clear: none;
    padding-left: 0;
    padding-right: 0;
  }

}


/*user account*/

/*user tabs*/
.path-user .tabs.primary li{
  display: block;
  border-bottom: 1px solid #10cfbd;
}
.path-user .tabs a {
    color: #2c2c2c;
    padding: 10px 15px 10px 15px;
    text-decoration: none;
}
.path-user .tabs a:hover {
  color: #2c2c2c
}
.path-user .tabs a.is-active {
  background-color: #10cfbd;
  color: #fff;
}

/*edit tab*/
form#user-form > .form-wrapper:not(.form-actions){
  display: inline-block;
  width: 50%;
  padding-left: 20px;
}
form#user-form > .form-wrapper:not(.form-actions):nth-of-type(-n+4) {
  float: left;
  clear: left;
  padding-left: 0;
  padding-right: 20px;
}

form#user-form .form-wrapper:not(.form-actions) > div{
  margin-top: 0;
}

form#user-form .form-wrapper label{
  display: block;
}
form#user-form .form-wrapper:not(.form-actions) input,
form#user-form .form-wrapper select {
  width: 100%;
}
form#user-form .mobile-number-field .form-type-textfield input{
  max-width: 200px;
}

form#user-form .form-wrapper .confirm-parent,
form#user-form .form-wrapper .password-parent {
  max-width: 100%;
}


/*user profile*/
.strong-text {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    display: inline-block;
}
.reset-password-page .user-pass-reset {
    margin-top: 60px;
}

.custom-tabs,
.user-account-content,
.user-edit-content{
    padding-top: 60px;
}

.user-edit-content form {
    overflow: hidden;
}
.user-edit-content .field--name-field-newsletter fieldset {
    margin: 0;
}
.user-edit-content .field--name-field-newsletter fieldset .js-form-type-checkbox{
    margin: 0;
}
.user-edit-content .field--name-field-newsletter legend{
    display: none;
}
.user-edit-content .field--name-field-terms-and-conditions,
.user-edit-content .field--name-field-newsletter,
.user-edit-content .form-actions {
    float: right;
    clear: both;
}

@media all and (max-width: 767px) {
    form#user-form > .form-wrapper:not(.form-actions) {
        width: 100%;
        padding-left: 0;
    }
    form#user-form > .form-wrapper:not(.form-actions):nth-of-type(-n+4) {
        padding-right: 0;
    }
}

.accordion .show {
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.accordion .card:not(.active) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.125)!important;
}

#accordionTabs .card .btn {
    position: relative;
    padding-left: 40px;
}

#accordionTabs .card .btn:before {
    content: "\f105";
    font-family: 'fontAwesome';
    display: inline-block;
    width: 15px;
    height: 20px;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-60%);
}
#accordionTabs .card.active .btn:before{
    content: "\f107";
}

.accordion .card.active .card-header{
    background-color: #10cfbd;
}
.accordion .card .card-header .btn {
    padding: 0.75rem 1.25rem;
    font-family: 'Roboto', sans-serif;
    height: auto;
    text-transform: none;
}

.accordion .card .card-header .btn:hover {
    background-color: transparent;
}

.accordion .card.active .card-header .btn {
    color: #fff!important;
}


.card-item a {
    display: inline-block;
    color: #555;
    font-family: 'Roboto', sans-serif;
    position: relative;
    text-transform: lowercase;
}
.card-item a:first-letter {
    text-transform: capitalize;
}
.first-letter-uppercase {
    text-transform: lowercase;
}
.first-letter-uppercase:first-letter {
    text-transform: capitalize;

}

.card-item p {
    color: #888;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

.card-item a:hover {
    color: #10cfbd;
}
.card-item.active a {
    color: #10cfbd;
    text-decoration: underline;
}

.card-item .account-event-icon {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    /*position: relative;*/
    /*top: 2px;*/
    /*left: 4px;*/
    position: absolute;
    top: 5px;
    right: -21px;
}

.card-item .draft {
    background-color: #14a1c8;
}

.card-item .pending {
    background-color: #ff2e2e;
}

.card-item .confirm {
    background-color: #0c8f00;
}


.legend-item .draft {
    background-color: #14a1c8;
}

.legend-item .pending {
    background-color: #ff2e2e;
}

.legend-item .confirm {
    background-color: #0c8f00;
}

.legend-item.card-item .account-event-icon{
    position: inherit;
}




/*accordion tabs*/
.custom-tabs .tabs {
padding-left: 0;
}
.custom-tabs .tabs.inner-tabs {
margin: 0;
}
.custom-tabs .tabs.inner-tabs li:last-of-type{
border: 0;
}
.custom-tabs .tabs.inner-tabs li:not(.no-link) a {
padding-left: 30px;
}

.custom-tabs .tabs li.no-link {
padding: 10px 15px 10px 15px;
}

#accordionTabs .card-item {
    position: relative;
    width: 85%;
    min-width: 145px;
}

#accordionTabs .card-item .icon {
    position: absolute;
    top: 0;
    left: 0;
}

#accordionTabs .card-item a {
    padding-left: 21px;
    display: inline-block;
}

@media all and (max-width: 1319px) and (min-width: 768px){
    #accordionTabs .card-item a {
        min-width: 145px;
    }
}

#accordionTabs .card-item .fa-bed {
    font-size: 15px;
}

.accordion .fa-fire:before {
    content: '';
    display: inline-block;
    width: 17px;
    height: 17px;
    background-image: url("../images/elements/bivouak_icon.jpg");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: bottom;
}


/*tabs content*/

.user-account-content .edition-name {
    margin: 0;
}

.user-account-content .table-total{
    text-align: right;
}

.user-account-content .table-total .order-total-line__total{
    font-family: 'Roboto';
}

.user-account-content .checkout-order-summary {
    font-size: 20px;
}

.user-account-content .checkout-order-summary table tr td:last-of-type{
    text-align: right;
}

.user-account-content form:not(.profile-form) {
    max-width: 660px;
}

.user-account-content form div.js-form-item-field-phone-0-mobile {
    width: 68%;
}

.user-account-content form Label {
    display: block;
}
.user-account-content form input:not([type='submit']):not([type='date']) {
    width: 100%;
}

.user-account-content form input[type='submit'] {
    float: right;
}
.profile-customer-form fieldset[id*="edit-field-newsletter"] .form-type-checkbox {
    margin: 0;
}
.profile-customer-form fieldset[id*="edit-field-newsletter"] legend {
    display: none;
}



/*tab information pages*/

/*Bivouac*/
.user-account-content img {
    max-width: 100%;
}
.user-account-content .form-item {
    margin-top: 0;
}
.form-content form table tr td .js-form-item{
    margin-bottom: 15px;
}
.form-content form .form-actions input:first-of-type,
.form form .form-actions input:first-of-type {
    float: none;
}

/*after submit*/
.form-content .field--name-field-neighbours .field__items,
.form-content .field--name-field-roommates .field__items{
    margin-top: 10px;
}

.form-content .field--name-field-neighbours .field__items .field__item,
.form-content .field--name-field-roommates .field__items .field__item{
    border: 1px solid #dfdfdf;
    background-color: #f7f7f7;
    padding: 5px 10px;
    margin-bottom: 15px;
}


/*documents page*/
.documents i {
    font-size: 30px;
    color: #10cfbd;
}

.documents .document-title {
    font-size: 20px;
}
.documents .document-title a {
    color: #10cfbd;
    font-family: 'Roboto', sans-serif;
}

/*Account settings*/
.user-account-settings-form.user-form {
    max-width: inherit!important;
}
.user-account-settings-form.user-form > .js-form-wrapper:not(.field--widget-mailchimp-lists-select):not(.field--name-field-terms-and-conditions){
    float: left;
    position: relative;
    display: inline-block;
    width: 48%;
    clear: left;
    margin-right: 4%;
}

.user-account-settings-form.user-form > #edit-account.js-form-wrapper{
    position: relative;
    display: inline-block;
    width: 48%;
    margin-right: 0;
    float: none;
}

.user-account-settings-form.user-form .field--name-field-terms-and-conditions{
    margin-top: 30px;
    clear: both;
}
.user-account-settings-form.user-form fieldset[id*="edit-field-newsletter"] legend{
    display: none;
}
.user-account-settings-form .field--type-datetime {
    margin-bottom: 15px;
}
.user-account-settings-form .field--type-datetime .label{
    display: inline-block;
    font-weight: normal;
    margin-bottom: 10px;
}
.user-account-settings-form.user-form .form-actions.js-form-wrapper {
    margin-right: 0!important;
}
.user-account-settings-form.user-form .form-actions.js-form-wrapper input#edit-delete{
    float: right;
    margin-left: 0;
}


/*Personal information*/
.profile-personal-information-form.profile-form {
    max-width: inherit;
}

/*.profile-personal-information-form.profile-form > .js-form-wrapper {*/
/*    position: relative;*/
/*    display: inline-block;*/
/*    width: 48%;*/
/*}*/
/*.profile-personal-information-form.profile-form > .js-form-wrapper:nth-child(-n+12){*/
/*    float: left;*/
/*    clear: left;*/
/*    margin-right: 4%;*/
/*}*/

.profile-personal-information-form.profile-form .field--type-datetime {
    margin-bottom: 15px;
}
.profile-personal-information-form.profile-form .field--type-datetime .label{
    display: inline-block;
    font-weight: normal;
    margin-bottom: 10px;
}

.profile-personal-information-form.profile-form > .form-actions {
    float: right;
}
.profile-personal-information-form.profile-form input[data-drupal-selector="edit-field-date-of-birth-0-value-date"] {
    pointer-events: none;
    background-color: #f7f7f7;
}

.personal-information .form .profile--type--personal-information {
    padding: 5px 11px;
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.125);
}


/*Companion information*/
.profile-companion-information-form.profile-form {
    max-width: inherit;
}
.profile-companion-information-form.profile-form > .js-form-wrapper {
    position: relative;
    display: inline-block;
    width: 48%;
}
.profile-companion-information-form.profile-form > .js-form-wrapper:nth-child(-n+9){
    float: left;
    clear: left;
    margin-right: 4%;
}

.profile-companion-information-form.profile-form .field--type-datetime {
    margin-bottom: 15px;
}
.profile-companion-information-form.profile-form .field--type-datetime .label{
    display: inline-block;
    font-weight: normal;
    margin-bottom: 10px;
}

.profile-companion-information-form.profile-form > .form-actions {
    float: right;
    clear: both;
}
.profile-companion-information-form.profile-form .form-actions input:first-of-type {
    float: none;
}

.profile--type--companion-information.profile {
    background-color: rgba(0, 0, 0, 0.03);
    padding: 20px;
}

.profile--type--companion-information.profile .field{
    position: relative;
    display: inline-block;
    width: 48%;
    margin-bottom: 10px;
}
.profile--type--companion-information.profile .field:nth-child(-n+4){
    float: left;
    clear: left;
    margin-right: 4%;
}

.profile--type--companion-information.profile .field:nth-child(4):after{
    content: '';
    display: block;
    height: 135px;
}
div[class*="profile--type--"].profile .field .field__label,
.accomodation-chioce,
.bold-title-text .field__label{
    display: inline-block;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: normal;
    font-family: 'Roboto', sans-serif;
    vertical-align: top;
}
div[class*="profile--type--"].profile .field .field__label:after {
    content: ':';
    display: inline-block;
}
div[class*="profile--type--"].profile .field .field__item {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    vertical-align: top;
    font-size: 14px;
}

div[class*="profile--type--"].profile .custom-date > h3{
    display: none;
}

.profile-form .country.form-select,
.user-form .country.form-select{
    width: 100%;
}

/*Emergency info*/
.profile-emergency-info-form.profile-form {
    max-width: inherit;
}

.profile-emergency-info-form.profile-form .field--name-field-first-name,
.profile-emergency-info-form.profile-form .field--name-field-last-name {
    float: left;
    clear: left;
    margin-right: 4%;
}

.profile-emergency-info-form.profile-form > .form-wrapper{
    position: relative;
    display: inline-block;
    width: 48%;
    margin-bottom: 10px;
}

.profile-emergency-info-form.profile-form > .form-actions {
    float: right;
}
.profile-emergency-info-form.profile-form > .form-actions input:first-of-type {
    float: none;
}

.profile--type--emergency-info {
    background-color: rgba(0, 0, 0, 0.03);
    padding: 20px;
}

.profile--type--emergency-info .field{
    position: relative;
    display: inline-block;
    width: 48%;
    margin-bottom: 10px;
}
.profile--type--emergency-info .field:nth-child(-n+3){
    float: left;
    clear: left;
    margin-right: 4%;
}

.profile--type--emergency-info .field .field__label,
.profile--type--arrival-departure-information .field__label{
    display: inline-block;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: normal;
    font-family: 'Roboto', sans-serif;
}
.profile--type--emergency-info .field .field__label:after,
.profile--type--arrival-departure-information .field__label:after{
    content: ':';
    display: inline-block;
}
.profile--type--emergency-info .field .field__item,
.profile--type--arrival-departure-information .field__item{
    display: inline-block;
    font-family: 'Roboto', sans-serif;
}


@media all and (max-width: 991px) {
    .contextual-region.profile .field {
        width: 100%;
        margin-right: 0!important;
    }
    .profile-emergency-info-form.profile-form > .form-wrapper {
        width: 100%;
        margin-right: 0!important;
    }
    .contextual-region.profile .field:nth-child(4):after{
        display: none;
    }

    .user-account-settings-form.user-form > .js-form-wrapper:not(.field--widget-mailchimp-lists-select):not(.field--name-field-terms-and-conditions),
    .user-account-settings-form.user-form > #edit-account.js-form-wrapper{
        width: 100%;
    }

    .profile-personal-information-form.profile-form > .js-form-wrapper,
    .profile-companion-information-form.profile-form > .js-form-wrapper{
        width: 100%;
    }
}

/*warning message*/
.messages--warning p:last-of-type {
    margin-bottom: 0;
}


/*dashboad*/
.card .card-status {
    font-size: 12px;
    padding: 5px 5px;
    display: inline-block;
    line-height: 16px;
    border-radius: 3px;
}

/*Arrival information*/
/*.profile-arrival-departure-information-form.profile-form {*/
/*    display: -ms-flexbox;*/
/*    display: flex;*/
/*    -ms-flex-wrap: wrap;*/
/*    flex-wrap: wrap;*/
/*    margin-right: -15px;*/
/*    margin-left: -15px;*/
/*}*/

.profile-arrival-departure-information-form .form-actions{
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}
.profile-arrival-departure-information-form .field--type-datetime{
    margin-bottom: 1em;
}

.profile-arrival-departure-information-form .field--type-datetime .label{
    font-weight: normal;
    margin-bottom: 8px;
    display: block;
}
/*.profile-arrival-departure-information-form .field--type-datetime input{*/
/*    pointer-events: none;*/
/*    opacity: 0.8;*/
/*}*/
.profile-arrival-departure-information-form .fieldset-wrapper input {
    margin: 0;
}
.profile-arrival-departure-information-form .fieldset-wrapper legend {
    font-size: 16px;
}

.modal.timepicker-modal.open {
    height: auto;
}

.profile--type--arrival-departure-information fieldset.form-item {
    margin-top: 20px;
}

.profile--type--arrival-departure-information .field--name-field-airport-hotel-transfer,
.profile--type--arrival-departure-information .field--name-field-hotel-airport-transfer{
    width: 100%;
    padding: 5px 11px;
    margin-top: 5px;
    text-transform: uppercase;
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.125);
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.profile--type--arrival-departure-information .field--name-field-airport-hotel-transfer .field__label,
.profile--type--arrival-departure-information .field--name-field-hotel-airport-transfer .field__label {
    display: inline-block;
    max-width: 76%;
    float: left;
    margin-right: 4%;
}
.profile--type--arrival-departure-information .field--name-field-airport-hotel-transfer .field__item,
.profile--type--arrival-departure-information .field--name-field-hotel-airport-transfer .field__item {
    float: left;
    font-size: 14px;
    text-align: right;
    width: 20%;
}

.profile-hotel-information-form .form-actions {
    min-height: 24px;
}



/*time picker*/
.timepicker .title{
    display: none;
}

@media all and (min-width: 992px) {
    .timepicker .cell-4 {
        height: 20px;
    }
    .timepicker .cell-2 {
        height: 20px;
    }
    .timepicker .icon-down,
    .timepicker .icon-up {
        width: 100%;
        background-size: 30%;
        height: 27px;
    }
    .timepicker .handle .cell-4 {
        height: 27px;
    }
}



@media (min-width: 992px){
    .profile-arrival-departure-information-form .form-actions{
        margin-left: 50%;

        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;

        position: relative;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }
}

@media all and (max-width: 991px) {
    .arrival-information {
        border-bottom: 1px solid #ccc;
    }
}

/*Payments*/

/*table*/
.payment-container .responsive-enabled,
.payment-container table.views-table {
    width: 100%;
}

.payment-container .responsive-enabled thead{
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    font-size: 14px;
}
.payment-container .responsive-enabled thead th {
    padding: 10px 5px;
    background-color: #10cfbd;
    color: #fff;
}
.payment-container .responsive-enabled thead th:first-child{
    border-top-left-radius: 5px;
}
.payment-container .responsive-enabled thead th:last-child {
    border-top-right-radius: 5px;
}
.payment-container .responsive-enabled thead th:nth-child(4) {
    width: 100px;
    text-align: center;
}

.payment-container .responsive-enabled thead th:nth-child(5):nth-child(6):nth-child(7) {
    width: 140px;
}

.payment-container .responsive-enabled tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    font-size: 14px;
}

.payment-container .responsive-enabled tbody tr:nth-child(odd) {

}

.payment-container .responsive-enabled tbody tr td {
    padding: 10px 5px;
}
.payment-container .responsive-enabled tbody tr td:nth-child(4),
.payment-container .responsive-enabled tbody tr td:nth-child(7){
    text-align: center;
}
.payment-container .payment-summary-line {
    overflow: hidden;
    margin-bottom: 10px;
}

.payment-container .payment-summary-line-label,
.payment-container .payment-summary-line-value {
    display: inline-block;
    width: 50%;
    float: left;
}







@media all and (max-width: 1319px) {

    /*new RESPONSIVE TABLE*/
    .payment-container .responsive-enabled {
        display: inline-block !important;
        width: 100%;
    }

    .payment-container .responsive-enabled tbody {
        display: block;
    }

    .payment-container .responsive-enabled thead,
    .payment-container .responsive-enabled tbody,
    .payment-container .responsive-enabled th,
    .payment-container .responsive-enabled td,
    .payment-container .responsive-enabled tr {
        display: block;
    }

    .payment-container .responsive-enabled thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .payment-container .responsive-enabled tbody tr {
        position: relative;
        height: inherit !important;
    }

    .payment-container .responsive-enabled td {
        position: relative;
    }

    .payment-container .responsive-enabled span {
        margin: inherit;
    }

    .payment-container .responsive-enabled .header-in-table {
        position: absolute;
        left: 0;
        top: 0;
        padding: 10px;
        padding-top: 16px;
        color: #021f16;
        max-width: 30%;
        z-index: 15;
        line-height: 12px;
        font-size: 14px;
    }

    .payment-container .responsive-enabled a:before {
        position: absolute;
        left: inherit;
    }
    .payment-container .responsive-enabled .views-align-right {
        text-align: center;
    }
    .payment-container .responsive-enabled tr {
        border: 1px solid #ccc;
        margin-bottom: 20px;
    }

    .payment-container .responsive-enabled td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 37% !important;
        text-align: left !important;
        min-height: 40px;
        overflow: hidden;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        width: auto !important;
        max-width: inherit !important;
    }

    .payment-container .responsive-enabled .label-caption {
        padding-left: 10px !important;
    }

    .payment-container .responsive-enabled .form-submit.ajax-processed {
        float: none !important;
        min-width: 55px !important;
        margin: 0 !important;
    }

    .payment-container .responsive-enabled td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 40%;
        padding-right: 10px;
        white-space: nowrap;
    }
}
@media all and (max-width: 991px) {
    .payment-container .responsive-enabled td {
        min-height: 60px;
    }
}
















/*@media all and (max-width: 640px) {*/
/*    !*NEW RESPONSIVE TABLE*!*/
/*    .customer-user-brief,*/
/*    .view-flag-bookmarks-tab,*/
/*    .commerce-line-item-views-form, .field--name-field-bespoke-fonts-prices-table{*/
/*    table:not(.commerce-price-formatted-components) tbody {*/
/*        display: block;*/
/*    thead, tbody, th, td, tr {*/
/*        display: block;*/
/*    }*/
/*    .views-table-row-select-all.even {*/
/*        display: none;*/
/*    }*/
/*}*/

/*table:not(.commerce-price-formatted-components) {*/
/*!* Hide table headers (but not display: none;, for accessibility) *!*/
/*thead tr {*/
/*    position: absolute;*/
/*    top: -9999px;*/
/*    left: -9999px;*/
/*}*/
/*tbody tr {*/
/*    position: relative;*/
/*    height: inherit!important;*/
/*td {*/
/*    position: relative;*/
/*.header-in-table {*/
/*    position: absolute;*/
/*    left: 0;*/
/*    top: 0;*/
/*    padding: 10px;*/
/*    padding-top: 16px;*/
/*    color: #021f16;*/
/*    max-width: 20%;*/
/*    font-family: 'CarlsbergSans-Bold';*/
/*    z-index: 20;*/
/*    line-height: 12px;*/
/*    font-size: 14px;*/
/*}*/
/*a:before {*/
/*    position: absolute;*/
/*    left: inherit;*/
/*    @include translate(0, -50%);*/
/*}*/
/*}*/
/*.views-align-right {*/
/*    text-align: center;*/
/*}*/
/*}*/

/*tr {*/
/*    border: 1px solid #ccc;*/
/*    margin-bottom: 20px;*/
/*}*/

/*td {*/
/*    !* Behave  like a "row" *!*/
/*    border: none;*/
/*    border-bottom: 1px solid #eee;*/
/*    position: relative;*/
/*    padding-left: 35%!important;*/
/*    text-align: left!important;*/
/*    min-height: 40px;*/
/*    overflow: hidden;*/
/*    padding-top: 10px!important;*/
/*    padding-bottom: 10px!important;*/
/*    width: auto!important;*/
/*    max-width: inherit!important;*/
/*.form-submit.ajax-processed {*/
/*    float: none!important;*/
/*    min-width: 55px!important;*/
/*    margin: 0!important;*/
/*}*/
/*}*/

/*td:before {*/
/*    !* Now like a table header *!*/
/*    position: absolute;*/
/*    !* Top/left values mimic padding *!*/
/*    top: 6px;*/
/*    left: 6px;*/
/*    width: 40%;*/
/*    padding-right: 10px;*/
/*    white-space: nowrap;*/
/*}*/
/*}*/
/*}*/
/*!*END NEW RESPONSIVE TABLE*!*/
/*}*/



