/*Views*/
.erf-view-header{
    display: block;
    margin: 1em 0 2em;
}
.erf-view-title{
    width: 70%;
}
.erf-view-title h2{
    margin: 0;
    padding: 0 10px 0 0;
    font-family: inherit;
}
.erf-view-filter{
    width: 30%;
}
.erf-view-filter input{
    width: 100%;
}
.erf-view-container img{
    max-width: 100%;
    height: auto;
}

.erf-view-table{
    table-layout: fixed;
    width: 100%;
    margin-bottom: 20px;
}
.erf-view-table th,
.erf-view-table td{
    padding: 1em;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    border: 1px solid #ced4da;
}
.erf-view-table td .erf-view-value{
    overflow: hidden;
    -o-text-overflow: ellipsis;
       text-overflow: ellipsis;
}
.erf-view-value img{
    max-width: 100%;
}
.erf-views-list{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
}
.erf-view{
    padding: 1rem;
    margin-bottom: 0.5rem;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.erf-view .erf-view-inner{
    padding: 1rem;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    height: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.erf-views-list .erf-view .erf-view-inner{
    padding: 0;
}

.erf-col-2 .erf-view{
    width: calc(100% / 2)
}
.erf-col-1 .erf-view{
    width: calc(100%)    
}
.erf-view-left,
.erf-view-right{
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.erf-view-left{
    width: 30%;
}
.erf-view-right{
    width: 70%;
    padding: 10px;
}
.erf-view-cards{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: stretch;
        -ms-flex-pack: stretch;
            justify-content: stretch;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    -ms-flex-line-pack: start;
        align-content: flex-start;
}
.erf-view-card{
    padding: 1rem;
    margin-bottom: 1rem;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    text-align: center;
}
.erf-view-card .erf-view-card-inner{
    padding: 0rem;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    height: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.view-card-6 .erf-view-card{
    width: calc(100% / 6)
}
.view-card-5 .erf-view-card{
    width: calc(100% / 5)
}
.view-card-4 .erf-view-card{
    width: calc(100% / 4)
}
.view-card-3 .erf-view-card{
    width: calc(100% / 3)
}
.view-card-2 .erf-view-card{
    width: calc(100% / 2)
}
.view-card-1 .erf-view-card{
    width: calc(100%)
}
.erf-field-value{
    font : inherit;
}
.erf-view-card .erf-field-name{
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    max-width: 100%;
    padding: 0.5rem;
    display: block;
}
.erf-view-card .erf-field-value{
    font-weight: bold;
}
/*Details*/
.erf-clearfix:after{
    display: block;
    clear: both;
    content: "";
}

.erf-view-details{
    display: block;
    width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.erf-detail-row{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    -ms-flex-line-pack: stretch;
        align-content: stretch;
    padding: 1rem;

}
.erf-views-list .erf-detail-row{
}
.erf-field-name{
   -webkit-box-flex: 1;
       -ms-flex: 1;
           flex: 1;
   max-width: 30%;
}

.erf-field-value{
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    max-width: 100%;
    padding: 0.5rem;

}
.erf-view-google_map{
    min-height: 500px;
    overflow: hidden;
    display: block;
}
.erf_view_map_container{
    overflow: visible !important;
    position: relative !important;
    min-height: 500px;
    display: block;
}
.erf_view_pagination{
    padding: 10px 0;
    margin-bottom: 20px;
}
.erf_view_pagination .page-numbers {
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
}
.erf_view_pagination .page-numbers.current,
.erf_view_pagination .page-numbers:hover{
    background-color: #ccc!important;
    color: #fff
}

@media all and (max-width: 1200px) {}
@media all and (max-width: 979px) {}
@media all and (max-width: 767px) {
    .erf-view-table  table,
    .erf-view-table tbody,
    .erf-view-table th,
    .erf-view-table td,
    .erf-view-table tr {
    	display: block; 
    }
    .erf-view-table thead{
        display: none !important;
    }
    .erf-view-table tr:not(:last-child) {
        margin-bottom: 1em;
    }
    .erf-view-table td{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-direction: row;
	        flex-direction: row;
	-ms-flex-wrap: nowrap;
	    flex-wrap: nowrap;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
	-ms-flex-line-pack: stretch;
	    align-content: stretch;
    }
    td:before {
        content: attr(erf-data-label);
        width: 35%;
        padding-right: 10px;
        -webkit-box-sizing: border-box;
                box-sizing: border-box;
        white-space: normal;
    }
    .erf-view-table td .erf-view-value{
        width: 65%;
        float: right;
        display: block;
        min-height: auto;
    }
    .erf-view-table td:not(:last-child){
        border-bottom: none;
    }
}
@media all and (max-width: 479px) {
    .erf-view-title{
        width: 100%;
        padding-right: 0;
        margin-bottom: 0.5rem;
    }
    .erf-view-filter{
        width: 100%;
    }
    .erf-view-left{
        width: 100%;
    }
    .erf-view-right{
        width: 100%;
    }
    .erf-view-card{
        width: 100%;
    }
}
