/*
Theme Name: Amazing Learners
Author: Akatomy
*/

/* Reset CSS
 * --------------------------------------- */
 
* {
    box-sizing: border-box;
}

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,
form,fieldset,input,textarea,p,blockquote,th,td {
    padding: 0;
    margin: 0;

}
a{
  text-decoration:none;
  color: inherit;
}
table {
    border-spacing: 0;
}
fieldset,img {
    border: 0;
}
address,caption,cite,code,dfn,em,strong,th,var {
    font-weight: normal;
    font-style: normal;
}
strong{
  font-weight: bold;
}
nav ol, nav ul {
    list-style: none;
    margin:0;
    padding:0;
}
caption,th {
    text-align: left;

}
h1,h2,h3,h4,h5,h6 {
    font-weight: normal;
    font-size: 100%;
    margin:0;
    padding:0;
    color:#333;
}
q:before,q:after {
    content:'';
}
abbr,acronym { border: 0;
}

/* Global
 * --------------------------------------- */

body {
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    line-height: 24px;
    color: #333;
}

.pinkBg {
    background-color: #bf4d7b;
    color: #fff;
}

.greenBg {
    background-color: #6cbac0;
    color: #fff;
}

.yellowBg {
    background-color: #e8b652;
    color: #fff;
}

/* Header
 * --------------------------------------- */

.tools {
    padding: 8px 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

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

    .tools nav {
        display: none;
    }

}

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

    .tools {
        padding: 0px 20px;
    }

}

.tools nav ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 12px;
    color: #6cbac0;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

.tools nav ul li:not(:first-child)::before {
    content: "|";
    margin: 0px 18px;
}

.tools nav ul li:last-child {
    color: #bf4d7b;
}

.tools nav ul li:last-child::before {
    color: #6cbac0;
}

.tools nav ul li a {
    transition: 0.2s;
}

.tools nav ul li a:hover {
    color: #333;
}

header .header {
    padding: 0px 60px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    header .header > div {
        flex-basis: calc(100% / 3);
        color: #bf4d7b;
        font-size: 24px;
        line-height: 30px;
        font-family: 'Quicksand', sans-serif;
    }

        header h1 {
            color: #bf4d7b;
            font-size: 24px;
            line-height: 30px;
            font-family: 'Quicksand', sans-serif;
        }

        header .header div:nth-child(1) {
            text-align: left;
        }

        header .header div:nth-child(2) {
            text-align: center;
        }

        header .header div:nth-child(3) {
            text-align: right;
        }

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

    header .header {
        flex-direction: column;
        padding: 0px 60px 30px;
    }

    header .header > div {
        flex-basis: 100%;
        font-size: 18px;
        line-height: 24px;
    }

    header .header br {
        display: none;
    }

        header h1 {
            font-size: 18px;
            line-height: 24px;
        }


        header .header div:nth-child(1) {
            text-align: center;
        }

        header .header div:nth-child(2) {
            padding: 20px;
        }

        header .header div:nth-child(3) {
            text-align: center;
        }


}

header .header img.logo {
    height: 120px;
    width: auto;
}

.mainNav nav ul {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

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

    .mainNav nav ul {
        display: none;
    }

}

    .mainNav nav ul li {
        flex-basis: calc(100% / 3);
        position: relative;
        font-family: 'Quicksand', sans-serif;
        transition: 0.2s;
    }

    .mainNav nav ul li:hover {
        background: #333;
    }

    .mainNav nav ul li a {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 16px;
        line-height: 20px;
        text-align: center;
        padding: 10px;
        font-weight: 700;
    }

/* Footer
 * --------------------------------------- */

.cta {
    padding: 30px;
    text-align: center;
}

    .cta a {
        display: inline-block;
        border: 2px solid #fff;
        color: #fff;
        font-family: 'Quicksand', sans-serif;
        font-size: 16px;
        border-radius: 50px;
        padding: 5px 25px;
        transition: 0.2s;
    }

    .cta a:hover {
        color: #bf4d7b;
        background: #fff;
    }

footer .footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 60px;
}

    footer .footer > div {
        flex-basis: calc(100% / 3);
    }

        footer .footer div:nth-child(1) {
            text-align: left;
        }

        footer .footer div:nth-child(2) {
            text-align: center;
            font-size: 14px;
            line-height: 18px;
            color: #555;
        }

            footer .footer div:nth-child(2) p:first-child {
                color: #6cbac0;
                font-size: 18px;
                line-height: 24px;
                font-family: 'Quicksand', sans-serif;
                margin-bottom: 10px;
            }

        footer .footer div:nth-child(3) {
            text-align: right;
            color: #bf4d7b;
            font-size: 24px;
            line-height: 30px;
            font-family: 'Quicksand', sans-serif;
        }

footer .footer img.logo {
    height: 90px;
    width: auto;
}

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

    footer .footer {
        flex-direction: column;
        padding: 20px 30px;
    }

        footer .footer > div {
            flex-basis: 100%;
        }

            footer .footer div:nth-child(1) {
                text-align: center;
                margin-bottom: 10px;
            }
            footer .footer div:nth-child(3) {
                font-size: 18px;
                line-height: 24px;
                margin-top: 10px;
            }

    footer .footer img.logo {
        height: 70px;
        width: auto;
    }

    footer br {
        display: none;
    }

}

/* Main
 * --------------------------------------- */

.page-template-default main ul {
    list-style: disc inside;
 }

.page-template-default main img {
    height: auto !important;
    max-width: 100% !important;
 }

