/*******************************************/
/*              ADMIN STYLY                */
/*                                         */
/* - Obsahuje pouze styly, které potřebuje */
/*   administrace systému                  */
/*                                         */
/*******************************************/


/* Ikony v tlačítcích */
.admin-icon {
	width:16px;
	height:16px;
	vertical-align:middle;
}

/* Button pro uložení formuláře */
.btn-admin-submit {
	border: 1px solid #037a0e;
	color: #ffffff;
	background: #56B55F;
	padding: 0.25em 0.85em;
}
.btn-admin-submit:hover {
	-webkit-box-shadow: 0 0 5px 0 #037a0e;
	box-shadow: 0 0 5px 0 #037a0e;
}

/*************************/
/***** SAMOTNÝ ADMIN *****/
/*************************/

/* Nadpisy */
#admin h1, #admin h2, #admin h3, #admin h4, #admin h5, #admin h6, .modal h1, .modal h2, .modal h3, .modal h4, .modal h5, .modal h6{
	color:#000;
	font-weight:bold;
}

/* Hlavní div */
#admin {
	width:100%;
	top:0px;
	z-index:7000;
	position: absolute;
	font-family:Arial !important;
}

/* Nadpisy h1 v adminu */
#admin h1, .adminForm h1 {
	font-size:18px !important;
	font-weight:bold !important;
	color:#000000 !important;
}

/* Nadpisy h2 v adminu */

#admin h2, .adminForm h2 {
	font-size:14px !important;
	font-weight:bold !important;
	color:#000000 !important;
}

/* Vnitřní div administrace */
#admin-padding {
	width:1000px;
	margin:0 auto;-webkit-border-radius: 0 0 10px 10px;
	border-radius: 0 0 10px 10px;
	-webkit-box-shadow: 0 0 10px 0 #000000;
	box-shadow: 0 0 10px 0 #000000;
	font-size: 12px;
}

/* Horní panel administrace */

#adminPanel {
	background:#D8D8D8;
	padding:2px;
	border-bottom:1px solid #AAA;
}

/* Vnitřní div horního panelu administrace */

#adminPanel-padding {
	font-weight:bold;
	padding:5px;
	padding-right:10px;
	background:#D8D8D8;
	display:flex;
	align-items: center;
}

/* Hlavní tlačítko administrace */

#admin .admin-menu-item{
	cursor:pointer;
	border-right:1px solid #aaaaaa;
	border-bottom:1px solid #AAA;
	color:#333333;
	font-weight:bold;
	text-decoration:none;
	text-align:center;
	overflow:hidden;
	background:#ffffff;
	padding-bottom:0.5em;
	padding-top:0.5em;
}

/* Hlavní tlačítko administrace po najetí / aktivní */

#admin .admin-menu-item:hover, #admin .admin-menu-item.active {
	color:#000000;
	background:#BDBDBD;
}

/* Ikona v hlavním tlačítku v administrace */

#admin .admin-menu-item .nameImg img {
	width:48px;
	height:48px;
}

/* Název hlavního tlačítka v aministraci */

#admin .admin-menu-item .name {
	margin-top:0.5em;
}

/* Obsah administrace */

#adminMenuContainer {
	width:100%;
	background:#e1e1e1;
}

/* Vnitřní div obsahu administrace */

#adminMenuContainer-padding{
	border:1px solid #d0d0d0;
	border-top:0px;
	padding:10px;
}

/* Div se spodními tlačítky */
#admin .admin-buttons {
	margin-bottom:15px;display: flex;
}

/* Spodní tlačítko */

#admin .admin-buttons a {
	padding:8px;
	padding-left:9px;
	padding-right:9px;
	color:#333333;
	font-weight:bold;
	text-decoration:none;
	background-color:#fff;
	cursor:pointer;
	border:1px solid #bdbdbd;
	border-radius:2px;
	margin-right:4px;
	display: flex;
	align-items: center;
}

/* Ikonka ve spodním tlačítku */
.admin-buttons .admin-icon{
	margin-right:0.2em;
}

/* Spodní tlačítko po najetí */
#admin .admin-buttons a:hover {
	color:#000000;
	background-color:#BDBDBD
}

/* Karty */
.admin-submenu{
	display:flex;
}

