div.calendar{position:relative;z-index:10000}.calendar,.calendar table{border:1px solid #556;color:#000;cursor:default;background:#eef;font-family:Lato,sans-serif}.calendar .button{text-align:center;padding:2px}.calendar .nav{background:url(menuarrow.gif) 100% 100% no-repeat #778}.calendar thead .title{font-weight:700;text-align:center;background:#fff;color:#000;padding:2px}.calendar thead .headrow{background:#778;color:#fff}.calendar thead .daynames{background:#bdf}.calendar thead .name{border-bottom:1px solid #556;padding:2px;text-align:center;color:#000}.calendar thead .weekend{color:#a66}.calendar thead .hilite{background-color:#aaf;color:#000;border:1px solid #04f;padding:1px}.calendar thead .active{background-color:#77c;padding:2px 0 0 2px}.calendar tbody .day{width:2em;color:#456;text-align:right;padding:2px 4px 2px 2px}.calendar tbody .day.othermonth{font-size:80%;color:#bbb}.calendar tbody .day.othermonth.oweekend{color:#fbb}.calendar table .wn{padding:2px 3px 2px 2px;border-right:1px solid #000;background:#bdf}.calendar tbody .rowhilite td{background:#def}.calendar tbody .rowhilite td.wn{background:#eef}.calendar tbody td.hilite{background:#def;padding:1px 3px 1px 1px;border:1px solid #bbb}.calendar tbody td.active{background:#cde;padding:2px 2px 0}.calendar tbody td.selected{font-weight:700;border:1px solid #000;padding:1px 3px 1px 1px;background:#fff;color:#000}.calendar tbody td.weekend{color:#a66}.calendar tbody td.today{font-weight:700;color:#00f}.calendar tbody .disabled{color:#999}.calendar tbody .emptycell{visibility:hidden}.calendar tbody .emptyrow{display:none}.calendar tfoot .footrow{text-align:center;background:#556;color:#fff}.calendar tfoot .ttip{background:#fff;color:#445;border-top:1px solid #556;padding:1px}.calendar tfoot .hilite{background:#aaf;border:1px solid #04f;color:#000;padding:1px}.calendar tfoot .active{background:#77c;padding:2px 0 0 2px}.calendar .combo{position:absolute;display:none;top:0;left:0;width:4em;cursor:default;border:1px solid #655;background:#def;color:#000;font-size:90%;z-index:100}.calendar .combo .label,.calendar .combo .label-IEfix{text-align:center;padding:1px}.calendar .combo .label-IEfix{width:4em}.calendar .combo .hilite{background:#acf}.calendar .combo .active{border-top:1px solid #46a;border-bottom:1px solid #46a;background:#eef;font-weight:700}.calendar td.time{border-top:1px solid #000;padding:1px 0;text-align:center;background-color:#f4f0e8}.calendar td.time .ampm,.calendar td.time .hour,.calendar td.time .minute{padding:0 3px 0 4px;border:1px solid #889;font-weight:700;background-color:#fff}.calendar td.time .ampm{text-align:center}.calendar td.time .colon{padding:0 2px 0 3px;font-weight:700}.calendar td.time span.hilite{border-color:#000;background-color:#667;color:#fff}.calendar td.time span.active{border-color:red;background-color:#000;color:#0f0}input[type=checkbox],input[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-block;position:relative;margin:0 0 2px;vertical-align:middle;height:16px;width:16px;cursor:pointer}input[type=checkbox]:before,input[type=radio]:before{content:'';background:#fff;border:2px solid #aaa;display:inline-block;box-sizing:border-box;width:16px;height:16px;position:absolute;top:0;left:0;transition:250ms}input[type=radio]:before{border-radius:100%;top:-.5px}input[type=checkbox]:checked:before,input[type=radio]:checked:before{background-color:#298cba;box-shadow:inset 0 0 0 2px #fff;border-color:#298cba}input[type=radio]:checked:before{box-shadow:inset 0 0 0 3px #fff}input[type=checkbox]:focus:before{border-color:#298cba}input[type=radio]:focus:before{border-color:#298cba;box-shadow:inset 0 0 0 3px #fff}input[type=checkbox]:disabled:before,input[type=radio]:disabled:before{border-color:#aaa;box-shadow:inset 0 0 0 2px #f4f4f4;background:#f4f4f4;cursor:not-allowed}input[type=radio]:disabled:before{box-shadow:inset 0 0 0 3px #f4f4f4}input[type=checkbox]:disabled:checked:before,input[type=radio]:disabled:checked:before{background:#aaa}#cboxOverlay,#cboxWrapper,#colorbox{position:absolute;top:0;left:0;z-index:9999;overflow:hidden}#cboxWrapper{max-width:none}#cboxOverlay{position:fixed;width:100%;height:100%;background:#fff;opacity:.9}#cboxBottomLeft,#cboxMiddleLeft{clear:left}#cboxContent{position:relative;margin-top:32px;overflow:visible}#cboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}#cboxTitle{margin:0;position:absolute;top:-22px;color:#000;left:30px}#cboxLoadingGraphic,#cboxLoadingOverlay{position:absolute;top:0;left:0;width:100%;height:100%}#cboxClose,#cboxNext,#cboxPrevious,#cboxSlideshow{cursor:pointer;border:0;padding:0;margin:0;overflow:visible;text-indent:-9999px;width:20px;height:20px;position:absolute;top:-20px;background:url(images/controls.png) no-repeat}.cboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.cboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0;background:#fff}#cboxContent,#cboxLoadedContent,#colorbox{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#cboxClose:active,#cboxNext:active,#cboxPrevious:active,#cboxSlideshow:active,#colorbox{outline:0}#cboxError{padding:50px;border:1px solid #ccc}#cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat}#cboxLoadingOverlay{background:#000}#cboxCurrent{position:absolute;top:-22px;right:205px;text-indent:-9999px}#cboxPrevious{background-position:0 0;right:44px}#cboxPrevious:hover{background-position:0 -25px}#cboxNext{background-position:-25px 0;right:22px}#cboxNext:hover{background-position:-25px -25px}#cboxClose{background-position:-50px 0;right:0}#cboxClose:hover{background-position:-50px -25px}.cboxSlideshow_off #cboxPrevious,.cboxSlideshow_on #cboxPrevious{right:66px}.cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px;right:44px}.cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px}.cboxSlideshow_off #cboxSlideshow{background-position:-100px 0;right:44px}.cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px}input[type=button],input[type=color],input[type=email],input[type=file],input[type=number],input[type=password],input[type=reset],input[type=search],input[type=submit],input[type=tel],input[type=text],input[type=time],input[type=url],select,textarea{border-color:#cacaca;background:#fff;color:inherit}.select2-container--default .select2-selection--multiple,.select2-container--default .select2-selection--single{border-color:#cacaca!important}input[type=button]:hover,input[type=color]:hover,input[type=email]:hover,input[type=file]:hover,input[type=number]:hover,input[type=password]:hover,input[type=reset]:hover,input[type=search]:hover,input[type=submit]:hover,input[type=tel]:hover,input[type=text]:hover,input[type=time]:hover,input[type=url]:hover,select:hover,textarea:hover{border-color:#aaa}input[type=button]:focus,input[type=color]:focus,input[type=email]:focus,input[type=file]:focus,input[type=number]:focus,input[type=password]:focus,input[type=reset]:focus,input[type=search]:focus,input[type=submit]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,select:focus,textarea:focus{border-color:#aaa #aaa #298cba;outline:0}.select2-container--default.select2-container--focus .select2-selection--multiple,.select2-container--default.select2-container--focus .select2-selection--single,.select2-container--default.select2-container--open .select2-selection--multiple,.select2-container--default.select2-container--open .select2-selection--single{border-color:#aaa #aaa #298cba!important}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#0073aa!important}.select2-container--default .select2-selection__rendered{color:#111!important}code,pre{background:#eaeaea}blockquote{border-left-color:#ddd}input[readonly]{background:#eee}body,html{background:#efefef;height:100%;margin:0;padding:0;word-wrap:break-word}body{color:#111}h1,h2,h3,h4,h5,h6{color:#2d2d2d}#menu{background:#121212;border-color:#000;color:#fff}#menu.fixedmenu-fixed+div{background:#121212}#menu-top select{border-color:#222;background:#1a1a1a;color:#fff;width:100%}#menu-top select:focus{border-bottom-color:#298cba}.menu-inter{border-color:#333;color:#eee}#footer{background:#111;box-shadow:0 2px 4px 0 rgba(0,0,0,.23);clear:both;position:fixed;z-index:99;top:0;left:0;width:100%}#footerwrap{border-color:#000}#footerhelp{background:#fff}.widefat{border-color:#cacaca}.postbox,.widefat{background:#fcfcfc}.postbox>thead th,.widefat tfoot tr th,.widefat th{background:#f9f9f9}.postbox .h3selected{border-top:2px solid #21759b;background:#fcfcfc}.postbox>thead th{border-bottom-color:#dfdfdf}.alt,.alternate,.widefat tr:nth-child(odd){background:#fcfcfc}.widefat tr:nth-child(even){background:#f9f9f9}.highlight,.widefat tr.highlight,.widefat tr:hover,.wp-submenu{background:#fff}input[type=button],input[type=submit]{border-color:#bbb;color:#333}input[type=button]:focus,input[type=button]:hover,input[type=submit]:focus,input[type=submit]:hover{color:#000;border-color:#666}input[type=button]:focus,input[type=submit]:focus{border-bottom-color:#298cba}input[type=button],input[type=reset],input[type=submit]{background:#f9f9f9}input[type=button]:active,input[type=reset]:active,input[type=submit]:active{background:#ededed}a.button-primary,button.button-primary,input.button-primary{border-color:#15556b;font-weight:700;color:#fff;background:#298cba}a.button-primary:active,button.button-primary:active,input.button-primary:active{background:#1d6385}a.button-primary:focus,a.button-primary:hover,button.button-primary:focus,button.button-primary:hover,input.button-primary:focus,input.button-primary:hover{border-color:#10354b;color:#fff;outline:0}.adminmenu a:focus,.adminmenu a:hover,a:active,a:focus,a:hover{color:#d54e21}input[type=checkbox]:focus,input[type=radio]:focus{outline:#000 dotted 1px}div.error,div.updated{background:#fff;border-left:4px solid #b80a04}div.error a{color:#c00}div.updated{border-left-color:#0baa38}.widefat td,.widefat th{border-color:#fff #fff #dfdfdf}a{color:#0073aa}a:active,a:focus,a:hover{color:#0090c3}.wp-submenu a:focus,a:active,a:focus{outline:#0090c3 dotted 1px}summary:focus{outline:#000 dotted 1px}.BottomButton:active,.BottomButton:focus,.BottomButton:hover,.adminmenu a,a.menu-top:focus,a.menu-top:hover{color:#00b9eb}.BottomButton,a.menu-top{color:#eee}.BottomButton img{background-color:#fff}.postbox{border-color:#cacaca;background:#f9f9f9}.postbox th{color:#333}.postbox th:hover,.postbox th:hover h3{color:#000}.adminmenu{background:#121212;border-color:#222}.menu-top{background-color:#121212;text-shadow:none;border-top-color:#222;border-bottom-color:#000}#selectedModuleLink,.menu-top:focus,.menu-top:hover{background-color:#1a1a1a}.no-touch .menu-module:focus-within .menu-top::after{color:#eee}.no-touch .menu-module:hover .menu-top::after{color:#eee}.wp-submenu{background:#111;border-color:#222 #000}#selectedMenuLink,.wp-submenu a:active,.wp-submenu a:focus,.wp-submenu a:hover{background-color:#1a1a1a;color:#eee}.header2{background:#f9f9f9;border-bottom:1px solid #dfdfdf;border-top:1px solid #fff}fieldset{border-color:#cacaca}.bgcolor{background:#ececec}.legend-gray{color:#333}.legend-red{color:red}.uld,.underline-dots{border-bottom-color:gray}.md-preview .tab,.md-preview>div{border-color:#cacaca}.md-preview .tab.disabled,.md-preview .tab:hover{background:#fff;border-color:#aaa}.md-preview>.tab.disabled{border-top:2px solid #21759b;padding-top:5px;pointer-events:none;cursor:default}.current-person,.current-person a,hr{color:#fff}.current-person.student{background:#0073aa}.current-person.staff{background:#0baa38}.current-person.self{background:#fbb429}.current-person a:active,.current-person a:focus,.current-person a:hover{color:#fff}#calendar{background:#dfdfdf;table-layout:fixed;height:80%}#calendar th{background:#333;color:#fff}.calendar-day.full{background:#efe}.calendar-day.minutes{background:#eef}.calendar-day.no-school{background:#fee}.calendar-event{border-color:#000}.calendar-event .assignment{border-color:red}.calendar-event .assigned{border-color:#0f0}.legend-square.full{background-color:#afa}.legend-square.minutes{background-color:#aaf}.legend-square.no-school{background-color:#faa}.attendance-code.present{color:#fff;background-color:#20dd30}.attendance-code.absent{color:#fff;background-color:red}.attendance-code.half-day{color:#fff;background-color:#fc0}.attendance-code.present-alt{color:#fff;background-color:#dfd}.attendance-code.absent-alt{color:#fff;background-color:#fdd}.attendance-code.half-day-alt{color:#fff;background-color:#fed}.attendance-code input,.attendance-code select{color:#111}.switchMenu:before{color:gray}.bar{color:transparent}.bar.relevance{background:gray}.divPortalPoll .bar{background:#b80a04}.tooltip{color:#fff}.tooltip:before{background:#27b4b4}.tooltip>i{background:#111;border:1px solid #000}.teacher-programs-wrapper{border-color:#dfdfdf}.password-strength-bars .score2{background-color:#ff851b}.password-strength-bars .score3,.password-strength-bars .score4{background-color:#2ecc40}.button-upsell-premium{color:#111;background:#ffc439}.button-upsell-premium:active,.button-upsell-premium:focus,.button-upsell-premium:hover{outline:0;background:#ffca50;color:#000}@media only screen and (max-width:1023px){.rt tr{border-right-color:#dfdfdf}}@font-face{font-family:Lato;src:url('fonts/Lato/regular.woff2') format('woff2'),url('fonts/Lato/regular.woff') format('woff');font-weight:400;font-style:normal}@font-face{font-family:Lato;src:url('fonts/Lato/italic.woff2') format('woff2'),url('fonts/Lato/italic.woff') format('woff');font-weight:400;font-style:italic}@font-face{font-family:Lato;src:url('fonts/Lato/bold.woff2') format('woff2'),url('fonts/Lato/bold.woff') format('woff');font-weight:700;font-style:normal}.module-icon{width:32px;height:32px;background-size:contain;background-repeat:no-repeat;display:inline-block;vertical-align:-60%}.header1 .module-icon{vertical-align:bottom}.module-icon.Accounting{background-image:url("modules/Accounting.png")}.module-icon.Attendance{background-image:url("modules/Attendance.png")}.module-icon.Discipline{background-image:url("modules/Discipline.png")}.module-icon.Grades{background-image:url("modules/Grades.png")}.module-icon.Eligibility{background-image:url("modules/Eligibility.png")}.module-icon.Example{background-image:url("modules/Example.png")!important}.module-icon.Food_Service{background-image:url("modules/Food_Service.png")}.module-icon.Library{background-image:url("modules/Library.png")}.module-icon.Messaging{background-image:url("modules/Messaging.png")!important}.module-icon.misc{background-image:url("modules/misc.png")}.module-icon.Quiz{background-image:url("modules/Quiz.png")!important}.module-icon.Resources{background-image:url("modules/Resources.png")}.module-icon.Reports{background-image:url("modules/Reports.png")!important}.module-icon.Scheduling{background-image:url("modules/Scheduling.png")}.module-icon.School_Setup{background-image:url("modules/School_Setup.png")}.module-icon.SMS{background-image:url("modules/SMS.png")}.module-icon.Staff_Absences{background-image:url("modules/Staff_Absences.png")!important}.module-icon.Student_Billing{background-image:url("modules/Student_Billing.png")}.module-icon.Students{background-image:url("modules/Students.png")}.module-icon.Users{background-image:url("modules/Users.png")}#wrap{height:auto;min-height:100%;width:100%;padding-top:39px;box-sizing:border-box}#menu,#menu.fixedmenu-fixed+div{margin-left:0;transition:margin .5s ease-in-out}#menu.fixedmenu-fixed.slide+div,#menu.slide{margin-left:-500px}#menu.fixedmenu-fixed.hide+div{width:0!important}#menu{width:223px;border-width:0 1px 0 0;border-style:solid;position:relative;float:left;overflow:visible;z-index:1!important;min-height:100vh}#menu.fixedmenu-fixed #menu-top{margin-top:39px}#body{padding:0 15px 38px}#footerwrap{height:24px;padding:7px 6px;text-align:center;border-width:1px 0;border-style:solid}#footerhelp{height:auto;width:100%;max-height:0;overflow-y:hidden;overscroll-behavior:contain;transition:max-height .4s ease-in-out}#footerhelp.slide{max-height:33vh;overflow-y:scroll}#footerhelp .footerhelp-content{padding:6px 12px;columns:3 480px;widows:6}.footerhelp-content p:first-child{margin-top:0}#footerhelp .footerhelp-content p:first-child:first-letter{font-weight:700;font-size:larger}.mod{overflow:hidden}.mod:after{content:"";display:table;clear:both}.fixed-col select,input{max-width:100%}#search input,#search select{max-width:217px}#search label{max-width:217px;display:inline-block}#search #general_table select{width:100%}#search .postbox{margin-bottom:16px}#search .popTable .st td:first-child{line-height:1.3}#search .popTable .st label{max-width:none}#search #general_table select[name^=day_],#search #general_table select[name^=year_]{width:auto}textarea{-ms-box-sizing:border-box;box-sizing:border-box;width:100%;min-width:280px;max-width:1024px}input[type=number]{width:68px;padding-right:2px}input[type=number][name*=AMOUNT],input[type=number][name*=CUSTOM],input[type=number][name*=PRICE],input[type=number][name*=amount],input[type=number][name*=balance]{width:88px}input[type=number][name$=_id]{width:108px}input[type=color]{border-width:0;border-style:solid;padding:0;cursor:pointer;width:40px}.color-input-value{height:25px;width:40px;margin:1px 1px 1px 0}button[disabled],fieldset[disabled] button,fieldset[disabled] input,fieldset[disabled] select,fieldset[disabled] textarea,input[disabled],select[disabled],textarea[disabled]{cursor:not-allowed}::selection{color:#fff;background:#0073aa}.calendar,.calendar table,body,div.chosen-container,html,input,select,textarea{font-size:16px;-webkit-font-smoothing:antialiased;-moz-font-smoothing:antialiased;-webkit-text-size-adjust:none}body,input,select,textarea{font-family:Lato,sans-serif;line-height:1.27}a{-webkit-transition:color .2s ease-out;transition:color .2s ease-out}iframe,img{border:0}img{max-width:100%;height:auto}td{line-height:inherit}input,select,textarea{line-height:1.3;margin:1px 1px 1px 0;padding:2px 4px}select{max-width:340px;padding:0 2px}.browser-firefox select{padding:0 2px 0 4px}a,input,select:focus{text-decoration:none}blockquote,q{quotes:none}p{margin:1em 0}blockquote{margin:1em;border-left-width:4px;border-left-style:solid;padding-left:4px}label,summary{cursor:pointer}legend{text-transform:uppercase;padding:0 7px;font-size:14px}li{margin-bottom:6px}small{font-size:70%}h1,h2,h3,h4{display:block;font-weight:700;line-height:1em}h1{font-size:2em;font-weight:400;margin:.67em 0}h2{font-size:1.58em;margin:.83em 0}h3{font-size:1.17em;margin:1em 0}h4{font-size:1.05em;margin:1.33em 0}ul{list-style-type:square}ol,ul{margin-top:0;padding-left:20px}code{font-family:Consolas,Monaco,monospace;padding:1px 3px;margin:0 1px;font-size:14px}pre{overflow-x:auto;padding:10px}hr{background:#dfdfdf;height:2px;border:0;margin:14px 0}sub,sup{font-size:smaller}summary::marker{cursor:pointer}dl dd{margin:.5em 0 1em 2em}.cellpadding-5 td{padding-right:5px;padding-bottom:5px}.postbox,.widefat,input[type=button],input[type=email],input[type=file],input[type=number],input[type=password],input[type=reset],input[type=search],input[type=submit],input[type=tel],input[type=text],input[type=time],input[type=url],select,textarea{border-width:1px;border-style:solid}input[type=color],input[type=email],input[type=file],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],select{box-sizing:border-box;height:27px}.postbox{border-bottom-width:2px}.widefat{clear:both;margin:0;border-spacing:0}.widefat a{text-decoration:none}.widefat thead th:first-of-type{border-top-left-radius:3px}.widefat thead th:last-of-type{border-top-right-radius:3px}.widefat tfoot th:first-of-type{border-bottom-left-radius:3px}.widefat tfoot th:last-of-type{border-bottom-right-radius:3px}.widefat th a[href*=LO_dir]:after{font-family:monospace;font-size:larger;line-height:.5em;content:"\0000a0";display:inline-block;width:10px;padding-left:3px;margin-right:-13px}.widefat th a[href*=LO_dir]{padding-right:13px}.widefat th a[href*="LO_dir=1"]:hover:after{content:"\25b4"}.widefat th a[href*="LO_dir=-1"]:hover:after{content:"\25be"}.widefat th a:empty:after{content:"";padding-left:0}.widefat td,.widefat th{text-align:left;border-width:1px 0;border-style:solid;padding:6px 11px;vertical-align:top}.list.widefat th{padding:4px 11px 1px;line-height:1.8em;height:28px}.widefat.files td{padding:1px 7px;font-weight:400}.widefat tfoot th{border-bottom:none}.widefat th{overflow:hidden;font-weight:400;line-height:1.4em}.widefat td p{margin:0 0 .8em}.list-wrapper{overflow-x:auto}.list,.list-nav{width:100%;border-spacing:0}.list-nav{margin-top:16px}.list-nav td{padding:4px 12px}.list{margin-bottom:16px}.list-no-nav{margin-top:24px}.list-header{margin-bottom:0;border-bottom:1px solid #f1f1f1}.list-header+.postbox{padding:5px;border-top:none;border-top-left-radius:0;border-top-right-radius:0;box-shadow:none}#LO_search{padding-right:28px;height:inherit;width:160px;float:right}#LO_search+.button{position:relative;left:157px;top:3px;height:22px;float:right}div.error,div.updated{padding:3px 7px;margin:16px 0}select option{padding:2px}input[type=button],input[type=reset],input[type=submit]{text-decoration:none;font-size:15px;text-transform:uppercase;line-height:16px;padding:6px 10px 4px;margin:0 8px;cursor:pointer;border-width:1px;border-style:solid;-ms-box-sizing:content-box;box-sizing:content-box;white-space:normal;-webkit-appearance:none;word-break:normal}input[type=button],input[type=color],input[type=email],input[type=file],input[type=number],input[type=password],input[type=reset],input[type=search],input[type=submit],input[type=tel],input[type=text],input[type=time],input[type=url],select,textarea{border-bottom-width:2px;transition:border .2s;border-radius:0}.header2.align-right input[type=button],.header2.align-right input[type=reset],.header2.align-right input[type=submit]{margin:0 0 0 16px}.button-primary{line-height:16px;white-space:nowrap}.proper-date{white-space:nowrap;display:inline-block}.proper-date:first-letter{text-transform:capitalize}#menu form{padding:0 6px}#menu-top span{padding-top:3px}#menu-top .today-date{text-transform:capitalize}#menu-top .today-date,#menu-top .username{padding-left:4px}.adminmenu,.wp-submenu{width:100%;list-style:none}.adminmenu{clear:left;margin:5px 0 0;padding:0}.adminmenu *,.widefat th{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.wp-submenu{top:-1000em;left:0;position:absolute;min-width:215px;padding:1px 0;margin:0;overflow:hidden;-webkit-transition:top 0s .15s,left 0s .15s,box-shadow 0s .15s;transition:top 0s .15s,left 0s .15s,box-shadow 0s .15s;box-shadow:none;border-width:1px;border-style:solid;box-sizing:border-box}.adminmenu li{margin-bottom:0}.menu-module{position:relative}.no-touch .menu-module:focus-within .menu-top:after{content:"\276F";padding-top:6px;position:absolute;right:5px}.no-touch .menu-module:hover .menu-top:after{content:"\276F";position:absolute;right:5px;bottom:13px}#selectedModuleLink:after{content:""}.no-touch .menu-module:focus-within .wp-submenu{-webkit-transition-delay:.15s;transition-delay:.15s;z-index:20;top:0;left:223px;width:223px;max-height:calc(100vh - 80px);overflow-y:auto;word-wrap:break-word;min-height:36px}.no-touch .menu-module:hover .wp-submenu{-webkit-transition-delay:.15s;transition-delay:.15s;z-index:20;top:0;left:223px;width:223px;max-height:calc(100vh - 80px);overflow-y:auto;word-wrap:break-word;min-height:36px}.no-touch .menu-module:focus-within a:not(#selectedModuleLink)+.wp-submenu{overscroll-behavior:contain}.no-touch .menu-module:hover a:not(#selectedModuleLink)+.wp-submenu{overscroll-behavior:contain}#selectedModuleLink+.wp-submenu{transition-delay:0s;z-index:1;top:0;left:0;position:relative;margin-top:0!important;border:0;min-height:0;min-width:205px;max-height:none;box-shadow:none}.menu-inter{text-transform:uppercase;font-size:14px;border-width:1px 0 0;border-style:solid;padding:4px 6px 2px 12px;margin-top:2px}.adminmenu a{display:block;line-height:18px;padding:4px 6px}.menu-top{font-size:15px;min-width:10em;border-width:1px 0;border-style:solid;text-transform:uppercase}.menu-top span{padding-right:4px}.menu-top img{height:32px;vertical-align:middle}.wp-submenu a{padding:4px 6px 4px 12px;font-size:15px;margin:0}.current-person{padding:1px 5px;margin-top:5px;font-weight:700}.postbox-wrapper{overflow-x:auto}.postbox{padding:0;margin:0 auto;position:relative;min-width:255px;line-height:1.1}.postbox>thead th{border-bottom-width:1px;border-bottom-style:solid;padding:0 12px}.postbox .h3multi,.postbox th h3{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.postbox th h3{line-height:32px;height:32px;margin:0;border:0}.postbox th h3,.postbox th h3 a{display:inline-block;font-weight:400}.postbox .h3selected a{font-weight:700}.postbox th h3,.postbox th h3 a,.postbox>thead th,.widefat tfoot tr th,.widefat th,.widefat th a,.widefat th label,.widefat th span{font-size:14px;text-transform:uppercase}.postbox th h3 a{padding:0 10px}.postbox .h3multi{overflow-y:hidden;margin-bottom:-2px}th a{display:block;overflow:hidden}fieldset{border-width:1px;border-style:solid;margin:0 0 4px;padding-bottom:4px}.error a{text-decoration:underline}.updated a{text-decoration:none;padding-bottom:2px}div.error p,div.updated p{margin:.2em 0;padding:2px}h3 span{font-weight:400}.highlight{padding:3px 3px 3px 12px;margin-left:-12px;font-weight:700;border:0}.list.rt .highlight{margin-left:0}.hide{display:none}.user-photo{max-width:150px;max-height:150px}.alignImg{vertical-align:middle;height:32px}.header{border-spacing:0;width:100%}.header1 h2{font-size:32px;font-family:Lato,sans-serif;font-weight:400;margin:0;padding:16px 16px 16px 0}.header2{padding:5px 12px;word-break:break-word}.header2 .fixed-col{word-break:normal}.header2 table{line-height:1.1;margin-left:-3px}.header2 .widefat{margin-left:0}#courses_div{background:#fff;position:absolute;border-style:solid;border-width:1px;padding:4px;right:0;left:0;display:none;max-height:80px;overflow:auto;width:auto}.uld,.underline-dots{border-bottom-style:dotted;border-bottom-width:1px}div.uld,div.underline-dots{display:inline-block;max-height:240px;max-width:100%;overflow:auto;line-height:inherit}.checkbox-label,.no-input-value,span.uld,span.underline-dots{line-height:27px;padding-bottom:1px}.span-grade-points+label{line-height:27px}.md-preview{min-width:280px;max-width:1024px}.md-preview>.tab{border-width:1px;border-bottom:0;border-style:solid;padding:6px 10px;margin:0 2px 0 0;line-height:28px;text-transform:uppercase;font-size:14px}.md-preview .md-link{line-height:26px;float:right}.md-preview>div{display:none;border-width:1px 1px 2px;border-style:solid;padding:2px 4px;margin-bottom:2px;box-sizing:border-box;overflow-y:auto}.md-preview+textarea{border-top-left-radius:0;border-top-right-radius:0;margin-top:0;resize:vertical}.markdown-to-html table{border-collapse:collapse;border-spacing:0}.markdown-to-html td,.markdown-to-html th{border:1px solid #bbb;padding:5px 10px}.markdown-to-html{line-height:1.3}.list.widefat td .markdown-to-html{line-height:1.236em}.legend-gray,.legend-red{font-size:15px;line-height:1.27;margin-top:0;margin-bottom:9px;display:inline-block}.uld~.legend-gray,.uld~.legend-red,.underline-dots~.legend-gray,.underline-dots~.legend-red{margin-top:2px}td>.legend-gray:first-child{margin-bottom:0}.logo{max-width:64px;max-height:64px}#menu .logo{margin-top:4px}.onclick{cursor:pointer}div.onclick{display:inline-block;max-width:100%}.cellspacing-0{border-spacing:0}.width-100p{width:100%}.fixed-col{table-layout:fixed;word-wrap:break-word}.popTable{padding:13px 11px}table.valign-top td,td.valign-top,tr.valign-top{vertical-align:top}table.valign-bottom td,td.valign-bottom,tr.valign-bottom td{vertical-align:bottom}table.valign-middle td,td.valign-middle,tr.valign-middle td{vertical-align:middle}.list.has-input:not(.valign-middle)>tbody>tr>td:first-child .button,.list.has-input:not(.valign-middle)>tbody>tr>td:first-child .button+b{padding-top:7px}.align-right,.align-right td,td.align-right,th.align-right{text-align:right}.col1-align-right>tbody>tr>td:first-child{text-align:right;vertical-align:middle}.center{text-align:center}a.center,span.center{display:block}img.center{display:block;margin:0 auto}table.center{text-align:inherit;margin-left:auto;margin-right:auto}span.nobr{white-space:nowrap}div.nobr div{display:inline}tr.address>td{border:none;padding:0 12px}.br-after{display:block}td.image-radio-list{height:160px;padding:0;margin:0;float:left;position:relative}label.image-radio-list{padding:0 20px}img.image-radio-list{vertical-align:top;max-width:150px;max-height:150px}.button{vertical-align:-15%;height:16px;max-width:none}.button.bigger,.valign-middle .button,a>.button{vertical-align:middle}.button.smaller,.list-header a>.button.smaller{vertical-align:-12%}a>.button.smaller{vertical-align:-18%}.uld .button,.underline-dots .button{vertical-align:text-top}.current-person .button{vertical-align:-40%}.error .button.bigger,.updated .button.bigger{vertical-align:-35%}a:has(.button){white-space:nowrap}a>.button{padding:1px}.button.bigger{height:24px}.button.smaller{height:14px}.button.cal{cursor:pointer;height:32px;margin-top:-9px;vertical-align:middle}.login .popTable td{padding-bottom:16px}.login .popTable tr:last-of-type td{padding-bottom:0}.login #loginform input[type=password],.login #loginform input[type=text]{font-weight:200;font-size:20px;width:100%;max-width:100%;height:34px;padding:3px 6px;margin-top:2px;margin-right:6px;box-shadow:inset 1px 1px 2px rgba(200,200,200,.2)}.BottomButton{margin-right:12px;display:inline-block}.BottomButton span{vertical-align:top;text-transform:uppercase;font-size:14px;padding-left:2px;line-height:24px}.BottomButton img{height:18px;border-radius:50%;padding:3px}#BottomButtonMenu{height:32px;float:left}#BottomButtonMenu svg{stroke:#000;background-color:#fff;padding:3px;height:18px;width:18px;border-radius:50%;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.BottomButton.loading{float:right;padding-bottom:13px;height:24px;width:24px}.BottomButton.hide{display:none}.loading{display:inline-block;width:32px;height:32px;border-radius:50%;background:url('spinning.gif') center/contain no-repeat;visibility:hidden;padding-bottom:0!important}input+.loading{vertical-align:bottom;width:26px;height:26px}input[type=file]{max-width:calc(100% - 38px)}.list.widefat input[type=file]{width:180px}input[type=file]::file-selector-button{display:none}input[type=file]::-webkit-file-upload-button{display:block;width:0;height:0;padding:0;margin:0;-webkit-appearance:none;border:none}input[type=file]::-ms-browse{display:none}.bar{word-wrap:normal}div.st{float:left;padding:4px 16px 4px 0}div.st .list-nav{margin-top:12px}div.st .list{margin-bottom:4px}div.st:last-of-type .list{margin-bottom:12px}div.st>.list-outer{display:inline-grid}#student-comments{max-width:100%;width:500px}#student-comments span{font-size:14px;color:#333}#student-comments div{background:#fff;padding:12px;margin-bottom:12px;border-bottom:1px solid}#student-comments div>:first-child{margin-top:0}#student-comments div>:last-child{margin-bottom:0}#calendar>thead>tr>th{text-transform:uppercase;font-size:15px;font-weight:400;line-height:1.6}.calendar-day{min-width:109px}.calendar-day>table{height:100%;width:100%}.calendar-event{height:26px;font-size:14px;max-width:0;overflow:hidden;white-space:nowrap;line-height:1.231}.calendar-day .bold{font-weight:700}.calendar-day .number{font-size:1.2em}.calendar-minutes{text-align:right}.calendar-newevent{vertical-align:bottom}.no-touch .calendar-minutes,.no-touch .calendar-newevent{visibility:hidden}.calendar-day:hover .calendar-minutes,.calendar-day:hover .calendar-newevent,.calendar-minutes .calendar-block,.calendar-minutes input:checked,.calendar-minutes input[type=number]:not(:placeholder-shown){visibility:visible}.calendar-event div{border-left-width:4px;border-left-style:solid;margin:1px 0}.calendar-event a,.calendar-event span{padding:4px 2px;display:inline-block}td.calendar-menu{white-space:normal;max-width:none}.calendar-event-poptable{max-width:340px}.legend-square{width:32px;height:32px;border-radius:3px}#cboxContent{background:0 0;padding:0 0 8px 8px;margin-left:-8px;margin-right:8px;box-sizing:border-box}#cboxLoadedContent{background:#fff!important;box-shadow:rgba(0,0,0,.3) 0 3px 8px;margin:0 0 0 8px!important;padding:8px 16px!important;overscroll-behavior:contain}#cboxLoadedContent .header1 h2{padding-top:8px}#cboxLoadedContent h1{margin-top:.42em}.addon-readme{width:1080px;max-width:100%}.rt .link2colorBox{display:none}.divPortalPoll{max-height:350px;overflow-y:auto;min-width:300px}.divPortalPoll .widefat{margin-bottom:.8em}.widefat .divPortalPoll>p{margin-bottom:2px}.span-grade-points{float:left}.grade-minmax-wrap{min-width:120px}.grade-minmax-min{float:left;width:23%;font-size:14px}.grade-minmax-grade{float:left;width:48%;text-align:center}.grade-minmax-max{float:left;width:23%;text-align:right;font-size:14px}.grade-minmax-grade,.grade-minmax-max,.grade-minmax-min{word-wrap:initial}.attendance-code{display:inline-block;padding:2px 8px;min-width:10px;text-align:center;line-height:1.82}.arrow.right:before,.switchMenu:before{content:"\25b6\0000a0";vertical-align:10%}.switchMenu.switched:before{content:"\25bc\0000a0"}.arrow,.switchMenu{display:inline-block}.switchMenu{padding:5px}#search details summary{padding:6px;font-weight:700;outline:0}.chart{position:relative;width:calc(90vw - 205px);max-width:1024px}#tipMsg{visibility:hidden;position:absolute;z-index:1000;top:-100px;max-width:300px}.tipmsg-label{display:inline-block;border-bottom:1px dashed #bbb;cursor:default}a>.tipmsg-label{cursor:pointer}.tipmsg-label .button+b,a .button+b{font-weight:400;text-transform:uppercase;font-size:14px;vertical-align:middle}.tooltip{position:absolute;display:inline-block;margin-left:5px;margin-top:-1px;cursor:help;text-transform:none}.tooltip:before{content:"i";font-family:monospace;font-size:.85em;font-weight:700;width:16px;height:16px;line-height:16px;display:inline-block;text-align:center;border-radius:50%}.tooltip>i{visibility:hidden;opacity:0;position:absolute;bottom:100%;left:-90px;width:180px;z-index:999;display:inline-block;padding:5px 7px;transition:opacity .3s;text-align:left;font-size:14px;line-height:1.5;white-space:normal}.tooltip.bottom>i{bottom:auto;top:100%}.legend-gray .tooltip>i,.legend-red .tooltip>i{bottom:130%}.legend-gray .tooltip.bottom>i{bottom:auto;top:130%}.tooltip:hover>i{visibility:visible;opacity:1}.minicolors{margin:2px 2px 2px 0}.a11y-hidden{position:absolute!important;clip:rect(1px 1px 1px 1px);width:1px;height:1px;overflow:hidden}#footerwrap a.a11y-hidden:active,#footerwrap a.a11y-hidden:focus{clip:auto!important;position:absolute;text-decoration:underline;left:9%;width:auto;height:auto}.first-login,.login,.password-reset{height:auto}.first-login #body,.login #body{padding:64px 2px;margin-bottom:0}.login .postbox,.password-reset .postbox{max-width:320px}.ajax-error{position:fixed;top:0;right:0;padding:11px;background-color:red;font-weight:700;color:#fff;z-index:100000;display:none}.tinymce{min-height:200px}.tinymce-document{height:360px}.mce-tinymce.mce-container{max-width:1024px}.tinymce-horizontal .mce-tinymce.mce-container{max-width:1448px}.mce-branding{display:none!important}.mce-tinymce.mce-fullscreen,.tinymce-horizontal .mce-tinymce.mce-fullscreen{max-width:none}.mce-btn-group .mce-btn{float:left}.markdown-to-html img,.tinymce-html img{height:auto}.select2-container--default .select2-selection--multiple,.select2-container--default .select2-selection--single,.select2-dropdown{border-radius:0!important}.select2-container--default .select2-selection--multiple,.select2-container--default .select2-selection--single{border-bottom-width:2px!important;min-height:27px!important}.select2-container--default .select2-search__field{height:auto}.select2-container--default .select2-search__field,.select2-container--default .select2-selection__choice{margin-top:2px!important;margin-bottom:0;font-size:15px}.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:27px!important}.select2-container--default .select2-selection__rendered{text-align:left}.select2-container--default li{margin-bottom:0}.select2-container--default .select2-results__option{padding:5px 6px}.select2-dropdown{z-index:10051!important}.chosen-select,.select2-select{min-width:55px;padding-right:15px}.select2-container{min-width:55px}.chosen-select[multiple],.select2-select[multiple]{padding-right:23px}.no-touch .phone-link{color:#333;cursor:default}.dashboard-module-title{text-transform:uppercase;font-size:15px;font-weight:400;margin:.85em 0}.dashboard-module-title span{padding-right:4px}.dashboard-module-data{padding-left:8px}.dashboard-module-data .tipmsg-label{margin-bottom:11px}.dashboard-module-data .tipmsg-label .legend-gray{margin-bottom:1px}.dashboard-module-data-tipmsg .legend-gray,.dashboard-module-data-tipmsg .legend-gray .proper-date{font-size:14px}.dashboard-module-title .module-icon,.dashboard-module-title img{vertical-align:-70%}.teacher-programs-wrapper{border-style:dashed;padding:7px;width:100%;margin-left:-9px}.password-input-wrapper{display:inline-block}.password-strength-bars{line-height:5px;font-size:5px}.password-strength-bars+br{display:none}.password-toggle{float:right;margin-left:-22px;margin-right:3px;margin-top:2px;cursor:pointer;position:relative;padding:4px 2px;background:#fff}.password-hide{display:none}.password-strength-bars span{background-color:#ff4136;display:inline-block;width:18.5%;line-height:5px;height:5px;padding:0 1px 0 0;visibility:hidden}.password-strength-bars~label{display:inline-block;margin-top:-2px}.mailing-label-left,.mailing-label-right{margin-top:21px;margin-bottom:36px}.mailing-label-left td:first-of-type,.mailing-label-right td:last-of-type{width:60px}.mailing-label-left td:last-of-type,.mailing-label-right td:first-of-type{width:400px}.mailing-label-right{width:auto;margin-right:0;margin-left:auto}.mailing-label-top-margin{margin-top:126px}.button-upsell-premium{border:none;display:inline-block;padding:6px 10px;text-decoration:none;text-transform:uppercase;min-width:112px;text-align:center;border-radius:0;box-sizing:border-box;position:fixed;bottom:16px;right:15px;z-index:9}.addon-upsell-premium{width:1080px;max-width:100%}.addon-upsell-premium img[alt=additional-screenshot]{max-width:260px;padding-top:7px;padding-right:7px}template{display:none}.fix-first-column th:first-child,.fix-first-column>tbody>tr>td:first-child{position:sticky;left:0;right:0}.fix-first-column>tbody>tr>td:first-child{background-color:inherit}.size-3{font-size:12px}.size-1{font-size:14px}.sizep1{font-size:16px}.sizep2{font-size:17px}@media only screen and (max-width:1270px){tr.address.st>td{float:left;width:100%;box-sizing:border-box}tr.address>td{border-style:none none dotted;padding:12px 0}tr.address>td:last-of-type{border-style:none}}@media only screen and (max-width:874px){.mod{position:relative!important;float:none!important;clear:none!important;margin-left:0!important;margin-right:0!important;border:0}#wrap{height:100%}#footer{position:fixed!important;top:0;bottom:auto}#footerwrap{height:32px;padding:3px 12px}.BottomButton{line-height:32px}.BottomButton img{height:24px}#BottomButtonMenu svg{height:24px;width:24px}.BottomButton span{display:none}.BottomButton.loading{height:30px;width:30px}#menu .logo{max-width:64px;max-height:64px;margin:8px 11px;float:right}#menu{position:fixed!important;top:39px;left:0;right:0;bottom:0;width:100%;overflow-y:scroll;padding-bottom:0;min-height:auto;height:0;transition:height .3s ease-in-out}#menu.slide{margin:0;height:calc(100% - 39px)}body:has(#menu.slide) .button-upsell-premium{z-index:0}.adminmenu{margin-bottom:5px}.adminmenu a{padding:3px 12px}.wp-submenu a{padding:6px 12px}#menu form{padding:16px 12px 7px}.menu-top img{height:30px}#menu-top select{max-width:none}.current-person{padding:2px 10px}.no-touch .menu-module:hover .menu-top:after{content:""}.no-touch .menu-module:focus-within .wp-submenu,.no-touch .menu-module:hover .wp-submenu{top:-1000em;left:0}.no-touch .menu-module .wp-submenu,.no-touch .menu-module:hover .wp-submenu{width:100%}#body{width:auto!important;box-sizing:border-box}.header1{padding-left:6px}.header1 h2{font-size:24px;line-height:26px;padding-left:34px;text-indent:-34px}.header1 .module-icon{vertical-align:-6px;width:30px;height:30px}.header2 .fixed-col{word-break:break-all}#LO_search,#search input,#search select{max-width:150px}#search .popTable .st td:first-child{padding-bottom:0}#LO_search{float:left}#LO_search+.button{left:-28px;float:left}#modulesBody textarea{width:100%!important}.chart{width:90vw;min-width:450px}input[type=button],input[type=reset],input[type=submit]{margin:0 4px}tr.st>td{float:left;width:100%;box-sizing:border-box}table.col1-align-right>tbody>tr.st>td:first-child{text-align:left;border-bottom:none}table.col1-align-right>tbody>tr.st>td:nth-child(2){border-top:none}.fixed-col{table-layout:auto}.fixed-col select{max-width:340px}.divPortalPoll{min-width:0}.rt .poll-votes-outer div{display:inline-block}.rt .poll-votes-outer>div:first-child{vertical-align:top;padding-right:6px}.tooltip::before{font-size:.9em;width:20px;height:20px;line-height:20px}.tooltip>i{left:-70px;width:140px;font-size:.9em;padding:5px 7px 7px;line-height:1.4}.first-login,.login,.password-reset{padding:32px 2px}.password-reset{padding-top:0}.mce-container .mce-dropzone{height:60px!important}.teacher-programs-wrapper{padding:.5%;width:99%;margin-left:-.5%}#cboxLoadedContent{padding:8px 12px!important}.rt select[name^=month_]{max-width:60px}}@media only screen and (max-width:1023px){#body{padding:0 6px 38px}.rbr{display:none}.rseparator{visibility:hidden;font-size:0}.rseparator:after{content:' ';display:block}.rt{display:block;position:relative;width:100%}.rt thead{display:block;float:left;max-width:160px}.rt tbody{display:block;width:auto;position:relative;overflow-x:auto;white-space:nowrap;overscroll-behavior-y:none}.rt thead tr{display:block}.list.rt th,.rt th{display:block;line-height:2.137em;height:2.137em}.rt th,.rt th a{line-height:2.137em;white-space:nowrap;text-overflow:ellipsis}.rt tbody tr{display:inline-block;vertical-align:top}.rt td{display:block;line-height:1.87em;height:1.87em}.rt img{max-height:2em}.rt .rt2colorBox img{max-height:unset}.rt input,.rt select{margin:0}.rt tr{border-right-width:1px;border-right-style:solid}.rt input,.rt select,.rt textarea{max-width:190px}.list.rt td,.list.rt th{padding:6px 11px}.rt .link2colorBox{display:block}.rt .link2colorBox .colorboxinline{background:url('btn/visualize.png') 0 0/contain no-repeat;width:24px;height:24px;display:block}.rt2colorBox{overflow:auto}.widefat th a[href*=LO_dir]{padding-right:0}.widefat td .rt2colorBox p{margin-top:0}.rt .link2colorBox+.rt2colorBox{display:none}.rt div.error,.rt div.updated{padding:0;margin:0}.rt .thead-repeat{display:none}.fix-first-column th:first-child,.fix-first-column>tbody>tr>td:first-child{position:unset}.divPortalPoll{max-height:none;overflow-y:visible}#calendar>thead>tr>th{font-size:1em;line-height:1.3;overflow:hidden;word-wrap:normal;padding:4px}.calendar-day{position:relative;min-height:48px}.calendar-day>table{display:block;width:inherit;padding:0 1px;z-index:1}.calendar-day td{display:none}.calendar-day .number,.calendar-day.hover:hover td{display:table-cell}.calendar-day.hover .calendar-event,.calendar-day.hover .calendar-minutes{width:100%}.calendar-day .number{font-size:1em}@keyframes disable-pointer-events{0%,99%{pointer-events:none}}.calendar-day.hover:hover>table{animation:.2s disable-pointer-events;height:auto;min-width:202px;min-height:102px;z-index:2;position:absolute;top:0;left:0;background-color:inherit;box-shadow:2px 2px 2px 1px rgba(0,0,0,.1)}.calendar-day.thu-fri-sat.hover:hover>table{right:0;left:auto;box-shadow:-2px 2px 2px 1px rgba(0,0,0,.1)}#courses_div{position:relative;width:210px;float:right}.widefat th a[href*=LO_dir]:after,.widefat th a[href*=LO_dir]:hover:after{content:""}}html[dir=RTL] #menu,html[dir=RTL] #menu.fixedmenu-fixed+div{margin-left:auto;margin-right:0}html[dir=RTL] #menu.fixedmenu-fixed.slide+div,html[dir=RTL] #menu.slide{margin-right:-500px}html[dir=RTL] #menu{float:right;border-width:0 0 0 1px}html[dir=RTL] #BottomButtonMenu{float:right}html[dir=RTL] .wp-submenu{right:0;left:auto!important;-webkit-transition:top,right;transition:top,right}html.no-touch[dir=RTL] .menu-module:focus-within .menu-top:after{left:5px;right:auto}html.no-touch[dir=RTL] .menu-module:hover .menu-top:after{left:5px;right:auto}html.no-touch[dir=RTL] .menu-module:focus-within .wp-submenu{right:224px}html.no-touch[dir=RTL] .menu-module:hover .wp-submenu{right:224px}html[dir=RTL] #selectedModuleLink+.wp-submenu,html[dir=RTL] #selectedModuleLink:after{right:0;left:auto}html[dir=RTL] .widefat td,html[dir=RTL] .widefat th{text-align:right}html[dir=RTL] div.st{float:right}html[dir=RTL] .tooltip>i{text-align:right}html[dir=RTL] .arrow.right:before,html[dir=RTL] .switchMenu:before{content:"\25c0\0000a0"}html[dir=RTL] .switchMenu.switched::before{content:"\25bc\0000a0"}html[dir=RTL] input[type=checkbox].toggle{right:-9999px}html[dir=RTL] .span-grade-points{float:right}html[dir=RTL] .login form input[type=password],html[dir=RTL] .login form input[type=text]{margin-left:6px;margin-right:0}html[dir=RTL] .align-right,html[dir=RTL] .align-right td,html[dir=RTL] table.col1-align-right>tbody>tr>td:first-child,html[dir=RTL] td.align-right,html[dir=RTL] th.align-right{text-align:left}html[dir=RTL] #LO_search+.button{left:24px}html[dir=RTL] #LO_search{padding-right:2px;padding-left:28px}html[dir=RTL] .header2.align-right input[type=button],html[dir=RTL] .header2.align-right input[type=reset],html[dir=RTL] .header2.align-right input[type=submit]{margin:0 16px 0 0}html[dir=RTL] input:has(+ .password-toggle){padding-right:22px}html[dir=RTL] .teacher-programs-wrapper{margin-left:0;margin-right:-9px}html[dir=RTL] .calendar-event div{border-left-width:0;border-right-width:4px;border-right-style:solid}html[dir=RTL] .select2-container--default .select2-selection__rendered{text-align:right}@media only screen and (max-width:1023px){html[dir=RTL] .calendar-day .hover:hover{right:0}html[dir=RTL] .calendar-day.thu-fri-sat .hover:hover{left:0;right:auto}html[dir=RTL] .calendar-day.hover:hover>table{left:auto;right:0;box-shadow:-2px 2px 2px 1px rgba(0,0,0,.1)}html[dir=RTL] .calendar-day.thu-fri-sat.hover:hover>table{left:0;right:auto;box-shadow:2px 2px 2px 1px rgba(0,0,0,.1)}}@media only screen and (max-width:874px){html[dir=RTL] .header1 h2{padding-left:0;padding-right:42px}}@media only screen and (max-width:479px){.st>.align-right,.st>.center{text-align:left}.header2.align-right input[type=button],.header2.align-right input[type=reset],.header2.align-right input[type=submit]{margin:0 16px 0 0}.calendar-day{height:36px}.calendar-day .hover:hover{min-width:177px;min-height:78px}.fixed-col select,input,select{max-width:260px}.teacher-programs-wrapper{padding:1%;width:98%;margin-left:-1%}.rt thead{max-width:130px}html[dir=RTL] .st>.align-right,html[dir=RTL] .st>.center{text-align:right}html[dir=RTL] .header2.align-right input[type=button],html[dir=RTL] .header2.align-right input[type=reset],html[dir=RTL] .header2.align-right input[type=submit]{margin:0 0 0 16px}}

/* =========================================================
   DICIPACS Académico Enterprise - Login fine tuning
   ========================================================= */

.login #wrap,
.first-login #wrap,
.password-reset #wrap {
    padding-top: 0 !important;
}

