@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic&subset=latin,latin-ext);


/*@import "http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic&subset=latin,latin-ext";*/
#admin-menu .dropdown li li {
  opacity: 1 !important;
}

@font-face {
  font-family: "FS-Rufus-Regular";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/fs_rufus/fs_rufus-regular-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/fs_rufus/fs_rufus-regular-webfont.woff") format("woff"), url("fonts/fs_rufus/fs_rufus-regular-webfont.ttf") format("truetype"), url("fonts/fs_rufus/fs_rufus-regular-webfont.svg#FS-Rufus-Regular") format("svg");
}

@font-face {
  font-family: "FS-Rufus-Italic";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/fs_rufus/fs_rufus-italic-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/fs_rufus/fs_rufus-italic-webfont.woff") format("woff"), url("fonts/fs_rufus/fs_rufus-italic-webfont.ttf") format("truetype"), url("fonts/fs_rufus/fs_rufus-italic-webfont.svg#FS-Rufus-Italic") format("svg");
}

@font-face {
  font-family: "FS-Rufus-Light";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/fs_rufus/fs_rufus-light-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/fs_rufus/fs_rufus-light-webfont.woff") format("woff"), url("fonts/fs_rufus/fs_rufus-light-webfont.ttf") format("truetype"), url("fonts/fs_rufus/fs_rufus-light-webfont.svg#FS-Rufus-Light") format("svg");
}

@font-face {
  font-family: "FS-Rufus-Light-Italic";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/fs_rufus/fs_rufus-light_italic-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/fs_rufus/fs_rufus-light_italic-webfont.woff") format("woff"), url("fonts/fs_rufus/fs_rufus-light_italic-webfont.ttf") format("truetype"), url("fonts/fs_rufus/fs_rufus-light_italic-webfont.svg#FS-Rufus-Light-Italic") format("svg");
}

@font-face {
  font-family: "FS-Rufus-Bold";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/fs_rufus/fs_rufus-bold-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/fs_rufus/fs_rufus-bold-webfont.woff") format("woff"), url("fonts/fs_rufus/fs_rufus-bold-webfont.ttf") format("truetype"), url("fonts/fs_rufus/fs_rufus-bold-webfont.svg#FS-Rufus-Bold") format("svg");
}

@font-face {
  font-family: "FS-Rufus-Bold-Italic";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/fs_rufus/fs_rufus-bold_italic-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/fs_rufus/fs_rufus-bold_italic-webfont.woff") format("woff"), url("fonts/fs_rufus/fs_rufus-bold_italic-webfont.ttf") format("truetype"), url("fonts/fs_rufus/fs_rufus-bold_italic-webfont.svg#FS-Rufus-Bold-Italic") format("svg");
}

@font-face {
  font-family: "TheSans-OT2ExtraLight";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/the_sans/thesans-ot2extralight-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/the_sans/thesans-ot2extralight-webfont.woff") format("woff"), url("fonts/the_sans/thesans-ot2extralight-webfont.ttf") format("truetype"), url("fonts/the_sans/thesans-ot2extralight-webfont.svg#TheSans-OT2ExtraLight") format("svg");
}

@font-face {
  font-family: "TheSans-OT2ExtraLightItalic";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/the_sans/thesans-ot2extralightitalic-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/the_sans/thesans-ot2extralightitalic-webfont.woff") format("woff"), url("fonts/the_sans/thesans-ot2extralightitalic-webfont.ttf") format("truetype"), url("fonts/the_sans/thesans-ot2extralightitalic-webfont.svg#TheSans-OT2ExtraLightItalic") format("svg");
}

@font-face {
  font-family: "TheSans-OT3Light";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/the_sans/thesans-ot3light-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/the_sans/thesans-ot3light-webfont.woff") format("woff"), url("fonts/the_sans/thesans-ot3light-webfont.ttf") format("truetype"), url("fonts/the_sans/thesans-ot3light-webfont.svg#TheSans-OT3Light") format("svg");
}

@font-face {
  font-family: "TheSans-OT3LightItalic";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/the_sans/thesans-ot3lightitalic-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/the_sans/thesans-ot3lightitalic-webfont.woff") format("woff"), url("fonts/the_sans/thesans-ot3lightitalic-webfont.ttf") format("truetype"), url("fonts/the_sans/thesans-ot3lightitalic-webfont.svg#TheSans-OT3LightItalic") format("svg");
}

@font-face {
  font-family: "TheSans-OT4SemiLight";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/the_sans/thesans-ot4semilight-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/the_sans/thesans-ot4semilight-webfont.woff") format("woff"), url("fonts/the_sans/thesans-ot4semilight-webfont.ttf") format("truetype"), url("fonts/the_sans/thesans-ot4semilight-webfont.svg#TheSans-OT4SemiLight") format("svg");
}

@font-face {
  font-family: "TheSans-OT4SemiLightItalic";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/the_sans/thesans-ot4semilightitalic-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/the_sans/thesans-ot4semilightitalic-webfont.woff") format("woff"), url("fonts/the_sans/thesans-ot4semilightitalic-webfont.ttf") format("truetype"), url("fonts/the_sans/thesans-ot4semilightitalic-webfont.svg#TheSans-OT4SemiLightItalic") format("svg");
}

@font-face {
  font-family: "TheSans-OT5Plain";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/the_sans/thesans-ot5plain-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/the_sans/thesans-ot5plain-webfont.woff") format("woff"), url("fonts/the_sans/thesans-ot5plain-webfont.ttf") format("truetype"), url("fonts/the_sans/thesans-ot5plain-webfont.svg#TheSans-OT5Plain") format("svg");
}

@font-face {
  font-family: "TheSans-OT5PlainItalic";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/the_sans/thesans-ot5plainitalic-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/the_sans/thesans-ot5plainitalic-webfont.woff") format("woff"), url("fonts/the_sans/thesans-ot5plainitalic-webfont.ttf") format("truetype"), url("fonts/the_sans/thesans-ot5plainitalic-webfont.svg#TheSans-OT5PlainItalic") format("svg");
}

@font-face {
  font-family: "TheSans-OT6SemiBold";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/the_sans/thesans-ot6semibold-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/the_sans/thesans-ot6semibold-webfont.woff") format("woff"), url("fonts/the_sans/thesans-ot6semibold-webfont.ttf") format("truetype"), url("fonts/the_sans/thesans-ot6semibold-webfont.svg#TheSans-OT6SemiBold") format("svg");
}

@font-face {
  font-family: "TheSans-OT6SemiBoldItalic";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/the_sans/thesans-ot6semibolditalic-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/the_sans/thesans-ot6semibolditalic-webfont.woff") format("woff"), url("fonts/the_sans/thesans-ot6semibolditalic-webfont.ttf") format("truetype"), url("fonts/the_sans/thesans-ot6semibolditalic-webfont.svg#TheSans-OT6SemiBoldItalic") format("svg");
}

@font-face {
  font-family: "TheSans-OT7Bold";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/the_sans/thesans-ot7bold-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/the_sans/thesans-ot7bold-webfont.woff") format("woff"), url("fonts/the_sans/thesans-ot7bold-webfont.ttf") format("truetype"), url("fonts/the_sans/thesans-ot7bold-webfont.svg#TheSans-OT7Bold") format("svg");
}

@font-face {
  font-family: "TheSans-OT7BoldItalic";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/the_sans/thesans-ot7bolditalic-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/the_sans/thesans-ot7bolditalic-webfont.woff") format("woff"), url("fonts/the_sans/thesans-ot7bolditalic-webfont.ttf") format("truetype"), url("fonts/the_sans/thesans-ot7bolditalic-webfont.svg#TheSans-OT7BoldItalic") format("svg");
}

@font-face {
  font-family: "TheSans-OT8ExtraBold";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/the_sans/thesans-ot8extrabold-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/the_sans/thesans-ot8extrabold-webfont.woff") format("woff"), url("fonts/the_sans/thesans-ot8extrabold-webfont.ttf") format("truetype"), url("fonts/the_sans/thesans-ot8extrabold-webfont.svg#TheSans-OT8ExtraBold") format("svg");
}

@font-face {
  font-family: "TheSans-OT8ExtraBoldItalic";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/the_sans/thesans-ot8extrabolditalic-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/the_sans/thesans-ot8extrabolditalic-webfont.woff") format("woff"), url("fonts/the_sans/thesans-ot8extrabolditalic-webfont.ttf") format("truetype"), url("fonts/the_sans/thesans-ot8extrabolditalic-webfont.svg#TheSans-OT8ExtraBoldItalic") format("svg");
}

@font-face {
  font-family: "TheSans-OT9Black";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/the_sans/thesans-ot9black-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/the_sans/thesans-ot9black-webfont.woff") format("woff"), url("fonts/the_sans/thesans-ot9black-webfont.ttf") format("truetype"), url("fonts/the_sans/thesans-ot9black-webfont.svg#TheSans-OT9Black") format("svg");
}

