.top-block {
    width: 100%;
    height: fit-content;
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 30px 25px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
	padding-bottom: 0;

    }
.h1-block {
    color: #fff;
    width: 96%;
    max-width: 1200px;
    height: fit-content;
}

.h1-block>h1 {
    text-transform: uppercase;
    font-size: 39px;
    margin: 0;
    font-weight: 600;
    line-height: 42px;
}

.h1-desc-text {
    max-width: 900px;
        font-size: 16px;
    font-weight: 300;
	color: #ededed;
}

.top-flex {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
}

.top-flex>img {
    width: 170px;
    overflow: hidden;
    border: 1px solid #f00;
    border-radius: 5px;
    margin-right: 15px;
    height: 170px;
}
.top-flex>a>img {
    width: 200px;
    overflow: hidden;
    border: 1px solid #f00;
    border-radius: 5px;
    margin-right: 15px;
    height: 200px;
}
.top-flex>div {
    width: 73%;
}
.anchors {
    width: 100%;
    max-width: 1200px;
    margin: 0;
    display: flex;
}
.month-link {
    color: #fff;
    margin-right: 10px;
    padding: 9px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    background: #fff2;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: .3s ease;
    text-align: center;
    width: 8%;
    }

.month-link::after {
    content: '';
    position: absolute;
    left: 0%;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #f00;
    transition: .3s ease;
    }

.month-link:hover::after {
    width: 100%;
}

.filter-block {
    display: flex;
    justify-content: left;
    width: 100%;
    max-width: 1200px;
    margin: 20px 0;
    margin-bottom: 15px;
}

input#search {
  height: 40px;
    padding: 5px 15px;
    border-radius: 5px;
    box-shadow: none;
    border: none;
    outline: none;
    font-weight: 400;
    color: #000;
    font-size: 13px;
    width: 100%;
}

.filter-text {
    margin-right: 15px;
    position: relative;
    flex: 1 0 auto;
    width: 18%;
}
.filter-text:first-child {
    width: 26%;
}
.venue-value, .start-date-value, .end-date-value {
  height: 100%;
    background: #fff;
    border-radius: 5px;
    padding: 5px 15px;
    line-height: 33px;
    text-align: left;
    height: 40px;
    font-weight: 400;
    color: #000000a1;
    font-size: 12px;
    cursor: pointer;
    overflow: hidden;
    width: 100%;
}
.start-date-value, .end-date-value {
    width: 100%;
}
.search-button {
    color: #fff;
    font-weight: 400;
    font-size: 14px;
    height: 40px;
    line-height: 34px;
    background: #f00;
    padding: 3px 0px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 13px;
    width: 12%;
    text-align: center;
}
.venues {
    position: absolute;
    background: #fff;
    z-index: 1;
    top: calc(100% + 10px);
    left: 0;
    max-height: 300px;
    overflow-y: scroll;
    overflow-x: hidden;
    width: 300px;
    max-width: 300px;
    transition: .3s ease;
}

.venues>div {
    padding: 3px 15px;
    font-size: 13px;
    cursor: pointer;
    color: #000;
}

.venues>div:hover {
    background: #ff000040;
}
.calendar {
    position: absolute;
    background: #fff;
    z-index: 1;
    top: calc(100% + 10px);
    left: 0;
    max-height: 300px;
    width: 300px;
    transition: .3s ease;
}
/* end calendar */
.c-block {
    width: 100%;
    max-width: 300px;
    text-align: center;
    cursor: default;
    text-transform: uppercase;
    font-size: 13px;
    padding: 14px 0;
}
    .y-row {
    border-top: 1px solid #E6E6E6;
    border-right: 1px solid #E6E6E6;
    width: 91%;
    position: relative;
    cursor: default;
    font-weight: 600;
    margin: auto;
    border-left: 1px solid #E6E6E6;
    }
    .y-row>div {
       margin:auto;
       cursor:default;
    }
    .mon-row {
        border-top: 1px solid #E6E6E6;
    border-bottom: 1px solid #E6E6E6;
    border-right: 1px solid #E6E6E6;
    width: 91%;
    position: relative;
    cursor: default;
    font-weight: 600;
    margin: auto;
    border-left: 1px solid #E6E6E6;
    }
    .mon-row>div {
       margin:auto;
       cursor:default;
    }
    .c-row {
    display: flex;
    flex-wrap: wrap;
    min-height: 30px;
    line-height: 30px;
    justify-content: center;
    }
        .c-days-names>div {
      width:13%;
      height:30px;
      border-right:1px solid #E6E6E6;
      border-bottom:1px solid #E6E6E6;
      cursor:pointer;
      font-weight:600;
    }
    .c-days>div, .day-c, .disabled-day {
      width:13%;
      height:30px;
      border-right:1px solid #E6E6E6;
      border-bottom:1px solid #E6E6E6;
      cursor:pointer;
      color:#000;
      font-weight:600;
    }
    .disabled-day {
        color:#999!important;
    }
    .day-c:hover {
      color: red;
    }
    .c-days>div:nth-child(7n + 1), .c-days-names>div:nth-child(7n + 1) {
    border-left: 1px solid #E6E6E6;
}
.prev {
    position: absolute;
    border: 8px solid #f00;
    border-left: 8px solid #f000;
    border-top: 5px solid #f000;
    border-bottom: 5px solid #f000;
    top: 50%;
    transform: translateY(-50%);
    left: 5px;
    cursor: pointer;
}

