/*#body{ padding-left:0; padding-right:0; background-color:#FFF; background-color: rgba(255,  255,  255,  0.6);}*/
#header{position:relative;}

#header p#suff-1{
	padding				: 15px 0px 0px 140px;
	letter-spacing		: 2px;
	font-weight			: bold;
	font-size			: 19px;
}
#btn-hala {
	position:absolute;
	top:40px; right:0px;
	letter-spacing		: 2px;
	font-weight			: bold;
	}
@media (max-width: 767px) {
	#btn-hala {
	position:relative;}
}
#btn-hala a{
	font-size			: 22px!important;
	margin-right:0!important;
	padding:5px 15px!important;
	}
#vyroci {
	padding				: 15px 0px 0px 687px;
	letter-spacing		: 2px;
	font-weight			: bold;
	font-size			: 18px;
	}

#upozorneni .up_body a{
	color				: #fff;
	text-decoration:underline;
}
#upozorneni .up_body a:hover{
	color				: #83ABA1;
	text-decoration:none;
}
 
/*#text a.galleryItem { display:block;position:relative; float:left; width:190px;_width:210px;  height:143px;_height:163px;  text-align:center; overflow:hidden; margin:5px 2px 5px 2px; padding:9px; background-color:#eaeaea;}
#text a.galleryItem img{ max-width:190px; max-height:143px; background-color:transparent; padding:0; margin:0px auto;border:1px solid #999;}*/

#text a.galleryItem { display:block;position:relative; float:left; width:208px;_width:210px;  height:161px;_height:163px;  text-align:center; overflow:hidden; margin:5px 2px 5px 2px; padding:0px; /*background-color:#eaeaea;*/}
#text a.galleryItem img{ max-width:208px; max-height:161px; background-color:transparent; padding:0; margin:0px auto;border:1px solid #999;}

/*#container { background-color:rgba(255, 255, 255, .5);}*/
/*#info { margin-top:0px;}*/

.perex { /*line-height: 20px;padding: 6px 0;text-align: justify; */font-size:15px; font-weight:600;}

#zrizovatel {
	margin				: 20px 0 20px 0;
}

#vitrualni_prohlidka {
	margin				: 20px 0 20px 0;
}

#vitrualni_prohlidka .main_content{
	padding:10px 0px 7px 0px!important;
}
#vitrualni_prohlidka a.play {
	display:block; width:100%; height:100%; position:relative;
}
#vitrualni_prohlidka a.play span{
	 position:absolute; top:0px; left:0px;display:block; width:100%; height:100%; background:url(../img/ico-play.png) 50% 50% no-repeat;
}
#vitrualni_prohlidka a.play:hover span{
	background:url(../img/ico-play-active.png) 50% 50% no-repeat;
}

#hala {
	margin: 20px 0 20px 0;
	position:relative;
}
#hala .main_content{
	padding:0px!important;
}
#hala a.play {
	/*display:block; width:100%; height:100%; position:relative;*/
}
#hala a.play span{
	 position:absolute; top:46%; left:50%; margin-left:-100px;display:inline-block; width:200px; height:24px; z-index:50; font-size:16px; text-align:center;
}

/* oceneni na hp */
#awards{
	margin				: 20px 0px 20px 0px;
}
#awards .main_content{
	padding				: 1px 10px 1px 10px;
}
#awards .title{
	margin-top			: 15px;
	display: block; overflow: hidden;
}
#awards .title a{
	display				: block;
	font-size			: 14px;
	color				: #225172;
}
#awards .title a:hover{
	text-decoration		: none;
}
#awards table{ border:none;}
#awards table td{ padding:0 0 5px 0; text-align:center; border-color:#fbfbfb;}
#awards table td img { border:none;}
.w50proc { width:50%!important;}
.vAmiddle { vertical-align:middle!important;}

/* konec oceneni na hp */

