.menu{
  /*width: 620px;*/
  margin: 10px auto; padding: 5px;	
  list-style: none;
  counter-reset: li;
  background: #fff;/*
  -moz-box-shadow: 0 8px 20px rgba(0,0,0,0.1) ;
  -webkit-box-shadow: 0 8px 20px rgba(0,0,0,0.1) ;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);*/
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

.menu:before,
.menu:after {
  content: "";
  display: table;
}

.menu:after {
  clear: both;
}

.menu {
  zoom:1;
}

/* -------------------------------- */        

.course-title {
  font-size: 0.8em;
  font-weight: bold;
}
.cover, .benefits{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.cover li {
  flex: 0 0 40.333333%;
  /*box-shadow: 5px 5px 2px 0 rgba(0,0,0,0.4) inset;
  background-image: linear-gradient(-270deg, rgba(166, 189, 54, 0.438) 0%, #16274b 20%, #0859fa79 80%, rgba(56, 177, 167, 0) 100%);*/
  background: rgb(0, 176, 240);
  border: 2px solid #a1adacce;
}
.benefits li {
  flex: 0 0 25.333333%;
  box-shadow: 5px 5px 2px 0 rgba(0,0,0,0.4) inset;
  /*background-image: linear-gradient(-270deg, rgba(166, 189, 54, 0.438) 0%, #16274b 20%, #0859fa79 80%, rgba(56, 177, 167, 0) 100%);*/
  background: rgb(0, 32, 96);
  border: 2px solid #a1adacce;
}
.menu li {
  position: relative;
  text-align:center;
  vertical-align: middle;
  float: left;
  cursor: pointer;
  margin: 10px;
  color: #fff/* rgb(0, 32, 96) */;
	border-radius: 20px;
	padding:4px;
  list-style: none;
  /*font: italic bold 1em/120px 'trebuchet MS', Arial, helvetica;
  opacity: .2;*/
  transition: transform 0.5s; /* Animation */
  /*background-color: #2c618f;*/
  font-size: 1em;
  letter-spacing: 2px;
  line-height: 2em;
  font-weight: bold;
  text-transform:uppercase;
}

.menu li:hover, .menu li:focus{
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,.2)), to(rgba(255,255,255,0)));
  background-image: -webkit-linear-gradient(top, rgba(255,255,255,.2), rgba(255,255,255,0));
  background-image: -moz-linear-gradient(top, rgba(255,255,255,.2), rgba(255,255,255,0));
  background-image: -ms-linear-gradient(top, rgba(255,255,255,.2), rgba(255,255,255,0));
  background-image: -o-linear-gradient(top, rgba(255,255,255,.2), rgba(255,255,255,0));
  background-image: linear-gradient(top, rgba(255,255,255,.2), rgba(255,255,255,0));
  transform: scale(0.9);
  background-color: rgb(0, 176, 240);
  box-shadow: 15px 15px 10px 0 rgba(0,0,0,0.4) inset;
  border: 2px solid #b0b4a8e3;
  color:rgb(0, 32, 96) ;
}

.menu .cover{
  z-index: 2;
}

.menu .cover:focus{
  outline: 1;
}

/* -------------------------------- */

.menu li::after{
  /*content: counter(li);
  counter-increment: li;*/
  font: italic bold 10px serif, georgia;
  position: absolute;
  color: rgba(255,255,255,.1);
  opacity: 0;
  -webkit-transition: all .2s ease-out;
  -moz-transition: all .2s ease-out;
  -ms-transition: all .2s ease-out; 
  -o-transition: all .2s ease-out;  
  transition: all .2s ease-out;    
  
}      

.menu li:hover::after, .menu li:focus::after{
  font-size: 40px;
  opacity: 1; 
}

.menu .cover::after{
  z-index: -5;
}
.menu * .rounded {
  border-radius:15px; 
}
@media only screen and (max-width:768px) {
  .menu li {
    font-size: 0.7em;
  }
}
/* --------------------------------
.menu li:nth-child(1),
.menu li:nth-child(2),
.menu li:nth-child(3){
  margin-top: 0;
}

.menu li:nth-child(5),
.menu li:nth-child(6),
.menu li:nth-child(7){
  margin-left: 0;      
}

*/        

/* -------------------------------- */       


/*
.menu li:nth-child(1)
{
  background-color: #2c618f;
}         

.menu li:nth-child(2)
{
  background-color: #91ab31;   
}   

.menu li:nth-child(3)
{
  background-color: #714a28;   
}

.menu li:nth-child(4)
{ background-color: #e58600;      
}

.menu li:nth-child(5)
{
  background-color: #c33a00;
}

.menu li:nth-child(6)
{
  background-color: #7f5dac;
}

.menu li:nth-child(7)
{
  background-color: #5672b7;     
}

.menu li:nth-child(8)
{
  background-color: #69003f;
}

.menu li:nth-child(9)
{
  background-color: #393043;
}
*/
/* -------------------------------- */

.modal{
  opacity: 1; 
  /*overflow: hidden;*/
  position: absolute;
  /*height: 100%; width: 100%; Ideally: height: 100%; width: 100%; but works at it should just in FF */
  -webkit-transition: all .3s ease-out;
  -moz-transition: all .3s ease-out;
  -ms-transition: all .3s ease-out; 
  -o-transition: all .3s ease-out;  
  transition: all .3s ease-out;
  box-shadow: 0 8px 26px 0 rgba(0,0,0,0.4);  
  width:100%;
}
.modal-dialog {
	/*margin-top:2px;
  display: block;
  position: fixed;
  z-index: 10;
  padding: 10px;
  top: 10%;
  bottom: 10%;*/
  transition: 0.3s;
  overflow-y: initial !important;
  border-radius: 5px 5px 0 0;
  left: 0;
  right: 0;
  top: 80px;
  bottom: 10px;
  margin: auto;
  position: fixed;
  width:75%;
}
.modal-dialog * img {   
  display: block;
  /*margin:5%;
  width:90%;
  height:90%;*/
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.9s;
}
.modal-dialog * img:hover {
  
}
.modal-header{
  background-color: #0070c0;
  border-radius: 5px 5px 0 0;
}
.modal-title{
text-transform: uppercase;
color:#fff;
font-weight: bold;
letter-spacing: 2px;
font-size: 1.3em;
} 
.modal-body {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}
.modal-body * h4 {
  display: inline-block;
  color: #234567;
  font-size: 1.1em;
  font-weight: bold;
} 
.modal-body * .text-justify {
  font-size: 1.1em;
  line-height: 1.5;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}
.modal-footer .btn{
  background-color:#191362;
  border-radius:5px;
  transition: 0.8s;
  border:2px solid #234567;
  }
.btn-primary{
	font-size: 15px;
	line-height: 15px;
	padding: 6px 6px;
	border: 2px solid#fff;
	text-transform: uppercase;
	border-radius: 0px;
	font-weight: 700;
	color: #fff;
	-webkit-transition: all .4s ease-in 0s;
	-o-transition: all .4s ease-in 0s;
	transition: all .4s ease-in 0s;
}

.btn-primary:hover{
	background-color: #204a87;
	color: #fff;
	border-color: #555;
}
