/* lesson-01-section-09 */

#lesson-01-section-09 {
    position: relative;
    padding-bottom: 60px;
}

#lesson-01-section-09 #container-01 {
    position: relative;
}

#lesson-01-section-09 #container-01 .item-01 {
    max-width: 570px;
    padding-top: 42px;
    position: relative;
    z-index: 2;
}

#lesson-01-section-09 #container-01 .item-01 h2 {
    font-size: 50px;
    font-family: "Roboto Slab";
    color: rgb(0, 44, 70);
    line-height: 55px;
    text-align: left;
    font-weight: 300;
}

#lesson-01-section-09 #container-01 .item-01 p {
    font-size: 24px;
    font-family: "Roboto Slab";
    color: rgb(0, 44, 70);
    line-height: 29px;
    text-align: left;
}

#lesson-01-section-09 #container-01 .item-01 h2 span {
    font-weight: 800;
}

#lesson-01-section-09 #container-01 .row-01 .col-01::after{
    content: url(../images/lesson-01-section-09-icons-01.png);
    position: absolute;
    top: 6%;
    right: 4%;
    z-index: 1;
}

#lesson-01-section-09 #container-01 {
    background: url(../images/lesson-01-section-09-background-01.jpg) #f5ad03;
    background-position: center;
    min-height: 405px;
}

#lesson-01-section-09 #container-02 {
    position: relative;
    margin-top: -10%;
}

#lesson-01-section-09 #container-02 .icon-left:first-child::before {
    content: url(../images/lesson-01-section-09-icons-02.png);
    width: 100px;
    height: 75px;
    position: absolute;
    top: 0px;
    left: -110px;
}

#lesson-01-section-09 #container-02 .item-box {
    position: relative;
    margin-top: 40px;
    padding: 0px 10px;
}

#lesson-01-section-09 #container-02 .col-lg-5:first-child .item-box .box {
    float: right;
}

#lesson-01-section-09 #container-02 .item-box .box {
    position: relative;
    width: auto;
    max-width: 100%;
    height: auto;
    padding-bottom: 56.29%;
    border: #fff solid 12px;
    background-color: #000;
    border-style: solid;
    border-width: 10px;
    border-color: rgb(255, 255, 255);
    box-shadow: 0px 22px 14px 0px rgba(0, 0, 0, 0.2);
    background-size: cover;
    background-position: center;
}

#lesson-01-section-09 #container-02 .item-box .box .button {
    width: 70px;
    height: 70px;
    background-color: #f5ad03;
    position: absolute;
    right: -35px;
    bottom: -35px;
    cursor:pointer;
}

#lesson-01-section-09 #container-02 .item-box .box .text
{
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
    background-color: rgba(245, 173, 3, .7);
    overflow: hidden;
    height: 0;
    transition: .5s ease;
}

#lesson-01-section-09 #container-02 .item-box .box.opened .text {
    height: 100%;
}

#lesson-01-section-09 #container-02 .item-box .box .text p
{
    padding: 15px;
    font-size: 22px;
    font-family: "Roboto Slab";
    line-height: 24px;
    text-align: left;
}

#lesson-01-section-09 #container-02 .item-box .box .text p strong
{
    font-weight: bold !important;
}

#lesson-01-section-09 #container-02 .item-box .box .button .horizontal {
    position: absolute;
    background-color: #fff;
    width: 45px;
    height: 10px;
    left: 50%;
    margin-left: -23px;
    top: 50%;
    margin-top: -5px;
}

#lesson-01-section-09 #container-02 .item-box .box .button .vertical {
    position: absolute;
    background-color: #fff;
    width: 10px;
    height: 45px;
    left: 50%;
    margin-left: -5px;
    top: 50%;
    margin-top: -22px;
}

#lesson-01-section-09 #container-02 .item-box .box.closed .vertical {
    transition: all 0.5s ease-in-out;
    transform: rotate(-90deg);
}

#lesson-01-section-09 #container-02 .item-box .box.closed .horizontal {
    transition: all 0.5s ease-in-out;
    transform: rotate(-90deg);
    opacity: 1;
}

#lesson-01-section-09 #container-02 .item-box .box.opened .button {
    opacity: 1;
}

#lesson-01-section-09 #container-02 .item-box .box.opened .button .vertical {
    transition: all 0.5s ease-in-out;
    transform: rotate(90deg);
}

#lesson-01-section-09 #container-02 .item-box .box.opened .button .horizontal {
    transition: all 0.5s ease-in-out;
    transform: rotate(90deg);
    opacity: 0;
}

#lesson-01-section-09 #container-02 .col-lg-5:first-child .item-box .box .button {
    left: -35px;
}

@media (max-width: 1199.98px) {
    #lesson-01-section-09 #container-01{
        min-height: 365px;
    }

    #lesson-01-section-09 #container-01 .row-01{
        padding-top: 30px;
    }

    #lesson-01-section-09 #container-02 .icon-left:first-child::before{
        display: none;
    }
}

