#container{
  box-shadow: 5px 10px 18px #888888;
  height:80%;
  width:40vw;
  margin:auto;
}
.gregorian_calendar {
  border:ridge blue 1px;
  border-collapse: collapse;
  height:90%;
  width:100%;
}
.gregorian_calendar, .calendar_head{
    margin:auto;
}
.calendar_head{
    display:flex;
    flex-direction: row;
    justify-content:space-around;
    background-color:white;
    height:19%;
    font-size:2vw
}
.calendar_head a.leftArrow{
    padding:10% 6%;
    background-color:#A0DAA9;
    width:15%;
    box-sizing:border-box;
    cursor:pointer;
}
.calendar_head a.rightArrow{
    background-color:#A0DAA9;
    padding:10% 6%;
    width: 15%;
    box-sizing:border-box;
    cursor:pointer;
}

#YearMonth{
    text-align:center;
     background-color:white;
     color:blue;
     width:70%;
}

.gregorian_calendar td:hover {background-color: #ddd;}

.gregorian_calendar td, .gregorian_calendar th {
  border: 1px solid #ddd;
  padding: 1vw 0px;
  text-align: center;
}
.gregorian_calendar th{
    margin-bottom:10px;
    font-weight:bold;
    background-color:#abcdef;
    font-size:1.5vw;
}
.gregorian_calendar td a{
    padding:1vw 1vw;
    overflow:hidden;
    font-family: Sans-serif;
    font-size:1.5vw;
    cursor:pointer;
}

.gregorian_calendar td:empty{
background-color:#eee;
}


#addEventDiv{
    width:100%;
    height: 100%;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    background-color:rgba(100,100,100,0.7);
}

#eventPlus, #addEventAndEvent{
    width:50%;
    height:80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color:lightcyan;
    border-radius:5px;
}

#eventPlus>a{
    background-color:#66cdaa;
    text-align:center;
    display:table;
    color:green;
    font-weight:bold;
    width:70%;
    height:10%;
    min-height:35px;
    position:absolute;
    left: 50%;
    transform: translateX(-50%);
}
#addEventDiv a{
    background-color:#66cdaa;
    text-align:center;
}
#addEventDiv a span{
    display:table-cell;
    vertical-align:middle;
}


#eventPlus>a:first-of-type{
    top:10px;
    font-size:35px;
    display:flex;
    align-items:center;
    justify-content:center;
}


#eventPlus>a:last-of-type{
    bottom:10px;
    font-size:20px;
    padding-bottom:4px;
    display:flex;
    align-items:center;
    justify-content:center;
}

#addEventAndEvent div{
    display:flex;
    flex-direction:row;
    justify-content:center;
}

#addEventAndEvent a:first-of-type{
    width:30%;
    margin-right: 10px;
    font-size:20px;
    color:green;
    line-height: 150%;
    font-weight:bold;
    background-color:lightgreen;
}
#addEventAndEvent a:last-of-type{
    width:30%;
    font-size:20px;
    color:green;
    line-height: 150%;
    font-weight:bold;
    background-color:#FFE972;
}
#addEventDiv a:hover{
    cursor:pointer;
    opacity:0.7;
}
#warning{
    text-align: center;
    display:none;
    color:red;
    font-size:14px;
}


input[type=text], textarea{
  color: #222222;
  width: 70%;
  padding: 10px 12px;
  margin: auto;
  margin-bottom: 15px;
  display: block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  background-color:lightgoldenrodyellow;
}

input[type=text]{
  height: 8%;
}
textarea{
  height: 30%;
  resize: none;
}
#addEventAndEvent>label {
    display: block;
    text-align: center;
    line-height: 150%;
    font-size: .85em;
    font-weight: bold;
}

#showEvent{
    margin:auto;
    margin-top:20%;
    text-align:center;
    width:70%;
    height:65%;
    overflow-y: auto;
    scrollbar-width: none;
}
#showEvent>div:nth-child(even){
    background-color:powderblue;
    }
#showEvent>div:nth-child(odd){
    background-color:turquoise;

    }
#showEvent>div{
    border-radius:5px;
}


#showEvent>div>div{
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:center;
    border-radius:5px;
}

#showEvent>div h3{
    background-color:#00Beee;
    color:white;
    padding:10px;
    border-radius:5px;
    }

#showEvent div a:first-of-type{
    background-color:orange;
    color:white;
    padding:10px;
    border-radius:5px;
    margin-right:10px;
    width:20%;
    }

#showEvent div a:last-of-type{
    background-color:crimson;
    color:white;
    padding:10px;
    border-radius:5px;
    width:20%;
    }


@media only screen and (max-width: 500px) {
    #container{
      width:100%;
    }
    .gregorian_calendar{
        width:100%;
    }
}

@media only screen and (min-width: 800px) {
    #container{
      width:30%;
    }
    .gregorian_calendar{
        width:100%;
    }
    .calendar_head{
        font-size:1vw
    }
    .gregorian_calendar td a{
        padding:1vw 1vw;
        font-size:1vw
    }
    #eventPlus, #addEventAndEvent{
        width:35%;
    }
}

#chechboxes{
    padding:0% 15%;
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    font:sans-serif;
    font-size:16px;
    color:green;
}