/*  -------------------------------------------------------------
    -------------------------------------------------------------
    CSS CODED BY Greg Jones - 2016
    -------------------------------------------------------------
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   */

body {
    font: 20px "Open Sans", Arial, Sans-serif;
    text-align: left;
    color: #fff;
    background: #233c8c;
}




/*  -------------------------------------------------------------
    DEFAULTS
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   */

h1 {
    font: 2.5em "Marcellus", "Open Sans", Arial, Sans-serif;
    line-height: 1em;
    color: #fff;
}

h2 {
    font: 1.75em "Marcellus", "Open Sans", Arial, Sans-serif;
    line-height: 1.15em;
    color: #fff;
}

p {
    padding-top: 30px;
    line-height: 1.5em;
}

p.small_text {
    font-size: 0.8em;
    line-height: 1.5em;
}

p.large_text {
    font-size: 1.25em;
    font-weight: 300;
    line-height: 1.25em;
}

p.centered_text {
    text-align: center;
}

strong {
    border-left-color: 
}

em {
    font-style: italic;
}

a.btn_general:link,
a.btn_general:visited {
    display: inline-block;
    padding: 12px 38px;
    font-size: 0.9em;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border: 1px #fff solid;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a.btn_general:hover {
    color: #000e3d;
    background: #fff;
}




/*  -------------------------------------------------------------
    WRAPPER
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   */

#wrapper {
    overflow: hidden;
}




/*  -------------------------------------------------------------
    HEADER
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   */

#header {
    position: fixed;
    left: 30px;
    top: 30px;
}

#header a.logo:link,
#header a.logo:visited {
    display: block;
    width: 140px;
    height: 140px;
    -webkit-border-radius: 70px;
    -moz-border-radius: 70px;
    border-radius: 70px;
    background: #233c8c;
}

#header a.logo:link img,
#header a.logo:visited img {
    display: block;
    margin: 0 auto;
    padding-top: 35px;
    width: 88px;
}




/*  -------------------------------------------------------------
    INTRODUCTION
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   */

#introduction {
    background: #233c8c url("../images/bg/introduction.jpg") no-repeat center top;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#introduction-i {
    display: table;
    width: 100%;
    max-width: 590px;
    min-height: 800px;
}

#introduction .text {
    display: table-cell;
    vertical-align: middle;
    padding: 200px 0;
    width: 100%;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}




/*  -------------------------------------------------------------
    TUITION AREAS
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   */

#tuition_areas {
    background: #233c8c url("../images/bg/tuition_areas.png") no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#tuition_areas-i {
    display: table;
    width: 100%;
    min-height: 800px;
}

#tuition_areas .text {
    display: table-cell;
    vertical-align: middle;
    padding: 20px 0;
    width: 100%;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#maths_tuition {
    float: left;
    width: 48%;
}

#singing_lessons {
    float: right;
    width: 48%;
}

#tuition_areas a.btn_general:link,
#tuition_areas a.btn_general:visited {
    margin-top: 40px;
}




/*  -------------------------------------------------------------
    TUITION COSTS
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   */

#tuition_costs {
    background: #000e3d;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#tuition_costs-i {
    margin: 0 auto;
    display: table;
    width: 100%;
    max-width: 580px;
    min-height: 800px;
}

#tuition_costs .text {
    display: table-cell;
    vertical-align: middle;
    padding: 20px 0;
    width: 100%;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#tuition_costs .text-i {
    position: relative;
}

#tuition_costs .costs {
    display: table;
    padding-top: 10px;
    width: 100%;
    max-width: 400px;
}

#tuition_costs .costs td {
    padding: 12px 0;
    border-bottom: 1px #fff solid;
}

#tuition_costs .costs tr:last-child td {
    border-bottom: none;
}

#tuition_costs .costs td:first-child {
    padding-right: 20px;
}

#tuition_costs .text .discount_badge {
    position: absolute;
    top: -100px;
    right: -165px;
    padding: 0;
    width: 270px;
    color: #00d8ff;
    border: 30px #000e3d solid;
    -webkit-border-radius: 200px;
    -moz-border-radius: 200px;
    border-radius: 200px;
    background: #000e3d;
}

#tuition_costs .text .discount_badge-i {
    display: block;
    position: relative;
    width: 266px;
    height: 266px;
    border: 2px #00d8ff solid;
    -webkit-border-radius: 135px;
    -moz-border-radius: 135px;
    border-radius: 135px;
    -ms-transform: rotate(-15deg); /* IE 9 */
    -webkit-transform: rotate(-15deg); /* Chrome, Safari, Opera */
    transform: rotate(-15deg);
}

#tuition_costs .text .discount_badge .large {
    position: relative;
    z-index: 20;
    display: block;
    padding-top: 60px;
    font-size: 2.5em;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    line-height: 1em;
    text-align: center;
}

#tuition_costs .text .discount_badge .small {
    position: relative;
    z-index: 20;
    display: block;
    font-size: 0.9em;
    font-weight: 600;
    text-align: center;
    line-height: 1.2em;
    text-align: center;
}

#tuition_costs .text .discount_badge .border_image {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    margin: -122px 0 0 -122px;
    animation-name: discount_badge_border_image;
    animation-duration: 50s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes discount_badge_border_image {
    from {
        -ms-transform: rotate(0deg); /* IE 9 */
        -webkit-transform: rotate(0deg); /* Chrome, Safari, Opera */
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg); /* IE 9 */
        -webkit-transform: rotate(360deg); /* Chrome, Safari, Opera */
        transform: rotate(360deg);
    }
}




/*  -------------------------------------------------------------
    ABOUT ME
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   */

#about_me {
    background: #0e246c url("../images/bg/about_me.jpg") no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#about_me-i {
    display: table;
    width: 100%;
    min-height: 800px;
}

#about_me .text {
    display: table-cell;
    vertical-align: middle;
    padding: 20px 0;
    width: 100%;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#about_me .text-i {
    float: right;
    max-width: 580px;
    padding: 50px 30px;
    background: rgb(14,36,108);
    background: rgba(14,36,108,0.9);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#about_me .banner_mobile {
    display: none;
    margin-top: 30px;
    width: 100%;
}




/*  -------------------------------------------------------------
    CONTACT ME
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   */

#contact_me {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#contact_me-i {
    margin: 0 auto;
    display: table;
    width: 100%;
    max-width: 580px;
    min-height: 800px;
}

#contact_me .text {
    display: table-cell;
    vertical-align: middle;
    padding: 20px 0;
    width: 100%;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#contact_me .text-i {
    position: relative;
}

#contact_me h2 {
    padding-top: 70px;
}

#contact_me .detail {
    padding-top: 4px;
}

#contact_me .detail.phone {
    padding-top: 22px;
}

#contact_me .detail a:link,
#contact_me .detail a:visited,
#contact_me .detail span {
    display: block;
    padding: 8px 0 8px 40px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 30px 30px;
}

#contact_me .detail.phone a:link,
#contact_me .detail.phone a:visited,
#contact_me .detail.phone span {
    background-image: url("../images/icons/phone.png");
}

#contact_me .detail.phone a:link,
#contact_me .detail.phone a:visited {
    display: none;
}

#contact_me .detail.email a:link,
#contact_me .detail.email a:visited {
    background-image: url("../images/icons/email.png");
    text-decoration: underline;
}

#contact_me .detail.location span {
    background-image: url("../images/icons/location.png");
}

#contact_me .detail a:hover {
    text-decoration: underline;
    color: #00d8ff;
}

#contact_me .copyright {
    font-size: 0.7em;
    font-weight: bold;
    text-align: center;
}