/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-backdrop {
    z-index: 0;
}

/* Modal Content */
.modal-content {
    position: relative;
    background: linear-gradient(-135deg, #F0F0F0, #F5F5F5); 
    margin: auto;
    padding: 0;
    border: none;
    width: 80%;
    box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.2), 0px 6px 20px 0px rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #D3D3D3;
    text-decoration: none;
    cursor: pointer;
}

.close {
    opacity: 100 !important;
}

.modal-header {
    padding: 2px 16px;
    background-color: #000000;
    color: white;
    font-family: "Times New Roman", Serif;
    font-size: 25pt;
    text-align: left;
    font-weight: bold;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.modal-body {    
    position: relative;
    padding: 15px;}

.modal-footer {
    padding: 2px 16px;
    background-color: #000000;
    color: white;
    font-family: "Times New Roman", Serif;
    font-size: 25pt;
    text-align: left;
    font-weight: bold;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

body,
.modal-open .page-container,
.modal-open .page-container .navbar-fixed-top,
.modal-open .modal-container {
	overflow-y: scroll;
}

.modalField{
    font-size: .8em;
}

#courseTitle{
    font-weight: bold;   
    font-size: 1em;
}

#fieldTitle, #ceuField, #creditField, #ceCostField{
    font-weight: bold;   
    font-size: .8em;
}    

.modalTable{
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

.modalTr {
    font-size: .8em;
}

.modalTd, .modalTh {
  border: 1px solid #dddddd;
  font-size: .8em;
  font-weight: bold;  
}

.modalTd1 {
  border: 1px solid #dddddd;
  font-size: .8em;
  text-align: center;
}
.modalTr:nth-child(even) {
  background-color: #dddddd;
}    

@media (max-width: 979px) {
	.modal-open .page-container .navbar-fixed-top{
		overflow-y: visible;
	}
}