/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 13. 8. 2019, 21:06:21
    Author     : Papik
*/
* {
    padding: 0;
    margin: 0;
	outline: none;
}
*:focus, *:hover, *:active, *:focus-within {
outline: none !important;
}
a:hover {
    color: inherit;
}
.btn:focus, .btn.focus {
    box-shadow: none;
}
html, body {
    min-height: 100%;
    -webkit-font-smoothing:antialiased;
    height: 100%;
}
body {
    font-size: 16px;
}
a {
    color: #e42c1a;
}
img, svg {
    max-width: 100%;
    height: auto;
}
#wrapper {
   min-height: 100%;
   position: relative;
   padding-bottom: 375px;
}
img.center-block, svg.center-block {
    display: block;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    margin-bottom: 1.5rem;
}
#main h1, #main h2, #main .h1, #main .h2 {
	color: #e42c1a;
}
.home #main h1, .home #main h2, .home #main .h1, .home  #main .h2 {
	color: #000;
}
.full-width {
    width: 100%;
}
p:empty {
    display: none;
}

.vertical-center {
  min-height: 100%;  /* Fallback for browsers do NOT support vh unit */
  min-height: 100vh; /* These two lines are counted as one :-)       */

  display: flex;
  align-items: center;
}
.alignleft {
    float: left;
    margin: 0 10px 15px 0;
}
.alignright {
    float: right;
    margin: 15px 10px 0 0;
}
.aligncenter {
    display: block;
    float: none;
    margin: 0 auto;
}
.alignnone{
    float: none;
}

.text-red, .text-red:hover {
    color: #e42c1a;
}
.text-white {
    color: #ffffff;
}
.background-red {
    background-color: #e42c1a;
}
.border-red {
    border: 1px solid #e42c1a;
}
body{
    color: #000;
    font-family: "Open Sans", Arial, Helvetica, Verdana;
}

#header {
    color: #fff;
    background-color: #e42c1a;
    background: #e42c1a; /* url('../img/HEADER.svg') no-repeat  center center ; */
    background-size: 100% 100%;

}
.header-wrapper .small-logo {
    margin-right: 8.3333%;
    margin-top: 0.5rem;
    width: 91.666%;
}
.header-logo-wrapper {
    
    text-align:center;
   
}
.header-wrapper .logo-wrapper a {
    position: relative;
    z-index: 1000;
}
.home #header .header-logo-wrapper, .header-wrapper, #main, #footer .footer-wrapper  {
   width: 82.71%;
   max-width:1556px;
}
#header .header-logo-wrapper {
    position: relative;
    height:100%;
    text-shadow: 2px 2px 2px #000;
}
.home #header .header-logo-wrapper {
    padding: 0 25px;
}

#header .header-logo-wrapper.has-background {
	
	background-size: 100% auto;
	background-position: center center;
	background-repeat: no-repeat;
	
}
#header .header-logo {
    display:block;
    margin: 0 auto;
    width: 100%;
     max-width: 1924px;
     object-fit: cover;
     min-height: 300px;
}
.home #header .header-logo {
 min-height: 0;
}
.page-description {
    text-align: center;

}
#header .header-logo-wrapper .page-description {
    width: 100%;
    /*position: absolute;
     top: 20%;
     left: auto;
     right: auto;
   margin-bottom: 0;*/
}
#header .header-logo-wrapper.has-background .page-description, #header .header-logo-wrapper.no-background .page-description {
	position: static;
	padding-top: 6rem;
	padding-bottom: 6rem;
}
#header .header-logo-wrapper.no-background {
    background-color: #fff;
}
#header .header-logo-wrapper.no-background .page-description {
    color: #000;
    text-shadow: none;
    
}
 .page-description h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}
 .page-description h1:after {
    content: " ";
    border-bottom: 1px solid #000;
    position: absolute;
    bottom: -4px;
    left: calc(50% - 100px);
    width: 200px;
}
 #header .page-description h1:after {
     border-color: #fff;
 } 
 .page-description p {
    max-width: 1054px;
    margin: 0 auto;
    font-size: 20px;
    padding: 0 15px;
}
.site-subtitle {
    /*border-top: 1px solid #fff;*/
    margin: 0.5rem 0;
    }

