:root {
    font-size: 19px;
    --light-txt: #F5F5F5;
    /*ecebe4*/
    --dark-txt: #001514;
    /*#1d1d1b*/
    --input-active: rgba(9, 37, 228, 0.1);
    --logo-yellow: #94be31;
    /*e7c730*/
    --logo-orange: #e75b21;
    --logo-red: #df0f21;
    --logo-green: #0a6535;
    /*#94be31*/
    --logo-blue: #1a9fdf;
    --logo-purple: #2e3180;
    /*#652980*/
    --logo-light-purple: #652980;
    --light-grad: rgba(0, 0, 0, 0) linear-gradient(to top, rgb(242, 156, 97), rgb(231, 199, 48)) repeat scroll 0% 0%;
    --link-clr: rgba(223, 15, 33, 0.5);
    /*rgba(0,239,129,0.5);*/
    --link-hover-clr: #df0f21;
    /*#00EF81*/
    --light-bg: #F5F5F5;
    --footer-bg-clr: #001514;
    --h-font: 'Montserrat', sans-serif;
    --sub-font: 'Trirong', serif;
    --body-font: 'Hind Madurai', sans-serif;
    --path-fill-1: url(#gradient1);
    --path-fill-2: url(#gradient2);
    --path-fill-3: url(#gradient3);
    --path-fill-4: url(#gradient1);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--h-font);
    font-weight: 700;
    z-index: 5;
}

h1 {
    font-size: 3.052rem;
    text-transform: uppercase;
}

h2 {
    font-size: 2.441rem;
}

h3 {
    font-size: 1.953rem;
}

h4 {
    font-size: 1.563rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1.12rem;
}

.sub {
    font-size: 1.753rem;
    margin: 0 auto;
}


/* RESPONSIVNÍ TYPOGRAFIE */

:root {
    font-size: 18px;
}

@media (min-width: 400px) and (max-width: 1000px) {
     :root {
        font-size: calc(16px + 3 * (100vw - 400px) / 600);
    }
}

@media (min-width: 1000px) {
     :root {
        font-size: 18px;
    }
}

h1 {
    font-size: calc(59.9833px + 1.5vw);
}

@media (min-width: 400px) and (max-width: 1000px) {
    h1 {
        font-size: calc(59.9833px + 27 * (100vw - 400px) / 600);
    }
}

@media (min-width: 1000px) {
    h1 {
        font-size: 86.9833px;
    }
}

h2 {
    font-size: calc(45px + 1.5vw);
}

@media (min-width: 400px) and (max-width: 1000px) {
    h2 {
        font-size: calc(45px + 20.25 * (100vw - 400px) / 600);
    }
}

@media (min-width: 1000px) {
    h2 {
        font-size: 65.25px;
    }
}

h3 {
    font-size: calc(33.7667px + 1.5vw);
}

@media (min-width: 400px) and (max-width: 1000px) {
    h3 {
        font-size: calc(33.7667px + 15.2 * (100vw - 400px) / 600);
    }
}

@media (min-width: 1000px) {
    h3 {
        font-size: 48.9667px;
    }
}

h4 {
    font-size: calc(25.3333px + 1.5vw);
}

@media (min-width: 400px) and (max-width: 1000px) {
    h4 {
        font-size: calc(25.3333px + 11.4 * (100vw - 400px) / 600);
    }
}

@media (min-width: 1000px) {
    h4 {
        font-size: 36.7333px;
    }
}

h5 {
    font-size: calc(19px + 1.5vw);
}

@media (min-width: 400px) and (max-width: 1000px) {
    h5 {
        font-size: calc(19px + 8.55 * (100vw - 400px) / 600);
    }
    section.block h5 {
        text-align: center;
    }
}

@media (min-width: 1000px) {
    h5 {
        font-size: calc(27.55px + 1.5vw);
    }
}

h6 {
    font-size: calc(14.25px + 1.5vw);
}

@media (min-width: 400px) and (max-width: 1000px) {
    h6 {
        font-size: calc(14.25px + 6.4167 * (100vw - 400px) / 600);
    }
}

@media (min-width: 1000px) {
    h6 {
        font-size: 20.6667px;
    }
}

p {
    font-size: calc(19px + 1.5vw);
}

@media (min-width: 400px) and (max-width: 1000px) {
    p {
        font-size: calc(16px + 3 * (100vw - 400px) / 600);
    }
}

@media (min-width: 1000px) {
    p {
        font-size: 19px;
    }
}

.sub {
    font-size: calc(20px + 1.5vw);
}

@media (min-width: 400px) and (max-width: 1000px) {
    .sub {
        font-size: calc(20px + 2 * (100vw - 400px) / 600);
    }
}

@media (min-width: 1000px) {
    .sub {
        font-size: 22px;
    }
}

@media (max-width: 380px) {
    h1 {
        font-size: 3.052em;
    }
    h2 {
        font-size: 2.441em;
    }
    h3 {
        font-size: 1.953em;
    }
    h4 {
        font-size: 1.563em;
    }
    h5 {
        font-size: 1.25em;
    }
    .sub {
        font-size: 1.1579em;
    }
    p {
        font-size: 1em;
    }
}


/* CSS Document */

* {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

body {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
    font-size: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
    line-height: 1.5;
    font-family: var(--body-font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--light-bg);
}

#desktop_header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100vw;
    padding: 0 5vw;
    background: rgba(236, 235, 228, 0.4);
    color: var(--dark-txt);
    /*box-shadow: 0 -4px 18px rgba(0,0,0,0.4);*/
    /*background-image: url(../data/TUVAT_2018_hlava5.png);*/
    /*box-shadow: rgba(0, 0, 0, 0.0980392) 0 20px 40px 0;*/
    z-index: 10;
}


/* Fix pro detail projektu */

@media (min-width: 1050px) {
    space {
        width: 100%;
        height: 4.7vw;
        background: #F5F5F5;
        position: fixed;
        left: 0;
        z-index: 1;
    }
}

.menu ul {
    color: var(--dark-txt);
}

#desktop_header a:before {
    content: none;
}

header .vizual {
    width: 10%;
}

.menu {
    width: 90%;
}

.menu ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    align-content: flex-start;
}

.logo_paint {
    max-height: 70px;
    position: relative;
    top: 15%;
}

.section_container {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    z-index: 5;
    text-align: center;
}

ul.sub {
    -webkit-columns: 2;
    columns: 2;
    -webkit-column-gap: 5em;
    column-gap: 5em;
}

@media (max-width: 870px) {
    .section_container {
        flex-wrap: wrap;
        width: 70%;
    }
    .o_akci section figure,
    .o_akci section .text {
        flex-basis: unset !important;
        max-width: unset !important;
    }
}

.direction_row {
    flex-direction: row !important;
    text-align: left;
}

a {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    align-self: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid;
}

a {
    background-image: linear-gradient(var(--link-clr) 0%, var(--link-clr) 100%);
    background-repeat: repeat-y;
    background-size: 0 0;
    background-position: 0 65%;
    transition: 600ms ease;
}

a:hover {
    background-image: linear-gradient(var(--link-hover-clr) 0%, var(--link-hover-clr) 100%);
    background-size: 100% 1em;
    border-bottom-color: transparent;
}

.btn {
    -webkit-animation: shadow-pop-br-out .5s cubic-bezier(.47, 0.000, .745, .715) both;
}

.btn:hover {
    -webkit-animation: shadow-pop-br-in .5s cubic-bezier(.47, 0.000, .745, .715) both;
    border-color: var(--dark-txt);
}

.btn:active {
    background: var(--logo-orange);
}

@-webkit-keyframes shadow-pop-br-in {
    from {
        box-shadow: 8px 8px var(--logo-red);
        -webkit-transform: translateX(-8px) translateY(-8px);
        transform: translateX(-8px) translateY(-8px);
    }
    to {
        box-shadow: 0 0 var(--logo-red), 0 0 var(--logo-red), 0 0 var(--logo-red), 0 0 var(--logo-red), 0 0 var(--logo-red), 0 0 var(--logo-red), 0 0 var(--logo-red), 0 0 var(--logo-red);
        -webkit-transform: translateX(0) translateY(0);
        transform: translateX(0) translateY(0);
    }
}

@keyframes shadow-pop-br-in {
    from {
        box-shadow: 8px 8px var(--logo-red);
        -webkit-transform: translateX(-8px) translateY(-8px);
        transform: translateX(-8px) translateY(-8px);
    }
    to {
        box-shadow: 0 0 var(--logo-red), 0 0 var(--logo-red), 0 0 var(--logo-red), 0 0 var(--logo-red), 0 0 var(--logo-red), 0 0 var(--logo-red), 0 0 var(--logo-red), 0 0 var(--logo-red);
        -webkit-transform: translateX(0) translateY(0);
        transform: translateX(0) translateY(0);
    }
}

@-webkit-keyframes shadow-pop-br-out {
    0% {
        box-shadow: 0 0 var(--logo-red), 0 0 var(--logo-red), 0 0 var(--logo-red), 0 0 var(--logo-red), 0 0 var(--logo-red), 0 0 var(--logo-red), 0 0 var(--logo-red), 0 0 var(--logo-red);
        -webkit-transform: translateX(0) translateY(0);
        transform: translateX(0) translateY(0);
    }
    100% {
        box-shadow: 1px 1px var(--logo-red), 2px 2px var(--logo-red), 3px 3px var(--logo-red), 4px 4px var(--logo-red), 5px 5px var(--logo-red), 6px 6px var(--logo-red), 7px 7px var(--logo-red), 8px 8px var(--logo-red);
        -webkit-transform: translateX(-8px) translateY(-8px);
        transform: translateX(-8px) translateY(-8px);
    }
}

@keyframes shadow-pop-br-out {
    0% {
        box-shadow: 0 0 var(--logo-red), 0 0 var(--logo-red), 0 0 var(--logo-red), 0 0 var(--logo-red), 0 0 var(--logo-red), 0 0 var(--logo-red), 0 0 var(--logo-red), 0 0 var(--logo-red);
        -webkit-transform: translateX(0) translateY(0);
        transform: translateX(0) translateY(0);
    }
    100% {
        box-shadow: 1px 1px var(--logo-red), 2px 2px var(--logo-red), 3px 3px var(--logo-red), 4px 4px var(--logo-red), 5px 5px var(--logo-red), 6px 6px var(--logo-red), 7px 7px var(--logo-red), 8px 8px var(--logo-red);
        -webkit-transform: translateX(-8px) translateY(-8px);
        transform: translateX(-8px) translateY(-8px);
    }
}

a.img_container,
a.img_container:hover,
a.img_container:focus {
    border: none;
    background: unset;
    -webkit-transform: none;
    transform: none;
}

.logo-list a {
    display: inline-block !important;
    /*flex: 0 0 22%;*/
    align-self: center;
    height: 100%;
    margin-right: .5em;
}

@media (max-width: 1100px) {
    .section_container {
        padding: 3% 4%;
    }
}


/*a.btn:before {
	content: none;
}

a:before {
	content: '';
	width: 60%;
	height: 12px;
	background: var(--a-bg-clr); !*linear-gradient(45deg, #f19872, #e86c9a)*!
	color: var(--link-clr);
	position: absolute;
	left: 0;
	bottom: 0;
	transform-origin: 0 0;
	transition: transform 0.8s cubic-bezier(0.2,1,0.3,1);
	transform: scale3d(1,1,1);
	z-index: 0;
	opacity: .5;
}

a:hover:before {
	transition: transform 0.8s cubic-bezier(0.2,1,0.3,1);
	transform: scale3d(1.2,1,1);
	opacity: .8;
}*/

img {
    width: auto;
    max-width: 100%;
    vertical-align: middle;
    border-radius: 8pt;
}

.btn {
    padding: .9em 2em;
    border-radius: 48px;
    border: 0;
    text-decoration: none;
    /*box-shadow: 0 5px 6px -2px var(--link-hover-clr);*/
    box-shadow: 1px 1px var(--logo-red), 2px 2px var(--logo-red), 3px 3px var(--logo-red), 4px 4px var(--logo-red), 5px 5px var(--logo-red), 6px 6px var(--logo-red), 7px 7px var(--logo-red), 8px 8px var(--logo-red);
    word-break: normal;
}

.select-btn {
    font-weight: bold;
    color: var(--light-txt);
    background: var(--logo-red);
    border: 2px solid var(--dark-txt);
}

.select-btn:hover,
.select-btn:focus {
    background: var(--logo-red);
    text-shadow: 1px 1px 40px #F5F5F5;
}

.basic-btn {
    outline: none;
    font-weight: 700;
    background: var(--light-bg);
    border: 2px solid var(--dark-txt);
}


/* MAIN SEKCE VSTUPNÍ STRÁNKY */

.vizual {
    max-width: 240px;
    height: auto;
}

nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    font-family: var(--h-font);
}


/*
OBSAHOVÉ STRÁNKY
*/

.main_content_container {
    /* nezapomenout nastavit flex vlastnosti i na dětech */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    background-color: var(--logo-purple);
    color: var(--light-txt);
    width: 100vw;
}

.body_predstavujeme section {
    background: var(--logo-light-purple);
}

.main_content_container main {
    display: flex;
    flex-direction: column;
    width: 100vw;
    align-items: center;
}

.zastity-tuvat {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 0;
    top: 15vh;
}

@media (max-width: 580px) {
    article.box {
        flex-basis: unset !important;
    }
    .o_akci h1 {
        width: unset !important;
        font-size: 400% !important;
    }
}

@media (max-width: 900px) {
    article.box {
        flex-basis: 47%;
    }
}


/* O AKCI */

.body_o_akci .o_akci section {
    width: unset;
}

.block figure {
    margin: 1% 5%;
}

section.block {
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*align-items: center;*/
    align-content: center;
    background: var(--light-bg);
    /*	width: 100vw;*/
    width: 100%;
    color: var(--dark-txt);
}

.text h4 {
    margin-top: 0;
}

.o_akci h1 {
    font-size: 7vw;
    /*550%*/
    text-transform: none;
    color: var(--logo-purple);
    background: rgba(236, 235, 228, 0.4);
    margin: auto 0;
    padding: 3% 2% 0 2%;
    width: 40%;
    height: 75%;
    vertical-align: middle;
}

@media (max-width: 650px) {
    .o_akci h1 {
        background: rgba(236, 235, 228, 0.4);
    }
    ul.sub {
        -webkit-columns: unset;
        columns: unset;
        margin: unset;
    }
    .hash_left,
    .hash_right {
        display: none;
    }
    #logo_text {
        width: 50% !important;
    }
    .section_container h2 {
        text-align: center;
    }
    .o_akci img {
        width: 100%;
    }
    img.img_portait {
        max-width: 90%;
    }
}