.login #footer,
.first-login #footer,
.password-reset #footer {
    display: none !important;
}

.login #body,
.first-login #body,
.password-reset #body {
    padding: 24px 2px 0 !important;
    margin-bottom: 0 !important;
}

.login .postbox,
.password-reset .postbox {
    max-width: 320px;
}

.login .postbox > thead th,
.password-reset .postbox > thead th {
    padding: 8px 12px !important;
}

.login h4.center,
.password-reset h4.center {
    margin-top: 8px !important;
    margin-bottom: 18px !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
}

.login .about-dicipacs-academico,
.password-reset .about-dicipacs-academico {
    margin-top: 10px !important;
}

/* =========================================================
   DICIPACS Académico Enterprise
   Login visual enterprise override
   ========================================================= */

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

body.login,
body.password-reset,
body.first-login {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh !important;
    background: #f4f8fb !important;
    overflow-x: hidden !important;
}

.login #wrap,
.password-reset #wrap,
.first-login #wrap {
    margin: 0 !important;
    padding-top: 0 !important;
    min-height: 100vh !important;
    background:
        radial-gradient(circle at 52% 45%, rgba(0, 174, 239, 0.10) 0, rgba(0, 174, 239, 0.02) 18%, transparent 36%),
        linear-gradient(135deg, #06283b 0%, #06283b 44%, #f5f9fc 44.15%, #f9fcff 100%) !important;
}

