/* MOD DATE 13-DICIEMBRE-2021 / KRAISTON RAMIREZ (@kraiston1298@gmail.com / kraramirez@itcr.ac.cr) - Sobreescribe estilos de bootstrap para elementos h1 y h2 de menú mobile */
/* vigilar los demas h1 y h2 utilizados en calendario */
#menu-left-content div div h1 {
	font-size: 1.2em !important;
}

#menu-left-content div div h2 {
	font-size: 1.1em !important;
}

/*  Month View  ---------------------------------------------------*/
.cal-month-day {
	background: #ffffff;
	vertical-align: top;
    height: 70px;
	width:70px; /* this width will keep events from compressing the days without events */
}

.cal-month-day:hover {
	background: #cccccc;
    cursor: pointer;
}

.cal-month-today {
	font-weight: bold;
	background-color: #EAF2FF;
	text-align: left;
	vertical-align: top;

}
.cal-month-today:hover {
	background: #cccccc;
    cursor: pointer;
}

.cal-month-day-inactive {
	background: #F0EFF0;
}

.cal-month-event {
	text-align: left;
	font-weight: normal;
    overflow: hidden;
	/*border:1px #ffffff solid;*/
	opacity:.9; 
}

.cal-month-event a {
	font-weight: normal;
}

.cal-month-table {
	margin: 0px;
	padding: 0px;
	border-top: 1px #89A2B3 solid;
	border-left: 1px #89A2B3 solid;
}

.cal-month-table th {
    background-color: #ffffff;
}

.cal-month-table td, .cal-month-table th {
	border-right: 1px #89A2B3 solid;
	border-bottom: 1px #89A2B3 solid;
	padding: 2px;
}

/* END Month View  ---------------------------------------------------*/

.cal-input-field {
	color: #000000;
	margin: 0px;
	padding: 0px;
	border: 1px solid #99CCFF;
	background-color: #FFFFFF;
}

.cal-table-caption {
	font-size: 1.2em;
    font-weight: bold;
    margin: 1em;
    background: #fff;
}

.cal-table-caption img {
	font-family: Helvetica, sans-serif;
    border: 0;
    vertical-align: middle;
}

/* at-a-glance ---------------------------------------------------*/
/* This is the small cal that appears in month/week/day views on the left hand side*/
/* MOD DATE 17-NOVIEMBRE-2021 / KRAISTON RAMIREZ (@kraiston1298@gmail.com / kraramirez@itcr.ac.cr) - cambios de estilo a mini-calendar */
.at-a-glance-head {
    white-space: nowrap;
    margin-right: 5px;
}

#at-a-glance {
	border: none;
	width: 85%;
}

#at-a-glance caption img {
	border: 0;
    vertical-align: middle;
}
/* MOD DATE 19-NOVIEMBRE-2021 / KRAISTON RAMIREZ (@kraiston1298@gmail.com / kraramirez@itcr.ac.cr) - boton en topnavbar para navegar al día de hoy */

#button-today a {
	color: #616161;
}

#button-today a:visited {
	color: #616161;
}

/* MOD DATE 19-NOVIEMBRE-2021 / KRAISTON RAMIREZ (@kraiston1298@gmail.com / kraramirez@itcr.ac.cr) - bordes redondeados a iconos de navegación entre años y meses */
.nav-icons:hover {
	background-color: #F5F5F5;
	color: #2662ff;
	border-radius: 50%;
}

.d-flex {
	display: flex;
}

.mb-10 {
	margin-bottom: 10px;
}

#at-a-glance th, #at-a-glance td {
    width: 25px;
	height:25px;
    border: none;
	background-color: #ffffff;
	font-size: .9em;
	text-align: center;
	border-radius: 50%;
	margin-left: 10px;
	display: flex;
	justify-content: center;
}

#at-a-glance td.months {
	width: 70px;
	text-align: left;
	border-radius: 0%;
	margin-right: 10px;
	display: flex;
	padding-left: 5px;
}

#at-a-glance td.months:hover {
	background-color: #F5F5F5;
}

#at-a-glance td.months.selected {
	color: #FFFFFF;
	font-weight: bold;
	background-color: #EAF2FF;
}

#at-a-glance td.months.selected:hover {
	background-color: #aecbfa;
}

#at-a-glance td.months.today:hover {
	background-color: #2962FF;
}

#at-a-glance td.months.today a:hover {
	color: #FFFFFF;
}

#at-a-glance td.months a {
	display: flex;
	width: 100%;
	align-self: center;
}

