#imgtec-fbox-events-template {
    display: flex;
    flex-flow: row wrap;
    justify-content: left;
    padding: 20px 0px 0px 0px;
    margin: 0 -10px 0 -10px;
}
.imgtec-fbox-event {
    width: 31.79%;
    box-sizing: border-box;
    text-align: left;
    background: #FFF;
    margin: 0px 10px 20px 10px;
    padding: 0px;
    border: solid #dbdbdb;
    border-width: 1px 1px 5px 1px;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.0);
    -moz-box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.0);
    -webkit-box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.0);
    transition: .3s ease-in-out;
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -ms-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
}
.imgtec-fbox-event:hover {
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);
    border-color: #c7c7c7;
}
.imgtec-fbox-event a {
    color: #777;
}
.imgtec-event-info {
    padding: 30px 30px 20px;
    font-size: 14px;
    line-height: 20px;
}
/*.imgtec-event-image {
    display:none;
}*/
.imgtec-event-image img {
    width:100%;
}
h1.imgtec-event-title {
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #1a1a1a;
    line-height:32px;
}
p.imgtec-event-date {
    color: #999;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 20px;
}
.imgtec-event-more-details {
    padding:0px 30px 20px 30px;
}
.imgtec-event-more-details a {
    color: #644680;
    font-size: 18px;
    font-weight: 500;
    margin-top: 0px;
    display: block;
}

/*===== Filters Styles =====*/
#imgtec-events-searchform-container {
    margin: 40px auto;
    padding: 0;
    max-width: 1280px;
    height: 70px;
}

.imgtec-fwp-events-searchform {
    display: flex;
    justify-content: center;
    flex-direction: row;
    text-align: left;
    margin: 0 auto;
    padding: 10px 0;
}
.imgtec-fwp-events-searchform .facetwp-dropdown {
    font-size: 0.7em;
    width: 100%;
}

.imgtec-fwp-events-searchform select.facetwp-dropdown,
.imgtec-fwp-events-searchform .facetwp-type-dropdown {
    background-color: #fafafa;
    border-color: #cccccc;
    border-right: none !important;
    height: 70px !important;
    font-size: 15px;
    font-weight: 500;
}
.imgtec-fwp-events-searchform .facetwp-facet {
    margin-bottom: 20px;
    height: 70px;
    background-color: #fafafa;
    flex-grow: 2;
}
.imgtec-fwp-events-searchform .facetwp-facet-search_generic_use {
    margin-bottom: 40px;
    height: 70px;
    background-color: #fafafa;
    box-sizing: border-box;
    flex-grow: 10;
}
.imgtec-fwp-events-searchform input.facetwp-search {
    margin-bottom: 40px;
    height: 70px;
    background-color: #fafafa;
    box-sizing: border-box;
    width: 100%;
}
.imgtec-fwp-events-searchform i.facetwp-btn {
    display: none;
}
.imgtec-fwp-events-submit-button,
.imgtec-fwp-events-action-button {
    max-height: 70px;
    padding: 10px 25px;
    flex-grow: 1;
}
.imgtec-fwp-events-submit-button,
.imgtec-fwp-events-submit-button:active,
.imgtec-fwp-events-submit-button:visited,
.imgtec-fwp-events-submit-button:focus {
    background-color: #4f1455;
}
.imgtec-fwp-events-action-button,
.imgtec-fwp-events-action-button:active,
.imgtec-fwp-events-action-button:visited,
.imgtec-fwp-events-action-button:focus {
    background-color: #956c99;
    border-radius: 0px 2px 2px 0px;
}
.imgtec-fwp-events-submit-button:hover {
    background-color: #2e0c31;
}
.imgtec-fwp-events-action-button:hover {
    background-color: #644866;
}



/*Responsive styles*/
@media (max-width: 1024px){
.imgtec-fbox-event {
    width: 47.2%;
    box-sizing: border-box;
    text-align: left;
    background: #FFF;
    margin: 0px 10px 20px 10px;
    padding: 0px;
    border: solid #dbdbdb;
    border-width: 1px 1px 5px 1px;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.0);
    -moz-box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.0);
    -webkit-box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.0);
    transition: .3s ease-in-out;
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -ms-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
}
}
@media (max-width: 767px){
.imgtec-fbox-event {
    width: 100%;
    }
.imgtec-fwp-events-searchform {
    display: flex;
    justify-content: left;
    flex-direction: column;
    text-align: left;
    margin: 0 auto;
    padding: 0px 0;
    }
.imgtec-fwp-events-searchform .facetwp-facet {
    margin-bottom: -1px;
    }
#imgtec-events-searchform-container {
    margin: 40px auto 250px;
    }
.imgtec-fwp-events-searchform .facetwp-type-dropdown {
    border-right:1px solid #ccc !important;
    }
    .imgtec-fwp-events-submit-button {
    height:70px;
    }
}