/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

div#ielts-course-container {
    box-shadow: 0 0 3px #ccc;
    width: 99%;
    min-width: 99%;
    max-width: 99%;
    height: auto;
    padding: 10px 10px 40px;
    background: #fff;
    margin: 0 auto 25px;
}

.ielts-course-inner {
    width: 100%;
    margin: 0 auto;
    max-width: 1080px
}

.custom-fonts * {
    font-family: 'Mulish', sans-serif;
}

.course-card {
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    background: #fff;
    padding: 3rem 2rem;
    font-size: .875rem;
    position: relative;
    border: 1px solid #dadada;
}

hr.course-seprator {
    height: 3px;
    background: linear-gradient(45deg, #03a9f4, transparent);
    margin-top: 5px;
    margin-bottom: 5px;
    width: 300px;
    float: left;
    border: none;
}

button.course-expand-btn {
    box-shadow: 0 0 4px #6b6868;
    padding: 5px 10px;
    font-size: 12px;
    background: linear-gradient(45deg, #2196f3, #033c69) !important;
    border: 0;
    color: white !important;
    font-weight: 400;
    border-radius: 5px;
}

.custom-box-color {
    background: #c7c5c5;
    line-height: 28px;
    vertical-align: middle;
    font-weight: 700;
}

.ielts-topics:before {
    content: attr(data-content);
    position: absolute;
    top: -14px;
    border: 1px solid;
    padding: 1px 15px;
    border-radius: 5px;
    color: white;
    background: #30ad11;
    z-index: 1;
}

.topic-box {
    float: left;
    width: 20.53%;
    text-align: center;
    padding: 0;
    position: relative;
}

.topic-circle-box {
    width: 80px;
    height: 80px;
    position: relative;
    margin: 0 auto 15px;
    padding: 15px;
    border-radius: 45px;
    overflow: hidden;
}

.course-card-body {
    margin: 10px 0;
}

.box-flex {
    display: flex;
    vertical-align: middle;
    justify-content: center;
    margin-top: 20px;
}

.topic-controls {
    width: 126px;
    height: 32px;
    line-height: 32px;
    border-radius: 4px;
    background-color: #32b4c8;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: .5px;
    text-align: center;
    color: #fff;
    margin: 0 auto;
    position: relative;
    -moz-transition: all ease .2s;
    -o-transition: all ease .2s;
    -webkit-transition: all ease .2s;
    transition: all ease .2s;
}

.--reading {
    background: #249858;
}

.--writing {
    background: #faaa5a;
}

button.topic-btn {
    padding: 0;
    margin: 0;
    font-size: inherit;
    background: inherit !important;
    color: white !important;
    outline: none;
}

button.topic-btn:hover {
    border: 0 !important;
}

.practice-item__more {
    display: inline-block;
    background-color: #fff;
    text-align: center;
    float: right;
    width: calc(100% - 101px);
    position: relative;
    height: 100%;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    -moz-transition: all ease .2s;
    -o-transition: all ease .2s;
    -webkit-transition: all ease .2s;
    transition: all ease .2s;
}

.practice-item__more-dots {
    color: #32b4c8;
    height: 30px;
    line-height: 22px;
    font-weight: bold;
    letter-spacing: 1.7px;
    font-size: 16px;
    cursor: pointer;
    display: block;
    position: relative;
}

.practice-item__more:hover .practice-item__more-dots:before {
    content: attr(data-content);
    position: absolute;
    z-index: 999;
    display: block !important;

}


button.ielts-drop-down-items,a.ielts-drop-down-items {
    display: block;
    width: 100%;
    padding: 0 8px;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    text-decoration: none;
    border-bottom: 1px solid #d8d8d8;
}

.ielts-drop-down {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 8rem;
    padding: 0;
    margin: .125rem 0 0;
    font-size: 12px;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .25rem;
    transition: transform 444ms ease;
}

.show-dropdown{
    transform: translate3d(-103px, 30px, 5px);
    top: 0;
    left: 0;
    will-change: transform;
    box-shadow: 0 0 4px #d8d6d6;
    opacity: 1 !important;
    display:block;
}

button.ielts-drop-down-items {
    font-size: inherit;
    text-align: center;
    padding: 6px 0;
    background: inherit !important;
    color: #212529 !important;
}

button.ielts-drop-down-items:hover{
    border:1px solid #d8d8d8;
    outline:none;
}

.locked-course:after {content: 'locked (complete previous course)';position: absolute;width: 100%;height: 100%;transform: translate3d(-20px, -15px, 0px);cursor: no-drop;background: #0000009e;text-align: center;color: #e4dcdf;padding: 68px 0;font-size: 25px;text-transform: uppercase;}

.theme-border{
    border: 3px solid #d5d5d5;
    padding:20px !important;
}




@media only screen and (max-width: 740px) {
    .box-flex{
        justify-content:space-around;
    }
    .topic-box {
        width: 100%;
    }
}

@media only screen and (max-width: 580px) {
    .box-flex{
        justify-content:center;
        display:grid;
    }
    .topic-box {
        width: 100%;
        display: flex;
    }
    .topic-controls {
        position: relative;
        top: 23px;
        left: 15px;
    }
}

.course-box.mb-4 {
    margin-bottom: 30px;
}

/* --------- latest design ----------- */


.bb-app-card {
    display: flex;
    background: white;
    border-radius: 20px;
    border-width: 1px;
    border-style: solid;
    border-color: #dedef7;
    box-sizing: border-box;
    padding: 10px;
    width: auto;
    min-width: 45%;
    float: left;
    margin: 15px;
    flex-direction: column;
    transition: all 0.666s ease;
}

.expland-card {
    transform: translate(10);
}


.bb-app-card.expland-card {
    box-shadow: 0px 4px 7px 0px #cecece;
    border: 0;
}
.bb-app-card-row {
    display: flex;
    width: 100%;
    flex-direction: row;
    float: left;
}

.bb-app-card {
    position: relative;
    overflow: hidden;
    user-select:none;
}

/* -- icons --- */
/*span.bb-icon {
    display: block;
    width: 15px;
    margin: 0;
    padding: 0;
    position: relative;
    top: 3px;
}*/

.bb-custom-color-icon svg path {fill: #695ae0;stroke: #695ae0;}

.bb-icon-right {
    transition: all 0.4s ease;
    transform: rotate(0deg);
}

.expland-card .bb-icon-right {
    transform: rotate(90deg);
}


.legal-box {
    width: 100%;
    margin: 0 5px;
}


.bb-app-card-icon {
    max-width: 70px;
    border-radius: 20px;
    overflow: hidden;
    padding: 0px;
    height: 70px;
    float: left;
    border: 1px solid transparent;
}

.bb-app-card-details {
    display: flex;
    flex-direction: row;
    padding: 3px 10px;
    width: 100%;
}


.bb-app-details-inner {
    display: flex;
    flex-direction: column;
    width: 85%;
    float: left;
    padding-left: 4px;
    padding-top: 8px;
}


.bb-app-details-title {
    font-size: 16px;
    letter-spacing: 0.8px;
    color: #232323;
    font-weight: bold;
    font-family: 'Roboto';
}

.bb-app-details-dsc {
    display: flex;
    flex-direction: row;
}

.bb-app-badge {margin-right: 10px;display: flex;font-size: 10px;color: white;border-radius: 10px;padding: 1px 8px;margin-top: 2px;}

.bb-app-details-dsc {
    display: flex;
    flex-direction: row;
}

.bb-app-badge-secondary {
    background: #696767;
}

.bb-app-controls {
    float: right;
    width: 15%;
    padding: 0;
    text-align: center;
    position: relative;
    top: 2px;
}

.bb-app-controls button {
    padding: 0;
    vertical-align: middle;
    background: inherit !important;
    color: #828282 !important;
    border: 1px solid #ccc;
    margin: 3px auto;
    width: 46px;
    height: 45px;
    text-align: center;
    border-radius: 21px;
    padding-left: 6px;
    box-shadow: 0 0 3px #ccc;
}






span.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 600ms linear;
  background-color: rgb(33 31 31 / 50%);
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}



.expland-card .result-row {
    height: auto;
    position: relative;
    top: 15px;
    border-top: 1px solid #e8e8e8;
    display: block !important;
    opacity: 1;
    transition: all 555ms cubic-bezier(0.68, -0.55, 0.27, 1.55);
    pointer-events: auto;
}
.result-row {
    opacity: 0;
    height: 0;
    pointer-events: none;
}



.bb-app-btn-sm {
    padding: 0;
    width: 30%;
    font-size: 13px;
    margin: 0;
    text-align: center;
    background: inherit !important;
    color: black !important;
    text-decoration: none;
    outline: none;
    display: flex;
    flex-direction: column;
    vertical-align: middle;
    justify-content: space-around;
    float: left;
}

.bb-app-btn-sm:hover {
    outline: none;
    border: 0;
}

.bb-app-btn-sm i.fa {
    font-size: 19px;
    text-align: center;
    display: block;
    margin: 0 auto;
    color: #505050;
}

.bb-app-btn-sm p {
    text-align: center;
    display: block;
    margin: 0 auto;
}

.bb-app-badge-success {
    background-color: #30ad11;
}

.bb-app-badge-violet {
    background-color: #920592;
}


span.bb-icon-sm {
    display: block;
    width: 24px;
    margin: 0 auto 5px;
}


span.bb-icon-sm svg path {
    fill: #616167;
}
.bb-app-btn-x {
    padding: 10px 0;
    width: 33%;
    margin: 10px auto;
    background: inherit !important;
    float: left;
    flex-direction: column;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    color: black !important;
    text-decoration: none !important;
    outline: none;
    text-align: center;
    opacity: 0;
    transition: opacity 1s, top .4s;
    position: relative;
    top: -50px;
    border:0;
}

.expland-card .bb-app-btn-x{
    opacity: 1;
    top:0;
}

.bb-app-btn-x:hover, .expland-card .bb-app-btn-x:hover{
    outline: none;
    border: none;
}

p.bb-btn-text {
    margin: 0 auto;
    font-family: 'Arial';
    color: #616167;
    font-size: 15px;
}


.bb-btn-disabled {
    filter: blur(0px);
    cursor: no-drop;
}

.bb-btn-disabled svg path, .bb-btn-disabled .bb-btn-text {
    fill: #bebdc5 !important;
    color: #bebdc5;
}


/** mobile 840 */
@media only screen and (max-width: 840px){
    .bb-app-card{
        float: initial;
    }
    span.locked-tooltip {
        top: -10px;
        z-index: 999;
    }
}

@media only screen and (max-width: 480px){
   
    .course-card {
        padding: 10px 4px;
    }
    .legal-box {
        margin: 0;
    }

    .bb-app-card-icon {
        max-width: 55px;
        height: 55px;
        position: relative;
        top: 5px;
    }
    
    .bb-app-card-details {

    }
    
    .bb-app-details-title {
        font-size: 12px;
    }
    
    .bb-app-badge {
        font-size: 9px;
    }
    
    span.bb-icon {
        width: 15px;
    }
    
    span.bb-icon-sm {
        width: 20px;
    }
    
    p.bb-btn-text {
        font-size: 12px;
    }
    
    .expland-card .result-row {
        top: 7px;
    }
    
    .bb-app-btn-x {
        padding: 5px 0px 0;
        margin: 4px 0;
    }
    
}



span.locked-tooltip {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: white;
    background: #000000ad;
    border: 0;
    text-align: center;
    align-self: center;
    padding: calc(30px);
}

/* own style */
.row.dark-line-border {
    display: inline-flex !important;
    margin: 0 auto;
}


.row.dark-line-border select {
    width: 100%;
    height: auto;
}

.equal-width {
    margin-right: 6px;
    float: left;
    display: inline-flex;
}

.equal-width button {
    margin-right: 0px;
    margin-left: 5px;
}

@media only screen and (max-width: 767px){

    .equal-width {
        display: block;
        margin-bottom: 5px !important;
    }
    .row.dark-line-border {
        display: flex !important;
        flex-direction: column;
    }

}

.bg-listening,.bg-reading,.bg-writing,.bg-listening {
        
    padding: 13px;
    line-height: 8px;
    border: 1px solid transparent;
    border-radius: 0;
}

.bg-listening{
    background: #32b4c8 !important;
    color: white !important;
}

.txt-listening{
  color: #32b4c8 !important;
  font-weight:bold;
}

.txt-reading{
  color: #327846 !important;
  font-weight:bold;
}

.txt-writing{
  color: #fbaa5b !important;
  font-weight:bold;
}

.txt-speaking{
  color: #c76478 !important;
  font-weight:bold;
}

.bg-reading{
    background: #327846 !important;
    color: white !important;
}

.bg-writing{
    background: #fbaa5b !important;
    color: white !important;
}

.bg-speaking{
    background: #c76478 !important;
    color: white !important;
} 

.bb-unlocked-course .bb-icon-locked {
    display: none;
}


/*span.bb-icon {
    display: block;
    width: 35px;
    margin: 0;
    padding: 13px 8px 0;
    position: relative;
    top: -6px;
    left: -7px;
    z-index: 9;
   
}*/
span.bb-icon {
    display: block;
    width: 35px;
    margin: 0;
    padding: 25px 7px 15px 12px;
    position: relative;
    top: -6px;
    left: -7px;
    z-index: 9;
    cursor: pointer;
    /* border: 1px solid; */
}


.bb-locked-course .bb-expland-icon {
    display: none;
}






