/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.nova8-nothing-found { text-align: center; margin: 1em;}
#nova8-geo-search-panel-submit-wrap input ,
.nova8-geo-search-item-inner .nova8-item-image img,#nova8-geo-search-project-list,#nova8-geo-search-toggle
{
        -webkit-transition: all  0.5s ease;
	-moz-transition: all   0.5s ease;
	-ms-transition: all  0.5s ease; 	
	transition: all   0.5s ease;
}
#nova8-geo-search-wrapper {
    width: 100%;
    overflow: hidden;
    min-height: 60vh;
    height: 1px;
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
}
#nova8-geo-search-wrapper + .site-footer, #nova8-geo-search-wrapper + div { margin-top: 0; }
#nova8-geo-search-project-list,#nova8-geo-search-map
{ height: 100%;}
#nova8-geo-search-project-list { 
    padding: 10px; overflow-y: auto; overflow-x: visible;  
    /* width: 240px;  */
/*     position: relative;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
 -webkit-flex-wrap: wrap;
 -ms-flex-wrap: wrap;
 flex-wrap: wrap; */
 /* position: absolute; */
 /* left: -240px; */
 /* top: 0;  */
 /* z-index: 100; */
 background: #FFF;
}
#nova8-geo-search-project-list.open { left: 0; }
#nova8-geo-search-project-list.fixed-height{
    height: auto !important; 
}
#nova8-geo-search-toggle{
    height: 60px;
    width: 40px;
    background: #FFF;
    border-radius: 0 20px 20px 0;
    position: absolute;
    left: 0;
    top: 48px;
    opacity: 0.9;
    border :2px solid #CCC;
    border-width: 2px 2px 2px 0;
    outline: none !important;
    background: #FFF url(../img/arrow-right.svg) no-repeat 0 center / contain;
}
#nova8-geo-search-project-list.open + #nova8-geo-search-toggle, #nova8-geo-search-toggle:hover{
    opacity: 1;
}
#nova8-geo-search-toggle:hover {
    background-position: 4px center;
}

#nova8-geo-search-project-list.open + #nova8-geo-search-toggle {
    left: 240px;
    background-image: url(../img/arrow-left.svg);
}
#nova8-geo-search-project-list.open + #nova8-geo-search-toggle:hover {
    background-position: -4px center;
}

#nova8-geo-search-map { 
    background: #333;  
    /* width: 100%; */
}
#nova8-geo-search-panel {
    position: static;  min-width: 400px;   
    /* padding:0 0 10px 10px;  */
    background: #FFF; 
    z-index: 999; }
    #nova8-geo-search-panel .container {
        max-width: 100%;
        padding: 0;
    }
    #nova8-geo-search-panel .nova8-form-group { float: left; padding: 0 10px; position: relative; margin-bottom: 10px; }
    #nova8-geo-search-panel .nova8-form-group input, #nova8-geo-search-panel .nova8-form-group select
    {
        width: 100%;
        height: 40px;
        line-height: 40px;
        padding: 0 10px;
        border: 1px solid #CCC; 
    }
    #nova8-geo-search-panel .nova8-form-group select {
        padding-right: 0; 
    }
    #nova8-geo-search-panel-location-wrap { width: 40%; width: calc(100% - 32em )}
        #nova8-geo-search-panel #nova8-geo-search-panel-location-wrap input {
            background: url(../img/marker.svg) no-repeat 4px center;
            background-size: auto 60%;
            padding-left: 30px;
        }
    #nova8-geo-search-panel-distance-wrap { 
        width: 10em;  
    }
        #nova8-geo-search-panel  #nova8-geo-search-panel-distance-wrap input { padding-left: 40px; padding-right: 40px;
            background: url(../img/distance.svg) no-repeat 6px center;
            background-size: auto 60%;       
        }
        #nova8-geo-search-panel  #nova8-geo-search-panel-distance-wrap label {
            display: block;
            padding:0;
            margin: 0;
            position: absolute;
            right: 15px;
            top: 0;
            font-weight: normal;
            font-size: 1em;
            height: 40px; line-height: 40px;
        }
    #nova8-geo-search-panel-categories-wrap { width: 13em; }
    #nova8-geo-search-panel-submit-wrap  { width: 9em; }
    #nova8-geo-search-panel-submit-wrap input{ border: none; background: #8DC73F; color: #FFF; text-transform: uppercase; }
    #nova8-geo-search-panel #nova8-geo-search-panel-submit-wrap input {
        background-color: var(--color-primary);
        border: none;
        border-radius: 25px;
        font-weight: 600;
    }
    #nova8-geo-search-panel-submit-wrap input:hover { background: #333; }
    .nova8-geo-search-project-list-inner {
        display: flex;
        flex-wrap: wrap;
    }
.nova8-balloon { max-width: 240px; }    
.nova8-balloon   img {display: block; max-width: 220px !important; margin-bottom: 4px;}
.nova8-balloon a { font-size: 1.1em;}
.nova8-balloon span { font-size: 1em; display: block;}

.nova8-geo-search-item {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 50%;
    padding: 0 10px;
}

.nova8-geo-search-item-inner {
    background: #EFEFEF;
    margin-bottom: 20px;
}
.nova8-geo-search-item-inner .nova8-item-image {
    overflow: hidden;
    /*height: 240px;*/
}
.nova8-geo-search-item-inner .nova8-item-image img{
    display: block;
    max-width: 100%;
    width: 100%;
    position: relative;
}
.nova8-geo-search-item-inner:hover .nova8-item-image img {
    transform: scale(1.1);
}
.nova8-geo-search-item-inner .nova8-item-info {
    padding: 0 15px 15px 15px;
}
.nova8-geo-search-item-inner .nova8-item-location {
    margin-bottom: 0;
    font-weight: bold;
}

@media only screen and (max-width : 991px) {
    #nova8-geo-search-map {
        width: 100%;
        /* height: 400px; */
        height: 50%;
    }
    #nova8-geo-search-project-list {
        width: 100%;
    }

}
@media only screen and (max-width : 768px) {
    #nova8-geo-search-panel {
        width: 100%;
        min-width: auto;
        position: static;
        padding-right: 10px;
    }
    #nova8-geo-search-panel-location-wrap {
        width: 100%; 
    }
    #nova8-geo-search-map {
        height: 400px;
    }

    #nova8-geo-search-wrapper { height: auto !important; }
}
@media only screen and (max-width : 667px) {
    #nova8-geo-search-panel-distance-wrap, #nova8-geo-search-panel-categories-wrap{ width: 50%; }
    .nova8-geo-search-item { width: 100%; }
    #nova8-geo-search-map { height: 80vh; }
}
/**
 * IE9 hack
 */
@media all and (min-width:0\0) and (min-resolution:.001dpcm)
{
    #div { color:red; }
    .nova8-geo-search-item { display: block; float: left; }
    .nova8-geo-search-item .nova8-item-info  { min-height: 9em;}
}