.next {
    position: absolute;
    border: 8px solid #f00;
    border-right: 8px solid #f000;
    border-top: 5px solid #f000;
    border-bottom: 5px solid #f000;
    top: 50%;
    transform: translateY(-50%);
    right: 5px;
    cursor: pointer;
}
.selected-date {
  font-weight:600!important;
  background: red!important;
  color: #fff!important;
}
/* end calendar css */
.results {
    background: #fff;
    position: absolute;
    z-index: 5;
    top: calc(100% + 12px);
    width: 100%;
    left: 0;
    border-radius: 2px;
    overflow-y: scroll;
    max-height: 300px;
}

.results>div {
    padding: 7px 12px;
    font-size: 15px;
    cursor: pointer;
    color: #000;
}

.results>div:hover {
    color: red;
}
.s-anc {
    display: flex;
    width: 100%;
    max-width: 1200px;
}

.anc,.anc-link {
    position: relative;
    padding: 0px 15px;
    height: 38px;
    padding-left: 40px;
    line-height: 40px;
    color: #fff;
    transition: .3s ease;
    font-size: 15px;
    cursor: pointer;
    font-weight: 300;
    background: #fff2;
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    width: 16%;
    display: -webkit-inline-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
	text-decoration:none;
}

.anc:hover, .anc-link:hover {box-shadow: 0 0 4px 0px red;}

.anc>img, .anc-link>img {
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
}

@media(max-width: 1050px) {
    .top-flex>img {
        display:none;
    }
    .top-flex>a>img {
        display:none;
    }
    .top-flex>div {
        width:100%;
    }
}
@media (max-width:960px) {
.anchors {
    flex-wrap: wrap;
    }
.month-link {
    width: 14%;
    margin-bottom: 10px;
    flex: 1 0 auto;
}
}
@media (max-width:1025px) {
	.s-anc {
	flex-wrap:wrap;
}

	.anc,.anc-link {
	width: 32.2%;
    margin: auto;
    margin-left: 0;
    margin-bottom: 10px;
	}
}
@media (max-width:768px) {
    .filter-block {
        flex-wrap: wrap;
    }
    .filter-text:first-child {
        width: 45%;
    }
    .filter-text {
        width: 30%;
        margin-bottom: 15px;
    }
    .top-flex {
        flex-direction:column;
    }
    .top-flex>div {
        width:100%;
    }
}
@media (max-width:650px) {
    .filter-block {
        flex-wrap: wrap;
    }
    .filter-text:first-child {
        width: 100%;
    }
    .filter-text {
        width: 100%;
        margin-bottom: 25px;
        height: 50px;
        line-height: 46px;
    }
    .search-button {
        width: 100%;
        margin: 0;
        margin-bottom: 25px;
        height: 50px;
        line-height: 46px;
    }
    input#search {
        height:100%;
    }
    .venue-value, .start-date-value, .end-date-value {
         height:100%;
         line-height: 40px;
    }
}
@media (max-width:500px) {
	.anc, .anc-link {
    width: 100%;
    height: 42px;
}
    .h1-block>h1 {
    font-size: 28px!important;
    line-height: 32px;
}
.h1-desc-text {
    font-size: 16px;
}
.month-link {
	display:none;
}
}
 .results {

background: #fff;

position: absolute;

z-index: 5;

top: calc(100% + 12px);

width: 100%;

left: 0;

border-radius: 2px;

overflow-y: scroll;

max-height: 300px;

}



.results>div {

padding: 3px 7px;
font-size: 13px;
cursor: pointer;
color: #000;

}



.results>div:hover {

color: red;

}

.clean-date, .clean-venues {
    color: red;
    position: absolute;
    top: calc(50% - 10px);
    right: 10px;
    font-size: 24px;
    line-height: 24px;
    transition: .3s ease;
    transform: scale(0);
    opacity: 0;
    cursor:pointer;
}

.sdate {
    transform: scale(1);
    opacity: 1;
}

input#venuesearch {
    height: 100%;
    background: #fff;
    border-radius: 5px;
    padding: 5px 15px;
    line-height: 33px;
    text-align: left;
    height: 40px;
    font-weight: 400;
    color: #000000a1;
    font-size: 12px;
    cursor: pointer;
    overflow: hidden;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    font-family: 'Montserrat', sans-serif;
    display: none;
}
@media(max-width:650px) {
	.h2-subtitle, h2 {
    display: none!important;
}
input#venuesearch {height: 100%;}
.venues {
  width:100%;
  max-width:100%;
}
.h1-desc-text {
    display: none;
}

.h1-block>h1 {
    margin-bottom: 17px;
	    text-align: center;
}
	.anc, .anc-link {
    width: 100%;
}
}