.o_akci video {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: 0;
    display: inline-block;
    vertical-align: baseline;
}

@media (max-width: 945px) and (min-width: 700px) {
    .o_akci video {
        width: auto;
        height: 100%;
    }
}

@media (max-width: 520px) {
    .o_akci video {
        width: auto;
        height: 100%;
    }
}

.o_akci section:first-child {
    text-align: center;
    /*background: center/cover var(--logo-orange) url("https://images.unsplash.com/photo-1518834107812-67b0b7c58434?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjExNDY1fQ&s=eb7f228ce4daaef7a19291644a37444f");
            mix-blend-mode: multiply;
            background-blend-mode: multiply;*/
    -webkit-filter: hue-rotate(360deg);
    filter: hue-rotate(360deg);
    max-height: 680px;
    min-height: 85vh;
    justify-content: center;
    align-content: center;
    align-items: center;
}

section.hero-section {
    align-items: center;
    padding: 5% 0;
}

.o_akci section:first-child p {
    width: 60%;
    max-width: 40em;
}

section.two-column-list-section {
    color: var(--light-txt);
    background: var(--logo-purple);
    position: relative;
    padding: 0;
    align-items: center;
}

section.left-img-right-text-section,
section.left-text-right-img-section {
    flex-direction: row;
    text-align: left;
}