.site-subtitle p {
     vertical-align: bottom;
    margin-bottom: 0;

}
.site-subtitle p img {
    margin-top: -10px;

}
.header-menu ul {
    margin: 0.5rem 0
}
.header-menu ul a {
    margin-top: 1rem;
    line-height: 20px;
    font-size: 15px;
}
.header-menu-2.header-menu ul a {
    text-transform: uppercase;
}
.header-menu {
    padding: 0;
    display: inline-block;
}
.header-menu-3 {
   background-color: #e42c1a;
    margin-bottom: 0px;
    display: block;
    border-top: 1px solid #fff;
    width: 100%;
}
.header-menu-3 ul {
    padding: 4px 0;
}
.header-menu.header-menu-3 li {
    padding: 0px 12px;
}
.header-menu-3 li a {
    color: #fff;
}
.header-menu.header-menu-3 li:first-child {
    padding-left: 0px;
}
.header-menu-3 .menu-item:not(:last-child) {
   
    margin-right: 0;
}
.menu-item {
    display: inline-block;
    
}
.menu-item:not(:last-child) {
  margin-right: 0.5rem;
}
.header-menu.header-menu-1 {
font-weight: bolder;
}
.header-menu li {
    padding: 4px 9px;
}
.header-menu-1 .icon {
    padding-left: 30px;
    background-size: auto 25px;
    background-repeat: no-repeat;
    background-position: left center;
}
.header-menu-1 .phone {
    background-image: url('../img/phone.svg');
}
.header-menu-1 .email {
    background-image: url('../img/email.svg');
    padding-left: 48px;
    background-size: auto 23px;
}
.header-menu-1 .team-viewer {
    background-image: url('../img/teamviewer.svg');
}
.header-menu-1 .e-helpdesk {
    background-image: url('../img/ehelpdesk.svg');
}
.header-menu-2 .current-menu-item {
    border: 1px solid #fff;
    border-radius: 18px;
}
#header a {
    color: #fff;
}
.header-wrapper {
    padding: 0 10px;
    background-color: #e42c1a;
    position: relative;
}

