/*
Theme Name: Zespół Szkół Gospodarki Żywnościowej i Agrobiznesu
Theme URI: https://www.debu.pl
Author: DeBu Media
Author URI: https://www.debu.pl
Description: Szablon napisany specjalnie pod zamówienie Zespołu Szkół Gospodarki Żywnościowej i Agrobiznesu w Lęborku. Szablon jest w pełni responsywny. Szablon przygotowany ze zgodnością standardu WCAG 2.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: twentythirteen

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/* =WordPress Core
-------------------------------------------------------------- */

.alignnone {
    margin: 5px 20px 20px 0;
    max-width: 100%;
    height: auto;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}


/* Text meant only for screen readers. */

.screen-reader-text {
    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;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

html,
body {
    font-size: 16px;
    font-family: "Montserrat", monospace;
    margin: 0;
    background: #eaeaea;
}

* {
    box-sizing: border-box;
}

*:before,
*:after {
    box-sizing: inherit;
}

a {
    text-decoration: none;
}

#contrast {
    cursor: pointer;
}

#skip-links {
    float: left;
}

.skip {
    position: absolute;
    top: -1000px;
    left: -1000px;
    height: 1px;
    width: 1px;
    z-index: -9999;
    text-align: left;
    overflow: hidden;
}

a.skip:active,
a.skip:focus,
a.skip:hover {
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    overflow: visible;
    z-index: 99999;
    background: #fff;
    padding: 10px;
    color: red;
}

.fullvw {
    width: 100vw;
}

.plr5 {
    padding: 0 5%;
}

#btnControl {
    display: none;
}

.btn {
    display: none;
}

.hc {
    background: #26303d;
    color: #fff;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.button-toogle-highcontrast,
.button-toogle-highcontrast a:visited,
.button-toogle-highcontrast a {
    font-size: 1.75rem;
    color: #fff;
    padding-left: 10px;
    cursor: pointer;
}

.site-header {
    display: flex;
    align-items: center;
    background-image: url("images/header.jpg");
    background-color: #26303d;
    height: 354px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    flex-wrap: wrap;
}

.mask {
    opacity: .9;
    background-color: #26303d;
    width: 100%;
    height: 100%;
    position: absolute;
}

.logo {
    z-index: 2;
    color: #fff;
    display: flex;
    line-height: 20%;
    width: 100vw;
    align-items: center;
    text-transform: uppercase;
    margin-left: 5%;
    margin-top: 3%;
    max-width: 1500px;
}

.logo img {
    height: 102px;
}

.headertitle {
    position: relative;
    line-height: 80%;
    padding-left: 20px;
}

.searchbox {
    display: inline-flex;
    height: 40px;
}

.accessibility {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.searchbox input[type="submit"],
.searchform input[type="submit"] {
    background: url(images/search.svg) center center no-repeat #363f4d;
    z-index: 3;
    border-style: none;
    background-size: 20px 20px;
    width: 40px;
    height: 40px;
    color: transparent;
}

.menu {
    height: 6rem;
    z-index: 6;
    width: 100vw;
    max-width: 1500px;
    margin: 0 auto;
}

.menu ul {
    list-style-type: none;
    margin: 0 auto;
    padding: 0;
}

.menu>ul {
    padding: 0 2rem;
    display: flex;
}

.menu>ul>.menu-item {
    flex: 1;
    padding: 0.75rem 0;
}


/*.menu > ul > .menu-item:after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  bottom: 5px;
  left: calc(50% - 2px);
  background: #FECEAB;
  will-change: transform;
  transform: scale(0);
  transition: transform 0.2s ease;
}
*/

.menu>ul>.menu-item:hover:after {
    transform: scale(1);
}

.menu:focus {
    transform: scale(1);
    background: #fff;
    color: red;
}

.menu>ul>.menu-item:hover {
    color: #22996f;
}

.menu-item {
    position: relative;
    line-height: 2.5rem;
    text-align: center;
    width: 100%;
}

.menu-item a {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
    display: block;
    color: #fff;
}

.menu-item a:hover {
    color: #22996f;
}

.sub-menu>.menu-item {
    min-width: 22vw;
    text-overflow: ellipsis;
    float: left;
}

.sub-menu>.menu-item a:hover {
    color: #fff;
}

.article p a:link,
.article p a:visited {
    text-decoration: underline;
    color: rgb(70 8 8);
    font-weight: bold;
}

.accessibility label {
    display: none;
}

.sub-menu .menu-item {
    padding: 0.75rem 0;
    background: #26303d;
    box-shadow: 0 6px 6px -6px #26303d;
    opacity: 0;
    transform-origin: bottom;
    animation: enter 0.2s ease forwards;
}

.sub-menu .menu-item:nth-child(1) {
    animation-duration: 0.2s;
    animation-delay: 0s;
}

.sub-menu .menu-item:nth-child(2) {
    animation-duration: 0.3s;
    animation-delay: 0.1s;
}

.sub-menu .menu-item:nth-child(3) {
    animation-duration: 0.4s;
    animation-delay: 0.2s;
}

.sub-menu .menu-item:hover {
    background: #2e3b49;
}

.sub-menu .menu-item a {
    padding: 0 0.75rem;
}

.content_contener {
    margin-top: -53px;
    display: flex;
    z-index: 5;
    position: relative;
    margin-left: 5%;
    margin-right: 5%;
    width: 90vw;
    max-width: 1500px;
    margin: -53px auto;
}

.left-menu,
.right-menu {
    width: 250px;
    background: #f5f5f5;
    padding-bottom: 50px;
}

.left-menu a,
.right-menu a {
    display: block;
    padding: 5px 20px;
    width: 100%;
    color: #000;
    text-decoration: none;
}

.left-menu a:hover {
    color: #22996f;
}

.left-menu a:hover:before {
    color: #22996f;
    /* Or a color you prefer */
}

.right-menu a:hover:before {
    color: #ff714f;
    /* Or a color you prefer */
}

.left-menu a:before,
.right-menu a:before {
    content: "•";
    /* Insert content that looks like bullets */
    padding-right: 3px;
    color: black;
    /* Or a color you prefer */
}

.right-menu a:hover {
    color: #ff714f;
}

.article-contener {
    width: calc(100% - 500px);
    background-color: #ffffff;
    padding-bottom: 50px;
}

.slider {
    padding: 30px;
}

.m5 {
    margin-right: 20px;
}

#breadcrumbs {
    list-style: none;
    margin: 10px 0;
    overflow: hidden;
}

#breadcrumbs a {
    color: #372525;
}

