﻿/* DGP Custom CSS */

/* fix for flexslider */
/* initially hide. On doc ready, need to redisplay (js)*/
/* .slides li{ display:none; } */

/* Course menu icon: correct right margin */
#course-toggle-bar-1 {
    margin-right: 10px;
}

/* Width limiter for divs */
.w720 {
    max-width: 720px;
}

.gpHidden {display: none;} /* Allows display in editor, but none on site */

.more-block-button {border-radius:5px; background:#ddd; padding:3px 6px 3px 6px; font-size:0.9em;}
.more-block-button:hover {background:#eee;}
.moreBlockDiv{border:1px solid #aaa; padding:10px; background:#f8f8ff; border-radius:5px;}


/* Make well box darker than default */
#story-content .well {
    border-color:#d8d8d8;
}

/* reserve space for mini podcast player <p class="mini-podcast-slot"> */
.mini-podcast-slot {
    color: transparent;
    min-height: 84px;
  }
  
  /* Adjust for narrow screens where the player wraps */
  @media (max-width: 376px) {
    .mini-podcast-slot { min-height: 120px; }
  }

/* Course completed message */
.tell-friends-outer-container {
    max-width: 720px;
    margin-bottom: 30px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 6px;
    background-color: #EBF8FF;
}

.tell-friends-text-container {
    max-width: 550px;
    margin: auto;
    display: block;
}

.addthis-outer-container {
    text-align: center;
    margin-top: 15px;
}

/* Fix textarea to be responsive on feedback pages */
#comment {
    max-width: 100%;
}

/* True-False Question container */
.tf-editor-container, .yn-editor-container {
    opacity: 0;
    height: 310px;
    max-width: 720px;
}

/* Hide journalref superscripts until script toggles them */
#story-content .journalref {
    display: none;
}


.wiki-figure {
    position: relative; /* Ensure the div is positioned relative to contain the pseudo-element */
    text-align: center;
    padding: 0px;
    border: 1px solid #bbb;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 20px;
    background-image: url('https://www.dentaljuce.com/media/pale-image-background.jpg');
    background-size: cover; /* Stretch to fit */
    background-position: center; /* Center the image */
}

.wiki-figure::before {
    content: url('/layout/favicon-16x16.png'); 
    position: absolute;
    top: 5px; /* Adjust as needed */
    left: 5px; /* Adjust as needed */
    width: 18px; /* Adjust as needed */
    height: 18px; /* Adjust as needed */
}

.wiki-figure img {
    display: block;
    margin: 0 auto; /* Center the image */
    padding: 0;
    background-color: transparent;
}

.wiki-figure-caption {
    color: black;
    background: #eef;
    padding: 5px;
    margin-top: 0px;
    text-align: left;
    border-top: 1px solid #ccf;
    font-family: 'Nunito', sans-serif;
}