section.darkbg-lighttxt,
div.darkbg-lighttxt {
    background: var(--logo-purple);
    color: var(--light-bg);
}

section.darktxt-lightbg,
div.darktxt-lightbg {
    background: var(--light-bg);
    color: var(--logo-purple);
}

.o_akci section figure,
.o_akci section .text {
    max-width: 80%;
}

.o_akci_img {
    width: 50%;
    min-height: 100%;
    max-width: 720px;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
}

.left-img-right-text-section img {
    object-position: left;
}

#logo_text {
    width: 30%;
}

.hash_left {
    /*text-orientation: sideways;
            writing-mode: sideways-lr;
            float: left;*/
    position: absolute;
    left: 0;
    width: 35%;
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
    display: none;
}

.hash_right {
    /*text-orientation: sideways;
            writing-mode: sideways-rl;
            float: right;*/
    position: absolute;
    right: 0;
    width: 35%;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    display: none;
}

.img_portait {
    max-width: 35%;
    object-fit: contain;
}

.fa-ul li {
    padding: 1em 0;
}

.fa-ul li:not(:last-of-type) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.wrapped_ul {
    display: flex;
    flex-direction: row;
    flex-flow: wrap;
    justify-content: space-between;
    margin-left: 1.6em;
}

.wrapped_ul li {
    flex-basis: 50%;
    max-width: 50%;
    border: 0 !important;
}

