@media screen and (min-width: 1000px){
	#shows_calendar #legend{
		width: 75%;
	}
}

@media screen and (max-height: 600px) and (max-width: 900px){
	div#shows_top{
		background-position: center -60px !important;
	}
}

@media screen and (max-width: 1800px){
	div#shows_top{
		background-position: top center;
		max-height: 800px;
		background-size: contain;
	}

	div#shows_top.shows_top_fr {
		background-image: url(../images/shows-hero-tab-wide_fr.jpg);
	}

	/*div#shows_top {
		background-image: url(../images/shows-hero-tab-wide.jpg);
	}*/
}

@media screen and (max-width: 1400px){
	#shows_type_select{
		margin-left: -25px !important;
		justify-content: center;
	}
}

@media screen and (max-width: 1180px){

	#show_top, #date_info, #show_content{
		padding-left: 20px;
		padding-right: 20px;
	}

	#show_top{
		min-height: 120px;
	}

	div#shows_top.shows_top_fr {
		background-image: url(../images/shows-hero-tab_fr.jpg);
	}

	div#shows_top {
		background-image: url(../images/shows-hero-tab.jpg);
	}

	#show_content{
		width: calc(100% - 40px);
	}

	#shows_banner_bottom img{
		max-width: 100%;
	}

	div#shows_top{
		background-size: cover;
		background-position: right center;
	}

	#showsearch{
		max-width: calc(100% - 10px);
		margin: 0 5px;
	}

	#showsearch h3{
		margin: 0 5px 0px 5px;
	}

	#showsearch form{
		display: flex;
		flex-wrap: wrap;
	}

	#showsearch form input, #showsearch form select, #showsearch form select option, #showsearch form button, #showsearch form a#resetbutton, #showsearch form input[type="submit"]{
		display: flex;
		flex-grow: 1;
		margin: 0px 5px 10px 5px;
	}

	div#index_shows_container{
		max-width: calc(100% - 20px);
		margin-left: 10px;
		margin-right: 10px;
	}

	.show_location, .show_tour, .show_language{
		white-space: nowrap;
	}

	div#index_shows_list div.index_show_data{
		align-items: center;
		margin-left: 0px;
	}

	div#index_shows_list .index_show_extra{
		margin-right: 0px;
	}

	.day .show_time{
		display: none;
	}

}

@media screen and (max-width: 1000px){

	div#index_shows{
		margin: 20px 0 20px 0;
	}

	div#index_shows_list div.index_show_data{
		align-items: baseline;
	}

	div#index_shows_list > a > div{
		align-items: center;
		flex-direction: row;
	}

	div#index_shows_list div.show_list_ticket_container{
		width: auto;
	}

	div#index_shows_list div.show_list_date, div#index_shows_list div.show_list_ticket{
		width: auto !important;
		margin-bottom: 10px;
		padding: 12px 20px;
		min-width: 180px;
	}

	div#index_shows_list div.show_list_date{
		display: none;
	}

	div#index_shows_list .show_date_mob{
		display: block;
		text-align: center;
		line-height: 1.2rem !important;
	}

	div#index_shows_list .show_date_mob .date_mob{
		font-size: 1.7rem;
		line-height: 1.8rem;
	}

	.show_location, .show_tour, .show_language{
		line-height: 1.4rem !important;
	}

	div#index_shows_list .index_show_extra{
		line-height: 1.7rem;
	}

	div#index_shows_list div.index_show_data span.show_time, div#index_shows_list div.index_show_data span.show_language {
		font-size: 1rem;
		line-height: 1.2rem;
		margin-bottom: 1em;
		font-family: 'AgendaMedium';
	}

	div#index_shows_list .just_added{
		margin-bottom: 10px;
	}

	#shows_banner_bottom_cont {
		width: 100%;
		padding: 20px 0;
	}


	#shows_type_select{
		font-size: 1.3rem;
		margin-left: 0px !important;
	}

	#shows_type_select div#select_list, #shows_type_select div#select_calendar{
		width: auto;
		white-space: nowrap;
	}


	div#index_shows_top{
		top: 5px;
	}

	div#index_shows_toplinks, div#index_shows_toplinks a{
		font-size: 1.5rem;
	}

	#show_sugarnation a{
		white-space: nowrap;
	}


}

@media screen and (max-width: 950px){

	div#index_shows_top{
		flex-direction: column;
	}

	div#index_shows_toplinks{
		width: auto;
		margin: 10px 0;
	}

	div#index_shows_toplinks a{
		margin-left: 15px;
		margin-right: 0px;
	}

	.ticket_purchase_details{
		font-size: 20px;
		position: relative;
		right: auto;
		display: block;
	}

	.ticket_purchase_top{
		display: block;
	}
}