/* Karta */
.admin-submenu-item{
	text-align:left;
	border-bottom: solid 4px #BDBDBD;
	cursor:pointer;
	border:1px solid #BDBDBD;
	padding:8px 10px;
	color:#333333;
	font-weight:bold;
	text-decoration:none;
	-webkit-border-radius: 3px 3px 0 0;
	border-radius: 3px 3px 0 0;
	margin-right:0.3em;
	background-color:#BDBDBD;
	display: flex;
	align-items: center;
}

/* Ikonka v kartě */
.admin-submenu-item .admin-icon{
	margin-right:0.2em;
}

/* Karta po najetí */
.admin-submenu-item:hover, .admin-submenu-item.active{
	color:#000000;
	border-bottom:1px solid #ffffff;
	background: #ffffff;
}

/* Oblast pro samotný obsah jednotlivých položek administrace */
.admin-area{
	padding:10px;
	border: 1px solid #bdbdbd;
	background:#ffffff;
	margin-top:-1px;
}

/* Odkaz */
#admin a {
	color:#000000;
}

/* Upozornění na nepovolený přístup */
.access-denied{
	font-family: "Tahoma";
	font-size: 14px;
}

/*********************/
/***** FORMULÁŘE *****/
/*********************/

/* Základní div */
.adminForm {
	font-family: Tahoma, sans-serif;
	font-size:12px;
}

/* Tabulka s formulářem */

.adminForm table {
	width:100%;
	border-collapse: separate;
}

/* Buňka tabulky s formulářem */

.adminForm td {
	vertical-align:middle;
	margin:3px;
	padding:7px;
	padding-left:10px;
	padding-right:10px;
	border:1px solid #aaaaaa;
	background:#e1e1e1;
	font-weight:bold;
}

/* Všechny inputy, položky selectů a textová pole */

.adminForm input, .adminForm option, .adminForm textarea {
	font-size:12px;
	border:1px solid #aaaaaa;
	padding:7px;
	color:#000000;
	font-weight:normal;
}

/* výjimka pro type color */
.adminForm input[type=color]{
	padding:0;
}

/* Selectboxy */

.adminForm select {
	font-size:12px;
	border:1px solid #aaaaaa;
	padding:5px;color:#000000;
	font-weight:normal;
	margin-right:10px;
	float:left;
}

/* Položky selectů */

.adminForm select option {
	padding: 3px
}

/* Popisek */
.adminForm .label {
	font-size:18px;
	font-weight:bold;
	text-align:left;
	line-height:28px;
	color:#000000;
	margin-bottom:20px;
}

/* Textarea*/
.adminForm textarea {
	width:650px;resize:none;
}

/* Inputy s chybou */
input.in-error{
	border: 1px solid #ca0000;
}

input.in-success{
	border: 1px solid #037a0e
}

/* Speciální řešení pro alergeny ve formuláři pro jídlo */
.alergens{
  float:left;
  width:20px;
  text-align: center;
  font-weight: normal;
}

/* To samé */
.alergensInput{
  width: 16px;
}

/*** Speciální úpravy pro formulář pro Rozvrh hodin ***/

/* Input pro předmět */
.ttSubj{
  width:50px;
  margin-bottom: 3px;
}

/* Input pro učitele */
.ttTech{
  width:50px;
  margin-bottom: 3px;
}

/* Select pro fotku */
.ttPhoto{
  width:66px;
}

/* Buňka */
.ttTable td{
  width:70px;
}

/* Buňka se dnem */
.ttTable .ttDay{
  width:19px;
}

/* Input pro název třídy */
.ttFormLabel{
  width:115px;
}

/*** Speciální nastavení pro šablonu ***/

/* Karty */
#formTemplate a{
	text-decoration:none;
	border: 1px solid #BDBDBD;
    padding: 8px 10px;
    font-weight: bold;
    text-align: left;
    background: #BDBDBD;
    width: auto;
    height: auto;
    cursor: pointer;
    color: #333333;
    border-radius: 3px 3px 0 0;
	display:inline-block;
	margin-right: 0.3em;
	border-bottom: 0;
}

/* Aktivní karty/karty po najetí */
#formTemplate a:hover, #formTemplate a.active{
    color: #000000;
    background: #ffffff;
}

