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

#admin{
	color:#000;
}

/* 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;
}

.login-form button.btn{
	border-radius: 0;
	font-weight:400;
	font-size:1em;
}

.alertify .ajs-button{
	border-radius: 0;
	font-weight:400;
	font-size:1em;
}

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

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


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

.admin-content{
	border: 1px solid #fff;
	border-top:0;
    border-radius: 0 0 5px 5px;
}
/* Horní panel administrace */

#adminPanel {
	background:#e3e3e3;
	padding:2px;
}

/* Menu administrace */
.admin-menu{
	padding:10px;
	background:#fff;
}

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

#adminPanel-padding {
	padding:5px;
	padding-right:10px;
	display:flex;
	align-items: center;
}

/* Hlavní tlačítko administrace */

#admin .admin-menu-item{
	cursor:pointer;
	color:#333333;
	text-decoration:none;
	text-align:center;
	overflow:hidden;
	padding-bottom:0.5em;
	padding-top:1em;
	border-radius:4px;
	margin-right:8px;
}

#admin .admin-menu-item:last-child{
	margin-right:0px;
}


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

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

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

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

#admin .admin-menu-item .nameImg i{
	font-size:35px;
}

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

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

/* Ikonka Obsah */
#admin #contents.admin-menu-item i{
	color:#846cb5;
}

/* Ikonka Media */
#admin #media.admin-menu-item i{
	color:#7abf71;
}

/* Ikonka Třídnictví */
#admin #classes.admin-menu-item i{
	color:#bfba71;
}

/* Ikonka Veřejnost */
#admin #specialization.admin-menu-item i{
	color:#71a1bf;
}

/* Ikonka Kontakty */
#admin #contacts.admin-menu-item i{
	color:#bf718b;
}

/* Ikonka Moduly */
#admin #modules_new.admin-menu-item i{
	color:#71bfbf;
}

/* Ikonka Koš */
#admin #trash.admin-menu-item i{
	color:#616161;
}

/* Položka menu v koši */
.trash-menu-item{
	background: #d5d5d5;
    margin-left: 1em;
    padding: 0.5em;
    color: #343434;
    margin-bottom: 1em;
}

/* Ikonka Vzhled */
#admin #templates.admin-menu-item i{
	color:#f5eb84;
}

/* Ikonka Správci */
#admin #user.admin-menu-item i{
	color:#e8a789;
}

/* Ikonka Nastavení */
#admin #settings.admin-menu-item i{
	color:#1c1c1c;
}

/* Obsah administrace */

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

/* Vnitřní div obsahu administrace */

#adminMenuContainer-padding{
	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,  #admin .admin-area-buttons a{
	padding:8px;
	padding-left:9px;
	padding-right:9px;
	color:#fff;
	text-decoration:none;
	background-color:#737373;
	cursor:pointer;
	border-radius:4px;
	margin-right:10px;
	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, #admin .admin-area-buttons a:hover {
	color:#000000;
	background-color:#BDBDBD
}

/* Karty */
.admin-submenu{
	display:flex;
	margin-top:20px;
	background:#d5d5d5;
	padding-top:5px;
	padding-left: 10px;
}

/* Karta */
.admin-submenu-item{
	text-align:left;
	cursor:pointer;
	padding:13px 10px;
	padding-top: 10px;
    padding-bottom: 15px;
	color:#333333;
	text-decoration:none;
	-webkit-border-radius: 3px 3px 0 0;
	border-radius: 3px 3px 0 0;
	margin-right:0.5em;
	background-color:transparent;
	display: flex;
	align-items: center;
}

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

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

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

/* Odkaz */
#admin a {
	color:#4e4e4e;
	text-decoration: none;
}

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

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

.label-for-checkbox{
	vertical-align: 25px;
}

/* Základní div */
.adminForm {
	font-family: 'Roboto', sans-serif;
	font-size:17px;
	font-weight: 300;
	background-color: #dfdfdf;
	padding: 1.5em 3em;
	width:100%;
	color:#000;
}

/* Input pro admin form */
input.admin-form-control {
    border: 1px solid #fff;
    padding: 0.5em 0.9em;
	width:100%;
	font-size:17px;
	font-weight: 300;
}

/* Input pro barvu */
input.admin-form-control[type=color]{
	height: 43px;
    width: 43px;
    padding: 0.1em 0.15em !important;
    background: #fff;
}

/* Input pro disabled admin form */
input.admin-form-control:disabled {
    background:#f9f9f9;
}