.login #footer,
.password-reset #footer,
.first-login #footer {
    display: none !important;
}

.login #body,
.password-reset #body,
.first-login #body {
    min-height: 100vh !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.login .postbox-wrapper,
.password-reset .postbox-wrapper,
.first-login .postbox-wrapper {
    margin: 0 auto !important;
    padding: 24px !important;
    width: 100% !important;
    max-width: 430px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

.login .postbox,
.password-reset .postbox,
.first-login .postbox {
    width: 100% !important;
    max-width: 390px !important;
    margin: 0 auto !important;
    border: 1px solid rgba(0, 174, 239, 0.14) !important;
    border-radius: 26px !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 24px 70px rgba(3, 30, 45, 0.22) !important;
}

.login .postbox > thead,
.password-reset .postbox > thead,
.first-login .postbox > thead {
    display: none !important;
}

.login .popTable,
.password-reset .popTable,
.first-login .popTable {
    padding: 26px 28px 20px !important;
    border: none !important;
    background: transparent !important;
}

.login img.logo.center,
.password-reset img.logo.center,
.first-login img.logo.center {
    display: block !important;
    width: min(165px, 58%) !important;
    max-width: 165px !important;
    height: auto !important;
    margin: 0 auto 12px !important;
}

.login h4.center,
.password-reset h4.center,
.first-login h4.center {
    margin: 4px 0 22px !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: #061d2d !important;
    letter-spacing: 0.2px !important;
}

.login #loginform table,
.password-reset form table,
.first-login form table {
    margin-top: 0 !important;
}

.login #loginform input[type="text"],
.login #loginform input[type="password"],
.password-reset input[type="text"],
.password-reset input[type="password"],
.first-login input[type="text"],
.first-login input[type="password"] {
    width: 100% !important;
    height: 44px !important;
    border-radius: 14px !important;
    border: 1px solid #dbeaf2 !important;
    background: #ffffff !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025) !important;
    box-sizing: border-box !important;
}

.login #loginform label,
.password-reset label,
.first-login label {
    font-weight: 500 !important;
    color: #061d2d !important;
}

.login #loginform .align-right a,
.password-reset .align-right a {
    color: #007ec2 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.login input[type="submit"].button-primary,
.password-reset input[type="submit"].button-primary,
.first-login input[type="submit"].button-primary {
    min-width: 130px !important;
    height: 44px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #00d4ef 0%, #0096df 100%) !important;
    box-shadow: 0 12px 28px rgba(0, 159, 223, 0.32) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
}

.login input[type="submit"].button-primary:hover,
.password-reset input[type="submit"].button-primary:hover,
.first-login input[type="submit"].button-primary:hover {
    filter: brightness(1.03) !important;
    transform: translateY(-1px) !important;
}

.login .about-dicipacs-academico,
.password-reset .about-dicipacs-academico,
.first-login .about-dicipacs-academico {
    margin-top: 14px !important;
    border: 1px solid #dbeaf2 !important;
    border-radius: 14px !important;
    background: #f8fcff !important;
    overflow: hidden !important;
}

.login .about-dicipacs-academico summary,
.password-reset .about-dicipacs-academico summary,
.first-login .about-dicipacs-academico summary {
    padding: 12px 14px !important;
    cursor: pointer !important;
    font-weight: 700 !important;
    color: #061d2d !important;
}

@media only screen and (max-width: 640px) {
    .login #wrap,
    .password-reset #wrap,
    .first-login #wrap {
        background:
            linear-gradient(160deg, #06283b 0%, #06283b 34%, #f5f9fc 34.2%, #f9fcff 100%) !important;
    }

    .login #body,
    .password-reset #body,
    .first-login #body {
        align-items: flex-start !important;
        padding-top: 22px !important;
    }

    .login .postbox-wrapper,
    .password-reset .postbox-wrapper,
    .first-login .postbox-wrapper {
        padding: 14px !important;
    }

    .login .popTable,
    .password-reset .popTable,
    .first-login .popTable {
        padding: 22px 20px 18px !important;
    }

    .login img.logo.center,
    .password-reset img.logo.center,
    .first-login img.logo.center {
        max-width: 145px !important;
        width: min(145px, 58%) !important;
    }
}


/* =========================================================
   DICIPACS Académico Enterprise
   Login Concept 1 - Corporate Technology Background
   ========================================================= */

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100% !important;
}

