@import url("https://fonts.googleapis.com/css?family=Roboto");
@import url("https://fonts.googleapis.com/css?family=Bree Serif");
@import url("https://fonts.googleapis.com/css?family=Abril Fatface");
@import url("https://fonts.googleapis.com/css?family=Fredoka One");
@import url("https://fonts.googleapis.com/css?family=Patua One");
@import url("https://fonts.googleapis.com/css?family=Lalezar");
@import url("https://fonts.googleapis.com/css?family=Suez One");
@import url("https://fonts.googleapis.com/css?family=Fugaz One");
@import url("https://fonts.googleapis.com/css?family=Alfa Slab One");


body {
    font-size: 20px;
    font-family: Roboto, Arial;
    font-weight: bold;
    background-color: #ffe0b3;
}

h1 {
    font-family: "Abril Fatface", Cambria;
    font-size: 48px;
    text-align: center;
}

h2 {
    font-family: "Patua One", Cambria;
    font-size: 38px;
    font-weight: bold;
    text-align: center;
}

h3 {
    font-family: "Lalezar", Cambria;
    font-size: 40px;
    text-align: center;
}

h4 {
    font-family: "Bree Serif", Cambria;
    font-size: 30px;
    text-align: center;
}

h5 {
    font-family: "Fredoka One", Cambria;
    font-size: 24px;
    text-align: center;
}

a {
    color: blue;
}
    a:hover {
        color: black;
    }

a.white {
    color: white;
}
    a.white:hover {
        color: black;
    }

table {
    border-collapse: collapse;
}

th, td {
    text-align: center;
    padding: 8px;
    border: 2px solid darkcyan;
    color: black;
}

th {
    background-color: darkcyan;
    color: white;
}

tr:nth-child(even) {background-color: #f2f2f2;}
tr:nth-child(odd) {
    background-color: white;
}

textarea {
    padding: 0 4px;
    resize: none;
}

.editfocus {
    border: 3px solid darkcyan !important;
}

.editable {
    position: relative;
    width: 75%;
    padding: 4px;
    border-radius: 8px;
    /*height: 1em;
    width: calc(25% + 100px);
    white-space: pre-wrap;*/
    border: 1px solid darkcyan;
}

.overlay-full {
    top: 0;
    position: absolute;
    width: 100%;
    background-color: rgba(0,0,0,0.5);
}

.fixedtoolbox {
    position: fixed;
    padding: 10px 8px;
    background-color: red;
    box-shadow: #333 6px 6px 8px;
}

.table-wrapper {
    overflow-x: auto;
}

.tableinfohead {
    text-align: center;
    color: white;
    background-color: dimgray;
}

.btnblockstyle { /* BTN NORMAL */
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 14px;
    border: 4px solid darkcyan;
    text-decoration: none;
    background-color: darkcyan;
    color: white;
}
.btnblockstyle.blue { /* BTN BLUE */
    border-color: dodgerblue;
    background-color: dodgerblue;
    color: white;
}
.btnblockstyle.orange { /* BTN ORANGE */
    border-color: darkorange;
    background-color: darkorange;
    color: white;
}
    .btnblockstyle:hover {
        border-color: white;
        background-color: white;
        color: darkcyan;
    }
    .btnblockstyle.blue:hover {
        border-color: white;
        background-color: white;
        color: dodgerblue;
    }
    .btnblockstyle.orange:hover {
        border-color: white;
        background-color: white;
        color: darkorange;
    }
    .btnblockstyle.circle.fontawesome {
        margin: 6px 0;
        padding: 0;
        height: 1.8em;
        width: 1.8em;
        font-size: 1.5em;
        border-radius: 50%;
        border-color: white;
        font-family: "FontAwesome";
        text-align: center;
        cursor: pointer;
    }
        .btnblockstyle.circle.fontawesome:hover {
            background-color: white;
            color: darkcyan;
        }

.nostylebtn {
    background-color: inherit;
    border-style: none;
    text-decoration: underline;
    cursor: default;
    color: blue;
}
    .nostylebtn:hover {
        cursor: pointer;
        color: black;
    }

.now {
    color: blue;
}

#makeform {
    text-align: center;
}

#prevdiv {
    text-align: center;
}

#preview {
    padding: 2vh 0 2vh 0;
}

.wrap {
    position: relative;
    padding: 2em 5%;
    border-radius: 16px;
    background: #fff;
    text-align: center;
}

/* //////////////////////////////////////// */
/*  CSS to Set Font Awesome Icon as Background */
/* Credit: https://codepen.io/astrotim/details/nVrBEe */
.wrap-icon {
    margin: 1em auto;
    padding: 1em 5%;
    border-radius: 16px;
    background: #fff;
    position: relative;
}