/* Course Description (index page)  */
.cls-course-details-description p:nth-child(odd) { background-color: #f9f9ff; }
.cls-course-details-description p:nth-child(even) { background-color: #f1f1ff; }
.cls-course-details-description p {padding: 10px; margin: 0 0 2px 0; border-radius: 5px;}
.cls-course-details-description {margin-bottom:20px; display:none;}

/* STORY STYLING */
.firstpara {
    font-size: 1.2em;
}

.videotime {
    display: none;
}

/* Suggested PDP, on course description pages*/
.div-suggested-pdp-container {
    display: none;
}

    .div-suggested-pdp-container tr:nth-child(odd) {
        background-color: #f2f2f2;
        font-weight: bold;
    }

    .div-suggested-pdp-container tr:nth-child(even) {
        font-style: italic;
    }

    .div-suggested-pdp-container table {
        border: 1px solid #ddd;
        margin-bottom: 20px;
    }

/* For swf animations */
.gpVideoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

    .gpVideoWrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

/* For responsive left and right floats. see verifiedlearning[.dotadmin].com/layout-test */
/* NB page needs a container <div style="max-width:720px;">...</div> or the right float goes into the empty right column */
/* <div class="gp-float-right"><img src="/media/banner.jpg" style="width:200px;" /><br />Holding hands</div> */
/* <div class="gp-float-right"><img src="/media/banner.jpg" /><br />Holding hands</div> (defaults to 310px wide) */
.gp-float-right, .gp-float-left {
    text-align: center;
    min-height: 20px;
    padding: 8px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
}

    .gp-float-right img {
        margin: 0;
        display: inline;
    }

    .gp-float-left img {
        margin: 0;
        display: inline;
    }

@media screen and (min-width:600px) {
    .gp-float-right {
        float: right;
        margin-left: 15px;
        max-width: 310px;
    }

    .gp-float-left {
        float: left;
        margin-right: 15px;
        max-width: 310px;
    }
}
/* for Course Progress Circle */
.progress-flex-wrapper {
    display: flex;
    max-width: 730px;
    margin-top: -20px;
    flex-flow: row nowrap;
    border: 0px solid blue;
    float: right;
}

.progress-single-chart {
    width: 70px; /*control overall size */
    justify-content: space-around;
    display: inline-block;
    float: right;
    margin-right: -10px;
}

.progress-circular-chart {
    display: block;
    margin: 0px auto;
    max-width: 100%;
    max-height: 250px;
}

.progress-circle-bg {
    fill: none;
    stroke: #d8d8d8;
    stroke-width: 4.2;
}

.progress-circle {
    fill: #EBF8FF;
    stroke-width: 4.2;
    stroke-linecap: round;
    animation: progress 1.3s ease-out forwards;
}

@keyframes progress {
    0% {
        stroke-dasharray: 0 100;
    }
}

.progress-circular-chart.darkgrey .progress-circle {
    stroke: #4A5568;
}

.progress-percentage {
    fill: #666;
    font-family: sans-serif;
    font-size: 0.4em;
    text-anchor: middle;
}

/* For customer feedback list (tick icon bullet) */
.gp-feedback-container {
    border-radius: .5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border-width: 1px;
    --border-opacity: 1;
    border-color: #cdd2e7;
    max-width: 720px;
}
    .gp-feedback-container ul {
        padding-left: 0;
        margin-bottom: 0;
        list-style-type: none;
        text-align: left;
        display: inline-block;
    }

    .gp-feedback-container li {
        margin: 0;
        padding: 10px 0 10px 30px;
        list-style: none;
        background-image: url("/layout/tick.png");
        background-repeat: no-repeat;
        background-position: left center;
        background-size: 20px;        
    }

/* Mecourse style key points list */

      .checkbox-1-5 {
        transform: scale(1.8);
        margin: 4px 12px 4px 8px;
      }

      .checkbox-bullet {
        display: flex;
        align-items: start;
        margin-bottom: 10px;
      }

/* Mecourse style word definitions */
#divDefinitionOuterContainer {
        width: 360px;
        max-width: 90vw;
        position: absolute !important;
        top: 250px;
        display: none;
        z-index: 100;
      }

      .clsDefinitionContainer {
        position: relative;
        border: 1px solid #aaa;
        background-color: #fff;
        box-shadow: 0 0 35px #999;
        margin: 10px;
      }

      .clsWikiSnipImage {
        float: right;
        margin: 8px;
        border: 1px solid #aaa;
      }

      .clsDefinitionTextContainer {
        padding: 6px;
        margin-top: 0em;
        margin-bottom: 0em;
      }

 .new-word-def {
        color: inherit;
        text-decoration: none;
        background-image: linear-gradient(to left, #9195bb 33%, rgba(255, 255, 255, 0) 0%);
        background-position: bottom;
        background-size: 5px 1px;
        background-repeat: repeat-x;
        cursor: pointer;
      }

      .new-word-def:hover {
        background-size: 9px 2px;
        background-image: linear-gradient(to left, #61659b 33%, rgba(255, 255, 255, 0) 0%);
      }

/* Mecourse Ken Burns */
.kenBurnsMaxW {
    width: 100%;
    max-width: 720px;
    margin-bottom: 12px;
}

/* Mecourse box, boldbox */
.gp-box {
    max-width: 720px;
    border-radius: .5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border-width: 1px;
    --border-opacity: 1;
    border-color: #cdd2e7;
}

    .gp-box p {
        padding: 0;
        margin: 0;
    }

.gp-bold {
    font-weight: bold;
}

/* Mecourtse style: for [align right] pseudocode */
.right-aligned-outer-container {
    max-width: 720px;
    position: relative;
}

.right-aligned-inner-container {
    float: right; /* Float the container to the right */
    max-width: 360px; /* Maximum width of 360px */
    width: 50%; /* Take up to 50% of the available width */
    margin-left: 16px; /* Space between the text and the image */
    margin-bottom: 20px; /* Space above the footer */
    margin-top: 2px;
    margin-right: 2px;
    box-sizing: border-box; /* Include padding and border in the width calculation */
}

.right-aligned-container img {
    width: 100%; /* Make the image fill the container */
    height: auto; /* Keep the image aspect ratio */
}

/* fix for limited accordion height on course index page (set too low at 1000px) */
.tab input:checked ~ .tab-content {
  max-height: 5000px !important;
}
