* {
    box-sizing: border-box;
  }

html, body {
    min-height: 100%;    
    background-color: #f6fbff;
    display: flex;
    width: 100%;
    height:100%;
    flex-wrap: wrap;
    overflow:hidden;
    top: 0px!important; /* For google translate bar */
}
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

div#google-selector {
    padding: 2px;
}

/* Modal nested */

.send-back {
    z-index:-1!important;
}

#data-table td {
    vertical-align: middle;
}
/* Modal nested */

.summernote {
    min-height:10rem;
}

#page-sidebar {
    margin:0;
    flex-direction: column;
    max-width:14rem;
    background: #343a40;
    color: white;
    overflow: hidden;
    text-align:center;
   min-height:100%;

}
.nav-link {
    color:red;
}
.hidden {
    display: none;
}


.page {
    display: flex;
    flex: 1;
    flex-direction: column;
    text-align:center;
    overflow-x:auto; /* Bootstrap table fix */
    position: relative;
}


.page-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    flex: 1 0 0px;
    min-height: 0;
    padding-top: 80px;
}

.page-bar {
    display:flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: absolute;
    width: 100%;
    background: white;
}

#quick-notif img {
    width:1.5rem;
}
#notif-dropdown {
     max-width: 50%;
    max-height: 60%;
}

.sidebar-tab {
    align-items: center;
    text-align: left;
    justify-content: space-between;
     cursor: pointer;
     max-height:65px;
}

.page.shifted {
    margin-right: -14rem;
}

.sidebar-tab img {
    width: 1.3em;
}

.cp {
    cursor:pointer;
}

.sidebar-tab:not(.app-gradient):hover {
    background: #713451;
  font-size:107%;
  font-weight: bold;
   opacity: .85;
}

.app-bg {
     background: #e9ecef;
}

.view {   
    display: block;
 
    overflow: auto;
    height: 100%;
}

footer.footer {
    display: flex;
    align-self: center;
}

.input-group-text {
    background-image: linear-gradient(to right, #E22A6F, #FE6650);
    color: white;
    border: red;
}
.app-gradient, .btn-primary {
    background-image: linear-gradient(to right, #E22A6F, #FE6650);
}
.btn-primary {
    box-shadow: 0.1rem 0.2rem 0.2rem 0.05rem rgba(16, 16, 16, 0.34);
    outline:0;
    border:0;
}
.btn-primary:focus {
    border:0;
    outline:0;
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 149, 0.329);
}

.id-photo {
    width: 3rem;
    height: 3rem;
    display: flex;
    border-radius: 50%;
    cursor:pointer;
    padding: .15rem;
    border: 1px solid #ccc;
    opacity: 0.95;
}
.id-photo:hover {
    opacity: 1;
}
.id-photo img {
    width:100%;
    border-radius:50%;
}

.app-modal {
    background-image: url('../images/modal-bg.png');
    background-size:cover;

}

.gallery-item .custom-control {
    position: absolute;
    align-self: flex-start;
    margin: 0.25rem;
     z-index:2;
}

.gallery-item {
    width: 10rem;
    height: 10rem;
    display: inline-block;
    margin:0.2rem;
    cursor: pointer;
    overflow:hidden;
    align-items: center;
}
.gallery-item:hover {
    opacity:0.95;
}
 
.gallery-item.gsm {
    width: 100%;
    height: 100%;
}
.gallery-item-holder {
    overflow:hidden;
    display: flex;
    width: 100%;
    /* background: #e9ecef; */
    height: 100%;
}
.gallery-item-holder img, .gallery-item-holder video {
    width: 100%;
    align-self: center;
}

.gallery-item-holder {
    overflow:hidden;
    display:flex;
    flex:1;
}
/* Login css */
.login-card {
    max-width: 400px;
    width: 80%;
    min-width: 350px;
    justify-content: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.page_login {
    background: url('../images/login_bg.png');
    background-size: cover;
}
.page_login footer {
    color: white!important;
}

/* Media css */
#media-gallery {
    display: none;
}
.modal-icon {
    /* color: #f4d1dc; */
   color: rgba(220, 145, 168, 0.5);
}
/* Client css */
#client-preview-logo {
    max-width:100%;
}
.client-preview-limit {
    max-height: 40rem; 
    overflow: auto;
}
.company-photo {
    width: 5rem;
    height: 5rem;
    cursor: pointer;
    padding: .15rem;
    border: 1px solid #ccc;
    opacity: 0.95;
}

.company-photo:hover {
    opacity: 1;
}

/* Machine css */
#location-pick-map, #preview-map, #campaign-machine-map, #client-machine-map {
    height: 300px;
}

/* Games Css */
#background-preview-modal .gallery-item {
    width: 6rem;
    height: 6rem;
    box-shadow: 1px 1px 3px 0px #ababab;
}
/* Rules css */
.boost-container {
    max-height: 500px;
    overflow: auto;
}
.boost-row {
    display: flex;
    flex-direction: row;
}

.boost-col {
    flex: 1;
    cursor: pointer;
}
.boost-box {
    border-top: 1px dashed #ccc;
    border-right: 1px dashed #ccc;
}
.boost-col.boost-box:hover {
     background: #ffccc8;
}
.boost-col input {
    width: 100%;
    background: #ffccc8;
    text-align: center;
    color: #e73569;
    font-weight: bold;
    border: 1px solid white;
}

.boost-col.boost-time {
    background: #6c6e6f;
    color: white;
    user-select: none;
    font-size: .85rem;
    padding: .25rem 0;
}

.boost-row:nth-of-type(1) {
    background: #585959;
    color: #d5d5d5;
    user-select: none;
    font-size: .8rem;
    padding: .5rem 0;
}
.boost-mark {
    background: #e73569;
}

.answer-preview {
    border: 1px solid #ccc;
}
/*campaign*/
#add-campaign-modal .table-responsive {
max-height: 15rem;
}

/* ADmin */
#play-chart, #reg-chart, #return-chart {
    height: 300px;
}
#preview-machine-notifs ul{
max-height: 200px;
overflow:auto;
}
.stat-holder {
    display: flex;
    width: 100%;
    align-items: flex-end;
    font-size: 1.7rem;
}

.cicon {
        width: 25px;
    float: left;
}
.counter {
    width: 100%;
    font-size: 4rem;
    font-weight: bold;
}

.machine-color {
    color: #8a3fff;
    fill: #8a3fff;
}

span.count-percent {
    margin-left: -4rem;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 4rem;
    color: #00b300;
}


.campaign-color {
    color: #339a92;
    fill: #339a92;
}

.poll-color {
    color: #ff468a;
    fill: #ff468a;

}

.gift-color {
    color: #405e91;
    fill: #405e91;
}

.registration-color {
    color: #36b66b;
    fill: #36b66b;
}

.game-color {
    color: #596aff;
    fill: #596aff;
}

.rule-color {
    color: #e63784;
    fill: #e63784;
}

.media-color {
    color: #ff9b4c;
    fill: #ff9b4c;
}

.group-color {
    color: #98278e;
    fill: #98278e;
}
.chart-section {
    display:none;
}

.sidebar-holder {
    height: 0px;
    flex: 1 1 auto;
    overflow: hidden auto;
}

div#preview-tab-content {
    width: 100%;
    overflow: auto;
    max-height: calc(100vh - 380px);
}

#tmp-answer-table {
     max-width:800px;
    position: absolute;
    background: white;
}
#tmp-answer-table td,
#tmp-answer-table th {
     padding: 10px;
}
.admin-only {
    display:none!important;
}

/*[data-gm-data] {*/
/*    max-width: 100px;*/
/*}*/