/* ================= O B E C N E ================= */
*{margin:0px;padding:0px;}
body{font-size:100%;font-family:Arial, sans-serif;margin-top:0;color:#444;}
a{text-decoration:underline;color:#009EE0;}
a img{border:none;}
a:hover{text-decoration:none;}
.center{text-align:center;}
.right{float:right;}
.left{float:left;}
.plusminus{margin-right:5px;cursor:pointer;padding:1px;}
.adminPict{vertical-align: middle;}
.noborder{border:none;}
.cleaner{clear:both;display:block;}
hr.cleaner{visibility:hidden;}
.pictBlok, .pictBlokSmall{border:1px solid #999;padding:15px;float:left;margin:5px;}
.pictBlokSmall{padding:10px;}
.pictBlok:hover, .pictBlokSmall:hover{background-color:#EDEDDF;}
.pictDisactive{opacity: .3;filter:alpha(opacity=30);}
.helpIcon{text-decoration:underline;cursor:pointer;}
.aright{text-align:right;}
.submit{font-weight:bold;padding:2px 4px;border:1px solid #CE7413;position:relative;cursor:pointer;background-color:#ECE9D8;font-size:1.05em;margin-top:5px;}
a.submit{color: #000; text-decoration: none;}
.submit:hover{left:1px;top:1px;background-color:#E3E0D6;}

.button:hover{position:relative;top:1px;left:1px;}

.print-only{
    display:none;
    }

.acr{border-bottom: 1px  dashed;cursor: help;}
/*ikonka; predevsim na ddmbase*/
a.iconLink{margin-left:3px;}
a.iconLink:hover{position:relative;top:1px;left:1px;}
a.iconLink img{width:32px;height:32px;}

/*serazeny sloupec*/
.ordered{background-color:#F7F7D4 !important;border-right:1px solid #999;border-left:1px solid #999;}

.floating-box{float:left;margin-right:10px;padding-bottom:10px;}
.one-third {width:30%;}

h1{margin-bottom:15px;padding-bottom:3px;border-bottom:1px solid #009EE0;color:#666;letter-spacing:1px;font-size:165%;font-weight:normal;}
h2{margin-top:20px;margin-bottom:10px;color:#666;font-size:140%;border-bottom:1px solid #009EE0;}
h3{font-size:120%;color:#666;padding-top:20px;margin-bottom:4px;}
h4{margin-top:10px;}
fieldset{padding:10px;padding-top:20px;margin-bottom:10px;border:1px solid #009EE0;position:relative;background-color:#FDFDFD;}
fieldset.active{background-color:#F7F7D4;}
input, textarea, select{font-family:Arial, sans-serif;font-size:11px;border:1px solid #CE7413;margin-bottom:3px;vertical-align: middle;}
input, textarea{font-family:Arial, sans-serif;padding:1px 2px;}
input.required, select.required, textarea.required{border-color:#000;}
input[readonly], textarea[readonly]{ cursor: not-allowed;}
textarea{font-family:'Courier new', monospace;}
legend{padding:3px 6px;background-color:#009EE0;color:#FFF;font-weight:bold;letter-spacing:1px;text-align:center;}
table{border:1px solid #999;border-spacing: 0px;border:none;margin-bottom:10px;border-collapse: collapse;}
td, th{padding:1px 3px;}
form{margin-bottom:5px;}
img{vertical-align: middle;}

ul, ol{margin-left:20px;}
hr{border:1px solid #999;margin-top:5px;margin-bottom:20px;}

pre{font-family:Arial, sans-serif;}

#TipLayer table td{padding:2px;}

#topInfo{background-color:#EDEDDF;border:1px solid #009EE0;padding:6px 12px;font-size:120%;font-weight:bold;margin-bottom:15px;}
#topInfo strong{color:#009EE0;}

#zapisInfo{position:fixed;left:30px;bottom:90px;width:145px;color:#009EE0;}
#zapisInfo a, #topInfo a{color:#CF7514;}

/*pop-up window view*/
#view{position:fixed;top:100px;right:100px;width:300px;height:350px;background:#FFF;border:1px solid #000;z-index:99;overflow:auto;display:none;}
#blockContent{background-color:#000;position:absolute;left:0;top:0;width:100%;height:100%;opacity:.80;filter: alpha(opacity=80);display:none;}

#dialog {padding:0px 15px 25px 20px;font-size:75%;}
#dialog p {margin-bottom:10px}

#main{background:#EDEDDF;margin-top:90px;min-width:1000px;_width:1024px;}
#text{border-left:1px solid #CE7413;position:relative;background-color:#FFF;margin-left:165px;min-height:520px;padding:0px 15px 25px 20px;font-size:75%;}
#text p{margin-bottom:5px;}
#footer{height:14px;padding-top:2px;border-left:166px solid #009EE0;padding-left:15px;font-size:70%;border-top:1px solid #009EE0;}

#top{font-size:70%;color:#666;height:90px;position:absolute;top:0;width:100%;}
#top img{margin:10px 48px 0 10px; width:70px;}
#top_menu{text-align:right;top:77px;position:absolute;right:50px;width:300px;}
#top #schoolYear{position:absolute;top:39px;left:88px;font-size:1.2em;}

#top_menu #logout{color:#000;}
#top_menu a{color:black;color:#666;}
#top_menu a:hover{text-decoration:none;}
#loged_user{float:right;margin-top:-70px;text-align:right;}

#search-icon{position:absolute;right:15px;bottom:10px;}

#left{width:166px;top:96px;position:absolute;}
#menu{font-size:80%;}
#menu .main_link{display:block;margin-left:15px;padding:5px 5px 3px 0px;color:#444;font-weight:bold;text-decoration:none;}
#menu a:hover{color:#009EE0;}
#menu ul{list-style-image: url(../images/menu_odrazka.gif);font-size:90%;margin-left:10px;padding:10px 5px 10px 20px;}
#menu ul li{margin-left:10px;margin-bottom:2px;}
#menu ul li a{color:#000;text-decoration:none;text-transform:lowercase;}
#menu ul li a:hover{color:#F00;}

#menu .menu-block {border-bottom:1px solid #999;padding:2px 0 3px 0;}
#menu a:last-child {background-image:none;}

#stav_row{margin-top:15px;font-size:80%;border:1px solid #CE7413;border-left-width:10px;border-right:none;padding:7px;padding-top:4px;width:141px;background-color:#FFF;margin-bottom:6px;}
#stav_row strong{}
#stav_row p{line-height:1.3;font-size:95%;margin-top:4px;}
#stav_row img{float:left;margin-right:4px;vertical-align: middle;}



table.vypis{width:100%;border:1px solid #999;border-right:none;font-size:95%;margin-bottom:10px;margin-top:5px;}
table.vypis tbody tr:first-child td,
table.vypis tbody:first-child td{border-top:1px solid #999;}
table.vypis th{text-align:left;padding:5px 4px 5px 8px;background-color:#FDFDFD;}
table.vypis td{padding:4px 4px 4px 8px;border-right:1px solid #999;}
table.vypis td.center{padding-left:0px;}
table.vypis tr.prazdne td{border-bottom:1px solid #999;}
table.vypis .t1,table.vypis .t1 a,
table.vypis tr:nth-child(even),
table.vypis tr:nth-child(even) a
{color:#444;}
table.vypis .t2,table.vypis .t2 a,
table.vypis tr:nth-child(odd),
table.vypis tr:nth-child(odd) a
{background-color:#EBEBDE;color:#000;}
table.vypis th{font-weight:bold;border-bottom:1px solid #999;}
table.vypis th.last, table.vypis tr th:last-of-type{border-right:1px solid #999;}
table.vypis tr th a{background-color: transparent !important;}

.disabled-row td{background-color:#EEE;color:#888;text-decoration:line-through;}
.disabled-row a{color:#888;text-decoration:line-through;}

/*#history-envelope {width:500px;overflow:auto;}*/
.history-list td, .history-list th{font-size:.5em;}
.subtable{margin-left:20px;border:none;margin-top:4px;border-left:1px solid #999;width:90%;}
.vypis .t1:hover td, .t2:hover td{background-color:#F7F7D4 !important;}
.vypis .t1:hover a, .t2:hover a{background-color:#F7F7D4 !important;}
.history-list tr.t1:hover, .history-list tr.t1:hover a{background-color:#FFF !important;}
.history-list tr.t2:hover, .history-list tr.t2:hover a{background-color:#EBEBDE !important;}
.subtable td, .subtable th{border-bottom:1px solid #999 !important;}
.subtable th{border-top:1px solid #999;}

#moduls_menu{display:none;}

#bottom_menu{font-size:95%;text-align:right;padding-right:10px;margin-top:30px;margin-bottom:6px;color:#999;}
#bottom_menu a,#footer a{color:#999;}

.select{background-color:#006600;color:#FFF;font-weight:bold;}
.notice{border-bottom:1px dotted black;cursor: help;}
tr.fa{font-style:italic;}


td.news{border-left:5px solid #FF0000 !important;}

.line-button{background-color:#009EE0;color:#FFF;font-weight:bold;text-align:center;}
.line-button a{color:#FFF;display:block;width:100%;}
.line-button a:hover{text-decoration:none;}
p.line-button{padding:2px 0;}


/* =============== L O G I N ======================= */
#login_obal{width:180px;font-size:11px;position:absolute;left:50%;top:140px;margin-left:-90px;text-align: center}
#login_main{width:180px;height:300px;border:1px solid #009EE0;border-bottom:16px solid #009EE0;background-color:#EBEBDE;}
#login_logo{position:absolute;left:50%;width:182px;top:30px;transform: translate(-50%,0);text-align:center;}
#login_logo img{max-height:100px;}
#login_main form{width:180px;margin-top:15px;text-align:center;}
#login_main form input{width:120px;padding:2px;}
#login_main .login_submit{margin-top:6px;}
div#login_main p{font-weight:bold;padding:15px;padding-bottom:0px;}
#login_main form p a{color:#000;text-decoration:none;}

#login_notice{position:absolute;width:165px;top:240px;color:#303B8B;text-align:right;text-align:right;line-height:16px;}
#login_alert{color:#C5002D;line-height:1.3;width:180px;margin-left:15px;margin-top:15px;}
#login_autor{text-align:center;margin-top:2px;}

/* ================= K A L E N D A R ================= */
#cal{margin:5px;font-size:13px;}	/*telo dokumentu*/
#cal td{padding:1px;text-align:center;}
#cal td#calTopRow{background-color:#4682B4;}
#cal th.calDayRow{background-color:#87cefa}
#cal #calCurrentDay{background-color:#ffb6c1;}
#cal td.calWeekendDay{background-color:#dbeaf5;}
#cal td.calCurrentWorkingDay{background-color:#FFF;}
#cal span.calCurrentDay{color:#000;}
#cal span.calOtherDay{color:#606060;}
#cal td#calBottomRow{background-color:#87CEFA;}
#cal a#calClose{}

/* ================ H O M E P A G E =============== */
.hp-blocks{
    /*display:flex;*/
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 235px;
    grid-auto-flow: dense;
    grid-gap:10px;
    }
.hp-block{
    border-bottom: 1px solid #999;
    }
.hp-block-scroll{
    overflow: auto;
    height:calc(100% - 25px);
    border-left: 1px solid #999;
    border-right: 1px solid #999;
    }
.hp-block h3{
    padding:4px 4px;
    border-bottom: 1px solid #999;
    margin:0;
    }
.hp-block h3 a{
    float:right;
    font-weight: normal;
    color:#999
    }
.hp-block .vypis{
    max-width:100%;
    margin: 0;
    border:none;
    }
.hp-block .vypis tr :last-of-type{
    border-right: none;
    }


/* ================ FORMS =============== */
.wrong-filled{border:2px solid #EA0017;}
.validator-message{color:red; font-weight:bolder}

/* ================= SCHOOL YEARS ============== */
/*#school-years {border-width:1px}*/
/*#school-years #th1{border-width:1px; border-right-width:0px}*/
/*#school-years #th2{border-width:1px}*/
/*#school-years .left-border-only {border-left-width:1px; border-right-width:0px; border-bottom-width:1px; border-top-width:0px;}*/

/* ================ WORK RECORDS =============== */
#inactive{color: #BDBDBD; font-style: italic;}
#inactive a {color: #BDBDBD; font-style: italic;}

/* ================ PAGING =============== */
#paging {width:100%}


table.room-schedule{border-collapse:collapse;width:100%;}
table.room-schedule table{width:100%;}
table.room-schedule table td{border-bottom:1px solid #CCC;}
tr.performance-info {}
td.day-string {font-weight:bolder; vertical-align:top}


#iframe{min-width:600px;width:100%;_width:600px;height:500px;}

.table-print{border-collapse:collapse;font-size:80% !important;}
.table-print td{border-bottom:1px solid #999;}

#status-messages  {position:fixed;top:22px;width:300px;left:50%;margin-left:-150px;height:50px; z-index:99; font-size:.9em;}
#status-messages div{margin-bottom:5px; opacity: .9; filter:Alpha(Opacity=90);}
#status-messages p{margin:10px 0px;}
#status-messages span{float: left; margin-left:10px;}

/* =================== WEB ======================= */
.web-img-preview {width: 50px; height: 50px}


/* =================== jQuery UI ======================= */
.ui-widget {font-family: inherit; font-size:100%;}