@font-face {
  font-family: "TheSans-OT9BlackItalic";
  font-style: normal;
  font-weight: normal;
  src: url("fonts/the_sans/thesans-ot9blackitalic-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/the_sans/thesans-ot9blackitalic-webfont.woff") format("woff"), url("fonts/the_sans/thesans-ot9blackitalic-webfont.ttf") format("truetype"), url("fonts/the_sans/thesans-ot9blackitalic-webfont.svg#TheSans-OT9BlackItalic") format("svg");
}

body {
  background-color: #f2f2f2;
  color: #2c2c2c;
  font-family: "Open Sans", sans-serif !important;
  font-size: 12px;
  height: 100%;
  line-height: 120%;
  min-height: 100%;
  word-wrap: break-word;
}

body.front {
  background: url("../images/hp_bg.jpg") repeat-x left top #fff;
}

body.front h1.page-title,
body.domain-memsep-dev3-cz h1.page-title,
body.domain-www-memsep-cz h1.page-title {
  display: none;
}

body.domain-memsep-dev3-cz.page-node-1201 #my-custom-accordion h2,
body.domain-www-memsep-cz.page-node-1277 #my-custom-accordion h2 {
  font-family: "TheSans-OT7Bold";
  font-weight: 400;
}

/*general class*/
.center {
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}

/*table*/
.content table {
  border: 0 none;
}

.content table th {
  background: none repeat scroll 0 0 #f2f2f2;
  border: 0 none;
  color: #fff;
  text-shadow: none;
}

.content table td {
  background: none repeat scroll 0 0 #fff;
  border: 1px solid #f2f2f2 !important;
  font-family: "TheSans-OT5Plain";
  line-height: 120%;
  padding: 15px 10px 16px !important;
  font-weight: normal;
  color: #515153;
}

.content .right {
  text-align: right;
}

.content table.primary {
  background: #0c2d75;
}

.content tr.no-border td {
  border-bottom: 0 !important;
}

.content-sidebar-wrap #content table .order td {
  border-top: 0px !important;
  padding: 0 15px 10px 16px !important;
}

.content-sidebar-wrap #content table .order a {
  text-decoration: none;
}

.content table.no-background, .content table.no-background td {
  background: none;
}

.content table.no-border td.primary {
  border: 0px !important;
  padding: 3px 0 !important;
}

.content table.no-border td.secondary {
  border: 0 !important;
  border-bottom: 1px #f2f2f2 solid !important;
  padding: 0 0 10px 0 !important;
}

.easy-breadcrumb a {
  color: #808080;
  font-size: 120%;
}

.easy-breadcrumb {
  display: block;
  margin-bottom: -15px;
  margin-left: 40px;
  margin-right: 40px;
  margin-top: 15px;
}

.easy-breadcrumb a:last-child {
  font-weight: bold;
  color: #2c2c2c;
}

.block > h2 {
  font-family: "TheSans-OT2ExtraLight";
  font-size: 27px;
  font-weight: normal;
  line-height: 120%;
  padding: 0 0 9px;
  color: #2c2c2c;
}

#block-views-slider-block {
  padding: 0;
  /*margin: 0 20px 20px 20px;*/
  width: 100%;
  max-width: 1260px;
}

#block-views-slider-block img {
  border-bottom-left-radius: 30px;
  border-top-right-radius: 30px;
  max-width: 100%;
}

#views_slideshow_cycle_teaser_section_slider-block {
  max-width: 1174px;
  border-bottom-left-radius: 30px;
  border-top-right-radius: 30px;
}

#wrapper {
  background: none repeat scroll 0 0 transparent;
  box-shadow: none;
  max-width: 1260px;
}

/*
#block-views-slider-block .views-row .views-field-title {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.2);
    border-bottom-left-radius: 30px;
    color: #fff;
    display: block;
    font-size: 26px;
    font-weight: bold;
    height: 107px;
    line-height: 34px;
    margin: -170px auto 0;
    max-width: 100%;
    padding: 40px 20px 20px;
    position: relative;
    text-align: center;
    width: 100%;
}*/
#block-views-slider-block .views-slideshow-controls-bottom {
  display: block;
  margin: -30px auto 0;
  max-width: 100%;
  min-width: 50px;
  position: relative;
  width: 20px;
  z-index: 7;
}

#block-views-slider-block > h2 {
  display: none;
}

#block-views-slider-block .views-slideshow-controls-bottom .views-slideshow-pager-field-item {
  background: none repeat scroll 0 0 #ff0000;
  display: inline-block;
  font-size: 0.01pt;
  height: 10px;
  margin: 5px;
  width: 10px;
  cursor: pointer;
}

#veolia-logo:after {
  background: url("../images/sprite.png") no-repeat scroll -20px 0 rgba(0, 0, 0, 0);
  content: " ";
  height: 16px;
  overflow: hidden;
  position: absolute;
  right: -20px;
  top: 0;
  width: 20px;
}

#block-views-slider-block .views-slideshow-controls-bottom .views-slideshow-pager-field-item.active {
  background: #FFF;
}

#logo {
  background: url("../images/logo_bg.jpg") no-repeat scroll center 26px rgba(0, 0, 0, 0);
  display: block;
  float: left;
  height: 74px;
  left: 0;
  padding-top: 25px;
  position: absolute;
  text-align: center;
  top: -36px;
  width: 25%;
  z-index: 90;
}

body.front #logo {
  background: url("../images/logo_bg_dark.png") no-repeat scroll center 26px rgba(0, 0, 0, 0);
}

#over_header_wrapper {
  background: none repeat scroll 0 0 #fff;
  display: block;
  max-height: 40px;
  position: relative;
  width: 100%;
}

#over_header_content {
  display: block;
}

#over_header_content > div > div {
  display: inline-block;
  right: 0;
}

#over_header_content > div > div#block-block-1 {
  color: #f00;
  display: inline-block;
  /*left: 73%;*/
  right: 15% !important;
  line-height: 35px;
  max-height: 35px;
  max-width: 50%;
  overflow: hidden;
  /*position: relative;*/
  position: absolute;
  text-align: right;
}

#over_header_content > div > div#block-search-form {
  display: block;
  float: right;
  height: 35px;
  line-height: 35px;
  width: auto;
}

#over_header_content > div > div#block-search-form input.form-text {
  height: 17px;
  margin-top: 4px;
  width: 60%;
}

.content-sidebar-wrap #content {
  background: none repeat scroll 0 0 transparent;
  box-shadow: none;
}

.content-sidebar-wrap #content a:hover {
  text-decoration: none;
}

.content-sidebar-wrap #content a {
  color: #2c2c2c;
  text-decoration: underline;
}

#under_footer_wrapper {
  background: #2c2c2c;
  color: #FFF;
  padding-top: 10px;
  padding-bottom: 10px;
}

#under_footer_content {
  margin-top: 9px;
  height: 25px;
}

#over_header_content, #under_footer_content {
  padding: 0 45px;
}

#under_footer_wrapper a {
  color: #FFF;
  font-size: 12px;
  font-weight: bold;
}

#under_footer_wrapper a:hover {
  color: #F00;
}


/* TB MEGA MENU*/

#block-tb-megamenu-main-menu {
  background: none repeat scroll 0 0 transparent;
  display: inline-block;
  position: relative;
  width: 73%;
  margin-top: 15px;
}

#block-tb-megamenu-main-menu #tb-megamenu-main-menu a {
  border: 0 none;
  border-bottom-right-radius: 7px;
  border-top-left-radius: 7px;
  color: #2c2c2c;
  font-size: 14px;
  height: 5px;
  line-height: 5px;
  max-height: 18px;
  transition-duration: 0.2s;
  transition-property: color, background-size;
}

#tb-megamenu-main-menu {
  background: none repeat scroll 0 0 transparent;
}

#block-tb-megamenu-main-menu #tb-megamenu-main-menu a:hover {
  background: none repeat scroll 0 0 #2c2c2c;
  color: #fff;
}

#block-tb-megamenu-main-menu .btn.btn-navbar.tb-megamenu-button {
  background: none;
  border: 0;
  color: #3d3d3d;
  font-size: 24px;
  outline: none;
}

body.front .tb-megamenu .nav li.dropdown.active > .dropdown-toggle,
body.front .tb-megamenu .nav li.dropdown.open.active > .dropdown-toggle,
body.front .tb-megamenu .nav > li.dropdown.open.active > a:hover {
  background-color: #3a3a3a;
  border-color: #444;
  color: #fff;
}

