body {
    overflow: auto;
}

#HeaderBar {
    position: fixed;
    background-color: #cccccc;
    width: 100%;
    height: 30px;
}


.bg-info {
    background-color: #f0f0f0 !important
}

.stepsImg {
    max-height: 110px;
}

/*Games Screen*/

#Games_Screen {}

.GameOuter {
    width: 16rem;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 6px 10px rgba(0, 0, 0, .08), 0 0 6px rgba(0, 0, 0, .05);
    transition: .3s transform cubic-bezier(.155, 1.105, .295, 1.12), .3s box-shadow, .3s -webkit-transform cubic-bezier(.155, 1.105, .295, 1.12);
}

.GameOuter:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .12), 0 4px 8px rgba(0, 0, 0, .06);
}

#Games_Standard {
    position: relative;
    min-height: 10rem;
}

#Games_QuestionSets {
    position: relative;
    min-height: 10rem;
}

/*End Games Screen*/




/*Game Screen*/
#Game_Screen {}

#Game_Screen .breadcrumb {
    background-color: transparent;
}

.carousel-control-prev-icon,
.carousel-control-next-icon,
.carousel-indicators {
    filter: invert(1) grayscale(100);

}

a.btn:not([href]) {
    color: white;
}

#Games_License_Panel .card {
    cursor: pointer;
    transition: .3s transform cubic-bezier(.155, 1.105, .295, 1.12), .3s box-shadow, .3s -webkit-transform cubic-bezier(.155, 1.105, .295, 1.12);
}

#Games_License_Panel .card:hover {
    transform: scale(1.05);
    z-index: 99;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .12), 0 4px 8px rgba(0, 0, 0, .06);
}

#Games_License_Panel .list-group {
    min-height: 200px;
}

#Games_License_Panel .card-title {
    font-family: 'Fredoka One';
    font-size: 30px;
    background-color: grey;
    border-radius: 50px;
}

#Games_License_Panel .free {
    background-color: #ffe0cc;
}

#Games_License_Panel .oneMon {
    background-color: #fff4c5;
}

#Games_License_Panel .oneYr {
    background-color: #ffbbf1;
}

#Games_License_Panel .single {
    background-color: #e7fff1;
}

#Games_License_Panel .list-group-flush>.list-group-item {
    border: 0px;
}

#Game_Screen h2 {
    font-family: 'Fredoka One';
}

/*End Game Screen*/



@media screen and (max-width: 768px) {
    #Games_License_Panel .card {
        margin-bottom: 2em;
    }

    #Games_Screen {
        padding-left: 0;
        padding-right: 0;
    }

    .GameOuter {
        width: auto;
    }
}






/*Resource Screen*/

#Resource_Screen {
    background-color: white;

}

#Resource_Screen .jumbotron {
    background-color: #f7f7f7;
    color: white;
    background-color: white;
}

#ResourceGrid {
    position: relative;
    min-height: 75vh;
}

#ResourceGrid .card {
    cursor: pointer;
    box-shadow: 0 6px 10px rgba(0, 0, 0, .08), 0 0 6px rgba(0, 0, 0, .05);
    transition: .3s transform cubic-bezier(.155, 1.105, .295, 1.12), .3s box-shadow, .3s -webkit-transform cubic-bezier(.155, 1.105, .295, 1.12);
    overflow: hidden;
}

#ResourceGrid .card-header {
    border-bottom: none;
}

#ResourceGrid .card-footer {
    /* background-color: rgb(239 246 254); */
}

#ResourceGrid .card.Private {
    /*show/hide lock icon*/
}

#ResourceGrid .card.Unpublished {
    background-color: #ecedf3;
    opacity: 0.7;
}

#ResourceGrid .card.Unpublished .card-footer {
    background-color: #ecedf3;
    opacity: 0.7;
}


#ResourceGrid .card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .12), 0 4px 8px rgba(0, 0, 0, .06);
}

#ResourceGrid .LoadingMask {
    z-index: 90 !important;
}

.creator:hover {
    text-decoration: underline;
}

#gamesNavBar {
    background-color: transparent;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: #6e81a5;
}

.nav-pills .nav-link {
    color: #6e81a5;
}

/*End Resource Screen*/




/*GameSelection_Screen*/
/*#GameSelection_Screen{
    position:fixed;
    top:110px;
    left:0px;
    bottom:0px;
    right:0px;
    z-index:2000;
    background-color:white;
}*/
/*End GameSelection_Screen*/