body.login,
body.password-reset,
body.first-login {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
    background: #031625 !important;
}

.login #wrap,
.password-reset #wrap,
.first-login #wrap {
    position: relative !important;
    min-height: 100vh !important;
    width: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    background:
        radial-gradient(circle at 52% 43%, rgba(0, 185, 255, 0.20) 0%, rgba(0, 185, 255, 0.08) 18%, transparent 38%),
        radial-gradient(circle at 82% 55%, rgba(0, 135, 220, 0.20) 0%, transparent 28%),
        linear-gradient(135deg, #031625 0%, #062941 48%, #031625 100%) !important;
}

/* líneas tecnológicas izquierda */
.login #wrap::before,
.password-reset #wrap::before,
.first-login #wrap::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    opacity: 0.55 !important;
    background:
        linear-gradient(135deg, transparent 0 19%, rgba(0, 160, 235, 0.28) 19.1%, transparent 19.25%),
        linear-gradient(135deg, transparent 0 24%, rgba(0, 160, 235, 0.16) 24.1%, transparent 24.25%),
        linear-gradient(135deg, transparent 0 78%, rgba(0, 160, 235, 0.22) 78.1%, transparent 78.22%),
        radial-gradient(circle at 11% 32%, rgba(0, 190, 255, 0.75) 0 2px, transparent 3px),
        radial-gradient(circle at 17% 55%, rgba(0, 190, 255, 0.50) 0 2px, transparent 3px),
        radial-gradient(circle at 20% 22%, rgba(0, 190, 255, 0.45) 0 2px, transparent 3px);
    pointer-events: none !important;
}

/* globo digital derecho */
.login #wrap::after,
.password-reset #wrap::after,
.first-login #wrap::after {
    content: "" !important;
    position: absolute !important;
    right: 7% !important;
    top: 25% !important;
    width: 420px !important;
    height: 420px !important;
    border-radius: 50% !important;
    opacity: 0.32 !important;
    background-image:
        radial-gradient(circle, rgba(0, 190, 255, 0.95) 1.2px, transparent 1.8px);
    background-size: 12px 12px !important;
    filter: drop-shadow(0 0 28px rgba(0, 170, 240, 0.22)) !important;
    -webkit-mask-image: radial-gradient(circle, #000 0 62%, transparent 69%);
    mask-image: radial-gradient(circle, #000 0 62%, transparent 69%);
    pointer-events: none !important;
}

/* quitar barra superior heredada */
.login #footer,
.password-reset #footer,
.first-login #footer {
    display: none !important;
}

.login #body,
.password-reset #body,
.first-login #body {
    position: relative !important;
    z-index: 2 !important;
    min-height: 100vh !important;
    width: 100% !important;
    padding: 32px 16px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

/* tarjeta central */
.login .postbox-wrapper,
.password-reset .postbox-wrapper,
.first-login .postbox-wrapper {
    width: 100% !important;
    max-width: 455px !important;
    padding: 0 !important;
    margin: 0 auto !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

.login .postbox,
.password-reset .postbox,
.first-login .postbox {
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 auto !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    border-radius: 26px !important;
    overflow: hidden !important;
    background: rgba(255,255,255,0.965) !important;
    box-shadow:
        0 28px 80px rgba(0,0,0,0.35),
        0 1px 0 rgba(255,255,255,0.35) inset !important;
}

/* ocultar encabezado superior del recuadro */
.login .postbox > thead,
.password-reset .postbox > thead,
.first-login .postbox > thead {
    display: none !important;
}

.login .popTable,
.password-reset .popTable,
.first-login .popTable {
    padding: 32px 36px 24px !important;
    border: none !important;
    background: transparent !important;
}

/* logo */
.login img.logo.center,
.password-reset img.logo.center,
.first-login img.logo.center {
    display: block !important;
    width: min(170px, 60%) !important;
    max-width: 170px !important;
    height: auto !important;
    margin: 0 auto 14px !important;
}

/* textos */
.login .dicipacs-login-product,
.password-reset .dicipacs-login-product,
.first-login .dicipacs-login-product {
    margin: 0 0 4px !important;
    text-align: center !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    color: #071f31 !important;
    letter-spacing: 0.2px !important;
}

.login .dicipacs-login-tenant,
.password-reset .dicipacs-login-tenant,
.first-login .dicipacs-login-tenant {
    margin: 0 0 26px !important;
    text-align: center !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    font-weight: 500 !important;
    color: #004f91 !important;
}

/* formulario */
.login #loginform table,
.password-reset form table,
.first-login form table {
    width: 100% !important;
    margin: 0 !important;
}

.login #loginform td,
.password-reset form td,
.first-login form td {
    padding: 0 0 14px !important;
}

.login .dicipacs-login-label-text,
.password-reset .dicipacs-login-label-text,
.first-login .dicipacs-login-label-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.login .dicipacs-login-field,
.password-reset .dicipacs-login-field,
.first-login .dicipacs-login-field {
    display: block !important;
    position: relative !important;
    width: 100% !important;
}

.login #loginform input[type="text"],
.login #loginform input[type="password"],
.password-reset input[type="text"],
.password-reset input[type="password"],
.first-login input[type="text"],
.first-login input[type="password"] {
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px !important;
    border-radius: 12px !important;
    border: 1px solid #cfdde7 !important;
    background: #fff !important;
    color: #071f31 !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.025) !important;
}

.login #loginform input[type="text"]:focus,
.login #loginform input[type="password"]:focus,
.password-reset input[type="text"]:focus,
.password-reset input[type="password"]:focus,
.first-login input[type="text"]:focus,
.first-login input[type="password"]:focus {
    outline: none !important;
    border-color: #00a9e8 !important;
    box-shadow: 0 0 0 4px rgba(0,169,232,0.13) !important;
}

.login #loginform input::placeholder,
.password-reset input::placeholder,
.first-login input::placeholder {
    color: #6c7f91 !important;
    opacity: 1 !important;
}

.login #loginform .align-right,
.password-reset .align-right,
.first-login .align-right {
    margin-top: -4px !important;
    margin-bottom: 12px !important;
}

.login #loginform .align-right a,
.password-reset .align-right a,
.first-login .align-right a {
    color: #006fc9 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

/* botón */
.login input[type="submit"].button-primary,
.password-reset input[type="submit"].button-primary,
.first-login input[type="submit"].button-primary {
    width: 100% !important;
    height: 48px !important;
    max-width: 260px !important;
    border: none !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #06bff0 0%, #005fca 100%) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 0.4px !important;
    box-shadow: 0 16px 32px rgba(0, 111, 201, 0.32) !important;
}

.login input[type="submit"].button-primary:hover,
.password-reset input[type="submit"].button-primary:hover,
.first-login input[type="submit"].button-primary:hover {
    transform: translateY(-1px) !important;
    filter: brightness(1.03) !important;
}

/* acerca de */
.login .about-dicipacs-academico,
.password-reset .about-dicipacs-academico,
.first-login .about-dicipacs-academico {
    margin-top: 18px !important;
    border-top: 1px solid #e0e8ef !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.login .about-dicipacs-academico summary,
.password-reset .about-dicipacs-academico summary,
.first-login .about-dicipacs-academico summary {
    padding: 15px 4px 0 !important;
    font-weight: 700 !important;
    color: #071f31 !important;
    cursor: pointer !important;
}

.login .about-dicipacs-academico p,
.password-reset .about-dicipacs-academico p,
.first-login .about-dicipacs-academico p {
    color: #394f60 !important;
}

/* responsive */
@media only screen and (max-width: 768px) {
    .login #wrap::after,
    .password-reset #wrap::after,
    .first-login #wrap::after {
        right: -180px !important;
        top: 12% !important;
        width: 360px !important;
        height: 360px !important;
    }

    .login #body,
    .password-reset #body,
    .first-login #body {
        padding: 20px 12px !important;
    }

    .login .postbox,
    .password-reset .postbox,
    .first-login .postbox {
        max-width: 100% !important;
        border-radius: 24px !important;
    }

    .login .popTable,
    .password-reset .popTable,
    .first-login .popTable {
        padding: 26px 22px 20px !important;
    }

    .login img.logo.center,
    .password-reset img.logo.center,
    .first-login img.logo.center {
        max-width: 150px !important;
        width: min(150px, 58%) !important;
    }
}


/* =========================================================
   DICIPACS Académico Enterprise
   LOGIN V3 - FORCE CENTER CORPORATE
   Corrige layout heredado y centra tarjeta real
   ========================================================= */

body.login,
body.password-reset,
body.first-login {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh !important;
    overflow: hidden !important;
    background: #031625 !important;
}

/* Fondo corporativo principal */
body.login::before,
body.password-reset::before,
body.first-login::before {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 0 !important;
    background:
        radial-gradient(circle at 50% 42%, rgba(0, 184, 255, 0.22) 0%, rgba(0, 184, 255, 0.08) 20%, transparent 42%),
        radial-gradient(circle at 82% 56%, rgba(0, 145, 230, 0.18) 0%, transparent 30%),
        linear-gradient(135deg, #031625 0%, #062941 46%, #031625 100%) !important;
}

/* Patrón tecnológico sutil */
body.login::after,
body.password-reset::after,
body.first-login::after {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    opacity: 0.45 !important;
    background:
        linear-gradient(135deg, transparent 0 16%, rgba(0, 190, 255, 0.24) 16.08%, transparent 16.18%),
        linear-gradient(135deg, transparent 0 23%, rgba(0, 190, 255, 0.16) 23.08%, transparent 23.18%),
        linear-gradient(315deg, transparent 0 21%, rgba(0, 190, 255, 0.13) 21.08%, transparent 21.18%),
        radial-gradient(circle at 15% 31%, rgba(0, 200, 255, 0.75) 0 2px, transparent 3px),
        radial-gradient(circle at 21% 58%, rgba(0, 200, 255, 0.50) 0 2px, transparent 3px),
        radial-gradient(circle at 72% 32%, rgba(0, 200, 255, 0.35) 0 1.5px, transparent 2.5px);
}

/* Neutralizar layout viejo */
.login #wrap,
.password-reset #wrap,
.first-login #wrap,
.login #body,
.password-reset #body,
.first-login #body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    background: transparent !important;
    overflow: hidden !important;
}

.login #footer,
.password-reset #footer,
.first-login #footer,
.login .postbox > thead,
.password-reset .postbox > thead,
.first-login .postbox > thead {
    display: none !important;
}

/* Centrado real, independiente del layout interno */
.login .postbox-wrapper,
.password-reset .postbox-wrapper,
.first-login .postbox-wrapper {
    position: fixed !important;
    z-index: 10 !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    width: 430px !important;
    max-width: calc(100vw - 32px) !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

/* Tarjeta premium */
.login .postbox,
.password-reset .postbox,
.first-login .postbox {
    width: 100% !important;
    max-width: 430px !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, 0.965) !important;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.38),
        0 1px 0 rgba(255, 255, 255, 0.45) inset !important;
}