.wrapped_ul {
    font-size: 16px;
}

@media (max-width: 380px) {
    .wrapped_ul li {
        flex-basis: 100%;
        max-width: 100%;
    }
}

@media (min-width: 400px) and (max-width: 1000px) {
    .wrapped_ul {
        font-size: calc(16px + 3 * (100vw - 400px) / 600);
    }
    .wrapped_ul li {
        flex-basis: 40%;
    }
}

@media (min-width: 1000px) {
    .wrapped_ul {
        font-size: 19px;
    }
}

@media (max-width: 700px) {
    .o_akci section {
        padding: 3vh 3vw;
        flex-wrap: wrap;
        min-height: 50vh !important;
    }
    .o_akci h1 {
        height: -webkit-max-content;
        height: -moz-max-content;
        height: max-content;
        display: inline-block;
        vertical-align: middle;
        text-align: center;
    }
    .o_akci section figure,
    .o_akci section .text {
        max-width: none;
        flex-basis: unset;
    }
    .o_projektu {
        width: 90% !important;
    }
}


/*O Projektu*/

.o_projektu {
    margin: 5vh 5vw;
    width: 63%;
}

.o_projektu_img {
    width: 52%;
    margin: 1% 2%;
}

@media (max-width: 650px) {
    .o_projektu_img {
        width: 95%;
    }
}


/* BOČNÍ PANEL */

.zastity-tuvat {
    text-align: center;
    font-size: 16px;
    top: 15%;
    right: 2%;
    z-index: 100;
}

.zastity-tuvat a {
    width: 5.5em;
    height: 5.5em;
}

.zastity-tuvat figcaption {
    font-size: inherit;
}

a span {
    display: block;
}

@media (max-width: 700px) {
    .zastity-tuvat {
        display: none;
    }
}

.bocni_box {
    margin: 0;
    width: 7em;
    height: 5em;
    max-width: 340px;
}

.bocni_box img {
    background: rgba(247, 247, 242, .4);
    width: 5em;
    height: 5em;
    margin: 8% 0;
    border-radius: 88px;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: top right;
    object-position: top right;
}

.bocni_box figcaption {
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    bottom: 150%;
    width: 10em;
    right: 180%;
    text-align: left;
    background: var(--light-bg);
    border-radius: 8pt;
    padding: 10%;
}

.bocni_box figcaption h4 {
    margin: 0;
}

.bocni_box:hover figcaption,
.bocni_box:focus figcaption {
    visibility: visible;
}


/* PŘEDSTAVUJEME */

.article_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 3vh 5vw;
}

.obrazek-predstavujeme {
    margin-right: 5%;
}

.tit-predstaveni {
    font-size: 13pt;
    margin: 0 0 10px 0;
    cursor: pointer;
    text-decoration: none;
}

#vzor {
    border: 5px solid var(--logo-red);
}

#vzor::after {
    content: "vzor";
    background: red;
    padding: 2% 5%;
    border-radius: 38pt;
    color: white;
    position: absolute;
    left: 40%;
    bottom: -23px;
}

.box {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: space-around;
    position: relative;
    /*padding: 4% 4%;*/
    margin: 3vh 0;
    min-width: 260px;
    max-height: 350px;
    border-radius: 8pt;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.24);
    /*0 .375rem 1.125rem .375rem rgba(0,0,0,.2)*/
    /*apple 0 1px 8px rgba(0, 0, 0, 0.2)*/
    background: var(--light-bg);
    /*var(--light-bg)*/
    color: var(--dark-txt);
    flex-basis: 30%;
}

.rocnik_predel {
    display: flex;
    flex-basis: 100%;
    text-align: center;
    justify-content: center;
    padding-top: 3em;
}

.rocnik_predel h2 {
    margin: 0;
}

@media (max-width: 650px) {
    article.box {
        flex-direction: column;
        max-height: unset;
        flex-basis: unset;
        width: 90vw;
        margin: 3vh 0;
    }
}

.videoel {
    width: 100%;
    height: 8.89em;
    background: black;
}

.box img {
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: top left;
    object-position: top left;
    margin: 0;
    border-radius: 8pt 8pt 0 0;
    width: 100%;
    height: 8.89em;
}

.box_text {
    /*flex-basis: 73%;*/
    margin: 3%;
    font-size: 1em;
}

.box_text h6 {
    margin: 1% 0;
}

.box_text h3 {
    margin-top: 0;
    font-size: 1.18em;
}

.skryvany {
    display: none;
    text-decoration: none;
    font-weight: normal;
}

.tit-info {
    text-transform: none;
    text-decoration: underline;
    font-weight: normal;
    cursor: pointer;
}


/*alternativní shadows pro .box, přepsat card na box a změna se aplikuje*/

.card-1 {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.card-1:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.card-2 {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}


/*//*/


/* POSELSTVÍ */

.posel_container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
    width: 100%;
    background: var(--light-bg);
    color: var(--dark-txt);
    padding: 3% 5%;
}

.posel_container:nth-child(odd) {
    flex-direction: row-reverse;
}

.posel_container:last-child {
    margin-bottom: 0;
}

.posel {
    width: 30%;
    height: 100%;
}

.posel_figure {
    box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.05);
    background: white;
    margin: 0;
    border-radius: 8pt;
}

.posel_figcaption {
    padding: 3% 5%;
}

section.zastity {
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -moz-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    flex-wrap: wrap;
    -ms-align-items: stretch;
    align-items: stretch;
    justify-content: space-evenly;
    background: var(--logo-purple);
    color: var(--light-txt);
}

