/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */



html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}


	
	
img {max-width:100%;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
#body
{
	width:100%;}


#mainwrap {
	display:block;
	max-width:1280px;
	background-color:#93a6c3;
	margin:auto;
	height:auto;}

#header {
	display:block;
	width:100%;
	}

hr {height: 2px;
    background-color:blue;
    border:none
}

#calendar{
	display:inline-block;
	width:100%;
	background-color:#FEE0E9;
	}
	#calendar24{
	display:block;
	width:auto;
	background-color:#8c88ba;
		margin: auto;
		padding: 3em;
	}
#calendar25{
	display:block;
	width:auto;
	background-color:lightsteelblue;
		margin: auto;
		padding: 3em;
	}
#calendar, #calendar24, #calendar25 h2{
	padding:1em;}

#calendar25 .monthbox{
	background-color:aliceblue;
}
	
#footer{
	display:block;
	width:100%;
	background-color:#FEE0E9;}	
	
.banner {
	display:block;
	width:90%;
	margin:auto;
	
	}	
	
.crimson {
	color: crimson;
	display: inline;
	
}
.crimson2 {
	color: crimson;
	display: inline;
	font-size: 1.5em;
	
}
	
	.introtext {
		border:thick solid #d3e6f2;
		border-radius: 25px;
		display:inline-block;
		font-size:1em;
		width:100%;
		padding:.3em;
		margin:auto;
		margin-top:.3em;
		box-sizing: border-box;}
		
		.jean {
		border:thick solid #63F;
		border-radius: 25px;
		display:inline-block;
		color:#000;
		font-size:larger;
		width:100%;
		padding:.3em;
		margin:auto;
		margin-top:.3em;
		box-sizing: border-box;}
		
		.announce {
		border:thick solid #63F;
		border-radius: 25px;
		display:inline-block;
		color:#000;
		background-color:#ECF0FF;
		font-size:larger;
		width:100%;
		padding:.3em;
		margin:auto;
		margin-top:.3em;
		box-sizing: border-box;}

.about {
	border:thick solid #443865;
		border-radius: 25px;
	display:block;
	width:100%;
	padding:.1em;
	background-color:#fff;
	margin-top:.3em;
	box-sizing: border-box;
	}

.monthbox {
	display:inline-block;
	font-size:.8em;
	width:43%;
	padding:1em;
	margin:auto;
	border:black thin solid;
	background-color:#C9D3C5;}
	

	
.monthbox td {
	padding:.2em;}	

	.tabletext {
	background-color:#FCC9DE;
	font-weight:bold;
}

.tabletext2 {
	background-color:#D5B3FB;
	font-weight:bold;
}

.headline{
	font-size:3em;
	}
.infobox {
	display:inline-block;
	vertical-align:top;
	width:47%;
	padding:1%;
	margin:1%;
	border:black medium solid;
	background-color:#FFF;
	box-sizing: border-box;
}

.left {
	
	float:left;}
	
	.right{
		float:right;}
.centre {
	text-align: center;
}


.linkbox {
	background-image:url(../images/butterfly_logo.gif);
	background-position:right;
	background-repeat:no-repeat;
	display:inline-block;
	vertical-align:top;
	width:42%;
	padding:1em;
	margin:1%;
	border:black medium solid;
	background-color:#FFF;
}

.linkbox ul{
	list-style:none;}

.musicbox {
	display:inline-block;
	vertical-align:top;
	width:42%;
	padding:1em;
	margin:1%;
	border:black medium solid;
	background-image:url(../images/artrix4.gif);
	background-position:top left;
	background-repeat:repeat;
	
}

.eventbox {
	background-color:#FFF;
	border:#465697 thick solid;
	border-radius: 25px;
	color:#465697;
	display:flex;
	flex-direction:row;
	flex-wrap:wrap;
	 justify-content:center;
	 height:100%;
	width:100%;
	padding:.5em;
	box-sizing: border-box;
	}
	
.eventbox iframe {
	display:block;
	max-width:95%;
	padding:.3em;
	margin: auto;
	}	
	
	.eventbox h1
	{float:left;}
	
	.eventboxplus {
	background-color:lavenderblush;
	border:purple thick solid;
	border-radius: 25px;
	font-size:1em;
	color:black;
	display:block;
	flex-direction:row;
	flex-wrap:wrap;
	 justify-content:center;
	 height:100%;
	width:100%;
	padding:.4em;
	box-sizing: border-box;
	}
	.introduction {
	background-color:#FFF;
	border:#465697 thick solid;
	border-radius: 25px;
	color:#465697;
	display:flex;
	flex-direction:row;
	flex-wrap:wrap;
	 justify-content:center;
	 height:auto;
	width:100%;
	padding:.1em;
	box-sizing: border-box;
	}



.videobox {
	background-color:#FFF;
	border:#465697 thick solid;
	border-radius: 25px;
	color:#465697;
	display:flex;
	flex-direction:row;
	flex-wrap:wrap;
	 justify-content:center;
	 height:auto;
	width:100%;
	padding:.1em;
	box-sizing: border-box;
	}
	
 .infobox iframe	{
	display:block;
	max-width:95%;
	padding:.3em;
	margin: auto;
	}	
	
	.danceout {
		
	  background: rgb(2,0,36);
background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(199,58,172,0.33655469023546913) 0%, rgba(40,8,247,0) 100%); 
	}
	
	
	figure{
		
		
		}
	
	figcaption{
	display:block;
		text-align: center;
		margin:auto;
	padding-left:.5em;
	padding-bottom:.3em;
	}
		
		
.photo {
	display:inline-block;
	padding:.1em;
	padding-bottom:.3em;
	}
	
	.photomid {
	display:inline-block;
	margin:auto;
	padding:.1em;
	padding-bottom:.3em;
	vertical-align:top;
	height:auto;
	}
	
	.photomid p {
		text-align:center;}
	
	.floto {
	display:block;
	box-sizing: border-box;
	padding:.3em;
	float:left;
	}
	.stayleft{
		display:block;
		position:relative;
		left:1 em;}
	
	.flotort {
	display:block;
	padding:.1em;
	padding-bottom:.3em;
	float:right;}
	  
	.textstyle1 {
	color:#F00;
}
.textbox1{
	
	display:block;
	width:600px;
	padding:1em;
	padding-bottom:.3em;
	background-color:#DEE6FE;
	
	}
	
	.textbox1 iframe{
	float:left;	
	}

.textbox2{
	
	display:block;
	width:90%;
	padding:1em;
	padding-bottom:.3em;
	
	
	}

.tasternote {
	display:block;
	width:99%;
	background-color:#FFF;
	padding:.5em;}

.openeve {
background-color:#ffd3ad;	
}
	
	





/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-device-width : 600px)  {
   .musicbox, .linkbox {width:86%;}
   .eventbox,.eventboxplus,.introduction,.about,.infobox{width:100%;}
	.monthbox {display:block;
	width:inherit;}
	 
	}




@media only screen and (max-width: 35em) {
  
}




@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }
	
	
	
	

	

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
