/* #region Default Mode Styles*/
#prop-selector {
    text-align: center;
    position: absolute;
    top: 105px;
    z-index: 100;
}
.prop-search {
    background-color: rgba(0, 0, 0, 0.5);
    position: relative;
}

#prop-selector h1, 
#prop-selector h2, 
#prop-selector h3, 
#prop-selector h4, 
#prop-selector h5, 
#prop-selector h6, 
#prop-selector p, 
#prop-selector a {
    color: white;
}
#prop-selector #property-name {
    color: white;
    height: 31px;
    width: 310px;
    margin: 5px auto 0px auto;
}
#prop-selector #property-name #display-name {
    text-align: left;
    width: 310px;
    height: 31px;
}
#prop-selector #property-name p {
    line-height: 31px;
    margin-left: 5px;
}

#display-name:hover {
    cursor: pointer;
}

#property-list {
    display: none;
    text-align: left;
    background-color: rgba(0,0,0,0.5);
    width: 310px;
}

input {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #eaeaef;
    border-radius: 0px;
    padding: 10px;
    font-size: 16px;
}
input[type=submit] {
    background-color: DodgerBlue;
    color: #fff;
    border: none;
}
.autocomplete-items {
    border: none;
}
.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.85); 
}
.autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: rgba(0, 0, 0, 0.95) ; 
    color: lightgrey;
}
.autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: DodgerBlue !important; 
    color: #ffffff; 
}

@media (max-width: 450px) {
    #prop-selector #property-name #display-name {
        width: 90%;
        margin-left: 5%;
    }
    #prop-selector {
        min-width: 330px;
    }
}
@media (max-width: 768px) {
    #prop-selector {
        width: 100%;
        margin-left: 0px;
        margin-right: 0px;
    }
    .prop-search {
        width: 100%;
        padding: 25px 10px;
    }
    /* input {
       padding-top: 2px;
    } */
    .autocomplete-items {
        position: absolute;
        margin-top: 25px;
        left: 0;
        width: 100%;
    }
    #d-link-container {
        position: relative;
    }
}
@media (min-width: 300px) {
    #prop-selector {
        left: 50%;
        top: 105px;
        z-index: 100;
        width: 750px;
        margin-left: auto;
        margin-right: auto;
    }
    .autocomplete-items {
        position: absolute;
        z-index: 99;
        /*position the autocomplete items to be the same width as the container:*/
        top: 100%;
        left: 0;
        right: 0;

        max-width: 310px;
        max-height: 360px;
        overflow-y: scroll;
        margin-top: -50px; 
        margin-left: 220px;
    }
    .prop-search {
        padding: 50px;
        left: -50%;
    }
    input {
        padding-top: 10px;
    }
}
/* #endregion Default Mode Styles*/

/* #region Logged-In Mode Styles*/
.ccm-toolbar-visible #prop-selector {
    margin-top: 48px;
}
/* #endregion Logged-In Mode Styles*/

/* #region Edit Mode Styles*/
.ccm-edit-mode #prop-selector {
    position: relative;
    height: auto;
    margin: 0px;
}
/* #endregion Edit Mode Styles*/