@tailwind base;
@tailwind components;
@tailwind utilities;

[x-cloak] { display: none; }

html {
    font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, sans-serif;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

body::after {
    content: '';
    opacity: 0.1;
    top: -90px;
    left: 40%;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
    background: url(../images/Levande-Musikarv-logo.png) no-repeat;
}
@media (min-width: 768px) {
    #nav nav.primary-nav a {
        color: #ffffff;
        transition: all 0.2s ease;
    }
    #nav nav.primary-nav a:hover,
    #nav nav.primary-nav a.nav-selected {
        color: #50b05b;
    }
    #nav nav.secondary-nav a {
        color: #ffffff;
        transition: all 0.2s ease;
    }
    #nav nav.secondary-nav a:hover,
    #nav nav.secondary-nav a.nav-selected {
        color: #50b05b;
    }
}
@media (max-width: 767px) {
    #nav {
        background: #11361c;
    }
    #nav li {
        padding: 0.8rem 0;
    }
    #nav a {
        color: #ffffff;
        display: block;
        text-align: center;
    }
    #nav li:hover {
        background: #1e4a28;
    }
}
#nav a:hover {
    text-decoration: none;
}
#hamburger:hover svg {
    color: #50b05b;
}
a {
    color: #50b05b;
    transition: all 0.2s ease;
}
a:hover {
    text-decoration: underline;
}

#container.bg-white a {
    color: #107948;
}
#container.bg-white a:hover {
    text-decoration: underline;
}

.button {
    padding: 6px 10px;
    background: #3c8253;
    color: #ffffff !important;
    border-radius: 3px;
    cursor: pointer;
}
.button:hover {
    color: #ffffff;
    background: #306f45;
    text-decoration: none !important;
}
.button.slim-button {
    padding: 2px 10px;
}

/* FORMAT */
.format h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.format h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.format h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.format h4 {
    font-size: 1.05rem;
    margin-bottom: 1rem;
}
.format h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
}
.format h6 {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.format p {
    margin-bottom: 1rem;
}
.format .align-right {
    float: right;
    margin: 0 0 2rem 2rem;
}
.format .align-left {
    float: left;
    margin: 0 2rem 2rem 0;
}

.format .info-list {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    max-width: 630px;
}
.format .media-list h5 {
    font-style: italic;
    font-weight: normal;
    margin: 0;
}

.format .media-list ul {
    list-style: none;
    margin: 7px 0;
}

.format .subheading {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.format ul,
.format ol {
    margin: 1em 0;
    padding: 0 0 0 40px;
    list-style: square;
}

.neutral-link a {
    text-decoration: none;
    color: #333 !important;
}

#search-box {
    position: absolute;
    width: 350px;
    right: 0;
    top: 26px;
    margin: 0 0 0 0;
}

.format #list-works > dd {
    margin: 0 0 0 40px;
}

#list-works ul {
    margin: 0.5em;
}

.read-more a,
.read-less a {
    border: 0 none;
    padding: 2px 6px;
    width: auto !important;
    background: #1e8957;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 3px 3px 3px 3px;
    font: 13px 'Lucida Grande';
}
.readmore-full,
.readmore-full-field {
    margin-bottom: 15px;
}
.read-more a:hover,
.read-less a:hover {
    background: #107948;
}
/*.read-less {
    margin-bottom: 15px;
    display: inline-block;
}*/

.list-cat {
    list-style: none;
    font-style: italic;
    font-size: 15px;
}

#list-anonymous th,
#list-anonymous td {
    padding-right: 20px;
}
#list-anonymous th {
    text-align: left;
}

/* --------------------------------------------------------------------------
	FORMS
--------------------------------------------------------------------------- */
.form {
    margin-bottom: 20px;
}
.form input,
.form select {
    margin-right: 10px !important;
}
.form fieldset {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}
.form legend {
    padding: 0 5px;
}
.form label {
    font-weight: bold;
    margin-right: 5px;
}

.field-container {
    padding-bottom: 10px;
}

input,
select,
textarea,
a.button {
    border: 1px solid #ccc;
    border-radius: 3px 3px 3px 3px;
    outline: 0 none;
    padding: 4px;
    text-decoration: none;
}
input,
textarea {
    width: 95%;
}
input.submit,
a.button {
    border: 0 none;
    font-weight: bold;
    padding: 7px 12px 7px;
    width: auto !important;
    background: #1e8957;
    color: #fff;
    cursor: pointer;
}
input.submit:hover,
a.button:hover,
.read-more a:hover,
.read-less a:hover {
    background: #107948;
}
.more-options {
    margin: 0;
}
.togglecontainer {
    padding-top: 10px;
}
input[type='checkbox'],
.checkbox {
    width: auto;
}

.search {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(../images/search-icon.png) no-repeat;
    cursor: pointer;
    position: relative;
    top: 4px;
}
.search-active {
    background-position: 0 -16px !important;
}
#search-box {
    position: absolute;
    width: 350px;
    right: 0;
    top: 18px;
    margin: 0 0 0 0;
    visibility: hidden;
}
#search-box input {
    width: auto;
}
.gsc-control-cse {
    padding: 3px 12px !important;
}
.gsc-input {
    padding-right: 4px !important;
}
input.gsc-search-button-v2 {
    margin-top: 5px !important;
}

.composer-title {
    font-size: 15px;
}

@media screen {
    .print-hide {
        display: none !important;
    }
}

@media print {
    * {
        background: transparent !important;
        color: black !important;
        text-shadow: none !important;
        filter: none !important;
        -ms-filter: none !important;
    }
    a,
    a:visited {
        text-decoration: underline;
    }
    /*a[href]:after { content: " (" attr(href) ")"; }
    abbr[title]:after { content: " (" attr(title) ")"; }
    .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } */
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    @page {
        margin: 0.5cm;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
    #nav,
    #hamburger,
    #footer-admin,
    .button-container,
    #sub-nav,
    .print-icon,
    .read-more,
    .read-less,
    #page-anonymous .entry-sub-title,
    .print-hide,
    #logo {
        display: none !important;
    }
    .details {
        display: inline !important;
    }
    #content {
        margin-top: 20px;
    }
    .letter-content {
        display: block !important;
    }
    p,
    pre,
    address {
        width: auto;
    }
}

@media screen {
    #print-logo {
        display: none;
    }
}



