i {
    font-family: 'Ionicons';
    font-weight: normal;
    font-style: normal;
}

input {
    border: 0;
    border-collapse: collapse;
    padding: 8px;
    background: transparent;
    font-size: 20px;
    border-radius: 3px;
    font-family: Baloo;
    max-width: 100%;
}

select {
    padding: 8px;
    font-size: 16px;
}




/* Globals ************************************/

.f-right {
    float: right;
}

.f-left {
    float: left;
}

.hidden {
    display: none;
}

.bottom {
    height: 80px;
}

.clear {
    clear: both;
}

.hide {
    display: none;
}

.round-80 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: auto;
    background-position: center center;
}

.round-60 {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: auto;
    background-position: center center;
}

.round-50 {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: auto;
    line-height: 50px;
    background-position: center center;
}

.round-40 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: auto;
    line-height: 40px;
    background-position: center center;
}

.round-20 {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin: auto;
    line-height: 25px;
    background-position: center center;
}

.h-pad-5 {
    padding-top: 5px;
    padding-bottom: 5px;
}

.h-pad-10 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.v-pad-5 {
    padding-left: 5px;
    padding-right: 5px;
}

.v-pad-10 {
    padding-left: 10px;
    padding-right: 10px;
}

.h-marg-5 {
    margin-top: 5px;
    margin-bottom: 5px;
}

.h-marg-10 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.v-marg-5 {
    margin-left: 5px;
    margin-right: 5px;
}

.v-marg-10 {
    margin-left: 10px;
    margin-right: 10px;
}

.marg-5 {
    margin: 5px;
}

.marg-10 {
    margin: 10px;
}

.marg-15 {
    margin: 15px;
}

.pad-5 {
    padding: 5px;
}

.pad-10 {
    padding: 10px;
}

.pad-15 {
    padding: 15px;
}

.uppercase {
    text-transform: uppercase;
}

.lowercase {
    text-transform: lowercase;
}


/* TOP BAR *************************************/

.topbar,
#searchcollectionform,
#searchpeopleform {
    color: #FFF;
    line-height: 55px;
    font-weight: 700;
    height: 50px;
    overflow: hidden;
    /* background:#072943;  TODO: */
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.topbar .btn,
#searchcollectionform .btn,
#searchpeopleform .btn {
    color: #FFF;
    background: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.topbar span {
    float: right;
    text-shadow: none;
    display: inline-block;
    line-height: 36px;
    height: 36px;
    border-radius: 18px;
    padding: 0 12px 0 12px;
    color: #666;
    margin-top: 10px;
    font-size: 14px;
    width: 70%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0) linear-gradient(to left, #ddeaf6, #ffffff) repeat scroll 0% 0%;
    margin-right: 10px;
}

.topbar a.btn-padded i {
    line-height: 36px;
    width: 36px;
    height: 36px;
    border-radius: 36px;
    background: #5aaefc;
    display: inline-block;
}


/* PROFIL **********************************/

.avatar {
    height: 150px;
    width: 150px;
    border-radius: 50%;
    margin: auto;
    display: block;
}

.stat {
    width: 30%;
    text-align: center;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 20px;
}


/* PEOPLE **********************************/

.people {
    display: inline-block;
    width: 23%;
    min-height: 90px;
}

.people-big {
    display: inline-block;
    min-height: 110px;
    width: 30%;
}


/* COLLECTION ******************************/

.square {
    width: 100%;
    height: 100%;
    min-height: 290px;
    background: rgba(0, 0, 0, 0.3);
}

.minisquare {
    width: 47%;
    margin-top: 2%;
    margin-left: 2%;
    display: inline-block;
    min-height: 300px;
    /* attention ici il faudra aussi changer l'image dans le code source */
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.collection {
    margin-bottom: 3%;
}

.collection img {
    width: 100%;
    height: auto;
}

.collection p {
    position: absolute;
    width: calc(100% - 10px);
    font-size: 25px;
    line-height: 22px;
    text-align: left;
}

.minisquare p {
    padding: 70px 5px 20px 5px;
    bottom: 0;
    left: 0;
    border-radius: 0px 0px 5px 5px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 33%, rgba(0, 0, 0, 0.65) 90%, rgba(0, 0, 0, 0.65) 95%);
    font-family: Baloo;
    text-shadow: 1px 1px #555, -1px -1px 0 #555, 1px -1px 0 #555, -1px 1px 0 #555;
}

.searchinput {
    width: 60%;
}


/* ENTITY *********************************/

.entityinfos a {
    padding-left: 7%;
    padding-right: 7%;
    line-height: 65px;
    font-size: 50px;
}

