/**
 * FlatSIS theme
 *
 * @package RosarioSIS
 * @subpackage assets/themes
 */

/* Import WPadmin style (already includes colors.css & jscalendar & colorbox) */

@import url("../WPadmin/stylesheet.css");
/* Replace the modules icons */

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

/* Spinner */

.loading {
	background-image: url(spinning.gif);
}

input + .loading {
	vertical-align: bottom;
}

/* Replace Open Sans font with Lato (Light) */

@font-face {
	font-family: 'Lato';
	src: url('fonts/Lato/regular.woff2') format('woff2'), url('fonts/Lato/regular.woff') format('woff');
	font-weight: normal;
	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: normal;
	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: bold;
	font-style: normal;
}

/* Larger font size */

html,
body,
input,
select,
textarea,
/* Chosen JS select */

div.chosen-container,
/* JS calendar */

.calendar,
.calendar table {
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
}

::selection {
	color: white;
	background: #0073aa;
}

ul {
	list-style-type: square;
}

.menu-top {
	text-transform: uppercase;
}

.menu-top span {
	padding-right: 4px;
}

.BottomButton span {
	text-transform: uppercase;
	font-size: 14px;
	padding-left: 4px;
}

legend {
	font-weight: normal;
	text-transform: uppercase;
	padding: 0 7px;
	font-size: 14px;
}

.dashboard-module-title {
	text-transform: uppercase;
	font-size: 15px;
}

.dashboard-module-data .tipmsg-label .legend-gray {
	margin-bottom: 1px;
}

.dashboard-module-data .tipmsg-label {
	margin-bottom: 11px;
}

.dashboard-module-data-tipmsg .legend-gray,
.dashboard-module-data-tipmsg .legend-gray .proper-date {
	font-size: 14px;
}

#calendar > thead > tr > th {
	text-transform: uppercase;
	font-size: 15px;
}

.dashboard-module-title span {
	padding-right: 4px;
}

.size-1,
.size-1 * {
	font-size: 14px;
}

.size-3 {
	font-size: 12px;
}

code {
	font-size: 14px;
}

.module-icon {
	width: 32px;
	height: 32px;
	vertical-align: -60%;
}

.checkbox-label,
.underline-dots {
	line-height: 31px;
}

.span-grade-points + label {
	line-height: 31px;
}

body,
textarea,
input,
select {
	font-family: 'Lato', sans-serif;
}

.header1 h2 {
	font-size: 32px;
	font-family: 'Lato', sans-serif;
	padding: 16px 16px 16px 0;
}

.header1 .module-icon {
	vertical-align: bottom;
}

.postbox > thead th,
.widefat th {
	font-family: 'Lato', sans-serif;
}

.postbox th h3,
.postbox th h3 a,
.postbox > thead th,
.widefat tfoot tr th,
.widefat th,
.widefat th a,
.widefat th span,
.widefat th label {
	font-size: 14px;
	text-transform: uppercase;
}

.postbox th h3 {
	height: 32px;
}

/* Flat edits to WPadmin theme */

.loading {
	width: 32px;
	height: 32px;
	/* Tofix */
	padding-bottom: 0 !important;
	background-size: contain;
}

/* Adjust File input size with spinner on its right */

input[type=file] {
	max-width: calc( 100% - 38px);
	height: 25px;
}

/* No shadows */

#menu,
#selectedModuleLink + .wp-submenu,
.menu-top,
.menu-top:focus,
.menu-top:hover {
	background-image: none;
}

.header1 h2 {
	text-shadow: none;
}

input[type="button"],
input[type="reset"],
input[type="submit"] {
	background-image: none;
	background: #f9f9f9;
	text-shadow: none;
	font-size: 15px;
	text-transform: uppercase;
}

input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	background: #ededed;
}

a.button-primary,
button.button-primary,
input.button-primary {
	background: #298cba;
	/*font-weight: normal;*/
}

a.button-primary:active,
button.button-primary:active,
input.button-primary:active {
	background: #1d6385;
}

.tipmsg-label .button + b,
a .button + b {
	font-weight: normal;
	text-transform: uppercase;
	font-size: 14px;
}

.postbox > thead th {
	border-bottom-color: #dfdfdf;
	text-shadow: none;
	padding: 0 6px;
}

.postbox > thead th,
.widefat tfoot tr th,
.widefat th {
	background: #f1f1f1;
}

.postbox .h3selected {
	background: #f9f9f9;
}

/* No round borders */

input[type="button"],
input[type="reset"],
input[type="submit"] {
	border-radius: 0;
}

.postbox,
.widefat,
div.error,
div.updated,
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="url"],
input[type="color"],
select,
textarea {
	border-radius: 0;
	border-color: #cacaca;
}