/* Contenido de tarjeta */
.login .popTable,
.password-reset .popTable,
.first-login .popTable {
    padding: 30px 34px 24px !important;
    border: none !important;
    background: transparent !important;
}

/* Logo más fino */
.login img.logo.center,
.password-reset img.logo.center,
.first-login img.logo.center {
    display: block !important;
    width: min(155px, 56%) !important;
    max-width: 155px !important;
    height: auto !important;
    margin: 0 auto 12px !important;
}

/* Textos principales */
.login .dicipacs-login-product,
.password-reset .dicipacs-login-product,
.first-login .dicipacs-login-product,
.login h4.center,
.password-reset h4.center,
.first-login h4.center {
    margin: 0 0 6px !important;
    text-align: center !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    color: #071f31 !important;
}

.login .dicipacs-login-tenant,
.password-reset .dicipacs-login-tenant,
.first-login .dicipacs-login-tenant {
    margin: 0 0 24px !important;
    text-align: center !important;
    font-size: 15px !important;
    color: #005fa8 !important;
    font-weight: 500 !important;
}

/* Inputs limpios */
.login #loginform table,
.password-reset form table,
.first-login form table {
    width: 100% !important;
    margin: 0 !important;
}

.login #loginform td,
.password-reset form td,
.first-login form td {
    padding: 0 0 13px !important;
}

.login .dicipacs-login-label-text,
.password-reset .dicipacs-login-label-text,
.first-login .dicipacs-login-label-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.login #loginform input[type="text"],
.login #loginform input[type="password"],
.password-reset input[type="text"],
.password-reset input[type="password"],
.first-login input[type="text"],
.first-login input[type="password"] {
    width: 100% !important;
    height: 46px !important;
    padding: 0 16px !important;
    border-radius: 12px !important;
    border: 1px solid #cfdde7 !important;
    background: #ffffff !important;
    color: #071f31 !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.025) !important;
}

.login #loginform input[type="text"]:focus,
.login #loginform input[type="password"]:focus,
.password-reset input[type="text"]:focus,
.password-reset input[type="password"]:focus,
.first-login input[type="text"]:focus,
.first-login input[type="password"]:focus {
    outline: none !important;
    border-color: #00a9e8 !important;
    box-shadow: 0 0 0 4px rgba(0,169,232,0.13) !important;
}

.login #loginform input::placeholder,
.password-reset input::placeholder,
.first-login input::placeholder {
    color: #66798c !important;
    opacity: 1 !important;
}

.login #loginform .align-right,
.password-reset .align-right,
.first-login .align-right {
    margin-top: -4px !important;
    margin-bottom: 12px !important;
}

.login #loginform .align-right a,
.password-reset .align-right a,
.first-login .align-right a {
    color: #006fc9 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

/* Botón enterprise */
.login input[type="submit"].button-primary,
.password-reset input[type="submit"].button-primary,
.first-login input[type="submit"].button-primary {
    display: block !important;
    width: 100% !important;
    max-width: 260px !important;
    height: 48px !important;
    margin: 4px auto 0 !important;
    border: none !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #06bff0 0%, #005fca 100%) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 0.4px !important;
    box-shadow: 0 16px 32px rgba(0, 111, 201, 0.32) !important;
}

.login input[type="submit"].button-primary:hover,
.password-reset input[type="submit"].button-primary:hover,
.first-login input[type="submit"].button-primary:hover {
    transform: translateY(-1px) !important;
    filter: brightness(1.03) !important;
}

/* Acerca de integrado */
.login .about-dicipacs-academico,
.password-reset .about-dicipacs-academico,
.first-login .about-dicipacs-academico {
    margin-top: 18px !important;
    border-top: 1px solid #e1e9ef !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.login .about-dicipacs-academico summary,
.password-reset .about-dicipacs-academico summary,
.first-login .about-dicipacs-academico summary {
    padding: 15px 4px 0 !important;
    font-weight: 700 !important;
    color: #071f31 !important;
    cursor: pointer !important;
}

/* Copyright inferior tipo boceto */
.login #body::after,
.password-reset #body::after,
.first-login #body::after {
    content: "© 2017 - 2026 DICIPACS. Todos los derechos reservados." !important;
    position: fixed !important;
    z-index: 9 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 24px !important;
    text-align: center !important;
    color: rgba(255,255,255,0.76) !important;
    font-size: 13px !important;
    letter-spacing: 0.2px !important;
}

/* Móvil */
@media only screen and (max-width: 768px) {
    body.login,
    body.password-reset,
    body.first-login {
        overflow-y: auto !important;
    }

    .login #wrap,
    .password-reset #wrap,
    .first-login #wrap,
    .login #body,
    .password-reset #body,
    .first-login #body {
        height: auto !important;
        min-height: 100vh !important;
        overflow: visible !important;
    }

    .login .postbox-wrapper,
    .password-reset .postbox-wrapper,
    .first-login .postbox-wrapper {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 24px auto 70px !important;
        width: calc(100vw - 28px) !important;
        max-width: 430px !important;
    }

    .login .popTable,
    .password-reset .popTable,
    .first-login .popTable {
        padding: 26px 22px 20px !important;
    }

    .login img.logo.center,
    .password-reset img.logo.center,
    .first-login img.logo.center {
        max-width: 145px !important;
        width: min(145px, 56%) !important;
    }
}


/* =========================================================
   DICIPACS Académico Enterprise
   Login V4 - Ajustes finos finales
   ========================================================= */

/* Oculta copyright previo que quedó pegado abajo a la izquierda */
.login #body::after,
.password-reset #body::after,
.first-login #body::after {
    content: none !important;
    display: none !important;
}

/* Copyright elegante debajo de la tarjeta */
.login .postbox-wrapper::after,
.password-reset .postbox-wrapper::after,
.first-login .postbox-wrapper::after {
    content: "© 2017 - 2026 DICIPACS. Todos los derechos reservados." !important;
    position: absolute !important;
    top: calc(100% + 18px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: max-content !important;
    max-width: calc(100vw - 32px) !important;
    text-align: center !important;
    color: rgba(255,255,255,0.82) !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    letter-spacing: 0.2px !important;
    white-space: normal !important;
    pointer-events: none !important;
}

/* Baja ligeramente "Ayuda contraseña" */
.login #loginform .align-right,
.password-reset .align-right,
.first-login .align-right {
    margin-top: 6px !important;
    margin-bottom: 18px !important;
}

/* Ajuste más limpio del bloque Acerca de */
.login .about-dicipacs-academico,
.password-reset .about-dicipacs-academico,
.first-login .about-dicipacs-academico {
    margin-top: 16px !important;
}

/* Logo institucional dentro del menú lateral */
#menu img.logo.dicipacs-school-logo {
    display: block !important;
    width: auto !important;
    max-width: 170px !important;
    max-height: 92px !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 24px auto 18px !important;
}

/* =========================================================
   DICIPACS Académico Enterprise
   Logo institucional en menú lateral
   ========================================================= */

#menu img.logo.dicipacs-school-logo,
#menu-top img.logo.dicipacs-school-logo {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 190px !important;
    max-height: 96px !important;
    object-fit: contain !important;
    margin: 24px auto 18px !important;
    padding: 0 !important;
}

/* Cuando el logo institucional sea ancho, evitar que se deforme */
#menu a.center,
#menu-top a.center {
    display: block !important;
    text-align: center !important;
}

/* =========================================================
   DICIPACS Académico Enterprise
   Logo institucional transparente en menú lateral
   ========================================================= */

#menu .dicipacs-school-logo-link,
#menu-top .dicipacs-school-logo-link {
    display: block !important;
    text-align: center !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 22px auto 18px !important;
}

#menu img.logo.dicipacs-school-logo,
#menu-top img.logo.dicipacs-school-logo {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 190px !important;
    max-height: 96px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* =========================================================
   DICIPACS Contexto Académico - ajuste visual menú lateral
   ========================================================= */

#menu a[href*="DICIPACS_Context/Services.php"],
#menu a[href*="DICIPACS_Context/Modalities.php"],
#menu a[href*="DICIPACS_Context/Programs.php"],
#menu a[href*="DICIPACS_Context/CurricularPeriods.php"],
#menu a[href*="DICIPACS_Context/AcademicModels.php"],
#menu a[href*="DICIPACS_Context/AcademicModelPeriods.php"] {
    padding-left: 18px !important;
}

#menu a[href*="DICIPACS_Context/Services.php"] {
    margin-top: 2px !important;
}

#menu a[href*="DICIPACS_Context/AcademicModelPeriods.php"] {
    margin-bottom: 6px !important;
}

/* =========================================================
   DICIPACS Contexto Académico - alineación final menú
   ========================================================= */

#menu a[href*="DICIPACS_Context/"] {
    padding-left: 12px !important;
    text-transform: none !important;
}

#menu a[href*="DICIPACS_Context/Index.php"] {
    font-weight: normal !important;
}

/* DICIPACS_HELP_JUSTIFIED_V1 */
#footerhelp .footerhelp-content {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    line-height: 1.5;
}
#footerhelp .footerhelp-content p,
#footerhelp .footerhelp-content li {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}
#footerhelp .footerhelp-content h1,
#footerhelp .footerhelp-content h2,
#footerhelp .footerhelp-content h3,
#footerhelp .footerhelp-content h4 {
    text-align: left;
}

/* DICIPACS_IUM_LOGIN_BRANDING_V2_START */
/* Login: nombre institucional Universidad IUM. */
.login .dicipacs-login-tenant,
.password-reset .dicipacs-login-tenant,
.first-login .dicipacs-login-tenant {
    color: #990D3D !important;
    text-transform: uppercase !important;
}

/* Login: justificar solo el texto legal de Acerca de. */
.login .about-dicipacs-academico > p.size-3,
.password-reset .about-dicipacs-academico > p.size-3,
.first-login .about-dicipacs-academico > p.size-3 {
    text-align: justify !important;
    text-align-last: left;
    text-justify: inter-word;
}
/* DICIPACS_IUM_LOGIN_BRANDING_V2_END */

/* =========================================================
   DICIPACS STUDENT FIELD LABELS V1
   Mejora de lectura en la ficha del estudiante
   ========================================================= */

form#student .legend-gray,
form#student .legend-red {
    display: inline-block;
    margin-top: 2px;
    font-weight: 700 !important;
    line-height: 1.35;
}

form#student .legend-gray {
    color: #2d2d2d !important;
}


/* DICIPACS ENTERPRISE UX 0.1.0 */
/*
 * DICIPACS Enterprise UX
 * Version: 0.1.0
 *
 * Capa visual sobre FlatSIS.
 * No modifica HTML, PHP, bases de datos ni permisos.
 *
 * Primera etapa:
 * - Tipografia y superficies
 * - Formularios
 * - Botones
 * - Tablas administrativas
 * - Navegacion y accesibilidad
 */

:root {
  --dux-primary: #174a79;
  --dux-primary-hover: #12385c;
  --dux-navy: #172638;
  --dux-surface: #ffffff;
  --dux-background: #f3f6fa;
  --dux-border: #dbe3ec;
  --dux-text: #243447;
  --dux-muted: #64748b;
  --dux-radius: 8px;
  --dux-radius-small: 5px;
}

body {
  font-family:
    "Lato", "Segoe UI", Arial, sans-serif;
  color: var(--dux-text);
  -webkit-font-smoothing: antialiased;
}

input[type="text"],
input[type="search"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="password"],
select,
textarea {
  border-radius: var(--dux-radius-small);
  border-color: var(--dux-border);
  transition:
    border-color .16s ease,
    box-shadow .16s ease;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--dux-primary);
  outline-offset: 2px;
}

input[type="text"]:focus,
input[type="search"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
  border-color: var(--dux-primary);
}

button,
input[type="submit"],
input[type="button"],
.button {
  border-radius: var(--dux-radius-small);
  transition:
    background-color .16s ease,
    border-color .16s ease,
    box-shadow .16s ease;
}

table {
  border-color: var(--dux-border);
}

table th {
  font-weight: 600;
}

table td,
table th {
  border-color: var(--dux-border);
}

#menu a {
  transition:
    background-color .16s ease,
    color .16s ease;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* DICIPACS ENTERPRISE UX 0.2.0 */
/*
 DICIPACS ENTERPRISE UX
 Version 0.2.0
 RosarioSIS 13.0.3 / FlatSIS

 Capa exclusivamente visual.
 Sin dependencias externas.
 Sin modificaciones DOM ni JavaScript.
*/

:root {
  --dux-navy: #172638;
  --dux-navy-light: #263b53;
  --dux-blue: #245b91;
  --dux-blue-hover: #194773;
  --dux-surface: #ffffff;
  --dux-page: #f3f6fa;
  --dux-border: #dce5ef;
  --dux-text: #26384b;
  --dux-muted: #64748b;
  --dux-radius: 9px;
  --dux-shadow: 0 2px 12px rgba(26,47,73,.07);
}

/* Base general */

html,
body {
  color: var(--dux-text);
}

body {
  background-color: var(--dux-page);
  font-family: "Lato","Segoe UI",Arial,sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Barra lateral y navegacion */

#menu {
  background-color: var(--dux-navy);
  color: #edf3fa;
  border-right: 1px solid #33465b;
}

#menu .adminmenu {
  background-color: transparent;
}

#menu .adminmenu a,
#menu a.menu-top {
  border-radius: 6px;
  transition:
    background-color .15s ease,
    color .15s ease;
}

#menu .adminmenu a:hover,
#menu .adminmenu a:focus,
#menu a.menu-top:hover,
#menu a.menu-top:focus {
  background-color: var(--dux-navy-light);
  color: #ffffff;
}

#menu #selectedModuleLink,
#menu #selectedMenuLink {
  border-radius: 6px;
  font-weight: 600;
}

#menu .wp-submenu {
  border-radius: 6px;
}

#menu .wp-submenu a {
  transition: background-color .15s ease;
}

#menu .wp-submenu a:hover,
#menu .wp-submenu a:focus {
  text-decoration: none;
}

/* Controles de institucion y periodo */

#menu-top select {
  border-radius: 6px;
  min-height: 32px;
}

#menu-top .username {
  font-weight: 600;
}

/* Area central */

#body {
  color: var(--dux-text);
}

.header1 {
  border-radius: var(--dux-radius);
}

.header1 h2 {
  font-weight: 700;
  letter-spacing: -.015em;
}

.header2 {
  border-radius: 7px;
}

/* Paneles y secciones */

.postbox {
  border-radius: var(--dux-radius);
  border-color: var(--dux-border);
  box-shadow: var(--dux-shadow);
}

.list-header {
  font-weight: 600;
}

/* Tablas */

.widefat {
  border-color: var(--dux-border);
  border-radius: 7px;
}

.widefat th {
  font-weight: 600;
  border-color: var(--dux-border);
}

.widefat td {
  border-color: var(--dux-border);
}

.widefat tbody tr {
  transition: background-color .12s ease;
}

.widefat tbody tr:hover {
  background-color: #f0f5fb;
}

/* Formularios: excluir controles especiales */

#body input[type="text"],
#body input[type="search"],
#body input[type="email"],
#body input[type="number"],
#body input[type="password"],
#body textarea,
#body select {
  border-radius: 6px;
}

#body input[type="text"]:focus,
#body input[type="search"]:focus,
#body input[type="email"]:focus,
#body input[type="number"]:focus,
#body input[type="password"]:focus,
#body textarea:focus,
#body select:focus {
  border-color: var(--dux-blue);
}

#body input[type="submit"],
#body input[type="button"],
#body input[type="reset"],
#body .button-primary {
  border-radius: 6px;
  font-weight: 600;
}

/* Botones inferiores */

#footerwrap {
  border-color: var(--dux-border);
}

.BottomButton {
  border-radius: 6px;
  transition: background-color .15s ease;
}

/* Accesibilidad */

