@media only screen and (max-width: 1580px) {
	.wrapper, .about .wrapper {width:85%;}
  .participate .event_button {margin-top: 10px;}
}

@media only screen and (max-width: 1440px) {
html { font-size:100%;}
.home_title {font-size:3rem;}
.news_box p {font-size: .875rem;}
.news_box p.date {font-size:.75rem; }
.event_box {width: 30.66%; margin-left: 4%;}  
   .login_ico{position: fixed; top: 75px; right:0; z-index: 10; width: 81px; font-family: 'Philosopher', sans-serif; font-size: .889rem; background: #20c4ce; padding: .3rem 0.5rem; -webkit-box-shadow: 0 0 3px 0 rgba(0,0,0,.5);
box-shadow: 0 0 3px 0 rgba(0,0,0,.5); text-align:center;} 
}

@media only screen and (max-width: 1275px) {
.news_box p {clear: left; padding-top: 0}
.news_box p.date {clear: none}
.bottom_nav {font-size: 1rem;}
.copyright {font-size: .75rem;}
 .page .team_box{width:45%}
.logo_text {width:120px;}
.sign {width: 70px;}
header.fixed-header .sign {width: 50px;}
.logo a { width: 250px;}
header.fixed-header .logo a {width: 150px;}
	.list_cats p br {display: none} 
 .page .event_box_pages.col2 {width:100%;float:left;padding:0;margin:0;}
 .page .event_box_pages p.video {position: relative; padding-left:0; padding-bottom: 80% !important; height:0; overflow: hidden; display:block; margin:-4rem 0 0 0 !important; width: 100%; max-width: 100%;}
.page .event_box_pages p.video iframe,  
.page .event_box_pages p.video object,  
.page .event_box_pages p.video embed {position: absolute; top: 80px;	left: 0; width: 100%; height: 70%;}
#cookiesPrivacy {
    background: #ffffff;
    height: 60px;
    width:100%;
    position: relative;
    top: 0;
    z-index: 99;
    border-bottom: 1px solid;
    
}
#cookieInnerWrapper {
    position: relative;
    margin: 0 auto;
   width:100%;
}

.cookiesText {
    position: absolute;
    top: 0;
    left: 45px;
    width:95%;
    margin-top: 7px;
}
.cookiesText p {
width:90%;
}


.cookiesbutton {
    position: absolute;
    top: 0;
    left: 90%;
    width: 120px;
    margin-top: 5px;
    vertical-align:middle;
 }
}

@media only screen and (max-width: 1210px) {
.page .gift_box { width:100%; margin:0 0 2rem} 
}
@media only screen and (max-width: 1024px) {
.news_box a img {float:none; margin: 0 0 1rem 0; width: 100%;}
.news_box .news_title {clear: both; display: block}
.news_box p {padding-top: 1rem}
.home_title {font-size:2.5rem;}
.home_title:after {height: 1.5rem; background: url(../images/divider_blue.png) no-repeat center center; background-size: auto 100%;}
.events .home_title:after {height: 1.5rem; background: url(../images/divider_white.png) no-repeat center center; background-size: auto 100%;}
.bottom_nav a {padding: 1rem; display: inline-block}

h1 {font-size: 3rem; background-size: auto 1.5rem; padding-bottom: 1.5rem;}
h2 {font-size: 2.5rem;}
h3 {font-size: 1.75rem; background: url(../images/divider_blue_small.png) no-repeat left .75rem;}
	
.page .news_box {width: 48%;}
.page .news_box:nth-of-type(3n+1) {margin-left: 4%}
.page .news_box:nth-of-type(2n+1) {margin-left:0; clear: left}
.page .news_box a img {float:left; margin: 0 1rem 1rem -2rem; width: auto;}
.page .news_box .news_title {clear: none; display: inline}
.page .news_box p {padding-top: 0; clear: none;}
	.basket-table tr {border-bottom: 1px solid #ec9f05}
	.basket-table tr:first-of-type {display: block}
	.basket-table.check-table tr:first-of-type {display: block}
	.basket-table tr td {width:50%; display: inline-block; border: none; text-align: left}
	.basket-table tr td:first-of-type {width: 100%; display: block}
	.basket-table tr td span {display: inline-block; line-height: 2.5rem;}
	
	.basket-table.table-vaucher tr:first-of-type {display: block}
	.basket-table.table-vaucher tr td:first-of-type { display:inline-block}
	.basket-table.table-vaucher tr td { width:50% !important; display:inline-block;}
  #cookiesPrivacy {
    float:left;
    background: #ffffff;
    height: 90px;
    width:100%;
    position: relative;
    top: 0;
    z-index: 99;
    border-bottom: 1px solid;
    
}

 #cookieInnerWrapper {
   width:100%;
   float:left;
 }