.md-preview > .tab {
	border-radius: 0;
	padding: 6px 10px;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: normal;
	border-color: #cacaca;
	line-height: 28px;
}

.md-preview .md-link {
	line-height: 26px;
}

.md-preview > div {
	border-bottom-width: 2px;
	border-color: #cacaca;
}

.md-preview .tab.disabled,
.md-preview .tab:hover {
	border-color: #aaa;
}

.tooltip > i {
	border-radius: 0;
	font-size: 14px;
}

/* Smaller logo icon */

.logo {
	max-width: 64px;
	max-height: 64px;
}

/* Colors */

a {
	color: #0073aa;
}

a:hover,
a:active,
a:focus {
	color: #0090c3;
}

a:active,
a:focus,
.wp-submenu a:focus {
	outline: 1px dotted #0090c3;
}

.wp-submenu a:focus {
	background-color: transparent;
}

.adminmenu a,
a.menu-top:hover,
a.menu-top:focus,
.BottomButton:hover,
.BottomButton:active,
.BottomButton:focus {
	color: #00b9eb;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #2d2d2d;
}

.tooltip > i {
	background: #111;
	border: 1px solid #000;
}

div.error,
div.updated {
	background: #fff;
	border-top: 0;
	border-right: 0;
	border-left: 4px solid #b80a04;
	padding: 3px 7px;
}

div.updated {
	border-left-color: #0baa38;
}

.postbox th:hover h3 {
	color: #000;
}

.current-person.self {
	background: #fbb429;
}

.current-person.staff {
	background: #0baa38;
}

.current-person.student {
	background: #0073aa;
}

.current-person a:hover,
.current-person a:active,
.current-person a:focus {
	color: #fff;
}

.divPortalPoll .bar {
	background: #b80a04;
}

/* Menu in black */

#menu {
	background: #121212;
	border-color: #000;
	color: #fff;
	width: 217px;
}

/* Edge browser fix: Do not merge focus-within styles with hover styles */

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

.no-touch .menu-module:hover .wp-submenu {
	left: 217px;
	width: 217px;
}

/* Edge browser fix: Do not merge focus-within styles with hover styles */

html.no-touch[dir="RTL"] .menu-module:focus-within .wp-submenu {
	right: 217px;
}

html.no-touch[dir="RTL"] .menu-module:hover .wp-submenu {
	right: 217px;
}

#menu .username {
	font-weight: normal;
}

.adminmenu {
	background: #121212;
	border-color: #222;
}

.menu-top,
.menu-top {
	background-color: #121212;
	text-shadow: none;
}

.menu-top {
	border-top-color: #222;
	border-bottom-color: #000;
}

#selectedModuleLink,
.menu-top:focus,
.menu-top:hover {
	background-color: #1a1a1a;
	text-shadow: none;
}

.menu-inter {
	border-color: #333;
	color: #eee;
}

.wp-submenu a:focus,
.wp-submenu a:hover,
#selectedMenuLink {
	background-color: #1a1a1a;
	color: #eee;
}

.no-touch .menu-module:hover .wp-submenu {
	box-shadow: none;
}

.wp-submenu {
	border-color: #222 #000;
}

a.menu-top,
.BottomButton {
	color: #eee;
}

/* Edge browser fix: Do not merge focus-within styles with hover styles */

.no-touch .menu-module:focus-within .menu-top::after {
	color: #eee;
}

.no-touch .menu-module:hover .menu-top::after {
	color: #eee;
}

.adminmenu a {
	padding: 4px 6px;
}

.wp-submenu a {
	padding: 4px 6px 4px 12px;
	font-size: 15px;
}

.wp-submenu {
	padding-top: 1px;
	padding-bottom: 1px;
}

.menu-inter {
	padding: 4px 6px 2px 12px;
	margin-top: 2px;
	text-transform: uppercase;
	font-size: 14px;
}

#menu-top select {
	border-color: #222;
	background: #1a1a1a;
	color: #fff;
	width: 100%;
}

#menu-top select:focus {
	border-bottom-color: #298cba;
}

.wp-submenu {
	background: #111;
}

#search #general_table select {
	width: 100%;
}

/* Fix date (year and day) select width */

#search #general_table select[name^="day_"],
#search #general_table select[name^="year_"] {
	width: auto;
}

#footer {
	background: #111;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.23);
}

#footerwrap {
	border-color: #000;
	padding: 3px 6px;
}

#footerhelp {
	padding: 0;
	border-bottom: 0;
}

#footerhelp .footerhelp-content {
	padding: 6px 12px;
}

#footerhelp .footerhelp-content p:first-child:first-letter {
	font-weight: bold;
	font-size: larger;
}

/* Round button + white border */