#body a:focus-visible,
#body button:focus-visible,
#body input:focus-visible,
#body select:focus-visible,
#body textarea:focus-visible,
#menu a:focus-visible {
  outline: 2px solid #508dcc;
  outline-offset: 2px;
}

/* Moviles: no sustituir comportamiento FlatSIS */

@media (max-width: 767px) {
  .postbox {
    box-shadow: none;
  }

  .header1,
  .header2 {
    border-radius: 5px;
  }

  #body {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #menu a,
  .widefat tbody tr,
  .BottomButton {
    transition: none;
  }
}


/* DICIPACS ENTERPRISE UX 0.3.0 */
/*
 DICIPACS ENTERPRISE UX
 Release 0.3.0
 Compatible target: RosarioSIS 13.0.3

 Identidad azul DICIPACS (provisional).
 Capa CSS. Sin modificaciones DOM.
*/

:root {
  --dux-blue: #24649b;
  --dux-blue-dark: #174a78;
  --dux-blue-soft: #eaf3fb;
  --dux-navy: #173653;
  --dux-navy-hover: #244968;
  --dux-navy-selected: #276aa3;
  --dux-page: #f3f6fb;
  --dux-white: #ffffff;
  --dux-border: #dce5ef;
  --dux-text: #24354a;
  --dux-muted: #64748b;
  --dux-shadow: 0 3px 15px rgba(22,54,83,.07);
}

/* 01 - Tipografia y fondo */

html, body {
  background: var(--dux-page) !important;
  color: var(--dux-text);
  font-family:
    "Lato","Segoe UI",Arial,sans-serif;
}

#body {
  background: var(--dux-page) !important;
  color: var(--dux-text);
}

/* 02 - Navegacion lateral */

#menu {
  background: var(--dux-navy) !important;
  border-right: 1px solid #31516e !important;
  color: #f1f6fc !important;
}

#menu .adminmenu {
  background: transparent !important;
}

#menu .menu-top,
#menu .adminmenu a {
  color: #edf4fc !important;
  border-radius: 7px;
  transition:
    background-color .18s ease,
    color .18s ease;
}

#menu .menu-top:hover,
#menu .menu-top:focus,
#menu .adminmenu a:hover,
#menu .adminmenu a:focus {
  background: var(--dux-navy-hover) !important;
  color: #fff !important;
  text-decoration: none !important;
}

#menu #selectedModuleLink,
#menu #selectedMenuLink {
  background: var(--dux-navy-selected) !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: 7px;
}

#menu .wp-submenu {
  background-color: #102d47 !important;
  border-radius: 7px;
}

#menu .wp-submenu a {
  color: #d9eafb !important;
}

#menu .wp-submenu a:hover,
#menu .wp-submenu a:focus {
  color: #fff !important;
  background-color: #27567f !important;
  text-decoration: none !important;
}

/* 03 - Identidad del centro escolar */

#menu .logo,
#menu .dicipacs-school-logo {
  max-width: 100%;
  height: auto;
}

#menu-top .username {
  color: #fff !important;
  font-weight: 700 !important;
}

#menu-top select {
  background-color: #102c46 !important;
  color: #fff !important;
  border: 1px solid #426485 !important;
  border-radius: 7px !important;
}

/* 04 - Barra principal */

#footerwrap {
  background: #132f4a !important;
  border-color: #31516e !important;
}

.BottomButton {
  color: #fff !important;
  border-radius: 7px;
}

.BottomButton:hover,
.BottomButton:focus {
  background: #26577f !important;
}

/* 05 - Encabezados */

.header1 {
  background: transparent !important;
  color: var(--dux-text) !important;
  border: 0 !important;
  padding-top: 12px;
  padding-bottom: 12px;
}

.header1 h2 {
  color: #183b5d !important;
  font-weight: 700 !important;
  letter-spacing: -.025em;
}

.header2 {
  background: #fff !important;
  border: 1px solid var(--dux-border) !important;
  border-radius: 9px !important;
  color: var(--dux-text) !important;
  box-shadow: var(--dux-shadow);
}

/* 06 - Paneles */

.postbox {
  background: #fff !important;
  border: 1px solid var(--dux-border) !important;
  border-radius: 10px !important;
  box-shadow: var(--dux-shadow);
}

.list-header {
  background: #eef4fa !important;
  color: #244665 !important;
  font-weight: 700 !important;
}

/* 07 - Tablas ERP */

.widefat {
  background: #fff !important;
  border: 1px solid var(--dux-border) !important;
  border-radius: 8px;
  border-collapse: separate;
  border-spacing: 0;
}

.widefat thead th {
  background: #eaf1f8 !important;
  color: #294d6c !important;
  font-weight: 700 !important;
  border-bottom: 1px solid #cddae8 !important;
}

.widefat tbody tr:nth-child(even):not(.highlight) {
  background: #f8fafd;
}

.widefat tbody tr:hover {
  background: #edf5fc !important;
}

.widefat td {
  border-color: #e3eaf2 !important;
}

.widefat a {
  color: var(--dux-blue-dark);
}

/* 08 - Formularios */

#body input[type="text"],
#body input[type="search"],
#body input[type="email"],
#body input[type="number"],
#body input[type="password"],
#body select,
#body textarea {
  border: 1px solid #cdd9e7;
  border-radius: 7px !important;
  color: var(--dux-text);
  transition:
    border-color .15s ease,
    box-shadow .15s ease;
}

#body input[type="text"]:focus,
#body input[type="search"]:focus,
#body input[type="email"]:focus,
#body input[type="number"]:focus,
#body input[type="password"]:focus,
#body select:focus,
#body textarea:focus {
  border-color: var(--dux-blue) !important;
  box-shadow: 0 0 0 3px rgba(36,100,155,.12);
}

#body input[type="submit"],
#body input[type="button"],
#body input[type="reset"],
#body .button-primary {
  border-radius: 7px !important;
  font-weight: 700 !important;
}

#body .button-primary {
  background: var(--dux-blue) !important;
  color: #fff !important;
  border-color: var(--dux-blue) !important;
}

#body .button-primary:hover {
  background: var(--dux-blue-dark) !important;
}

/* 09 - Pestanas */

#body .tabs,
#body .tab,
#body .tabmenu {
  border-color: var(--dux-border);
}

#body a {
  text-underline-offset: 3px;
}

/* 10 - Accesibilidad */

#menu a:focus-visible,
#body a:focus-visible,
#body button:focus-visible,
#body input:focus-visible,
#body select:focus-visible,
#body textarea:focus-visible {
  outline: 2px solid #76b5ed !important;
  outline-offset: 2px;
}

/* 11 - Moviles */

@media (max-width: 767px) {
  .header1,
  .header2,
  .postbox {
    border-radius: 6px !important;
  }

  #body {
    max-width: 100%;
  }
}

/* 12 - Movimiento reducido */

@media (prefers-reduced-motion: reduce) {
  #menu a,
  #body input,
  #body select,
  #body textarea {
    transition: none !important;
  }
}

/* DICIPACS ENTERPRISE UX 0.4.0 */
/*
 * DICIPACS Enterprise UX 0.4.0
 * Layout corporativo compatible con FlatSIS.
 * Sin cambios de DOM ni funcionalidades.
 */

:root {
  --dux040-blue: #24649b;
  --dux040-blue-dark: #173e64;
  --dux040-sidebar: #163553;
  --dux040-sidebar-hover: #254d73;
  --dux040-sidebar-active: #286da7;
  --dux040-page: #f2f5f9;
  --dux040-white: #ffffff;
  --dux040-border: #dce5ee;
  --dux040-text: #233950;
  --dux040-muted: #667a90;
  --dux040-shadow: 0 3px 16px rgba(24,56,88,.07);
}

/* Navegacion: conservar estructura y eventos originales */

@media screen and (min-width: 875px) {
  #menu {
    width: 250px !important;
    background: var(--dux040-sidebar) !important;
    border-right: 1px solid #355777 !important;
  }

  #menu .adminmenu {
    margin-top: 12px;
    padding: 0 8px;
    box-sizing: border-box;
  }

  #menu .menu-top {
    min-width: 0;
    border: 0 !important;
    background: transparent !important;
    padding: 7px 9px;
    border-radius: 8px !important;
    margin-bottom: 4px;
  }

  #menu .menu-top:hover,
  #menu .menu-top:focus {
    background: var(--dux040-sidebar-hover) !important;
  }

  #menu #selectedModuleLink {
    background: var(--dux040-sidebar-active) !important;
    border-radius: 8px !important;
  }

  #menu #selectedModuleLink + .wp-submenu {
    background: rgba(8,27,45,.35) !important;
    border-radius: 8px !important;
    padding: 7px 0;
    margin: 4px 0 12px !important;
  }

  #menu .wp-submenu a {
    padding: 7px 10px 7px 15px;
    border-radius: 5px;
    line-height: 1.4;
  }

  .no-touch .menu-module:hover .wp-submenu,
  .no-touch .menu-module:focus-within .wp-submenu {
    left: 250px;
    width: 250px;
  }

  #menu #selectedModuleLink + .wp-submenu {
    left: 0 !important;
    width: 100%;
    box-sizing: border-box;
  }

  #menu .menu-inter {
    padding: 12px 12px 6px;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .075em;
    color: #a8c5df !important;
  }
}

/* Barra superior */

#footer {
  background: #112c46 !important;
  box-shadow: 0 2px 9px rgba(12,35,59,.15);
}

#footerwrap {
  background: transparent !important;
  border: 0 !important;
}

.BottomButton {
  border-radius: 8px;
  padding: 0 6px;
}

.BottomButton:hover,
.BottomButton:focus {
  background: #254d73 !important;
}

/* Area de trabajo */

body:not(.login):not(.password-reset):not(.first-login) {
  background: var(--dux040-page) !important;
}

#body {
  background: var(--dux040-page) !important;
  box-sizing: border-box;
  min-width: 0;
}

@media screen and (min-width: 1024px) {
  #body {
    padding: 18px 24px 48px !important;
  }
}

/* Titulo y barra de acciones */

.header1 {
  background: transparent !important;
  padding: 7px 0 15px !important;
  border: 0 !important;
}

.header1 h2 {
  font-family: "Lato","Segoe UI",Arial,sans-serif;
  font-size: 27px;
  font-weight: 700 !important;
  color: var(--dux040-text) !important;
}

.header2 {
  background: var(--dux040-white) !important;
  border: 1px solid var(--dux040-border) !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  box-shadow: var(--dux040-shadow);
  margin-bottom: 16px;
}

/* Panels, pestanas y bloques */

.postbox {
  background: var(--dux040-white) !important;
  border: 1px solid var(--dux040-border) !important;
  border-radius: 11px !important;
  box-shadow: var(--dux040-shadow);
}

.postbox th h3 {
  font-size: 13px;
  font-weight: 700;
}

.postbox .h3selected {
  background: #eaf2fa !important;
  border-top: 3px solid var(--dux040-blue) !important;
}

fieldset {
  background: #fff;
  border: 1px solid var(--dux040-border) !important;
  border-radius: 9px;
  padding: 12px;
  margin-bottom: 13px;
}

fieldset legend {
  color: var(--dux040-blue-dark);
  font-weight: 700;
  letter-spacing: .025em;
}

/* Tablas de gestion */

.list-wrapper {
  border-radius: 10px;
}

.widefat {
  background: #fff !important;
  border: 1px solid var(--dux040-border) !important;
}

.widefat th {
  background: #edf3f9 !important;
  color: #294d6e !important;
  font-weight: 700 !important;
}

.widefat td {
  border-color: #e5ebf2 !important;
  padding-top: 9px;
  padding-bottom: 9px;
}

.widefat tbody tr:hover {
  background: #eaf3fc !important;
}

.list-header {
  background: #edf3f9 !important;
  border-radius: 8px 8px 0 0;
  padding: 7px 11px;
}

/* Campos normales: no alterar calendarios especiales */

#body input[type="text"],
#body input[type="search"],
#body input[type="email"],
#body input[type="password"],
#body select,
#body textarea {
  border-radius: 7px !important;
  border-color: #cbd8e6;
}

#body input[type="submit"],
#body input[type="button"],
#body input[type="reset"] {
  border-radius: 7px !important;
  font-weight: 700;
}

#body .button-primary {
  color: #fff !important;
  background: var(--dux040-blue) !important;
  border-color: var(--dux040-blue) !important;
}

#body .button-primary:hover,
#body .button-primary:focus {
  background: var(--dux040-blue-dark) !important;
}

/* Adaptable: preservar navegacion movil original */

@media screen and (max-width: 874px) {
  #menu {
    width: 100% !important;
  }

  #body {
    padding: 10px 9px 42px !important;
  }

  .header1 h2 {
    font-size: 23px;
  }

  .header2 {
    padding: 9px !important;
  }
}

/* Accesibilidad */

@media (prefers-reduced-motion: reduce) {
  #menu a,
  .BottomButton,
  .widefat tbody tr {
    transition: none !important;
  }
}

/* DICIPACS Enterprise UX 0.5.0 */
.module-icon {background-size:contain;}
.module-icon.Accounting {background-image:url("enterprise-icons/Accounting.svg") !important;}
.module-icon.Attendance {background-image:url("enterprise-icons/Attendance.svg") !important;}
.module-icon.Certificate {background-image:url("enterprise-icons/Certificate.svg") !important;}
.module-icon.Discipline {background-image:url("enterprise-icons/Discipline.svg") !important;}
.module-icon.Eligibility {background-image:url("enterprise-icons/Eligibility.svg") !important;}
.module-icon.Example {background-image:url("enterprise-icons/Example.svg") !important;}
.module-icon.Food_Service {background-image:url("enterprise-icons/Food_Service.svg") !important;}
.module-icon.Grades {background-image:url("enterprise-icons/Grades.svg") !important;}
.module-icon.Library {background-image:url("enterprise-icons/Library.svg") !important;}
.module-icon.Meeting {background-image:url("enterprise-icons/Meeting.svg") !important;}
.module-icon.Messaging {background-image:url("enterprise-icons/Messaging.svg") !important;}
.module-icon.Quiz {background-image:url("enterprise-icons/Quiz.svg") !important;}
.module-icon.Reports {background-image:url("enterprise-icons/Reports.svg") !important;}
.module-icon.Resources {background-image:url("enterprise-icons/Resources.svg") !important;}
.module-icon.SMS {background-image:url("enterprise-icons/SMS.svg") !important;}
.module-icon.Scheduling {background-image:url("enterprise-icons/Scheduling.svg") !important;}
.module-icon.School_Setup {background-image:url("enterprise-icons/School_Setup.svg") !important;}
.module-icon.Staff_Absences {background-image:url("enterprise-icons/Staff_Absences.svg") !important;}
.module-icon.Student_Billing {background-image:url("enterprise-icons/Student_Billing.svg") !important;}
.module-icon.Student_ID_Card {background-image:url("enterprise-icons/Student_ID_Card.svg") !important;}
.module-icon.Students {background-image:url("enterprise-icons/Students.svg") !important;}
.module-icon.Users {background-image:url("enterprise-icons/Users.svg") !important;}
.module-icon.book {background-image:url("enterprise-icons/book.svg") !important;}
.module-icon.chat {background-image:url("enterprise-icons/chat.svg") !important;}
.module-icon.conference {background-image:url("enterprise-icons/conference.svg") !important;}
.module-icon.email {background-image:url("enterprise-icons/email.svg") !important;}
.module-icon.ereader-1 {background-image:url("enterprise-icons/ereader-1.svg") !important;}
.module-icon.ereader-2 {background-image:url("enterprise-icons/ereader-2.svg") !important;}
.module-icon.learning {background-image:url("enterprise-icons/learning.svg") !important;}
.module-icon.lecture {background-image:url("enterprise-icons/lecture.svg") !important;}
.module-icon.misc {background-image:url("enterprise-icons/misc.svg") !important;}
.module-icon.studying {background-image:url("enterprise-icons/studying.svg") !important;}
/* DICIPACS Enterprise UX 0.6.0 */
/* Alcance exclusivo: Grades/ProgressReports.php */

@media screen {
#body:has(form[action*="Grades/ProgressReports.php"]) {
 --dux-border:#d9e5f0;
 --dux-ink:#173653;
 --dux-blue:#24649b;
}

#body:has(form#search[action*="Grades/ProgressReports.php"])
.postbox-wrapper:has(form#search) {
 display:block !important;
 width:min(1120px,calc(100% - 20px)) !important;
 max-width:1120px !important;
 margin:24px auto 34px !important;
 overflow:visible !important;
}

#body:has(form#search[action*="Grades/ProgressReports.php"])
.postbox-wrapper:has(form#search)>table.postbox {
 width:100% !important;
 max-width:100% !important;
 border:1px solid #d9e5f0 !important;
 border-radius:16px !important;
 border-spacing:0 !important;
 background:#fff !important;
 box-shadow:0 13px 38px rgba(20,51,82,.08) !important;
}

