html {
    box-sizing: border-box;
    -ms-overflow-style: scrollbar;
}

*,
*::before,
*::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    font-family: "Arimo";
}

.container {
    width: 100%;
    /*padding-right: 15px;*/
    /*padding-left: 15px;*/
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 1000px;
    }
}

[data-page-is-homepage] h1, [data-page-is-homepage] h2, [data-page-is-homepage] h3 {
    text-align: center;
}

h1, h2, h3, strong, p {
    color: #7f766f;
}

/*font-family: "Arimo";*/
h1 {
    font-size: 42px;
    font-weight: 700;
}

[data-page-is-homepage] h1 {
    background: #eb6b08;
    color: #fff;
}

h2 {
    font-size: 29px;
    font-weight: 700;
    margin-bottom: 20px;
}

.counter h3 {
    display: grid;

}

h3 {
    font-size: 23px;
    font-weight: 400;
}

h3 span.arrowRight:after {
    content: "→";

}

h3 span {
    font-size: 35px;
    font-weight: 700;
}

p {
    margin-bottom: 15px;
    font-size: 18px;
    color: #7f766f;
    font-weight: 400;
    text-align: center;
}

.flex > div, iframe {
    max-width: 100%;
    display: block;
}

.flex.reference p:first-child {
    padding: 35px 0 30px;
}

.flex.reference span {
    color: #7f766f;
    font-style: italic;
}

.text-justify {
    text-align: justify;
}

.text-right {
    text-align: right;
}

p.text-right a {
    /*color: #9e958f;*/
    text-decoration: none;
}

p.text-right {
    font-size: 15px;
    margin: 15px 0;
}

a.btn {
    margin-bottom: 15px;
    font-size: 23px;
    color: #ffffff;
    font-weight: 700;
    text-align: center;
    width: 409px;
    padding: 14px 0;
    background-color: #eb6b08;
    text-decoration: none;
}
body {
    min-height: calc(100vh - 86px);
    background-color: #eb6b08;
}

section {
    background-color: white;
    margin-top: 86px;
    box-sizing: border-box;
}

body:not([data-page-is-homepage]) section {
    border-top: 12px solid #eb6b08;
}

nav > .container {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: 80px;
    padding: 15px;
}

nav,
nav * {
    transition: all 280ms ease-in-out;
}

nav {
    z-index: 10;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #f3a66b;
}

nav img {
    width: auto;
}

nav ul {
    list-style-type: none;
    margin-left: 0;
}

nav ul > li:last-child a {
    color: #eb6b08
}

nav ul > li:last-child {
    border: 1px solid #eb6b08;
    border-radius: 2px;
    margin-left: 20px;
}

nav ul > li {
    padding: 5px 10px;
}

nav ul > li > a {
    text-decoration: none;
    font-size: 15px;
    color: #7f766f;
    font-weight: 400;
    text-align: center;
}

body > div {
    width: 100%;
}

section .loop1 {
    background: #eb6b08;
}

section .loop3 {
    background: #e7e5e3;
}

.loop {
    padding: 60px 0;
}

.loop1, .loop2, .loop4 {
    padding: 35px 0;
}

.loop5 p {
    text-align: left;
}

.loop5 h3 {
    font-weight: 700;
    margin-bottom: 35px;
    color: #eb6b08;
}

.loop ul {
    list-style-position: inside;
    margin-bottom: 15px;
}

.loop ul > li {
    color: #7f766f;
    margin-bottom: 10px;
}

body.body-subpage p {
    font-size: 17px;
}

body.body-subpage .flex.btn-group {
    padding-top: 30px;
}

body.body-subpage > section > div:first-child {
    border-top: 15px solid #eb6b08;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flex.btn-group {
    justify-content: space-evenly;
}

.flex.type {
    margin: 0 auto;
    max-width: 400px;
    display: flex;
    flex-flow: row wrap;
}

.flex.type > * {
    flex-basis: 45%;
    margin-bottom: 25px;
    text-align: center;
}

.flex.type > * p{
    margin-bottom: 0;
}

