/*
 * Vokuro styles
 */

div.remember {
    color: #969696;
    margin-top: 7px;
}

div.remember label {
    padding-top: 15px;
}

div.forgot {
    margin-top: 7px;
    color: #dadada;
}

footer {
    background: url("../img/feature-gradient.png") no-repeat scroll center 100% white;
    color: #b7b7b7;
    font-size: 12px;
    padding: 30px 0;
    text-align: center;
}

footer a {
    margin-left: 10px;
    margin-right: 10px;
}

table.signup td {
    padding: 10px;
}

table.signup .alert {
    margin-bottom: 0;
    margin-top: 3px;
}
/*
table.perms select {
	margin-top: 5px;
	margin-right: 10px;
}

table.perms label {
	margin-right: 10px;
}*/

div.main-container {
    min-height: 450px;
    padding: 20px;
}

/*
 * Base structure : BOOTSTRAP DASHBOARD STYLES
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body:not(.public) {
    padding-top: 50px;
    background-color: #eee;
}

/*
 * Global add-ons
 */

.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
    border: 0;
}

.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
/*.sidebar {
  display: none;
}*/
/*@media (min-width: 768px) {*/
.sidebar {
    /*position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;*/
    z-index: 1000;
    /*display: block;*/
    padding: 20px;
    padding-top: 0;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #444;
    border-right: 1px solid #eee;
}
/*}*/

/* Sidebar navigation */
.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}
.nav-sidebar > li > a {
    padding-right: 20px;
    padding-left: 40px;
    font-weight: bold;
    color: #fff;
}
.nav-sidebar > li > a .mdi::before {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
}
.nav-sidebar > li > a:focus,
.nav-sidebar > li > a:hover {
    background-color: #ef1f74;
}

.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
    background-color: #00adeb;
}

.nav-sidebar li.logo,
.nav-sidebar li.logout {
    background-color: #999;
}
.nav-sidebar li.logo {
    margin-bottom: 16px;
}
.nav-sidebar li.logo a {
    text-align: center;
    padding: 12px 0px 12px;
    border-bottom: 4px solid #ef1f74;
}
.nav-sidebar li.logout a {
    text-align: center;
    padding-left: 0;
    padding-right: 0;
}
.nav-sidebar > li.logout > a .mdi::before {
    position: relative;
    top: 10px;
}

/*
 * Off Canvas
 * --------------------------------------------------
 */
@media screen and (max-width: 767px) {
    .row-offcanvas {
        position: relative;
        -webkit-transition: all 0.25s ease-out;
        -o-transition: all 0.25s ease-out;
        transition: all 0.25s ease-out;
    }

    .row-offcanvas-right {
        right: 0;
    }

    .row-offcanvas-left {
        left: 0;
    }

    .row-offcanvas-right .sidebar-offcanvas {
        right: -50%; /* 6 columns */
    }

    .row-offcanvas-left .sidebar-offcanvas {
        left: -50%; /* 6 columns */
    }

    .row-offcanvas-right.active {
        right: 50%; /* 6 columns */
    }

    .row-offcanvas-left.active {
        left: 50%; /* 6 columns */
    }

    .sidebar-offcanvas {
        position: absolute;
        top: 1px;
        bottom: 0;
        width: 50%; /* 6 columns */
    }

    .nav-sidebar {
        margin-left: -15px;
        margin-right: -15px;
    }

    .row-offcanvas.active .nav-sidebar {
        margin-left: -5px;
        margin-right: -20px;
    }
}

/*
 * Main content
 */
.main {
    padding-bottom: 48px;
}
@media (min-width: 768px) {
    .main {
        padding-right: 40px;
        padding-left: 40px;
    }
}
.main .page-header {
    background-color: #43c0c1;
    color: #fff;
    padding: 16px 50px;
    margin: 1px -40px 24px;
    text-transform: uppercase;
    border-bottom: 4px solid #ef1f74;
}

.main .page-header .glyphicon {
    font-size: 75%;
    padding-left: 12px;
}

.main .page-header small {
    font-size: 75%;
    padding-left: 16px;
    color: #656565;
    position: relative;
    top: -2px;
}

/*---------- END BOOTSTRAP DASHBOARD STYLES --------------*/