#breadcrumbs li {
    display: inline-block;
    vertical-align: middle;
    margin-right: 15px;
}

#breadcrumbs .separator {
    font-size: 18px;
    font-weight: 100;
    color: #ccc;
}

.left-menu h3 {
    margin: 10px 0px 10px 0px;
    padding: 15px 20px;
    width: 100%;
    text-align: left;
    background-color: #23ad7b;
    text-transform: uppercase;
}

.left-menu h3:nth-child(1) {
    margin: 0px 0px 10px 0px;
}

.right-menu h3 {
    margin: 10px 0px 10px 0px;
    padding: 15px 20px;
    width: 100%;
    text-align: left;
    background-color: #ff714f;
    text-transform: uppercase;
}

.right-menu h3:nth-child(1) {
    margin: 0px 0px 10px 0px;
}

footer {
    display: flex;
    align-items: center;
    color: #fff;
    background: #26303d;
    box-sizing: inherit;
    height: 120px;
    z-index: 7;
    position: relative;
    margin: 0;
    clear: both;
}

.text-left {
    text-align: left;
    margin-left: 5%;
}

.icon-left {
    text-align: left;
    margin-left: 5%;
    margin-right: -4%;
}

.icon-left img {
    height: 30px;
}

.text-right {
    margin-right: 5%;
    right: 0;
    position: absolute;
}

.sub-menu {
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    display: none;
}

.menu-item:focus-within>.sub-menu {
    display: block;
}

.menu-item:hover>.sub-menu {
    display: block;
}

.contents {
    padding: 30px;
    display: block;
}

.contents>h2:before {
    content: "-";
    /* Insert content that looks like bullets */
    padding-right: 50px;
    width: 70px;
    margin-right: 20px;
    margin-left: -30px;
    background-color: #ff714f;
    color: #ff714f;
    /* Or a color you prefer */
}

.contents>h2 {
    text-transform: uppercase;
}

.contens-article {
    margin-top: 60px;
    width: 100%;
    display: block;
}

.date-time {
    display: block;
    float: left;
    width: 60px;
}

.date-time>h2 {
    margin: 0;
    padding: 3px 6px;
    width: 100%;
    text-align: center;
    background-color: #26303d;
    text-transform: uppercase;
    color: #fff;
}