.flex.type > *:last-child {
    flex-basis: 100% !important;
    text-align: right;
}

@media screen and (min-width: 992px) {
    .flex.type {
        max-width: 100%;
    }
    .flex.type > * {
        flex-basis: 25%;
        margin-bottom: 0;
    }
    .flex.type > *:last-child {
        margin-bottom: 20px;
    }
}

.flex.type > a > img {
    width: 100%;
    margin: 0 auto 5px;
    max-width: 160px;
}


.flex.type > a {
    text-align: center;
    width: 23%;
}

.flex.counter > div,
.flex.reference > div {
    width: 30%;
}

footer a:nth-of-type(1) {
    text-decoration: none;
}

footer a, footer p {
    color: #fff;
}

footer p {
    padding: 0;
    margin: 0;
}

footer {
    color: #fff;
    text-align: center;
    background: #eb6b08;
    padding: 25px 0;
}

.modal::-webkit-scrollbar-track {
    border-radius: 0;
}

.modal::-webkit-scrollbar {
    width: 0;
}

.modal::-webkit-scrollbar-thumb {
    border-radius: 0;
}

#modal2 form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.modal {
    z-index: -1;
    position: fixed;
    overflow: auto;
    /*position: absolute;*/
    width: 100%;
    left: 0;
    top: 0;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: visibility 0s linear 0.1s, opacity 0.3s ease;
}

.modal-overlay {
    background: rgba(0, 0, 0, .6);
    position: fixed;
    left: 0;
    width: 100%;
    top: 0;
    height: 100%;
}

.modal.open {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
    z-index: 11;
}

.modal .container {
    /*padding: 50px 0;*/
    padding: 50px 15px;
    margin: 150px auto;
    text-align: center;
    /* height: 600px; */
    background: #fff;
}

.modal .container > p:first-child {
    font-size: 21px;
    color: #9f968f;
    margin-bottom: 40px;
}

.modal input.in_email {
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 15px;
    text-align: center;
    width: 330px;
    height: 39px;
    background-color: rgba(201, 201, 201, 0);
    border: 1px solid #7f766f;
    font-family: 'Arimo';
}

.modal textarea {
    font-size: 17px;
    padding: 10px;
    font-weight: 400;
    margin-bottom: 15px;
    text-align: center;
    width: 330px;
    font-family: 'Arimo';
    background-color: rgba(201, 201, 201, 0);
    border: 1px solid #7f766f;
}

::-webkit-input-placeholder { /* Edge */
    color: #cac3bd;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #cac3bd;
}

::placeholder {
    color: #cac3bd;
}

.radio-group p,
p.in_gdpr {
    text-align: left;
}

form {
    max-width: 365px;
    margin: 0 auto;
}

p.in_gdpr {
    font-size: 12px;
}

form button {
    font-size: 17px;
    color: #ffffff;
    font-weight: 400;
    text-align: center;
    padding: 10px 45px;
    background-color: #eb6b08;
    border: none;
}

button:focus,
button:active,
button {
    outline: none;
    cursor: pointer;
}

button.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    border: none;
    background: transparent;
    border: 2px solid #eb6b08;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    color: #eb6b08;
}

.loop5 a:not(.btn) {
    color: #eb6b08;

}

svg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-12px, -12px);
}

/*input[type="checkbox"] {*/
/*    display: none;*/
/*}*/

/*input[type="checkbox"] + label {*/
/*    position: relative;*/
/*    font-size: 17px;*/
/*    cursor: pointer;*/
/*    -webkit-user-select: none;*/
/*    -moz-user-select: none;*/
/*    -ms-user-select: none;*/
/*    user-select: none;*/
/*    padding-left: 30px;*/
/*    padding-right: 20px;*/
/*}*/