/* Div s tabulkami ve formuláři */
.templates-tables{
	border: 1px solid #BDBDBD;
	padding: 0.3em;
	margin-top: -1px;
}

/* Buňka tabulky s formulářem pro šablonu */
.adminForm #formTemplate td{
	padding:4px;
}

/* Formulář pro šablonu */
#formTemplate{
	width:955px;
}

/* Fronta u uživatele */
#spanfront{
    font-weight:initial;
    margin-left:10px;
}

select[name=img]{
	width:150px;
}

/* Tabulka ve formuláři pro kontaktní informace */
#contactInfo table{
	width:470px;
}

.tinymce-small, .tinymce-large{
	height:300px;
}


/*****************************/
/***** Bubliny po najetí *****/
/*****************************/

/* Hlavní div */
.hover-text-main{
	margin-right: 5px;
	margin-top: 4px;
}

/* Vnitřní span */
.hover-text-span{
	display:inline-block;
	font-size:12px;
  	font-weight: normal;
  	color:#018198;
}

/* Samotný text (tady se nastavuje pozadí atd) */
.hover-text{
	width: 207px;
	color: #fff;
  	display:none;
	text-align: left;
	font-weight: normal;
	background: rgba(0,0,0,0.75);
	border: 1px solid #000;
	box-shadow: 0px 0px 3px;
	padding: 10px;
	z-index: 100000;
	border-radius: 5px;
  	position: absolute;
}

/* Styl, který zařizuje, že se text po najetí objeví */
.hover-text-main .hover-text-span:hover .hover-text{
	display:block;
}

/* Obrázek v bublině */
.hover-text img{
	max-width:100%;
}
/**********************/
/***** Notifikace *****/
/**********************/

/* Ikona */
#notifIcon{
    height: 27px;
    cursor:pointer;
}

/* Hlavní div*/
#notifications{
    border: 1px solid black;
    width: 330px;
    position: absolute;
    top: 34px;
    z-index: 1;
    background: #f0f8ff;
    border: 1px solid #d2d2d2;
    display: none;
    padding: 5px 5px 10px 5px;
    border-radius: 3px;
    margin-left:316px;
    color: #565656;
    font-size:15px;
}

/* Hlavička notifikací */
.notifHead{
    text-align: center;
    padding: 7px 0 11px 0;
    margin-bottom: 10px;
    color: #707478;
    font-size: 14px;
    border-bottom: 1px solid #d5d5d5;
}

/* Počet článků ve frontě */
#admin #showFront{
    color: #565656;
    text-decoration:none;
}

/* Počet článků ve frontě po najetí */
#admin #showFront:hover{
    color: #565656;
}

/* Prakticky to samé */
.notifLine:hover{
    background: #ffc45a;
}

/* Ještě něco ohledně počtu článků */
.notifLine{
    padding:10px 0px 10px 0px;
}

/****************************/
/***** Box s uživatelem *****/
/****************************/

/* Jste přihlášen jako...*/
.login-info{
  color:#797979;
}

/* Jméno */
.login-info-name{
  margin-right:25px;
}

/* Celý panel */
.logedPanel{
    padding: 10px;
    background-color: #FFFFFF;
    border-radius: 2px;
    border: 1px solid #AAA;
    display:flex;
    align-items: center;
}

/*Odhlašovací tlačítko */
.login-infologout{
}

/*******************/
/***** Podpora *****/
/*******************/

/* Celý prostor */
.support-box{
    font-size:12px;
    text-decoration:none;
}

/* Ikona */
.support-box img{
    width:23px;
}

/*****************/
/***** Lotus *****/
/*****************/

.version img{
    width:44px;
}


/********************/
/***** Tlačítka *****/
/********************/

/* Reset šablony */
.resetButton{
	width: 88px;
    height: 19px;
    cursor: pointer;
    letter-spacing: 1px;
    border: 1px solid #7a0303;
    border-radius: 2px;
    padding-left: 10px;
    padding-right: 10px;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    background: #f14343;
    float:left;
    margin-right: 5px;
    font-size:11px;
    line-height:17px;
    margin-top:1px;

}

/* Reset šablony po najetí */
.resetButton:hover{
	-webkit-box-shadow: 0 0 5px 0 #750000;
	box-shadow: 0 0 5px 0 #750000;
}

