/* !Format (Author: mail@jandousek.cz) */

.formatContent {
  font-size: 90%;
}

/*
  Nadpisy
  *******
*/

.formatContent h2,
.formatContent h3,
.formatContent h4 {
  color: #ff8700;
}
.formatContent h2 {
  margin-bottom: 35px;
  font-weight: 300;
  font-size: 277%;
}
.formatContent h3 {
  margin-bottom: 18px;
  font-size: 180%;
}
.formatContent h4 {
  margin-bottom: 15px;
  font-size: 152%;
}
.formatContent h5 {
  margin-bottom: 20px;
  font-weight: 300;
  font-size: 22px;
}

/*
  Jine typy
  ---------
*/

.formatContent h3.type2 {
  font-weight: 300;
  color: #4d4d4d;
}

/*
  Headline
  --------
*/

.formatContent .headline {
  margin-bottom: 30px;
}
.formatContent .headline h3 {
  text-transform: uppercase;
  font-size: 124%;
  color: #31231f;
}

/*
  Bloky
  *****
*/

.formatContent p,
.formatContent address {
  margin-bottom: 10px;
  line-height: 1.6;
}
.formatContent p.excerpt {
  margin-bottom: 45px;
  line-height: 1.45;
  font-size: 115%;
}

/*
  Obrazky
  *******
*/

.formatContent img {
  border: 10px solid #f3f2f2;
  border-radius: 5px;
}
.formatContent img.aligncenter {
  max-width: calc(100% - 20px);
  display: block;
  margin: 0 auto 21px auto;
}
.formatContent img.alignleft {
  max-width: 40%;
  float: left;
  margin: 6px 30px 30px 0;
}
.formatContent img.alignright {
  max-width: 40%;
  float: left;
  margin: 6px 0 30px 30px;
}

/*
  Galerie
  *******
*/

.formatContent .gallery {
	overflow: hidden;
	margin: 0 -10px 25px -10px;
	text-align: center;
}
.formatContent .gallery dl {
	width: 25%;
	float: left;
	margin-bottom: 25px;
}
.formatContent .gallery dl:nth-child(4n + 1) {
	clear: both;
}
.formatContent .gallery dl dt {
	height: 180px;
	position: relative;
	padding: 0;
	line-height: 1;
	margin: 0 10px 10px 10px;
	background-color: #f8f8f8;
	border: 1px solid #e5e5e5;
}
.formatContent .gallery dl dt a {
	width: 87%;
	height: 87%;
	position: absolute;
	left: 50%;
	top: 50%;
	display: block;
	overflow: hidden;
	margin: -43.5% 0 0 -43.5%;
	background-position: center center;
	background-repeat: no-repeat;

}
.formatContent .gallery dl dt a img {
	border: none;
	border-radius: 0;
	opacity: 0;
}
.formatContent .gallery dl dd {
	margin: 0 15px;
	line-height: 1.6;
}
.formatContent .gallery p,
.formatContent .gallery br {
	display: none;
}
.formatContent .gallery dl dd br {
	display: block;
}

/*
	Obrazkovy slider
	****************
*/

.formatContent .imgSlider {
  position: relative;
  margin-bottom: 53px;
}
.formatContent .imgSlider .slide {
  position: relative;
}

/*
  Slajd
  -----
*/

.formatContent .imgSlider img {
  width: 100%;
  width: calc(100% - 20px);
  display: block;
}

/*
  Popisek
  -------
*/

.formatContent .imgSlider .desc {
  position: absolute;
  right: 10px;
  bottom: 27px;
  z-index: 60;
  padding: 15px 20px 14px 21px;
  background-color: #262626;
  background-color: rgba(0,0,0,0.6);
  border-radius: 8px 0 0 8px;
  text-align: right;
  font-size: 16px;
  color: #fff;
}
.formatContent .imgSlider .desc strong {
  font-size: 140%;
  color: #ff6e05;
}


/*
  Strankovani
  -----------
*/

.formatContent .imgSlider .bx-pager {
  margin-top: 30px;
  text-align: center;
}
.formatContent .imgSlider .bx-pager div {
  display: inline-block;
  margin: 0 6px;
}
.formatContent .imgSlider .bx-pager div a {
  width: 14px;
  height: 14px;
  position: relative;
  overflow: hidden;
  display: block;
  background-color: #fff;
  border: 2px solid #f8f8f8;
  border-radius: 100%;
  text-indent: 200%;
}
.formatContent .imgSlider .bx-pager div a:after {
  content: '';
  width: 8px;
  height: 8px;
  position: absolute;
  left: 50%;
  top: 50%;
  display: none;
  margin: -4px 0 0 -4px;
  background-color: #ff8700;
  border-radius: 100%;
}