#at-a-glance td.months a:hover {
	color: #2662FF;
}

#at-a-glance td.months.selected a {
	color: #2962FF;
	font-weight: bold;
}

#at-a-glance td.selected {
	background-color: #EAF2FF;
}

#at-a-glance td.selected:hover {
	background-color: #aecbfa;
}

#at-a-glance td.selected a {
	text-align: center;
	padding: 0;
	color: #2962FF;
	font-weight: bold;
	align-self: center;
}

#at-a-glance tr.days td {
	text-align: center;
	border: 0px;
}

#at-a-glance td.inactive:hover {
	background-color: #F5F5F5;
}

#at-a-glance a {
	text-decoration:none;
	padding-left:3px;
}

#at-a-glance td.active {
	background-color: #ffffff;
}

#at-a-glance td.active:hover {
	background-color: #F5F5F5;
}

#at-a-glance td.today {
	font-weight: bold;
	background-color: #2962FF;
	
}

#at-a-glance td.today a {
	text-align: center;
	padding: 0;
	color: #FFFFFF;
	font-weight: bold;
	align-self: center;
}

#at-a-glance td.active a {
	color: #212121;
	padding: 0;
	align-self: center;
}

#at-a-glance td.inactive a {
	color: #808080;
	padding: 0;
	align-self: center;
}

/* END at-a-glance ---------------------------------------------------*/


.cal-text-grey-sml {
	font-size: .75em;
	color: #444444;
	font-weight: normal;
}

/* cal-item-view, cal-item-new ---------------------------------------------------*/

#viewadp-mini-calendar {
         /* width: 25%;
		 float: left; */
		 /* display: flex;
		 justify-content: space-around; */
         margin-bottom: 1em;
		 width: 400px;
}

#viewadp-cal-table {
         /* float: right;
		 width: 75%; */
		 padding-left: 15px;
		 width: 100%;
         margin-bottom: 1em;
}

/* Calendario principal en pantalla de cursos */
#cal-table-day, #cal-table-week  {
	font-family: Helvetica, sans-serif;
	font-size: 11px;
	font-style: bold;
	position: relative;
	margin-left: 5%;
	background-color:#ffffff;
}

#cal-table-day th, #cal-table-week th {
    background-color: #ffffff;
}

#cal-table-day thead {
	border-bottom: 2px #F8F9FA solid;
}

.day-time-1 {
	border:1px #ffffff solid;
	background-color:#E3E4E5;
	height:43px;
}
.day-time-1 p, .day-time-2 p {
	margin-top:6px;
	text-align:center;
}

.day-time-2 {
	border:1px #ffffff solid;
	background-color:#E3E4E5;
	height:43px;
}

/*  Week View  ---------------------------------------------------*/

.week-event-1 {
	background-color:#E5E5E5;
	vertical-align:top;
}

.week-event-2 {
	background-color:#ffffff;
	vertical-align:top;
}

.week-entry-item p {
	margin:3px;
}

.week-entry-box {
	position:relative;
	width:100%;
	top:0px;
	z-index:3;
    font-size: 90%;
}

.week-entry-box a {
	text-decoration:none;
	color:#333333;
}


.week-entry-item {
	width:65px;
	border:1px #ffffff solid;
	height:28px;
	opacity:.9; 
	overflow:hidden; 
	cursor: pointer;
	right:0px;
}

.cal-week-day-title td {
	text-align:center;
}

/*  END Week View  ---------------------------------------------------*/

/*  Day View  ---------------------------------------------------*/
.day-event-1 {
	border:0px #ffffff solid;
	background-color:#E5E5E5;
}

.day-event-2 {
	border:0px #ffffff solid;
	background-color:#ffffff;
	border-right: 1px #F8F9FA solid;
	border-bottom: 1px #F8F9FA solid;
}

#day-entry-box {
	position: relative;
	overflow-x: inherit;
	width:100%;
	top:0px;
}

.day-entry-item {
	margin-top: 2px;
	margin-left: 1px;
	font-family: Helvetica, sans-serif;
	position:absolute;
	top: 2%;
	left: 2%;
	padding-left: 4px;
	width:125px;
	height:43px;
	opacity:.9; 
    font-size: 90%;
}

.day-entry-item p {
	margin:3px;
}

/*  END Day View  ---------------------------------------------------*/

/* view-list-display ---------------------------------------------------*/