.cookiesText {
    position: absolute;
    top: 0;
    left: 45px;
    width:90%;
    margin-top: 7px;
    float:left ;
    clear:both;
}

.cookiesbutton {
    position:absolute;
    top: 35px;
    left:50%;
 }
}
@media only screen and (max-width: 1023px) {
.event_box {width: 96%; margin-left: 4%; margin-top: 2rem;}
.event_box:first-of-type {margin-left: 4%}
.event_box:nth-of-type(2) {margin-top: 2rem} 
.page .event_box:nth-of-type(2) {margin-top: 6rem}
.day_night {font-size: .75rem; top: 2rem; right: auto; left: -2rem;}
.page .event_description .day_night {text-align: left; font-size: .75rem; top: -2rem; left: -2rem;}
.page .day_night { font-size: .75rem; top: -6.5rem; right: 2rem; left: auto}
.page .event_description .day_night {text-align: left; font-size: .75rem; top: -2rem; left: -2rem;}
.event_box a img {width: auto; margin: 0 1rem 1rem -4rem; float: left}
	
.all_events {bottom:2rem;padding: .5rem 2rem; font-size:1.25rem;}
.contact_info {width: 40%;}
.contact_form {width: 60%;}
table.contact_form  { width:100%;}
table.contact_form  input { width:100%;}
table.contact_form  p { width:100%;padding:0;margin:0;}
	
.page .event_box {width:48%}
.page .event_box:nth-of-type(3n+1) {margin-left: 4%}
.page .event_box:nth-of-type(2n+1) {margin-left: 0} 
	
.list_cats img {float: left; margin: 2rem; margin-left: 0; width: 100%; max-width: 100%;}
.list_cats:first-of-type img {float: left; margin-left: 0}
	
}

@media only screen and (max-width:960px) {
.calendar {width: 48%; margin-left: 4%;}
.calendar:nth-of-type(3n+1) {margin-left:4%; clear:none}
.calendar:nth-of-type(2n+1) {margin-left: 0; clear:left}
.filter h6 { width:100%}
.filter form { float:left;width:100%}
.by_month { float:right; width:50%; padding-right:0}
.by_event { float:right;  width:50%}
.login_ico{position: fixed; top: 70px; right:0; z-index: 10; width: 81px; font-family: 'Philosopher', sans-serif; font-size: .889rem; background: #20c4ce; padding: .3rem 0.5rem; -webkit-box-shadow: 0 0 3px 0 rgba(0,0,0,.5);
box-shadow: 0 0 3px 0 rgba(0,0,0,.5); text-align:center;}
.participate .event_button {
    clear:both;
    float: right;
    padding-bottom: 5px;
    
} 
}

@media only screen and (max-width: 870px) {
.page.event_inner h2 {width: 100%;}
.participate {width: 100%; text-align: left; margin-bottom: 2rem;}
.login_ico{position: fixed; top: 70px; right:0; z-index: 10; width: 81px; font-family: 'Philosopher', sans-serif; font-size: .889rem; background: #20c4ce; padding: .3rem 0.5rem; -webkit-box-shadow: 0 0 3px 0 rgba(0,0,0,.5);
box-shadow: 0 0 3px 0 rgba(0,0,0,.5); text-align:center;} 
.cookiesbutton {
    position:absolute;
    top: 45px;
    left:50%;
 }
}