/* Stavy */

.formatContent .imgSlider .bx-pager div a:hover:after,
.formatContent .imgSlider .bx-pager div a.active:after {
  display: block;
}

/*
  Otevrit galerii
  ***************
*/

.formatContent .openGallery {
  display: inline-block;
  padding: 28px 23px 27px 70px;
  background: #f3f2f2 url('../../img/formartContent-openGallery.png') 25px center no-repeat;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 120%;
  margin-bottom: 20px;
}

.formatContent .openGallery:hover {
  border-color: #ff8e3c;
  color: #ff8e3c;
}

.hideGallery {
	visibility: hidden;
}

/*
	Seznamy
	*******
*/

.formatContent li {
	margin-bottom: 12px;
	line-height: 1.45;
}
.formatContent ul {
	margin-bottom: 25px;
}
.formatContent ol {
	margin: 0 0 25px 14px;
}
.formatContent ul > li {
	padding-left: 15px;
	background: url('../../img/formatContent-ul-li.png') left 5px no-repeat;
}
.formatContent ol > li {
	list-style: decimal;
}
.formatContent li > ul {
	margin: 10px 0 10px 20px;
}
.formatContent li > ol {
	margin: 10px 0 10px 35px;
}

/*
  Tabulky
  *******
*/

.formatContent table {
  width: 100%;
  margin-bottom: 45px;
}
.formatContent table th,
.formatContent table td {
  padding: 15px 20px 17px 19px;
  line-height: 1.4;
}
.formatContent table thead th,
.formatContent table thead td {
  background-color: #fe8202;
  border-right: 1px solid #fea84e;
  text-transform: uppercase;
  font-size: 105%;
  color: #fff;
}
.formatContent table tbody th,
.formatContent table tbody td {
  background-color: #fbfbfb;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.formatContent table tbody tr:nth-child(even) th,
.formatContent table tbody tr:nth-child(even) td {
  background-color: #f3f2f2;
}

/*
  Respo
  -----
*/

.formatContent .tableWrap {
  max-width: 100%;
  overflow-x: auto;
  margin-bottom: 30px;
}
.formatContent .tableWrap table {
  margin-bottom: 10px;
}

/*
  Zjednodusena tabulka
  ********************
*/

.formatContent table.simpleTable {
  margin-bottom: 50px;
  border-top: 1px solid #f3f2f2;
  font-size: 105%;
}
.formatContent table.simpleTable thead th,
.formatContent table.simpleTable thead td,
.formatContent table.simpleTable tbody th,
.formatContent table.simpleTable tbody td {
  padding: 15px 15px 15px 5px;
  background-color: transparent !important;
  border: none;
  border-bottom: 1px solid #f3f2f2;
}
.formatContent table.simpleTable th {
  text-align: right;
  font-weight: normal;
}
.formatContent table.simpleTable td {
  font-weight: bold;
}

/*
  Vypis kurzu
  ***********
*/

.formatContent .coursesList {
  margin-bottom: 20px;
}
.formatContent .coursesList * {
  margin: 0;
  padding: 0;
  line-height: 100%;
  font-size: 100%;
}

/*
  Polozky
  -------
*/

.formatContent .coursesList .item {
  overflow: hidden;
  margin-bottom: 10px;
  padding: 0;
  background: transparent;
  border: 1px solid #dcdada;
  border-radius: 8px;
  text-align: right;
  font-size: 0%;
}

/*
  Obsah hromadne
*/

.formatContent .coursesList .item .head,
.formatContent .coursesList .item .level,
.formatContent .coursesList .item .price {
  display: inline-block;
  vertical-align: middle;
  font-size: 14px;
}
.formatContent .coursesList .inset {
  padding: 0 20px;
}

/*
  Hlavicka
  --------
*/

.formatContent .coursesList .item .head {
  width: 48%;
  text-align: left;
}
.formatContent .coursesList .item .head h3 {
  margin-bottom: 2px;
  font-size: 24px;
}
.formatContent .coursesList .item .head h3 a {
  display: inline-block;
  border-bottom: 1px solid transparent;
  line-height: 1 !important;
  text-decoration: none;
}
.formatContent .coursesList .item .head h3 a:hover {
  border-bottom-color: #ffdbc0;
  color: #ff6e05;
}
.formatContent .coursesList .item .head p {
  line-height: 1.5;
  font-size: 15px;
}

/*
  Uroven
  ------
*/

.formatContent .coursesList .item .level {
  width: 35%;
  padding: 34px 0 32px 0;
  background-color: #f3f2f2;
  text-align: center;
}

/*
  Cena
  ----
*/

.formatContent .coursesList .item .price {
  width: 17%;
  text-align: center;
  font-size: 22px;
  color: #ff6e05;
}

/* Stavy */

.formatContent .coursesList .item:hover {
  box-shadow: 0 1px 5px #e9e9e9;
}

/*
  Vypis clanku
  ************
*/


.formatContent .post {
  overflow: hidden;
  margin-bottom: 29px;
  padding: 0 0 20px 1px;
  border-bottom: 1px solid #f3f2f2;
}
.formatContent .post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/*
  Nahled
*/

.formatContent .post img {
  float: left;
  margin: 0 24px 10px 0;
  border: 10px solid #f4f3f3;
  border-radius: 100%;
}

/*
  Popisek
*/

.formatContent .post .desc {
  margin-left: 120px;
}

/*
  Texty
*/

.formatContent .post h3 {
  margin-bottom: 10px;
  font-size: 164%;
}
.formatContent .post h3 time {
  display: inline;
}
.formatContent .post h3 a {
  text-decoration: none;
}
.formatContent .post p {
  line-height: 1.45;
}

/* Stavy */

.formatContent .post:hover img {
  border-color: #dedede;
}

/*
  Jednoduche strankovani
  **********************
*/

.formatContent .simplePager {
  overflow: hidden;
  margin-bottom: 30px;
  font-weight: bold;
  font-size: 110%;
}
.formatContent .simplePager a {
  padding: 10px 20px;
  border: 1px solid #dcdada;
  border-radius: 6px;
  text-decoration: none;
  color: #4d4d4d;
}
.formatContent .simplePager a:first-child {
  float: left;
}
.formatContent .simplePager a:last-child {
  float: right;
}

/* Stavy */

.formatContent .simplePager a:hover {
  background-color: #ff6e05;
  border-color: #ff6e05;
  color: #fff;
}

/*
  Cenovy box
  **********
*/

.formatContent .priceBox {
  overflow: hidden;
  background-color: #ff6e05;
  border-radius: 8px;
  font-weight: bold;
  font-size: 160%;
  color: #fff;
  margin: auto;
  width: 50%;
}

/*
  Obsah
  -----
*/

.formatContent .priceBox p,
.formatContent .priceBox a {
  float: left;
  padding: 27px 0 24px 0;
}
.formatContent .priceBox p {
  width: 66%;
  margin: 0;
  line-height: 1;
  text-indent: 27px;
  background-color: white;
  color: #ff6e05;
  border-style: solid;
  border-width: 1px;
  border-radius: 8px 0 0 8px;
  border-right-style: none;
  box-sizing: border-box;
}
.formatContent .priceBox a {
  width: 34%;
  line-height: 1.1;
  box-shadow: inset 1px 0 0 #ff8b37;
  text-align: center;
  text-decoration: none;
  color: #fff;
  float: left;
  padding: 27px 0 24px 0;
}

/* Stavy */

.formatContent .priceBox a:hover {
  background-color: #333;
  color: #fff;
}

/*
  Multisloupce
  ************
*/

.formatContent .multiColumns {
  margin-bottom: 29px;
  -webkit-column-gap: 47px;
  -moz-column-gap: 47px;
  column-gap: 47px;
}
.formatContent .multiColumns.cols2 {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
}

.moreInfo {
	padding: 21px 27px 24px 27px;
	text-decoration: none;
}

.moreInfo:hover {
  background-color: #333;
  color: #fff;
}

.courseInfo {
	color: #31231f !important;
	font-size: 140% !important;
	text-align: center;
	width: 70%;
	margin: auto;
	padding-bottom: 30px;
	line-height: 2 !important;
}

.dot {
  background-color: orange;
  height: 15px;
  width: 15px;
  border-radius: 50%;
  display: inline-block;
  margin: 0 3px 0 6px;
}

.priceBoxInTab {
	margin-left: 0 !important;
}