/* Komplet reset šablony */
.defaultResetButton{
    width: 88px;
    height: 19px;
    cursor: pointer;
    letter-spacing: 1px;
    border: 1px solid #037a0e;
    border-radius: 2px;
    padding-left: 10px;
    padding-right: 10px;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    background: #56B55F;
    float:left;
    margin-right: 5px;
    font-size:11px;
    line-height:17px;
    margin-top:1px;
}

/* Komplet reset po najetí */
.defaultResetButton:hover{
	-webkit-box-shadow: 0 0 5px 0 #037a0e;
	box-shadow: 0 0 5px 0 #037a0e;
}

/* Snad v budoucnu styl tak nějak pro všechna tlačítka */
.list-button{
	cursor: pointer;
	border-radius: 2px;
	padding-left: 10px;
	padding-right: 10px;
	font-weight: bold;
	text-decoration: none;
	display:block;
}

/* Otevřít */
#admin .list-button-open{
	border: 1px solid #037a0e;
	background: #56B55F;
	color: #ffffff;
}

/* Otevřít po najetí */
#admin .list-button-open:hover{
	-webkit-box-shadow: 0 0 5px 0 #037a0e;
	box-shadow: 0 0 5px 0 #037a0e;
}

/* Upravit */
#admin .list-button-edit{
	border: 1px solid #AF8509;
	background: #CCAE56;
	color: #ffffff;
}

/* Upravit po najetí */
#admin .list-button-edit:hover{
	-webkit-box-shadow: 0 0 5px 0 #AF8509;
	box-shadow: 0 0 5px 0 #AF8509;
}

/* Aktivovat */
#admin .list-button-activate{
	background: #569bb5;
	border: 1px solid #5e7dd4;
	color: #ffffff;
}

/* Aktivovat po najetí */
#admin .list-button-activate:hover{
	box-shadow: 0 0 5px 0 #5e7dd4;
}
/* Uložit a zavřít */
.btn-admin{
	padding: 0.5em 1em;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    background: #56B55F;
    cursor: pointer;
    letter-spacing: 1px;
    border: 1px solid #037a0e;
    border-radius: 2px;
}

/* Uložit a zavřít po najetí */
.btn-admin:hover{
	-webkit-box-shadow: 0 0 5px 0 #037a0e;
	box-shadow: 0 0 5px 0 #037a0e;
}

/* Přihlášení do nastavení */
.btn-settings{
	border-radius: 3px;
	background: #BDFFC7;
	border: 1px solid #BFBFBF;
	color: #000;
}

/* Načíst / aktualizovat */
.load-button{
	height: 27px;
	border-radius: 3px;
	background: #569bb5;
	border: 1px solid #5e7dd4;
	color: #fff;
	font-size:13px;
	cursor:pointer;
	margin-left:5px;
}

/* Načísti / aktualizovat po najetí */
.load-button:hover{
	background:#306477;
}

/* Odhlásit z nastavení */
#deleteCookie{
	height: 31px;
	cursor: pointer;
	letter-spacing: 1px;
	border: 1px solid #F32C2C;
	border-radius: 2px;
	padding-left: 10px;
	padding-right: 10px;
	color: #000000;
	font-weight: bold;
	text-decoration: none;
	background: #E87C7C;
	margin-top:15px;
	float:right;
	margin-right:8px;
}

/* Odhlásit z nastavení po najetí */
#deleteCookie:hover{
	border: 1px solid #D02D2D;
	box-shadow: 0 0 5px 0 #980E0E;
}

/* Výběr z FM */
.btn-fm-select{
	padding:0em 0.7em;
	font-weight:normal;
}

/* Odebrání z FM */
.btn-fm-remove{
	padding:0em 0.7em;
	font-weight:normal;
	background: #cc7b04;
	border-color: #ab3a17;
}

.btn-fm-remove:hover{
	-webkit-box-shadow: 0 0 5px 0 #FF5722;
    box-shadow: 0 0 5px 0 #FF5722;
}

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

/* Zelený panel */
#admin .admin-green-area{
  font-size:12px;
  background-color: #B6F5BD;
  padding: 10px;
  margin-bottom: 5px;
  display:flex;
  align-items:center;
}