/*---------- Additional Boostrap Specific CSS for Material Design Icons --------------*/
.mdi::before {
    font-size: 24px;
    line-height: 14px;
}
.btn .mdi::before {
    position: relative;
    top: 4px;
}
.btn-xs .mdi::before {
    font-size: 18px;
    top: 3px;
}
.btn-sm .mdi::before {
    font-size: 18px;
    top: 3px;
}
.dropdown-menu .mdi {
    width: 18px;
}
.dropdown-menu .mdi::before {
    position: relative;
    top: 4px;
    left: -8px;
}
.navbar .navbar-toggle .mdi::before {
    position: relative;
    top: 4px;
    color: #fff;
}
.breadcrumb .mdi::before {
    position: relative;
    top: 4px;
}
.breadcrumb a:hover {
    text-decoration: none;
}
.breadcrumb a:hover span {
    text-decoration: underline;
}
.alert .mdi::before {
    position: relative;
    top: 4px;
    margin-right: 2px;
}
.input-group-addon .mdi::before {
    position: relative;
    top: 3px;
}
.navbar-brand .mdi::before {
    position: relative;
    top: 2px;
    margin-right: 2px;
}
.list-group-item .mdi::before {
    position: relative;
    top: 3px;
    left: -3px;
}
/*---------- END Additional Boostrap Specific CSS for Material Design Icons --------------*/

/*----------- MY CUSTOM STYLES -------------*/
.rtm-pink {
    background-color: #ef1f74;
}
.rtm-blue {
    background-color: #00adeb;
}
.rtm-green {
    background-color: #43c0c1;
}
.txt-rtm-pink {
    color: #ef1f74;
}
.txt-rtm-blue {
    color: #00adeb;
}
.txt-rtm-green {
    color: #43c0c1;
}

a.sort-button {
    font-size: 80%;
    color: #00adeb;
}
.glyphicon-sort:before {
    position: relative;
    top: 3px;
}

/*.navbar-brand.brand-logo {
  padding: 10px;
}*/
/*@media (min-width: 768px) {
  .navbar > .container .navbar-brand,
  .navbar > .container-fluid .navbar-brand {
    margin-left: 32px;
  }
}*/

.navbar-nav .mdi-account-circle:before {
    top: 3px;
    position: relative;
    margin-right: 8px;
}

.nav .mdi-history {
    position: relative;
    top: 4px;
}

.jumbotron {
    background-color: #777;
    color: #fff;
    font-weight: bold;
    font-size: 110%;
}
.jumbotron a,
.jumbotron a:hover {
    color: #43c0c1;
}

/*#subscription_data .comments:hover .hide-on-hover {
	display: none;
}
#subscription_data .comments:hover .show-on-hover {
	display: block;
}
#subscription_data .comments .show-on-hover {
	display: none;
}*/

.panel-body {
    overflow-wrap: break-word;
}

#subscription_data .comments .panel-heading {
    position: relative;
}

#subscription_data .comments td {
    border: none;
}

#subscription_data .panel td .mdi {
    position: relative;
    top: 4px;
}

#subscription_data .comments .panel-heading button {
    position: absolute;
    right: 48px;
    top: 2px;
}

#subscription_data .comments .panel-heading button .mdi:before {
    top: 4px;
}

#subscription_data .panel-heading .mdi:before {
    top: 2px;
    position: relative;
}

#subscription_data .panel-heading a {
    position: relative;
    display: block;
}

#subscription_data .panel-heading a .mdi-close-circle-outline {
    position: absolute;
    right: -4px;
    transform: none;
}

#subscription_data .panel-heading a.collapsed .mdi-close-circle-outline {
    transform: rotate(45deg);
}

/* Page inscription PP */
#stepFour {
    padding: 32px;
}
.file-container-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}
.file-container {
    width: 23%;
    margin-bottom: 16px;
}
.file-container-wrapper input[type="checkbox"] {
    width: 16px;
    height: 16px;
}
.file {
    margin: 10px;
    background-color: #333;
    border-radius: 8px;
    padding-top: 16px;
    padding-bottom: 16px;
}
.file p {
    color: #fff;
    margin-bottom: 50px;
}
.file .mdi.ext::before {
    font-size: 100px;
}
.file a {
    position: absolute;
    display: none;
    color: #fff;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 100%;
    height: 100%;
}
.file a .mdi::before {
    font-size: 72px;
}
.extension {
    position: relative;
}
.file:hover a {
    display: block;
}
.file:hover .ext {
    opacity: 0.2;
}