/* slick-slider */
.slider { background:#FFF;}
.slick-prev, .slick-next {
	background: url('fancybox_sprite.png') 0 0 no-repeat;
	display:block;
	width:36px;
	height:36px;
	line-height:36px;
}

.slick-prev {
	left: -35px;
	background-position: 0 -36px;
}

.slick-next {
	right: -35px;
	background-position: 0 -72px;
}

.slick-prev:before,
.slick-next:before
{ content:"";}

.slick-dots
{
    bottom: -20px;
		background:#FFF;
		display:none!important;
}


/* Objednavkovy formular */
#divSendForm {margin:0; padding:0; }
#sendM, #sendToTeacher {margin:0; padding:0;}
#sendM fieldset, #sendToTeacher fieldset{ border:none; padding:0; margin:0;}
#sendM label, #sendToTeacher label{ padding:0; margin:0 5px 0 0; width:60px; display:inline-block;}
#sendM input, #sendToTeacher input, #sendM textarea, #sendToTeacher textarea { width:200px; border:1px solid #225172; font:14px  Arial, Helvetica, sans-serif; padding:2px 5px; margin:0; background:#fff; color:#225172; }
#sendM textarea, #sendToTeacher textarea { width:505px; }
#sendM input.inputMandatory, #sendToTeacher input.inputMandatory, #sendM textarea.inputMandatory, #sendToTeacher textarea.inputMandatory { border:1px solid #009DDF; background: #ffffff; color:#000; }
#sendM input.button, #sendToTeacher input.button{color:#fff; cursor:pointer; background: #225172; font:12px Arial, Helvetica, sans-serif; font-weight:bold; border:0; margin:0; padding:3px 10px; margin-left:70px; float:left; width:auto;transition: 300ms;}
#sendM input.button:hover, #sendToTeacher input.button:hover{ background: #36A4CD; transition: 300ms;}

.vTop { vertical-align:top!important;}
.mL20 { margin-left:20px!important;}
.error, .errorA {border:1px solid #F00!important; background-color: #FFC4C5!important; color:#000!important;}

#box_info_message {background-color:#DFF0D8; border:1px solid #D6E9C6; padding:7px 20px; clear:both; color:#3C763D;}

.newsArchive { padding-top:10px;}
.newsArchive select{  width:150px; border:1px solid #225172; font:13px  Arial, Helvetica, sans-serif; padding:2px 5px; margin:0; background:#fff; color:#225172;}


/* */
.btn, #text a.btn {
	font-size			: 13px;
	line-height:1.4;
	padding: 1px 10px 4px 10px;
	margin:10px 20px 10px 0px;
	display:inline-block;
	font-weight			: bold;
	color				: #fff;
	background: #44b8e2; /* Old browsers */
	background: -moz-linear-gradient(top,  #44b8e2 0%, #34a2ca 99%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#44b8e2), color-stop(99%,#34a2ca)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #44b8e2 0%,#34a2ca 99%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #44b8e2 0%,#34a2ca 99%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #44b8e2 0%,#34a2ca 99%); /* IE10+ */
	background: linear-gradient(to bottom,  #44b8e2 0%,#34a2ca 99%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#44b8e2', endColorstr='#34a2ca',GradientType=0 ); /* IE6-9 */
	border				: none;
	text-decoration:none;
	}
.btn:hover, #text a.btn:hover{
	color				: #fff;
	background: #34a2ca; /* Old browsers */
	background: -moz-linear-gradient(top,  #34a2ca 0%, #44b8e2 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#34a2ca), color-stop(100%,#44b8e2)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #34a2ca 0%,#44b8e2 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #34a2ca 0%,#44b8e2 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #34a2ca 0%,#44b8e2 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #34a2ca 0%,#44b8e2 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#34a2ca', endColorstr='#44b8e2',GradientType=0 ); /* IE6-8 */
	border				: none;
	text-decoration:none;
}
.btnOlder {}
.btnClose { background:#B70409;transition: 300ms;}
.btnClose:hover { background: #E82429; transition: 300ms;}

#aktuality .item .body img {  max-width:220px; overflow:hidden;}


/* aktuality ve obsahove strance */

.articleAndPageBox .title a{
	color				: #225172;
	font-size			: 15px;
	font-weight			: bold;
}
.articleAndPageBox .title a:hover{
	text-decoration		: none;
}
.articleAndPageBox .main_content{
	padding				: 1px 10px 20px;
}
.articleAndPageBox .info{
	font-size			: 11px;
	color				: #777;
}
.articleAndPageBox .item{
	margin				: 20px 0 0 0;
	padding-left		: 10px;
	border-left			: 1px solid #ccc;
}
.articleAndPageBox .item:hover{
	border-left			: 1px solid #333;
	background			: #f8f8f8;
}
.articleAndPageBox .item .body{
	margin				: 8px 0 10px;
}
.articleAndPageBox .item .body p{
	padding-right		: 10px;
	color				: #666;
}
.articleAndPageBox .item .body img{
	float				: left;
	margin				: 0 10px 0 0;
	padding				: 1px;
	height				: 150px;
	border				: 1px solid #ccc;
	-webkit-box-shadow	:  3px 3px 4px -2px #ccc;
	-moz-box-shadow		:  3px 3px 4px -2px #ccc;
	box-shadow			:  4px 4px 4px -3px #ccc;
}



/* multicol */
ul.multicol2 {
	line-height: 1.5;
	-moz-column-count: 2; -moz-column-gap: 2em;
	-webkit-column-count: 2; -webkit-column-gap: 2em;
	column-count: 2; column-gap: 2em;
}

/*ul.multicol2 li { float: left; font-weight: 600; }

ul.multicol2 li { 
	display: block;
	margin-left: 140px;
	-moz-column-break-before: avoid;
	-webkit-column-break-before: avoid;
	break-before: avoid;
}*/

.fancybox-inner h2 { border-bottom: 1px solid #ccc; color: #225172;font-size: 1.2em;font-weight: bold;text-decoration: none; margin:5px 0px 5px 0px;}
.fancybox-inner p { padding:6px 0px;}
.fancybox-inner a.btn { margin-top:0px; margin-right:65px; float:right;}
.fancybox-inner h2 .addressee { font-weight:500; font-size:120%; color:#0da4de;}


.heading-img { float:right; margin-left:20px;}
/* */
.hidden { visibility:hidden;}
.hide { display:none;}
.fLeft { float:left;}
.fRight { float:right;}

.clear { clear:both; width:auto; height:1px; font-size:1px;}

hr { clear:both;}

.errorMsg {background-color:#FCF8E3; border:1px solid #FAEBCC; padding:7px 20px; clear:both; color:#C5863B; margin:15px 0 10px 0; font-size:14px;}
.errorMsg strong{ font-size:16px;}


#left_cont #submenu ul li a.active,#left_cont #submenu ul li a.active:hover{
	color: #022f4f;
	background: #FAFAFA;
}
#left_cont #submenu ul ul li a.active,#left_cont #submenu ul ul li a.active:hover{
	background: url('../img/li_aktivni.png') 8px center no-repeat #fff;
	color: #777777;
}

.languageBox { position:absolute; top:2px; right:0px; width:150px; height:14px; text-align:right;}
.language { display:inline-block; width:16px; height:14px; overflow:hidden; font-size:10px; line-height:14px; text-align:center; position:relative; margin-left:5px; }
.language span{ display:block; width:16px; height:14px; overflow:hidden;  position:absolute; top:0px; left:0px; }
.cz span{ background:url(../img/flags.png) 0px 0px no-repeat;}
.en span{ background:url(../img/flags.png) -16px 0px no-repeat;}
.de span{ background:url(../img/flags.png) -32px 0px no-repeat;}
.fr span{ background:url(../img/flags.png) -48px 0px no-repeat;}



/* resp */

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
	vertical-align: middle;
}

@media (min-width: 1017px) {
	
	#text { width:640px;}
	#menu .submenu{	width: 960px;}
}

@media (max-width: 1016px) {
	#menu #item_1 { background: url(../img/bg-menu-item-1.png) 0 0 no-repeat;}
	#menu #item_2 { background: url(../img/bg-menu-item-2.png) 0 0 no-repeat;}
	#menu #item_3 { background: url(../img/bg-menu-item-3.png) 0 0 no-repeat;}
	#menu #item_4 { background: url(../img/bg-menu-item-4.png) 0 0 no-repeat;}
	#menu #item_5 { background: url(../img/bg-menu-item-5.png) 0 0 no-repeat;}
	#menu #item_6 { background: url(../img/bg-menu-item-6.png) 0 0 no-repeat;}
	#menu {background: none ;}
	#vyroci { padding-left:140px;}
	
	#text { float:left; width:95%;}
	#right_container { float: left;}
	.slick-next {right:0px;}
	.slick-prev {left:0px;}
	#nastenka { margin-top:20px;}
	#header p#name {  line-height: 30px;}
	
}
@media (max-width: 550px) {
	#left_container, #right_container, #left_cont { width:100%; max-width:100%;}
	
	#header p#name {  font-size: 22px; line-height:22px;}
	#header p#suff-1 { font-size: 15px;}

}










@-ms-viewport {
  width: device-width;
}
.visible-xs,
.visible-sm,
.visible-md,
.visible-lg {
  display: none !important;
}
.visible-xs-block,
.visible-xs-inline,
.visible-xs-inline-block,
.visible-sm-block,
.visible-sm-inline,
.visible-sm-inline-block,
.visible-md-block,
.visible-md-inline,
.visible-md-inline-block,
.visible-lg-block,
.visible-lg-inline,
.visible-lg-inline-block {
  display: none !important;
}
@media (max-width: 767px) {
  .visible-xs {
    display: block !important;
  }
  table.visible-xs {
    display: table !important;
  }
  tr.visible-xs {
    display: table-row !important;
  }
  th.visible-xs,
  td.visible-xs {
    display: table-cell !important;
  }
}
@media (max-width: 767px) {
  .visible-xs-block {
    display: block !important;
  }
}
@media (max-width: 767px) {
  .visible-xs-inline {
    display: inline !important;
  }
}
@media (max-width: 767px) {
  .visible-xs-inline-block {
    display: inline-block !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .visible-sm {
    display: block !important;
  }
  table.visible-sm {
    display: table !important;
  }
  tr.visible-sm {
    display: table-row !important;
  }
  th.visible-sm,
  td.visible-sm {
    display: table-cell !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .visible-sm-block {
    display: block !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .visible-sm-inline {
    display: inline !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .visible-sm-inline-block {
    display: inline-block !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .visible-md {
    display: block !important;
  }
  table.visible-md {
    display: table !important;
  }
  tr.visible-md {
    display: table-row !important;
  }
  th.visible-md,
  td.visible-md {
    display: table-cell !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .visible-md-block {
    display: block !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .visible-md-inline {
    display: inline !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .visible-md-inline-block {
    display: inline-block !important;
  }
}
@media (min-width: 1200px) {
  .visible-lg {
    display: block !important;
  }
  table.visible-lg {
    display: table !important;
  }
  tr.visible-lg {
    display: table-row !important;
  }
  th.visible-lg,
  td.visible-lg {
    display: table-cell !important;
  }
}
@media (min-width: 1200px) {
  .visible-lg-block {
    display: block !important;
  }
}
@media (min-width: 1200px) {
  .visible-lg-inline {
    display: inline !important;
  }
}
@media (min-width: 1200px) {
  .visible-lg-inline-block {
    display: inline-block !important;
  }
}
@media (max-width: 767px) {
  .hidden-xs {
    display: none !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .hidden-sm {
    display: none !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .hidden-md {
    display: none !important;
  }
}
@media (min-width: 1200px) {
  .hidden-lg {
    display: none !important;
  }
}
.visible-print {
  display: none !important;
}
@media print {
  .visible-print {
    display: block !important;
  }
  table.visible-print {
    display: table !important;
  }
  tr.visible-print {
    display: table-row !important;
  }
  th.visible-print,
  td.visible-print {
    display: table-cell !important;
  }
}
.visible-print-block {
  display: none !important;
}
@media print {
  .visible-print-block {
    display: block !important;
  }
}
.visible-print-inline {
  display: none !important;
}
@media print {
  .visible-print-inline {
    display: inline !important;
  }
}
.visible-print-inline-block {
  display: none !important;
}
@media print {
  .visible-print-inline-block {
    display: inline-block !important;
  }
}
@media print {
  .hidden-print {
    display: none !important;
  }
}


.searchresult{
	margin				: 20px 0 0 0;
	padding-left		: 10px;
	border-left			: 1px solid #ccc;
}
.searchresult:hover{
	border-left			: 1px solid #333;
	background			: #f8f8f8;
}

.searchresult h3 a{
	color				: #225172!important;
	font-size			: 15px;
	font-weight			: bold;
	padding-left:5px;
}
.searchresult h3 a:hover{
	text-decoration		: none;
}

.fulltextForm {
     text-align:right;
  }

@media (min-width: 768px) {
  .fulltextForm {
    position:absolute; top:105px; right:0px;
  }
}














.fade {
  opacity: 0;
  -webkit-transition: opacity .15s linear;
       -o-transition: opacity .15s linear;
          transition: opacity .15s linear;
}
.fade.in {
  opacity: 1;
}
.collapse {
  display: none;
}
.collapse.in {
  display: block;
}
tr.collapse.in {
  display: table-row;
}
tbody.collapse.in {
  display: table-row-group;
}
.collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  -webkit-transition-timing-function: ease;
       -o-transition-timing-function: ease;
          transition-timing-function: ease;
  -webkit-transition-duration: .35s;
       -o-transition-duration: .35s;
          transition-duration: .35s;
  -webkit-transition-property: height, visibility;
       -o-transition-property: height, visibility;
          transition-property: height, visibility;
}







.panel {
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid transparent;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
          box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}
.panel-body {
  padding: 15px;
}
.panel-heading {
  padding: 10px 15px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.panel-heading > .dropdown .dropdown-toggle {
  color: inherit;
}
.panel-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 16px;
  color: inherit;
}
.panel-title > a,
.panel-title > small,
.panel-title > .small,
.panel-title > small > a,
.panel-title > .small > a {
  color: inherit;
}
.panel-footer {
  padding: 10px 15px;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.panel > .list-group,
.panel > .panel-collapse > .list-group {
  margin-bottom: 0;
}
.panel > .list-group .list-group-item,
.panel > .panel-collapse > .list-group .list-group-item {
  border-width: 1px 0;
  border-radius: 0;
}
.panel > .list-group:first-child .list-group-item:first-child,
.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {
  border-top: 0;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.panel > .list-group:last-child .list-group-item:last-child,
.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {
  border-bottom: 0;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.panel-heading + .list-group .list-group-item:first-child {
  border-top-width: 0;
}
.list-group + .panel-footer {
  border-top-width: 0;
}
.panel > .table,
.panel > .table-responsive > .table,
.panel > .panel-collapse > .table {
  margin-bottom: 0;
}
.panel > .table caption,
.panel > .table-responsive > .table caption,
.panel > .panel-collapse > .table caption {
  padding-right: 15px;
  padding-left: 15px;
}
.panel > .table:first-child,
.panel > .table-responsive:first-child > .table:first-child {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.panel > .table:first-child > thead:first-child > tr:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.panel > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.panel > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {
  border-top-left-radius: 3px;
}
.panel > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.panel > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
  border-top-right-radius: 3px;
}
.panel > .table:last-child,
.panel > .table-responsive:last-child > .table:last-child {
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.panel > .table:last-child > tbody:last-child > tr:last-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
  border-bottom-left-radius: 3px;
}
.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
  border-bottom-right-radius: 3px;
}
.panel > .panel-body + .table,
.panel > .panel-body + .table-responsive,
.panel > .table + .panel-body,
.panel > .table-responsive + .panel-body {
  border-top: 1px solid #ddd;
}
.panel > .table > tbody:first-child > tr:first-child th,
.panel > .table > tbody:first-child > tr:first-child td {
  border-top: 0;
}
.panel > .table-bordered,
.panel > .table-responsive > .table-bordered {
  border: 0;
}
.panel > .table-bordered > thead > tr > th:first-child,
.panel > .table-responsive > .table-bordered > thead > tr > th:first-child,
.panel > .table-bordered > tbody > tr > th:first-child,
.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,
.panel > .table-bordered > tfoot > tr > th:first-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
.panel > .table-bordered > thead > tr > td:first-child,
.panel > .table-responsive > .table-bordered > thead > tr > td:first-child,
.panel > .table-bordered > tbody > tr > td:first-child,
.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,
.panel > .table-bordered > tfoot > tr > td:first-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {
  border-left: 0;
}
.panel > .table-bordered > thead > tr > th:last-child,
.panel > .table-responsive > .table-bordered > thead > tr > th:last-child,
.panel > .table-bordered > tbody > tr > th:last-child,
.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,
.panel > .table-bordered > tfoot > tr > th:last-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
.panel > .table-bordered > thead > tr > td:last-child,
.panel > .table-responsive > .table-bordered > thead > tr > td:last-child,
.panel > .table-bordered > tbody > tr > td:last-child,
.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,
.panel > .table-bordered > tfoot > tr > td:last-child,
.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {
  border-right: 0;
}
.panel > .table-bordered > thead > tr:first-child > td,
.panel > .table-responsive > .table-bordered > thead > tr:first-child > td,
.panel > .table-bordered > tbody > tr:first-child > td,
.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,
.panel > .table-bordered > thead > tr:first-child > th,
.panel > .table-responsive > .table-bordered > thead > tr:first-child > th,
.panel > .table-bordered > tbody > tr:first-child > th,
.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {
  border-bottom: 0;
}
.panel > .table-bordered > tbody > tr:last-child > td,
.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,
.panel > .table-bordered > tfoot > tr:last-child > td,
.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,
.panel > .table-bordered > tbody > tr:last-child > th,
.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,
.panel > .table-bordered > tfoot > tr:last-child > th,
.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
  border-bottom: 0;
}
.panel > .table-responsive {
  margin-bottom: 0;
  border: 0;
}
.panel-group {
  margin-bottom: 20px;
}
.panel-group .panel {
  margin-bottom: 0;
  border-radius: 4px;
}
.panel-group .panel + .panel {
  margin-top: 5px;
}
.panel-group .panel-heading {
  border-bottom: 0;
}
.panel-group .panel-heading + .panel-collapse > .panel-body,
.panel-group .panel-heading + .panel-collapse > .list-group {
  border-top: 1px solid #ddd;
}
.panel-group .panel-footer {
  border-top: 0;
}
.panel-group .panel-footer + .panel-collapse .panel-body {
  border-bottom: 1px solid #ddd;
}
.panel-default {
  border-color: #ddd;
}
.panel-default > .panel-heading {
  color: #333;
  background-color: #f5f5f5;
  border-color: #ddd;
}
.panel-default > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #ddd;
}
.panel-default > .panel-heading .badge {
  color: #f5f5f5;
  background-color: #333;
}
.panel-default > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #ddd;
}
.panel-primary {
  border-color: #337ab7;
}
.panel-primary > .panel-heading {
  color: #fff;
  background-color: #337ab7;
  border-color: #337ab7;
}
.panel-primary > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #337ab7;
}
.panel-primary > .panel-heading .badge {
  color: #337ab7;
  background-color: #fff;
}
.panel-primary > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #337ab7;
}
.panel-success {
  border-color: #d6e9c6;
}
.panel-success > .panel-heading {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}
.panel-success > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #d6e9c6;
}
.panel-success > .panel-heading .badge {
  color: #dff0d8;
  background-color: #3c763d;
}
.panel-success > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #d6e9c6;
}
.panel-info {
  border-color: #bce8f1;
}
.panel-info > .panel-heading {
  color: #31708f;
  background-color: #d9edf7;
  border-color: #bce8f1;
}
.panel-info > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #bce8f1;
}
.panel-info > .panel-heading .badge {
  color: #d9edf7;
  background-color: #31708f;
}
.panel-info > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #bce8f1;
}
.panel-warning {
  border-color: #faebcc;
}
.panel-warning > .panel-heading {
  color: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #faebcc;
}
.panel-warning > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #faebcc;
}
.panel-warning > .panel-heading .badge {
  color: #fcf8e3;
  background-color: #8a6d3b;
}
.panel-warning > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #faebcc;
}
.panel-danger {
  border-color: #ebccd1;
}
.panel-danger > .panel-heading {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}
.panel-danger > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #ebccd1;
}
.panel-danger > .panel-heading .badge {
  color: #f2dede;
  background-color: #a94442;
}
.panel-danger > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #ebccd1;
}

.panel-body:before,
.panel-body:after
 {
  display: table;
  content: " ";
}

.panel-body:after
 {
  clear: both;
}


#text h3.year, p.teacher  { cursor:pointer; text-decoration:underline;}
#text h3.year:hover, p.teacher:hover  { cursor:pointer; text-decoration:none;}
#text h3.year  { font-weight:bold; font-size:16px;}
p.teacher  { font-weight:bold;}