main p:not(:last-child), .page-template-default main ul:not(:last-child) {
    margin-bottom: 35px;
}

    main h1 {
        text-align: center;
        color: #fff;
        font-size: 48px;
        line-height: 54px;
        font-family: 'Quicksand', sans-serif;
    }

        main h1 span {
            display: block;
            margin-top: 20px;
            font-size: 0.4em;
            line-height: 1.3em;
        }

    main h2 {
        font-family: 'Quicksand', sans-serif;
        font-size: 30px;
        color: #bf4d7b;
        font-weight: 700;
        margin-bottom: 25px;
    }

    main h3 {
        font-family: 'Quicksand', sans-serif;
        font-size: 24px;
        color: #6cbac0;
        font-weight: 700;
        margin-bottom: 15px;
    }

 .mast {
    background-size: cover; 
    background-position: center;
    padding: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 480px;
 }

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

    main h1 {
        font-size: 30px;
        line-height: 36px;
    }

    main h2 {
        font-size: 24px;
    }

     .mast {
        padding: 30px;
        min-height: auto;
     }

}

 .mast ul {
    list-style: none;
 }

    .mast ul li {
        font-family: 'Quicksand', sans-serif;
        color: #fff;
        font-size: 24px;
        text-align: center;
        padding: 14px 30px;
    }

        .mast ul li:not(:last-child) {
            border-bottom: 1px solid #fff;
        }

.intro {
    font-family: 'Quicksand', sans-serif;
    padding: 30px;
    font-size: 30px;
    line-height: 36px;
    text-align: center;
}

.container {
    max-width: 1440px;
    margin: auto;
    padding: 60px ;
}

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

    .mast ul li {
        font-size: 18px;
    }

    .intro {
        font-size: 24px;
        line-height: 30px;
    }

    .container {
        padding: 30px ;
    }

}


/* Home
 * --------------------------------------- */

 .flexedInHalf {
    display: flex;
    align-items: stretch;
 }

    .flexedInHalf > div {
        flex-basis: 50%;
        padding: 60px;
    }

        .flexedInHalf > div:first-child {
            background: #e2f1f2;
        }

        .flexedInHalf > div:nth-child(2) {
            background-image: url(../img/amazing.svg);
            background-size: 180px;
            background-position: bottom 60px right 60px;
            background-repeat: no-repeat;
        }

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

     .flexedInHalf {
        flex-direction: column;
     }

        .flexedInHalf > div {
            flex-basis: 100%;
        }

        .flexedInHalf > div:nth-child(2) {
            background-size: 140px;
            background-position: bottom 60px right 60px;
        }

}

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

    .flexedInHalf > div {
        padding: 30px;
    }

        .flexedInHalf > div:nth-child(2) {
            background: none;
        }

}

    .flexedInHalf ul {
        list-style: none;
        color: #555;
        display: inline-block;
    }

        .flexedInHalf ul li {
            padding: 8px;
        }

        .flexedInHalf ul li:not(:last-child) {
            border-bottom: 1px solid #6cbac0;
        }

p.titleSmall {
    font-family: 'Quicksand', sans-serif;
    font-size: 24px;
    color: #bf4d7b;
    font-weight: 700;
}

/* Burger menu
 * --------------------------------------- */

span.burger {
    display: none
}

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

    span.burger {
        display: inline-block;
        position: relative;
    }

}

span.burger img, span.close img {
    width: 24px;
    height: auto;
    position: relative;
    top: 16px;
    cursor: pointer;
 }

span.close {
    position: absolute;
    top: 0px;
    right: 36px;
}

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

    span.burger img, span.close img {
        top: 24px;
     }

}

nav.mobile {
    z-index: 100;
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: 100%;
    height: 100% !important;
    background: #bf4d7b;
    color: #fff;
    transition: 0.3s;
        }

.scrollable {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.burger-menu-open {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    right: 0 !important
}

nav.mobile ul {
    position: absolute;
    top: 60px;
    right: 30px;
    left: 30px;
}

    nav.mobile ul .logo img {
        height: 80px;
        width: auto;
        margin-bottom: 20px;
    }

    nav.mobile ul li {
        font-family: 'Quicksand', sans-serif;
        color: #fff;
        font-size: 18px;
        text-align: center;
        padding: 14px 14px;
    }

        nav.mobile ul li:not(:last-child) {
            border-bottom: 1px solid #fff;
        }

/* Contact form
 * --------------------------------------- */

.page-id-27 p, .page-id-86 p {
    text-align: center;
}

.page-id-27 input[type=text], .page-id-27 input[type=email], .page-id-27 input[type=tel], .page-id-27 textarea, .page-id-86 input[type=text], .page-id-86 input[type=email], .page-id-86 input[type=tel], .page-id-86 textarea  {
        font-family: 'Quicksand', sans-serif;
        font-size: 16px;
        padding: 8px;
        width: 100%;
        max-width: 600px;
}

    .page-id-27 input[type=submit], .page-id-86 input[type=submit]{
        display: inline-block;
        border: 2px solid #bf4d7b;
        color: #bf4d7b;
        font-size: 16px;
        border-radius: 50px;
        padding: 5px 25px;
        font-weight: 700;
        font-family: 'Quicksand', sans-serif;
        cursor: pointer;
        text-decoration: none !important;
        background: #fff;
    }

    .page-id-27 input[type=submit], .page-id-86 input[type=submit] {
        margin-left: 72px;
    }

    .page-id-27 input[type=submit]:hover, .page-id-86 input[type=submit]:hover {
        background: #bf4d7b;
        color: #fff;
    }

.wpcf7-response-output {
    border-color: #333 !important;
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
}

ul .wpml-ls-menu-item a {
  display: inline-flex !important;
}