/*
    Theme Name: TLCMap
    Author: Systemik Solutions
    Author URI: https://systemiksolutions.com
    Description: Custom theme for TLCMap
    Version: 0.1.0
    Text Domain: tlcmap
*/

/*

Main colour palette is:
#17331C - dark green, (virtually black on some displays)
#F29469 - peachy sand
#FACC99 - light sand
*/

div.slideshowbob {
    display: none;
    width: 100%;
}
div.slideshowbob img {
    width: 100%;
}
.tabshade {
    color: #ffffff;
    background-color: #17331c;
}
.caption {
    color: #ffffff;
    background-color: #17331c;
}

body {
    background-color: #ffffff;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
}
h1 a {
    text-decoration: none;
}
div.header h1 {
    font-family: "Open Sans", Arial Black, Helvetica, sans-serif;
    font-weight: 900;
    font-size: 36pt;
    color: #17331c;
}
h2 {
    font-family: "Open Sans", Arial Black, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 24pt;
}
h3 {
    font-family: "Open Sans", Arial Black, Helvetica, sans-serif;
}

p {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
}

div.simplepage {
    padding: 0 20% 20px 20%;
    background-color: #ffffff;
    margin: 0;
}
div.footnotes {
    font-size: 8pt;
    line-height: 1em;
    margin-top: 0;
    margin-bottom: 0.4em;
}
div.header {
    background-color: #f4f6f4;
    height: 160px;
}


div#mainnav {
    font-family: 'Open Sans', Arial Black, Helvetica, sans-serif;
    font-weight: 900;
    font-size: 18pt;
    height: 160px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 5% 0 5%;
}

div#mainnav a.navselectedpage {
    color: #f29469;
    /*    background-color: #FACC99;	*/
}
div#mainnav button {
    color: #17331c;
}
div#mainnav a {
    color: #17331c;
    text-decoration: none;
}
div#mainnav a:hover {
    color: #f29469;
    /*background-color: #FACC99;*/
}
div#mainnav div.navb {
    z-index: 100;
}

div#mainnav div.navb a {
    font-size: 12pt;
}



.main-site-logo svg {
    width: 128px;
    height: 128px;
}


.main-nav-content {
    flex: 1;
    margin-left: 4em;
    margin-right: 4em;
}

.site-name {
    text-align: center;
    color: #17331C;
    margin-bottom: 0.5em;
    font-size: 1.2em;
}



.main-menu {
    display: flex;
    justify-content: space-between;
}

.main-menu a {
    color: #17331C;
    text-decoration: none;
}

.main-menu a:hover {
    color: #F29469;
}

.main-menu span.active {
    color: #F29469;
}

/* tweak position of nav buttons */
div.navb div.subnav a {
    padding-left: 20px;
}

div.footcredits {
    background-color: #ffffff;
}

div.footer {
    z-index: 1000;
    background-image: url("images/foottile.png");
    background-repeat: repeat-x;

    padding: 0;
    margin: 100px 0 0 0;
    height: 25px;
    width: 100%;

    bottom: 0;
}
div.announce {
    display: flex;
    justify-content: space-between;
    text-align: center;
    width: 100%;
    padding: 20px 0 20px 0;
}
div.infobox-dark {
    display: flex;
    padding: 1em;
    margin: 1em 5px 1em 5px;
    background-color: #17331c;
    color: #f29469;
    width: 310px;
    min-height: 140px;
    text-align: center;
    font-weight: bold;
    font-size: 12pt;
    justify-content: center;
    align-items: center;
}

div.infobox-mid {
    /*margin: 0 1em 0 1em; */
    margin: 1em 5px 1em 5px;
    display: flex;
    padding: 1em;
    background-color: #f29469;
    color: #ffffff;
    width: 310px;
    min-height: 140px;
    text-align: center;
    font-weight: bold;
    font-size: 12pt;
    justify-content: center;
    align-items: center;
}

div.infobox-light {
    margin: 1em 5px 1em 5px;
    display: flex;
    padding: 1em;
    background-color: #facc99;
    color: #17331c;
    width: 310px;
    min-height: 140px;
    text-align: center;
    font-weight: bold;
    font-size: 12pt;
    justify-content: center;
    align-items: center;
}
div.themes {
    display: flex;
    justify-content: space-between;
    text-align: center;
    width: 100%;
    padding: 20px 0 20px 0;
}
div.themes img {
    align-self: center;
}
div.themes div {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100px;
    display: flex;
}
div.themes div p {
    font-family: "Open Sans", Arial Black, Helvetica, sans-serif;
    font-weight: 900;
    font-size: 14pt;
    line-height: 0;
}