@media only screen and (max-width: 800px) {
	.event_box a img {max-width: 300px;}
	
.logo_text {width:80px;}
.sign {width: 50px;}
header.fixed-header .sign {width: 50px;}
.logo a { width:180px; padding-bottom: .5rem}
header.fixed-header .logo a {width: 150px;}

.title_section {padding: 6rem 0 2rem; }
.contact_info {width: 50%;}
.contact_form {width: 50%;}
.contact_form p { width:100%;}
table.contact_form  input { width:100%;}
table.contact_form  p { width:100%;padding:0;margin:0;}
.page .news_box {width: 96%;}
.page .news_box:nth-of-type(3n+1) {margin-left:4%}
.page .news_box:nth-of-type(2n+1) {margin-left:4%; clear: left}
.page .event_box.col2 {width:100%; margin-left: 0}      
.page .event_box_pages.col2 {width:100%; margin-left: 0}
.page .event_box.col2:nth-of-type(3n+1) {margin-left: 0}  
.event_box h3 img {margin: .7rem 1rem 0 0  !important;}
.calendar {width: 100%; margin-left: 0;}
.calendar:nth-of-type(3n+1) {margin-left:4%; clear:none}
.calendar:nth-of-type(2n+1) {margin-left: 0; clear:none}  
.page .team_box{width:48%}
}