.blanksquareimg {
    width: 75%;
    height: auto;
}


/* SEARCH *********************************/

.search-result-element {
    padding: 5px;
    margin-top: 2px;
    text-align: left;
    min-height: 70px;
}

.search-result-element img {
    height: 70px;
    width: 70px;
    margin-right: 5px;
}


/* RECOMMANDATIONS ************************/

.recotable {
    width: 100%;
    border-top: 1px solid #ddd;
    line-height: 15px;
}

.recotable td {
    padding: 4px;
    text-align: left;
}

.recotable td.small {
    padding: 4px;
    width: 60px;
}

.recotable .miniround {
    margin: auto;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.reco-imgs {
    max-height: 90px;
    overflow: hidden;
}

.reco-img-entity {
    width: 60px;
    height: 60px;
    margin: 0;
    padding: 0;
}

.reco-img-user-with {
    width: 50px;
    height: 50px;
    position: relative;
    top: -30px;
    border-radius: 50%;
}

.reco-img-user-alone {
    width: 60px;
    height: 60px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
}

.timepost {
    font-size: 10px;
    color: #AAA;
}

.read {
    background: #FFF;
}

.read tbody tr td {}

.requesttable {
    width: 100%;
    border-top: 1px solid #ddd;
    line-height: 15px;
}

.requesttable td {
    padding: 4px;
}

.requesttable td.small {
    padding: 4px;
    width: 60px;
    text-align: center;
}

.requesttable .miniround {
    margin: auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.requesttable .minisquare {
    margin: auto;
    width: 35px;
    height: 35px;
    border-radius: 5px;
}

.sent tr td {
    color: #888;
    font-size: 12px;
}


/* TICKET *****************************************/

.ticket-margin {
    margin: 10px;
}

.ticket-top {
    padding: 10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.ticket-with-somebody {
    background: #FFF;
    padding: 10px;
    position: relative;
}

.ticket-with-somebody img {
    position: absolute;
    bottom: 30px;
    right: 10px;
    border-radius: 50%;
    height: 130px;
    width: 130px;
}

.promotion {
    display: block;
    padding: 10px;
    border-bottom: 2px solid white;
}

.side-border {
    border-left: 1px solid #AAA;
    border-right: 1px solid #AAA;
}


/* TICKET EVALUATION ******************************/

.recommandation_action {
    text-align: center;
    padding-bottom: 10px;
    font-size: 12px;
}

.recommandation_action a {
    border: 1px solid #5aaefc;
    display: inline-block;
    width: 40px;
    border-radius: 50%;
    margin: 2px;
    text-align: center;
    height: 40px;
    line-height: 40px;
    font-size: 18px;
}

.recommandation_action a i {
    color: #5aaefc;
}

.recommandation_action a.selected {
    border: 1px solid #5aaefc;
    background: #5aaefc;
}

.recommandation_action a.selected i {
    color: #FFF;
}


/* STATUS MESSAGE *********************************/

#connexionTimeout {
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    background: #072943;
    width: 100%;
    text-align: center;
    line-height: 50px;
    height: 50px;
    overflow: hidden;
    color: #FFF;
}

#loadingbar {
    height: 10px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
}

#loadingbar u {
    display: block;
    position: absolute;
    left: -200px;
    width: 200px;
    height: 10px;
    background-color: #5aaefc;
    animation-name: loading;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-play-state: running;
    animation-timing-function: linear;
}

@keyframes loading {
    from {
        left: -200px;
        width: 30%;
    }

    50% {
        width: 30%;
    }

    70% {
        width: 70%;
    }

    80% {
        left: 50%;
    }

    95% {
        left: 120%;
    }

    to {
        left: 100%;
    }
}

#statusMessage {
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    background: #FFF;
    height: 100%;
    width: 100%;
    text-align: center;
}

#statusMessage p {
    padding: 10%;
    color: #FFF;
}

p.btn-message {
    display: inline-block;
    text-decoration: none;
    border: 1px solid white;
    line-height: 30px;
    padding: 10px 20px !important;
    min-width: 30px;
    min-height: 30px;
    text-align: center;
    color: #FFFFFF;
    margin: auto;
    border-radius: 25px;
}

#statusMessage i {
    display: block;
    padding-top: 20%;
    color: #FFF;
    font-size: 100px;
}

#statusMessage.REDMessage {
    background: #ed1b2e;
}

#statusMessage.GREENMessage {
    background: #7ac143;
}

#statusMessage.new-status-message {
    background: #0009;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* BOTTOM SHEET *********************************/

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#bottom-sheet-container {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #0007;
}