.tb-megamenu .nav li.dropdown.active > .dropdown-toggle,
.tb-megamenu .nav li.dropdown.open.active > .dropdown-toggle,
.tb-megamenu .nav > li.dropdown.open.active > a:hover {
  background-color: #3a3a3a;
  border-color: #444;
  color: #2c2c2c;
}

body.front #block-tb-megamenu-main-menu #tb-megamenu-main-menu a,
#block-tb-megamenu-main-menu #tb-megamenu-main-menu .collapse a {
  color: #fff;
}

.tb-megamenu .mega-nav > li:first-child > a, .tb-megamenu .dropdown-menu .mega-nav > li:first-child > a {
  color: #2c2c2c !important;
  margin-top: 0;
  padding-top: 0;
}

.tb-megamenu .nav > li > a {
  border-right: 1px solid #222;
  border-top: 0 none;
  color: #fff;
  font-weight: bold;
  padding: 15px 5px !important;
  text-shadow: none;
}

#logo {

}

/* submenu */
/*#block-tb-megamenu-main-menu > div > #tb-megamenu-main-menu > div > ul > li:nth-child(1) a {
    display: inline-block;
    margin-left: 82% !important;
}*/
#block-tb-megamenu-main-menu > div > #tb-megamenu-main-menu > div > ul > li:nth-child(1) {
  display: inline-block;
  /*margin-left: 27% !important;*/
}

.tb-megamenu .nav, .tb-megamenu .tb-block ul, .tb-megamenu .tb-block .nav {
  float: right;
  margin-right: 60px;
}

#block-tb-megamenu-main-menu {
  width: 100%;
}

#block-tb-megamenu-main-menu > div > #tb-megamenu-main-menu > div > ul > li > div {
  padding: 40px 10px;
  background: #fafafa;
}

#block-tb-megamenu-main-menu > div > #tb-megamenu-main-menu > div > ul > li a {
  background: none repeat scroll 0 0 transparent;
}

#block-tb-megamenu-main-menu > div > #tb-megamenu-main-menu > div > ul > li a:hover,
#block-tb-megamenu-main-menu #tb-megamenu-main-menu .collapse a.tb-megamenu-clicked {
  background: none repeat scroll 0 0 #fff;
  color: #666;
}

#block-tb-megamenu-main-menu > div > #tb-megamenu-main-menu > div > ul > li li a {
  color: #666 !important;
  font-size: 17px !important;
  line-height: 17px;
  background: transparent;
}

#block-tb-megamenu-main-menu > div > #tb-megamenu-main-menu > div > ul > li li a:hover {
  color: #2c2c2c;
  font-weight: bold;
  background: transparent;
}

/*button*/
.btn {
  border: none;
  border-radius: 0;
  text-shadow: none;
  font-weight: normal;
}

.btn-secondary {
  margin: 5px 14px 30px 0;
  padding: 5px 35px 7px 10px;
  text-align: right;
  font-size: inherit;
  background: #d7001b url('../images/arrow-right.gif') 100% 50% no-repeat;
  color: #fff;
  box-shadow: none;
}

.btn-secondary:hover {
  border-radius: 0;
  background: #df0924 url('../images/arrow-right.gif') 100% 50% no-repeat;
  box-shadow: none;
}

#aktuality_wrapper.veoliaenergia-hp {
  display: block;
  float: left;
  height: 100%;
  width: 33%;
  margin: 4px;
  overflow: hidden;
  vertical-align: top;
}

#veolia-energia-rozcestnik,
#block-block-9,
#block-block-8 {
  display: block;
  float: left;
  margin: 5px 5px 4px 4px;
  width: 24%;
}

#veolia-energia-rozcestnik.veoliaenergia-hp .content,
#aktuality_wrapper.veoliaenergia-hp .content,
#block-block-9.veoliaenergia-hp .content {
  height: 401px;
}


/* rozcestník */
#veolia-energia-rozcestnik img {
  box-sizing: border-box;
  width: 100%;
}

#veolia-energia-rozcestnik a {
  display: block;
}

#aktuality_wrapper.veoliaenergia-hp {
  border-bottom-left-radius: 30px;
  display: inline-block;
  height: 100%;
  overflow: hidden;
  vertical-align: top;
}


/* d line */
#block-block-9.d_line {
  overflow: hidden;
}

.d_line__imagelink {
  display: block;
  text-align: center;
}

.d_line__imagelink img {
  max-width: 95%;
  height: auto;
}

.block-item-right-panel img {
  box-sizing: border-box;
}

.block-item-right-panel {
  margin-bottom: 5%;
}

.block-item-right-panel:last-child {
  margin: 0;
}

#block-block-8 .content, #veolia-energia-rozcestnik .content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.d-line-wrapper {
  border: #EEE 1px solid;
  width: 100%;
  height: 100%;
  padding: 5px;
  box-sizing: border-box;
}

.d-line-wrapper a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.d-line-wrapper a img {
  padding: 0;
  background: none;
  border: 0;
  box-sizing: border-box;
}

/* veolia hp content */
#block-views-novinky-a-novinky-titulka-block.veoliaenergia-hp {
  display: block;
  float: left;
  width: 75%;
}

#block-views-novinky-a-novinky-titulka-block.veoliaenergia-hp .views-row {
  box-sizing: border-box;
  display: block;
  float: left;
  margin: 0;
  padding: 4px;
  width: 33%;
}

/* novinky */
#block-views-novinky-a-novinky-titulka-block {
  display: block;
  float: left;
  width: 75%;
}

#block-views-novinky-a-novinky-titulka-block h2 {
  display: none;
}

#block-views-novinky-a-novinky-titulka-block .views-row {
  display: inline-block;
  width: 30%;
  margin: 5px;
}

#block-views-novinky-a-novinky-titulka-block .views-field-field-novinky-obrazok {
  display: block;
  height: 157px;
  margin: 0;
  overflow: hidden;
  padding: 0;
  vertical-align: top;
  width: 100%;
  border-top-right-radius: 25px;
}

#block-views-novinky-a-novinky-titulka-block .views-field-field-novinky-obrazok img {
  width: 100%;
  vertical-align: top;
}

#block-views-novinky-a-novinky-titulka-block .views-field-field-novinky-obrazok img:hover {
  transform: scale(1.2);
  transition: transform 1s ease 0s;
}

#block-views-novinky-a-novinky-titulka-block .views-field-field-novinky-obrazok > div > div > strong {
  background: none repeat scroll 0 0 transparent;
  display: none;
  margin: 0;
  padding: 0;
}

#block-views-novinky-a-novinky-titulka-block .views-field-field-novinky-obrazok > div, #block-views-novinky-a-novinky-titulka-block .views-field-field-novinky-obrazok > div > div {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

#block-views-novinky-a-novinky-titulka-block .views-field-field-novinky-obrazok > div > div {
  background: none repeat scroll 0 0 transparent;
}

#block-views-novinky-a-novinky-titulka-block .views-field-title {
  background: url("../images/sprite_white_small.png") no-repeat scroll center top transparent;
  color: #fff;
  font-size: 14px;
  height: 40px;
  margin-top: 3px;
  max-height: 40px;
  overflow: hidden;
  padding: 35px 2% 0;
}

#block-views-novinky-a-novinky-titulka-block .views-field-title a {
  color: #fff;
  font-weight: bold;
}

#block-views-novinky-a-novinky-titulka-block .views-field-body {
  color: #fff;
  min-height: 150px;
  padding: 0 2% 10px;
  line-height: 180%;
}

#wrapper {
  background: none repeat scroll 0 0 transparent;
  box-shadow: none;
}

#content .view-content .views-row .views-field .field-content {
  display: inline-block;
}

.view-novinky-pravy-sloupec .field-content {
  display: inline !important;
}

#block-views-novinky-a-novinky-titulka-block .views-field-field-novinky-odkaz a:hover {
  font-weight: bold;
  text-decoration: underline;
}

#block-views-novinky-a-novinky-titulka-block .views-field-field-novinky-odkaz {
  border-bottom-left-radius: 25px;
}

#block-views-novinky-a-novinky-titulka-block .views-field-field-novinky-odkaz a {
  color: #fff;
  font-weight: bold;
}

#block-views-novinky-a-novinky-titulka-block .views-field-field-novinky-odkaz {
  background: url("../images/sprite_bottom.png") no-repeat scroll center bottom / cover transparent;
  font-size: 13px;
  height: 45px;
  line-height: 45px;
  text-align: center;
}

/*#block-views-slider-block .views-row .views-field-title {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.2);
    border-bottom-left-radius: 30px;
    color: #fff;
    display: block;
    font-size: 26px;
    font-weight: bold;
    height: 107px;
    line-height: 34px;
    margin: -170px auto 0;
    max-width: 100%;
    padding: 40px 20px 20px;
    position: relative;
    text-align: center;
    width: 100%;
}*/
#block-views-slider-block .views-row {
  display: block;
  max-width: 1260px;
  overflow: hidden;
  width: 100% !important;
}