@media only screen and (max-width: 768px) {
	.news_box {width:100%; float: left; border: 1px solid #ec9f05; position: relative; margin-left:0; margin-bottom: 1rem; padding: 1rem;}
.news_box a img {float:left; position: relative; z-index: 2; margin: 0 1rem 1rem -2rem; width: auto}
.news_box .news_title {clear: none; display: inline}
.news_box p {padding-top: 1rem; clear: none}
.home_title {font-size:2rem;}
.home_title:after {height: 1.125rem;}
.about .home_title:after, .events .home_title:after {height: 1.125rem;}
	
.all_events {bottom:-1rem;padding: .5rem 2rem; font-size:1.25rem; position: relative}

section  {width: calc(100% - 2rem);}
.about, .events, .news, .page {margin-left: 1rem; margin-right: 1rem;}

h1 {font-size: 2.5rem; background-size: auto 1.125rem;  padding-bottom: 1rem;}
	h2 {font-size: 2rem;}
	h3 {font-size: 1.5rem; background: url(../images/divider_blue_small.png) no-repeat left .5rem;}
 .filter .styled-select {width:100%; background: url(../images/select.png) no-repeat 100% center;}
   .page .event_box_pages.col2 {width:100%;float:left}
  .page .event_box_pages p.video {position: relative; padding-bottom: 80% !important; height: 0; overflow: hidden; display:block; margin:-6rem 0 1rem 0 !important; width: 100%; max-width: 100%;}
.page .event_box_pages p.video iframe,  
.page .event_box_pages p.video object,  
.page .event_box_pages p.video embed {position: absolute; top: 80px;	left: 0; width: 100%; height: 70%;}
  
}

@media only screen and (max-width: 640px) {
	.event_box a img {max-width: 200px; margin: 0 1rem 1rem 0;}
	.event_date {display: block; clear: both}
	.day_night {font-size: .75rem; top:-1rem; right: auto; left: -1rem;}
	.day_night em {display: none}
	a.resToggle em {display: none;}
	a.resToggle span {width: 1.5rem; height: .2rem;margin: .6rem 0; }
a.resToggle span:before {width: 1.5rem; height: .2rem;margin-top: -.4rem;}
a.resToggle span:after {width: 1.5rem; height: .2rem; margin-top: .4rem;}
 .the-nav { top: 2.8rem; }
.contact_info {width: 100%;}
.contact_form {width: 100%;}
	.submit {font-size: 1.125rem; padding: .5rem 1.5rem;}
.event_button {padding: .5rem 1rem;}
.login_ico{position: fixed; top: 0px; left:0; z-index: 10; width: 67px; font-family: 'Philosopher', sans-serif; font-size: .889rem; background: #20c4ce; padding: .5rem 0.2rem; -webkit-box-shadow: 0 0 3px 0 rgba(0,0,0,.5);
box-shadow: 0 0 3px 0 rgba(0,0,0,.5); text-align:center;} 
.login_ico a.basketunum {display:none;}

.page .gift_box { padding:.5rem;}
.page .gift_box a div:first-of-type { margin-top:0 !important}
.cookiesText p {
width:90%;
padding-left:1%;
padding-right:1%;
}
.cookiesbutton {
    position:absolute;
    top: 45px;
    left:360px;
 }
.page .team_box{width:48%} 
}


@media only screen and (max-width:560px) {
.event_box {width: 100%; margin-left: 0; margin-top: 6rem; padding: 1.5rem}
.event_box:first-of-type {margin-left: 0}
.event_box:nth-of-type(2) {margin-top: 6rem}   
.day_night {position: absolute; z-index: 4; text-align: center; text-transform: uppercase; font-size: .667rem; top: -5.5rem; right: 2rem; left: auto; color: #ffffff;}
.event_box a img {width: 100%; max-width: 100%; position: relative; z-index: 2; margin: -6rem 0 1rem 0}
	.video_content {margin-top: 3rem}
.all_events { font-size:1rem;}
	.page .event_box {width: 100%; margin-left: 0}
.page .event_box:nth-of-type(3n+1) {margin-left: 0}
.page .event_box:nth-of-type(2n+1) {margin-left: 0} 
.login_ico{width:81px}
.basket-table.table-vaucher tr td, .people-data tr td { width:100% !important; display:inline-block; padding:1rem 0 !important}
}

@media only screen and (max-width:500px) {
	.checkout_steps a, .checkout_steps span { width:100%;}
    .login_ico{position: fixed; top: 0px; left:0px; z-index: 10; width: 67px; font-family: 'Philosopher', sans-serif; font-size: .889rem; background: #20c4ce; padding: .5rem 0.2rem; -webkit-box-shadow: 0 0 3px 0 rgba(0,0,0,.5);}
  .login_ico a.basketunum {display:none;}  
  .event_box_pages {float: right; margin-right: 60%; margin-left: 10px;} 
  .page .event_box_pages.col2 {width:100%;float:left}
  .page .event_box_pages p.video {position: relative; padding-bottom: 80% !important; height: 0; overflow: hidden; display:block; margin:-6rem 0 1rem 0 !important; width: 100%; max-width: 100%;}
.page .event_box_pages p.video iframe,  
.page .event_box_pages p.video object,  
.page .event_box_pages p.video embed {position: absolute; top: 80px;	left: 0; width: 100%; height: 70%;}
 .page .team_box{width:100%} 
}

@media only screen and (max-width:470px) {
.by_month { width:100%;float:right;}
.by_event { width:100%; float:right; padding-right:0}
  .gift_image {display:none;}
  #cookiesPrivacy {
    background: #ffffff;
    height: 140px;
    width:100%;
    position: relative;
    top: 0;
    z-index: 99;
    border-bottom: 1px solid;

}

.cookiesText {
width:85%;

}
.cookiesText p {
width:100%;
padding:2%;
}

.cookiesbutton {
    position:absolute;
    top: 95px;
    left:45px;
 }
}

@media only screen and (max-width: 400px) {
	.news_box a img {max-width: 100px;}
	.news_box p.date {padding-top: 0rem; clear: both; display: block}
	.page img {max-width: 100%; margin-left: 0}
	
	.event_description { margin-left: 0; width: 100%;}
	.participate .event_button {display: block; margin-top: 1rem; margin-bottom: 1rem; margin-left: 0; text-align: center}
	.event_description img {margin-right: 0 !important}
	.page.event_inner .event_description h3 { padding-left: 0; padding-top: 2rem}
	.basket-table tr td {width:100%; }
	.basket-table tr td strong, .basket-table tr td input {float: right}
  .login_ico{position: fixed; top: 0px; left:0px; z-index: 10; width: 67px; font-family: 'Philosopher', sans-serif; font-size: .889rem; background: #20c4ce; padding: .5rem 0.2rem; -webkit-box-shadow: 0 0 3px 0 rgba(0,0,0,.5);}
  .login_ico a.basketunum {display:none;}
}