#bottom-sheet-container * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#bottom-sheet {
    position: fixed;
    bottom: 0;
    width: 100vw;
    background-color: #fff;
    border-radius: 15px 15px 0 0;
    z-index: 1001;
    transform: translateY(100%);
    transition: all 400ms ease-in-out;
}

#bottom-sheet-container.visible #bottom-sheet {
    transform: none;
}

#bottom-sheet>:first-child {
    padding: 0 10px;
}

#bottom-sheet-buttons {
    max-height: 60vh;
    overflow-y: auto;
}

#bottom-sheet-buttons>a {
    margin: 20px 0;
    padding: 10px 20px;
    font-size: 20px;
    color: inherit;
    line-height: 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
}

#bottom-sheet-buttons>a>i {
    margin-right: 15px;
    width: 30px;
    color: #777;
}

#bottom-sheet-buttons>a>span {
    flex: 1;
    text-align: inherit;
}

#bottom-sheet-buttons>a>i+span {
    margin-right: 45px;
}


/* EDIT INFO ************************************/

.editinfo_basics p {
    text-align: right;
    display: block;
    margin: 15px;
}

.editinfo_basics p span {
    float: left;
    line-height: 38px;
    height: 38px;
}

.editinfo_basics p input,
.editinfo_basics p textarea {
    text-align: left;
    background: rgba(0, 0, 0, 0.5);
    width: 60%;
    line-height: 22px;
    color: #FFF;
    border: 0;
    padding: 8px;
    border-radius: 3px;
}

#add_info,
#modify_info {
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
}

.info_more,
.info_more_light {
    margin-left: 2%;
    margin-bottom: 2%;
    padding: 2%;
    display: block;
    float: left;
    width: 26%;
    /*background:rgba(0,0,0,0.5);*/
    color: #FFF;
    border-radius: 3px;
}

.info_more_light {
    background: rgba(255, 255, 255, 0.5);
    color: #606060;
    border: 1px solid #AAA;
}

.info_more i,
.info_more_light i {
    font-size: 30px;
}


/* RECOMMANDER **********************************/

.bottom_over_menu {
    position: fixed;
    bottom: 0;
    width: 100%;
}

.choice_recommander,
.choice_date {
    line-height: 40px;
}

.choice_recommander a,
.choice_date a {
    font-weight: 300;
    display: inline-block;
    width: 50%;
    text-align: center;
    color: #FFF;
}

.choice_date a {
    width: 30%;
}

.choice_recommander a.active,
.choice_date a.active {
    font-weight: 700;
}

/* ENTITY MANAGE *********************************/

#adminentity_fidelitycard a,
.clientfidelitycard a {
    display: inline-block;
    line-height: 50px;
    height: 50px;
    width: 50px;
    border: 1px solid white;
    margin: 3px;
    font-size: 25px;
}


/*ImageView*/

#ViewImage,
#ViewVideo {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: rgb(61, 72, 97);
    overflow: hidden;
    z-index: 200;
    margin: 0;
    padding: 0;
}

#ViewImageMenu,
#ViewVideoMenu {
    z-index: 250;
    position: relative;
    text-align: right;
}

#ViewImageMenu i,
#ViewVideoMenu i {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    color: #FFF;
    border: 1px solid #FFF;
    border-radius: 50%;
    margin: 10px 10px 0 0;
    font-size: 30px;
    background: rgba(0, 0, 0, 0.5);
}

#ViewImageIMG,
#ViewVideoVIDEO {
    top: 50vh;
    left: 0vw;
    position: absolute;
    transform: translateY(-50%);
    width: 100vw;
}


/* loading ring */

.dualring {
    display: inline-block;
    width: 55px;
    height: 55px;
    overflow: hidden;
}

.dualring:after {
    content: " ";
    display: block;
    width: 30px;
    height: 30px;
    margin: 7px;
    border-radius: 50%;
    border: 5px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: dualring 1.2s linear infinite;
}

@keyframes dualring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* notification card */

.notificationcard {
    background: #FFF;
    width: 88%;
    height: 200px;
    margin: 20px auto;
    box-shadow: 0 3px 30px rgba(0, 0, 0, 0.23);
    transition: left 0.5s ease, height 0.5s ease;
    position: relative;
    left: 0px;
    border-radius: 12px;
}

.recommandationcard {
    height: 400px;
    background: white;
    width: 88%;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 3px 30px rgba(0, 0, 0, 0.23);
    transition: left 0.5s ease, height 0.5s ease;
    position: relative;
    left: 0px;
}

#recommandations>table {
    margin: 20px auto;
    box-shadow: 0 3px 30px rgba(0, 0, 0, 0.23);
    width: 88%;
    border-radius: 12px;
}