#block-views-slider-block .views-row .views-field-title {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0.2);
  border-bottom-left-radius: 30px;
  color: #fff;
  display: block;
  font-size: 26px;
  font-weight: bold;
  height: 107px;
  line-height: 34px;
  margin: -170px auto 0;
  max-width: 97%;
  padding: 40px 20px 20px;
  position: relative;
  text-align: center;
  width: 100%;
}

#block-views-slider-block .views-slideshow-controls-bottom {
  display: block;
  margin: -30px auto 0;
  min-width: 145px;
  position: relative;
  width: 100%;
  z-index: 7;
}

#block-views-novinky-a-novinky-titulka-block .views-row:nth-child(1) .views-field-title,
#block-views-novinky-a-novinky-titulka-block .views-row:nth-child(1) .views-field-body,
#block-views-novinky-a-novinky-titulka-block .views-row:nth-child(1) .views-field-field-novinky-odkaz {
  background-color: #efca00;
}

#block-views-novinky-a-novinky-titulka-block .views-row:nth-child(2) .views-field-title,
#block-views-novinky-a-novinky-titulka-block .views-row:nth-child(2) .views-field-body,
#block-views-novinky-a-novinky-titulka-block .views-row:nth-child(2) .views-field-field-novinky-odkaz {
  background-color: #f08f75;
}

#block-views-novinky-a-novinky-titulka-block .views-row:nth-child(3) .views-field-title,
#block-views-novinky-a-novinky-titulka-block .views-row:nth-child(3) .views-field-body,
#block-views-novinky-a-novinky-titulka-block .views-row:nth-child(3) .views-field-field-novinky-odkaz {
  background-color: #e09f25;
}

#block-views-novinky-a-novinky-titulka-block .views-row:nth-child(4) .views-field-title,
#block-views-novinky-a-novinky-titulka-block .views-row:nth-child(4) .views-field-body,
#block-views-novinky-a-novinky-titulka-block .views-row:nth-child(4) .views-field-field-novinky-odkaz {
  background-color: #dbb4b7;
}

#block-views-novinky-a-novinky-titulka-block .views-row:nth-child(5) .views-field-title,
#block-views-novinky-a-novinky-titulka-block .views-row:nth-child(5) .views-field-body,
#block-views-novinky-a-novinky-titulka-block .views-row:nth-child(5) .views-field-field-novinky-odkaz {
  background-color: #b6d9b7;
}

#block-views-novinky-a-novinky-titulka-block .views-row:nth-child(6) .views-field-title,
#block-views-novinky-a-novinky-titulka-block .views-row:nth-child(6) .views-field-body,
#block-views-novinky-a-novinky-titulka-block .views-row:nth-child(6) .views-field-field-novinky-odkaz {
  background-color: #d9c594;
}

/* first sidebar */
.sidebar-first .block-menu-block .menu-block-wrapper {
  border-right: 1px solid #808080;
  color: #2c2c2c;
  font-family: "TheSans-OT7Bold";
  font-weight: normal;
  padding-right: 20px;
  transition: color 0.2s ease-in-out 0s;
  font-size: 18px;
}

.sidebar-first .block-menu-block .menu-block-wrapper ul {
  font-family: "TheSans-OT7Bold";
  line-height: 120%;
  list-style: outside none none;
}

.sidebar-first .block-menu-block .menu-block-wrapper ul li {
  list-style: outside none none;
  padding: 9px 0 0;
}

.sidebar-first .block-menu-block .menu-block-wrapper ul > li > a {
  color: #2c2c2c;
}

.sidebar-first .block-menu-block .menu-block-wrapper ul ul a {
  display: block !important;
  font-family: "TheSans-OT3Light";
  font-weight: normal;
  font-size: 95%;
}

.sidebar-first .block-menu-block .menu-block-wrapper ul ul a:hover {
  font-weight: bold;
}

/* service links */
.service-links {
  display: inline-block;
  height: auto;
  min-height: 18px;
  width: 100%;
}

.service-links a {
  display: inline-block;
  float: left;
  margin: 10px;
  max-width: 30%;
  width: 90px;
}

.service-links li {
  list-style: outside none none;
  padding: 0;
}

.service-links ul {
  padding: 0;
}


.service-links .content-sidebar-wrap #content a {
  color: #2c2c2c;
  text-decoration: underline;
}

.service-links .links li a {
  background-color: transparent;
  border-radius: 0;
  color: #100100;
  font-weight: normal;
  height: auto;
  padding: 0;
  text-shadow: 1px 1px #fff;
  width: auto;
}

.service-links a {
  display: inline-block;
  float: left;
  margin: 2px 5px;
  max-width: 30%;
}


/* language switcher */
#block-locale-language {
  display: inline-block !important;
  margin-top: 10px;
  position: absolute;
  right: 30% !important;
}

#block-locale-language h2 {
  display: none;
}

#block-locale-language ul {
  padding: 0;
  margin: 0;
}

#block-locale-language li {
  list-style: none;
  display: inline;
  line-height: 12px;
  font-size: 12px;
  vertical-align: baseline;
}

#block-locale-language a {
  color: #2c2c2c;
  padding: 0 5px;
}

#block-locale-language a:hover {
  text-decoration: underline;
  color: #aaa;
}

#block-locale-language a.active {
  font-weight: bold;
  font-size: 12px;
}

h1.page-title {
  color: #f00;
  font-family: "FS-Rufus-Italic";
  font-size: 37px;
  font-weight: normal;
  line-height: 145%;
  display: block;
  margin: 16px 0 20px;
}

.content.node-page {
  font-family: "TheSans-OT5Plain";
  font-size: 15px;
  font-weight: normal;
  line-height: 27px;
  text-align: justify;
}


/* accordion */
/* accordion */
#my-custom-accordion {
  background: #FFF;
  margin: 0;
  padding: 0;
}

#my-custom-accordion-wrapper {
  background: #eaeaea;
  display: none;
  padding: 5px;
}

#my-custom-accordion h2 {
  background: url("../images/small_arrow_down_black.png") no-repeat scroll 99% 20px #fff;
  border-bottom: 1px solid #eee;
  display: block;
  font-size: 120%;
  font-weight: normal;
  margin-bottom: 0px;
  padding: 10px 5px;
  padding-right: 40px;
}

#my-custom-accordion h2.up {
  background: url("../images/small_arrow_up_black.png") no-repeat scroll 99% 20px #fff;
}

#my-custom-accordion h2:hover {
  cursor: pointer;
}

.sidebar-first .block-menu-block h2 a {
  color: #2c2c2c;
}

.sidebar-first .block-menu-block li.active-trail.active a.active-trail {
  font-family: "TheSans-OT7Bold";
  font-weight: normal;
  color: #f00;
}

.tb-megamenu .mega-nav > li, .tb-megamenu .dropdown-menu .mega-nav > li {
  margin-bottom: 7px;
}

.asset {
  background-color: transparent;
  border: 0;
}

.asset-accordion {
  padding: 0px;
}

.content.node-page .asset-wrapper.asset-image strong {
  display: none;
}

.content.node-page .asset-wrapper.asset-video object {
  width: 100%;
}

.content.node-page .asset-wrapper.asset-video strong {
  display: none;
}

.asset-obrazok-big-screen {
  display: block;
  width: 100%;
  height: auto;
  max-height: 450px;
  overflow: hidden;
  margin: 0 0 10px 0;
}

.asset-obrazok-big-screen div {
  padding: 0;
}

.asset-obrazok-big-screen img {
  width: 100%;
  height: auto;
}

.asset-wrapper.asset-image strong {
  display: none !important;
}

/* custom template box */
#my-custom-box {
  background: none repeat scroll 0 0 #f5f5f5;
  border: 1px solid #ddd;
  display: inline-block;
  height: auto;
  margin: 0;
  max-width: 100%;
  min-width: 100%;
  position: relative;
  width: auto;
}

#my-custom-box-wrapper {
  padding: 15px;
}

#my-custom-box-wrapper img {
  padding: 0 15px 15px;
  max-width: 25%;
  display: inline-block !important;
  float: right;
}

/* galeria slider top stranka */
#block-views-galeria-block {
  display: block;
  max-width: 100% !important;
  overflow: hidden;
  padding: 0;
  position: relative;
}

#block-views-galeria-block #views_slideshow_controls_text_galeria-block .views_slideshow_controls_text_previous {
  display: block;
  height: 99.5%;
  position: absolute;
  top: 0;
  width: 60px;
  z-index: 15;
  font-size: 0.001pt;
  background: url("../images/small_arrow_left_white.png") no-repeat center center rgba(0, 0, 0, 0.2);
}