.inner-cont {
    position: relative;
    z-index: 2;
    text-align: center;
}

.wrap-icon:after {
    content: "\f0ea";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    position: absolute;
    font-size: 400px;
    color: #ffe0b3;
    top: 50%;
    margin: -300px 0 0 -200px;
    z-index: 1;
}
/* //////////////////////////////////////// */

.spinner-wrapper {
    color: #006666;
}

.spinner {
    font-family: FontAwesome;
    font-size: 60px;
}

    .spinner::after {
        content: "\f2f1";
    }

/* DESKTOP CSS */
@media (min-width:1255px) {
    textarea {
        width: 80%;
        height: 30vh;
    }

    .wrap {
        margin: 1em 25%;
    }

    .wrap-icon {
        width: 80%;
    }

    .inner-cont {
        padding: 16vh 0;
    }

    .wrap-icon:after {
        left: 50%;
    }

    .spinner {
        position: absolute;
        top: calc(50vh - 60px);
        left: calc(50% - 60px);
        font-size: 60px;
    }

    textarea.name {
        width: 50%;
    }

    #preview {
        margin: auto 25%;
        width: 50%;
    }

    table {
      width: 80%;
      margin: 0 10%;
    }

    .tableinfohead {
        width: 80%;
        margin: 0 10%;
        padding: 8px;
    }

    .trowtextbox.xsm {
        width: 50px;
    }

    .trowtextbox.sm {
        width: 80px;
    }

    .trowtextbox.md {
        width: 140px;
    }

    .trowtextbox.lg {
        width: 200px;
    }

    #table h2 {
        width: 80%;
        margin-left: 10%;
    }

    .hide-desktop-ver {
        display: none !important;
    }

    /* TOP NAVIGATION BAR WITH DROPDOWN CSS (For Use with Drop Down Menus) */
    /* ****************************************************************************** */
    .topnav-new {
        width: 100%;
        z-index: 2000;
        margin: auto;
        background-color: #31859c; /* Dark Aqua (MS Word color) */
        overflow: hidden;
        position: fixed;
        top: 0;
        font-size: 0;
        box-shadow: 0px 8px 16px #555;
    }

    .topnav-dropdown-container {
        /* z-index: 2000; */
        position: relative;
        width: 180px;
        margin: 0 0;
    }

    .topnav-tab {
        /* z-index: 2000; */
        display: inline-block;
        padding: 22px 24px;
        /*height: 100px;*/
        text-align: center;
        text-decoration: none;
        font-size: 24px;
        font-weight: bold;
        font-family: Cambria;
        /*background-color: #;*/
        color: white;
    }

        .topnav-tab:hover {
            text-decoration: none;
            background-color: #ddd;
            color: black;
        }

    .topnav-tab-active {
        background-color: white !important;
        color: red !important;
    }

    /*.topnav-tab-hovered {
        text-decoration: none;
        background-color: #ddd;
        color: black !important;
    }*/

    .topnav-dropdown-container .topnav-tab {
        width: 100%;
    }

    .topnav-dropdown {
        z-index: 2000;
        /*position: absolute;*/
        display: none;
        text-align: center;
        /* width: 180px; */
    }

    .topnav-dropdown-container .topnav-dropdown {
        width: 100%;
    }

    .topnav-dropdown a {
        background-color: #333333;
        border: solid;
        border-width: 1px;
        border-color: #cccc00;
        padding: 13px 8px;
        font-size: 20px;
        font-family: "Barlow Condensed", Cambria;
        color: #cccc00;
        width: 180px;
        /* height: 96px; */
    }

        .topnav-dropdown a:hover {
            text-decoration: none;
            background-color: #ddd;
            border-color: black;
            color: black;
        }

        .topnav-dropdown a.active {
            background-color: #3385ff;
            border-color: white;
            color: white;
        }

    .topnav-dropdown ul {
        position: absolute;
        margin-left: -40px;
        list-style: none;
    }

    .navbar-dropdown-btn {
        width: 100%;
        position: fixed;
        top: 160px;
        background-color: white;
        box-shadow: 0px 8px 16px #555;
    }
    /* ****************************************************************************** */
}