#body:has(form#search[action*="Grades/ProgressReports.php"])
.postbox-wrapper:has(form#search)>table.postbox>thead>tr>th {
 padding:16px 24px !important;
 background:#f1f6fb !important;
 border-bottom:1px solid #d9e5f0 !important;
 color:#173653 !important;
 font-size:15px !important;
 font-weight:700 !important;
}

#body:has(form#search[action*="Grades/ProgressReports.php"])
.postbox-wrapper:has(form#search) .popTable {
 padding:24px 30px 26px !important;
}

#body:has(form#search[action*="Grades/ProgressReports.php"])
form#search #general_table {
 display:block !important;
 width:100% !important;
 max-width:100% !important;
 border-spacing:0 !important;
}

#body:has(form#search[action*="Grades/ProgressReports.php"])
form#search #general_table>tbody {
 display:grid !important;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:18px 22px;
 width:100%;
}

#body:has(form#search[action*="Grades/ProgressReports.php"])
form#search #general_table>tbody>tr {
 flex-direction:column;
 gap:6px;
 min-width:0;
 padding:0 !important;
 background:transparent !important;
}

#body:has(form#search[action*="Grades/ProgressReports.php"])
form#search #general_table>tbody>tr>td {
 box-sizing:border-box !important;
 text-align:left !important;
 width:100% !important;
 max-width:100% !important;
 padding:0 !important;
 min-width:0 !important;
}

#body:has(form#search[action*="Grades/ProgressReports.php"])
form#search #general_table>tbody>tr>td:first-child {
 font-size:13px !important;
 font-weight:600 !important;
 color:#375671 !important;
 line-height:1.35;
}

#body:has(form#search[action*="Grades/ProgressReports.php"])
form#search #general_table>tbody>tr>td
:is(input[type="text"],input[type="number"],select,textarea,.select2-container) {
 box-sizing:border-box !important;
 width:100% !important;
 max-width:100% !important;
 min-height:40px;
 border-radius:8px !important;
 font-size:14px !important;
}

#body:has(form#search[action*="Grades/ProgressReports.php"])
form#search #general_table>tbody>tr>td
:is(input[type="text"],input[type="number"],select,textarea):focus-visible {
 border-color:#24649b !important;
 outline:2px solid rgba(36,100,155,.2) !important;
 outline-offset:1px;
}

#body:has(form#search[action*="Grades/ProgressReports.php"])
form#search>.center {
 border-top:1px solid #e4ebf3;
 margin-top:22px;
 padding-top:18px;
}

#body:has(form#search[action*="Grades/ProgressReports.php"])
form#search>.center>label {
 display:inline-flex;
 align-items:center;
 gap:7px;
 padding:8px 12px;
 margin:2px 6px 6px 0;
 color:#31516b;
 background:#f3f7fb;
 border:1px solid #e3edf5;
 border-radius:9px;
 cursor:pointer;
}

#body:has(form[action*="Grades/ProgressReports.php"])
table.header:has(td.header2) {
 width:100% !important;
 background:#fff !important;
 border:1px solid var(--dux-border) !important;
 border-radius:13px !important;
 border-spacing:0 !important;
 box-shadow:0 4px 18px rgba(18,46,77,.045);
 margin:0 0 12px !important;
}

#body:has(form[action*="Grades/ProgressReports.php"])
table.header td.header2 {
 padding:15px 18px !important;
 vertical-align:middle !important;
 color:var(--dux-ink);
 background:transparent !important;
 line-height:1.45;
}

#body:has(form[action*="Grades/ProgressReports.php"])
table.header td.header2 .cellpadding-5 td {
 padding:6px 12px !important;
}

#body:has(form[action*="Grades/ProgressReports.php"])
input[type="checkbox"],
#body:has(form[action*="Grades/ProgressReports.php"])
input[type="radio"] {
 accent-color:#24649b;
}

#body:has(form[action*="Grades/ProgressReports.php"])
form[action*="Grades/ProgressReports.php"] .list-outer {
 margin-top:16px;
 background:#fff;
 border:1px solid #d9e5f0;
 border-radius:14px;
 padding:12px 14px 14px;
 box-shadow:0 5px 20px rgba(18,46,77,.055);
}

#body:has(form[action*="Grades/ProgressReports.php"])
form[action*="Grades/ProgressReports.php"] table.list-nav {
 width:100% !important;
 margin:0 0 10px !important;
 color:#31516b;
 font-weight:600;
}

#body:has(form[action*="Grades/ProgressReports.php"])
form[action*="Grades/ProgressReports.php"] .list-wrapper {
 max-width:100%;
 border:1px solid #d9e5f0;
 border-radius:10px;
 overflow-x:auto;
}

#body:has(form[action*="Grades/ProgressReports.php"])
form[action*="Grades/ProgressReports.php"] table.list {
 width:100% !important;
 border-collapse:separate !important;
 border-spacing:0 !important;
 margin:0 !important;
}

#body:has(form[action*="Grades/ProgressReports.php"])
form[action*="Grades/ProgressReports.php"] table.list>thead>tr>th {
 background:#eaf2f9 !important;
 color:#173653 !important;
 font-size:13px !important;
 padding:13px 16px !important;
 border-bottom:1px solid #d9e5f0 !important;
}

#body:has(form[action*="Grades/ProgressReports.php"])
form[action*="Grades/ProgressReports.php"] table.list>thead a {
 color:#173653 !important;
}

#body:has(form[action*="Grades/ProgressReports.php"])
form[action*="Grades/ProgressReports.php"] table.list>tbody>tr>td {
 padding:13px 16px !important;
 border-bottom:1px solid #edf1f6;
 vertical-align:middle;
}

#body:has(form[action*="Grades/ProgressReports.php"])
form[action*="Grades/ProgressReports.php"] table.list>tbody>tr:nth-child(even)>td {
 background:#f7fafd;
}

#body:has(form[action*="Grades/ProgressReports.php"])
form[action*="Grades/ProgressReports.php"] table.list>tbody>tr:hover>td {
 background:#eaf3fb;
}

#body:has(form[action*="Grades/ProgressReports.php"])
form[action*="Grades/ProgressReports.php"] input[type="submit"] {
 border-radius:8px !important;
 padding:10px 17px !important;
 min-height:38px;
 background:#24649b !important;
 border-color:#24649b !important;
 color:#fff !important;
 font-weight:600 !important;
 white-space:normal !important;
 cursor:pointer;
}

#body:has(form[action*="Grades/ProgressReports.php"])
form[action*="Grades/ProgressReports.php"] input[type="submit"]:hover {
 background:#194c77 !important;
 border-color:#194c77 !important;
}
}

@media screen and (max-width:1279px) {
#body:has(form#search[action*="Grades/ProgressReports.php"])
form#search #general_table>tbody {
 grid-template-columns:repeat(2,minmax(0,1fr));
}
}

@media screen and (max-width:850px) {
#body:has(form#search[action*="Grades/ProgressReports.php"])
form#search #general_table>tbody {
 grid-template-columns:minmax(0,1fr);
 gap:13px;
}
#body:has(form#search[action*="Grades/ProgressReports.php"])
.postbox-wrapper:has(form#search) {
 width:100% !important;
 margin:12px auto 20px !important;
}
#body:has(form#search[action*="Grades/ProgressReports.php"])
.postbox-wrapper:has(form#search) .popTable {
 padding:18px 14px !important;
}
}

/* DICIPACS Enterprise UX 0.7.0
 * Calificaciones: buscadores y resultados.
 * Sin cambios en estructura HTML ni funcionalidad.
 */

@media screen {

#body:has(form#search[action*="Grades/"]) {
 --dux7-ink:#173653;
 --dux7-blue:#24649b;
 --dux7-border:#d8e4ef;
}

/* BUSCADOR ENTERPRISE */

#body:has(form#search[action*="Grades/"])
.postbox-wrapper:has(form#search) {
 display:block !important;
 box-sizing:border-box !important;
 width:min(1160px,calc(100% - 24px)) !important;
 max-width:1160px !important;
 margin:22px auto 28px !important;
 overflow:visible !important;
}

#body:has(form#search[action*="Grades/"])
.postbox-wrapper:has(form#search)>table.postbox {
 box-sizing:border-box !important;
 width:100% !important;
 max-width:100% !important;
 margin:0 !important;
 border:1px solid #d8e4ef !important;
 border-radius:15px !important;
 border-spacing:0 !important;
 background:#fff !important;
 box-shadow:0 12px 32px rgba(19,51,82,.075) !important;
}

#body:has(form#search[action*="Grades/"])
.postbox-wrapper:has(form#search)>table.postbox>thead>tr>th {
 padding:15px 22px !important;
 color:#173653 !important;
 background:#f2f6fa !important;
 border-bottom:1px solid #d8e4ef !important;
 font-weight:700 !important;
 font-size:14px !important;
 letter-spacing:.02em;
}

#body:has(form#search[action*="Grades/"])
.postbox-wrapper:has(form#search)>table.postbox>tbody>tr>td.popTable {
 padding:24px 27px 26px !important;
 overflow:visible !important;
}

/* FORMULARIO MULTICOLUMNA */

#body:has(form#search[action*="Grades/"])
form#search #general_table {
 box-sizing:border-box !important;
 display:block !important;
 width:100% !important;
 max-width:100% !important;
 border:0 !important;
 margin:0 !important;
}

#body:has(form#search[action*="Grades/"])
form#search #general_table>tbody {
 display:grid !important;
 grid-template-columns:repeat(3,minmax(0,1fr)) !important;
 gap:17px 21px !important;
 width:100% !important;
}

#body:has(form#search[action*="Grades/"])
form#search #general_table>tbody>tr {
 flex-direction:column !important;
 align-items:stretch !important;
 gap:6px !important;
 min-width:0 !important;
 width:auto !important;
 padding:0 !important;
 margin:0 !important;
 background:transparent !important;
 border:0 !important;
}

#body:has(form#search[action*="Grades/"])
form#search #general_table>tbody>tr>td {
 box-sizing:border-box !important;
 width:100% !important;
 max-width:100% !important;
 min-width:0 !important;
 padding:0 !important;
 margin:0 !important;
 text-align:left !important;
 vertical-align:top !important;
}

#body:has(form#search[action*="Grades/"])
form#search #general_table>tbody>tr>td:first-child {
 color:#34536e !important;
 font-size:13px !important;
 font-weight:600 !important;
 line-height:1.4 !important;
 white-space:normal !important;
}

/* CAMPOS DE BUSQUEDA */

#body:has(form#search[action*="Grades/"])
form#search #general_table>tbody>tr>td
:is(input[type="text"],input[type="number"],input[type="email"],select,textarea) {
 box-sizing:border-box !important;
 width:100% !important;
 max-width:100% !important;
 min-height:39px !important;
 padding:7px 10px !important;
 border:1px solid #ccdae8 !important;
 border-radius:8px !important;
 background:#fff !important;
 color:#173653 !important;
 font-size:14px !important;
}

#body:has(form#search[action*="Grades/"])
form#search #general_table>tbody>tr>td
:is(input[type="text"],input[type="number"],input[type="email"],select,textarea):focus-visible {
 border-color:#24649b !important;
 outline:2px solid rgba(36,100,155,.2) !important;
 outline-offset:1px;
}

#body:has(form#search[action*="Grades/"])
form#search #general_table .select2-container {
 max-width:100% !important;
 width:100% !important;
}

/* OPCIONES DE BUSQUEDA */

#body:has(form#search[action*="Grades/"])
form#search>.center {
 margin-top:21px !important;
 padding-top:15px !important;
 border-top:1px solid #e5edf4;
 text-align:center !important;
 line-height:1.7;
}

#body:has(form#search[action*="Grades/"])
form#search>.center>label {
 display:inline-flex !important;
 align-items:center !important;
 gap:6px;
 margin:3px 7px !important;
 padding:7px 10px !important;
 border:1px solid #e2eaf3;
 border-radius:8px;
 background:#f5f8fc;
 color:#355570;
 font-size:13px;
 cursor:pointer;
}

#body:has(form#search[action*="Grades/"])
form#search :is(input[type="checkbox"],input[type="radio"]) {
 accent-color:#24649b;
}

/* BOTON DE BUSQUEDA */

#body:has(form#search[action*="Grades/"])
form#search :is(input[type="submit"],button[type="submit"]) {
 box-sizing:border-box !important;
 width:auto !important;
 min-height:38px !important;
 padding:9px 19px !important;
 border-radius:8px !important;
 background:#24649b !important;
 border-color:#24649b !important;
 color:#fff !important;
 font-size:13px !important;
 font-weight:700 !important;
 cursor:pointer;
}

#body:has(form#search[action*="Grades/"])
form#search :is(input[type="submit"],button[type="submit"]):hover {
 background:#194e7a !important;
 border-color:#194e7a !important;
}

/* FILTROS ACADEMICOS ADICIONALES */

#body:has(form#search[action*="Grades/"])
form#search>table.widefat {
 box-sizing:border-box !important;
 width:100% !important;
 max-width:100% !important;
 margin:14px 0 !important;
 border:1px solid #d8e4ef !important;
 border-radius:10px !important;
 background:#f8fbfe !important;
 border-spacing:0 !important;
}

#body:has(form#search[action*="Grades/"])
form#search>table.widefat td {
 padding:9px 12px !important;
 vertical-align:middle !important;
}

#body:has(form#search[action*="Grades/"])
form#search>table.widefat
:is(input[type="text"],input[type="number"],select) {
 max-width:100% !important;
 min-height:32px;
 border-radius:7px !important;
}

/* RESULTADOS DE CALIFICACIONES */

#body:has(form[action*="Grades/"])
form[action*="Grades/"] .list-outer {
 box-sizing:border-box;
 max-width:100%;
 margin-top:15px;
 padding:11px 13px 13px;
 background:#fff;
 border:1px solid #d8e4ef;
 border-radius:13px;
 box-shadow:0 5px 18px rgba(21,51,80,.045);
}

#body:has(form[action*="Grades/"])
form[action*="Grades/"] .list-wrapper {
 max-width:100%;
 overflow-x:auto;
 border-radius:9px;
 border:1px solid #d8e4ef;
}

#body:has(form[action*="Grades/"])
form[action*="Grades/"] table.list>thead>tr>th {
 color:#173653 !important;
 background:#e9f2fa !important;
 padding:11px 14px !important;
 border-bottom:1px solid #d8e4ef !important;
}

#body:has(form[action*="Grades/"])
form[action*="Grades/"] table.list>tbody>tr>td {
 padding:11px 14px !important;
 border-bottom:1px solid #ecf1f6 !important;
 vertical-align:middle;
}

#body:has(form[action*="Grades/"])
form[action*="Grades/"] table.list>tbody>tr:hover>td {
 background:#edf5fc !important;
}

/* ACCIONES DE REPORTES */

#body:has(form[action*="Grades/ProgressReports.php"])
form[action*="Grades/ProgressReports.php"]
:is(input[type="submit"],button[type="submit"]) {
 box-sizing:border-box !important;
 width:auto !important;
 height:auto !important;
 max-width:min(100%,490px) !important;
 min-height:38px !important;
 padding:10px 15px !important;
 border-radius:8px !important;
 font-size:13px !important;
 font-weight:700 !important;
 line-height:1.35 !important;
 white-space:normal !important;
}

}

/* RESPONSIVE: DOS COLUMNAS */

@media screen and (max-width:1280px) {

#body:has(form#search[action*="Grades/"])
form#search #general_table>tbody {
 grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}

}

/* RESPONSIVE: UNA COLUMNA */

@media screen and (max-width:850px) {

#body:has(form#search[action*="Grades/"])
.postbox-wrapper:has(form#search) {
 width:100% !important;
 margin:12px auto 20px !important;
}

#body:has(form#search[action*="Grades/"])
.postbox-wrapper:has(form#search)>table.postbox>tbody>tr>td.popTable {
 padding:18px 14px 20px !important;
}

#body:has(form#search[action*="Grades/"])
form#search #general_table>tbody {
 grid-template-columns:minmax(0,1fr) !important;
 gap:12px !important;
}

#body:has(form#search[action*="Grades/"])
form#search>table.widefat {
 display:block;
 max-width:100%;
 overflow-x:auto;
}

}


/* DICIPACS Enterprise UX 0.7.1
   Safe search grid: preserve dynamic visibility. */

@media screen {

#body:has(form#search[action*="Grades/"])
form#search #general_table>tbody>
tr:is(:not([class]),[class=""]):not([id]):not([style]) {
 display:flex !important;
}

#body:has(form#search[action*="Grades/"])
form#search #general_table>tbody>
tr:is(:not([class]),[class=""]):not([id]):not([style])>
td:is(:not([class]),[class=""]):not([id]):not([style]) {
 display:block !important;
}

}

/* DICIPACS Enterprise UX 0.7.3
   Corrige anchos y desbordes, sin alterar campos ocultos.
   Alcance: Calificaciones > Boletines de calificaciones. */