/*Resource Details Screen*/
#ResourceDetails {
    width: 100%;
    min-height: 100vh;
    position: relative;
}

#ResourceDetails_Screen .breadcrumb {
    background-color: transparent;
}

.Category_Outer {
    position: relative;
    margin: 10px;
}

.Category_Header {
    background-color: #fcfcfc;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.125);
    box-shadow: 5px 6px 4px -5px rgb(0 0 0 / 10%);
    min-height: 100px;
}

.Category_Header_Col {
    background-color: #6e81a5;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: absolute;
    right: 26px;
    top: 23px;
    background-image: url('../../Images/downarrow.png');
    background-repeat: no-repeat;
    background-position: center center;
}

.expand .Category_Header_Col {
    transform: scaleY(-1);
}

.Category_Container {
    overflow: hidden;
    height: auto;
    min-width: 96%;
    min-height: 10px;
    margin-left: .3em;
}


.Category_Label {}

.Category_Name {
    padding-left: 18px;
    background-image: url('../../Images/edit.png');
    background-repeat: no-repeat;
    background-position: left center;
    cursor: pointer;
    display: inline-block;
    min-height: 23px;
}

.Category_Name:hover {
    text-decoration: underline;
}

.readOnly .Category_Name {
    background-image: none;
    cursor: auto;
    padding-top: 24px;
    font-size: 24px;
}

.readOnly .Category_Name:hover {
    text-decoration: none;
}

.Question_Number {}

.Question_Vaue {}

.HasCategories .Question_Number {
    display: none;
}

.NoCategories .Question_Vaue {
    display: none;
}

.Question_Outer {
    width: 15rem;
    height: 419px;
    float: left;
    cursor: pointer;
    position: relative;
    transition: .3s transform cubic-bezier(.155, 1.105, .295, 1.12), .3s box-shadow, .3s -webkit-transform cubic-bezier(.155, 1.105, .295, 1.12);
    background-color:
        white;
}

.Question_Outer .card-header {
    min-height: 38px;
    background-color: #fafafa;
}

.Question_Outer .card-body {
    background-color: #fafafa;
}

.Question_Outer .card-footer {
    border-top: 0;
    background-color: #fafafa;
}



.Question_ImgPreview,
.Answer_ImgPreview {
    min-height: 92px;
    width: auto;
    max-width: 97%;
    border: 1px solid #cecece;
    display: block;
    background-color: white;
}

.Question_NotSet {
    display: none;
}

.Question_NotSet .Question_ImgPreview {
    border: 1px solid #cccccc;
}



.Question_TextPreview,
.Answer_TextPreview {
    width: auto;
    max-width: 97%;
    border: 1px solid #cecece;
    display: none;
    text-align: center;
    background-color: #e8e8e8;
    line-height: 16px;
    white-space: pre-wrap;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    padding: 8px;
    min-height: 165px;
    max-height: 165px;
}

.Question_TextSet .Question_TextPreview,
.Answer_TextSet .Answer_TextPreview {
    display: block;
    background-color: white;
}

.Question_TextSet .Question_ImgPreview,
.Answer_TextSet .Answer_ImgPreview {
    display: none;
    background-color: white;
}


.Multichoice {
    display: none;
    width: 25px;
    height: 24px;
    position: relative;
    float: left;
    border-radius: 50%;
    margin-left: 31px;
    text-align: center;
    color: #b1b1b1;
    border: 1px solid #b1b1b1;
    line-height: 17px;
}

.Multiselect .Multichoice {
    display: block;
}

.Answer2_Set .Answer2 {
    background-color: #4f5b70;
    color: white;
}

.Answer3_Set .Answer3 {
    background-color: #4f5b70;
    color: white;
}

.Answer4_Set .Answer4 {
    background-color: #4f5b70;
    color: white;
}

.List .Answer2,
.List .Answer3,
.List .Answer4,
.List .Answer_TextPreview,
.List .Answer_ImgPreview,
.List .Question_Vaue {
    display: none;
}


.List .Question_Outer {
    height: 213px;
    overflow: hidden;
}


.Question_Outer:hover {
    transform: scale(1.02);
    box-shadow: 6px 6px 3px rgb(0 0 0 / 3%), 0 4px 8px rgb(0 0 0 / 6%);
}



.Question_AddBtn {
    /*visibility:hidden;*/
}