/* MOBILE CSS */
@media (max-width:1250px) {
    body {
        font-size: 18px;
    }

    h2 {
        font-size: 30px;
    }

    textarea {
        width: 98%;
        height: 50vh;
    }

    .btnblockstyle {
        padding: 4px 5px;
        border-radius: 10px;
        border-width: 3px;
    }

    .wrap {
        margin: 1em auto;
    }

    .wrap-icon {
        width: 90%;
    }

    .inner-cont {
        padding: 6vh 0;
    }

    .wrap-icon:after {
        left: 56%;
    }

    .spinner-wrapper {
        position: absolute;
        padding: 1em 57%;
        margin: -150px auto 1em auto;
    }

    .spinner {
        position: absolute;
        font-size: 60px;
    }

    textarea.name {
        width: 75%;
    }

    #preview {
        margin: auto 5%;
        width: 90%;
    }

    table {
        width: 100%;
    }

    .tableinfohead {
        width: 100%;
        padding: 4px;
    }

    .trowtextbox.xsm {
        width: 40px;
    }

    .trowtextbox.sm {
        width: 60px;
    }

    .trowtextbox.md {
        width: 100px;
    }

    .trowtextbox.lg {
        width: 140px;
    }

    #table h2 {
        width: 100%;
    }

    .hide-mobile-ver {
        display: none !important;
    }

    .fixedtoolbox {
        width: 100%;
        bottom: 0px;
        box-shadow: none;
    }
        .fixedtoolbox.horizontal .cell-half {
            display: inline-block;
            width: 49%;
            text-align: center;
        }
        .fixedtoolbox.horizontal .cell-third {
            display: inline-block;
            width: 32.33%;
            text-align: center;
        }

    .neweventform {
        width: 90%;
        margin: 0 5%;
        padding: 10px;
        text-align: center;
        border-radius: 20px;
        background-color: #dedede;
    }

    .scorereport {
        width: 90%;
        margin: 0 5%;
        padding: 10px;
        text-align: center;
        border-radius: 20px;
        background-color: #dedede;
    }

    .upcominggame {
        width: 90%;
        margin: 0 5%;
        padding: 30px 0 30px 0;
        text-align: center;
        border-radius: 20px;
        background-color: peachpuff;
    }

    /* TOP NAVIGATION BAR WITH DROPDOWN CSS (For Use with Drop Down Menus) */
    /* ****************************************************************************** */
    .topnav-new {
        width: 100%;
        z-index: 2000;
        margin: auto;
        background-color: red;
        color: white;
        overflow: hidden;
        position: fixed;
        top: 0;
    }

    .topnav-tab {
        /*z-index: 2000;*/
        display: inline-block;
        padding: 22px 24px;
        /*height: 100px;*/
        text-align: center;
        text-decoration: none;
        font-size: 24px;
        font-weight: bold;
        font-family: Cambria;
        /*background-color: #;*/
        color: white;
    }

        .topnav-tab:hover {
            text-decoration: none;
            background-color: #ddd;
            color: black;
        }

    .topnav-tab-active {
        background-color: white !important;
        color: red !important;
    }

    .topnav-dropdown-container .topnav-tab {
        width: 100%;
    }

    .topnav-dropdown {
        z-index: 2000;
        /*position: absolute;*/
        display: none;
        text-align: center;
        /* width: 180px; */
    }

    .topnav-dropdown-container .topnav-dropdown {
        width: 100%;
    }

    .topnav-dropdown a {
        background-color: #333333;
        border: solid;
        border-width: 1px;
        border-color: #cccc00;
        padding: 13px 8px;
        font-size: 20px;
        font-family: "Barlow Condensed", Cambria;
        color: #cccc00;
        width: 180px;
        /* height: 96px; */
    }

        .topnav-dropdown a:hover {
            text-decoration: none;
            background-color: #ddd;
            border-color: black;
            color: black;
        }

        .topnav-dropdown a.active {
            background-color: #3385ff;
            border-color: white;
            color: white;
        }

    .topnav-dropdown ul {
        position: absolute;
        margin-left: -40px;
        list-style: none;
    }

    .navbar-dropdown-btn {
        width: 100%;
        position: fixed;
        top: 30px;
        background-color: #444;
        box-shadow: 0px 8px 16px #555;
    }
    /* ****************************************************************************** */
}

/* ============== CSS ANIMATIONS ============== */
.anim-ZoomAndSpin {
    animation: zoomin 0.6s linear forwards, spin-cw 2s linear infinite;
}

.anim-zoomin {
    animation: zoomin 1s linear forwards;
}

.anim-spin-cw {
    animation: spin-cw 2s linear infinite;
}

@keyframes zoomin {
    from {
        font-size: 1px;
        top: calc(50vh - 30px);
        left: calc(50% - 30px);
    }

    to {
        font-size: 60px;
        top: calc(50vh - 60px);
        left: calc(50% - 60px);
    }
}

@keyframes spin-cw {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
/* ============================================ */