#block-views-galeria-block #views_slideshow_controls_text_galeria-block .views_slideshow_controls_text_previous:hover {
  background: url("../images/small_arrow_left_white.png") no-repeat center center rgba(239, 202, 00, 0.6);
}

#block-views-galeria-block #views_slideshow_controls_text_galeria-block .views_slideshow_controls_text_pause {
  display: none;
}

#block-views-galeria-block #views_slideshow_controls_text_galeria-block .views_slideshow_controls_text_next {
  display: block;
  float: right;
  position: absolute;
  top: 0;
  width: 60px;
  z-index: 15;
  right: 0;
  height: 99.5%;
  font-size: 0.001pt;
  background: url("../images/small_arrow_right_white.png") no-repeat center center rgba(0, 0, 0, 0.2);
}

#block-views-galeria-block #views_slideshow_controls_text_galeria-block .views_slideshow_controls_text_next:hover {
  background: url("../images/small_arrow_right_white.png") no-repeat center center rgba(19, 156, 69, 0.6);
}


/* side push */
.my-custom-side-push {
  display: inline-block;
  max-width: 29%;
  margin: 25px 1% 10px 1%;
}

.my-custom-side-push .my-custom-side-push-text {
  background: url("../images/sprite_white_small.png") no-repeat scroll center top transparent;
  border-top: 5px solid #ffffff;
  margin-top: 0;
  min-height: 140px;
  max-height: 140px;
  padding: 25px 10px 10px 10px;
}

.my-custom-side-push .my-custom-side-push-img {
  height: auto;
  max-height: 161px;
  overflow: hidden;
  width: 100% !important;
  border-top-right-radius: 35px;
}

.my-custom-side-push .my-custom-side-push-link {
  text-align: center;
  background: url("../images/sprite_bottom.png") no-repeat scroll center bottom / cover transparent;
  height: 35px;
  padding-top: 13px;
  color: #FFF;
  border-bottom-left-radius: 35px;
}

.my-custom-side-push .my-custom-side-push-img img {
  transform: scale(1);
}

.my-custom-side-push .my-custom-side-push-img img:hover {
  transform: scale(1.1);
  transition: transform 1s;
}

.my-custom-side-push .my-custom-side-push-link a {
  color: #FFF !important;
}

.my-custom-side-push .my-custom-side-push-img .asset {
  padding: 0;
}

.my-custom-side-push:nth-child(1) > .my-custom-side-push-wrapper > .my-custom-side-push-text,
.my-custom-side-push:nth-child(1) > .my-custom-side-push-wrapper > .my-custom-side-push-link,
.my-custom-side-push:nth-child(7) > .my-custom-side-push-wrapper > .my-custom-side-push-text,
.my-custom-side-push:nth-child(7) > .my-custom-side-push-wrapper > .my-custom-side-push-link {
  background-color: #efca00;
}

.my-custom-side-push:nth-child(2) > .my-custom-side-push-wrapper > .my-custom-side-push-text,
.my-custom-side-push:nth-child(2) > .my-custom-side-push-wrapper > .my-custom-side-push-link,
.my-custom-side-push:nth-child(8) > .my-custom-side-push-wrapper > .my-custom-side-push-text,
.my-custom-side-push:nth-child(8) > .my-custom-side-push-wrapper > .my-custom-side-push-link {
  background-color: #f08f75;
}

.my-custom-side-push:nth-child(3) > .my-custom-side-push-wrapper > .my-custom-side-push-text,
.my-custom-side-push:nth-child(3) > .my-custom-side-push-wrapper > .my-custom-side-push-link,
.my-custom-side-push:nth-child(9) > .my-custom-side-push-wrapper > .my-custom-side-push-text,
.my-custom-side-push:nth-child(9) > .my-custom-side-push-wrapper > .my-custom-side-push-link {
  background-color: #e09f25;
}

.my-custom-side-push:nth-child(4) > .my-custom-side-push-wrapper > .my-custom-side-push-text,
.my-custom-side-push:nth-child(4) > .my-custom-side-push-wrapper > .my-custom-side-push-link,
.my-custom-side-push:nth-child(10) > .my-custom-side-push-wrapper > .my-custom-side-push-text,
.my-custom-side-push:nth-child(10) > .my-custom-side-push-wrapper > .my-custom-side-push-link {
  background-color: #dbb4b7;
}

.my-custom-side-push:nth-child(5) > .my-custom-side-push-wrapper > .my-custom-side-push-text,
.my-custom-side-push:nth-child(5) > .my-custom-side-push-wrapper > .my-custom-side-push-link,
.my-custom-side-push:nth-child(11) > .my-custom-side-push-wrapper > .my-custom-side-push-text,
.my-custom-side-push:nth-child(11) > .my-custom-side-push-wrapper > .my-custom-side-push-link {
  background-color: #b6d9b7;
}

.my-custom-side-push:nth-child(6) > .my-custom-side-push-wrapper > .my-custom-side-push-text,
.my-custom-side-push:nth-child(6) > .my-custom-side-push-wrapper > .my-custom-side-push-link,
.my-custom-side-push:nth-child(12) > .my-custom-side-push-wrapper > .my-custom-side-push-text,
.my-custom-side-push:nth-child(12) > .my-custom-side-push-wrapper > .my-custom-side-push-link {
  background-color: #d9c594;
}


#block-jquery-countdown-timer-jquery-countdown-timer {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0.6);
  bottom: 16px;
  display: block;
  height: 70px;
  position: fixed;
  z-index: 999;
  width: 230px;
  right: 0;
}

#block-jquery-countdown-timer-jquery-countdown-timer div {
  font-size: 10px !important;
  max-width: 230px;
}

#block-jquery-countdown-timer-jquery-countdown-timer h2 {
  color: #fff;
  text-align: center;
  font-size: 14px;
}

/* novinky napravo */
/*
#block-views-novinky-a-novinky-titulka-block + div + div.block-views {
    display: block;
    margin-right: 0;
    overflow: hidden;
    position: absolute;
    right: 4%;
    width: 25%;
    height: 445px;
    max-height: 445px;
    min-height: 445px;
    border-bottom-left-radius: 30px;
}
#block-views-novinky-a-novinky-titulka-block + div + div.block-views > div.content {
    background: url("../images/sprite_white_small.png") no-repeat scroll center top #f2f2f2;
    font-size: 12px;
    margin-top: 5px;
    padding: 25px 10px 0px 10px;
    border-bottom-left-radius: 30px;
    height: 363px;
}
#block-views-novinky-a-novinky-titulka-block + div  + div.block-views > h2 {
    background: none repeat scroll 0 0 #f2f2f2;
    border-top-right-radius: 30px;
    padding: 10px;
}
#block-views-novinky-a-novinky-titulka-block + div  + div.block-views > div.content .views-field-title {
    display: block;
    font-weight: bold;
    overflow: hidden;
    text-decoration: none;
    margin: 0 !important;
}
#block-views-novinky-a-novinky-titulka-block + div  + div.block-views > div.content a {
    text-decoration: none;
    display: inline-block;
    max-height: 50px;
    min-height: 50px;
    vertical-align: top;
    padding: 0;
    margin: 15px 0 3px 0;
    overflow: hidden;
}
#block-views-novinky-a-novinky-titulka-block + div  + div.block-views > div.content a:hover {
    text-decoration: underline;
}
#block-views-novinky-a-novinky-titulka-block + div  + div.block-views > div.content > .views-field-field-datum {
    border-top: medium none;
}
#block-views-novinky-a-novinky-titulka-block + div  + div.block-views > div.content .views-field-field-datum {
    border-top: 1px solid #aaa;
    padding: 15px 0 0;
}
#block-views-novinky-a-novinky-titulka-block + div  + div.block-views .view-footer {
    background: url("../images/sprite_bottom.png") no-repeat scroll center bottom / cover transparent;
    display: inline-block;
    margin: 18px -10px 0 -10px;
    padding: 2px 10px 17px 10px;
    width: 100%;
    min-width: 100%;
    text-align: center;
    border-bottom-left-radius: 30px;
    font-size: 13px;
}
#block-views-novinky-a-novinky-titulka-block + div  + div.block-views .view-footer #viac-noviniek a {
    color: #FFF;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: underline;
    background: transparent;
    height: 14px !important;
    min-height: 13px !important;
}
*/
#block-views-novinky-a-novinky-titulka-block + div + div + div.block-views {
  border-bottom-left-radius: 30px;
  display: block;
  height: 445px;
  margin-right: 0;
  margin-top: 625px;
  max-height: 445px;
  min-height: 445px;
  overflow: hidden;
  position: absolute;
  right: 4%;
  width: 25%;
}

