/* CSS Document */
.tax-course .entry {
    background: #fff;
    border-top: 1px solid #1c1c1c;
    margin-bottom: 0;
    padding: 10px 40px 0;
    word-wrap: break-word;
}
.tax-course .entry-title {
    margin-bottom: 5px;
    text-align:right;
    background-color:white;
    border:none;
  float:right;
  /*width:100%;*/
}
@media (max-width: 800px) {
      .tax-course .entry-title {
        max-width: 100%;
        height: auto;
      }
}
.tax-course p {
/* leave less space before continue reading */  
    margin: 0 0 5px;
    padding: 0;
    min-height:60px;
  float:right;
}
.tax-course .entry-content p {line-height:16px;font-size:14px;}
.tax-course h2 {font-size:16px;width:485px;float:left;font-weight:normal;}
.tax-course .more-link {display:none !important;}
.tax-course .entry-content a {
    color: black;
}
.taxonomy-courses-lessons-sidebar h2,.sidebar-primary h2 {color:black;width:280px;font-weight:bold;}
.content-sidebar-wrap ul.sidebarlessons li {
    list-style-type: none;
    padding-bottom: 30px;
    border-bottom: 1px solid gray;
    background-color: #dddddd;
    padding-right:10px;
    padding-left:10px;
}
#display_courses .one-course {
    height: 385px;
    border: 1px dotted gray;
    margin-bottom: 15px;
    width: 300px;
    padding: 5px;
    position:relative; /* for the ribbons */
    font-size:14px;
    float:right;
    margin-right:10px;
}
@media (max-width: 800px) {
      .tax-course .entry-title {
        height: auto;
      }
}
#display_courses .one-course .course_name {
    font-size:22px;
    line-height:20px;
  text-align:center;
  height:40px;
  padding-top:5px;
}
#display_courses {width:100%;}
.ribbon-wrapper-green {
  width: 85px;
  height: 88px;
  overflow: hidden;
  position: absolute;
  top: -3px;
  right: -3px;
}
.ribbon-green,.ribbon-newcourse {
  font: bold 15px Sans-Serif;
  color: #333;
  text-align: center;
  text-shadow: rgba(255,255,255,0.5) 0px 1px 0px;
  -webkit-transform: rotate(45deg);
  -moz-transform:    rotate(45deg);
  -ms-transform:     rotate(45deg);
  -o-transform:      rotate(45deg);
  position: relative;
  padding: 7px 0;
  left: -5px;
  top: 15px;
  width: 120px;
  background-color: #BFDC7A;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#BFDC7A), to(#8EBF45)); 
  background-image: -webkit-linear-gradient(top, #BFDC7A, #8EBF45); 
  background-image:    -moz-linear-gradient(top, #BFDC7A, #8EBF45); 
  background-image:     -ms-linear-gradient(top, #BFDC7A, #8EBF45); 
  background-image:      -o-linear-gradient(top, #BFDC7A, #8EBF45); 
  color: #6a6340;
  -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
  -moz-box-shadow:    0px 0px 3px rgba(0,0,0,0.3);
  box-shadow:         0px 0px 3px rgba(0,0,0,0.3);
}
.ribbon-green:before, .ribbon-green:after,.ribbon-yellow:before, .ribbon-yellow:after ,.ribbon-newcourse:before,.ribbon-newcourse:after{
  content: "";
  border-top:   3px solid #6e8900;   
  border-left:  3px solid transparent;
  border-right: 3px solid transparent;
  position:absolute;
  bottom: -3px;
}
.ribbon-yellow {
  font: bold 15px Sans-Serif;
  color: #333;
  text-align: center;
  text-shadow: rgba(255,255,255,0.5) 0px 1px 0px;
  -webkit-transform: rotate(45deg);
  -moz-transform:    rotate(45deg);
  -ms-transform:     rotate(45deg);
  -o-transform:      rotate(45deg);
  position: relative;
  padding: 7px 0;
  left: 30px;
  top: 15px;
  width: 120px;
  background-color: #BFDC7A;
  background-image: -webkit-gradient(linear, left top, left bottom, from(orange), to(yellow)); 
  background-image: -webkit-linear-gradient(top, orange, yellow); 
  background-image:    -moz-linear-gradient(top, orange, yellow); 
  background-image:     -ms-linear-gradient(top, orange, yellow); 
  background-image:      -o-linear-gradient(top, orange, yellow); 
  color: #6a6340;
  -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
  -moz-box-shadow:    0px 0px 3px rgba(0,0,0,0.3);
  box-shadow:         0px 0px 3px rgba(0,0,0,0.3);
}
.ribbon-green:before,.ribbon-yellow:before.ribbon-newcourse:before {
  left: 0;
}
.ribbon-green:after,.ribbon-yellow:after,.ribbon-newcourse:after {
  right: 0;
}
.single-lessons .widget {
    padding:0 !important;
}
.one-course {width:320px;}
ul.sidebarlessons li a {color:black;}