/*input[type="checkbox"] + label::before {*/
/*    transition: all 250ms cubic-bezier(.4, .25, .3, 1);*/
/*    content: "";*/
/*    width: 16px;*/
/*    height: 16px;*/
/*    border: 1px solid #7f766f;*/
/*    background-color: transparent;*/
/*    font-size: 0;*/
/*    position: absolute;*/
/*    bottom: 50%;*/
/*    left: 0;*/
/*    -webkit-transform: translateY(50%);*/
/*    transform: translateY(50%);*/
/*}*/

/*input[type="checkbox"]:checked + label::before {*/
/*    width: 16px;*/
/*    height: 16px;*/
/*    border: 1px solid #eb6b08;*/
/*    background: #eb6b08;*/
/*}*/

/*.form-checkbox-inline .form-checkbox-label, .form-radio-inline .form-radio-label {*/
/*    display: inline-block;*/
/*    margin-right: 1rem;*/
/*}*/

/*.form-checkbox-label input {*/
/*    width: auto;*/
/*    opacity: 0.0001;*/
/*    position: absolute;*/
/*    left: 0.25rem;*/
/*    top: 0.25rem;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*}*/

/*input[type=checkbox] {*/
/*    box-sizing: border-box;*/
/*    padding: 0;*/
/*}*/

/*input[type=checkbox] {*/
/*    box-sizing: border-box;*/
/*    padding: 0;*/
/*}*/

.form-checkbox-inline .form-checkbox-label {
    display: inline-block;
    margin-right: 1rem;
}

.form-checkbox-legend {
    margin: 0 0 0.125rem 0;
    font-weight: 500;
    font-size: 1rem;
    color: #333;
}

.form-checkbox-label {
    height: 26px;
    position: relative;
    cursor: pointer;
    padding-left: 1.5rem;
    text-align: left;
    color: #333;
    display: block;
    margin-bottom: 2.5rem;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}

.form-checkbox-label:hover i {
    color: #eb6b08;
}

.form-checkbox-label span {
    font-size: 12px;
    color: #7f766f;
}

.form-checkbox-label input {
    width: auto;
    opacity: 0.0001;
    position: absolute;
    left: 0.25rem;
    top: 0.25rem;
    margin: 0;
    padding: 0;
}

.form-checkbox-button {
    position: absolute;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #999;
    left: 0;
    top: 0.25rem;
    width: 16px;
    height: 16px;
    z-index: 0;
    border: 1px solid #7f766f;
    transition: color 0.28s ease;
    will-change: color;
}

.form-checkbox-button::before,
.form-checkbox-button::after {
    position: absolute;
    height: 0;
    width: 0.2rem;
    background-color: #eb6b08;
    display: block;
    transform-origin: left top;
    border-radius: 0.25rem;
    content: "";
    transition: opacity 0.28s ease, height 0s linear 0.28s;
    opacity: 0;
    will-change: opacity, height;
}

.form-checkbox-button::before {
    top: 0.805rem;
    left: 0.38rem;
    transform: rotate(-135deg);
    box-shadow: 0 0 0 0.0625rem #fff;
}

.form-checkbox-button::after {
    top: 0.4rem;
    left: 0;
    transform: rotate(-45deg);
}

.form-checkbox-field:checked ~ .form-checkbox-button {
    color: #eb6b08;
}

.form-checkbox-field:checked ~ .form-checkbox-button::after,
.form-checkbox-field:checked ~ .form-checkbox-button::before {
    opacity: 1;
    transition: height 0.28s ease;
}

.form-checkbox-field:checked ~ .form-checkbox-button::after {
    height: 0.5rem;
}

.form-checkbox-field:checked ~ .form-checkbox-button::before {
    height: 1.2rem;
    transition-delay: 0.28s;
}

.form-checkbox-label a {
    /*color: #7f766f;*/
}

.i-phone,
.i-envelope {
    color: #eb6b08;
}

.i-phone:before,
.i-envelope:before {
    padding-right: 22px;
}

