#avatar {
    width: 100%;
}

#reduced-messages-list, #channels-list{
    width: 100%;
}

#messages-card, #messages-list{
    width: 100%;
}

#messages-list a:hover{
    background-color: #F7F7F7;
    border-color: #F7F7F7;
}

#messages-list .list-group-item.active{
    background-color: #DDDDDD;
    border-color: #DDDDDD;
}

#delete-message-button {
    background-color: #D97171;
    border-color: #D97171;
    color: white;
}

#cancelMessageButton{
    color: white;
}

.navbar-brand{
    padding: 0;
}
.navbar-brand img{
    height: 40px;
}

.container{
    max-width:100% !important;
}

.modal img{
    height: 60px;
}

#loading-image {
    z-index: 100;
}

.modal h5{
    margin: auto;
    margin-left: 0;
}

#configuration-form{
    /*width: 200px;*/
    padding: 15px;
}

#modal-config{
    width: 1000px;
}

/* APP layout */

#welcome-image, #avatar-image{
    margin-bottom: 15px;
}

#welcome-image img{
    max-width:300px;
    max-height:150px;
}

#avatar-image img{
    max-width:300px;
    max-height:150px;
}

#settings_modal{
    position: relative;
    display: table; /* This is important */
    overflow-y: auto;
    overflow-x: auto;
    width: auto;
    min-width: 500px;
}


.accordion .card-header{
    padding: 0;
}

.accordion h5 button{
    color: black;
}

.modal-dialog{
    max-width: 900px !important;
    width: auto !important;
}

.accordion .card-header{
    padding: 0;
}

.accordion h5 button{
    color: black;
}

.slick-prev:before, .slick-next:before{
    color:grey !important;
}

#edit-page-image img, #new-page-image img, #productImage-block img, #productImage-edit-block img, #edit-page-video img, #new-page-video img{
    width: 100%;
    height: 100%;
}

#edit-page-image, #edit-page-video, #new-page-image, #productImage-edit-block, #productImage-block, #new-page-video{
    width: 100%;
    margin-top: 15px;
    margin-bottom: 15px;
    border: 1px solid transparent;
    transition: border 0.5s ease;
    position: relative;
}

.btn-hostel-mode {
    margin-right: 15px;
    background-color: #0a0058;
}

/*#button_card_mode{*/
/*    margin-right: 15px;*/
/*    background-color: #5ca49ebf;*/
/*}*/

/*#button_android_mode{*/
/*    margin-right: 15px;*/
/*    background-color: #5ca49ebf;*/
/*}*/

#edit-page-video input, #new-page-video input
{
    font-size: 0.7em;
}

#edit-page-image input, #new-page-image input, #productImage-edit-block input, #productImage-block input{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    opacity:0;
    display:inline-block;
    cursor: pointer;
}

/*#edit-image-button, #edit-video-button, #new-image-button, #new-video-button{
    float: left;
}*/

.carousel_slide .card {
    border: none;
    cursor: pointer;
    background-color: #f6f6f6;
    transition: background-color 1s;
    height:450px !important;
    overflow: hidden !important;
    font-size: 0.8em;
}
.carousel_slide .card-body {
    padding-top:0;
}
.carousel_slide_add .card{
    cursor: pointer;
    background-color: #f6f6f6;
    border: none;
    transition: background-color 1s;
    height:450px !important;
    overflow: hidden !important;
    font-size: 0.8em;
}
.carousel_slide .content-title {
    vertical-align: middle;
    font-size: 1.1em;
    border-bottom: 1px solid #145b54 !important;
    /*border-bottom: 1px solid black !important;*/
    padding-bottom: 3px;
    height: 50px;
    line-height: 50px;
    overflow: hidden;
    color: #145b54c7;
}

.carousel_slide, .carousel_slide_add{
    padding-left: 20px;
}

.carousel_slide img, .carousel_slide video{
    height: 130px;
    width:100%;
}

.carousel_slide .card:hover, .carousel_slide_add .card:hover{
    cursor: pointer;
    background-color: #DDDDDD;
}

#pagesList a.active{
    border: 1px solid #031430 !important;
    background-color:  #0a0058  !important;
    color: white;
    line-height: 35px;
}

#pagesList .btn-primary{
    /*background-color: #36578D;*/
    background-color: transparent;
    outline: none;
    border: none;
    color: white;
}
#pagesList .active{
    color:  #0a0058 ;
}
#pagesList .btn-primary:hover{
    background-color:  #0a0058 ;
    color: white;
    outline: none;
    border: none;
}
#addPageButton
{
    transition: background-color 0.3s;
    border: 1px solid rgba(61, 98, 161, 0.3);
    /*background-color: #F0F3F8;*/
    border-radius: 0px;
    margin-bottom: 5px;
    color: #3D62A1;
}
#addPageButton:hover
{
    background-color: #3d62a129;
}
#validatePageTitle{
    background-color: #cecece;
    color: white;
    border-color: #cecece;
}
#pageTitle {
    background-color: #efefef; width:100%; height: 50px; padding-top: 5px;
}

#validatePageTitle:hover{
    background-color: #1b135b ;
    border-color:  #1b135b  ;
}
#pagesList a{
    transition: background-color 0.3s;
    color: #3D62A1;
    border: 1px solid rgba(61,98,161,0.3);
    border-radius: 0px;
    margin-bottom: 5px;
    /*background-color: #F0F3F8;*/
}
#pagesList a:not(.active):hover{
    background-color: #3d62a129;
}
#pagesList a, #pagesList .active {
    padding-top: 25px;
    padding-bottom: 25px;
}
/*#pageTitle{
    margin-left: 5px;
}*/

.carousel{
    margin-top: 20px;
}

.carousel .card-header{
    height: 130px;
    border-bottom: none !important;
    background-color: black !important;
}

.tvportal-language-selector font{
    font-size: 0.9em;
    color: black;
}

.page-cell{
    width: 25%;
    padding: 5px;
}

#hotel-config{
}

#commandtable, #commandtable th, #commandtable td{
    border: 1px solid black;
}

#commandtable td, #commandtable th{
    text-align: center;
}

#updateCard{
    margin-bottom: 20px;
}

.navbar-toggler{
    background-color: white !important;
}

.roomsToolbarTable{
    margin: 0 !important;
}

.roomsToolbarTable td {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#welcomeImage{
	background-color: #EEEEEE;
	border-radius: 10px;
	padding: 5px;
    margin-left: 20px;
}

@media screen and (max-width: 1024px) {
    #headerTitle{
        font-size: 1.5em;
        color: white;
    }
    #headerLogo{
        max-height: 30px;
        max-width: 100px;
        width:auto;
    }
    #welcomeImage{
        max-height: 60px;
        max-width: 150px;
        width: auto;
    }
}

@media screen and (min-width: 1024px) {
    #headerTitle{
        font-size: 1.5em;
        color: white;
    }
    #headerLogo{
        max-height: 80px;
        max-width: 250px;
        width:auto;
    }
    #welcomeImage{
        max-height: 120px;
        max-width: 300px;
        width: auto;
    }
    #previewImage{
        height: 95%;
        width: auto;
        background-color: powderblue;
    }


}