.custom-select.is-invalid, .admin-form-control.is-invalid, .was-validated .custom-select:invalid, .was-validated .admin-form-control:invalid,  .alias-div.is-invalid{
	border-color: #dc3545;
}

.custom-select.is-invalid:focus, .admin-form-control.is-invalid:focus, .was-validated .custom-select:invalid:focus, .was-validated .admin-form-control:invalid:focus, .alias-div.is-invalid:focus{
	border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220,53,69,.25);
}

.custom-select.is-valid, .admin-form-control.is-valid, .was-validated .custom-select:valid, .was-validated .admin-form-control:valid,  .alias-div.is-valid{
	border-color: #28a745;
}

.custom-select.is-valid:focus, .admin-form-control.is-valid:focus, .was-validated .custom-select:valid:focus, .was-validated .admin-form-control:valid:focus, .alias-div.is-valid:focus{
	border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40,167,69,.25);
}

.color-picker input{
	border:0;
}

.alias-div{
	max-height: 44px;
	border:1px solid #fff;
	border-left:0;
}

input.alias-input{
	border-right:0;
}

.input-group input.admin-form-control{
	flex:1;
}

.admin-form-control::placeholder, .mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{
	color: #4c4c4c !important;
	font-weight: 300;
}

.fancybox-overlay{
	z-index:80100 !important;
}

/* 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;
}*/

#form-timetables table input{
	width:85px;
	border:0;
	font-weight: 300;
}

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

.adminForm input.form-control, .adminForm option {
	/*font-size:12px;
	border:1px solid #aaaaaa;
	padding:7px;
	color:#000000;
	font-weight:normal;*/
	width:auto;
}

.adminForm textarea.admin-form-control{
	width:100%;
	border:0;
	padding: 0.5em 0.9em;
	font-size:17px;
	font-weight: 300;
}

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

/* Selectboxy */

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

/* Položky selectů */

/*.adminForm select option {
	padding: 3px
}*/

/* Popisek */
.form-header {
	color: #000;
    margin: 0.5rem 3rem;
    font-size: 2em;
	font-weight: 300;
	padding: 0;
	border: 0;
}

.close-form{
	position: absolute;
	top: 8px;
	right: 5px;
}

.close-form span{
	font-size: 49px;
    color: #a7a7a7;
	cursor:pointer;
}

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

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

.widget_form .fm-select-div span{
	width:165px;
}

/* 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;
}

.template-form-areas{
	background: #e9ecef;
}

.template-form-area{
	border-bottom: 1px solid#d5d5d5;
    padding: 1em 1em;
	cursor:pointer;
	display:flex;
}

.template-form-area.active, .template-form-area:hover{
	background:#d5d5d5;
}

.template-form-area:last-child{
	border-bottom:0;
}

.template-form-content{

}

h2.form-template-section-label{
	font-weight: 300;
    padding: 15px 10px;
    margin: 15px 0px;
    border-top: 1px solid #d5d5d5;
    border-bottom: 1px solid #d5d5d5;
    font-size: 1.6rem;
    background: #e8e8e8;
    color: #4e4e4e;
}

h4.form-template-section-label{
	font-weight: 300;
    padding: 10px 10px;
    margin: 15px 0px;
    border-bottom: 1px solid #d5d5d5;
    font-size: 1.3rem;
    background: #e8e8e8;
    color: #4e4e4e;
}

h5.form-template-section-label{
	padding: 10px 20px;
    margin: 15px 0px 0px 0px;
    font-size: 1.1rem;
    font-weight: 400;
}

.template-form-area.deactivate .error-info{
	display:none !important;
}

.template-form-area.deactivate .deactivate-info{
	display:block !important;
	color: #7c7c7c;
}

/* 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;
}

/* Zveřejnění */
.main-button{
	width:15px;
	text-align:center;
}

/* Ikonka sortu a plus v anketách */

.sort-icon, .plus-icon, .trash-icon, .connect-icon{
	font-size: 20px;
    color: #8a8a8a;
}

/*****************************/
/***** 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 *****/
/**********************/

.admin-notif{
	background:#999;
	font-size: 1.5em;
    padding: 0.3em;
	height: 30px;
	width: 30px;
    display: flex;
    align-items: center;
    border-radius: 4px;
	cursor:pointer;
	justify-content:center;
}