.i-phone:before {
    content: "";
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAABv0lEQVQ4jZ3SP0hVYRQA8N95RLwbIiFXh4gGR5EIiWhvaYiWqKS2lsBLc0RjRDTHe2NLFEG1lENLe0SFgzSKgzToRUKiKxLvNFxfhBn1OtsHH7/zN1LaqIqONC5MBIOy16z6j+hAcDTCrUiv8LiuiiP/hW1UxaFkPlkQZjAnXaurojMyFkwFF4MxCbrChWRuZEwawywIdsGZ4HJdFd3RsDDAdmbrZPtewQfsjIaxlSzFsKq0hpt4XvaawWhY2pTeYBCBUON12Wu+jwJBp+w33yK8xSoE05nOjQq1lbXxTnqZ7EiHcbuuiuOjnkcHyl6zJTyK9D7bdmdxK5neC25URedPW/7141JyH+s4iPPBHcOzaaED0iXcqavi5N5EkbuHBXVVHEyu4EEwlmkHyxHuYhFntQmn8QkvkoeTvebzbxjUC0U3w7x0L5gSOviSrAQljkodgfY+P+LqZL9Z/W3AZb/ZDp5EuK7d8nApc8mx9BOSdCMcjt1x7butstfsYDG5kakvrEgDaegM+/mKRWFz3zb3Rl0V4zglncaZDCfQDZbxDE+ltbLfDP6K/YIewgTGdzv6ivWy13wb/vln7F/iB785r4MGZd3nAAAAAElFTkSuQmCC');
    background-repeat: no-repeat;
    background-size: contain;
}

.i-envelope:before {
    content: "";
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAABvUlEQVQ4jc3UIWiVURwF8N//8RhTRAxjGGQMk1WRYbIJaxYFlwwihoEgIrJgXDAMFFk0DBFWbDbFKA+TySIYhkmGDMMbjMeO4fve2/cWZcFb7r0f957zP+d/vlsRJzV6J4aE+rU6O1MsYfEf7o/weW5zfwf6uBq2iotBYTxPjfZjuntGVbZ3V089mNvcH/aK+eJ8MjnQAKbZJkd3JyRHbP2wgBnoJQb4VEW1ZUWzrnaeeNIBr1BlWPEGfxqZZQ9P2vPLSn9ayTHQmliwi+fYTmPXQa9iGffFo8Rj8ROHScs+1ndkwQE+Jm6GQdgo5qGnnE48VF5VGSgrGFSNS5oyfhhe4F6VpeJt28BeA9ZI6IdlfEhcr1jBWthNSIyKgbhRvAuvxYZY6Hra15pajYazxTNcTqwrX3G7yne8x5WwVnFpnKFxQyZgU5kqs+GWuFa8VLYS54qn4U6VfqrxctKg6lZWHcCjKi9gHXtVZsWZqtaWTh67Qe4fD+IYOE2OZtKEepqwXXQkHkKv2Ak/0h6YYm1JuoTdN6YYVXwrfo9lfqm4i8VJFDo/abdbWq86Z0bi89zm/rAt5D99z04U7C/Xi6yFcW3otwAAAABJRU5ErkJggg==');
    background-repeat: no-repeat;
    background-size: contain;
}

#toogleros {
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: url('../images/hamburger.png?version=4');
    background-size: cover;
    background-position: center;
}

.box-left {
    width: 40%;
}

.flex.kontakty h2 {
    text-align: left;
}

@media (min-width: 992px) {
    #toogleros {
        display: none;
    }

    nav ul {
        display: flex;
        flex-wrap: wrap;
    }
}

@media (max-width: 991px) {
    nav ul.hide {
        display: none;
        opacity: 0;
        height: 0;
    }

    nav ul:not(.hide) + #toogleros {
        background-image: url("../images/hamburger-closed.png?version=4");
    }

    nav ul {
        background: #fff;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        order: 2;
    }

    .flex.type > a {
        width: 48%;
        text-align: center;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 635px) {
    .flex > div {
        width: 100% !important;
        margin-bottom: 15px;
    }

    nav > .container {
        padding: 15px;
    }
}
.container {
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 500px) {
    a.btn {
        width: 100%;
    }
}

.page-editor-content h1 {
    font-size: 36px;
    margin-bottom: 24px;
    color: #7f766f;
}