.block.zastity h3 {
    width: 100%;
    text-align: center;
}

.zastity h4 {
    margin: 0;
}

.zastity section {
    flex-basis: 28.33%;
    /* min-width: 265px; */
    padding: 2%;
    text-align: center;
}

@media (max-width: 530px) {
    section.zastity {
        flex-direction: column;
        flex-wrap: nowrap;
    }
}

.posel img {
    width: 100%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 0;
    max-height: 280px;
}

.posel_figcaption h4,
.posel_figcaption p,
.posel_text h3,
.posel_text p {
    margin: 1% 2%;
}

.posel_text {
    width: 60%;
    height: auto;
    padding: 3%;
    background: white;
    box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.05);
    border-radius: 8pt;
}

@media (max-width: 600px) {
    .posel {
        width: 100%;
        height: auto;
    }
    .posel_figure {
        display: flex;
        margin-bottom: 5%;
    }
    .posel img {
        width: 100%;
        max-height: 15em;
        max-width: 50%;
        padding-right: 2%;
    }
    .posel_text {
        width: 100%;
        margin-bottom: 5%;
    }
}


/* KONTAKTY */

.kontaktni_osoby {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 90vw;
    margin: 10vh 0;
}

.kontaktni_osoby section {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    background: var(--light-bg);
    color: var(--dark-txt);
    border-radius: 8pt;
    margin-bottom: 5%;
    padding: 1vh 2vw;
}

.kontaktni_osoby section:nth-child(2),
.kontaktni_osoby section:nth-child(3) {
    width: 43%;
}

.kontaktni_osoby a {
    align-self: flex-start;
}

.kontakt_text {
    margin-left: 2vw;
    width: 60%;
}

.kontakt_text p {
    display: inline-flex;
    flex-direction: column;
}

@media (max-width: 690px) {
    .kontaktni_osoby section {
        flex-direction: column;
        padding: 5vh 0;
    }
    .kontakt_text {
        width: 80%;
    }
    .kontaktni_osoby section:nth-child(2),
    .kontaktni_osoby section:nth-child(3) {
        width: 100%;
    }
}


/* HISTORIE */

.rocnik {
    width: 100vw;
    text-align: center;
}


/* MEDIA */

.media_text {
    flex-direction: column;
    margin: 15vh 0;
    padding: 0 10%;
}


/* MAPA */

#allHolder {
    /*?*/
    display: flex;
    flex-direction: column;
    width: 90vw;
}

.filtered_map {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 3% 0;
}

.filtered_map label {
    display: block;
    margin-bottom: 5%;
}

table {
    color: var(--dark-txt);
    border-spacing: 0;
    border-collapse: separate;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    border: solid #ccc 1px;
    border-radius: 6px;
    box-shadow: 0 1px 1px #ccc;
    width: 100%;
}

tr {
    background: #f6f6f6;
}

tr:nth-of-type(odd) {
    background: #e9e9e9;
}

thead {
    font-weight: 900;
    color: #ffffff;
    background: var(--logo-orange);
}

thead tr {
    background: var(--logo-purple) !important;
}

th,
td {
    padding: 6px 12px;
}

@media screen and (max-width: 890px) {
    table {
        display: block;
    }
    thead tr {
        background: var(--logo-blue) !important;
    }
    th,
    td {
        padding: 2px 16px;
        display: block;
    }
    tr {
        padding: 14px 0 7px;
        display: block;
    }
    thead {
        padding: 0;
        height: 6px;
    }
    thead th,
    thead td {
        display: none;
    }
    tr th,
    tr td {
        margin-bottom: 10px;
    }
    tr th:before,
    tr td:before {
        margin-bottom: 3px;
        content: attr(data-title);
        min-width: 98px;
        font-size: 10px;
        line-height: 10px;
        font-weight: bold;
        text-transform: uppercase;
        color: #969696;
        display: block;
    }
}

#formFiltr input,
#formFiltr textarea,
#formFiltr select,
#formFiltr button,
#formFiltr label {
    width: 200px;
    /* For legacy WebKit based browsers */
    /* For legacy (Firefox <29) Gecko based browsers */
    box-sizing: border-box;
}

form input.btn {
    width: inherit !important;
    margin-bottom: 5%;
}

input:invalid {
    border: 2px solid var(--logo-red);
    background: var(--logo-red);
    color: var(--light-txt);
}


/* Google Mapa na Uvodu */

#GoogleMap {
    flex-basis: 70%;
    min-height: 400px;
    border-radius: 8pt;
    background: var(--light-grad);
    text-align: center;
    vertical-align: middle;
    color: var(--dark-txt);
    font-weight: bold;
}

@media (max-width: 1015px) {
    #GoogleMap {
        flex-basis: 60%;
    }
}

@media (max-width: 695px) {
    #GoogleMap,
    #formFiltr {
        flex-basis: 100% !important;
    }
    .filtered_map #formFiltr label,
    .filtered_map #formFiltr select,
    #formFiltr fieldset {
        width: 100%;
    }
}


/* Filtrování k google mapě */

#formFiltr {
    flex-basis: 30%;
}

#formFiltr fieldset {
    border: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    align-content: flex-start;
}

form input,
form select,
form textarea {
    font-size: 0.9em;
    font-family: var(--body-font);
    border: 2px solid var(--input-active);
    border-radius: 6pt;
    outline: none;
    padding: 0.6em;
    margin-top: 0.35em;
}

form input:focus,
form select:focus,
form textarea:focus {
    border-color: rgba(0, 0, 0, 0.5);
}


/* Zobrazení vybrane akce */

main.detail {
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -moz-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 5% 5%;
}

.detail_text {
    flex-basis: 50%;
}

main.detail .filtered_map {
    flex-basis: 50%;
    display: block;
}

main.detail a.btn {
    margin: 5% 0%;
}

