@charset "UFT-8";

/* Cos'è Raise + Aree Competenze */

section#cose {
    background: url('../../imgs/bambino-pugile-header.png') no-repeat;
    background-position-x: left;
    background-position-y: 35px;
    background-size: contain;
}

.numbered-box {
    background: white;
    width: auto;
    padding: 30px;
    margin: 30px 10px 0;
    box-sizing: border-box;
    box-shadow: 0px 0px 5px 3px rgba(32,130,200,0.3);
    position: relative;
    min-width: 200px;
    flex: 1 1 0;
}

.numbered-box::before {
    color: #96281e;
    font-size: 1.5em;
    position: absolute;
    font-family: 'Caveat',cursive;
    top: -55px;
    left: 50%;
    transform: translate(-50%,50%);
    padding: 15px;
    background-image: url('../../imgs/brush-bg.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center; 
    background-color: transparent;
}

.numbered-box:nth-of-type(1)::before {
    content: '1';
}

.numbered-box:nth-of-type(2)::before {
    content: '2';
}

.numbered-box:nth-of-type(3)::before {
    content: '3';
}

.numbered-box:nth-of-type(4)::before {
    content: '4';
}

.numbered-box h3::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #2082c8;
    margin-top: 10px;
}

/* Cos'è Raise + Aree Competenze -- END */

/* App Raise */

section#app {
    background-image: url('../../imgs/scarica-app.png');
    background-repeat: no-repeat;
    background-position-x: left;
    background-size: contain;
}

.download-app-container img {
    width: 150px;
    margin-top: 15px;
}

/* App Raise -- END */

/* Corsi */

section#corsi .max-width .w70 {
    margin: 10px 0px;
}

section#corsi .max-width h2 {
    line-height: 0.5em;
}

/* Corsi -- END */

/* Docenti */

#docenti h3 {
    font-size: 2.2em;
    margin-bottom: 10px;
}

.teacher-profile {
    background: #2082c8;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 5px 3px rgba(32,130,200,0.3);
    width: calc(30% - 25px);
    min-height: 300px;
    margin: 10px 10px;
    min-width: 175px;
    flex: 1 1 0;
}

.teacher-profile .img-container {
    margin: auto;
    overflow: hidden;
    border: 2px solid #ffffff;
    width: 125px;
    height: 125px;
    border-radius: 50%;
}

.teacher-profile ul {
    text-align: left;
    margin-top: 20px;
}

/* Docenti -- END */

/* Contact */

.form-container {
    background: url('../../imgs/brush-bg-blue.png') no-repeat;
    background-size: contain;
    background-position-x: 80px;
}

.form-container span.already-a-member {
    display: block;
    text-align: right;
    font-size: 0.8em;
}

.form {
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 10px;
}

.form input, .form textarea {
    border-radius: 5px;
    font-family: inherit;
    margin: 10px 0;
    padding: 10px;
    background: #e2e2e2;
}

.form textarea {
    min-width: 100%;
    max-width: 100%;
    min-height: 50px;
    max-height: 250px;
    box-sizing: border-box;
}

/* Contact -- END */

/* Footer */

footer .w30 {
    margin: auto;
}

footer .social-container {
    margin-top: 20px;
}

footer .social-container img {
    width: auto !important;
    margin: 0px 5px;
}

footer.small-padding {
    padding-bottom: 0px;
}

footer .w30 img {
    width: 150px;
}

svg.c--tinexta-logo * {
   fill: #96281e;
}

/* Footer -- END */

/* Media Query */

@media only screen and (max-width: 1280px) {

    /* Section cose */

    section#cose {
        background-position-x: -70px;
        background-position-y: 50%;
        background-size: 320px;
    }

    /* Section cose -- END */

    /* Section App */

    section#app {
        background-position-x: -100px;
    }

    /* Section App -- END */

    /* Section Docenti */

    section#docenti .max-width.flex-row-start {
        flex-direction: column;
    }

    section#docenti .max-width.flex-row-start .w70, section#docenti .max-width.flex-row-start .w30 {
        width: 100%;
    }

    /* Section Docenti -- END */
}

@media only screen and (max-width: 768px) {

    /* Section cose */

    section#cose {
        background: none;
    }

    /* Section cose -- END */

    /* Section App */

    section#app {
        padding-bottom: 300px;
        background-position-y: bottom;
        background-position-x: center;
        background-size: 280px;
    }

    /* Section App -- END */

    /* Section Docenti */

    .teacher-profile {
        width: calc(100% - 10px);
        box-sizing: border-box;
        flex: none;
    }

    /* Section Docenti -- END */
}

/* Media Query -- END */