/* main.css - artschoolellen.com */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Times New Roman', Times, serif;
    margin: 0;
}

.header {
    /* padding: 80px; */
    text-align: center;
    color: rgb(33, 32, 32);
    background-color: rgba(186, 184, 184, 0.6);
}

.header h1 {
    font-size: 40px;
}

.header p {
    font-size: 20px;
}

.pop-up{
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}
.pop-up-body{
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}
.close-pop-up{
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close-pop-up:hover, .close-pop-up:focus{
   color: black;
   text-decoration: none;
   cursor: pointer; 
}

.notice {
    border: 1px solid #000000;
    border-radius: 6px;
    background-color: rgb(223, 220, 220);
    padding: 4px;
}

.notice-max {
    width: 98%;
}

.notice p {
    font-size: 18px;
}

.notice span {
    float: right;
    font-size: 30px;
    cursor: pointer;
}

.notice-center p {
    text-align: center;
}

.error {
    border: 1px solid #ef3131;
    padding: 2px;
    border-radius: 6px;
}

.nav-bar{
    overflow: hidden;
    background-color: #333;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    /* position: fixed; */
    width: 100%;
}

.nav-bar a {
    float: left;
    display: block;
    color: #fff;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 20px;
    border-radius: 4px;
}

.nav-bar a.right {
    float: right;
}

.nav-bar a:hover {
    background-color: #ddd;
    color: #000;
    transition: 0.4s;
    -webkit-transition: 0.4s;
}

.nav-bar a.active {
    background-color: #666;
    color: #fff;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.side {
    -ms-flex: 30%;
    flex: 30%;
    background-color: #f1f1f1;
    padding: 20px;
}

.content-main {
    -ms-flex: 70%;
    flex: 70%;
    background-color: #fff;
    padding: 20px;
}

.footer {
    padding: 20px;
    /* text-align: center; */
    background-color: #ddd;
}

@media screen and (max-width: 700px) {
    .row {
        flex-direction: column;
    }
}

@media screen and (max-width: 400px) {
    .nav-bar a {
        float: none;
        width: 100%;
    }
}

.info-tables {
    float: left;
    width: 33.3%;
    padding: 8px;
}

.info-container {
    list-style-type: none;
    border: 1px solid #eee;
    margin: 0;
    padding: 0;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.info-container:hover {
    box-shadow: 0 8px 12px 0 rgba(0,0,0,0.2);
}

.info-container .info-header {
    background-color: #111;
    color: #fff;
    font-size: 25px;
}

.info-container li {
    border-bottom: 1px solid #eee;
    padding: 20px;
    text-align: center;
}

.info-container .about-title {
    font-size: 20px;
    background-color: #eee;
}

.button {
    background-color: #04aa6d;
    border: none;
    color: #fff;
    padding: 10px 25px;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
}

@media screen and (max-width: 600px) {
    .info-tables {
        width: 100%;
    }
}

.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    font-size: 20px;
}

.tab button:hover {
    background-color: #ddd;
}

.tab button.active {
    background-color: #ccc;
}

.tab-content-main {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
    animation: fadeEffect 1s;
}

@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

.testimonial-container {
    border: 2px solid #ccc;
    background-color: #eee;
    border-radius: 5px;
    padding: 16px;
    margin: 16px 0;
}

.testimonial-container::after{
    content: "";
    clear: both;
    display: table;
}

.testimonial-container img {
    float: left;
    margin-right: 20px;
    border-radius: 50%;
    width: 90px;
}

.testimonial-container span {
    font-size: 20px;
    margin-right: 15px;
}

@media screen and (max-width: 500px) {
    .testimonial-container {
        text-align: center;
    }
    .testimonial-container img {
        margin: auto;
        float: none;
        display: block;
    }
}

.side-nav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    padding-top: 60px;
    transition: 0.5s;
    -webkit-transition: 0.5s;
}

.side-nav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
    -webkit-transition: 0.3s;
}

.side-nav a:hover {
    color: #f1f1f1;
}