/* Hlavička seznamu */
.list-header{
	background: #aaaaaa !important;
	padding:0.5em 1em;
}

/* Položky hlavičky seznamů */
.list-header-item{
	font-weight: bold;
	text-align: center;
}

/* Obsah seznamu */
.list-container{
	font-size:11px;
}

/* Položka seznamu */
.list-item{
	background: #e1e1e1;
	margin-top: 3px;
	margin-bottom: 3px;
	padding:0.5em 1em;
	text-align:center;
	line-height: 1.2em;
}

/* Položka ve struktuře webu */
#section-container .ui-widget-content{
	border:0px;
}

/* Náhled galerie */
.admin-gallery-preview{
	width:48px;
	height:36px;
	background-size:auto 36px;
	background-color:#fff;
	background-position:center;
	background-repeat:no-repeat;
}

/* Položka v seznamu kategorií */
#category-container .list-item{
	min-height:40px;
}

/* Ikona v položce seznamu */
.list-item .icon{
	width:12px;
	height:12px;
}

/* Zavírací / otevírací oblasti ve struktuře webu */
.portlet-header {
    position: relative;
}

.portlet-toggle {
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -8px;
}

.portlet-placeholder {
    border: 1px dotted black;
    margin: 0 1em 1em 0;
    height: 50px;
}

/* Stuktura webu - otevřít vše */
#admin #openAll{
    padding-right:15px;
    cursor:pointer;
}

/* Struktura webu - zavřít vše */
#admin #closeAll{
    padding-right:10px;
    cursor:pointer;
}

/* Selectbox */
.group-action-check{
	vertical-align: middle;
}

/* Aktivní šablona */
#admin .template-active{
	background-color: #c9fbce;
}

/* Karty ve třídnictví */
.classes-tab{
    border: 1px solid #BDBDBD;
    margin-top: -1px;
    padding: 10px;
}

/*********************/
/***** Nastavení *****/
/*********************/

/* Heslo do nastavení */
#formAdminSettings input[type=password]{
	border: 1px solid #bfbfbf;
  	border-radius: 3px;
	height: 26px;
  	background-color: #faffbd;
  	margin-right:10px;
  	font-size:21px;
  	width: 160px;
  	padding-left:5px;
}

/* jQuery accordion */
.ui-corner-all{
  border-radius: 1px;
}

.ui-corner-all:hover{
}

.ui-state-hover{
  background-color: #e1e1e1;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default{
  color: #212121;
}
.ui-state-default .ui-icon{
  background-image: url("../../core/libraries/jqueryUI/images/ui-icons_444444_256x240.png");
}

.ui-state-active .ui-icon{
  background-image: url("../../core/libraries/jqueryUI/images/ui-icons_329055_256x240.png");
}

.ui-accordion .ui-accordion-icons{
  margin-bottom: 4px;
}

/* Inputy v nastavení */
#settings input[type=text], #settings input[type=number]{
	border: 1px solid #bfbfbf;
	border-radius: 3px;
	height: 26px;
	background-color: #faffbd;
	font-size: 13px;
	width: 160px;
	padding-left:5px;
}

/* Popisek v nastavení */
.settingsLabel{
    width: 158px;
    text-align: right;
    float: left;
    line-height: 28px;
    margin-right: 5px;
}

/* Jakýsi další popisek */
.settingsLabel2{
    width: 36px;
    text-align: right;
    float: left;
    line-height: 28px;
    margin-right: 5px;
}

/* A další */
.settingsLabel3{
    width: 175px;
    text-align: right;
    float: left;
    margin-right: 5px;
}
/* Zelený pruh v nastavení s popisem */
.settingsHelp{
	margin-bottom:20px;
	background: #b6f5bd;
	padding: 10px;
}

/* Superior styl */
.CodeMirror{
    height:491px;
}

/* Formulář pro přihlášení do nastavení */
#formAdminSettings{
	display: flex;
	align-items: center;
}

/**********************/
/***** Přihlášení *****/
/**********************/

/* Div s formulářem */
.loginForm {
	background:#fff;
  	padding:10px;
  	box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
  	border-radius: 5px;
  	border-color: #d8d8d8;
  	width:320px;
  	margin:0 auto;
}

/* Logo systému */
.adminLogo{
  	margin:0 auto;
  	width: 250px;
}