@media (max-width: 730px) {
    .detail_text {
        width: 100%;
        flex-basis: 100%;
    }
    main.detail .filtered_map {
        flex-basis: 100%;
    }
}

.upozorneni {
    font-size: 9pt;
    padding: 1em;
    margin: 5% 0;
    background: var(--logo-red);
    border-radius: 8pt;
    color: var(--light-txt);
}


/* PŘIHLÁŠKA */

label,
input,
textarea,
select {
    display: block;
    width: 100%;
    vertical-align: text-bottom;
}

.form-group {
    margin: 5% 0;
}

.checkbox input,
.checkbox label {
    display: inline;
}

.checkbox_cols {
    -webkit-columns: 2;
    columns: 2;
}

input[type="checkbox"] {
    display: inline;
    width: 2em;
    height: 2em;
    min-width: 45px;
    min-height: 45px;
    margin: 2% 0;
    padding: 0;
    vertical-align: middle;
}

#prihlaska_zahlavi {
    margin-top: 3%;
}

.prihlaska_form section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    align-content: flex-start;
    margin: 5% 0;
}

main.prihlaska {
    width: 80vw;
}

@media (max-width: 580px) {
    .checkbox_cols {
        -webkit-columns: 1;
        columns: 1;
    }
    form input#submit.btn {
        width: 100% !important;
        margin-top: 15%;
    }
}

.has-error {
    display: block;
    color: var(--logo-red);
}

section .form-group {
    margin: 0 5% 1% 0;
    flex: 10 10 auto;
    width: unset;
}

section .form-group:nth-child(1) {
    flex-basis: 70%;
}

section .form-group:nth-child(2) {
    flex-basis: 60%;
}

section .form-group:nth-child(3) {
    flex-basis: 30%;
}

section .form-group:nth-child(4) {
    flex-basis: 60%;
}

section .form-group:nth-child(5) {
    flex-basis: 10%;
}

section.datum .form-group {
    flex-basis: auto;
}

#geolocate {
    margin: 2% 0;
}


/* FOOTER */

footer {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-basis: 100%;
    align-self: flex-end;
    padding: 8vh 12vw 15vh 12vw;
    text-align: left;
    font-size: .8em;
    background-color: var(--footer-bg-clr);
    color: var(--light-txt)
}

footer span {
    padding: 1%;
}

.btn_round {
    width: 5em;
    height: 5em;
    padding: 2%;
    text-align: center;
    margin: 1% auto;
}

.info h5 {
    width: 100%;
    text-align: left;
    margin: 1em 0em 0.5em 0;
}

footer a {
    display: inline-flex;
    align-self: center;
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

section.info {
    width: 50%;
}

.info-right {
    text-align: right;
}

.info-right h5 {
    text-align: right;
}

footer div {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-content: flex-start;
    -ms-align-items: stretch;
    align-items: stretch;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 0 5% 0;
}

footer div a {
    -ms-grid-row-align: end;
    align-self: end;
}

.info-right .logo-list {
    justify-content: flex-end;
}

@media (max-width: 700px) {
    section.info {
        width: 100%;
    }
    footer div {
        text-align: left;
    }
    footer div a {
        -ms-grid-row-align: start;
        align-self: start;
    }
    .info-right h5 {
        text-align: left;
    }
    .info-right .logo-list {
        justify-content: flex-start;
    }
}

footer figure {
    margin: 0;
}

.info img {
    margin: 0;
}

.info:first-child {
    text-align: left;
}

.info img {
    height: auto;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    background: var(--light-bg);
    margin-bottom: 1.5em;
    padding: 1em .5em;
    max-height: 5.5em;
}

.info img:hover {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
}

ul.logos {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: flex-start;
    margin-top: 8%;
    border-radius: 8pt;
    background: var(--light-txt);
}

ul.logos li {
    padding: 3%;
}


/*COOKIES WARNING*/

#cookies_hazard {
    display: none;
    /*position: sticky;*/
    position: fixed;
    bottom: 3vh;
    left: 10%;
    z-index: 1000;
    flex-direction: row;
    font-weight: normal;
    justify-content: space-between;
    align-items: center;
    width: 80vw;
    padding: 1% 2%;
    border-radius: 8pt;
    text-align: left;
    background: var(--light-bg);
    /*8B3538*/
    color: var(--dark-txt);
    box-shadow: 0 10px 70px rgba(0, 0, 0, 0.5);
}

#cookies_hazard img {
    width: 20%;
    max-width: 135px;
    height: auto;
    margin: 1%;
}

#cookies_hazard p {
    margin: 2%;
}

#cookies_hazard button {
    font-family: var(--body-font);
    font-size: .9em;
    color: var(--light-txt);
    /*#F7D995*/
    background: var(--logo-red);
    /*#C14A00*/
}

@media (max-width: 650px) {
    #cookies_hazard {
        -moz-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
    }
    #cookies_hazard button {
        margin: 5%;
    }
}


/* ANIMATIONS */


/*.grow-shadow {ą
	transform: perspective(1px) translateZ(0);
	!*box-shadow: 0 0 1px transparent;*!
	transition-duration: 0.3s;
	transition-property: box-shadow, transform;
}

.grow-shadow:hover {
	box-shadow: 0 10px 20px -6px rgba(9, 37, 228,0.7);
	transform: scale(1.1);
}*/


/* queries */


/*@media (max-width: 860px) {
	.body {
		padding: 0 5vw;
	}
}*/

@media (max-width: 1170px) {
    .menu {
        width: 90%;
    }
}


/* mobile header */

#mobile_header {
    display: none;
}

@media (max-width: 1050px) {
    #mobile_header {
        display: block;
        position: absolute;
    }
    #desktop_header {
        display: none;
    }
}

.js body {
    opacity: 0;
    transition: opacity 0.3s;
}