@media (max-width: 900px){
	div#shows_top{
		background-image: url("../images/shows-hero-tab-tall.jpg");
		background-size: contain;
		background-position: top center;
		min-height: 450px;
	}

	div#shows_top.shows_top_fr{
		background-image: url("../images/shows-hero-tab_fr.jpg");
		background-size: contain;
		background-position: top center;
	}

	#shows_calendar_grid > div div.calendar_date_number{
		margin-bottom: 15px;
	}

	#shows_calendar_grid > div{
		padding: 5px;
		overflow: hidden;
	}

	#shows_calendar_grid > div div.show_location{
		font-size: 0.65rem;
		margin-left: -5px;
		width: 100%;
		padding: 0px 5px 0px 5px;
	}
}

@media (max-width: 800px){
	#show_content{
		flex-direction: column;
	}

	#show_content_left{
		max-width: 100%;
		margin-right: 0px;
	}

	#show_group_tickets, #show_sugarnation{
		display: none;
	}

	#show_links_mobile{
		display: flex;
		flex-direction: column;
		margin-top: 30px;
	}

	#show_group_tickets_mobile{
		width: calc(100% - 82px);
		padding: 10px 40px 30px 40px;
		border: 1px solid;
		text-align: center;
		position: relative;
	}

	#show_group_tickets_mobile p{
		font-size: 1.1rem;
	}

	#show_group_tickets_mobile h3{
		text-transform: uppercase;
		font-size: 1.5rem;
		font-weight: bold;
		margin-bottom: 20px;
	}

	#show_group_tickets_mobile a#ticketsbutton_mobile, #show_sugarnation_mobile a{
		position: absolute;
		bottom: -30px;
		left: 50%;
		padding: 10px 20px;
		display: block;
		text-transform: uppercase;
		text-decoration: none;
		border: 1px solid;
		font-weight: bold;

		-webkit-transform: translateX(-50%);
		-moz-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		-o-transform: translateX(-50%);
		transform: translateX(-50%);
	}

	#show_sugarnation_mobile{
		margin-top: 50px;
		padding: 30px 20px 50px 20px;
		width: calc(100% - 42px);
		border: 1px solid;
		text-align: center;
		position: relative;
		font-size: 1rem;
	}

	#show_sugarnation_mobile a{
		font-size: 1.5rem;
		bottom: -25px;
		font-family: AgendaLight;
		font-weight: 400;
	}

	div#shows_top{
		background-size: contain;
		max-height: 600px;
	}

	div#sugarnation_join{
		display: none;
	}

	#shows_list_sugarnation_mobile{
		display: block;
	}

	#shows_banner_bottom{
		display: none;
	}

	#shows_banner_mobile{
		display: flex;
	}

	#shows_calendar_grid{
		width: calc(100% + 18px);
		margin-left: -9px;
	}

	#shows_calendar_grid>div.dayname{
	font-size: 1rem;
	}

	#show_top_content {
    margin-top: 20px;
	}

    #showsearch form{
        display: none;
    }

    #searchshow{
        display: block;
        text-align: center;
    }

    #searchshow button{
        background: none;
        border: none;
        color: white;
        font-size: 36px;
        text-align: center;
        padding: 5px 0;
        cursor: pointer;
    }

}

@media screen and (max-width: 750px){

	div#index_shows_list div.show_list_ticket_container{
		max-width: 141px;
	}

	div#index_shows_list div.show_list_date, div#index_shows_list div.show_list_ticket{
		min-width: 100px;
	}

}

@media screen and (max-width: 650px){

	#shows_type_select{
		float: none;
		width: 100%;
	}

	#shows_calendar_grid>div div.calendar_date_number {
    font-size: 1rem;
	}

	#shows_calendar_month{
	margin-top: 8px;
	}

	#shows_calendar_top, #shows_calendar_bottom {
    	margin: 20px auto 20px auto;
		float: none;
	}

	#shows_calendar #legend #legend_items {
    	/*display: block !important;*/
		display: grid !important;
		grid-gap: 1px;
		grid-template-columns: 1fr 1fr;
	}

	#shows_calendar_grid>div {
		min-height: 60px;
	}

	#shows_calendar_grid {
	gap: 1px;
	}

	#shows_calendar_grid > div {
    padding: 2px;
	}

	div#index_shows h2{
		font-size: 2.1rem;
		margin-bottom: -10px;
	}

	div#index_shows_top a{
		font-size: 1.6rem;
		margin-bottom: -10px;
	}


	#date_info_content{
		flex-direction: column;
	}

	#date_info_content_right{
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		margin-top: 30px;
	}

	.tour_place span#cityname{
		display: block;
		font-size: 2.5rem;
		margin-bottom: 5px;
	}

	.tour_place span#comma{
		display: none;
	}

	#view_shows_breadcrumb_top{
		display: none;
	}

	#show_top{
		min-height: 80px;
	}

	div#index_shows_list .show_date_mob .date_mob{
		font-size: 1.6rem;
		line-height: 1.8rem;
		font-family: 'AgendaMedium';
	}

	div#shows_top{
		max-height: 600px;
	}

	div#index_shows_top{
		position: relative;
		text-align: center;
		max-width: 80%;
		margin: 0 auto;
	}

	#shows_calendar #legend .legend_item#legend_title{
		display: none;
	}

	#legend_title_mob{
		display: block;
		margin-bottom: 10px;
		text-align: center !important;
		width: 100%;
	}

}

