/*
 Theme Name:   Customify Child for WGPO
 Description:  Customify Child Theme for WGPO
 Author:       Charles Reinke, Thomas Reinke
 Template:     customify
 Version:      1.0.0
 Text Domain:  customifychild
*/

@media only screen and (max-width: 480px) {
    #mainLoginFormFieldContainer .fieldLabel {
        display: inline-block;
    }
    #mainLoginFormFieldContainer .fieldLabel, #mainLoginFormContainer p {
        color: rgba(255, 255, 255, 0.99);
    }

    .homePageNotice {
        font-size: 12px;
    }

    .wgpoHero::before {
        background: url(/wp-content/uploads/2023/07/square-hero-image-w-scrim.png);
    }

    .wgpoHeroTitle {
        font-size: 2.0rem;
    }
}

@media only screen and (min-width: 481px) {
    #mainLoginFormContainer {
        align-items: center;
        display: grid;
        grid-template-columns: 50% 25% 25%;
        grid-template-rows: 50% 50%;
        padding-left: 15px;
        justify-items: center;
    }

    #mainLoginForm {
        /* max-width: 30%; */
        margin-bottom: 0px;
    }

    #mainLoginForm input[type="text"],
    #mainLoginForm input[type="password"] {
        width: 55%;
    }

    #mainLoginFormFieldContainer .fieldLabel {
        display: inline-block;
        width: 43%;
    }

    #mainLoginFormSignUpContainer {
        text-align: center;
    }

    .homePageNotice {
        font-size: 16px;
    }

    .wgpoHero::before {
        background: url(/wp-content/uploads/2023/07/rectangle-hero-image-w-scrim.png);
    }

    .wgpoHeroTitle {
        font-size: 3rem;
    }
}

/*make top bar sticky*/
#masthead {
    position: sticky;
    top: 0px;
}

button {
    color: white;
}

form.wgpoForm span.fieldLabel {
    box-sizing: border-box;
    display: inline-block;
    width: 25%;
}

form.wgpoForm input[type="text"],
form.wgpoForm input[type="password"],
form.wgpoForm select {
    box-sizing: border-box;
    width: 75%;
}

form.wgpoForm button {
    color: #afcae3;
}

form.wgpoForm legend {
    font-size: 20px;
}

a.wgpoActionButton {
    color: white !important;
    display: inline-block;
}

a.wgpoCenteredButton {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

p.loginFormNotice, p.memberSignupFormInfo, p.formNotice {
    background-color: #d8e4f0;
    border: 1px dashed rgb(35, 87, 135);
    border-radius: 10px;
    margin: 10px;
    padding: 10px;
    text-align: center;
}

p.wgpoError {
    background-color: #e2abab;
    border: 1px solid #c88e8e;
    border-radius: 10px;
    color: #794c4c;
    padding: 5px;
    text-align: center;
}

p.wgpoSuccess {
    background-color: #abe2b9;
    border: 1px solid #8ec88e;
    border-radius: 10px;
    color: #4c794e;
    padding: 5px;
    text-align: center;
}

.wgpoInvalid {
    background-color: #e2abab;
    border: 1px solid #c88e8e;
}

p.centeredParagraph {
    text-align: center;
}

img.icon64 {
    height: 64px;
}
img.icon32 {
    height: 32px;
}
img.icon24 {
    height: 24px;
}
img.icon16 {
    height: 16px;
}

#wgpoTopBarButtonContainer a, .wgpoTopBarButtonContainer a {
    margin-left: 5px;
}

nav.wgpoSubnav {
    background-color: #F7F7F7;
    border-bottom: 1px solid #E7E7E7;
}

nav.wgpoSubnav ul {
    margin: 0px;
}

nav.wgpoSubnav ul li {
    display: inline-block;
    font-weight: bold;
    margin-left: 10px;
    padding: 8px;
    text-transform: uppercase;
}

nav.wgpoSubnav ul li a {
    border-right: 1px solid #1e4b75;
    padding-right: 15px;
}

nav.wgpoSubnav ul li:last-child a {
    border-right: none;
}

.wgpoHero {
    position: relative;
    width: 100%;
    height: 55vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.wgpoHero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: 15px;
}

.wgpoHeroContent {
    color: white;
    margin: 0.625rem;
    position: relative;
    text-align: center;
}

.wgpoHeroTitle {
    color: white;
    font-weight: 600;
    margin-bottom: 0;
    text-shadow: 0px 0px 5px #000000;
}

.homePageNotice {
    border: 2px dashed #D8D8D8;
    border-radius: 20px;
    margin-bottom: 15px;
    padding: 15px;
}

.homePageTournamentListContainer {
    border: 2px solid #202E9B;
    border-radius: 15px;
    margin: 5px;
    padding: 5px;
}

.homePageTournamentListContainer ul {
    list-style-type: none;
}

.homePageTournamentListContainer h3 {
    color: #202E9B;
    font-size: 20px;
    margin: 5px;
    padding: 5px;
    text-align: center;
}

.homePageTournamentListContainer p {
    text-align: center;
}

.homePageTournamentListContainer .wgpoActionButton {
    background-color:#202E9B;
}

#homePageRecentTournaments {

}

#homePageRecentTournaments h3 {
    color: #962121;
}

#homePageRecentTournaments .wgpoActionButton {
    background-color: #962121;
}
/*
have dialog appear above mobile website nav
*/
.alertify .ajs-modal {
    z-index: 9998 !important;
}