#block-views-novinky-a-novinky-titulka-block + div + div + div.block-views > div.content {
  background: #f2f2f2;
  border-bottom-left-radius: 30px;
  font-size: 12px;
  min-height: 200px;
  margin-top: 0px;
  padding: 0px 10px 0;
}

#block-views-novinky-a-novinky-titulka-block + div + div + div.block-views > h2 {
  background: none repeat scroll 0 0 #58585a;
  border-top-right-radius: 30px;
  color: #fff;
  display: block;
  font-family: "FS-Rufus-Italic", Georgia, "Times New Roman", "Bitstream Vera Serif", serif;
  font-size: 21px;
  margin: 0;
  padding: 10px;
  position: relative;
}

#block-views-novinky-a-novinky-titulka-block + div + div + div.block-views > div.content .views-field-title {
  display: block;
  font-weight: bold;
  margin: 0 !important;
  overflow: hidden;
  text-decoration: none;
}

#block-views-novinky-a-novinky-titulka-block + div + div + div.block-views > div.content a {
  display: inline-block;
  margin: 2px 0 0;
  max-height: 15px;
  min-height: 15px;
  overflow: hidden;
  padding: 0;
  text-decoration: none;
  vertical-align: top;
}

#block-views-novinky-a-novinky-titulka-block + div + div + div.block-views > div.content a:hover {
  text-decoration: underline;
}

#block-views-novinky-a-novinky-titulka-block + div + div + div.block-views > div.content > .views-field-field-datum {
  border-top: medium none;
}

#block-views-novinky-a-novinky-titulka-block + div + div + div.block-views > div.content .views-field-field-datum {
  border-top: 1px solid #aaa;
  padding: 15px 0 0;
}

#block-views-novinky-a-novinky-titulka-block + div + div + div.block-views .view-footer {
  background: url("../images/sprite_bottom.png") no-repeat scroll center bottom / cover transparent;
  border-bottom-left-radius: 30px;
  display: inline-block;
  font-size: 13px;
  margin: 18px -10px 0;
  min-width: 100%;
  padding: 13px 10px 13px;
  text-align: center;
  width: 100%;
}

#block-views-novinky-a-novinky-titulka-block + div + div.block-views .view-footer #viac-noviniek a {
  background: none repeat scroll 0 0 transparent;
  color: #fff;
  font-weight: bold;
  height: 14px !important;
  min-height: 13px !important;
  text-decoration: underline;
  text-transform: uppercase;
}

#block-views-novinky-a-novinky-titulka-block + div + div + div.block-views .view-footer a {
  color: #FFF;
  text-decoration: underline;
  font-weight: bold;
}

.view-novinky-a-novinky-titulka.novinky-page .views-row {
  background: none repeat scroll 0 0 #fff;
  display: block;
  margin-bottom: 15px;
  padding: 15px;
  width: auto;
}

#block-block-8 h2 {
  background: none repeat scroll 0 0 #58585a;
  border-top-right-radius: 30px;
  color: #fff;
  display: block;
  font-family: "FS-Rufus-Italic", Georgia, "Times New Roman", "Bitstream Vera Serif", serif;
  font-size: 21px;
  margin: 0;
  padding: 10px;
  position: relative;
}

.view-novinky-a-novinky-titulka.novinky-page .views-row .views-field-title {
  border-bottom: 1px solid #000;
  display: inline-block;
  font-family: "TheSans-OT2ExtraLight";
  font-size: 20px;
  height: auto;
  line-height: 25px;
  padding-bottom: 10px;
  width: 100%;
}

/* novinky page */
.view-novinky-a-novinky-titulka.novinky-page .views-row {
  background: none repeat scroll 0 0 #fff;
  display: block;
  margin-bottom: 15px;
  padding: 15px;
  width: auto;
}

.view-novinky-a-novinky-titulka.novinky-page .views-row .views-field-title {
  border-bottom: 1px solid #000;
  display: inline-block;
  font-family: "TheSans-OT2ExtraLight";
  font-size: 20px;
  height: auto;
  line-height: 25px;
  padding-bottom: 10px;
  width: 100%;
}

.view-novinky-a-novinky-titulka.novinky-page .views-row .views-field-body a:hover {
  text-decoration: underline !important;
}

.view-novinky-a-novinky-titulka.novinky-page .views-row .views-field-body a {
  text-decoration: none !important;
}

.view-novinky-a-novinky-titulka.novinky-page .views-row .views-field-body {
}

.views-field-field-datum {
  color: #999;
  font-family: "TheSans-OT2ExtraLight";
  font-size: 15px;
  padding: 10px 0;
}

.view-novinky-a-novinky-titulka.novinky-page .views-row .views-field-title a {
  text-decoration: none !important;
}

.view-novinky-a-novinky-titulka.novinky-page .views-row .views-field-field-novinky-odkaz a:hover {
  background: none repeat scroll 0 0 #333;
  color: #fff !important;
  padding: 5px;
}

.view-novinky-a-novinky-titulka.novinky-page .views-row .views-field-field-novinky-odkaz a {
  padding: 5px 0;
}

.view-novinky-a-novinky-titulka.novinky-page .views-row .views-field-field-novinky-odkaz {
  display: inline-block;
  margin: 10px 0;
  display: none;
}


/* termoinfo */
.view-id-dokumenty_a_pubik_cie.termoinfo-page #views-exposed-form-dokumenty-a-pubik-cie-block {
  display: block;
  width: auto;
  background: #FFF;
  padding: 15px;
  margin-bottom: 24px;
}

.view-id-dokumenty_a_pubik_cie.termoinfo-page .views-exposed-widget.views-submit-button {
  display: inline-block;
  min-width: 20%;
  padding: 0;
  width: auto;
}

.view-id-dokumenty_a_pubik_cie.termoinfo-page #edit-field-ro-n-k-tid-wrapper select {
  width: 100%;
}

.view-id-dokumenty_a_pubik_cie.termoinfo-page #edit-spamicide {
  display: none;
}

.view-id-dokumenty_a_pubik_cie.termoinfo-page #edit-field-ro-n-k-tid-wrapper {
  display: block;
  width: 20%;
}

.view-id-dokumenty_a_pubik_cie.termoinfo-page .view-content .views-row {
  display: block;
  width: 100%;
}

.view-id-dokumenty_a_pubik_cie.termoinfo-page .view-content .views-field-field-uk-ka {
  background: none repeat scroll 0 0 #fff;
  display: inline-block;
  float: left;
  margin-right: 15px;
  position: relative;
  text-align: center;
  vertical-align: middle;
  width: 17%;
}

.view-id-dokumenty_a_pubik_cie.termoinfo-page .view-content .views-field-field-uk-ka strong {
  display: none;
}

.view-id-dokumenty_a_pubik_cie.termoinfo-page .view-content .views-field-title {
  background: none repeat scroll 0 0 #fff;
  font-size: 18px;
  margin-left: 20%;
  padding: 10px;
}

.view-id-dokumenty_a_pubik_cie.termoinfo-page .view-content .views-field-title a {
  text-decoration: none !important;
  border-bottom: 1px solid #000;
  width: 100%;
  display: block;
  padding-bottom: 10px;
}

.view-id-dokumenty_a_pubik_cie.termoinfo-page .view-content .views-field-body {
  background: none repeat scroll 0 0 #fff;
  font-size: 13px;
  line-height: 17px;
  margin: 0 0 0 20%;
  padding: 0 10px;
  min-height: 111px;
  max-height: 111px;
  overflow: hidden;
}

.view-id-dokumenty_a_pubik_cie.termoinfo-page .view-content .views-field-field-pr-loha-ref-1 {
  background: none repeat scroll 0 0 #fff;
  margin: 0 0 26px 20%;
}

.view-id-dokumenty_a_pubik_cie.termoinfo-page .view-content .views-field-field-pr-loha-ref-1 .field-content {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-block;
}

.view-id-dokumenty_a_pubik_cie.termoinfo-page .view-content .views-field-field-pr-loha-ref-1 .field-content strong {
  display: none;
}

.view-id-dokumenty_a_pubik_cie.termoinfo-page .view-content .views-field-field-pr-loha-ref-1 .field-content a {
  font-weight: bold;
  text-decoration: none !important;
}

.view-id-dokumenty_a_pubik_cie.termoinfo-page .view-content .views-field-field-pr-loha-ref-1 .field-content a:hover {
  color: #FFF !important;
  background: #333;
  padding: 0 5px;
}

/* kontaktny form webform */
#webform-client-form-85 #webform-component-vase-udaje > .fieldset-wrapper > div {
  display: inline-block;
  width: 48%;
}

/* termoinfo block3 */
#block-views-dokumenty-a-pubik-cie-block-3 {
  display: block;
  width: auto;
  border: 1px solid #FFF;
  background: #f9f9f9;
  font-size: 18px;
  line-height: 30px;
  padding: 10px;
}

