section#tutor-profile{
    background-color: rgba(240, 240, 240, 0.9);
    margin: 8vw 5vw 4vw 5vw;
    width: 90vw;
}

section#tutor-profile ul.tutor-profile-details{
    list-style: none;
    margin: 0 0 0 0;
    padding: 4vw 3vw 4vw 3vw;
    width: 84vw
}

@media only screen and (max-device-width: 480px){
    section#tutor-profile{
        margin: 24vw 2vw 12vw 2vw;
        width: 96vw;
    }

    section#tutor-profile ul.tutor-profile-details{
        padding: 3vw 2vw 3vw 2vw;
        width: 92vw
    }
}

/* === Photo === */
section#tutor-profile ul.tutor-profile-details li.tutor-profile-photo-li{
    float: left;
    margin: 0 2vw 0 0;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-photo-li img.blue-tutors-logo{
    left: -2vw;
    mask-image: linear-gradient(to right, rgba(0,0,0,1), rgba(0,0,0,0));
    -webkit-mask-image: -webkit-gradient(linear, left bottom, right bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
    top: 3vw;
    width: 22.5vw;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-photo-li div.tutor-profile-photo{
    border-radius: 0.3vw;
    display: inline-block;
    position: relative;
	overflow: hidden;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-photo-li div.tutor-profile-photo img.desktop-image{
    display: block;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-photo-li div.tutor-profile-photo img.mobile-image{
    display: none;
}

@media only screen and (max-device-width: 480px){
    section#tutor-profile ul.tutor-profile-details li.tutor-profile-photo-li{
        margin: 0 0 0 0;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-photo-li img.blue-tutors-logo{
        left: -2vw;
        mask-image: linear-gradient(to right, rgba(0,0,0,1), rgba(0,0,0,0));
        -webkit-mask-image: -webkit-gradient(linear, left bottom, right bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
        position: absolute;
        top: 8vw;
        width: 60vw;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-photo-li div.tutor-profile-photo{
        border-radius: 1.25vw;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-photo-li div.tutor-profile-photo img.desktop-image{
        display: none;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-photo-li div.tutor-profile-photo img.mobile-image{
        display: block;
    }
}

/* === Name === */
section#tutor-profile ul.tutor-profile-details li.tutor-profile-name{
    display: inline-block;
    color: #0F1425;
    font-size: 3.5vw;
    font-weight: 350;
    height: 4.2vw;
    line-height: 4.2vw;
    text-align: center;
    vertical-align: middle;
    width: 21.8vw;
}

@media only screen and (max-device-width: 480px){
    section#tutor-profile ul.tutor-profile-details li.tutor-profile-name{
        font-size: 7vw;
        height: 8.4vw;
        left: 2vw;
        line-height: 8.4vw;
        position: relative;
        top: 17vw;
        width: 47vw;
    }
}

/* === Rating === */
section#tutor-profile ul.tutor-profile-details li.tutor-profile-rating{
    display: inline-block;
    position: relative;
    text-align: center;
    top: 0.732vw;
    width: 19vw;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-rating img{
    width: 3vw;
}

@media only screen and (max-device-width: 480px){
    section#tutor-profile ul.tutor-profile-details li.tutor-profile-rating{
        left: 2vw;
        position: relative;
        text-align: center;
        top: 21vw;
        width: 47vw;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-rating img{
        width: 6vw;
    }
}

/* === Full Profile Link === */
section#tutor-profile ul.tutor-profile-details li.tutor-profile-contact{
    display: inline-block;
    left: 4vw;
    position: relative;
}

@media only screen and (max-device-width: 480px){
    section#tutor-profile ul.tutor-profile-details li.tutor-profile-contact{
        left: 10.585vw;
        top: 3vw;
    }
}

/* === Introduction, Tuition Thoughts and Other Interests === */
section#tutor-profile ul.tutor-profile-details li.tutor-profile-introduction, section#tutor-profile ul.tutor-profile-details li.tutor-profile-tuition-thoughts, section#tutor-profile ul.tutor-profile-details li.tutor-profile-other-interests{
    font-size: 1.2vw;
    font-weight: 350;
    line-height: 2vw;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-introduction{
    margin: 2.5vw 0 2vw 0;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-tuition-thoughts{
    margin: 0 0 2vw 0;
}

@media only screen and (max-device-width: 480px){
    section#tutor-profile ul.tutor-profile-details li.tutor-profile-introduction, section#tutor-profile ul.tutor-profile-details li.tutor-profile-tuition-thoughts, section#tutor-profile ul.tutor-profile-details li.tutor-profile-other-interests{
        font-size: 3.3vw;
        line-height: 5.5vw;
        text-align: justify;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-introduction{
        margin: 7vw 4vw 5.5vw 4vw;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-tuition-thoughts{
        margin: 0 4vw 5.5vw 4vw;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-other-interests{
        margin: 0 4vw 0 4vw;
    }
}

/* === Qualifications === */
section#tutor-profile ul.tutor-profile-details li.tutor-profile-qualifications{
    display: block;
    margin: 4vw 0 0 0;
    width: 84vw;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-qualifications header{
    font-size: 2vw;
    font-weight: 350;
    line-height: 3.5vw;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-qualifications ol.qualification{
    color: #0F1425;
    display: block;
    font-size: 1.2vw;
    font-weight: 350;
    list-style: none;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    position: relative;
    width: 84vw;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-qualifications ol.qualification < li{
    display: block;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-qualifications ol.qualification li ul{
    display: block;
    list-style: none;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    position: relative;
    width: 84vw;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-qualifications ol.qualification li ul li{
    display: inline-block;
    height: 2vw;
    line-height: 2vw;
    overflow: hidden;
    vertical-align: middle;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-qualifications ol.qualification li ul li:nth-child(5n+1){
    width: 23vw;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-qualifications ol.qualification li ul li:nth-child(5n+2){
    width: 23vw;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-qualifications ol.qualification li ul li:nth-child(5n+3){
    width: 9vw;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-qualifications ol.qualification li ul li:nth-child(5n+4){
    width: 25vw;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-qualifications ol.qualification li ul li:nth-child(5n){
    width: 4vw;
}

@media only screen and (max-device-width: 480px){
    section#tutor-profile ul.tutor-profile-details li.tutor-profile-qualifications{
        margin: 8vw 0 0 0;
        width: 92vw;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-qualifications header{
        font-size: 5.5vw;
        line-height: 8.5vw;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-qualifications ol.qualification{
        font-size: 3.3vw;
        width: 92vw;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-qualifications ol.qualification li ul{
        width: 92vw;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-qualifications ol.qualification li ul li{
        height: 5.5vw;
        line-height: 5.5vw;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-qualifications ol.qualification li ul li:nth-child(5n+1){
        width: 46vw;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-qualifications ol.qualification li ul li:nth-child(5n+2){
        width: 46vw;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-qualifications ol.qualification li ul li:nth-child(5n+3){
        display: none;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-qualifications ol.qualification li ul li:nth-child(5n+4){
        display: none;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-qualifications ol.qualification li ul li:nth-child(5n){
        display: none;
    }
}

/* === Experience === */
section#tutor-profile ul.tutor-profile-details li.tutor-profile-experience{
    display: block;
    margin: 4vw 0 0 0;
    width: 84vw;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-experience header{
    font-size: 2vw;
    font-weight: 350;
    line-height: 3.5vw;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-experience ol.experience{
    color: #0F1425;
    display: block;
    font-size: 1.2vw;
    font-weight: 350;
    list-style: none;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    position: relative;
    width: 84vw;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-experience ol.experience < li{
    display: block;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-experience ol.experience li ul{
    display: block;
    list-style: none;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    position: relative;
    width: 84vw;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-experience ol.experience li ul li{
    display: inline-block;
    height: 2vw;
    line-height: 2vw;
    overflow: hidden;
    vertical-align: middle;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-experience ol.experience li ul li:nth-child(4n+1){
    width: 12vw;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-experience ol.experience li ul li:nth-child(4n+2){
    width: 51vw;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-experience ol.experience li ul li:nth-child(4n+3){
    width: 15vw;
}

section#tutor-profile ul.tutor-profile-details li.tutor-profile-experience ol.experience li ul li:nth-child(4n){
    width: 6vw;
}

@media only screen and (max-device-width: 480px){
    section#tutor-profile ul.tutor-profile-details li.tutor-profile-experience{
        margin: 8vw 0 0 0;
        width: 92vw;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-experience header{
        font-size: 5.5vw;
        line-height: 8.5vw;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-experience ol.experience{
        font-size: 3.3vw;
        width: 92vw;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-experience ol.experience li ul{
        width: 92vw;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-experience ol.experience li ul li{
        height: 5.5vw;
        line-height: 5.5vw;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-experience ol.experience li ul li:nth-child(4n+1){
        width: 35vw;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-experience ol.experience li ul li:nth-child(4n+2){
        display: none;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-experience ol.experience li ul li:nth-child(4n+3){
        width: 35vw;
    }

    section#tutor-profile ul.tutor-profile-details li.tutor-profile-experience ol.experience li ul li:nth-child(4n){
        width: 22vw;
    }
}