.js body.render {
    opacity: 1;
}

.hidden {
    position: absolute;
    overflow: hidden;
    width: 0;
    height: 0;
    pointer-events: none;
}

.content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0 auto;
    pointer-events: none;
}

.content--fixed {
    position: fixed;
    top: 0;
    left: 0;
    display: -ms-grid;
    display: grid;
    align-content: space-between;
    width: 100%;
    max-width: none;
    min-height: 0;
    height: 100vh;
    padding: 1.5em;
    -ms-grid-columns: 50% 50%;
    grid-template-columns: 50% 50%;
    -ms-grid-rows: auto auto 4em;
    grid-template-rows: auto auto 4em;
}

.content--fixed a {
    pointer-events: auto;
}

.global-menu {
    width: 100vw;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 100;
}

.global-menu__item {
    color: var(--light-txt);
    opacity: 0;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    pointer-events: none;
    display: inline-flex;
    margin: 5% 0;
    transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s, -webkit-transform 0.3s;
    transition-timing-function: ease-in;
}

.global-menu__item--demo-6 {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
}

.global-menu__item.is-opened {
    opacity: 1;
    -webkit-transform: translateY(0) rotate(0);
    transform: translateY(0) rotate(0);
    pointer-events: auto;
    transition-timing-function: ease;
}

.global-menu__item:nth-of-type(1) {
    transition-delay: 0s;
}

.global-menu__item.is-opened:nth-of-type(1) {
    transition-delay: 0.85s;
}

.global-menu__item:nth-of-type(2) {
    transition-delay: 0.05s;
}

.global-menu__item.is-opened:nth-of-type(2) {
    transition-delay: 0.8s;
}

.global-menu__item:nth-of-type(3) {
    transition-delay: 0.1s;
}

.global-menu__item.is-opened:nth-of-type(3) {
    transition-delay: 0.75s;
}

.global-menu__item:nth-of-type(4) {
    transition-delay: 0.15s;
}

.global-menu__item.is-opened:nth-of-type(4) {
    transition-delay: 0.7s;
}


/* demo 6 */

.global-menu__item--demo-6.is-opened {
    transition-duration: 0.8s;
}

.global-menu__item--demo-6:nth-of-type(1) {
    transition-delay: 0.25s;
}

.global-menu__item--demo-6.is-opened:nth-of-type(1) {
    transition-delay: 1s;
}

.global-menu__item--demo-6:nth-of-type(2) {
    transition-delay: 0.2s;
}

.global-menu__item--demo-6.is-opened:nth-of-type(2) {
    transition-delay: 1.1s;
}

.global-menu__item--demo-6:nth-of-type(3) {
    transition-delay: 0.15s;
}

.global-menu__item--demo-6.is-opened:nth-of-type(3) {
    transition-delay: 1.2s;
}

.global-menu__item--demo-6:nth-of-type(4) {
    transition-delay: 0.1s;
}

.global-menu__item--demo-6.is-opened:nth-of-type(4) {
    transition-delay: 1.3s;
}

#mobile_header .btn_round {
    -ms-grid-row-align: end;
    align-self: end;
    justify-content: center;
    margin: 0 auto;
}

.shape-overlays {
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}

.shape-overlays.is-opened {
    pointer-events: auto;
}

.shape-overlays__path:nth-of-type(1) {
    fill: var(--path-fill-1);
}

.shape-overlays__path:nth-of-type(2) {
    fill: var(--path-fill-2);
}

.shape-overlays__path:nth-of-type(3) {
    fill: var(--dark-txt);
}

.shape-overlays__path:nth-of-type(4) {
    fill: var(--path-fill-4);
}

@-webkit-keyframes intervalHamburgerBorder {
    0% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    80% {
        -webkit-transform: scale(1.6);
        transform: scale(1.6);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(1.6);
        transform: scale(1.6);
    }
}

@keyframes intervalHamburgerBorder {
    0% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    80% {
        -webkit-transform: scale(1.6);
        transform: scale(1.6);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(1.6);
        transform: scale(1.6);
    }
}