@media screen {

  #body:has(form#search[action*="Grades/ReportCards.php"])
  form#search #general_table>tbody>
  tr:is(:not([class]),[class=""]):not([id]):not([style]):not([hidden]) {
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    gap:6px !important;
    box-sizing:border-box !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    overflow:visible !important;
  }

  #body:has(form#search[action*="Grades/ReportCards.php"])
  form#search #general_table>tbody>
  tr:is(:not([class]),[class=""]):not([id]):not([style]):not([hidden])>
  td:not([class]):not([id]):not([style]):not([hidden]) {
    display:block !important;
    flex:0 1 auto !important;
    box-sizing:border-box !important;
    min-width:0 !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 !important;
    float:none !important;
    text-align:left !important;
  }

  #body:has(form#search[action*="Grades/ReportCards.php"])
  form#search #general_table>tbody>
  tr:is(:not([class]),[class=""]):not([id]):not([style]):not([hidden])>
  td:last-child
  :is(
    input[type="text"],
    input[type="search"],
    input:not([type]),
    select:not([multiple]):not(.select2-hidden-accessible):not([hidden]),
    .select2-container
  ) {
    box-sizing:border-box !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

}

/*
 DICIPACS Enterprise UX 0.7.4
 Unicamente el campo Matricula en ReportCards.
 No altera display, selects ni campos ocultos.
*/

@media screen {

 #body:has(form#search[action*="Grades/ReportCards.php"])
 form#search #general_table
 td:has(input#dcp-guided-matricula) {
   box-sizing:border-box !important;
   width:100% !important;
   min-width:0 !important;
   max-width:100% !important;
   flex:1 1 auto !important;
 }

 #body:has(form#search[action*="Grades/ReportCards.php"])
 form#search #general_table
 input#dcp-guided-matricula {
   box-sizing:border-box !important;
   width:100% !important;
   min-width:0 !important;
   max-width:100% !important;
   min-height:40px !important;
   float:none !important;
 }

}

/*
 DICIPACS Enterprise UX 0.7.5
 Reparacion exclusiva de Matricula.
 Reproduce la prueba visual realizada en Edge.
 No modifica los demas campos ni selectores.
*/

@media screen {

#body form#search #general_table>tbody>
tr.dcp-guided-search-row:has(#dcp-guided-matricula)
:not(.hide):not([hidden]):not([style*="display:none"])
:not([style*="display: none"]) {
 display:flex !important;
 flex-direction:column !important;
 align-items:stretch !important;
 justify-content:flex-start !important;
 gap:6px !important;
 box-sizing:border-box !important;
 width:100% !important;
 min-width:0 !important;
 max-width:100% !important;
}

#body form#search #general_table>tbody>
tr.dcp-guided-search-row:has(#dcp-guided-matricula)
:not(.hide):not([hidden]):not([style*="display:none"])
:not([style*="display: none"])>td {
 display:block !important;
 box-sizing:border-box !important;
 width:100% !important;
 min-width:0 !important;
 max-width:100% !important;
 flex:0 1 auto !important;
 float:none !important;
 text-align:left !important;
}

#body form#search #general_table
tr.dcp-guided-search-row input#dcp-guided-matricula {
 display:block !important;
 box-sizing:border-box !important;
 width:100% !important;
 min-width:0 !important;
 max-width:100% !important;
 min-height:40px !important;
 float:none !important;
}

}

/*
 DICIPACS Enterprise UX 0.7.6

 Corrige el contenedor real de Matricula:
 tr.dcp-guided-search-row
   td etiqueta
   td input#dcp-guided-matricula

 Sin modificaciones en otros campos.
*/

@media screen {

/* Solo la fila visible que contiene Matricula. */

form#search #general_table > tbody > tr.dcp-guided-search-row:has(input#dcp-guided-matricula):not(.hide):not([hidden]):not([style*="display"]) {
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  justify-content:flex-start !important;
  gap:6px !important;
  box-sizing:border-box !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  padding:0 !important;
}

/* Las dos celdas ocupan todo el ancho de la fila. */

form#search #general_table > tbody > tr.dcp-guided-search-row:has(input#dcp-guided-matricula):not(.hide):not([hidden]):not([style*="display"]) > td {
  display:block !important;
  flex:0 1 auto !important;
  box-sizing:border-box !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  float:none !important;
  padding:0 !important;
  margin:0 !important;
  text-align:left !important;
}

/* El input ocupa el ancho de su celda. */

form#search #general_table > tbody > tr.dcp-guided-search-row:has(input#dcp-guided-matricula):not(.hide):not([hidden]):not([style*="display"]) input#dcp-guided-matricula {
  display:block !important;
  box-sizing:border-box !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  min-height:40px !important;
  float:none !important;
}

}

/*
 DICIPACS Enterprise UX 0.8.0
 Estandar visual compartido.

 Conserva las estructuras existentes.
 No impone cambios globales de layout.
 No altera visibilidad ni contenidos.
*/

@media screen {

  /* Campos de formularios */

  #body :is(
    input[type="text"],
    input[type="search"],
    input[type="number"],
    input[type="email"],
    input[type="tel"],
    input[type="url"],
    input[type="password"],
    input[type="date"],
    input[type="time"],
    select,
    textarea
  ):not([hidden]):not(.select2-hidden-accessible):not(.select2-search__field) {
    border-radius: 6px !important;
    background-clip: padding-box;
  }

  /* Enfoque visible y accesible */

  #body :is(
    input[type="text"],
    input[type="search"],
    input[type="number"],
    input[type="email"],
    input[type="tel"],
    input[type="url"],
    input[type="password"],
    input[type="date"],
    input[type="time"],
    select,
    textarea
  ):not([hidden]):not(.select2-hidden-accessible):not(.select2-search__field):not(:disabled):focus-visible {
    outline: 2px solid #245b8d !important;
    outline-offset: 1px;
  }

  /* Select2 y Chosen */

  #body :is(
    .select2-container--default .select2-selection--single,
    .select2-container--default .select2-selection--multiple,
    .chosen-container .chosen-single,
    .chosen-container .chosen-choices
  ) {
    border-radius: 6px !important;
  }

  /* Etiquetas */

  #body form :is(label, .label):not(.select2-results__option) {
    font-weight: 600;
  }

  /* Botones */

  #body :is(
    button,
    input[type="submit"],
    input[type="button"],
    input[type="reset"],
    a.button,
    .button,
    .button-primary
  ) {
    border-radius: 6px !important;
  }

  /* Paneles, tarjetas y tablas */

  #body :is(.postbox, .widefat, .card) {
    border-radius: 7px;
  }

  #body :is(table.widefat, table.dataTable) > thead > tr > th {
    font-weight: 700;
  }

  /* Pestañas */

  #body :is(
    .nav-tab,
    .ui-tabs-nav > li > a
  ) {
    border-radius: 6px 6px 0 0;
  }

  /* Casillas y radio buttons */

  #body :is(input[type="checkbox"], input[type="radio"]) {
    accent-color: #245b8d;
  }
}

/*
 DICIPACS Enterprise UX 0.8.1
 Estandar de componentes compartidos.

 Se conservan tablas academicas complejas, controles
 ocultos y estructuras especiales.

 La distribucion de busquedas solo afecta formularios
 que utilizan form#search y #general_table.
*/

@media screen {

  #body {
    --dcp-ui-border: #d8e3ef;
    --dcp-ui-tint: #f2f6fb;
    --dcp-ui-primary: #245f94;
  }

  #body :is(.postbox, .card) {
    border-radius: 9px;
    border-color: var(--dcp-ui-border);
  }

  #body :is(
    .postbox > h3,
    .postbox > .hndle,
    .postbox-header
  ) {
    background-color: var(--dcp-ui-tint);
    border-bottom-color: var(--dcp-ui-border);
  }

  #body :is(
    table.widefat,
    table.dataTable
  ) > thead > tr > th {
    background-color: var(--dcp-ui-tint);
    border-bottom-color: var(--dcp-ui-border);
    font-weight: 700;
  }

  #body :is(
    input[type="text"],
    input[type="number"],
    input[type="search"],
    input[type="email"],
    select,
    textarea
  ):not([hidden])
   :not(.select2-hidden-accessible)
   :not(.select2-search__field) {
    border-color: var(--dcp-ui-border);
  }

  #body :is(
    button,
    input[type="submit"],
    input[type="button"],
    .button
  ) {
    transition:
      background-color 120ms ease,
      border-color 120ms ease;
  }
}

/*
 Buscador compartido de estudiantes y usuarios.
 No depende del modulo que lo invoque.
*/

@media screen and (min-width: 875px) {

  #body .postbox-wrapper:has(
    form#search #general_table
  ) {
    box-sizing: border-box !important;
    width: min(100%, 1180px) !important;
    max-width: 1180px !important;
    margin-inline: auto !important;
    float: none !important;
  }

  #body .postbox:has(
    form#search #general_table
  ),
  #body form#search:has(#general_table) {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #body form#search #general_table {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #body form#search #general_table > tbody {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns:
      repeat(3, minmax(0, 1fr)) !important;
    gap: 16px 20px !important;
    width: 100% !important;
  }

  /*
   Filas sencillas de dos celdas.
   Excluye filas ocultas, estilos inline,
   identificadores y colspan.
  */

  #body form#search #general_table > tbody >
  tr:is(
    :not([class]),
    [class=""],
    .dcp-guided-search-row
  ):not(.hide):not([hidden]):not([style])
   :not([id]):not(:has(> td[colspan]))
   :has(> td:nth-child(2))
   :not(:has(> td:nth-child(3))) {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #body form#search #general_table > tbody >
  tr:is(
    :not([class]),
    [class=""],
    .dcp-guided-search-row
  ):not(.hide):not([hidden]):not([style])
   :not([id]):not(:has(> td[colspan]))
   :has(> td:nth-child(2))
   :not(:has(> td:nth-child(3))) > td {
    box-sizing: border-box !important;
    display: block !important;
    flex: 0 1 auto !important;
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    padding: 0 !important;
  }

  #body form#search #general_table > tbody >
  tr:is(
    :not([class]),
    [class=""],
    .dcp-guided-search-row
  ):not(.hide):not([hidden]):not([style])
   :not([id]):not(:has(> td[colspan]))
   :has(> td:nth-child(2))
   :not(:has(> td:nth-child(3))) >
  td:last-child :is(
    input[type="text"],
    input[type="number"],
    input[type="search"],
    select:not(.select2-hidden-accessible),
    .select2-container
  ) {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  #body form#search #general_table > tbody >
  tr:not(.hide):not([hidden]):has(> td[colspan]) {
    grid-column: 1 / -1;
  }
}

/*
 DICIPACS Enterprise UX 0.8.2
 Ocultar exclusivamente el submenú contraído por el usuario.
 No afectar formularios, datos ni otros controles.
*/
@media screen and (min-width: 875px) {
  #menu .adminmenu > li.menu-module.dcp-ux-menu-collapsed > ul.wp-submenu {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/*
 DICIPACS Enterprise UX 0.8.3
 Calendar shared visual language.

 Green/pink/blue school-day meanings are preserved.
 No changes to academic event data or functionality.
*/

@media screen {

  /* Monthly academic calendar */

  #body table#calendar {
    border: 1px solid #cfddeb !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 9px !important;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(15,43,69,.07);
  }

  /* Weekday headers */

  #body table#calendar > thead > tr > :is(th, td) {
    background: #173a59 !important;
    color: #fff !important;
    border-color: #2b516f !important;
    font-weight: 700 !important;
    letter-spacing: .025em;
    text-align: center;
  }

  /* Preserve day-state backgrounds */

  #body table#calendar td.calendar-day {
    border-color: #d7e2ed !important;
    vertical-align: top;
    transition: box-shadow 140ms ease;
  }

  /* Visual focus and hover */

  #body table#calendar td.calendar-day:hover,
  #body table#calendar td.calendar-day:focus-within {
    box-shadow: inset 0 0 0 2px #24699e;
  }

  /* Empty cells outside the month */

  #body table#calendar td.calendar-skip {
    background: #eef2f6 !important;
    border-color: #d7e2ed !important;
  }

  /* Event presentation */

  #body table#calendar :is(
    .calendar-event,
    .calendar-newevent
  ) {
    border-radius: 5px;
  }

  /* Shared date picker */

  div.calendar {
    border: 1px solid #bfcfdf !important;
    border-radius: 8px;
    box-shadow: 0 9px 25px rgba(15,43,69,.15);
  }

  div.calendar thead .title {
    background: #173a59 !important;
    color: #fff !important;
  }
}


/* DICIPACS_ENTERPRISE_UX_084_RC1_CLASS_SEARCH */
/* Buscador de clases: desktop, sin alterar otros formularios. */

@media screen and (min-width: 1000px) {

  #body form table:has(> tbody > tr.st > td > label[for="teacher_id"]):has(> tbody > tr.st > td > label[for="subject_id"]):has(> tbody > tr.st > td > label[for="period_id"]) {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #body form table:has(> tbody > tr.st > td > label[for="teacher_id"]):has(> tbody > tr.st > td > label[for="subject_id"]):has(> tbody > tr.st > td > label[for="period_id"]) > tbody {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px 20px !important;
    width: 100% !important;
  }

  #body form table:has(> tbody > tr.st > td > label[for="teacher_id"]):has(> tbody > tr.st > td > label[for="subject_id"]):has(> tbody > tr.st > td > label[for="period_id"]) > tbody > tr.st:has(> td > label:is([for="teacher_id"],[for="subject_id"],[for="period_id"])) {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    align-items: stretch !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  #body form table:has(> tbody > tr.st > td > label[for="teacher_id"]):has(> tbody > tr.st > td > label[for="subject_id"]):has(> tbody > tr.st > td > label[for="period_id"]) > tbody > tr.st:has(> td > label:is([for="teacher_id"],[for="subject_id"],[for="period_id"])) > td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
    float: none !important;
    box-sizing: border-box !important;
  }

  #body form table:has(> tbody > tr.st > td > label[for="teacher_id"]):has(> tbody > tr.st > td > label[for="subject_id"]):has(> tbody > tr.st > td > label[for="period_id"]) > tbody > tr.st:has(> td > label:is([for="teacher_id"],[for="subject_id"],[for="period_id"])) > td > label {
    display: block !important;
    margin: 0 0 4px 0 !important;
    font-weight: 600;
  }

  #body form table:has(> tbody > tr.st > td > label[for="teacher_id"]):has(> tbody > tr.st > td > label[for="subject_id"]):has(> tbody > tr.st > td > label[for="period_id"]) > tbody > tr.st:has(> td > label:is([for="teacher_id"],[for="subject_id"],[for="period_id"])) > td > select:not(.select2-hidden-accessible),
  #body form table:has(> tbody > tr.st > td > label[for="teacher_id"]):has(> tbody > tr.st > td > label[for="subject_id"]):has(> tbody > tr.st > td > label[for="period_id"]) > tbody > tr.st:has(> td > label:is([for="teacher_id"],[for="subject_id"],[for="period_id"])) > td > .select2-container,
  #body form table:has(> tbody > tr.st > td > label[for="teacher_id"]):has(> tbody > tr.st > td > label[for="subject_id"]):has(> tbody > tr.st > td > label[for="period_id"]) > tbody > tr.st:has(> td > label:is([for="teacher_id"],[for="subject_id"],[for="period_id"])) > td > .chosen-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  #body form table:has(> tbody > tr.st > td > label[for="teacher_id"]):has(> tbody > tr.st > td > label[for="subject_id"]):has(> tbody > tr.st > td > label[for="period_id"]) > tbody > tr:has(> td[colspan]) {
    grid-column: 1 / -1 !important;
  }
}
/* FIN DICIPACS_ENTERPRISE_UX_084_RC1_CLASS_SEARCH */


/* DICIPACS_UX084_RC32_GUIDED_SELECT_VERTICAL_BEGIN */

@media screen {

  #body form#search #general_table tr.dcp-guided-search-row:has(select.dcp-guided-search-select):not(.hide):not([hidden]) {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  #body form#search #general_table tr.dcp-guided-search-row:has(select.dcp-guided-search-select):not(.hide):not([hidden]) > td {
    display: block !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    text-align: left !important;
  }

  #body form#search #general_table tr.dcp-guided-search-row:has(select.dcp-guided-search-select):not(.hide):not([hidden]) > td:first-child > label {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 0 4px !important;
    text-align: left !important;
    line-height: 1.4 !important;
    white-space: normal !important;
  }

  #body form#search #general_table tr.dcp-guided-search-row:has(select.dcp-guided-search-select):not(.hide):not([hidden]) > td:nth-child(2) >
    select.dcp-guided-search-select:not(.select2-hidden-accessible),
  #body form#search #general_table tr.dcp-guided-search-row:has(select.dcp-guided-search-select):not(.hide):not([hidden]) > td:nth-child(2) .select2-container,
  #body form#search #general_table tr.dcp-guided-search-row:has(select.dcp-guided-search-select):not(.hide):not([hidden]) > td:nth-child(2) .chosen-container {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    float: none !important;
  }

}

/* DICIPACS_UX084_RC32_GUIDED_SELECT_VERTICAL_END */
