
/***** PCS Custom classes******/
#pcs-logo {
    margin-right: 5px;
    height: 20px;
    width: 23px;
}

*{
    -webkit-overflow-scrolling: touch;
}
/*To place footer in the correct position*/
body{
    height: 100%;
    overscroll-behavior: none; /*Prevents page bounce behavior on supported browsers*/
}


/*Fix for bug where images are not displayed when page is initially loaded on ipad*/
/*https://github.com/dinbror/blazy/issues/125*/

img{
    min-height: 1px;
}



#sky_art{
    /*float: right;*/
    /*margin-right: 30px;*/
    top: 60px;
    right: 60px;
    width: 130px;

    position: fixed;
    /*margin-left: -80px;*/
    z-index: -1;


}
@media only screen and (max-width : 991px){
    #sky_art {
        /*width: 90px;*/
        display: none!important;
    }
}

@media only screen and (min-device-width: 992px)
{
    .ui.container {
        min-width: 640px !important;
    }

}


/*#pcs-content{
    z-index: 1;
}*/

/*Caused bottom buttons to be cut off*/
#pcs-page{/* position: absolute;  *//*   overflow-x: hidden !important;*/
    width:100%!important;
    min-height: calc(100% - 97px);
    padding-bottom: 1rem; /*This is needed to align the grass properly on Safari. The .ui.grid negative margins have different behavior on Chrome and Safari*/
}

.pcs-white-panel{
    background-color: white;
    margin-left: 0;
    margin-right: 0;
    margin-top: 1rem;
    padding: 0 1rem 2.5rem 1rem;
}

.pcsgame.card{
    overflow: hidden;
}

/****************************************************************************************************************
Action buttons (Next, Okay, Start, Continue, New Game, etc..)
****************************************************************************************************************/

/*Reverses the padding of .pcs-card but only apply to non-mobile devices otherwise overflow occurs*/
@media only screen and (min-width: 768px){
    .pcs-card-negative{
        margin: 15px calc(-.75rem - 10px) calc(-1rem - 10px) calc(-.75rem - 10px);
    }
}

.page.actions{
    background-color: white;
    bottom: -75px; /*This is here so that it is loaded in the DOM if we do the animate-up animation*/
}

/*actions-spacer is necessary so that when we make the actions fixed, the size of the page doesn't change */
.page.actions.fixed + .actions-spacer{
    height: 60px; /*Same height as the .page.actions that it replaces including margins and boarders*/
    width: 100%;
}

.page.actions.fixed{
    position: fixed;
    bottom: -75px;
    z-index: 998; /*Less than #pcs-settings*/
    width: 100%;
    margin: 0;
    left: 0;
    box-shadow: 1px -4px 8px 0 rgb(0 0 0 / 12%);
}

.page.actions .actions-container {
    padding: 12px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.page.actions.fixed .actions-container {
    margin: 0 auto 0 auto;
    background-color: white;
}

@media only screen and (min-width: 1200px){
    .page.actions.fixed .actions-container {
        width: 1127px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px){
    .page.actions.fixed .actions-container {
        width: 933px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px){
    .page.actions.fixed .actions-container {
        width: 723px;
    }
}

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

    .page.actions{
        position: fixed;
        bottom: -75px;
        z-index: 2000;
        width: 100%;
        margin: 0;
        left: 0;
        box-shadow: 1px -4px 8px 0 #0000001f;
        background-color: white;
    }

    .page.actions + .actions-spacer{
        height: 36px;
    }

    @supports (backdrop-filter: blur()) or (-webkit-backdrop-filter: blur()) {
        .page.actions {
            background-color: #ffffffe0;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
    }
}

/************************************************************************************************************/

.button-no-style{
    background-color: transparent;
    border-width: 0;
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
    line-height: inherit;
    padding: 0;
}

.ui.bottom.visible.sidebar, .ui.top.visible.sidebar {
    box-shadow: none;
}

.pcs-notification{
    display: none;
    box-shadow: 4px 4px 10px 1px rgba(0, 0, 0, 0.26) !important;
    border-radius: 4px;
    background-color: white;
    position: fixed;
    margin: 0 auto;
    opacity: 0;
    top:0;
    left: 0;
    right: 0;
    width: 40%;
    min-width: 370px;
    max-width: 600px;
    z-index: 1001;
    overflow: hidden;
}

.pcs-notification .message{
    display: flex;
    justify-content: center;
    font-size: 18px;

    margin: 15px 15px;
    line-height: 28px;
}

.pcs-notification .message .text{
    margin-left: 15px;
    display: flex;
    align-items: center;
}

#pcsheading {
    width: 100%;
    max-height: 88px;
    overflow: hidden;
}


#pcsheading .breadcrumb{
    font-size: 1.25rem;
    line-height: 1.33em;
    display: block;
}

#pcsheading .pcs-breadcrumbs{
    color: black;
}

