body {
    margin: 0px;
    margin-right: 2px;
}

table,
td,
th {
    border: 1px solid rgb(190, 190, 251);   padding: 2px 4px;
}

table {
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    font-size: small;
}

td {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.grid_items {
    display: grid;
    grid-template-columns: 100%;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

#daytable_wrapper {
    /* background-color: #e63ccd; */
    width: 900px;
    margin-left: auto;
    margin-right: auto;
}


#daytable {
      margin-left: auto;
      margin-right: auto;
      display: table;
      /* overflow-x: auto; */
      /* white-space: nowrap; */
      width: 100%;
}

.svg-month, .svg-day {width: 900; }


@media screen and (max-width: 900px) {/* Mobile */
    .svg-month, .svg-day { width: 100%; }

    #daytable_wrapper {
        /* margin-left: 0px;
        margin-right: 0px; */
        width: 100%;
        background-color: rgba(0, 255, 255,.1);
    }
}



@media screen and (max-width: 400px) {/* Mobile */
    #daytable_wrapper {
        width: 400px;
        background-color: rgba(0, 255, 96, 0.5)}
    #daytable {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        width: 100%;
    }
}



#daytable_info { display: none; }

.svg-month {
    /* border: 1px dotted rgb(12, 12, 12); */
    /* width: 100%; */
    display: block;
    margin: auto
        /* min-width: 450px;
    max-width: 750px;   */
}

.svg-day {
    /* border: 1px dotted rgb(12, 12, 12); */
    /* width: 100%; */
    display: block;
    /* min-width: 450px;
    max-width: 750px;   */
    margin: auto
}




#top {

    fill: #000000;
    font-size: 30px;
    font-family: monospace;
    text-anchor: middle;
    dominant-baseline: central;
}


#top rect,
#buttom rect {
    fill: rgb(101, 199, 186);
    stroke-width: 1;
    stroke: black;
    /* fill-opacity: 0.5; */
    rx: 15;
    ry: 15;
}

.this-month {
    fill: rgb(250, 250, 250);
    stroke-width: 1;
    stroke: rgb(196, 196, 196);
}

.not-this-month {
    fill: rgb(240, 240, 240);
    stroke-width: 1;
    stroke: rgb(196, 196, 196);

}



#main rect:hover {
    fill: rgba(191, 255, 0, 0.2);
}


.highlight td {

    background-color: rgba(191, 255, 0, 0.2);
}

rect {
    fill: rgb(158, 152, 241);
    stroke-width: 1;
    stroke: black;

}

#buttom .nav,
#buttom .mnav {
    fill: rgb(241, 225, 152);
    fill-opacity: 0.5;
}


#buttom .nav:hover,
#buttom .mnav:hover {
    fill: #e63ccd;
}

.navtxt {
    font-size: 40px;
    text-anchor: middle;
    dominant-baseline: central;
}

text.dato {
    font-size: 30px;
    text-anchor: start;
    dominant-baseline: hanging;
}

.dayText {

    text-anchor: middle;
    dominant-baseline: middle;
    font-size: xx-large
}


text.ugeno {
    font-size: 20px;
    /* text-anchor: end; */
    text-anchor: start;
    dominant-baseline: Hanging;
}

text.headertext {
    font-size: 1.5em;
}

.currentMonth {
    font-size: 30px;
    text-anchor: middle;
    dominant-baseline: Auto;
}

.weekdays {
    font-size: 30px;
    /* text-anchor: middle;
    dominant-baseline: Auto; */
}

.boat,
.other,
.guest {
    stroke-width: 0px;
}

.month .boat {
    fill: rgba(0, 96, 255, 0.5);
}

.month .other {
    fill: rgba(0, 255, 96, 0.5);
}

.month .guest {
    fill: rgba(255, 0, 96, 0.5);
}

.day .boat {
    fill: rgba(0, 96, 255, 0.2);
    background-color: rgba(0, 96, 255, 0.2);
}

.day .other {
    fill: rgba(0, 255, 96, 0.2);
    background-color: rgba(0, 255, 96, 0.2)
}

.day .guest {
    fill: rgba(255, 0, 96, 0.2);
    background-color: rgba(255, 0, 96, 0.2)
}

.day .tripActive {
    fill: rgba(0, 96, 255, 0.5);
    background-color: rgba(0, 96, 255, 0.5)
}

.ergo {
    fill: rgb(87, 205, 231);
    stroke: rgb(0, 0, 0);
    stroke-width: 0px;
}




.t1 {
    fill: none;
    stroke: black;
    stroke-width: 1px;
}

.t2 {
    fill: none;
    stroke: rgb(212, 212, 212);
    stroke-width: 1px;
}

.hide {
    display: none;
}

/* 
----------------------------------
tooltips
---------------------------------- 
*/

#tRct {
    /* width: 100px; */
    background-color: #fff;
    padding: 2px 4px;
    border: 1px solid #f00
}




/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}


#tTip {
    font-weight: bold;
}

#tBox {
    font-size: smaller;
    /* padding: 20px 1px; */

}




/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 10px;
    border: 1px solid #888;
    width: 90%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}




.text-wrap {
    white-space: normal;
}

.width-col2 {
    /* width:150px; */
    max-width: 150px;
}