.no-padding {
    padding: 0 !important;
}
.no-margin {
    margin: 0 !important;
}
.mobile-toggle {
    position: absolute;
    display: none;
    width: 36px;
    height: 36px;
    height: 36px;
    right: 25px;
    top: 3px;
    z-index: 1000;
}
.mobile-toggle b {
    display: block;
    position: relative;
    width: 100%;
    height: 4px;
    top: 50%;
    margin-top: -2px;
    background-color: #ffffff;
    -webkit-transition: background-color .28s ease;
    transition: background-color .28s ease;
}
.mobile-toggle b::before, .mobile-toggle b::after {
    display: block;
    content: '';
    width: 100%;
    height: inherit;
    position: absolute;
    bottom: 0;
    background-color: #ffffff;
    -webkit-transition: all .35s ease;
    transition: all .35s ease;
}
.mobile-toggle b::after {
    bottom: -11px;
}
.mobile-toggle b::before {
    top: -11px;
}
.mobile-toggle.mobile-toggled-active b::before {
    top: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.mobile-toggle.mobile-toggled-active b::after {
    bottom: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.mobile-toggle.mobile-toggled-active b {
    background-color: transparent;
}
.sr-only, .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
#main {
     margin: 60px auto 20px;
     padding: 0 20px
}
h1.bottom-margin {
    margin-bottom: 2.5rem;
}
.row {
    margin-bottom: 2rem;
}
.service-column {
    margin-bottom: 2rem;
}
.row.services {
    margin-bottom: 0;
}
.service-image-wrapper {
    display: block;
    margin-bottom: 0.5rem;
    width: 75px;
    position: relative;
    height: 0;
    padding-bottom: 75px;
    margin-bottom: 0.9rem;
    margin-left: auto;
margin-right: auto;
}

.service-image-wrapper:after {
    content:" "; 
    position: absolute;
    width: 100%;
    top:0;
    left:0;
    right:0;
    bottom: 0;
    display: table;
    vertical-align: middle;
}
.service-image {
    
    width: 100%;
    display: table-cell;
    object-fit: initial;
}
.btn-helpdesk {
line-height: 39px;
padding: 5px 9px;
vertical-align: bottom;
display: inline-block;
font-weight: bolder;
font-size: 110%;
}
.btn-helpdesk img {
    display: inline-block;
    margin-top: -15px;
}
.service-info {
    padding: 8px 0;
    color: #e42c1a;
    border: 1px solid #e42c1a;
    border-radius: 4px;
    font-weight: bolder;
    text-align: center;
    font-size: 16px;
    min-height: 50px; 
    line-height: 20px;
    vertical-align: middle;
    position: relative;
    display: inline-block;
    width: 100%;
}
.service-info h5 {
    margin-bottom: 0;
}
.service-info:hover, .service-info:focus, .service-info:active {
    color: #e42c1a;
}
.service-column:hover a.service-info {
    text-decoration: underline;
}
.service-info span, .service-info a {
    vertical-align: middle; 
    display:table-cell;
    font-size:20px;
}
.service-info a:hover {
    text-decoration: underline;
}
.upit-advance {
    margin-bottom: 1.5rem;
    border-radius: 30px;
  position: relative;
   text-align: center;
}
.upit-advance::before, .upit-advance::after {
    content: " ";
    width: calc(50% - 30px);
    width: 50%;
    height: 100%;
    border: 1px solid #e42c1a;
    border-radius: 30px;
    position: absolute;
    top: 0;
    bottom: 0;
}
.button-eshop {
    position: absolute;
    left: 9.18%;
    top: 61.98%;
    border: 1px solid #fff;
    border-radius: 15px !important;
    border-color: #fff;
    display: inline-block;
    font-size: 23px;
    font-weight: bold;
    padding: 12px 22px;
    color: #fff;
}
.dotted-vertical {
    margin-right:30px;
}
.dotted-vertical { 
 content: " ";
 display: inline-block;
 position: absolute;
 width: 1px;
 border-left: 1px dotted #000;
 height: 90%;
 top: 5%;
 left: -3.9394%;
}
.upit-advance::before {
    left: 16px;
    border-right-width: 0;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}
.upit-advance::after {
    right: 16px;
    border-left-width: 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}
.upit-advance h3 {
    font-size: 23px;
    margin-bottom:0;
    line-height: 1.25rem;
}
.upit-advance-wrapper {
    padding: 1.5rem;
}

.upit-advance-wrapper img {
    width: 41px;
    margin-right:15px;
}
.upit-advance-wrapper img~p {
    width: calc(100% - 57px);
    float: left;
}
.upit-advance-title {
    margin: 1px 1px 0;
    padding: 1.25rem 5px;
    border-radius: 30px;
}

.reference-item {
    margin-top: 60px;
    position:relative;
    text-align: center;
}
.reference-item h4 {
    padding: 0 15px;
}
.reference-item::before,.reference-item::after{
    content:" ";
    display: block;
    width: 30px;
    height: 100%;
    position: absolute;
    top: 0;
    bottom:0;
    border-top: 1px solid #e42c1a;
    border-bottom: 1px solid #e42c1a;
    border-radius: 30px;
} 
.reference-item::before {
    left:15px;
    border-left: 1px solid #e42c1a;
   border-bottom-right-radius: 0;
   border-top-right-radius: 0;
}
.reference-item::after{
     right:15px;
    border-right: 1px solid #e42c1a;
    border-bottom-left-radius: 0;
   border-top-left-radius: 0;
}
.reference-item .reference-icon {
    height: 5rem;
    margin-top: -3rem;
    margin-bottom: 1rem;
    width: auto;
}
.reference-item .reference-subtitle {
    color: #979797;
    margin-bottom: 1rem;
}
.reference-item blockquote {
    padding: 1rem 3rem;
    font-style: italic;
    position: relative;
    margin-bottom: 2rem;
}
.reference-item blockquote::after, .reference-item blockquote::before {
    content: " ";
    background: url('../img/slash.svg') bottom center / 100% auto no-repeat;
    width: 2rem;
    height: 2rem;
    display: inline-block;
    color: #979797;
    position: absolute;
    font-size: 2rem;
    vertical-align: middle;
}
.reference-item blockquote::before {
    left: 1.6rem;
bottom: -0.5rem;
}
.reference-item blockquote::after {
    right: 1.0rem;
    top: -0.5rem;
}

.reference-item .more {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    display: block;
    padding: 0 60px;
}
.load-more img {
    margin-left: 0.5em;
}
.load-more.loading {
    padding-left: 38px;
    background: transparent url('../img/ajax-loader.gif') 10px center /24px auto no-repeat;;
}
.support .service-column {
    float: left;
    position: relative;
    padding-left: 0;
    padding-right: 0;
}
.support .service-info {
    border-width: 0;

}
.support .service-image {
    display: block;
    width: auto;
    margin: 0 auto;
    object-fit: cover;
}
.support .service-image-wrapper {
    line-height: calc(100% - 30px);
    height: calc(100% - 30px);
   margin-bottom: 0;
    padding: 0;
  text-align:center; /* Align center inline elements */
  font: 0/0 a;       /* Hide the characters like spaces */
}

.support .service-image-wrapper:before {
  content: ' ';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

.support .service-image-wrapper img {
  vertical-align: middle;
  display: inline-block;
  width: 100%;
}
.support .support-attitude .service-image-wrapper {
    width: 100px;
}
.contact-form {
    font-size: 1.25rem;
}
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #000;
    transition: opacity 250ms ease-in-out;
}
:focus::-webkit-input-placeholder {
  opacity: 0.5;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #000;
   opacity:  1;
   transition: opacity 250ms ease-in-out;
}
:focus::-moz-placeholder {
  opacity: 0.5;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #000;
   opacity:  1;
   transition: opacity 250ms ease-in-out;
}
:focus::-moz-placeholder {
  opacity: 0.5;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    #000;
   transition: opacity 250ms ease-in-out;
}
:focus:-ms-input-placeholder {
  opacity: 0.5;
}
.contact-form input {
    padding: 5px 12px;
    margin-bottom: 1.5rem;
}
.contact-form input[type='checkbox'] {
    display: inline-block;
    padding: 0;
    margin-bottom: 0;
}
.desc-checkbox-kt-contact-form-agreement-1 {
    font-size: 12px;
}
.contact-form .row {
    padding: 0;
    margin: 0;
}
.contact-form {
    margin-bottom: 0;
}
 .contact-form textarea {
    margin-bottom: 1.2rem;
}
.contact-form .submit, .contact-form input[type="submit"] {
    background: #e42c1a url('../img/ic_markunread_24px.svg') 10px center /24px auto no-repeat;
    padding-left:40px;
    float: right;
    cursor: pointer;
}
.validator {
    margin-top: -12px;
    margin-bottom: 24px;
}
.article-title a {
    display: block;
    padding: 0 4%;
    font-weight: 600;
    font-size: 20px;
    line-height:22px;
    min-height: 44px;
}
.article .article-title, .article .image-wrapper {
    margin-bottom: 1.5rem;
}
.upit-features img, .upit-features .img {
    width: 80px;
    margin-right:15px;
}
/*.col-md-6.upit-features:nth-child(1) img, .col-sm-6.upit-features:nth-child(1) img,
.col-md-6.upit-features:nth-child(1) .img, .col-sm-6.upit-features:nth-child(1) .img {
    margin-right:0px;
    margin-left:15px;
}*/
.upit-features p, .upit-features .p {
    margin-top: 1.2rem;
    width: calc(100% - 95px);
    
    float: left;
}
.col-md-6.upit-features:nth-child(1) p, .col-sm-6.upit-features:nth-child(1) .p {
    text-align: right;
}
.upit-features:not(:last-child) {
    padding-right: 30px;
}
.upit-features:not(:last-child):after {
    position: absolute;
    content: " ";
    right: 5px;
    height: 100%;
    width: 20px;
    top: -1.2rem;
    bottom: 1.2rem;
    background: transparent url('../img/rozdelovnik.svg') no-repeat center center / 100% auto; 
}
.upit-features.col-sm-6:not(:last-child):after, .upit-features.col-md-6:not(:last-child):after  {
    right: -5px;
}
h2.image-background {
    height: 154px;
    line-height: 100%;
    max-width: 824.33px;
    margin-left:auto;
    margin-right: auto;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin-bottom: 2rem;
}
h2.image-background span, h2.image-background .text {
    display: inline-block;
    line-height: 41px;
    position: relative;
    margin-top: 56px;
    text-indent: 0.5em;
    margin-left: 160px;
    color: #fff;

    font-size: 35px;
    font-weight:700;
}
h2.image-background .text:before {
    display: inline-block;
    content: " ";
    position: absolute;
    left: -154px;
    height: 136px;
    width: 136px;
    top: -47px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.upit-features.upit-features-bez-udrzby img , .upit-features.upit-features-bez-udrzby .img{
    width: 125px;
    margin-right:15px;
}
.upit-features.upit-features-bez-udrzby img~p,.upit-features.upit-features-bez-udrzby .img~p,  .upit-features.upit-features-bez-udrzby p,
.upit-features.upit-features-bez-udrzby img~.p,.upit-features.upit-features-bez-udrzby .img~.p,  .upit-features.upit-features-bez-udrzby .p {
    margin-top: 1.2rem;
    width: calc(100% - 140px);
    
}
.img p, .p p {
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
}
.upit-features-periferie .upit-features p, .upit-features-periferie .upit-features .p {
    margin-top: 0;
}
.upit-features-periferie .upit-features p,.upit-features-periferie .upit-features .p, .upit-features p.margin-top-0 {
    margin-top: 0;
}
.upit-features-periferie .upit-features:nth-child(1) img,.upit-features-periferie .upit-features:nth-child(2) img, .upit-features.big-icon img ,
.upit-features-periferie .upit-features:nth-child(1) .img,.upit-features-periferie .upit-features:nth-child(2) .img, .upit-features.big-icon .img {
    width: 150px;
    display: inline-block;

}
.upit-features-periferie .upit-features:nth-child(1) p,.upit-features-periferie .upit-features:nth-child(2) p,.upit-features.big-icon p, 
.upit-features.upit-features-bez-udrzby img~p,.upit-features.upit-features-bez-udrzby img~.p,  .upit-features.upit-features-bez-udrzby p,
.upit-features-periferie .upit-features:nth-child(1) .p,.upit-features-periferie .upit-features:nth-child(2) .p,.upit-features.big-icon .p, 
.upit-features.upit-features-bez-udrzby img~.p,.upit-features.upit-features-bez-udrzby img~.p,  .upit-features.upit-features-bez-udrzby .p {
    width:calc(100% - 165px);
}
.upit-features.bigger-icon img, .upit-features.bigger-icon .img {
    width: 200px;
}
.upit-features.bigger-icon p ,.upit-features.bigger-icon .p{
    margin-top:  3rem;
    width:calc(100% - 215px);
}
.upit-features.margin-top-big p, .upit-features.margin-top-big .p{
    margin-top: 3rem;
}
h2.image-background.bg-sprava-site {
    background-image: url('../img/backg-sprava-site.png');
}
h2.image-background.bg-sprava-site .text:before {
    background-image: url('../img/main-icon-sprava-site.svg');
}

h2.image-background.bg-sprava-uceben {
    background-image: url('../img/backg-sprava-uceben.png');
}
h2.image-background.bg-sprava-uceben .text:before {
    background-image: url('../img/main-icon-sprava-uceben.svg');
}

h2.image-background.bg-sprava-stanic-a-periferii {
    background-image: url('../img/backg-sprava-stanic-a-periferii.png');
}
h2.image-background.bg-sprava-stanic-a-periferii .text:before {
    background-image: url('../img/main-icon-sprava-stanic-a-periferii.svg');
}

h2.image-background.bg-sprava-uzivatelu {
    background-image: url('../img/backg-sprava-uzivatelu.png');
}
h2.image-background.bg-sprava-uzivatelu .text:before {
    background-image: url('../img/main-icon-sprava-uzivatelu.svg');
}

h2.image-background.bg-sprava-serveru {
    background-image: url('../img/backg-sprava-serveru.png');
}
h2.image-background.bg-sprava-serveru .text:before {
    background-image: url('../img/main-icon-sprava-serveru.svg');
}

h2.image-background.bg-nakup-softwaru {
    background-image: url('../img/backg-nakup-softwaru.png');
}
h2.image-background.bg-nakup-softwaru .text:before {
    background-image: url('../img/main-icon-nakup-software.svg');
}

h2.image-background.bg-skoleni-pedagogu {
    background-image: url('../img/backg-skoleni-pedagogu.png');
}
h2.image-background.bg-skoleni-pedagogu .text:before {
    background-image: url('../img/main-icon-skoleni-pedagogu.svg');
}
h2.image-background.bg-wifi {
    background-image: url('../img/backg-wifi.png');
}
h2.image-background.bg-wifi .text:before {
    background-image: url('../img/main-icon-wifi.svg');
}
/* Správa škol */
.sprava-row, .sprava-row .row {
    display: block;
}
.sprava-row .sprava-row-image-wrapper {
    border: 20px solid #fff;
    position: relative;
    z-index: 1000;
    float:right;
    max-width: 217px;
}
.sprava-row:not(:last-of-type) {
    border-bottom: 2px dotted #e42c1a;
}
.sprava-row .special-red-backgound {
      padding: 5px 50px 5px 108px;
    color: #fff;
    display: inline-block;
    border-radius: 19px;
    margin-left: -102px;
    z-index: 100;
    position: relative;
}

.sprava-row .col-2 .special-red-backgound {
    margin-left: -9%;
    margin-left: -108px;
}
.sprava-row p {
    position: relative;
    padding-bottom: 0.5rem;
}
.sprava-row p:not(:last-of-type):after {
    content: " ";
    position: absolute;
    bottom: 0;
    left: 0;
    display: inline-block;
    width: 40%;
    border-bottom: 1px dotted #707070;
}
.sprava-row.right-aligned p:not(:last-of-type)::after {
    right: 0;
    left: auto;
}
.sprava-row .col-image {
    padding-right: 0;
    width: 217px;
    float:left;
    max-width: none;
    flex: unset;

}
.sprava-row.in-row .col-text p:not(:last-of-type) {
    padding-right: 30px;
}
.sprava-row.in-row .col-text p:not(:last-of-type):after {
    position: absolute;
    content: " ";
    left: auto;
    right: 5px;
    height: 100%;
    width: 20px;
    top: -1.2rem;
    bottom: 1.2rem;
    background: transparent url('../img/rozdelovnik.svg') no-repeat center center / 100% auto; 
    border-bottom: 0;
}
.sprava-row.in-row.right-aligned .col-text p:not(:last-of-type):after {
    right: -5px;
}
.sprava-row .col-text {
    padding-left: 0;
    width: calc( 100% - 217px);
    float:left;
    max-width: none;
    flex: unset;
}
.sprava-row.right-aligned
{
    text-align: right;
}
.sprava-row.right-aligned .col-image {
    padding-right: 15px;
    padding-left: 0;
}
.sprava-row.right-aligned .col-text {
    padding-left: 15px;
    padding-right: 0;
}
.sprava-row.right-aligned .special-red-backgound {
     padding: 5px 102px 5px 50px;
     margin-right: -108px;
     margin-left: auto;
}
/* footer */
#footer {
    margin-top: 50px;
    background-color: #e42c1a;
    color: #fff;
     min-height: 262px;
    position: relative;
    border-top: 3px solid #e42c1a;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
}
#footer a, #footer a:hover {
    color: #fff;
}
#footer .footer-list li {
    margin: 0;
    padding: 0 1rem;
    position: relative;
}
#footer .footer-list li:not(:last-of-type)::after {
    content: " ";
    display: inline-block;
    position: absolute;
    right: -1px;
    margin: 0;
    border-right: 2px solid #fff;
    height: 12px;
    bottom: 5px;

}
#footer .button-top {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 100%;
    border: 2px solid #FFf;
    background: #e42c1a url('../img/ic_chevron_right_24px.svg') center center / 60% no-repeat;
    z-index: 100;
    position: absolute;
    left: 50%;
    left: calc(50% - 24px);
    top: -24px;
    text-align: center;
}
#footer .button-top-wrapper {
    height: 52px;
    margin-top: -27px;
    width: 52px;
    margin-left: auto;
    margin-right: auto;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    border: 3px solid #e42c1a;
}
#footer .top-white {
    border-top: 2px solid #fff;
    margin: 0;
    position: absolute;
    top: 0px;
    width: 100%;
    z-index: 20;
}

