.empty_slide_container {height: 50px;}

.gallery {display: block; float: left; }

.extra-wrap h6 {font-size: 16px;}

.img-gallery {margin-top: 20px;}

.img-gallery img {border: 1px solid #dddddd; padding: 2px; margin-right: 5px; max-height: 160px;}

.backToGallery { float: right;}

figure.date { display: block; float: left; margin-right: 10px; text-align: center; width: 80px; margin-bottom: 10px;}
figure.date span {font-size:32px; color: #ffa200; display: block; text-align: center; }
figure.date span.time {font-size: 16px; margin-top:10px;}
figure.date span.day {font-size: 16px; margin-bottom: 10px;}
figure.date span.fulldate {font-size: 16px; color: #ffa200; display: block; text-align: center; font-weight: bold;}

h3 span.date {color: #ffa200; margin-right: 20px;}
.text-center {text-align: center;}
.file {margin-bottom: 10px;}

table.contact td,table.contact th {text-align: left; padding: 5px; vertical-align: top;}

a.smalllink {text-align: right; font-size: 14px; color: #ffa200; text-transform: none;}
.text-right {text-align: right;}

h3 {margin-bottom: 10px;}

h2
{
	font: bold 22px "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #1f9fba;
	text-transform: uppercase;
	letter-spacing: -1px;
	border-bottom: 1px solid #1f9fba;
	margin-bottom: 10px;
	padding-bottom: 5px;
}

.classroomsphoto { position: relative; overflow: hidden; width: 279px; height: 112px;}
.classroomsphoto img {
    position: absolute;
    top: -9999px;
    bottom: -9999px;
    left: -9999px;
    right: -9999px;
    margin: auto;
}

#banner {max-width: 950px; height: 300px; position: relative; overflow: hidden;}
#banner img {
    position: absolute;
    top: -9999px;
    bottom: -9999px;
    left: -9999px;
    right: -9999px;
    margin: auto;
}

.classroom-item {margin-right: 10px !important;}

.class-events h3 {color: #ffa200; font-size: 22px;}

.bg-color2 p a {color: #fff; text-decoration: underline; }

.news-title {font-size: 16px; margin-bottom: 5px; display:inline-block;}

#flashmessage {
	width: 92%;
	width: calc(100% - 30px);
	max-width: 450px;
	margin: auto;
	display: block; 
}

#flashmessage .message {
	width: auto;
	min-height: 40px;
	padding: 10px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
	display: block;
	margin: 15px auto;
	position: relative;
}

#flashmessage .message.chyba {
	background: #e4284b;
}

#flashmessage .message.info {
	background: #1d64f0;
}

#flashmessage .message.ok {
	background: #06cb0d;
}

#flashmessage .message p, #main .wrap #content #flashmessage .message p, #main .wrap #flashmessage .message p {
	margin: 10px 10px 10px 55px;
	display: block;
	color: #ffffff;
	font-size: 13px;
}

#flashmessage .message:before {
	content: '';
	display: inline-block;
	width: 40px;
	height: 40px;
	top: 50%;
	left: 10px;
	margin-top: -20px;
	position: absolute;
}

#flashmessage .message.chyba:before {
	background: url('../images/flash-message-chyba.png') no-repeat center 0;
}

#flashmessage .message.info:before {
	background: url('../images/flash-message-info.png') no-repeat center 0;
}

#flashmessage .message.ok:before {
	background: url('../images/flash-message-ok.png') no-repeat center 0;
}