@media print
{
    /* @page {
        size: auto;
        margin-top: 0mm;
        margin-bottom: 0mm;
    }
    body
    {
        margin-top: 20mm;
        margin-bottom: 20mm;
    } */
    /* @page {
        size:auto;
        margin:.5rem 0;
  } */
    #tooSmall, .action_btn, label, #Results, .otherMonth h1
    {
        display: none;
    }
    table
    {
        /* border-collapse: collapse; */
        border-collapse: separate;
        border-spacing: 0;
        margin: auto;

        /* border: 2px solid black; */
    }
    td, th
    {
        border: 2px solid black;
    }
    #textMonth
    {
        font-size: larger;
    }
    /* #mainTable
    {
        margin: auto;
    } */
    #mainTable td
    {
        width: 200px;
    }
    /* .otherMonth h1
    {

    } */
    
}
hr
{
    border-color: rgb(155, 155, 155);
    margin: 20px 0;
}
input[type=checkbox]
{
    margin-left: 20px;
}
textarea
{
    width: 100%;
    height: 300px;
}

button
{
/*    background-color: #0d53af;
  margin: auto;
  max-width: none;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  border: 1px solid;
  min-width: 3rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: bold;
  border-radius: .2rem;
  border: 0;
  font-size: 20px;
  padding: 8px 18px;
  text-align: center; */
    background-color: #0d53af;
    color: #fff;
    font-size: 20px;
    padding: 8px 18px;
    margin: auto;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: .2rem;
    border: 0;
}
button:disabled
{
    background-color: gray;
}
button:disabled:hover
{
    background-color: gray;
}
.maintd
{
    user-select: none;
}
.main
{
    margin: 30px;
    border: 2px solid black;
    padding: 10px 30px;
    -webkit-box-shadow: 8px 8px 24px 0px rgba(66, 68, 90, 1);
    -moz-box-shadow: 8px 8px 24px 0px rgba(66, 68, 90, 1);
    box-shadow: 8px 8px 24px 0px rgba(66, 68, 90, 1);
    border-radius: 25px;
}
label {
    font-weight: bold;
    font-size: large;
    user-select: none;
  }
  .input + .input-label {
    /* transform: translate(20px, -40px) scale(1); */
    transform: translate(-4px, -20px) scale(1);
    padding-inline: 5px;
  }
  .input
  {
    width: 100%;
  }
  .input-label {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(10px, 10px);
    transition: transform .25s;
    cursor: text;
  }
  .input-group {
    position: relative;
    margin-top: 30px;
  }