.login-form{
	width: 400px;
	background: #fff;
	margin: 0 auto;
}

/* Input ve formuláři */
.loginForm input{
    height: 45px;
    border-radius: 5px;
    font-size: 24px;
    width: 100%;
    padding-left: 12px;
    border: 1px solid black;
    border-color: #bfbfbf;
}

.loginName{
  margin-bottom: 15px;
}

.formLogin{
  width: 100%;
}

.label{
  margin-bottom: 5px;
  margin-top: 13px;
  color: #777;
  margin-left: 7px;
}

.value{
  width: 95.5%;
}

.loginNadpis{
   font-size: 25px;
   color: #484848;
}

.newPassw{
display: flex;

align-items: center;

justify-content: center;
}

.back{
   margin:0 auto;
   text-align:center;
   margin-top: 5px;
}
.loginButtons{
    width: 213px;
    margin: 0 auto;
}

.loginButtons a{
color: #484848;

}

.loginButton{
  background-color: #bdffc7;
  cursor: pointer;
  margin-bottom: 20px;
  margin-top: 40px;
}

.loginButton:hover{
  background-color: #329055;
  color: #fff;
}

.loginButton:hover{
  background-color: #329055;
  color: #fff;
}

/*********************************/
/***** Registrační kalendáře *****/
/*********************************/

/* Tabulka s rezervacemi */
.registrationSchedulerAdmin{
	width:100%;
	text-align:center;
	border:1px solid #d5d5d5;
	border-collapse:collapse;
}

/* Buňky tablky s rezervacemi */
.registrationSchedulerAdmin tr, .registrationSchedulerAdmin td{
	border:1px solid #d5d5d5;
	height: 20px;
    vertical-align: middle;
}

/***************************************/
/***** Upload systém a Filemanager *****/
/***************************************/

.fileToUpload {
    display: flex;
}

.fileContent {
    display: flex;
    align-items: center;
    width: 97%;
    border-top: 1px solid #d5d5d5;
    border-bottom: 1px solid #d5d5d5;
    font-size: 12px;
    margin-top: -1px;
}

.preview {
    width: 60px;
    display: flex;
    height: 30px;
    align-items: center;
    background-size: cover;
    margin:2px 0px 2px 0px;
}

.progressBar {
    width: 100%;
    height: 30px;
    background-image: url(../img/upload_bg.png);
    background-size: 0%;
    background-repeat: no-repeat;
}

.fileImage {
    position: absolute;
    display: none;
    z-index: 3;
    margin-left: 30px;
}

.fileImage img {
    max-width: 250px;
    max-height: 250px;
}

.thumbik{
	max-width:250px;
	max-height:250px;
	display:none;
	position: absolute;
    display: none;
    z-index: 3;
    margin-left: 75px;
}

.photoListPreview:hover .thumbik{
	display:block;
}

.fileName {
    flex: 5;
    padding-left: 10px;
    width: calc( 100% - 10px );
    line-height: 30px;
    z-index: 2;
}

.percent {
    float: right;
    line-height: 30px;
    padding-right: 10px;
    flex: 1;
    text-align: right;
}

.deleteBox {
    color: red;
    display: flex;
    align-items: center;
}

.preview:hover .fileImage{
  display:block;
}

#uploadButton, #jmpManagerUploadStartButton, #refreshButton{
	padding: 7px;
    padding-left: 10px;
    padding-right: 10px;
    color: #333333;
    font-weight: bold;
    text-decoration: none;
    background-color: #fff;
    width: auto;
    height: auto;
    cursor: pointer;
    border: 1px solid #bdbdbd;
    border-radius: 2px;
    margin-right: 4px;
    font-size:13px;
}

#refreshButton{
	float:right;
}

.photoListPreview{
	background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height:100%;
}

.photoListPreviewDiv{
	max-width:70px;
	height:40px;
	padding:5px;
}

#photosList, #filesList{
	margin-top:15px;
	width:100%;
}

.photoListItem{
	border-top:1px solid #a5a5a5;
	border-bottom:1px solid #a5a5a5;
	margin-top:-1px;
	color: #333;
	align-items: center;
	font-size:14px;
	background: rgba(249, 249, 249, 0.83);
}