#block-views-dokumenty-a-pubik-cie-block-3 img {
  float: left;
  padding-right: 25px;
}

#block-views-dokumenty-a-pubik-cie-block-3 .field-item, #block-views-dokumenty-a-pubik-cie-block-3 .views-field-field-pr-loha-ref-1 {
  display: inline-block !important;
  position: relative !important;
  font-size: 12px;
  line-height: 20px;
  margin: 0;
}

/*****************/
/** FLEXSLIDER ***/
/*****************/
#block-views-slider-block-2 {
  max-width: 1230px !important;
  text-align: center !important;
  margin: 0 auto !important;
}

#block-views-slider-block-2 img {
  border-bottom-left-radius: 33px !important;
  border-top-right-radius: 33px !important;
  padding: 0;
  margin: 0;
  border: none;
}

#block-views-slider-block-2 #flexslider-1 {
  background: transparent !important;;
  border-color: transparent !important;;
}

#block-views-slider-block-2 img {
  border: none;
}

#block-views-slider-block-2 ol.flex-control-nav {
  margin: 0 auto !important;
  border: 1px solid #F00;

}

#block-views-slider-block-2 ol.flex-control-nav {
  border: 0 solid transparent;
  box-shadow: 0;
  position: absolute;
  bottom: 3%;
  left: 45%;
  z-index: 200;

}

#block-views-slider-block-2 ol.flex-control-nav li a {
  background: #F00;
  box-shadow: 0 !important;
  color: transparent;
  font-size: 0.001pt;
  width: 9px;
  height: 9px;
}

#block-views-slider-block-2 ol.flex-control-nav li a.active {
  background: #FFF;
  box-shadow: 0 !important;
  color: transparent;
  font-size: 0.001pt;
  width: 9px;
  height: 9px;

}

#block-views-slider-block-2 .views-field-title {
  position: absolute;
  bottom: 0%;
  z-index: 99 !important;
  color: #FFF;
  font-size: 2.1em;
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  height: 33%;
  padding: 4% 0 0 0;
  box-sizing: padding-box;
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
  text-shadow: 0px 1px 1px #000;
  z-index: 220;
  line-height: 1.3em;
  border-bottom-left-radius: 33px !important;
}

#block-views-slider-block-2 .views-field-title a {
  color: #FFF;
  text-align: center;
}

#block-views-slider-block-2 .flex-direction-nav {
  display: none;
}


/* patch */
/*3,7,8,9,10,11,130
  body.page-node-11 .menu .leaf, body.page-node-11 .menu .collapsed */
.menu-name-main-menu .menu > .leaf,
.menu-name-main-menu .menu > .collapsed {
  font-family: "TheSans-OT3Light";
  font-weight: normal;
}

.menu-name-main-menu .menu > .leaf:hover,
.menu-name-main-menu .menu > .collapsed:hover {
  font-family: "TheSans-OT3Light";
  font-weight: bold;
}

#block-views-novinky-a-novinky-titulka-block .views-row a {
  text-decoration: none;
}

#block-views-novinky-a-novinky-titulka-block .field-content {
  color: white;
}


/* Zacatek novinky/aktuality vlevo na HP */
#aktuality_wrapper {
  border-bottom-left-radius: 30px;
  display: inline-block;
  float: left;
  height: 100%;
  width: 30%;
  margin: 4px;
  overflow: hidden;
  vertical-align: top;
}

#aktuality_wrapper h2 {
  background: none repeat scroll 0 0 #58585a;
  border-top-right-radius: 30px;
  color: #fff;
  display: block;
  font-family: "FS-Rufus-Italic", Georgia, "Times New Roman", "Bitstream Vera Serif", serif;
  font-size: 21px;
  font-weight: 400;
  margin: 0;
  padding: 10px;
  position: relative;
}

#aktuality_wrapper .view-novinky-levy-sloupec.view-id-novinky_levy_sloupec {
  border-bottom-left-radius: 30px;
  overflow: hidden;
  background: #f2f2f2;
}

#aktuality_wrapper .view-content {
  background: #f2f2f2;
  border-bottom-left-radius: 30px;
  font-size: 12px;
  min-height: 200px;
  margin-top: 0px;
  padding: 0px 10px 0;
}

#aktuality_wrapper .view-content .views-row {
  display: block;
  width: 100%;
  margin: 0;
}

#aktuality_wrapper .view-content .views-row .views-field-created .views-field-field-datum {
  border-top: 1px solid #aaa;
  padding: 15px 0 0;
}

#aktuality_wrapper .view-content .views-row .views-field-created .views-field-field-datum .field-content {
  color: #999;
}

#aktuality_wrapper .view-content .views-row .views-field.views-field-title {
  display: block;
  font-weight: bold;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  text-decoration: none;
  background: none !important;
}

#aktuality_wrapper .view-content .views-row .views-field.views-field-title .field-content a {
  color: #2c2c2c;
  font-size: 12px;
}

#aktuality_wrapper .view-footer {
  background: url(../images/sprite_bottom.png) no-repeat scroll center bottom / cover transparent;
  border-bottom-left-radius: 30px;
  display: inline-block;
  font-size: 13px;
  margin: 18px -10px 0;
  min-width: 100%;
  padding: 13px 10px 13px;
  text-align: center;
  width: 100%;
}

#aktuality_wrapper .view-footer a {
  text-decoration: none;
  font-weight: 600;
  color: white;
}

/* Konec noviny/aktuality vlevo na HP */
/* Start bannery vpravo na HP */
#banner-vyjadreni_k_sitim {
  position: static !important;
  right: auto;
  float: left;
  margin-top: 0 !important;
  height: auto;
  display: block;
  width: 25%;
  margin-bottom: 30px;
}

#banner-planovane_odstavky {
  position: static !important;
  right: auto;
  float: left;
  margin-top: 0 !important;
  height: auto;
  display: block;
  width: 25%;
}

/* Konec bannery vpravo na HP */
.field-name-post-date {
  margin-bottom: 10px;
}

/* ==========================  RESPONSIVE  ======================================== */
@media only screen and (max-width: 1159px) {
  body.sidebar-first #sidebar-first {
    width: 24%;
  }

  body.sidebar-first #content {
    width: 75%;
  }

  #aktuality_wrapper.veoliaenergia-hp {
    margin: 0 4px 0 0;
  }

  #veolia-energia-rozcestnik,
  #block-block-9,
  #block-block-8 {
    margin: 5px 0px 4px 4px;
  }
}