.date-time>h3 {
    margin: 0;
    padding: 3px 6px;
    width: 100%;
    text-align: center;
    background-color: #23ad7b;
    text-transform: uppercase;
    color: #000;
	overflow:hidden;
}

.article {
    display: block;
    float: left;
    padding: 0px 30px 80px 30px;
    position: relative;
}

.home-article {
    width: calc(100% - 80px);
}

.article p img {
    max-width: 100%;
    height: auto;
}

.article>.readmore,
.readmore a {
    margin: 30px 0px;
    padding: 7px 12px;
    width: 250px;
    text-align: center;
    background-color: #ff714f;
    text-transform: uppercase;
    color: #000;
    display: block;
    position: absolute;
    bottom: 0;
}

.article>.readmore:hover {
    background: #26303d;
    color: #fff;
    font-weight: normal;
}

.article>img {
    float: left;
    padding-bottom: 10px;
    padding-right: 10px;
    object-fit: scale-down;
    max-width: 40%;
    height: auto;
}

.article>h1>a {
    color: #000;
}

.pagination {
    display: flex;
    margin: 0 auto;
    width: 100%;
}

ul.page-numbers {
    list-style: none;
    margin: 0 auto;
}

.page-numbers:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

ul.page-numbers li {
    display: block;
    float: left;
    margin: 0 4px 4px 0;
    text-align: center;
}

.page-numbers a,
.page-numbers span {
    display: block;
    padding: 0 6px;
    height: 18px;
    line-height: 18px;
    font-size: 12px;
    text-decoration: none;
    font-weight: 400;
    cursor: pointer;
    border: 1px solid #C4C4C4;
    color: #000;
}

.page-numbers a span {
    padding: 0
}

.page-numbers a:hover,
.page-numbers.current,
.page-numbers.current:hover {
    color: #000;
    background: #DCDCDC;
    text-decoration: none;
}

.wp-block-table table,
.wp-block-table td {
    border: 1px solid black;
    border-collapse: collapse;
}

.page-numbers:hover {
    text-decoration: none
}

.left-menu .menu,
.right-menu .menu {
    width: 100%;
    padding: 0;
    list-style: none;
    height: auto;
}

.left-menu .menu-item,
.right-menu .menu-item {
    line-height: normal;
    text-align: left;
}

.left-menu .menu-item a,
.right-menu .menu-item a {
    white-space: normal;
}


/* WERSJA KONTRASTOWA */

.highcontrast {
    background-color: #000!important;
    color: #ff0!important;
}

.highcontrast a,
.highcontrast a:visited {
    color: #ff0!important;
}


/* Formularze */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
    position: relative;
    display: block;
    width: 100%;
    font-size: 16px;
    line-height: 28px;
    color: #000;
    font-weight: 400;
    padding: 10px 30px;
    background-color: #f7f7fa;
    border: 1px solid #f7f7fa;
    border-radius: 3px;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