button:hover
{
    background-color: #a6f6ff;
    color: #686868;
}
/* @media only screen and (min-width: 500px) 
{ */
    #resNav
    {
        text-align: center;
    }

    #resNav #ShowNearEvents
    {
        margin-left: 0 !important;
    } 
    .maintd
    {
        /* font-size: 30px; */
        text-align: center;
        border: 2px solid #78cad3;
        padding: 10px;
        width: 10%;
        max-width: 100px;
        /* display: inline-block; */
        height: fit-content;
        /* overflow: scroll; */
        cursor: pointer;

        /* display: ruby-base; */
    }
    .currentMonthDay
    {
        background-color: #65c3cd;
    }
    #mainTable th
    {
        background-color: #051f42;
        font-size: 15px;
        text-align: center;
        color: #d8f0f3;
        /* width: 3cm;
        height: 1,5cm; */
        border: 2px solid #78cad3;
        border-bottom: 0px;

    }
    #mainTable
    {
        border-collapse: collapse;
        border: 6px solid #051f42;
        margin: auto;
        /* table-layout: fixed; */
    }
    h1
    {
        /* width: 120px; */
        text-align: center;
    }
    caption
    {
        text-align: center;
    }

    .otherMonth
    {
        color: gray !important;
        background-color: #a6f6ff;
    }

    .somethingWasFound
    {
        color: yellow;
        background-color: #051f42;
    }

    .today 
    {
        border: 7px solid red !important;
        /* border-radius: 100%; */
    }

    #div_calendar
    {
        /* min-width: 1024px;
        margin: auto; */
        text-align: center;
    }

    .monthController
    {
        display: inline-block;
        /* margin-top: 50px; */
        margin-bottom: 30px

    }

    #textMonth
    {
        font-size: larger;
        margin: 0 60px;
        vertical-align: super;
    }

    #prevMonth, #nextMonth
    {
        font-size: 45px;
        /* border: solid black 3px; */
        border-radius: 10%;
        padding: 10px;
        cursor: pointer;
        background-color: white;
        border: none;
        color: black;
    }

    #prevMonth:hover, #nextMonth:hover
    {
        color: #78cad3;
    }

    #prevMonth:active, #nextMonth:active
    {
        color: #256c74;
    }
    .tableSeminar td
    {
        
    }
    .tableResult
    {
        border: none;
    }

    .tableResult, #userReservation, #userReservationOnly
    {
        text-align: center;
    }

    .tableResult, #newReservation
    {
        border-collapse: collapse;
        border: 1px solid black;
        margin: auto;
        margin-top: 50px;
    }
    .tableResult td, #newReservation td
    {
        border: 2px solid darkslategray;
        border-left: none;
        border-right: none;
        padding: 10px;
    }

    .tableResult th
    {
        background-color: #0d53af;
        font-size: 30px;
        text-align: center;
        color: white;
        /* width: 3cm;
        height: 1,5cm; */
        border: 5px solid black;
    }

    .tableEvents td
    {
        border: 2px solid black !important;
        padding: 15px;
    }
    .tableEvents th
    {
        padding: 15px;
    }
    button.action_btn:hover
    {
        background-color: #1376ff;
    }
    .bigScreen
    {
        text-align: center;
    }
    .action_btn
    {
        margin-top: 10px;
        border-radius: 5px;
        border: none;
        padding: 15px;
        background-color: #0d53af;
        color: white;
        margin-top: 25px;
        font-size: medium;
        cursor: pointer;
    }

    .eventAccept
    {
        background-color: green;
    }

    .eventDecline
    {
        background-color: red;
    }

    #allNewReservations
    {
        margin-top: 0;
        margin-bottom: 5px;
        max-height: 40vh;
    }

    #userReservation, #allNewReservations
    {
        margin-top: 15px;
        overflow-y: scroll;
        border: dotted black 2px;
    }

    #userReservation
    {
        max-height: 35vh;
    }

    #userReservationOnly
    {
        margin-top: 15px;
        overflow-y: scroll;
        max-height: 90vh;
        border: dotted black 2px;

    }
    .div_result
    {
        cursor: pointer;
        padding: 5px;
    }
    .div_result h4
    {
        word-wrap: break-word;
    }

    .form-navigation h2
    {
        margin: 5px;
    }
    .adminBtns button
    {
        margin-right: 10px;
    }

    #mainTable select
    {
        margin-bottom: 10px;
    }

    .Many
    {
        border: 7px solid black;
    }

    .line1to3
    {
        border: 6px solid black;
        border-bottom: 0;
    }
    .line2to3
    {
        border-right: 6px solid black;
        border-left:  6px solid black;
    }
    .line3to3
    {
        border-right: 6px solid black;
        border-left:  6px solid black;
        border-bottom:  6px solid black;
    }
    .line2to2
    {
        border-right: 6px solid black;
        border-left:  6px solid black;
        border-bottom:  6px solid black;
    }

    .onlyLine
    {
        border: 6px solid black;
    }

    .longField
    {
        max-width: 75vh;
        word-wrap: break-word;
        font-size: larger;
    }
    #tooSmall
    {
        display: none;
    }
    .oldDate
    {
        color: gray;
    }
    .colorSample
    {
        width: 20px;
        height: 20px;
        display: inline-block;
        vertical-align: middle;
        margin-left: 20px;
    }
    #ShowNearEvents
    {
        margin-left: 10px;
    }
    .choosenDate
    {
        background-color: green;
    }
    .noField
    {
        display: none;
    }
/* } */

@media only screen and (max-width: 550px) 
{
    .main
    {
        margin: 0;
        border: 0;
        padding: 10px 30px;
        -webkit-box-shadow: 0;
        -moz-box-shadow: 0;
        box-shadow: none;
        border-radius: 0;
    }
    #textMonth 
    {
        margin: 0 !important;
    }
    .maintd 
    {
        padding: 2px !important;
    }
}

/*
@media only screen and (max-width: 450px) 
{
    .bigScreen, #Results, .form-navbar
    {
     display: none;   
    }
    .form-navigation
    {
        display: none;
    }
    #tooSmall
    {
        display: block;
        text-align: center;
    }
    #tooSmall span
    {
        font-size: 180px;
    }
    .tableEvents td
    {
        border: 1px solid black !important;
        padding: 2px;
    }
    .tableEvents th
    {
        padding: 2px;
    }
}*/