.kontakty h1 {
    font-size: 29px;
    text-align: left;
    background-color: transparent;
    color: #7f766f;
    margin-bottom: 20px;
}

.page-editor-content .btn-group {
    margin-top: 5em;
}

.page-editor-content ol,
.page-editor-content ul {
    list-style-position: outside;
    padding-left: 1.2em;
}

a {
    color: #eb6b08;
    text-decoration: none;
}

a strong {
    color: #eb6b08 !important;
}

p a:hover,
span a:hover,
li a:hover {
    text-decoration: underline;
}

a p strong {
    color: #7f766f !important;
}

.form-checkbox-label {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}
.radio-group p {
    margin-bottom: .5em;
}

.modal .container > p:first-child {
    margin-bottom: 1.5em;
}

#modal input.in_email {
    margin-bottom: 2em;
}

[data-page-id="4"] .page-editor-content h1 + p strong{
    color: #eb6b08 !important;
}

.page-editor-content p,
.page-editor-content li,
.page-editor-content ol,
.page-editor-content ul {
    font-size: 16px;
    line-height: 1.6em;
    margin-bottom: .6em;
}

.page-editor-content ol,
.page-editor-content ul {
    margin-bottom: 1.25em;
}
.page-editor-content li {
    margin-bottom: 0 !important;
}


.page-editor-content h1 {
    margin-bottom: .25em;
}

.page-editor-content h2 {
    margin-bottom: .25em;
}

.page-editor-content h2,
.page-editor-content h3,
.page-editor-content h4,
.page-editor-content h5,
.page-editor-content h6 {
    padding-top: .5em;
}

.loading-placeholder {
    background-color: #f5f5f5;
    background-image: url("../images/preloader.gif");
    background-size: 15%;
    background-repeat: no-repeat;
    background-position: center;
}

@media screen and (max-width: 636px) {
    body[data-page-is-homepage] .loop.loop3 {
        padding: 40px 0;
    }
    .flex.counter > div{
        margin-bottom: 1.5em;
    }
    .flex.counter > div:last-child{
        margin-bottom: 0;
    }
    body[data-page-is-homepage] .loop.loop3 h3{
        font-size: 16px;
    }
    body[data-page-is-homepage] .loop.loop3 h3 span{
        font-size: 26px;
    }
}

@media screen and (max-width: 991px) {
    body[data-page-is-homepage] h1 {
        font-size: 34px;
    }
    .btn-group a{
        font-size: 20px;
    }
}

#modal2 .form-checkbox-label {
    margin-top: 0;
}

body[data-page-id="2"] p a img {
    height: 2em;
    width: auto;
    display: inline;
}

.radio-group input[type="checkbox"] {
    display: none;
}
.radio-group label {
    display: block;
    text-align: left;
    cursor: pointer;
    color: #7f766f;
}
.radio-group label:before {
    content: '';
    display: inline-block;
    vertical-align: center;
    position: relative;
    top: calc(.2em + .75em);
    margin-bottom: .75em;
    margin-right: .5em;
    border: 1px solid #7f766f;
    height: 1em;
    width: 1em;
    background-color: white;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;;
}

.radio-group input[type="checkbox"]:checked + label:before {
    background-color: #eb6b08;
    border-color: #eb6b08;
}

.ql-align-center {
    text-align: center !important;
}
.ql-align-center > img {
    display: block;
    margin-right: auto;
    margin-left: auto;
}


.radio-group label {
    padding: 5px 0 5px 25px;
    position: relative;
}

.radio-group label:before {
    display: block;
    position: absolute;
    left: 0;
    top: 5px;
}

#modal input.in_email {
    max-width: 100%;
}

@media screen and (max-width: 991px) {

    .modal .container {
        max-width: calc(100% - 30px);
    }
    .mobile-mb {
        display: inline-block;
        padding-bottom: 5px;
    }
    .mobile-mb + br {
        display: none;
    }
}

.g-recaptcha > div:first-child {
    margin: 0 auto 25px;
}