/* 
    Created on : 06/03/2017, 18:29:54
    Author     : aleix
*/
img.rw-uploading {
    margin: 5px;
    float: left;
    width: 150px;
    height: 100px;
    object-fit: cover;
    display: block;
    list-style: none;
}

img.preview {
    margin: 5px;
    float: left;
    width: 150px;
    height: 100px;
    display: block;
    list-style: none;
    object-fit: cover;
}

li.preview {
  width: 150px;
  height: auto;
  display: block;
  float: left;
  margin: 5px;
  list-style: none;
  
}

li.properties {
  width: 250px;
  height: auto;
  display: block;
  float: left;
  margin: 5px;
  list-style: none;
}

img.properties {
    margin: 5px;
    float: left;
    width: 250px;
    height: 167px;
    display: block;
    list-style: none;
}

@media only screen and (max-width: 500px){
    h1.index {
        font-size: 25px;
    }
}

a.index:hover {
    border-bottom: 2px solid;
    padding-bottom: 0px;
}
a.login:hover {
    color: red!important;
}

.bg-rw-blue {
    background-color: #365792;
    border-color: #365792;    
}

.rw-blue {
    color: #365792;
}

.rw-bg-image {
    background-size: cover;
    background-repeat:no-repeat;
    background-position:center; 
    background-origin: content-box;
}

.toggleIcon{}

.blackLink{
    color: black;
}
a.blackLink:hover{
    color: #428bca;
    text-decoration: none;
}

a.white-link{
    color: white !important;
}

a.white-link:hover{
    color: white;
    text-decoration: none;
}

.rw-modal-lg {
    max-width: 80% !important;
}

.map {
    height: 475px;
    width: 100%;
}

.ui-datepicker { position: relative; z-index: 10000 !important; }

.priceDetails{
    float: left;
    width: 100px;
    margin: 1px;
}

.text-alert-danger{
    color: #f8d7da;
}

.topleft {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 18px;
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
}

.bottom-center {
    position: absolute;
    color: white;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.35;
}

a.bottom-center:hover{
    opacity: 1;
    color: white;
}

a.without-underlining:link{
    text-decoration: none;
}

.hover-overlay:hover {
    background: rgba(0, 0, 0, 0.4);
}

.rw-bg-transparent{
    background-color: rgba(255,255,255,0.35);    
}

.booked span{
    background-color: #dc3545 !important;
    background-image :none !important;
    color: #ffffff !important;
}

.available a{
    background-color: #28a745 !important;
    background-image :none !important;
    color: #ffffff !important;
}

.available:hover{
    background-color: #28a745 !important;
    background-image :none !important;
    color: #dc3545 !important;
    
}

.arrival {
    position: relative;
    background-image :none !important;
    background-color: #ffffff !important;
    color: #ffffff !important;
}

.arrival:before { 
    content: '';
    position: absolute;
    left: 2%;
    width: 41%; 
    height: 90%; 
    background-color: #28a745 !important;
    top: 2px;
}
.arrival:after { 
    content: '';
    position: absolute;
    left: 43%;
    width: 55%; 
    height: 90%; 
    background-color: #f3b8be !important;
    top: 2px;
    opacity: 0.80;
}

.arrival:hover{
    background-color: #28a745 !important;
    background-image :none !important;
    color: #dc3545 !important;
    cursor: pointer;
}

.arrival-diagonal {
    background: -webkit-gradient(linear, left top, right bottom, color-stop(50%,#c3e6cb), color-stop(50%,#f5c6cb));
}

.arrival-diagonal-4alpha {
    background: -webkit-gradient(linear, left top, right bottom, color-stop(50%,#dff0d8), color-stop(50%,#f2dede));
}

.two-columns {columns: 2;}

.guest-cell {
    width: 0em;
    white-space: nowrap;
    overflow: visible;
    color: #365792;
    /*position: absolute;
    z-index: 0;
    color: #365792;*/
}

html {scroll-behavior: smooth;}

.fileUpload {
    position: relative;
    overflow: hidden;
    margin: 10px;
}
.fileUpload input.upload {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}

td.limitTextLength {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

td.limitTextLength:hover {
    overflow: visible; 
    white-space: normal;
}
.rw-dropdown {
    position: relative;
    display: inline-block;
}

.rw-dropdown-content{
    display: none;
    background-color: #ffffff;
    position: absolute;
    top: 50px;
    z-index: 1;
}
.rw-show {display:block;}

td.sticky-column:first-child, td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
}