button.concertinatop {
    background-color: #facc99;
    border-radius: 12px;
    margin: 10px 0 10px 0;
    outline: none;
}
button.concertinatoptba {
    background-color: #dddddd;
    border-radius: 12px;
    margin: 10px 0 10px 0;
    outline: none;
}

a.systemgo {
    background-color: #17331c;
    color: #ffffff;
    border-radius: 12px;
    margin: 5px;
}

a.systemgo:hover {
    background-color: #facc99;
    color: #ffffff;
}

td {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 14px;
}
tr:first-child {
    font-weight: bold;
}

@media only screen and (max-width: 1420px) {
    div.simplepage {
        padding: 0 10% 20px 10%;
    }
    div#mainnav {
        margin: 0 10% 0 10%;
    }
}

div#mainnav a.current-menu-item {
    color: #f29469;
}

.tabshade {
    color: #ffffff;
    background-color: #f29469;
}

.wp-block-button__link {
    background-color: #17331c;
    color: #ffffff;
    border-radius: 12px;
    margin: 5px;
    padding: 8px 16px;
}

.wp-block-button__link:hover {
    background-color: #facc99;
    color: #ffffff;
}
.icon {
    display: inline-block;
    margin: 0;
    padding: 0;
    width: 22px;
    height: 22px;
    background-size: contain !important;
}

.icon-menu-dark {
    background: url('data:image/svg+xml;utf8,<svg width="20" height="14" viewBox="0 0 20 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 1H20" stroke-width="1.3px" stroke="%23000000"/><path d="M0 6.99902H20" stroke-width="1.3px" stroke="%23000000"/><path d="M0 13H20" stroke-width="1.3px" stroke="%23000000"/></svg>')
        no-repeat center center;
}

.icon-close-dark {
    background: url('data:image/svg+xml;utf8,<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L16 16" stroke-width="1.3px" stroke="%23000000"/><path d="M16 1L1 16" stroke-width="1.3px" stroke="%23000000"/></svg>')
        no-repeat center center;
}

.u-pull-right {
    float: right;
}

.icon-arrow-up-light {
    background: url('data:image/svg+xml;utf8,<svg width="18" height="10" viewBox="0 0 18 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17 9L9 1L0.999999 9" stroke-width="1.3px" stroke="%23FFFFFF"/></svg>')
        no-repeat center center;
}

.icon-arrow-up-dark {
    background: url('data:image/svg+xml;utf8,<svg width="18" height="10" viewBox="0 0 18 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17 9L9 1L0.999999 9" stroke-width="1.3px" stroke="%23000000"/></svg>')
        no-repeat center center;
}

.icon-arrow-down-light {
    background: url('data:image/svg+xml;utf8,<svg width="18" height="10" viewBox="0 0 18 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L9 9L17 1" stroke-width="1.3px" stroke="%23FFFFFF"/></svg>')
        no-repeat center center;
}

.icon-arrow-down-dark {
    background: url('data:image/svg+xml;utf8,<svg width="18" height="10" viewBox="0 0 18 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L9 9L17 1" stroke-width="1.3px" stroke="%23000000"/></svg>')
        no-repeat center center;
}

.main-nav {
    display: none;
    width: 30%;
    height: 100vh;
    background-color: #ffffff;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 599;
    overflow-y: auto;
    padding: 3em 2em 3em 5em;
    box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.main-nav-close {
    cursor: pointer;
    position: absolute;
    top: 1em;
    right: 1em;
}

.main-nav-close .icon {
    width: 15px;
    height: 15px;
}

.main-nav-button {
    cursor: pointer;
    font-size: 20px;
}

.main-nav-button-icon .icon {
    width: 40px;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav ul li {
    padding: 10px 0;
}

.main-nav ul li a {
    text-decoration: none;
    color: #000;
    display: block;
}

.main-nav ul li ul.submenu {
    display: none;
    padding-left: 20px;
}

.submenu-toggle {
    cursor: pointer;
    margin-left: 10px;
}