.Question_AddBtn.show {
    /* display:block; */
}

/*.Question_AddBtn_Txt{

}*/

.Question_Placeholder {
    background-color: rgba(0, 0, 0, 0.05);

    border: 1px solid #dddddd;
    float: left;
    margin: 8px;
    cursor: pointer;

    width: 200px;
    height: 370px;

    -moz-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.15);

    box-shadow: inset 0px 2px 6px 0px rgba(0, 0, 0, 0.3) !important;

    -moz-border-radius: 0.25rem;
    -webkit-border-radius: 0.25rem;
    border-radius: 0.25rem;
}

.List .Question_Placeholder {
    height: 213px;
}


.Question_Remove {
    /* background-color:red; */
    width: 20px;
    height: 20px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    line-height: 3px;
    padding-left: 4px;
}

#ResourceDetails_Favorite.favorited {
    background-color: #d41515 !important;
    color: white !important;
}

/* Favorite button wrapper */
.favorite-wrapper {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

/* Heart icon for favorite button */
.btn.resourceFavorite {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    border: 1px solid #6c757d;
    background: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 22px;
}

.btn.resourceFavorite::after {
    content: 'Favorite';
    position: absolute;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    color: white;
    transition: width 0.3s ease;
}

.btn.resourceFavorite:hover {
    width: 100px;
    border-radius: 16px;
    background-color: #dc3545;
    border-color: #dc3545;
    font-size: 16px;

}

.btn.resourceFavorite:hover::after {
    width: 60px;
    margin-left: 8px;
}

.btn.resourceFavorite.favorited {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn.resourceFavorite.favorited:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Ensure tooltip is above the button */
.tooltip {
    z-index: 1050;
}

/* Resource Details Button Icons */
#ResourceDetails_Btns .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    padding-left: 2.25rem;
}

#ResourceDetails_Btns .btn::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-position: center;
}

#ResourceDetails_Play::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
}

#ResourceDetails_Copy::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236c757d'%3E%3Cpath d='M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4l6 6v10c0 1.1-.9 2-2 2H7.99C6.89 23 6 22.1 6 21l.01-14c0-1.1.89-2 1.99-2h7zm-1 7h5.5L14 6.5V12z'/%3E%3C/svg%3E");
}

#ResourceDetails_EditBtn::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z'/%3E%3C/svg%3E");
}

#ResourceDetails_Favorite::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236c757d'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}

#ResourceDetails_Favorite.favorited::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}

#ResourceDetails_PublicBtn::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236c757d'%3E%3Cpath d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z'/%3E%3C/svg%3E");
    transition: all 0.3s ease;
}

#ResourceDetails_PublicBtn.public::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236c757d'%3E%3Cpath d='M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 8V6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9z'/%3E%3C/svg%3E");
}

#ResourceDetails_PublicBtn:hover::before {
    opacity: 1;
    filter: brightness(0) invert(1);
}

/* Make outline button icons white on hover */
#ResourceDetails_Btns .btn-outline-secondary:hover::before,
#ResourceDetails_Btns .btn-outline-danger:hover::before,
#ResourceDetails_DeleteBtn:hover::before {
    filter: brightness(0) invert(1);
}

#ResourceDetails_DeleteBtn::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23dc3545'%3E%3Cpath d='M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z'/%3E%3C/svg%3E");
}

#ResourceDetails_AdminBtn::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236c757d'%3E%3Cpath d='M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z'/%3E%3C/svg%3E");
    transition: all 0.3s ease;
}

#ResourceDetails_AdminBtn:hover::before {
    filter: brightness(0) invert(1);
}

/* Adjust button padding for outline buttons to match primary buttons */
#ResourceDetails_Btns .btn-outline-secondary,
#ResourceDetails_Btns .btn-outline-danger {
    padding-left: 2.25rem;
}

#FreeRow {
    display: none;
}

/*End Resource Details Screen*/






/*Question Details Screen*/

#SaveQuestionBtn {
    margin-left: 1em;
}

#QuestionDetails_Screen {}

.QuestionDetails_QuestionOuter {
    width: 240px;
    height: 265px;
    margin: .5em;
    border: 2px solid #5a6a89;
}

.QuestionDetails_QuestionOuter .card-header {
    color: white;
    background-color: #5a6a89;
}

.QuestionDetails_QuestionOuter .btn-outline-primary {
    border-color: #5a6a89;
    color: #5a6a89;
}