#history td {
    vertical-align: middle;
}
#history td ul.list-group {
    margin-bottom: 0;
}

/* tableau liste pass subscriptions */
#pass-subcriptions-table .table-bordered > thead > tr > td,
#pass-subcriptions-table .table-bordered > thead > tr > th:not(:first-child) {
    min-width: 130px;
}
#pass-subcriptions-table .table-bordered > thead > tr > th.id,
#pass-subcriptions-table .table-bordered > thead > tr > th.payeur,
#pass-subcriptions-table .table-bordered > thead > tr > th.nom,
#pass-subcriptions-table .table-bordered > thead > tr > th.date {
    min-width: initial;
}

.table-responsive {
    padding-bottom: 80px;
}

.table > tbody > tr > td {
    vertical-align: middle;
}

.back-to-top {
    position: fixed;
    right: 48px;
    bottom: 48px;
    display: none;
}

.back-to-top .mdi::before {
    font-size: 64px;
    color: #43c0c1;
}
.back-to-top:hover .mdi::before {
    color: #108d8e;
}

#history_panel .table-responsive,
#comments_panel .table-responsive {
    padding-bottom: 0;
}
#history_panel .table,
#comments_panel .table {
    margin-bottom: 0;
}
#history_panel tbody p {
    padding: 16px;
    margin: 0;
}
#subscription_data .panel-title span.title {
    margin-left: 16px;
}

.horaires-index .filters {
    margin-bottom: 30px;
}

.horaires-index .filters .form-group {
    margin-right: 24px;
}

.horaires-index #lines-table .line-name:hover {
    cursor: pointer;
}

.horaires-view .panel-heading,
.horaires-edit .panel-heading {
    font-size: 24px;
}

.horaires-view .panel-heading a,
.horaires-edit .panel-heading a {
    text-decoration: none;
}

.horaires-view .panel-info .mdi-file {
    color: #be132d;
}
.horaires-view .panel-info.edit .mdi-file {
    color: inherit;
}
.horaires-view .panel-info.edit .mdi-pencil,
.horaires-edit .panel-info.edit .mdi-pencil {
    color: #be132d;
}

.horaires-view .form-horaire,
.horaires-edit .form-horaire {
    padding: 48px;
    position: relative;
}

.horaires-view .form-horaire .form-group,
.horaires-edit .form-horaire .form-group {
    margin-right: 42px;
}

.horaires-edit .form-row {
    margin-bottom: 32px;
}
.equipement-add .form-row {
    margin-bottom: 8px;
}

/* .horaires-view button.save,
.horaires-edit #save {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
} */

.horaires-edit #add-horaire,
.horaires-view #add-horaire {
    margin-bottom: 32px;
}

.horaires-edit .delete-row {
    margin-left: 24px;
    display: none;
}

.horaires-edit .alert-1,
.horaires-edit .alert-2 {
    display: none;
}

#lines-table_info {
    display: none;
}

.horaires-form-modal-lg .metro-times,
.horaires-form-modal-lg .tram-times {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.rtm-user-row {
    cursor: pointer;
}
.rtm-user-row:hover {
    background-color: #00adeb !important;
    color: white;
}
.rtm-user-row .view-logo {
    visibility: hidden;
    padding: 0 4px;
}
.rtm-user-row:hover .view-logo {
    visibility: visible;
}
.rtm-user-row .view-logo .mdi::before {
    line-height: 24px;
}

.rtm-user-actions {
    display: flex;
    justify-content: space-between;
}

/*----------- END MY CUSTOM STYLES -------------*/
.equipement-add .form-row .form-group {
    display: grid;
    grid-template-columns: 0.4fr 1fr;
    max-width: 50%;
}
.new-window-wr input{
    margin-top: 0;
}

.new-window-wr label{
    margin-left: 8px;
    margin-bottom: 0;
}

@media screen and (max-width: 920px) {
    .equipement-add .form-row .form-group{
        max-width: 100%;
        grid-template-columns: 1fr;
    }
    .new-window-wr{
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    .new-window-wr input{
        width: auto;
    }
}