/* This is the default template of CMSimple */
#adminmenu li:nth-child(2){display:none;} 

/* RESET BROWSERSTYLE */
* {padding: 0; margin: 0;}

/* GLOBAL */
h1, h2, h3 {font-family: 'arial', sans-serif; color: #333; font-size: 24px; line-height: 1.2em; font-weight: 100; letter-spacing: 1px; padding: 0 0 6px 0; margin: 6px 0 10px 0;}
h4 {font-family: 'arial', sans-serif; color: #333; font-size: 20px; line-height: 1.4em; font-weight: 100; letter-spacing: 1px; margin: 15px 0 10px 0;}
h5 {font-family: 'arial', sans-serif; color: #333; font-size: 18px; line-height: 1.4em; font-weight: 100; letter-spacing: 1px; margin: 15px 0 10px 0;}
h6 {font-family: 'arial', sans-serif; color: #333; font-size: 16px; line-height: 1.4em; font-weight: 100; letter-spacing: 1px; margin: 15px 0 10px 0;}
p {margin: 10px 0;}
ol {margin: 6px 0;}
ol li {line-height: 1.0em; border: 0; padding: 3px 0; margin: 0 0 0 22px;}
ul {list-style-image: url(images/inhlist.gif); margin: 6px 0;}
ul li {line-height: 1.2em; border: 0; padding: 3px 0; margin: 0 0 0 17px;}
hr {height: 1px; clear: both; color: #999; background-color: #999; border: 0; margin: 16px 0;}
blockquote {padding: 2px 0 2px 20px; border-left: 3px solid #999;}

/* 
##############################
 C O N T E N T  C L A S S E S 
##############################
*/
.tplge_left_border {float: left; border: 5px solid #998; margin: 0 20px 10px 0;}
.tplge_left_noborder {float: left; border: 0; margin: 0 20px 10px 0;}
.tplge_right_border {float: right; border: 5px solid #998; margin: 0 0 10px 20px;}
.tplge_right_noborder {float: right; border: 0; margin: 0 0 10px 20px;}
.tplge_border {border: 5px solid #998;}
.tplge_noborder {border: 0;}

.tplge_code {clear: both; background: #eed; font-family: 'courier new', monospace; border: 1px solid #997; padding: 10px 16px;}
.tplge_box01 {clear: both; background: #e0e9ec; border: 3px solid #c0c6cc; padding: 12px 16px; margin: 16px 0;}
.tplge_legal {padding: 6px 0;}

.XXXXXXXXXXXXXXXXXX {} /* Marker for styles menu tinymce */


/* 
##############################
           B O D Y
##############################
*/

/* BODY UND SEITE / BODY AND PAGE */
body {font-family: arial, sans-serif; font-size: 15px; line-height: 1.4em; color: #444;}
#body {background: #fff; text-align: left;}
#top {font-size: 10px; line-height: 10px;}


/* 
##############################
        L A Y O U T
##############################
*/

#tplge_header {}
#tplge_locator {width: 73vw; text-align: left; margin: 0 auto;}
#tplge_main {text-align: left; margin: 0 auto;}
#tplge_sidebarnav {float: left; width: 22%;}
#tplge_content {position: relative; min-height: 250px;float: left; width: 55%; text-align: center; margin: 0;}
#tplge_sidebarnews {float:right; width: 22%;}
#tplge_prevtopnext {position: absolute; bottom: 0;width: 94%; clear: both;}
#tplge_notes {}


/* 
##############################
        D E S I G N
############################## 
*/

/* KOPFBEREICH / HEADER */
/*#tplge_header {background: #111 url(images/bgheader.jpg) center top no-repeat; border-bottom: 0px solid #999;}*/
#tplge_header {background: #fff url(images/header.png) center top repeat-y; width: 100%;min-height: 100px; margin: 0 auto; }
#tplge_headerin {min-height: 100px; width: 73vw; padding: 0px 0px 0px 20px ;margin: 0 auto;    background-color: #134a5c;}

#tplge_header h1 {font-family: 'arial', sans-serif; color: #ffffff; font-weight: 100; letter-spacing: 1px; text-align: left;vertical-align:bottom; font-weight: 400; padding: 20px 0 0px 0px; margin: 0 0 0 0;}

/* logo */
#tplge_header .tplge_logo {align: left; border: 0px solid #666; margin: 20px 5px 0px 0;}
#tplge_header .tplge_headerimg {float: right; background: #fff; padding: 3px; margin: 0 0 0 3px; border: 0px solid #999;}


/* MAIN */
//#tplge_main {background: #fff url(images/bgmain.jpg) repeat-x;}
#tplge_main {background: #fff ; }
#tplge_mainin {width: 73vw; padding: 0px 0px 0px 0px; margin: 0 auto;}

/* locator */
#tplge_locatorin {font-family: arial, sans-serif; font-size: 14px; text-align: left; color: #333; border-bottom: 1px solid #999; padding: 6px 0; margin: 12px 0 16px 0;}

/* searchbox */
#searchbox {float: left; text-align: left; padding: 0 16px 0 0; margin: 0;}
#searchbox input.submit {background: #c50; color: #fff; border: 1px solid #c50; padding: 0 6px 1px 6px;}
#searchbox .text {width: 140px; background: #fff; font-family: arial, sans-serif; font-size: 15px; border: 1px solid #aaa; padding: 0 3px 2px 3px;}

/* languagemenu */
div.langmenu_container {float: right; text-align: right; border: 0px solid #c00; padding: 0; margin: 0;}
.langmenu_container img {margin: 0 0 0 16px;}


/* SIDEBAR NAVIGATION */
#tplge_sidebarnavin {font-family: arial, sans-serif; border-right: 0px solid #999;}

#tplge_sidebarnav li {list-style-type: none; list-style-image: none;}

#tplge_sidebarnav ul.menulevel1 {color: #036; border: 0; padding: 0; margin: 16px 10px 0 0;}
#tplge_sidebarnav ul.menulevel1 li {font-size: 15px; line-height: 1.2em; text-align: left; font-weight: 600; border-bottom: 1px solid #999; padding: 12px 0 4px 0; margin: 0;}

#tplge_sidebarnav ul ul.menulevel2 {border: 0; padding: 8px 0 4px 0; margin: 0;}
#tplge_sidebarnav ul ul.menulevel2 li {font-size: 15px; line-height: 1.2em; font-weight: 300; text-align: left; border: 0; padding: 4px 0 5px 10px; margin: 0;}

#tplge_sidebarnav ul ul ul.menulevel3 {margin: 5px 0 0 0;}
#tplge_sidebarnav ul ul ul.menulevel3 li {line-height: 1.2em; font-size: 14px; text-align: left; border: 0; padding: 6px 0 1px 20px; margin: 0;}

#tplge_sidebarnav ul.subnav {list-style-type: none; text-align: left; padding: 36px 10px 10px 0; margin: 0;}
#tplge_sidebarnav ul.subnav li {font-size: 14px; padding: 3px 0 3px 0; margin: 0;}
div.subnav {text-align: left; padding: 26px 20px 0 6px; margin: 0;}
p.lastupdate {font-size: 14px; color: #333; padding: 0 10px 0 10px;}

#tplge_sidebarnav a:link {color: #222; font-style: normal;}
#tplge_sidebarnav a:visited {color: #222; font-style: normal;}
#tplge_sidebarnav a:hover {color: #036; font-style: normal; text-decoration: none;}
#tplge_sidebarnav a:active {color: #036; font-style: normal; text-decoration: none;}
#tplge_sidebarnav a:focus {color: #036; font-style: normal; text-decoration: none;}


/* INHALT / CONTENT */
#tplge_contentin {background: url(images/bufnita_drjos.png) bottom+25px right+16px no-repeat;text-align: left;min-height:250px; padding: 20px 16px 20px 16px; margin: 0 0 10px 0;}
#tplge_contentin li {background: none;}
#tplge_contentin h1, #contentin h2, #contentin h3 {}
#tplge_content .text {width: 90%; border: 1px solid #ccc;}

div#error404 .sitemaplevel1 {font-weight: 900;}
div#error404 .sitemaplevel2 {font-weight: 100;}

/* NEWSBOXEN / NEWSBOXES */
#tplge_sidebarnews {}
#tplge_sidebarnewsin {padding: 8px 0 18px 0px;}

div.tplge_news {float: right; width: 100%;}
div.tplge_newsin {line-height: 1.3em; border: 0px solid #fff; padding: 0px 0px 0px 0px; margin: 0 0 0 0;}
div.tplge_newsin ul {list-style-type: none; list-style-image: none; padding: 6px 0 12px 15px;}
div.tplge_newsin li {list-style-type: none; list-style-image: none; line-height: 1.2em; padding: 1px 5px 0 15px; margin: 2px 0;}

div.tplge_newsin h4 {background: #fff url(images/header.png); font-size: 15px; color: #fff; padding: 7px 9px 7px 15px; margin: 20px 0 12px 0;}
div.tplge_newsin h5 {letter-spacing: 1px; margin: 10px 0 0 15px;}
div.tplge_newsin h6 {letter-spacing: 1px; margin: 10px 0 0 15px;}


/* prev-top-next */
#tplge_prevtopnextin {text-align: center; border-top: 1px solid #999; padding: 8px 0 0 0; margin: 30px 0 0 0;}


/* FUSSLINKS / FOOTER LINKS */
#tplge_notesin {font-family: arial, sans-serif; font-size: 14px; text-align: center; color: #fff; padding: 40px 40px 40px 40px; margin: 0;}
#tplge_notes {background: #fff;}
div#tplge_notes p {padding: 0; margin: 0;}

#tplge_notes a:link {color: #000; text-decoration: none;}
#tplge_notes a:visited {color: #999; text-decoration: none;}
#tplge_notes a:hover {color: #f90; text-decoration: underline;}
#tplge_notes a:active {color: #000; text-decoration: underline;}
#tplge_notes a:focus {color: #000; text-decoration: underline;}


/* LINKFORMATIERUNG / LINKS */
a:link {color: #369; text-decoration: none;}
a:visited {color: #369; text-decoration: none;}
a:hover {color: #036; text-decoration: underline;}
a:active {color: #036; text-decoration: underline;}
a:focus {color: #036; text-decoration: underline;}


/* 
##############################
 S O N S T I G E S / R E S T
############################## 
*/

#submit {background: #c60; color: #fff; border: 0; padding: 1px 6px; margin: 1px;}
input.text {border: 1px solid #999!important;}
#passwd {border: 1px solid #999;}
.file {border: 1px solid #999;}
.scroll {background: #eec; border: 1px solid #997; padding: 10px; overflow: scroll;}
table.edit {background: #eee; font-size: 14px; line-height: 1.2em; border: 1px solid #999; margin: 1px 0;}
table.edit td {border: 0; padding: 3px;}
textarea {width: 90%; background: #fff; font-family: arial, sans-serif; border: 1px solid #999; padding: 10px; margin: 0 0 10px 0;}
/* 
##############################
 S O N S T I G E S / R E S T
############################## 
*/

@media screen and (max-width:900px){
    #tplge_mainin{display:grid;}
    #tplge_locator{order:1;}
    .langmenu_container{order:2;}
    #tplge_sidebarnews{
         order:3;
         width:100%;
    }
    #tplge_content{
        order:4;
        width:100%;
    }
    #tplge_sidebarnav{
        order:5;
        width:100%;
    }
}

/* Elegant “single border” table (no per-cell box borders) */
.elegant-table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
table.elegant-table{
  width:100%;
  border:1px solid #c9c9c9;
  border-radius:12px;
  overflow:hidden;
  border-collapse:separate;
  border-spacing:0;
  background:#fff;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:14px;
  line-height:1.35;
  color:#111827;
}
table.elegant-table thead th{
  background:#f6f7f9;
  color:#374151;
  font-weight:600;
  text-align:left;
  padding:12px 14px;
  border-bottom:1px solid #e5e7eb;
  white-space:nowrap;
}
table.elegant-table tbody td{
  padding:12px 14px;
  vertical-align:middle;
}
table.elegant-table tbody tr + tr td{border-top:1px solid #eef0f3;}
table.elegant-table tbody tr:hover{background:#fafafa;}
table.elegant-table th:nth-child(1),
table.elegant-table td:nth-child(1),
table.elegant-table th:nth-child(4),
table.elegant-table td:nth-child(4),
table.elegant-table th:nth-child(5),
table.elegant-table td:nth-child(5),
table.elegant-table th:nth-child(6),
table.elegant-table td:nth-child(6){text-align:center;}
table.elegant-table td:nth-child(3){white-space:nowrap;}


/* Consultation table (separate from elegant-table) */
.consult-table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}

table.consult-table{
  width:100%;
  border:1px solid #c9c9c9;
  border-radius:12px;
  overflow:hidden;
  border-collapse:separate;
  border-spacing:0;
  background:#fff;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:14px;
  line-height:1.35;
  color:#111827;
}

/* header */
table.consult-table thead th{
  background:#f6f7f9;
  color:#374151;
  font-weight:600;
  padding:12px 14px;
  border-bottom:1px solid #e5e7eb;
  text-align:left;
  white-space:nowrap;
}

/* body */
table.consult-table tbody td{
  padding:12px 14px;
  vertical-align:top;
}

/* row separators */
table.consult-table tbody tr + tr td{border-top:1px solid #eef0f3;}
table.consult-table tbody tr:hover{background:#fafafa;}

/* column sizing & alignment (NO nth-child from old table) */
table.consult-table th.col-nr,
table.consult-table td.col-nr{width:72px;text-align:center;white-space:nowrap;}

table.consult-table th.col-name,
table.consult-table td.col-name{min-width:220px;}

table.consult-table th.col-day,
table.consult-table td.col-day{width:120px;white-space:nowrap;}

table.consult-table th.col-time,
table.consult-table td.col-time{width:140px;white-space:nowrap;}

table.consult-table th.col-loc,
table.consult-table td.col-loc{min-width:220px;}

table.consult-table th.col-obs,
table.consult-table td.col-obs{width:140px;white-space:nowrap;color:#374151;}

/* separators for "fise disciplina" sections */
.hr-one {
  border: 0;
  border-top: 1px solid #cfcfcf;
  margin: 12px 0;
}

.hr-two {
  border: 0;
  border-top: 2px double #bdbdbd;
  margin: 18px 0;
}

/* optional: nicer spacing for the list */
.fise-list span { display: inline; }
.fise-list a { text-decoration: none; }
.fise-list a:hover { text-decoration: underline; }


/* Course Descriptions / Fise disciplina: sectiuni pliabile pe ani universitari */
.fise-an { border: 1px solid #ddd; border-radius: 4px; margin: 0 0 12px; padding: 0 12px; }
.fise-an > summary { cursor: pointer; padding: 8px 0; font-weight: bold; font-size: 15px; color: #444; }
.fise-an > summary:hover { color: #000; }
.fise-an[open] > summary { border-bottom: 1px solid #eee; margin-bottom: 8px; }