#footer .footer-inner {
    overflow: hidden;
}
#footer .footer-wrapper {
    margin: 0 auto 0px;
    padding: 0 15px;
}
#footer .footer-row {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    margin-right: -2%;
    margin-left: -2%;
}
#footer .logo {
    line-height: 100%;
    vertical-align: bottom;
    height: inherit;
    display: block;
    margin-top: auto;
    margin-bottom: 1.5rem;
    padding-right: 0;
    padding-left: 0;
    float: left;
}
#footer img.logo {
    float: none;
}
#footer .logo_link {
    display: inline-block;
    
}
#footer .logo .aligncenter {
    display: block;
}
#footer .logo .row.center .col-6:first-of-type {
    text-align: right;
}
#footer .logo .row.center .col-6:last-of-type {
    text-align: left;
}
.copyright-text {
    text-align: center;
}
.row-sm, .row-md, .row-lg, .row-xl  {
    display: block;
}
/*SM */
@media (min-width: 576px){
    .col-sm-3-2 {
        -ms-flex: 0 0 12.5%;
        flex: 0 0 12.5%;
        max-width: 12.5%;
    }
    .text-sm-right {
        text-align: right;
    }
    .row-sm  {
        display: flex;
    }
    
}
/* MD */
@media (min-width: 768px){
    .col-md-3-2 {
      -ms-flex: 0 0 12.5%;
      flex: 0 0 12.5%;
      max-width: 12.5%;
   }
    .row-md  {
        display: flex;
    }
}
/* LG */
@media (min-width: 992px){
    .col-lg-3-2 {
      -ms-flex: 0 0 12.5%;
      flex: 0 0 12.5%;
      max-width: 12.5%;
   }
    .row-lg  {
        display: flex;
    }
}
/* XL */
@media (min-width: 1200px){
    .col-xl-3-2 {
        -ms-flex: 0 0 12.5%;
        flex: 0 0 12.5%;
        max-width: 12.5%;
     }
     .row-xl  {
        display: flex;
    }
}
@media (max-width: 1199px){
    .row.row-xl {
        display: block;
    }
    .service-info a {
        font-size: 18px;
    }
}
/* XXl vlastní */
@media (max-width: 1554px){
    #main, section  {
         overflow-x: hidden;
     }
}
/* lg fix */
@media (max-width: 991px){
    .header-wrapper .logo-wrapper .small-logo {
        height: 36px;
        width: auto;
        margin-bottom: 5px;
    }
    .home #header .header-logo-wrapper, .header-wrapper, #main, #footer .footer-wrapper  {
        width: 100%;
     }
    .menu-wrapper {
        position: absolute;
        top: 30px;
        background-color: #e42c1a;
        z-index: 100;
        left: -10px;
        right: -10px;
        padding: 0 10px;
    }
    .home .menu-wrapper {
        top: 80px;
    }
    .menu-wrapper .header-menu, .menu-wrapper .header-menu ul {
        width: 100%;
    }
    .menu-wrapper .menu-item {
        width: 100%;
        display: block;
        border-bottom: 1px solid #fff;
    }
}
@media (max-width: 1200px) and (min-width: 767px){
    .reference-item .reference-icon {
        margin-top: -6rem;
    }
    .reference-item {
        margin-top: 6rem
    }
}/* md fix*/
@media (max-width: 767px){
    #footer .footer-row {
         display: block;
    }
    #header .header-logo-wrapper.has-background {
        background-size: auto 100%;
    }
    #wrapper {
        padding-bottom: 0;
    }
    #footer {
        position: relative;
    }
    .site-subtitle {
        border-top: 0;
    }
}