.list-table caption {
	font-size: 1.2em;
    font-weight: bold;
    margin: 1em;
    background: #fff;
      margin-bottom: 15px;

}

/* END view-list-display ---------------------------------------------------*/
a.cal-icons {
   color: #212121!important ;
    padding-left : 20px;
	text-decoration: none !important;
}

.topnavbar { 
	border: none !important;
	background:#fff; 
	height:40px !important; 
	text-align:center;
	margin-bottom: 10px; 

}
.topnavbar div .active { 
	height: 40px;
	background:#f5f5f5; 
}

.topnavbar div:hover { 
	background:#f5f5f5; 
}

.topnavbar-icon { 
	vertical-align:middle;
	padding-bottom:3px;
	padding-top:1px; 
	border:0px; 
}
.div1 {
	height: 40px;cursor:pointer; width:100px;
}

a.day-view {
    background-image: url("/resources/calendar/images/today.svg");
    background-size: contain;
	background-repeat: no-repeat;
}
a.week-view {
    background-image: url("/resources/calendar/images/week.svg");
      background-size: contain;
	background-repeat: no-repeat;
}

a.month-view {
    background-image: url("/resources/calendar/images/month.svg");
      background-size: contain;
	background-repeat: no-repeat;

}

a.calendar-view {
    background-image: url("/resources/calendar/images/calendar-icon.gif");
}

a.list-view {
    background-image: url("/resources/calendar/images/list.svg");
      background-size: contain;
	background-repeat: no-repeat;
}

a.print-view {
    background-image: url("/resources/calendar/images/print-icon.gif");
}

/* UNUSED?*/

.cal-row-dark {
        background: #DDEEFF;
}

.cal-row-light {
        background: #FFFFFF;
}

.cal-row-hi {
	font-weight: bold;
	border: 0px solid #7D7DFF;
}

.cal-row-lo {
	color: #999999;
	border: 0px solid #7D7DFF;
}

.calendar-Item {
	max-height: 687px;
	background-color:#F8F9FA;
    border-left: 1px #D2DBE1 solid;;
    border-top:1px #89A2B3 solid;
    border-right: 1px #D2DBE1 solid;;
	border-bottom:2px #89A2B3 solid;
	opacity:.9; 
}

.bottomnavbar { 
	margin-top:20px; 
	background:#89A2B3; 
	height:55px; 
	color:#ff0000; 
	text-align:center; 
}

/* This was necessary to get the mini-calendar and the navkey below it to 
   be aligned at the top of the row.  Without this they were valign'd center
   no matter what we did. */

    .cal-overrides #valign-hack td {
        vertical-align:top;
    }

/* This was necessary to get rid of underlines under hyperlinks. */
    .cal-overrides a:link, .cal-overrides a:visited, .cal-overrides a:active {
        text-decoration: none;
        border-bottom: 0px;
    }

    /* re-assert button style */
    a.button {
        text-decoration: none;
        border: solid 1px #CECCCC;
    }
    
    a.button:hover {
    	background-color: #808081;
  		color: #FFFFFF;
  		border: solid 1px #808081;  
    }

a.cal-export-option, a.cal-export-option:link, a.cal-export-option:visited, a.cal-export-option:active {
  border-bottom: 1px solid #666666;
  text-decoration: underline;
}

	.error_msg {
		color: #C52020;
	}

@media (max-width: 480px) {
	table#valign-hack tbody tr td[valign=top] {
		clear: both;
	}
	table#valign-hack tbody tr td[valign=top]:first-child {
		width: 98% !important;
	}
}
@media (min-width: 480px) and (max-width: 768px) {
	table#valign-hack tbody tr td[valign=top] {
		clear: both;
		display: block;
	}
	table#valign-hack tbody tr td[valign=top]:first-child {
		margin: 0 auto;
		width: 100%;
	}
}

.mainDiv {
	justify-content: center;display: flex;
}
.marginDiv {
	margin-top:3px
}
table#valign-hack tbody tr td[valign=top]:first-child {
	max-width: 200px;
	width: 20% !important;
}
    /* mscalderon 03-12-21 style nav menu  */
@media (max-width: 1000px) {
	.navMenu{
	  justify-content: unset!important;
	  }
	}
	
	@media (max-width: 450px) {
	.navMenu{
	  display:block!important;
	  }
	  .div1 {
		text-align:initial;
	  }
	}
   /* mscalderon 16-12-21 menu text decoration   */
	section#sub-navigation ul li a, section#main-menu-td nav li a {
		text-decoration: none !important;
	};