/* Hlavní div*/
#notifications{
	width: 330px;
	position: absolute;
	z-index: 1;
	background: #b5b3b3f5;
	display: none;
	padding: 5px 5px 10px 5px;
	border-radius: 3px;
	margin-left: -304px;
	color: #565656;
	font-size: 15px;
	box-sizing: content-box;
	margin-top: 2px;
}

/* 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 *****/
/****************************/

#user-panel-icon{
	background: #fff;
    color: #4e4e4e;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
	cursor:pointer;
	font-weight:bold;
}

/* 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;
}

/*****************/
/***** Info  *****/
/*****************/

.version{
	width: 30px;
    height: 30px;
    background: #999;
    border-radius: 4px;
    text-align: center;
    display: flex;
    font-size: 1.5em;
    justify-content: center;
}

#version-icon{
	color:#000;
}

.version .hover-text-main{
	margin:0;
	display: flex;
    align-items: center
}

#user-panel-box{
	position: absolute;
    background: #d1d1d1f5;
    border-radius: 4px;
    padding: 1em;
    margin-left: -183px;
    width: 215px;
    box-sizing: border-box;
    margin-top: 2px;
	display:none;
}

.user-panel-button{
	border-radius: 4px;
	padding: 0.5em 1.5em;
	text-decoration: none !important;
}

#user-panel-password{
	background:#999999;
	color:#fff !important;
}

#logout-button{
	background:#dd6060;
	color:#fff !important;
}

#admin-info-icon{
	background: #fff;
    color: #4e4e4e;
	font-size: 1.5em;
	padding: 0.3em;
	height: 30px;
	width: 30px;
	display: flex;
	align-items: center;
	border-radius: 4px;
	cursor: pointer;
	justify-content: center;
}

#admin-info-panel{
	display: none;
    position: absolute;
    width: 300px;
    background: #d1d1d1f5;
    border-radius: 4px;
    padding: 1em;
    margin-left: -269px;
    margin-top: 2px;
}

#admin-settings-icon {
    background: #fff;
    font-size: 1.5em;
    padding: 0.3em;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    cursor: pointer;
    justify-content: center;
	text-decoration:none;
}

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

/* Zavřít */
#close-admin{
	padding-top: 10px;
    padding-right: 10px;
	flex:1;
	text-align:right;
}



a#closeAdmin{
	color: #fff;
    text-decoration: none;
    background: #999999;
    padding: 0.5em 1.5em;
    border-radius: 4px;
}

/* 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.3em 0.7em;
    color: #ffffff;
    font-weight: 300;
    text-decoration: none;
    background: #3a89cf;
    cursor: pointer;
    border-radius: 4px;
	min-width:85px
}

/* Uložit a zavřít po najetí */
.btn-admin:hover{

}

.btn-open{
	min-width:auto;
	font-size: 1.1em;
    padding: 0.2em 0.3em;
}

#admin a.btn-open{
	color:#fff;
}

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

/* Načíst / aktualizovat */
.load-button{
	height: 32px;
}

/* 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, .btn-content-select{
	font-weight:300;
}

/* Odebrání z FM */
.btn-fm-remove, .btn-content-remove{
	background: #ff6666;
}
.btn-fm-remove:hover,.btn-content-remove:hover{

}

.btn-create-new{
	background: #548d2a;
}

a.btn-create-new{
	color:#fff;
}

.btn-create-new:hover{
	color:#fff !important;
}

.btn-save{
	background: #548d2a;
}

#admin a.btn-grey{
	background:#999;
	color:#fff;
}

#admin a.btn-red{
	background: #ff6966;
	color:#fff;
}

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

/* Zelený panel */
#admin .admin-green-area{
  font-size:12px;
  background-color: #B6F5BD;
  padding: 10px;
  margin-bottom: 5px;
  display:flex;
  align-items: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;
	line-height: 1.2em;
}

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