.side-nav .side-nav-close {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

body {
    transition: margin-left 0.5s;
}

/* CSS for ABOUT SECTION ONLY! */

.column-about {
    float: left;
    width: 33.3%;
    margin-bottom: 16px;
    padding: 0 8px;
}

.card-about {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    margin: 8px;
}

.about-section {
    padding: 50px;
    text-align: center;
    background-color: #474e5d;
    color: #fff;
}

.about-section p {
    font-size: 20px;
}

.contianer-about {
    padding: 0 16px;
}

.contianer-about::after, .row-about::after {
    content: "";
    clear: both;
    display: table;
}

.about-title {
    color: rgb(128,128,128);
}

@media screen and (max-width: 650px) {
    .column-about {
        width: 100%;
        display: block;
    }
}

.dark .card-about {
    box-shadow: 0 4px 8px 0 #fff;
}

/* END CSS ABOUT */

/* CSS SITE THEME */

.dark {
    background-color: rgb(46, 46, 46);
    color: #fff;
}

.dark .header {
    background-color: rgba(71, 70, 70, 0.6);
    color: #fff;
}

.dark .footer {
    background-color: rgb(146, 145, 145);
    color: #fff;
}

.dark .side {
    background-color: #7b7a7a;
}

.dark .content-main {
    background-color: rgb(49, 48, 48);
}

.dark .info-container:hover {
    box-shadow: 0 8px 12px 0 #fff;
}

.dark .tab {
    background-color: #252525;
}

.dark .tab button {
    color: #fff;
}

.dark .tab button.active {
    background-color: rgb(83, 83, 83);
}

/* CSS Other */

.slideshow-gallery-container {
    position: relative;
}

.slideshow-gallery-slides {
    display: none;
}

.slideshow-gallery-slides img {
    width: 100%;
    vertical-align: middle;
}

.slideshow-gallery-cursor {
    cursor: pointer;
}

.slideshow-gallery-prev, .slideshow-gallery-next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.slideshow-gallery-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.slideshow-gallery-prev:hover, .slideshow-gallery-next:hover{
    background-color: rgba(0,0,0,0.8);
}

.slideshow-number-text {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.slideshow-gallery-caption-container {
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: #fff;
}

.slideshow-gallery-thumbnail-wrapper:after {
    content: "";
    display: table;
    clear: both;
}

.slideshow-gallery-thumbnail {
    float: left;
    /* width: 25%; */
}

/* .slideshow-gallery-thumbnail img {
    width: 100%;
    vertical-align: middle;
} */

.slideshow-gallery-demo {
    opacity: 0.6;
}

.slideshow-gallery-active, .slideshow-gallery-demo:hover {
    opacity: 1;
}

.footer-container {
    max-width: 1170px;
    margin: auto;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
}

.footer {
    background-color: #24262b;
    padding: 70px 0;
}

.footer-col {
    width: 25%;
    padding: 0 15px;
}

.footer-col h4 {
    font-size: 18px;
    color: #fff;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #e91e63;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 16px;
    text-transform: capitalize;
    color: #fff;
    text-decoration: none;
    font-weight: 300;
    display: block;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #bbb;
    padding-left: 8px;
}

.footer-col ul {
    list-style-type: none;
}

@media (max-width: 767px) {
    .footer-col {
        width: 50%;
        margin-bottom: 30px;
    }
}

@media (max-width: 574px) {
    .footer-col {
        width: 100%;
    }
}

.dark-square {
    background-color: #a4a4a4;
}

.light-square {
    background-color: #fff;
}

.board {
    border: 1px solid #000;
    border-radius: 2px;
    margin-left: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    width: max-content;
}

/* chess - calanedar styles */

.calendar {
    display: grid;
    gap: 10px;
    grid-template-columns: auto 1fr;
    margin: 2rem;
}

.timeline {
    display: grid;
    grid-template-rows: repeat(12, 60px);
}

.days {
    display: grid;
    grid-column: 2;
    gap: 5px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.events {
    display: grid;
    grid-template-rows: repeat(10, 70px);
    border-radius: 5px;
    background: #fff1f8;
}

.start-1030 {
    grid-row-start: 2;
}

.start-530 {
    grid-row-start: 8;
}

.start-445 {
    grid-row-start: 7;
}

.start-600 {
    grid-row-start: 9;
}

.end-1130 {
    grid-row-end: 4;
}

.end-615 {
    grid-row-end: 10;
}

.end-545 {
    grid-row-end: 9;
}

.end-730 {
    grid-row-end: 12;
}

.title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.event {
    border: 1px solid #f2d3d8;
    border-radius: 5px;
    padding: 0.5rem;
    margin: 0 0.5rem;
    background: white;
}

.space, .date {
    height: 60px;
}

.date {
    display: flex;
    gap: 1em;
}

.date-day {
    display: inline;
    font-size: 3rem;
    font-weight: 100;
}

div[data-chess-square] {
    text-align: center;
    font-size: 60px;
}
.chess-board {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto auto;
    width: max-content;
    /* height: 512px; */
    column-gap: unset;
    user-select: none;
    -webkit-user-select: none;
    cursor: default;
}

.chess-game-wrapper {
    display: grid;
    grid-template-columns: auto auto;
    margin-top: 10px;
}
.move-table {
    display: grid;
    grid-template-columns: auto auto auto;
    width: 200px;
    height: 300px;
    overflow: scroll;
}
.move-active {
    background-color: yellow;
}
div[data-chess-move] {
    cursor: pointer;
}