.photoListItem a{
 	color:#333;
}

.photoListName{
	padding:5px;
	overflow:hidden;
}

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(../../core/fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
  src: local('Material Icons'),
       local('MaterialIcons-Regular'),
       url(../../core/fonts/MaterialIcons-Regular.woff2) format('woff2'),
       url(../../core/fonts/MaterialIcons-Regular.woff) format('woff'),
       url(../../core/fonts/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}

.material-icons.md-18 {
    font-size: 18px;
}

.photoListOper{

}

.photoListHead{
	    margin-bottom: 0;
    border-radius: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,.065);
    background-color: #d0d0d0;
    position: relative;
    border-bottom: 1px solid #bbb;
    height: 35px;
    line-height: 35px;
    display: flex;
    font-size: 14px;
    font-weight: bold;
}

.photoGalleryName{
	padding: 10px 10px 10px 0;
	font-size: 19px;
	font-weight: bold;
}

#filesToUpload{
	margin-top:13px;
}

.vertical_midle{
	vertical-align:middle;
}

.previewFile {
    text-align: center;
    padding: 1px 2px;
    font-size: 13px;
    line-height: 32px;
    width: 45px;
    height: 32px;
    color: #fff;
    background: #333;
    margin-right: 5px;
}

.fileListPreview {
    text-align: center;
    padding: 1px 2px;
    font-size: 13px;
    line-height: 40px;
    height: 40px;
    color: #fff;
    background: #333;
    margin-right: 5px;
}

.fileListItem{
	height:50px;
    border-top: 1px solid #a5a5a5;
    border-bottom: 1px solid #a5a5a5;
    margin-top: -1px;
    color: #333;
    align-items: center;
    font-size: 14px;
    background: rgba(249, 249, 249, 0.83);
}

.previewdoc, .previewdocx, .previewodt{
	background: #3f51b5;
}

.previewpdf{
	background: #f72819;
}

.previewppt, .previewpptx, .previewpps{
	background: #ff5722;
}

option:disabled{
	background:none;
	color: #a0a0a0;
}

option:disabled:hover{
	background:transparent;
}

.fm-button{
	padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    color: #333333;
    font-weight: bold;
    text-decoration: none;
    background-color: #fff;
    width: auto;
    height: auto;
    cursor: pointer;
    border: 1px solid #bdbdbd;
    border-radius: 2px;
    margin-right: 4px;
    font-size:13px;
    display:flex;
    align-items:center;
}

.fm-buttons{
	display:flex;
}

.fm-listhead{
	display:flex;
	background-color: #d0d0d0;
	font-size:14px;
	font-weight:bold;
	padding:10px;
	font-family:sans-serif;
	margin-top:10px;
}

.fm-folder{
	padding: 10px;
    border-bottom: 1px solid #d5d5d5;
    display:flex;
}

.fm-folder-icon{
	margin-right: 10px;
    vertical-align: middle;
}

#fm-files{
	font-family:sans-serif;
}

/***********************/
/***** Multiselect *****/
/***********************/

.dropdown-toggle-multiselect{
	background: #fff;
    color: #000;
    border-radius: 0px;
    font-size: 12px;
    padding: 8px;
    border: 1px solid #aaaaaa;
    box-shadow: none;
}

.dropdown-toggle-multiselect:hover{
	background: #fff;
    color: #000;
    border-radius: 0px;
    font-size: 12px;
    padding: 8px;
    border: 1px solid #aaaaaa;
    box-shadow: none;
}

.show .dropdown-toggle-multiselect.btn-secondary.dropdown-toggle{
	background: #fff;
    color: #000;
    border-radius: 0px;
    font-size: 12px;
    padding: 8px;
    border: 1px solid #aaaaaa;
    box-shadow: none;
}

.dropdown-multiselect .dropdown-menu{
	padding:0px;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-top:-1px;
	border-radius:0px;
    height: 150px;
    overflow-y: scroll;
}

.dropdown-multiselect .dropdown-item{
	box-sizing: border-box;
	padding: 0px;
    padding-left: 10px;
    cursor:pointer;
    padding-bottom:2px;
}

.dropdown-multiselect .dropdown-item:hover, .dropdown-multiselect .dropdown-item.active{
    color: #e2e2e2;
    background-color: #505050;
}

