/*
Theme Name: Twenty Twenty-One Child
Theme URI: https://wordpress.org/themes/twentytwentyone/
Author: The Pixel Farm
Author URI: https://www.thepixelfarm.co.uk
Description: Twenty Twenty-One child
Template: twentytwentyone
Version: 1.1.0
*/

:root {
    --global--color-background: #242424 !important;
    --global--color-primary: white !important;
    --global--font-primary: Arial, sans-serif !important;
    --global--font-secondary: Arial, sans-serif !important;
}

/*
.beamer_defaultBeamerSelector {
    background-image: url("https://pftrack.thepixelfarm.co.uk/wp-content/uploads/2022/10/beamer_cow.gif") !important;
    background-size: contain;
    top: 20px !important;
}
*/

.page-header {
    border-bottom: none !important;
}

.tf-v1-sidetab-button:focus {
    outline: none !important;
}

a {
    text-decoration: none;
}

a:hover {
    cursor: pointer !important;
}

a:active:not(.pfbutton):not(.pfbutton-disabled):not(.sprite-button) {
    color: #5eb0e6 !important;
    background-color: transparent !important;
    text-decoration: none !important;
}

a:visited:not(.pfbutton):not(.pfbutton-disabled):not(.sprite-button),
a:focus:not(.pfbutton):not(.pfbutton-disabled):not(.sprite-button) {
    background-color: transparent !important;
    text-decoration: none !important;
}

#masthead {
    all: initial;
    position: fixed;
    left: 0px;
    right: 0px;
    height: 89px;
    box-shadow: 0 1px 0 #000 !important;
    z-index: 9999;
    background-color: white !important;
}

.primary-menu-container {
    margin-left: 0 !important;
}
 
.primary-menu-container a {
    font-weight: 600 !important;
}

.primary-navigation a {
    color: black !important;
    font-size: 14px !important;
}

.site-main {
    padding-top: 0 !important;
}

.site-branding {
    position: absolute;
    top: 0px;
    left: max(0px, calc(50% - 550px));
}

.site-logo .custom-logo {
    margin-top: 8px;
}

@media only screen and (max-width : 481px) {
    #site-navigation {
	all: initial;
	position: absolute;
	top: 0px;
	left: 0px;
    }
}

@media only screen and (min-width : 482px) {
    #site-navigation {
	all: initial;
	position: absolute;
	top: 0px;
	left: calc(50% - 550px + 230px);
    }
}

.menu-wrapper li.menu-item {
    padding-left: 8px;
    margin-top: 4px !important;
    height: 32px !important;
    min-width: 100px !important;
}

/*
@media only screen and (min-width : 1200px) {
    .primary-navigation .menu-item {
	padding-left: 12px !important;
	padding-right: 12px !important;
	margin: 0;
    }
}

@media only screen and (max-width : 1199px) {
    .primary-navigation .menu-item a {
	padding-left: 8px !important;
	padding-right: 8px !important;
    }
}

@media only screen and (max-width : 1000px) {
    .site-branding {
	display: none;
    }
}
*/

.primary-navigation a:link,
.primary-navigation a:visited {
    background-color: transparent !important;
}

.primary-navigation .current-menu-item > a:first-child {
    text-decoration: none !important;
    color: #5eb0e6 !important;
}

.primary-navigation a:hover {
    text-decoration: none !important;
    color: #797979 !important;
}

.primary-navigation a:active {
    background-color: transparent !important;
}

.site-header {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.site-main {
    padding-bottom: 0px !important;
}

.site-branding {
    left: 0px !important;
    height: 90px;
    margin-top: 0px !important;
}

.site-logo {
    margin: 0px !important;
    height: 90px;
}

/*
.content-area {
    min-height: calc(100vh - 288px - 60px);
}

.widget-area {
    max-width: 100% !important;
    margin: 0px !important;
    padding-left: calc(50% - 500px) !important;
    padding-right: calc(50% - 500px) !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    background-color: #454545 !important;
    height: 288px !important;
}

.widget-area .widget_nav_menu {
    height: 188px !important;
    margin-top: 50px !important;
    margin-bottom: 50px !important;
}

.widget-area a {
    position: absolute;
    transform: translateX(-6px);
    color: #5eb0e6 !important;
    text-decoration: none !important;
}

.widget-title {
    color: black !important;
}

.widget-area h2 {
    margin-bottom: 4px !important;
}

.widget-area nav {
    margin-top: 8px !important;
}

.widget-area ul {
    color: #5eb0e6 !important;
    list-style: disc inside none !important;
}
*/

.site-footer {
    max-width: 100% !important;
    background-color: #2f2f2f !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    line-height: 1em !important;
    height: 48px !important;
}

.site-copyright {
    color: #5eb0e6 !important;
    font-size: 16px;
    text-align: center;
    margin-bottom: 12px !important;
    margin-top: 12px !important;
}

.button:focus {
    outline: none !important;
}

.custom-logo-link:active img,
.custom-logo-link:focus img {
    outline: none !important;
}

.entry-title {
    display: none;
}

.entry-header {
    border: none !important;
}


.entry-content .cli_pg_page_contaner,
.entry-content .cli_pg_page_container {
    max-width: 770px !important;
}

.entry-content > * {
    max-width: 770px !important;
}

.entry-content h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.entry-content p {
    margin-top: 10px;
    margin-bottom: 10px;
}

.entry-content {
    font-size: 16px !important;
}

.widget-area a:focus {
    background: none !important;
}

.sub-menu {
    border-top: 0px;
}

.sub-menu li.menu-item {
    background: white !important;
    margin: 0px !important;
}

.sub-menu-toggle .icon-plus,
.sub-menu-toggle .icon-minus {
    display: none !important;
}

.primary-navigation > div > .menu-wrapper > li > .sub-menu:before,
.primary-navigation > div > .menu-wrapper > li > .sub-menu:after {
    display: none !important;
}

@media only screen and (min-width : 482px) {
    #site-navigation {
	margin-top: 56px;
	background-color: white !important;
	position: fixed;
	left: 0;
	top: 32px;
	width: 150px;
	height: 100%;
    }
}

