/*
Theme Name: Cardiff PT Studio Activewear
Theme URL: https://www.spartanactivewear.co.uk
Description: Cardiff PT Studio Wordpress child theme developed by Gecko Web Solutions.
Author: Dan Davies | Gecko Web Solutions
Template: gecko
Version: 1.0
Text Domain: cardiffptstudio
*/ 

.profiles .entry-content ul.qualifications {
	float: left;
	width: 100%;
	margin-bottom: 35px;
}

#popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    background: rgba(102, 130, 147, 0.8);
    z-index: 9999999;
}

#popup .inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 43.75em;
    height: auto;
    background-color: #f9f8f4;
    padding: 1.5625em;
}

#popup .inner .logo {
    width: 15.125em;
    height: auto;
    margin: 0 auto;
    margin-top: 0.3125em;
}

#popup .inner #close-button {
    float: right;
    width: 1.875em;
    height: 1.875em;
    position: absolute;
    top: 1.5625em;
    right: 1.5625em;
}

#popup .inner video {
    width: 40%;
    margin-top: 0.625em;
}

#popup .inner .content {
    float: right;
    width: 58%;
    margin-top: 0.5em;
}

#popup .inner #close-button svg {
    width: 100%;
    height: auto;
    display: inline;
    float: left;
}

#popup .inner h3 {
    text-align: center;
    font-weight: 300;
    font-size: 2em;
    margin-bottom: 0;
    line-height: 1;
    margin-top: 0px;
    float: left;
    width: 100%;
    margin-bottom: 0;
}

#popup .inner p {
    font-size: 1em;
    text-align: center;
    font-weight: 300;
    float: left;
    padding: 0;
    width: 100%;
}

#popup .inner p.small {
    font-size: 0.8em;
    margin: 1em 0 0;
    opacity: 0.6;
}

#popup .inner form.wpcf7-form {
    margin: 0 0 0;
}

#popup .inner p.text {
    text-align: left;
    padding-left: 1.11111111111111em;
    width: calc(100% - 1.11111111111111em);
    font-size: 1.125em;
}

#popup .inner form.wpcf7-form p {
    margin: 0 0 1.25em;
}

#popup .inner form.wpcf7-form input {
    margin: 0;
}


@media screen and (min-width: 1px) and (max-width: 620px) {
    #popup .inner {
        width: 80%;
        padding: 5%;
        top: 60%;
    }
    #popup .inner h3 {
        font-size: 7vw;
        margin-top: 0;
        width: 70%;
        text-align: left;
    }
    #popup .inner p {
        font-size: 0.9em;
    }
    #popup .inner video {
        width: 100%;
        margin-top: 0;
    }
    #popup .inner .content {
        width: 100%;
    }
    #popup .inner video {
        height: 50vw;
    }
    #popup .inner p.small {
        font-size: .7em;
    }
    #popup .inner form.wpcf7-form input {
        height: 10vw;
    }
}