.dropdown-multiselect .form-check{
	margin-bottom:0px;
}

.dropdown-multiselect .form-check-label{
	font-size:13px;
}

.dropdown-multiselect .form-check-label input{
	vertical-align: -2px;
	cursor:pointer;
	margin-right:5px;
}

/*******************/
/***** Tynimce *****/
/*******************/


.mce-floatpanel.mce-fixed{
	position:absolute !important;
}

.mce-i-filesdirChooser {
    background: url(../../content/img/ic_folder_open_black_24px.svg) !important;
    height: 16px !important;
    width: 16px !important;
    background-size: 17px !important;
    background-repeat: no-repeat !important;
}

.mce-i-galleryChooser{
	background: url(../../content/img/ic_photo_library_black_24px.svg) !important;
    height: 16px !important;
    width: 16px !important;
    background-size: 17px !important;
    background-repeat: no-repeat !important;
}

.mce-i-foodMenu{
	background: url(../../content/img/ic_restaurant_black_24px.svg) !important;
    height: 16px !important;
    width: 16px !important;
    background-size: 17px !important;
    background-repeat: no-repeat !important;
}

.mce-i-contactform{
	background: url(../../content/img/ic_mail_outline_black_24px.svg) !important;
    height: 16px !important;
    width: 16px !important;
    background-size: 17px !important;
    background-repeat: no-repeat !important;
}

.mce-i-menuMenu{
	background: url(../../content/img/ic_menu_black_24px.svg) !important;
    height: 16px !important;
    width: 16px !important;
    background-size: 17px !important;
    background-repeat: no-repeat !important;
}

div.mce-edit-area{
	padding:5px;
}

.mce-floatpanel.mce-fixed{
	position:absolute !important;
}

/**************************************/
/***** Označování žáků na fotkách *****/
/**************************************/

.tag-photo-preview{
    background: #d5d5d5;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tag-photo-preview img{
	max-width: 492px;
    max-height: 300px;
}

#tag-photo *{
	box-sizing:border-box;
}

#students-tag-photo{
    max-height: 250px;
    overflow-y: auto;
}

#tagged-students{
	display:flex;
	flex-wrap:wrap;
}

#tagged-students div{
	background: #d5d5d5;
    padding: 2px;
    border: 1px solid #a5a5a5;
    border-radius: 0px 20px 20px 0px;
    font-size: 14px;
    margin-right:10px;
    height: 25px;
    line-height: 25px;
    display: flex;
    align-items: center;
}

#tagged-students span{
	color: red;
    margin-left: 5px;
    margin-right: 5px;
    font-weight: bold;
    cursor:pointer;
}

.student-check, .teacher-check{
	cursor:pointer;
	padding: 0.2em;
}

.student-check.active, .teacher-check.active{
	color: #e2e2e2;
    background-color: #505050;
}

.modal-title{
	font-size: 1.5rem;
	color:#000;
}

bold{
	font-weight: bold;
}

.flexbox{
	display:flex;
}

.flex1{
	flex:1;
}

.flex1_5{
	flex:1.5;
}

.flex2{
	flex:2;
}

.flex2_5{
	flex:2.5;
}

.flex3{
	flex:3;
}

.flex3_5{
	flex:3.5;
}

.flex4{
	flex:4;
}

.flex4_5{
	flex:4.5;
}

.flex5{
	flex:5;
}

.flex5_5{
	flex:5.5;
}

.flex6{
	flex:6;
}

.flex6_5{
	flex:6.5;
}

.flex7{
	flex:7;
}

.flex7_5{
	flex:7.5;
}

.flex8{
	flex:8;
}

.flex8_5{
	flex:8.5;
}

.flex9{
	flex:9;
}

.flex9_5{
	flex:9.5;
}

.flex10{
	flex:10;
}

.flex10_5{
	flex:10.5;
}

.cursor-pointer{
	cursor:pointer;
}

#tinymce td{
	border: 1px solid #d5d5d5;
}

body#tinymce{
	background:none;
}

.modal-backdrop{
	z-index:9999;
}

.modal{
	z-index:10000;
}

.select-icon{
	width:14px;
	height:14px;
	vertical-align:middle;
	margin-top:-1px;
	margin-right:2px;
}
