﻿.searchFilterContainer, .showMoreEventsContainer {
    margin-bottom: 10px;
    background-color: #F7F7F9;
    border: 1px solid #E1E1E8;
    border-radius: 4px;
    margin-bottom: 14px;
    /*padding: 9px 14px;*/
    padding: 10px;
    clear: both;
}

.showMoreEventsContainer {
    text-align: center;
    line-height: 30px;
    color: #349A9A;
    font-size: 25px;
}

    .showMoreEventsContainer:hover {
        color: #FF9A00;
        cursor: pointer;
    }

.searchFilterContainer > .searchFilterInput {
    float: left;
    /*padding: 0 5px 5px 0px;*/
    padding: 0 7px 5px 0;
}

/*.searchFilterContainer > .searchFilterInput.bootstrap-select {
        margin-right: 25px;
    }*/

@media (max-width: 310px) {
    .searchFilterContainer > .searchFilterInput .searchByNameTb {
        width: 130px !important;
    }

    .searchFilterContainer > .searchFilterInput .bootstrap-select select {
        width: 158px !important;
    }
}

@media (min-width: 311px) {
    .searchFilterContainer > .searchFilterInput .searchByNameTb {
        width: 195px !important;
    }

    .searchFilterContainer > .searchFilterInput .bootstrap-select select {
        width: 223px !important;
    }
}

.typeahead, .tt-query, .tt-hint {
    border: 2px solid #CCCCCC;
    border-radius: 8px;
    font-size: 24px;
    height: 30px;
    line-height: 30px;
    outline: medium none;
    padding: 8px 12px;
    width: 396px;
    vertical-align: middle !important;
}

.typeahead {
    background-color: #FFFFFF;
}

    .typeahead:focus {
        border: 2px solid #0097CF;
    }

.tt-query {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
}

.tt-hint {
    color: #999999;
}

.tt-dropdown-menu {
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    /*margin-top: 12px;*/
    padding: 0px 0;
    width: 100%;
}

.tt-suggestion {
    font-size: 16px;
    line-height: 24px;
    padding: 3px 20px;
    cursor: pointer;
}

    .tt-suggestion:not(:last-child) {
        border-bottom: 1px solid silver;
    }

    .tt-suggestion:first-child {
        border-top-left-radius: 8px !important;
        border-top-right-radius: 8px !important;
    }

    .tt-suggestion:last-child {
        border-bottom-left-radius: 8px !important;
        border-bottom-right-radius: 8px !important;
    }

    .tt-suggestion.tt-cursor {
        background-color: #0097CF;
        color: #FFFFFF;
    }

    .tt-suggestion p {
        margin: 0;
    }

.eventsContainer{
    min-height: 320px;
}

.repeaterItem {
    margin-bottom: 10px;
    display: block;
    /*background-color: #FFFFF5;*/
    border: 1px solid #eee;
    position: relative;
    /*display: none;*/
    color: white;
    overflow: hidden;
}

    /*.repeaterItem.flip .repeaterItemFront {
        -o-transform: rotateY(180deg);
        -ms-transform: rotateY(180deg);
        -moz-transform: rotateY(180deg);
        -webkit-transform: rotateY(180deg);
        transform: rotateY(180deg);
    }

    .repeaterItem.flip .repeaterItemBack {
        -o-transform: rotateX(0deg) rotateY(0deg);
        -ms-transform: rotateX(0deg) rotateY(0deg);
        -moz-transform: rotateX(0deg) rotateY(0deg);
        -webkit-transform: rotateX(0deg) rotateY(0deg);
        transform: rotateX(0deg) rotateY(0deg);
    }*/

    .repeaterItem.flip .repeaterItemFront {
        -o-transform: none;
        -ms-transform: none;
        -moz-transform: none;
        -webkit-transform: none;
        transform: none;
    }

    .repeaterItem.flip .repeaterItemBack {
        -o-transform: none;
        -ms-transform: none;
        -moz-transform: none;
        -webkit-transform: none;
        transform: none;
    }

.repeaterItemFront, .repeaterItemBack {
    height: inherit;
}

.repeaterItemFront {
    position: absolute;
    -o-transform: rotateX(0deg) rotateY(0deg);
    /*-o-transform-style: preserve-3d;*/
    -o-backface-visibility: hidden;
    -ms-transform: rotateX(0deg) rotateY(0deg);
    /*-ms-transform-style: preserve-3d;*/
    -ms-backface-visibility: hidden;
    -moz-transform: rotateX(0deg) rotateY(0deg);
    /*-moz-transform-style: preserve-3d;*/
    -moz-backface-visibility: hidden;
    -webkit-transform: rotateX(0deg) rotateY(0deg);
    /*-webkit-transform-style: preserve-3d;*/
    -webkit-backface-visibility: hidden;
    transform: rotateX(0deg) rotateY(0deg);
    /*transform-style: preserve-3d;*/
    backface-visibility: hidden;
    /* -- transition is the magic sauce for animation -- */
    /*-o-transition: all .4s ease-in-out;
    -ms-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;*/
}

