/* mylush.net - desktop refresh. Loaded with media="screen" on top of the page's own CSS. */

body {
    background: #eaf5fd !important;
    font-size: 13px;
    color: #2b3a4a;
}

#page {
    width: 940px;
    margin: 0 auto 18px;
    background: #fff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 2px 14px rgba(30, 87, 153, .12);
}

/* top strip + header */

#taarich {
    float: none;
    height: auto;
    padding: 7px 24px;
    font-size: 14px;
    text-align: left;
    color: #56677a;
    background: #f4faff;
    border-bottom: 1px solid #e1edf8;
}

#header {
    height: auto;
    padding: 10px 24px;
    border-bottom: 1px solid #e1edf8;
}

#headH {
    float: none;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.blog-title {
    float: none;
    padding: 0;
    font-size: 34px;
    line-height: 1.3;
}

.blog-title a {
    color: #1e5799;
    text-shadow: none;
}

#headH .description {
    font-size: 14px;
    color: #6b7c8d;
}

#headerM {
    float: none;
    width: auto;
    margin-right: auto;
}

#headerM ul {
    display: flex;
    gap: 4px 22px;
    margin: 0;
}

#header li {
    margin: 0;
    font-size: 15px;
}

/* three months */

.content {
    padding: 14px 24px 16px;
    background: #fff !important;
}

.entry-content {
    color: #2b3a4a;
}

#caldiv {
    width: 840px !important;
}

#p,
#n {
    position: static !important;
    margin: 14px 0 0 !important;
    width: 410px !important;
}

@media (min-width: 1400px) {
    #page {
        width: 1380px;
    }

    .entry-content {
        display: grid;
        grid-template-columns: 360px 590px 360px;
        justify-content: space-between;
        align-items: start;
    }

    .entry-content > div:not(#caldiv) {
        display: contents;
    }

    #caldiv {
        grid-column: 2;
        grid-row: 1;
        width: 590px !important;
        margin: 0;
    }

    #p,
    #n {
        grid-row: 1;
        float: none;
        width: 360px !important;
        margin: 0 !important;
        padding-top: 34px;
    }

    #p {
        grid-column: 1;
    }

    #n {
        grid-column: 3;
    }

    #Pcal {
        float: none;
        margin: 0;
    }
}

/* calendar */

#cd {
    height: 18px;
    margin-bottom: 8px;
    line-height: 18px;
    color: #27d;
}

#cd p {
    margin: 0;
}

#caldiv > .noborder {
    height: 30px;
    margin-bottom: 6px !important;
}

.noborder {
    font-size: 18px;
    color: #1e3a5c;
}

#ptitle,
#ntitle {
    height: 22px;
    padding-bottom: 6px;
    font-size: 16px;
    line-height: 22px;
}

#nav input {
    min-width: 38px;
    padding: 4px 8px;
    border: 1px solid #c5d9ec;
    border-radius: 8px;
    background: #f1f8ff;
    color: #1e5799;
    font-size: 14px;
    font-weight: bold;
}

#nav input:hover {
    background: #27d;
    color: #fff;
}

.calendar {
    border: 1px solid #cfdfee;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(30, 87, 153, .10);
    background: #fff;
    overflow: hidden;
}

.calendar td,
.calendar th {
    border-color: #dde8f2;
}

.calendar .firsttr td,
.calendar .firsttr th {
    height: 22px;
    padding: 6px 0 2px;
    background: #eaf5fd;
    color: #1e5799;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

.calendar tr td:nth-child(7) {
    background: #f5faff;
}

.calendar tr td:last-child,
.calendar tr th:last-child {
    border-left: 0;
}

.calendar tr:last-child td {
    border-bottom: 0;
}

.number {
    color: #1565c0;
    font-weight: bold;
}

.calendar td#curcal {
    background: #e3f1ff;
    border: 1px solid #27d;
    box-shadow: inset 0 0 0 1px #27d;
}

.Scal td {
    padding: 3px 3px 0 1px;
}

.Scal .firsttr td,
.Scal .firsttr th {
    font-size: 13px;
}

.Scal .number {
    font-size: 15px;
}

/* controls under the calendar */

#theform {
    margin: 12px 2px 0;
    font-size: 14px;
}

#theform select,
#theform input,
.form input {
    padding: 3px 7px;
    border: 1px solid #c5d9ec;
    border-radius: 8px;
    background: #fff;
    color: #2b3a4a;
    font-family: inherit;
    font-size: 14px;
}

#theform select {
    width: auto !important;
}

#theform input[type="button"],
.form input {
    background: #f1f8ff;
    color: #1e5799;
    cursor: pointer;
}

#theform input[type="button"]:hover,
.form input:hover {
    background: #27d;
    color: #fff;
}

.form {
    height: auto;
    margin: 12px 10px 0 0;
}

.spon {
    clear: both;
    height: auto;
    margin: 0;
    padding-top: 8px;
}

/* section tabs */

ul.menu {
    float: none;
    clear: both;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 18px 0 4px;
    white-space: normal;
}

ul.menu li {
    float: none;
    margin: 0;
    opacity: 1;
}

ul.menu li a {
    padding: 7px 16px;
    border: 1px solid #d3e6f7;
    border-radius: 999px;
    background: #eef6fd;
    color: #1e5799;
    font-size: 15px;
}

ul.menu li a:hover,
ul.menu li.current_page_item a {
    border-color: #27d;
    background: #27d;
    color: #fff;
}

/* links block + footer */

#info2 {
    float: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 4px 18px;
    margin: 12px 24px 18px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #f4faff !important;
    font-size: 14px;
    line-height: 1.8;
    color: #6b7c8d;
}

#info2 ul {
    float: none;
    margin: 0;
    list-style: none;
}

#footer {
    padding: 4px 0 24px;
    font-size: 13px;
    color: #56677a;
}

#footer a {
    color: #1e5799;
}