.QuestionDetails_QuestionOuter .btn-outline-primary:hover {
    background-color: #7b7bed;
    color: white;
}


.QuestionDetails_CorrectAnswerOuter {
    float: left;
    width: 240px;
    height: 265px;
    margin: .5em;
    border: 2px solid #6a8e6a;
}

.QuestionDetails_CorrectAnswerOuter .card-header {
    color: white;
    background-color: #6a8e6a;
}

.QuestionDetails_CorrectAnswerOuter .btn-outline-primary {
    border-color: #6a8e6a;
    color: #6a8e6a;
}

.QuestionDetails_CorrectAnswerOuter .btn-outline-primary:hover {
    background-color: #6a8e6a;
    color: white;
}

.QuestionDetails_AnswerOuter {
    float: left;
    width: 240px;
    height: 265px;
    margin: .5em;
    border: 2px solid #ae5d5d;
}

.QuestionDetails_AnswerOuter .card-header {
    color: white;
    background-color: #ae5d5d;
}

.QuestionDetails_AnswerOuter .btn-outline-primary {
    border-color: #ae5d5d;
    color: #ae5d5d;
}

.QuestionDetails_AnswerOuter .btn-outline-primary:hover {
    background-color: #ae5d5d;
    color: white;
}


.QuestionImage {
    height: auto;
    width: 100%;
    display: block;
    cursor: pointer;
    padding-bottom: 8px;
}



.QuestionTypeToggle {
    position: relative;
    cursor: pointer;
}

.QuestionTypeImage {}

.QuestionTypeImage .QuestionTextBox {
    display: none;
}

.QuestionTypeImage .QuestionTypeToggle {}


.QuestionTypeText {}

.QuestionTypeText .QuestionImage {
    display: none;
}

.QuestionTypeText .QuestionTextBox {
    height: 280px;
    margin: 10px;
}

.Question_Outer .card-footer {
    height: 50px;
}


.bs-tooltip-top {
    opacity: 1 !important;
}

.tooltip-inner {
    width: 233px;
    height: 140px;
    opacity: 1 !important;
    background-color: #4f5b70;
}

.tooltip-inner img {
    background-color: white;
    width: 100%;
    height: auto;
    opacity: 1 !important;
}

.tooltip-inner div {
    background-color: white;
    color: black;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/*End Question Details Screen*/





/* Game Types Screen */
#GameSelection_Outer {
    min-height: 75vh !important;
}

#GameSelection_BC {
    background-color: transparent;
}

.gameTypeCard {
    border: none;
    -moz-box-shadow: 0 0 0 1px #d4d4d5,
        0 2px 4px 0 rgba(34, 36, 38, 0.12),
        0 2px 10px 0 rgba(34, 36, 38, 0.12);
    -webkit-box-shadow: 0 0 0 1px #d4d4d5,
        0 2px 4px 0 rgba(34, 36, 38, 0.12),
        0 2px 10px 0 rgba(34, 36, 38, 0.12);
    box-shadow: 0 0 0 1px #d4d4d5,
        0 2px 4px 0 rgba(34, 36, 38, 0.12),
        0 2px 10px 0 rgba(34, 36, 38, 0.12);
}

.cardImg {
    width: 100%;
    height: 70%;
}

.cardImg img {
    width: 100%;
    height: 100%;
}

.cardContent {}

.cardHeader {}

/*.cardDescription{

}*/

/* End Game Types Screen */






/* published */

.artifact {
    max-width: 12rem;
}

.richText-toolbar {
    z-index: 500;
}

.richText-dropdown {
    max-height: 319px;
    overflow-y: auto;
}

.richText-dropdown-close {
    right: 4px;
}

/* end published */


/* Nested dropdown support */
.dropdown-menu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

.dropdown-menu .dropright .dropdown-toggle::after {
    vertical-align: middle;
    border-left: .3em solid;
    border-bottom: .3em solid transparent;
    border-top: .3em solid transparent;
}

.dropdown-menu .dropright:hover>.dropdown-menu {
    display: block;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f8f9fa;
}

/* Hide product menu items by default - visibility controlled by Resource_Publish.js */
#ResourceDetails_CreateProdBtn,
#ResourceDetails_ManagePublishBtn {
    display: none;
}

/* end nested dropdown */


@keyframes bounceIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
        opacity: 1;
    }

    80% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

.bounce-in {
    animation: bounceIn 1.0s ease-out;
}