.hamburger {
    width: 64px;
    height: 64px;
    display: block;
    cursor: pointer;
    position: absolute;
    top: 2.25em;
    right: 2.25em;
    z-index: 110;
    border-radius: 50%;
    background: var(--link-hover-clr);
    pointer-events: auto;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.hamburger::after {
    width: 64px;
    height: 64px;
    box-sizing: border-box;
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    border: 4px solid var(--logo-blue);
    border-radius: 50%;
    -webkit-animation-duration: 1.2s;
    animation-duration: 1.2s;
    -webkit-animation-name: intervalHamburgerBorder;
    animation-name: intervalHamburgerBorder;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

.hamburger__line {
    width: 28px;
    height: 2px;
    overflow: hidden;
    position: absolute;
    z-index: 10;
}

.hamburger__line-in {
    width: 84px;
    height: 2px;
    position: absolute;
    top: 0;
    left: 0;
}

.hamburger__line-in::before,
.hamburger__line-in::after {
    width: 28px;
    height: 2px;
    content: '';
    display: block;
    position: absolute;
    top: 0;
    background-color: var(--light-txt);
}

.hamburger__line-in::before {
    left: -56px;
}

.hamburger__line-in::after {
    left: 0;
}

.hamburger__line--01,
.hamburger__line--02,
.hamburger__line--03,
.hamburger__line--cross01,
.hamburger__line--cross02 {
    left: 18px;
}

.hamburger__line--01 {
    top: 24.6px;
}

.hamburger__line--02,
.hamburger__line--cross01,
.hamburger__line--cross02 {
    top: 31px;
}

.hamburger__line--03 {
    top: 37.4px;
}

.hamburger__line--cross01 {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.hamburger__line--cross02 {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.hamburger__line {
    transition-duration: 0.6s;
    transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
}

.hamburger__line-in {
    transition-duration: 0.6s;
    transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
}

.hamburger__line-in::before,
.hamburger__line-in::after {
    transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
    transition-property: -webkit-transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
}

.hamburger__line-in--cross01,
.hamburger__line-in--cross02 {
    -webkit-transform: translateX(-33.3%);
    transform: translateX(-33.3%);
}

.hamburger__line-in--01 {
    transition-delay: 0.2s;
}

.hamburger__line-in--02 {
    transition-delay: 0.25s;
}

.hamburger__line-in--02::before,
.hamburger__line-in--02::after {
    transition-delay: 0.05s;
}

.hamburger__line-in--03 {
    transition-delay: 0.3s;
}

.hamburger__line-in--03::before,
.hamburger__line-in--03::after {
    transition-delay: 0.1s;
}

.hamburger__line-in--cross01 {
    transition-delay: 0.0s;
}

.hamburger__line-in--cross02 {
    transition-delay: 0.05s;
}

.hamburger__line-in--cross02::before,
.hamburger__line-in--cross02::after {
    transition-delay: 0.1s;
}

.hamburger.is-opened-navi .hamburger__line-in--01,
.hamburger.is-opened-navi .hamburger__line-in--02,
.hamburger.is-opened-navi .hamburger__line-in--03 {
    -webkit-transform: translateX(33.3%);
    transform: translateX(33.3%);
}

.hamburger.is-opened-navi .hamburger__line-in--cross01,
.hamburger.is-opened-navi .hamburger__line-in--cross02 {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.hamburger.is-opened-navi .hamburger__line-in--01 {
    transition-delay: 0s;
}

.hamburger.is-opened-navi .hamburger__line-in--02 {
    transition-delay: 0.05s;
}

.hamburger.is-opened-navi .hamburger__line-in--03 {
    transition-delay: 0.1s;
}

.hamburger.is-opened-navi .hamburger__line-in--cross01 {
    transition-delay: 0.25s;
}

.hamburger.is-opened-navi .hamburger__line-in--cross02 {
    transition-delay: 0.3s;
}

.hamburger:hover .hamburger__line-in::before,
.hamburger:hover .hamburger__line-in::after {
    -webkit-transform: translateX(200%);
    transform: translateX(200%);
}

.hamburger:hover .hamburger__line-in--01::before,
.hamburger:hover .hamburger__line-in--01::after,
.hamburger:hover .hamburger__line-in--02::before,
.hamburger:hover .hamburger__line-in--02::after,
.hamburger:hover .hamburger__line-in--03::before,
.hamburger:hover .hamburger__line-in--03::after {
    transition-duration: 1s;
}

.hamburger:hover .hamburger__line-in--cross01::before,
.hamburger:hover .hamburger__line-in--cross01::after,
.hamburger:hover .hamburger__line-in--cross02::before,
.hamburger:hover .hamburger__line-in--cross02::after {
    transition-duration: 0s;
}

.hamburger.is-opened-navi:hover .hamburger__line-in--cross01::before,
.hamburger.is-opened-navi:hover .hamburger__line-in--cross01::after,
.hamburger.is-opened-navi:hover .hamburger__line-in--cross02::before,
.hamburger.is-opened-navi:hover .hamburger__line-in--cross02::after {
    transition-duration: 1s;
}

.hamburger.is-opened-navi:hover .hamburger__line-in--01::before,
.hamburger.is-opened-navi:hover .hamburger__line-in--01::after,
.hamburger.is-opened-navi:hover .hamburger__line-in--02::before,
.hamburger.is-opened-navi:hover .hamburger__line-in--02::after,
.hamburger.is-opened-navi:hover .hamburger__line-in--03::before,
.hamburger.is-opened-navi:hover .hamburger__line-in--03::after {
    transition-duration: 0s;
}

@media screen and (min-width: 1050px) {
    .demo span {
        position: absolute;
        line-height: 1;
        right: 100%;
        display: none;
        margin: 0 1em 0 0;
    }
    .demo--current span {
        display: block;
    }
}

@media screen and (max-width: 1050px) {
    html,
    body {
        overflow-x: hidden;
        width: 100vw;
        height: 100%;
    }
    .hamburger {
        position: fixed;
        top: 0.5em;
        right: 0.5em;
        -webkit-transform: scale(0.75);
        transform: scale(0.75);
    }
    .content--fixed {
        position: relative;
        z-index: 0;
        display: block;
        padding: 0.85em;
    }
}

.squares-container,
.squares-container20 {
    width: 100%;
}

.square-item,
.square-item20 {
    padding: 1em 2em;
    text-align: left;
}

.square-item h6 {
    margin-bottom: 1em;
}

.square-item ul,
.square-item20 ul {
    list-style: none;
    padding: 0;
    margin: 1em 0 3em 0;
}

@media (min-width: 600px) {
    .squares-container {
        display: flex;
        flex-wrap: wrap;
    }
    .square-item {
        width: 50%;
    }
    square-item20 {
        width: 20%;
    }
}

@media (min-width: 850px) {
    .squares-container20 {
        display: flex;
    }
}


/*>>>> SCROLING LINE */

.m-scroll {
    display: flex;
    position: fixed;
    width: 100%;
    height: 60px;
    margin: auto;
    background-color: #d34444;
    overflow: hidden;
    z-index: 13;
}

.m-scroll__title {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    white-space: nowrap;
    transform: scale(2);
    transition: all 1s ease;
}

.m-scroll__title>inner {
    display: flex;
    animation: scrollText 15s infinite linear;
}

msg {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 1);
    transition: all 2s ease;
}


/*div:hover {
	animation-play-state: paused;
  }*/

@keyframes scrollText {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-50%);
    }
}


/*<<< SCROLING TEXT */