/* 991px */
@media (max-width: 991px) {
    .tab {
        padding-bottom: 80px;
    }

    #lesson-01-section-09 #container-01 {
        min-height: 345px;
    }

    #lesson-01-section-09 #container-01 .row-01 .col-01::after {
        right: 0%;
        opacity: .6;
    }

    #lesson-01-section-09 .container {
        max-width: none;
        text-align: center;
    }

    #lesson-01-section-09 #container-02, #lesson-01-section-09 .container {
        max-width: none;
    }    

    #lesson-01-section-09 .container .col-left, #lesson-01-section-09 .container .col-right{
        text-align: center;
        width: 50%;
        margin: 0px;
        padding: 0px;
        flex: none;
        max-width: none;
    }

    #lesson-01-section-09 #container-02 .item-box .box{
        margin: auto;
    }

    #lesson-01-section-09 #container-02 .item-box .box .button{
        right: 0;
        left: 0;
        margin: auto;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 767.98px) {
    .tab .nav-item a {
        width: 120px;
        height: 80px;
    }

    .tab .nav-item a img {
        max-width: 100%;
        max-height: 60px;
    }

    .tab .tab-content .tab-pane .box {
        margin-top: 20px;
    }

    #lesson-01-section-09 #container-01 .item-01 h2{
        font-size: 45px;
        line-height: 50px;
    }

    #lesson-01-section-09 #container-02 .item-box .box .button{
        width: 45px;
        height: 45px;
        bottom: -28px;
    }

    #lesson-01-section-09 #container-02 .item-box .box .button .horizontal {
        position: absolute;
        background-color: #fff;
        width: 26px;
        height: 8px;
        left: 50%;
        margin-left: -13px;
        top: 50%;
        margin-top: -4px;
    }

    #lesson-01-section-09 #container-02 .item-box .box .button .vertical {
        position: absolute;
        background-color: #fff;
        width: 8px;
        height: 26px;
        left: 50%;
        margin-left: -4px;
        top: 50%;
        margin-top: -13px;
    }

    #lesson-01-section-09 #container-02 .item-box .box .text p {
        padding: 8px;
        font-size: 18px;
        font-family: "Roboto Slab";
        line-height: 21px;
        text-align: left;
    }
}

@media (max-width: 600.98px) {

    #lesson-01-section-09 #container-02 .item-box .box .text p {
        padding: 8px;
        font-size: 14px;
        font-family: "Roboto Slab";
        line-height: 19px;
        text-align: left;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
    .tab .nav-item a {
        width: 100px;
    }

    .tab .nav-item a img {
        max-height: 50px;
    }

    .tab .tab-content .tab-pane p {
        font-size: 20px;
    }

    #lesson-01-section-09 #container-01 .row-01 .col-01::after {
        right: 0px;
        left: 0px;
        margin: auto;
        opacity: .3;
    }

    #lesson-01-section-09 #container-02{
        margin-top: -15%;
    }

    #lesson-01-section-09 .container .col-left, #lesson-01-section-09 .container .col-right{
        width: 100%;
    }

    #lesson-01-section-09 #container-02 .item-box .box {
        position: relative;
        width: 100%;
        max-width: 370px;
        height: 240px;
        padding-bottom: 0px;
    }
    
    #lesson-01-section-09 #container-02 .item-box .box .text p {
        padding: 8px;
        font-size: 20px;
        font-family: "Roboto Slab";
        line-height: 23px;
        text-align: left;
    }
}

@media (max-width: 510.98px) {
    .tab {
        padding-bottom: 35px;
    }

    .tab .tab-content .tab-pane {
        margin: 0px;
        padding: 10px;
        display: block;
        background-color: transparent;
        margin-bottom: 20px;
        border-radius: 12px;
    }

    .tab .tab-content .tab-pane.fade {
        opacity: 1;
    }

    .tab .tab-content .tab-pane .container {
        padding: 0px;
    }

    .tab .tab-content .row-icon {
        display: block;
        margin-bottom: 20px;
    }

    .tab .tab-content {
        padding: 0px;
        background-color: transparent;
        box-shadow: 0px 10px 40px rgba(0, 0, 0, 0);
    }

    .tab .tab-content .tab-pane h2 {
        font-size: 28px;
        color: rgb(255, 255, 255);
    }

    .tab .tab-content .tab-pane p {
        color: rgb(255, 255, 255);
    }

    .tab .nav.nav-tabs {
        display: none;
    }

    .tab .tab-content .tab-pane .box {
        background-color: transparent;
        padding: 0px;
    }

}

@media (max-width: 425.98px) {
    #lesson-01-section-09 #container-01 .row-01{
        padding-top: 15px;
    }

    #lesson-01-section-09 #container-01 .item-01 h2{
        font-size: 40px;
        line-height: 45px;
    }

    #lesson-01-section-09 #container-02 {
        margin-top: -25%;
    }

    #lesson-01-section-09 #container-02 .item-box .box {
        position: relative;
        width: auto;
        max-width: 100%;
        height: auto;
        padding-bottom: 56.29%;
    }
}

@media (max-width: 375.98px) {
    #lesson-01-section-09 #container-02 .item-box .box .text p {
        padding: 10px;
        font-size: 16px;
        font-family: "Roboto Slab";
        line-height: 19px;
        text-align: left;
    }
}