.BottomButton img {
	height: 24px;
	background-color: #fff;
	border-radius: 50%;
	padding: 3px;
}

#BottomButtonMenu::before {
	color: #000;
	content: "\2261";
	font-size: 1.9rem;
	font-weight: 700;
	line-height: 21px;
	height: 24px;
	width: 24px;
	background-color: #fff;
	border-radius: 50%;
	padding: 3px;
	display: inline-block;
}

.loading {
	border-radius: 50%;
}

/* Footer menu on top */

#footer {
	top: 0;
	bottom: auto;
}

.adminmenu {
	margin-bottom: 0;
}

#wrap {
	padding-top: 39px;
	box-sizing: border-box;
}

#body {
	margin-bottom: 0;
	padding: 0 16px 16px;
}

/* Body bg grey + elements bg white */

html,
body {
	background: #efefef;
}

.postbox,
.widefat {
	background: #fcfcfc;
}

.postbox > thead th,
.widefat tfoot tr th,
.widefat th {
	background: #f9f9f9;
}

.widefat tr:hover {
	background: #fff;
}

.postbox .h3selected {
	background: #fcfcfc;
}

.postbox .h3selected a {
	font-weight: bold;
}

/* Input focus blue halo */

.postbox .h3selected {
	border-top: 2px solid #21759b;
}

.md-preview > .tab.disabled {
	border-top: 2px solid #21759b;
	padding-top: 5px;
}

input[type=color],
.color-input-value {
	/*border-width: 1px;*/
	height: 26px;
	width: 40px;
}

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="url"],
input[type="color"],
select,
textarea {
	border-bottom-width: 2px;
	transition: border .2s;
}

input[type="button"]: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="url"]:hover,
input[type="color"]:hover,
select:hover,
textarea:hover {
	border-color: #aaa;
}

input[type="button"]: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="url"]:focus,
input[type="color"]:focus,
select:focus,
textarea:focus {
	border-color: #aaa;
	border-bottom-color: #298cba;
}

input.button-primary,
button.button-primary,
a.button-primary {
	border-color: #15556b;
}

input.button-primary:hover,
button.button-primary:hover,
a.button-primary:hover,
input.button-primary:focus,
button.button-primary:focus,
a.button-primary:focus {
	border-color: #10354b;
}

/* bigger input height */

body,
input,
select,
textarea {
	line-height: 1.27;
}

input,
select,
textarea {
	padding: 2px;
}

#LO_search {
	height: inherit;
}

#menu-top span {
	padding-top: 3px;
}

#menu form .username,
#menu form .today-date {
	padding-left: 6px;
}

select {
	height: 27px;
}

.legend-gray {
	color: #333;
}

.legend-gray,
.legend-red {
	font-size: 15px;
	margin-bottom: 12px;
}

/* Fix Dashboard tip message row too tall */

td > .legend-gray:first-child {
	margin-bottom: 0;
}

.header2 {
	padding: 5px 12px;
}

.list-nav td {
	padding: 4px 12px;
}

.widefat td,
.widefat th {
	padding: 6px 11px;
}

.list.widefat td .markdown-to-html {
	line-height: 1.236em;
}

.list.widefat th {
	padding: 1px 11px;
	line-height: 2.226em;
}

.header2 table {
	line-height: 1.1;
}

.attendance-code {
	line-height: 1.82;
}

.popTable,
.login .popTable {
	padding: 13px 11px;
}

#cboxLoadedContent {
	padding: 8px 12px !important;
}

#menu form {
	padding: 0 6px;
}

#student-comments span {
	font-style: normal;
	font-size: 14px;
	color: #333;
}

#student-comments div {
	padding: 1px 12px;
	margin-bottom: 12px;
	border-bottom: 1px solid;
}

@media only screen and (max-width:1023px) {
	#body {
		padding: 0 6px 0;
	}
	.rt th,
	.rt th a {
		font-size: 15px;
		line-height: 2em;
	}
	.rt td {
		display: block;
		line-height: 1.87em;
		height: 1.87em;
	}
	.list.rt td,
	.list.rt th {
		padding: 6px 11px;
	}
	.rt .link2colorBox .colorboxinline {
		background-image: url(btn/visualize.png);
	}
	#calendar > thead > tr > th {
		font-size: 13px;
	}
}

@media only screen and (max-width:736px) {
	#menu {
		width: 100%;
	}
	#menu + #body {
		padding-top: 0;
	}
	#menu .logo {
		max-width: 64px;
		max-height: 64px;
		margin: 5px;
	}
	#menu-top select {
		max-width: none;
	}
	.header1 h2 {
		font-size: 24px;
		line-height: 26px;
		padding-left: 36px;
		text-indent: -36px;
	}
	#cboxLoadedContent {
		padding: 5px !important;
	}
}