/* Náhled galerie */
.admin-gallery-preview{
	width:43px;
	height:32px;
	background-size:cover;
	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{
    background: #fbfbfb;
    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:677px;
	width:100%;
}

.CodeMirror-scroll{
	margin-top: -78px;
	font-size: 13px;

}

/* 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%;
}

.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;
}

.jmp-button{
	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;
}

.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%;
}

#photosList{
	margin-bottom:250px;
}

.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:15px 5px;
	overflow:hidden;
}

.jmp-photo-operation{
	width:180px;
}

i.close-icon{
	color:#c74141;
}

i.done-icon{
	color: #008605;
}

@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: 50px;
    height: 50px;
    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;
}

.mirror-flip{
	-webkit-transform: scaleX(-1);
	transform: scaleX(-1);
}

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

.dropdown-toggle-multiselect{
	background: #fff;
    color: #000;
    border-radius: 0px;
    font-size: 17px;
    padding: 8px;
    box-shadow: none;
	font-weight:300;
}

.dropdown-toggle-multiselect:hover{

}

.show .dropdown-toggle-multiselect.btn-secondary.dropdown-toggle{
	background: #fff;
    color: #000;
    border-radius: 0px;
    font-size: 17px;
    padding: 8px;
    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, .content-select-div .tag{
	background: #fff;
    padding: 7px 5px;
	padding-right:25px;
    font-size: 14px;
    margin-right:10px;
    display: flex;
    align-items: center;
	font-weight:300;
	transition: transform 2s ease-in-out;
	max-width: 100%;
    overflow: hidden;
	position: relative;
}

.content-select-div .tag:last-child{
	margin-right:0px;
}

.content-select-div .tag span{
	height: 18px;
    cursor:pointer;
	position: absolute;
    right: 0px;
    padding-right: 5px;
    background: #fff;
}

#tagged-students span i.material-icons, .content-select-div .tag span i.material-icons{
	font-size:18px;
}


.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;
}

.modal { overflow: auto !important; }

#filemanager_modal{
	z-index:99999;
}

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;
}

.tox-tinymce-aux{
	z-index: 99999 !important;
}

.tox-tinymce{
	border:0 !important;
	border-radius: 0 !important;
}

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

.modal{
	z-index:10000;
}

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

/***************************/
/***** Content manager *****/
/***************************/

.cm-list-filter{
	display:flex;
}

.cm-list-body{
}

.cm-list-inner{
	display:flex;
	background: #f2f2f2;
	padding: 1em;
}

.cm-list-body .list-item{
	cursor:pointer;
}

.cm-list-body .list-item:hover, .cm-list-body .list-item.active{
	background:#d8d8d8;
}

#cm-list-body-category .cm-list-inner, #cm-list-body-classes .cm-list-inner, #cm-list-body-gallery .cm-list-inner, #cm-list-body-editors .cm-list-inner, #cm-list-body-category_gallery .cm-list-inner, #cm-list-body-contactcat .cm-list-inner, #cm-list-body-filesdir .cm-list-inner{
	flex-wrap:wrap;
}

.list-item-two{
	width: calc(50% - 2em);
    margin: 3px 1em;
}

.list-item-three{
	width: calc(33% - 2em);
    margin: 3px 1em;
}

.content-names{
	display:flex;
	align-items: center;
	margin-right: 0.5em;
	font-weight:bold;
	white-space: nowrap;
}

.content-names.multi{

}

.content-names.single{
	width:156.5px;
}

.content-names-wrapper.multi{
	margin-right: 10px;
	max-width: 653px;
	overflow: hidden;
}

.alertify-notifier{
	z-index: 9999999999 !important;
}

.alertify-notifier .ajs-message{
	text-shadow:none !important;
}

.fm-select-div span{
	font-weight: bold;
	margin-right:0.5em;
	width:124px;
	display:block;
	overflow:hidden;
	white-space: nowrap;
}

.fm-select-div{
	display: flex;
    align-items: center;
}

.fm-preview{
	display: flex;
    margin-right: 0.5em;
	cursor:pointer;
	visibility: hidden;
}

.form-footer{
	padding:1em 3em;
}

.content-names-wrapper{
	display:flex;
	align-items:center;
}

.content-names{

}

.admin-arrow-right, .admin-arrow-left{
	cursor:pointer;
	background:#fff;
	padding: 0em 0.5em;
}

.admin-arrow-right-inner, .admin-arrow-left-inner{
	display:flex;
	align-items: center;
	height: 100%;
}

.admin-arrow-right{
	margin-right: 10px;
}

.admin-arrow-left{
	margin-right:10px;
}

.adminForm .form-row:not(.no-min-height){
	min-height: 44px;
}

.radio-section-type-label::before{
	width:2rem;
	height:2rem;
	right: 0;
    left: 0;
	top: -2.5rem;
	margin-left:auto;
	margin-right: auto;
}

.radio-section-type-label::after{
	width:2rem;
	height:2rem;
	right: 0;
    left: 0;
	top: -2.5rem;
	margin-left:auto;
	margin-right: auto;
}

#form-section #content-name-opt1_p, #form-section #content-name-opt1_b{
	width:107px;
}

.input-group-text{
	border: 0px;
}

.modal-extra{
	max-width:1000px;
}

