

#course .row {
    display: flex;
    align-items: stretch;
}


.course-pic {
    position: -webkit-sticky;
    position: sticky;
    top: 120px;    
    width: 100%;
    height: 520px; 
    margin-bottom: 20px;
}


.course-pic img,
.course-pic span {
    position: absolute;
    width: 280px; 
    height: 420px; 
    transition: all 0.3s ease;
}


.course-pic span:nth-of-type(1) {
    top: 60px;
    left:140px;
    background: #007BFF;
    z-index: 1;
    opacity: 0.3;
}


.course-pic span:nth-of-type(2) {
    top: 30px;
    left: 70px;
    background: #058FDB;
    z-index: 2;
    opacity: 0.6;
}


.course-pic img {
    top: 0;
    left: 0;
    z-index: 3;
    object-fit: cover;
    background: #eee;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.1);
}

.course-description 
{margin-top:20px;}

.cinfo {  
  height: 320px;
  background: #8bbaed;  
  width: auto;    
  display: block;
  flex-direction: column;
  position: relative; 
  z-index: 2;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 15px 20px;
  box-sizing: border-box !important;
}

.cinfo::after,
.cinfo::before {
  position: absolute;
  content: "";
  transition: all 0.4s;
  z-index: -1;
  box-sizing: border-box; 
}

.cinfo::after {
  width: 0%;
  height: 100%;
  left: 50%;
  top: 0;
  border-bottom: 2px solid #304E66;
  border-top: 2px solid #304E66;
}

.cinfo::before {
  width: 100%;
  height: 0%;
  top: 50%;
  left: 0;
  border-left: 2px solid #3F79A1;
  border-right: 2px solid #3F79A1;
}

.cinfo:hover::after {
  left: 0;
  width: 100%;
}

.cinfo:hover::before {
  top: 0;
  height: 100%;
}

.cinfo span
{color:#fff;
display: block;
text-align: center;
margin-top:10px;
font-size: 22px;}

.cinfo p {
    margin: 0 !important;
    padding: 0 !important;
}

.cinfo ul {
    list-style: none;
    margin: 10px 0;
    padding: 0;
}


.cinfo li:last-child {
    margin-bottom: 0;
}

.cinfo li:last-child {
    margin-bottom: 0;
}

.cinfo li:hover 
{color: #fff;
cursor: pointer;
transition: .5s;}




.cinfo li::before {
    content: "→"; 
    position: absolute;
    left: 0;      
    top: 0;
    transition: all 0.2s ease; 
    color: #304E66;
    font-weight: bold;
}


.cinfo li:hover::before {
    left: 7px;   
    color: #fff;
}


.cinfo li {
    position: relative;
    display: block;
    flex: none;
    box-sizing: border-box;
    margin-left: 8px;
    padding-left: 25px;
    margin-top:5px;
    margin-bottom: 2px;
    color: #333;
    font-size: 15px;
    line-height:17px;
}

.cinfo li:hover {
    padding-left: 32px; 
}

@media (max-width:1566px) {


.course-pic {
    position: -webkit-sticky;
    position: sticky;
    top: 120px;    
    width: 100%;
    height: 520px; 
    margin-bottom: 20px;
}


.course-pic img,
.course-pic span {
    position: absolute;
    width: 220px; 
    height: 400px; 
    transition: all 0.3s ease;
}


.course-pic span:nth-of-type(1) {
    top: 60px;
    left:120px;
    background: #007BFF;
    z-index: 1;
    opacity: 0.3;
}


.course-pic span:nth-of-type(2) {
    top: 30px;
    left: 60px;
    background: #058FDB;
    z-index: 2;
    opacity: 0.6;
}


.course-pic img {
    top: 0;
    left: 0;
    z-index: 3;
    object-fit: cover;
    background: #eee;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.1);
}    

}    