#pcsheading.dark-theme, #pcsheading.dark-theme .pcs-breadcrumbs{
    color:white;
}

#pcsheading .button.action{
    min-width: 98px;
    display: none;

}

#pcsheading .heading {
    font-size: 3.5rem;
    font-weight: 600;
    text-transform: uppercase;
    float: left;
    display: inline;
    color: #212121;
}


@media only screen and (max-width : 769px){
    #pcsheading .heading {
        font-size: 2rem;
    }

    #pcs-content.compact{
        margin-top:60px!important;
    }

}


.pcs-selection-panel{
    padding: 1rem 3rem 3rem !important;
    background-color: white;
    margin: 0.5rem;
    box-shadow: 2px 2px 6px 0px #d4d2d2;

}

.pcs-selection-panel:not(.comingsoon){
    cursor: pointer;
}

.pcs-selection-panel:not(#student-link) *{
    color: #616161;
}

.pcs-selection-panel img{
    display: block;
    margin:auto;
    width: 100%;

}

.pcs-selection-panel .heading{
    color: #616161;
    font-size: 3rem;
    font-weight: 700 !important;
    margin-bottom: .75rem;
}

.pcs-selection-panel .description {
    color: #616161;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: block;
}

.pcs-selection-panel:not(#student-link):hover{
    box-shadow: 10px 10px 17px 0px #c7c7c7;
    transform: translateY(-3px)
}

.pcs-selection-panel:not(#student-link):hover *{
    color: black;
}


@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
    .pcs-selection-panel .heading{
        font-size: 2rem;
    }

    .pcs-selection-panel{
        padding: 1rem 1rem 1rem !important;
        margin-top: .5rem;
        margin-bottom: .5rem;
        margin-left:initial;
        margin-right:initial;

    }
}

@media only screen and (max-device-width : 667px) {

    .pcs-selection-panel{
        padding: 1rem 1rem 1rem !important;
        margin-top: .5rem;
        margin-bottom: .5rem;

    }

    .pcs-selection-panel .heading{
        font-size: 2rem;
    }

    .column.pcs-selection-column{
        padding-left: .25rem!important;
        padding-right: .25rem!important;
    }

}


@media only screen and (max-device-width : 667px) and (orientation:portrait) {
    .actions.wide-buttons{
        display: flex;
        flex-direction: column;
    }
}

/*****Prevents UI Sticky (pcsheading) from appearing overtop of the dropdown menu)****/
.topbar-container .ui.dropdown .menu{
    z-index: 1000;
}


 /********************************************************************************
 * Tips for Teachers                                                             *
 *                                                                               *
 ********************************************************************************/

.pcs-tip{
    background-color: rgba(255, 255, 255, 0.90);
    color: #4a4a4a;
    padding: 1rem;
    overflow:auto;
    position: relative;
    border: solid 1px #d4d4d5;
    border-radius: 4px;
}

.pcs-tip .heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.pcs-tip .x.icon{
    position: absolute;
    right: .75rem;
    top: .75rem;
}

.pcs-tip img{
    width:5rem;
    float:left;
    margin-right:10px;
    display: none
}

.pcs-tip .show-more{
    vertical-align: top;
    color: #aaaaaa;
}

.pcs-tip.long-description .show-more{
    display: none;
}

.pcs-tip .with-action{
    display: inline-block;
    max-width: calc(100% - 180px);
}

.pcs-tip.short-description .description{
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 90%;
}

.pcs-modal img.pcs-modal-image {
    min-width: 230px;
    border: 2px white solid;
    box-shadow: 2px 2px 10px 0px #a9a8a8;
}

.pcs-modal.rotate-display .description{
    display: flex!important;
    flex-direction: column;
    align-items: center;
    font-size: 24px;
}

.pcs-modal.rotate-display .description img {
    width: 300px;
    max-width: 100%;
    max-height: 100%;
}

@media only screen and (min-device-width : 375px) and (max-device-width : 667px) and (orientation: portrait) {
    .pcs-tip .with-action{
        max-width: inherit;
        margin-bottom: .25rem
    }
}


.pcs-home{
    color: #717171;
}

.pcs-home .heading {
    font-size: 4rem;
    font-weight: 700;
    line-height: 4rem;
    text-transform: uppercase;
}

.pcs-home .subtext{
    font-size: 1.3rem;
}
.pcs-home .from{

}
/*.pcs-home .box{
    padding-top: 20%;
    padding-left: 30%;
}*/

.pcs-home .box{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}


.comingsoon img{
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}


@media print {
    #sky_art{
        display: none;
    }
}