input[type="submit"],
input[type="file"] {
    position: relative;
    display: block;
    font-size: 16px;
    line-height: 28px;
    color: #000;
    font-weight: 400;
    padding: 10px 40px;
    background-color: #ff714f;
    border: 1px solid #ff714f;
    border-radius: 3px;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

center img {
    max-width: 100%;
    height: auto;
}

input[type="file"] {
    width: 100%;
}


/* WERSJA MOBILNA */

@media screen and (max-width: 1297px) {
    .content_contener {
        margin: -53px auto;
        width: 99%;
    }
}

@media screen and (max-width: 1024px) {
    .logo {
        display: block;
        margin: 0 auto;
        margin-left: -10px;
    }
    .logo img {
        display: block;
        margin: 0 auto;
        padding-left: 10px;
        margin-top: 20px;
        margin-bottom: 30px;
    }
    .logo h1,
    .logo h2 {
        line-height: 60%;
        text-align: center;
        font-size: 20px;
    }
    .content_contener {
        margin-top: 0px;
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -moz-box-align: start;
        -ms-flex-align: start;
        -webkit-align-items: flex-start;
        align-items: flex-start;
        z-index: 5;
        position: relative;
        margin-left: 5%;
        margin-right: 5%;
        width: 90vw;
    }
    .article-contener {
        width: 100%;
        display: block;
        float: left;
        -webkit-box-ordinal-group: 1;
        -moz-box-ordinal-group: 1;
        -ms-flex-order: 1;
        -webkit-order: 1;
        order: 1;
    }
    .contents>h2 {
        line-height: 1.75;
    }
    .left-menu,
    .right-menu {
        width: 100%;
    }
    .left-menu {
        -webkit-box-ordinal-group: 2;
        -moz-box-ordinal-group: 2;
        -ms-flex-order: 2;
        -webkit-order: 2;
        order: 2;
    }
    .right-menu {
        -webkit-box-ordinal-group: 3;
        -moz-box-ordinal-group: 3;
        -ms-flex-order: 3;
        -webkit-order: 3;
        order: 3;
    }
    .button-toogle-highcontrast,
    .button-toogle-highcontrast a:visited,
    .button-toogle-highcontrast a {
        font-size: 1rem;
        color: #fff;
        padding-left: 10px;
    }
    .accessibility {
        width: 100%;
        text-align: end;
        flex-wrap: wrap;
    }
    .sub-menu .menu-item {
        background: #2e3b49;
    }
    .menu {
        display: block;
        position: relative;
        z-index: 10;
    }
    .btn {
        display: block;
        position: relative;
        z-index: 999;
        margin: 0 auto;
        margin-left: calc(50% - 12.5px);
        margin-top: 50px;
        margin-bottom: 20px;
    }
    .btn>img {
        width: 25px;
    }
    .menu>ul {
        display: none;
        background: #26303d;
        flex-direction: column;
        justify-content: center;
        height: 100vh;
        animation: fade 0.2s ease-out;
        z-index: 500;
    }
    .menu>ul>.menu-item {
        flex: 0;
        opacity: 0;
        animation: enter 0.3s ease-out forwards;
    }
    .menu>ul>.menu-item:nth-child(1) {
        animation-delay: 0s;
    }
    .menu>ul>.menu-item:nth-child(2) {
        animation-delay: 0.1s;
    }
    .menu>ul>.menu-item:nth-child(3) {
        animation-delay: 0.2s;
    }
    .menu>ul>.menu-item:nth-child(4) {
        animation-delay: 0.3s;
    }
    .menu>ul>.menu-item:nth-child(5) {
        animation-delay: 0.4s;
    }
    .menu>ul>.menu-item+.menu-item {
        margin-top: 0.75rem;
    }
    .menu>ul>.menu-item:after {
        left: auto;
        right: 1rem;
        bottom: calc(50% - 2px);
    }
    .menu>ul>.menu-item:hover {
        z-index: 1;
    }
    .menu:hover>ul {
        display: flex;
    }
    .menu:hover:after {
        box-shadow: none;
    }
    .sub-menu {
        width: 100vw;
        left: -2rem;
        top: 50%;
        transform: translateY(-50%);
    }
    .sub-menu .menu-item:hover {
        background: #3d4f62;
    }
    .date-time {
        margin: 0 auto;
        display: flex;
        width: 50%;
        justify-content: center;
        align-items: center;
        float: none;
    }
    .date-time>h3 {
        padding: 6.25px 6px;
    }
    .article {
        word-wrap: break-word;
        padding: 1.75rem 0px 4.75rem 0px;
    }
    .article>.readmore {
        width: 100%;
    }
    .article {
        width: 100%;
    }
    .article>img {
        float: left;
        padding-bottom: 10px;
        padding-right: 0px;
        width: 100%;
    }
    .alignleft {
        width: 100%;
        height: auto;
    }
    footer {
        display: block;
        position: relative;
        float: left;
        height: auto;
        width: 100%;
        margin: 0 auto;
    }
    .text-left,
    .text-right {
        display: block;
        float: left;
        width: 100%;
        margin: 0 auto;
        text-align: center;
        position: relative;
        padding-bottom: 10px;
    }
    .icon-left {
        display: none;
    }
    .text-left>img {
        padding-top: 20px;
    }
    .text-right>a>img {
        padding-bottom: 10px;
    }
    /*Table fix */
    table,
    td {
        display: block;
        float: left;
        width: 100%;
        height: auto;
        min-height: 100%;
    }
    /* Center fix */
    .hc {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
}

@keyframes enter {
    from {
        opacity: 0;
        transform: scaleY(0.98) translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media screen and (max-width: 343px) {
    .logo h2 {
        line-height: 100%;
    }
    .btn {
        margin-top: 0;
    }
    .hc {
        min-height: 72px;
    }
}