.col-3-2 {
  -ms-flex: 0 0 12.5%;
  flex: 0 0 12.5%;
  max-width: 12.5%;
 }
 /* sm fix */
  @media (max-width: 767px){
      h2.image-background {
        height: auto;
        min-height: 32px;
        border-top-left-radius: 16px;
        border-bottom-left-radius: 16px;
        background-size: 100% auto;
        overflow: hidden;
        text-align: center;
      }
      h2.image-background span { 
          margin-top: 0;
          line-height: 31px;
          margin-left: 32px;
          font-size: 30px;
      }
      h2.image-background span:before {
          left: -30px;
            height: 28px;
            width: 28px;
            top: 0px;
      }
        .upit-features-periferie .col-md-6.upit-features:nth-child(1) img,.upit-features-periferie .col-md-6.upit-features:nth-child(2) img, .col-md-6.upit-features.big-icon img {
    width: 90px;
}
 .upit-features-periferie .col-md-6.upit-features:nth-child(1) p,.upit-features-periferie .col-md-6.upit-features:nth-child(2) p,.col-md-6.upit-features.big-icon p {
    width:calc(100% - 115px);
}
.col-md-6.upit-features.bigger-icon img {
    width: 120px;
}
.col-md-6.upit-features.bigger-icon p {
    margin-top:  0;
    width:calc(100% - 135px);
}
  .col-md-4.upit-features:not(:last-of-type),.col-md-6.upit-features:not(:last-of-type) {
    padding-right: 15px;
    border-bottom: 2px dotted #707070;
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.col-md-4.upit-features:not(:last-of-type):after, .col-md-6.upit-features:not(:last-child):after {
    display: none;
}
    
  }
 /* xs fix */
 @media (max-width: 575px){
     .col-adress .col-12 {
         padding-left: 0;
         padding-right: 0;
     }
     
     
     .col-sm-6.upit-features-periferie .upit-features:nth-child(1) img,.col-sm-6.upit-features-periferie .upit-features:nth-child(2) img, .col-sm-6.upit-features.big-icon img {
    width: 90px;
}

.col-sm-6.upit-fatures .upit-features-periferie .upit-features:nth-child(1) p, col-sm-6.upit-fatures .upit-features-periferie .upit-features:nth-child(2) p,.col-sm-6.upit-features.big-icon p {
    width:calc(100% - 115px);
}
.col-sm-6.upit-features.bigger-icon img {
    width: 120px;
}
.col-sm-6.upit-features.bigger-icon p {
    margin-top:  0;
    width:calc(100% - 135px);
}
   .col-sm-4.upit-features:not(:last-child),.col-sm-6.upit-features:not(:last-child),.sprava-row.in-row .col-text p.col-sm-4:not(:last-child) {
    padding-right: 15px;
    border-bottom: 2px dotted #707070;
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.col-sm-4.upit-features:not(:last-child):after ,.col-sm-6.upit-features:not(:last-child):after,.sprava-row.in-row .col-text p.col-sm-4:not(:last-child):after {
    display: none;
}

 }
 @media (min-width: 990px) and (max-width: 1600px){
    .service-info {
        min-height: 70px;
    }
}