@media screen and (max-width: 600px){

	div#index_shows_list div.index_show_data{
		align-items: center;
	}

	div#index_shows_list > a > div{
		align-items: center;
		flex-direction: column;
	}

	div#index_shows_list div.show_list_ticket_container{
		/* width: 100%; */
		text-align: center;
		max-width: none;
	}

	div#index_shows_list div.show_list_date, div#index_shows_list div.show_list_ticket{
		min-width: 180px;
	}

	div#index_shows_top{
		flex-direction: column;
		justify-content: center;
		justify-items: center;
		align-items: center;
	}

	div#index_shows_toplinks{
		width: auto;
		text-align: center;
		justify-content: center;
		flex-grow: 0;
		margin-top: 14px;
		font-size: 1.6rem;
		display: block;
	}

	div#index_shows_toplinks a:first-of-type{
		margin-left: 14px;
	}

}

@media screen and (max-width: 550px){


	#show_sugarnation_mobile a{
		bottom: -25px;
	}

	#show_group_tickets_mobile a#ticketsbutton_mobile, #show_sugarnation_mobile a{
		white-space: nowrap;
	}

	.tour_place span#cityname{
		font-size: 2rem;
	}

	.tour_place{
		font-size: 1.4rem;
		line-height: 1;
	}

}

@media screen and (max-width: 500px){
	div#shows_top{
		background-image: url("../images/shows-hero-mobile.jpg");
		background-size: contain;
		background-position: top center;
        height: auto;
        min-height: calc(50vh - 10px) !important;
		/*max-height: 875px;*/
	}

	div#shows_top.shows_top_fr{
		background-image: url("../images/shows-hero-mobile_fr.jpg");
		background-size: contain;
		background-position: top center;
		/*max-height: 550px;*/
	}

	#shows_calendar_top, #shows_calendar_bottom{
		max-width: 100%;
	}

	#show_top h1 {
    font-size: 3.2em;
	}


}

@media screen and (max-width: 450px){

	.sold_out, .date_tickets{
		font-size: 1rem;
	}

	div#index_shows_list div.index_show_data span.show_language {
    padding-top: 0px;
	}

    #showsearch form{
        margin-bottom: 0px;
    }

}

@media screen and (max-width: 425px){

	#show_content_bottom{
		flex-direction: column;
		margin-bottom: 20px;
		align-items: baseline;
	}

	#share_div{
		margin-bottom: 10px !important;
	}

	div#index_shows_list div.index_show_data span.show_location {
		padding-top: 0px !important;
		font-size: 1.6rem;
		line-height: 1.2rem;
		font-family: 'AgendaMedium';
		/*padding-bottom: 8px;*/
	}
}

@media screen and (max-width: 375px){

	#show_top_content{
		flex-direction: column;
		align-items: center;
	}

	#show_top h1{
		text-align: center;
	}

	#show_group_tickets_mobile{
		padding: 10px 30px 50px 30px;
		width: calc(100% - 62px);
	}

	span.show_location{
		white-space: normal;
		text-align: center;
	}
}

@media screen and (max-width: 350px){

	#shows_list_sugarnation_mobile a{
		font-size: 1.5rem !important;
		max-width: calc(100% - 30px);
	}

	#date_info_content_right {
 		flex-direction: column;
	}

	#show_group_tickets_mobile a#ticketsbutton_mobile, #show_sugarnation_mobile a{
		font-size: 1.2rem;
		bottom: -25px;
	}

}

@media screen and (max-width: 250px){

	div#index_shows_list div.show_list_date, div#index_shows_list div.show_list_ticket{
		min-width: auto;
	}

	#shows_list_sugarnation_mobile a{
		font-size: 1.2rem !important;
	}

}