.repeaterItemBack {
    background-color: #349A9A;
    position: absolute;
    -o-transform: rotateY(-180deg);
    /*-o-transform-style: preserve-3d;*/
    -o-backface-visibility: hidden;
    -ms-transform: rotateY(-180deg);
    /*-ms-transform-style: preserve-3d;*/
    -ms-backface-visibility: hidden;
    -moz-transform: rotateY(-180deg);
    /*-moz-transform-style: preserve-3d;*/
    -moz-backface-visibility: hidden;
    -webkit-transform: rotateY(-180deg);
    /*-webkit-transform-style: preserve-3d;*/
    -webkit-backface-visibility: hidden;
    transform: rotateY(-180deg);
    /*transform-style: preserve-3d;*/
    backface-visibility: hidden;
    /* -- transition is the magic sauce for animation -- */
    /*-o-transition: all .4s ease-in-out;
    -ms-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;*/
}

.repeaterItemFrontImage {
    text-align: center;
    vertical-align: middle;
}

.repeaterItemFrontCaptionContainer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    /*height: 80px;*/
    /*background-color: rgba(170,170,170,0.75);*/
    background-color: rgba(100,100,100,0.75);
    position: absolute;
}

.repeaterItemBackTitleAndDateContainer {
    background-color: #2E8888;
}

.textPadding {
    padding: 10px;
}

.repeaterItemFrontTitle, .repeaterItemBackTitle {
    font-weight: bold;
    margin-bottom: 1px;
	line-height: 1.2;
}

.repeaterItemFrontFeaturedEvent {
    padding: 10px;
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(255,255,255,0.5);
    border-radius: 4px;
}


@media (max-width: 767px) {
    .repeaterItem {
        width: 100%;
        max-width: 402px;
        margin: 10px auto;
}

    /*.repeaterItemFront, .repeaterItemBack {
        width: 338px;
        height: 254px;
    }

    .repeaterItemFrontImage {
        line-height: 251px;
    }*/

    .repeaterItemFrontTitle, .repeaterItemBackTitle {
        font-size: 15px;
    }

    .repeaterItemFrontDate, .repeaterItemBackDate {
        font-size: 12px;
    }

	.repeaterItemBackDescription {
		font-size: 12px;
	}
	
    .repeaterItemBackButtons {
        padding: 0 10px;
    }		
	
		.repeaterItemBackButtons .btn {
			font-size: 12px;
		}
}

@media (min-width: 768px) {
    .repeaterItem {
        float: left;
        margin-left: 5px;
        margin-right: 5px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .repeaterItem {
        width: 340px;
        height: 256px;
    }

    .repeaterItemFront, .repeaterItemBack {
        width: 338px;
        height: 254px;
    }

    .repeaterItemFrontImage {
        line-height: 251px;
    }

    .repeaterItemFrontTitle, .repeaterItemBackTitle {
		margin-bottom: 10px;
        font-size: 20px;
    }

    .repeaterItemFrontDate, .repeaterItemBackDate {
        font-size: 15px;
    }

    .repeaterItemBackButtons {
        padding: 10px;
    }
	
		.repeaterItemBackButtons .btn {
			font-size: 14px;
		}
}

@media (min-width: 992px) and (max-width: 1199px) {
    .repeaterItem {
        width: 296px;
        height: 223px;
    }

    .repeaterItemFront, .repeaterItemBack {
        width: 294px;
        height: 221px;
    }

    .repeaterItemFrontImage {
        line-height: 218px;
    }

    .repeaterItemFrontTitle, .repeaterItemBackTitle {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .repeaterItemFrontDate, .repeaterItemBackDate {
        font-size: 15px;
    }

    .repeaterItemBackDescription {
        font-size: 14px;		
    }

    .repeaterItemBackButtons {
        padding: 0 10px;
    }
}

@media (min-width: 1200px) {
    .repeaterItem {
        width: 363px;
        height: 273px;
    }

    .repeaterItemFront, .repeaterItemBack {
        width: 361px;
        height: 271px;
    }

    .repeaterItemFrontImage {
        line-height: 267px;
    }

    .repeaterItemFrontTitle, .repeaterItemBackTitle {
        font-size: 20px;
    }

    .repeaterItemFrontDate, .repeaterItemBackDate {
        font-size: 15px;
    }

    .repeaterItemBackButtons {
        padding: 10px;
    }
}

.pastEventsContainer {
    /*clear: both;*/
    background-color: #349a9a;
    padding: 10px;
    /*float: left;*/
    /*margin-right: 10px;*/
    /*height: 269px;*/
    margin-bottom: 10px;
}

    .pastEventsContainer, .pastEventsContainer hr, .pastEventsContainer a:link, .pastEventsContainer a:visited {
        color: white;
        font-weight: bold;
        /*border-color: white;*/
    }

.pastEventsTitle {
    font-size: 20px;
    font-weight: bold;
    padding: 10px 0;
    text-align: center;
    text-decoration: underline;
}

a.pastEventLink {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    -ms-flex-direction: column;
    padding: 10px 5px;
}

    a.pastEventLink:hover {
    color: #FF9A00;
    }

.pastEventLinkText {
    padding-right: 10px;
    line-height: 27px;
}

.pastEventLinkFeaturedImage {
    height: 30px;
}

.needAVenueContainer {
    background-color: black;
}

.needAVenueTitle {
    font-size: 20px;
    font-weight: bold;
    padding: 20px 0;
    text-align: center;
    text-decoration: underline;
    color: white;
}
