@media (max-width: 800px) {


.site-search button {
    position: absolute;
    font-size: 24px;
    right: -13px;
    background: white;
    border: none;
    top: 0px;
    padding: 3px;
    height: 41px;
color:black;
}

	div#topSocials {
    color: white;
    text-decoration: none;
    margin: auto;
    position: relative;
    clear: both;
}
	.setStyle {padding:20px}
.setStyle.homeTop {padding:10px;}
.setStyle.homeFour {padding:10px;}

#banner {display:block;contain: layout;}
 .readingBit {box-sizing: border-box;}
    
    .theText {
    display: block;
}

    	body {font-size: 18px !important;}
	
	#infoot pre {text-align: center !important;}
	
	.logo {width: 75% !important;/* max-width: 115px; */float: left;margin-right: 20px;}
	
	.FloatLeft, .FloatRight {float:none; width:100%;}
 	#cssmenu
	{bottom: auto;top: 120px;}
	.tooltip{position:relative;float: left;left: -20px;top: 19px;} 
	
	
	.setStyle > div > div {width:90%; clear:both; }  
    .setStyle > div   {display: block !important;}
        
    
   
    
    
	.pp {width: 85% !important;}
	.formBit input {/* float:left; *//* margin-bottom: 20px; */position: relative;font-size: 19px;} 
#threeFooter div,#threeFooter div:first-child,#threeFooter div:last-child{width:90%;    
margin:auto;    
text-align:center!important;    
float:none!important;
	}    
    
    
#threeFooter div{font-size:12px!important;}    
	
    
     .caption {
  
  font-size:22px;
  
opacity: 1;
}
    
  

.course-dates li.header { display:none; }
  .course-dates li {
    display:block;
    padding:14px;
    background:#f7f7f7;
  }
  .course-dates li > span,
  .course-dates li > a { flex:none; max-width:none; }

  /* top line: big date, extras under it */
  .course-dates .date { margin-bottom:8px; }
  .course-dates .date .extras { display:block; margin-top:2px; font-size:.9rem; color:#666; }

  /* labelled rows */
  .course-dates .time,
  .course-dates .price,
  .course-dates .spaces {
    display:flex; justify-content:space-between; gap:12px;
    padding:8px 0; border-top:1px solid #e7e7e7;
  }
  .course-dates .time::before { content:"Time"; font-weight:600; color:#444; }
  .course-dates .price::before { content:"Price per person"; font-weight:600; color:#444; }
  .course-dates .spaces::before { content:"Spaces"; font-weight:600; color:#444; }

  /* buttons full-width, stacked */
  .course-dates .actions {display:flex;flex-direction: unset;gap:10px;margin-top:12px;justify-content: space-between;}
  .course-dates .actions .btn {/* width:100%; */padding: 7px;text-decoration: none;border-radius: 12px;border: 2px solid #afdcb7;background: #afdcb7;color: black;}

  /* if you still have a single .book link instead of .actions */
  .course-dates .book.btn { display:block; width:100%; margin-top:12px; text-align:center; }

    
}


@media (max-width: 600px) {
 
   .setStyle > div > div {display: block;width: auto;}   
  
}

/* gallery styles */


@media (max-width: 1024px) {
    #galBoxes div {
        flex: 1 1 calc(33% - 10px);
        max-width: calc(33% - 10px);
    }
}

@media (max-width: 768px) {
    #galBoxes div {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    #galBoxes div {
        flex: 1 1 calc(100% - 10px);
        max-width: calc(100% - 10px);
    }
}