.widget-area { 
    background-color: black !important;
}

#front-page-pixelfarm-logo {
    height: 90px;
    margin-bottom: 80px;
    background-color: white !important;
    background: url("https://pftrack.thepixelfarm.co.uk/wp-content/uploads/2022/10/TPF_logo_long_black.png");
    background-repeat: no-repeat;
    background-position: left 8px;
    -webkit-background-size: 300px auto;
    -moz-background-size: 300px auto;
    -o-background-size: 300px auto;
    background-size: 300px auto;
}

#front-page-title {
    width: 560px;
    margin-left: auto;
    margin-right: auto;
    background: url("https://pftrack.thepixelfarm.co.uk/wp-content/uploads/2023/04/PFTrack_icon.png");
    background-repeat: no-repeat;
    background-position: right center;
    -webkit-background-size: 110px auto;
    -moz-background-size: 110px auto;
    -o-background-size: 110px auto;
    background-size: 110px auto;
}

#subscription-title {
    width: 540px;
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    background: url("https://pftrack.thepixelfarm.co.uk/wp-content/uploads/2023/04/SUBSCRIPTION_ICON.png");
    background-repeat: no-repeat;
    background-position: right center;
    -webkit-background-size: 110px auto;
    -moz-background-size: 110px auto;
    -o-background-size: 110px auto;
    background-size: 110px auto;
}

#front-page-title p {
    font-size: 70px !important;
    font-weight: 400;
}

#colophon {
    position: fixed;
    bottom: 0px;
    width: 100%;
    margin-top: 0px;
    z-index: 99999;
}

html {
    height: 100%;
}

body {
    min-height: 100%;
}

.entry-header {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}

.entry-content {
    margin-top: 120px !important;
}

.info-text {
    font-size: 14px;
    color: #aaa;
}

.notice-text {
    font-size: 14px;
    color: #5eb0e6;
}

.notice-text {
    max-width: 700px;
    padding: 8px;
    margin: auto;
    margin-bottom: 25px !important;
    background-color: #444;
    border-radius: 4px;
}


.warning-text {
    font-size: 14px;
    color: #f40;
}

.info-text a,
.notice-text a,
.warning-text a {
    color: white;
    font-weight: 600;
}

.pfbutton,
.pfbutton-disabled {
    text-align: center !important;
    display: block;
    width: 195px !important;
    margin: auto !important;
    height: 45px !important;
    line-height: 45px !important;
    color: white !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-radius: 0px !important;
    text-decoration: none !important;
    border: none !important;
    padding: 0 !important;
    outline: none !important;
}

.pfbutton:not(.pfbutton-red) {
    background-image: linear-gradient(-180deg, #53b0e6 0%, #0379bd 100%) !important;
}

.pfbutton-red {
    background-image: linear-gradient(-180deg, #ff0000 0%, #800000 100%) !important;
}

.pfbutton:active {
    text-decoration: none !important;
}

.pfbutton:focus {
    text-decoration: none !important;
}

.pfbutton:hover {
    cursor: pointer !important;
    font-size: 17px !important;
    transition: all 0.2s !important;
}

.pfbutton-disabled,
.pfbutton-disabled:active,
.pfbutton-disabled:focus,
.pfbutton-disabled:visited {
    color: #aaa !important;
    background-color: #707070 !important;
}

.pfbutton-disabled:hover {
    cursor: not-allowed !important;
}

.mail-link {
    color: #5eb0e6;
}

.pfembed-td {
    border: none !important;
}


input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
   -webkit-transition-delay: 9999s;
   transition-delay: 9999s;
}

.cookielawinfo-row td {
    color: white;
}