.plus-div{
	height:44px;
}

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

.admin-list{
	background:#f2f2f2;
	padding: 0.5em;
	font-size:12px;
}

/* Seznam složek souborů */
#list-filesdir{
	width:50%;
}

.admin-list-header{
	background: #fff;
    border-bottom: 1px solid #c0c0c0;
    padding: 1em;
    display: flex;
    align-items: center;
}

.admin-list-header-name{
	flex: 1;
    font-size: 1.3em;
    color: #969696;
}

.admin-list-middle-row{
	display:flex;
}

.admin-list-group{
	display:flex;
	align-items:center;
}

.admin-list-group .vbm-text{
	padding:0.6em 0.9em;
}

.vbm-text {
	padding: 0.57em 0.9em;
}

.admin-list-actions{
	display:flex;
	align-items:center;
	font-size: 1.2em;
}

.admin-list-item{
	background:#fff;
	padding:0.5em;
	align-items:center;
	position:relative;
}

.list-item-info{
	padding: 0em 1em;
    flex: 1;
    min-height: 32px;
}

.list-item-details{
	font-size: 0.8em;
}

.is-system .list-item-info{
	display: flex;
    align-items: center;
}

.admin-list input.admin-form-control{
	padding:0.2em 0.9em;
	font-size:16px;
	border: 1px solid #dbdbdb;
}

.list-item-name a{
	text-decoration:none;
}

.admin-list-actions .fa-check{
	color: #32ad0a;
}

.admin-list-actions .fa-times{
	color: #d34141;
}

.admin-list-group{
	padding-left:0.5em;
}

.sort-indicator{
	width: 0px;
    height: 0;
    border-top: 0px solid transparent;
    border-right: 25px solid #b9b9b9;
    border-bottom: 25px solid transparent;
	top: 0;
	right: 0;
	position: absolute;
}

.sort-indicator .fa-arrows-alt{
	margin-left: 13px;
    font-size: 0.8em;
	position: relative;
	top:-1px;
}

.list-item-name{
	height: 18px;
    overflow: hidden;
}

.list-item-label{
	height: 18px;
    overflow: hidden;
}

#admin-list-section .admin-list-item{
	background:#ccc;
	padding:0.5em 1em;
}

#admin-list-section .main-item .list-item-name{
	font-weight:bold;
}

#admin-list-section .admin-list-actions{
	width: 100px;
}

.list-item-type{
	font-style:italic;
	color: #686868;
}

#admin-list-section .sort-indicator{
	border-right-color: #999999;
}

#admin-list-section .section-submenu .admin-list-item{
	background:#fff;
}

#admin-list-users .list-info{

}

.list-users-details{
	font-size:0.8em;
}

body.modal-open{
	padding:0px !important;
}

.modal{
	padding-right:0 !important;
}

.modal-content{
	background-clip:border-box;
}

.modal{
	font-family:"Roboto" !important;
	background: #00000094;
}

.content_manager_body{
	background: #dfdfdf;
}

.tinymce-large{
	height:300px;
}

.list-item-folder{
	font-size:3em;
}

.fm-list-items .list-item-name{
	font-size:1.5em;
	height:30px;
}

.fm-list-items{
	display:flex;
	flex-wrap:wrap;
}

.fm-list-items .folders{
	width: calc(50% - 10px);
    margin: 5px;
    padding-left: 1em;
}

.fm-list-items .folders:hover{
	background: #d8d8d8;
	cursor:pointer;
}

.list-item-preview-file{
	width:60px;
}

.admin-photos-preview img{
	max-width:200px;
	max-height:200px;
	position: absolute;
	display:none;
	z-index:1;
}

.admin-photos-preview:hover img{
	display:block;
}

.cm-list-inner#admin-list-section .admin-list-item:not(.not-clickable):hover, .cm-list-inner#admin-list-section .admin-list-item:not(.not-clickable).active{
	background:#a7a7a7;
}

.admin-list-item.not-clickable{
	font-style:italic;
	color:#858585;
	cursor:not-allowed;
}

.admin-list .vbm-option{
	background:#ececec;
}

#vbm-eatery-form .vbm-text{
	padding: 0.559em 0.9em;
}

.url-preview{
	font-size: 0.7em;
    margin-top: 0.5em;
    padding-left: 0.5em;
}

.deactive-color{
	color:#d5d5d5 !important;
}

.rotate{
	animation: rotation 1s infinite linear;
}

@keyframes rotation {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(359deg);
	}
}
