/* Best Mechanical Patents - Static Site CSS */
/* Exact replica of Cube Business WordPress Theme */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&display=swap');

/* Reset and Base */
*, *:before, *:after {
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    line-height: 28px;
    color: #555;
    background-color: #f8f8f8;
    background-image: url('../images/patentback.jpg');
    background-position: left top;
    background-size: auto;
    background-repeat: repeat;
    background-attachment: scroll;
    overflow-x: hidden;
}

a {
    color: #1953FF;
    text-decoration: none;
    background-color: transparent;
}

a:hover,
a:focus,
a:active {
    color: #000;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 16px;
    line-height: 1.4;
    clear: both;
    word-break: break-word;
    color: #000;
    font-weight: 400;
    font-family: 'Jost', sans-serif;
}

h1 { font-size: 38px; }
h2 { font-size: 34px; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }
h5 { font-size: 22px; }
h6 { font-size: 16px; }

p {
    margin: 0 0 1.5em;
}

p:last-child {
    margin: 0;
}

ul, ol {
    margin: 0 0 1.5em 0;
    padding-left: 1.5em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

strong, b {
    font-weight: bolder;
}

img {
    height: auto;
    max-width: 100%;
    display: inline-block;
    vertical-align: middle;
    border-style: none;
}

/* Container */
.container {
    width: 90%;
    max-width: 1230px;
    margin: 0 auto;
}

.container:before,
.container:after {
    content: "";
    display: table;
    table-layout: fixed;
    clear: both;
}

/* Skip Link */
.skip-link {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* Site Header */
#masthead {
    position: relative;
    z-index: 10;
    background-color: #fff;
}

#masthead .container {
    position: relative;
}

#masthead a {
    text-decoration: none;
}

/* Site Branding */
.site-branding {
    padding: 10px 0;
    display: flex;
    vertical-align: middle;
    min-height: 84px;
    align-items: center;
}

.site-branding-logo,
.site-branding-text {
    display: inline-block;
    vertical-align: middle;
}

.site-title {
    font-size: 28px;
    margin: 0 0 2px;
    line-height: 1.2;
    font-weight: 400;
    font-family: 'Jost', sans-serif;
}

.site-title a {
    color: #000;
}

.site-title a:hover,
.site-title a:focus {
    color: #1953FF;
}

.site-description {
    margin: 0;
    font-size: 16px;
    font-family: 'Jost', sans-serif;
    color: #555;
}

/* Navigation */
.main-navigation {
    display: block;
    width: 100%;
}

.menu-toggle {
    display: block;
    margin: 0 auto;
    padding: 16px 15px;
    line-height: 28px;
    color: #000;
    font-size: 14px;
    border: none;
    width: auto;
    position: absolute;
    top: 10px;
    right: 0;
    background: transparent;
    cursor: pointer;
}

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

ul.nav-menu,
div.nav-menu > ul {
    border-top: 1px solid #eee;
    clear: both;
    padding: 0;
    display: none;
}

.main-navigation.toggled .nav-menu,
.main-navigation.toggled .nav-menu > ul {
    display: block;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    font-size: 14px;
    display: block;
    padding: 10px 0;
    color: #000;
    border-bottom: 1px solid #eee;
    font-weight: 400;
    text-transform: uppercase;
    font-family: 'Jost', sans-serif;
    text-decoration: none;
}

.nav-menu li:last-child > a {
    border-bottom: none;
}

.nav-menu li.current_page_item > a,
.nav-menu li:hover > a,
.nav-menu li > a:hover,
.nav-menu li > a:focus {
    color: #1953FF;
}

/* Custom Header */
.custom-header {
    text-align: center;
}

.custom-header-media {
    position: relative;
}

#wp-custom-header {
    text-align: center;
}

#wp-custom-header img {
    width: 100%;
    display: block;
}

/* Site Content */
.site-content {
    padding: 0;
}

#content-wrap {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* Main Content Area */
#primary {
    width: 100%;
}

.single-page-wrapper {
    max-width: 100%;
}

.single-page-wrapper .entry-content {
    padding: 30px;
    background-color: #fff;
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content p:last-child {
    margin-bottom: 0;
}

.entry-content ul {
    margin: 0 0 1.5em;
    padding-left: 1.5em;
}

.entry-content li {
    margin-bottom: 0.5em;
}

/* Footer */
#colophon {
    background-color: #06142F;
    color: #fff;
}

.site-info {
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

.site-info a {
    color: #fff;
    text-decoration: none;
}

.site-info a:hover {
    text-decoration: underline;
}

/* Desktop Styles - 1024px and up */
@media screen and (min-width: 1024px) {
    .site-branding {
        float: left;
        max-width: 25%;
    }

    .main-navigation {
        width: auto;
        max-width: 75%;
        float: right;
        margin: 12px 0;
    }

    .menu-toggle {
        display: none;
    }

    #masthead .nav-menu,
    #masthead .nav-menu > ul {
        border-top: none;
        display: block !important;
        text-align: center;
        padding: 0;
    }

    .nav-menu ul {
        display: block;
    }

    .nav-menu > li,
    .nav-menu li {
        display: inline-block;
    }

    .nav-menu a {
        padding: 8px 16px;
        border-bottom: none;
    }

    .nav-menu > li > a {
        padding: 10px 15px;
        line-height: 40px;
        border-bottom: none;
    }

    .nav-menu li.current_page_item > a {
        color: #1953FF;
    }
}

/* Tablet Styles */
@media screen and (max-width: 1023px) {
    .site-branding {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .site-branding-text {
        text-align: center;
    }

    .main-navigation {
        text-align: center;
    }

    .nav-menu ul {
        text-align: center;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .site-title {
        font-size: 22px;
    }

    .single-page-wrapper .entry-content {
        padding: 20px;
    }

    #content-wrap {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}