@media only screen and (max-width: 979px) {
  #head {
    display: none;
  }

  body, body.front {
    background-image: none;
  }

  .d-hidden {
    display: block;
  }

  .m-hidden {
    display: none !important;
  }

  #block-tb-megamenu-main-menu .btn.btn-navbar.tb-megamenu-button {
    float: right;
    margin: 0 20px;
  }

  #block-tb-megamenu-main-menu .nav-collapse.collapse.always-show {
    margin-top: 35px;
    display: block;
    height: auto;
  }

  #logo, body.front #logo {
    background: none;
    width: auto;
  }

  #main_header_wrapper {
    background: #ffffff;
  }

  #over_header_wrapper {
    position: absolute;
    right: 80px;
    top: 20px;
    z-index: 2;
  }

  #container {
    margin: 0;
  }

  body.front #block-views-novinky-a-novinky-titulka-block,
  .domain-memsep-dev3-cz.page-node-1518 #block-views-novinky-a-novinky-titulka-block,
  .domain-www-memsep-cz.page-node-1561 #block-views-novinky-a-novinky-titulka-block {
    display: inline-block;
    position: relative;
    width: 100%;
  }

  body.front #block-views-novinky-a-novinky-titulka-block .views-row,
  .domain-memsep-dev3-cz.page-node-1518 #block-views-novinky-a-novinky-titulka-block .views-row,
  .domain-www-memsep-cz.page-node-1561 #block-views-novinky-a-novinky-titulka-block .views-row {
    display: block;
    width: 50%;
  }

  body.front #block-views-novinky-a-novinky-titulka-block #aktuality_wrapper .view-content .views-row,
  .domain-memsep-dev3-cz.page-node-1518 #block-views-novinky-a-novinky-titulka-block #aktuality_wrapper .view-content .views-row,
  .domain-www-memsep-cz.page-node-1561 #block-views-novinky-a-novinky-titulka-block #aktuality_wrapper .view-content .views-row {
    width: 100%;
  }

  body.front #block-views-novinky-a-novinky-titulka-block .views-row .views-field-field-novinky-obrazok,
  .domain-memsep-dev3-cz.page-node-1518 #block-views-novinky-a-novinky-titulka-block .views-row .views-field-field-novinky-obrazok,
  .domain-www-memsep-cz.page-node-1561 #block-views-novinky-a-novinky-titulka-block .views-row .views-field-field-novinky-obrazok {
    height: auto;
    max-height: unset;
    width: 100%;
  }

  body.front #block-views-novinky-a-novinky-titulka-block + div.block-views,
  .domain-memsep-dev3-cz.page-node-1518 #block-views-novinky-a-novinky-titulka-block + div.block-views,
  .domain-www-memsep-cz.page-node-1561 #block-views-novinky-a-novinky-titulka-block + div.block-views {
    left: 0;
    right: 0;
  }

  body.front #block-views-novinky-a-novinky-titulka-block .views-row .views-field-body,
  .domain-memsep-dev3-cz.page-node-1518 #block-views-novinky-a-novinky-titulka-block .views-row .views-field-body,
  .domain-www-memsep-cz.page-node-1561 #block-views-novinky-a-novinky-titulka-block .views-row .views-field-body {
    display: block;
    height: 120px;
    min-height: auto;
    width: auto;
  }


  /********************************************************************************************/
  body.front .views_slideshow_cycle_main {
    width: 100%;
    float: left;
    margin-left: 30px;
  }

  body.front .views_slideshow_cycle_main .views-slideshow-cycle-main-frame {
    width: 100% !important;
    height: auto;
  }

  body.front .views_slideshow_cycle_main .views-slideshow-cycle-main-frame-row {
    width: 100% !important;
    height: auto;
  }

  body.front .views_slideshow_cycle_main .field-content {
    max-width: 90%;
    width: 100%;
  }

  body.front .views_slideshow_cycle_main .field-content img {
    max-width: 100%;
    width: 100%;
    max-width: 87%;
    height: auto;
    margin: 0;
    padding: 0;
    border: solid 1px;
  }

  /********************************************************************************************/
  #over_header_content, #under_footer_content {
    padding: 0 20px;
  }

  body.sidebar-first #sidebar-first {
    display: none;
  }

  body.sidebar-first #content {
    width: 100%;
  }

  .tb-megamenu .nav-collapse {
    top: 45px;
  }

  #veolia-energia-rozcestnik,
  #aktuality_wrapper.veoliaenergia-hp,
  #block-block-9,
  #block-block-8 {
    width: 48%;
  }

  #veolia-energia-rozcestnik .content,
  #aktuality_wrapper.veoliaenergia-hp .content,
  #block-block-9 .content,
  #block-block-8 .content {
    height: auto;
  }

  #block-block-8 .content {
    height: 350px;
    text-align: center;
  }

  .block-item-right-panel {
    margin: 0;
  }

  #veolia-energia-rozcestnik .content {
    height: 370px;
  }

  #veolia-energia-rozcestnik .content {
    text-align: center;
  }

  #veolia-energia-rozcestnik img {
    max-width: 250px;
  }

  .d-line-wrapper {
    height: 350px;
  }

  .d-line-wrapper a img {
    width: 100%;
  }

}

@media only screen and (min-width: 980px) and (max-width: 1152px) {
  body.front #block-tb-megamenu-main-menu #tb-megamenu-main-menu a {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  #post-content {
    padding: 0 10px;
  }
}

@media (min-width: 640px) {
  .content.node-page .asset-wrapper.asset-video object,
  .asset-video .field-name-field-asset-video-desc .field-item {
    width: 640px;
  }
}

@media (max-width: 640px) {
  body.front #block-views-novinky-a-novinky-titulka-block #aktuality_wrapper,
  body.front #block-views-novinky-a-novinky-titulka-block .views-row,
  .domain-memsep-dev3-cz.page-node-1518 #block-views-novinky-a-novinky-titulka-block #aktuality_wrapper,
  .domain-memsep-dev3-cz.page-node-1518 #block-views-novinky-a-novinky-titulka-block .views-row,
  .domain-www-memsep-cz.page-node-1561 #block-views-novinky-a-novinky-titulka-block #aktuality_wrapper,
  .domain-www-memsep-cz.page-node-1561 #block-views-novinky-a-novinky-titulka-block .views-row {
    width: 100%;
  }

  body.front #block-views-novinky-a-novinky-titulka-block .views-row .views-field-body,
  .domain-memsep-dev3-cz.page-node-1518 #block-views-novinky-a-novinky-titulka-block .views-row .views-field-body,
  .domain-www-memsep-cz.page-node-1561 #block-views-novinky-a-novinky-titulka-block .views-row .views-field-body {
    height: auto;
  }

  .asset-document {
    width: 49%;
  }

  .asset-image {
    width: 100%;
    text-align: center;
  }

  .asset > img {
    float: none;
  }

  .views-exposed-form .views-exposed-widget {
    margin-top: 10px;
    width: 100%;
  }

  .views-exposed-form .views-exposed-widget .form-submit {
    margin-top: 14px;
    vertical-align: top;
    width: 45%;
  }

  .edit-feed-me-wrapper {
    display: inline-block;
    margin-left: 9%;
    width: 45%;
    vertical-align: top;
  }

  #veolia-energia-rozcestnik, #aktuality_wrapper.veoliaenergia-hp, #block-block-9, #block-block-8 {
    margin: 4px;
  }

  .d_line {
    text-align: center;
  }

  #veolia-energia-rozcestnik .content {
    height: 410px;
  }
}


@media (max-width: 480px) {
  #logo, body.front #logo {
    margin-left: -25px;
  }

  #over_header_wrapper {
    right: 60px;
  }

  #over_header_content {
    padding: 0;
  }

  #veolia-energia-rozcestnik,
  #aktuality_wrapper.veoliaenergia-hp,
  #block-block-9,
  #block-block-8 {
    width: 98%;
  }

  .d-line-wrapper {
    height: 280px;
  }

  #aktuality_wrapper.veoliaenergia-hp,
  #veolia-energia-rozcestnik .content,
  #block-block-8 .content {
    height: auto;
  }

  #veolia-energia-rozcestnik img {
    min-width: 300px;
  }
}

@media (max-width: 450px) {
  .asset-document {
    width: 100%;
  }
}

/* https://www.vecr.cz/kontakty/reditelstvi-spolecnosti */
#table-respo,
  /* https://www.vecr.cz/o-nas/organizacni-struktura-spolecnosti */
#table-respo-organizace,
  /* https://www.vecr.cz/pro-zakazniky/legislativa-odkazy */
#table-respo-legislativa {
  width: 100% !important;
}

@media (max-width: 640px) {
  #table-respo-legislativa td,
  #table-respo-organizace td,
  #table-respo td {
    width: 100% !important;
    float: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
}

@media only screen and (min-width: 641px) and (max-width: 980px) {
  #table-respo-legislativa td {
    height: 125px;
    width: 50% !important;
  }

  #table-respo td {
    height: 125px;
    width: 50% !important;
    float: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
}

/* popup */
.vpscr__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99;
}

.vpscr__overlay--is-hidden {
  display: none;
}

.vpscr__modal-content {
  padding: 40px 30px 10px;
  max-width: 500px;
  position: relative;
  min-height: 200px;
  margin: 5% auto 0;
  background: #fff;
  border-radius: 0px 30px;
}

.vpscr__modal-content p {
  line-height: 1.8;
}

.vpscr__modal-content__button-close {
  display: inline-block;
  width: 16px;
  height: 16px;
  position: absolute;
  top: 25px;
  right: 25px;
  cursor: pointer;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAowAAAKMB8MeazgAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAB5SURBVDiNrZPRCcAwCEQfnUiySAZuF8kSWeH6Yz8KrQZMQAicJ+epAB0YwAmYJKIADLic0/GPPCbQAnLznCd/4NWUFfkgy1VjH8CryA95ApYltAiTRCZxpuoW+gz9WXE6NPeg+ra1UDIxGlWEObe4SGxY5fIxlc75Bkt9V4JS7KWJAAAAAElFTkSuQmCC59ef34356faa7edebc7ed5432ddb673d');
}

.zakaznicky-portal {
  vertical-align: -webkit-baseline-middle;
  margin-right: 20px;
  background: url(../images/zakaznicky_portal.png) no-repeat center center;
  background-size: contain;
}

.zakaznicky-portal-en {
  vertical-align: -webkit-baseline-middle;
  margin-right: 20px;
  background: url(../images/zakaznicky_portal.gif) no-repeat center center;
  background-size: contain;
}

.zakaznicky-portal-en a,
.zakaznicky-portal a {
  font-weight: bold;
  font-size: 15px;
  color: #000;
  display: block;
}

.zakaznicky-portal-en .content a,
.zakaznicky-portal .content a {
  border: none;
  box-shadow: none;
  width: 200px;
  height: 40px;
}

/* Hidden v desktop verzi */
@media only screen and (min-width: 980px) {
  .d-hidden {
    display: none !important;
  }
}
