@media (min-width: 768px) {

	.field--name-field-top-banner-video video {
		margin-left: -400px;
	}
	
	.content-bottom .container {
		width: auto;
	}

  .contact-message-feedback-form {
    max-width: 650px;
    margin: 0 auto;
    border: 1px solid #e9e8ed;
    padding: 10px 30px;
    background: #fdfdfd;
  }

  .region-primary-menu {
    display: inline-block;
    float: left;
    width: auto;
    margin: 0;
  }

  .main-header nav {
    margin: 0;
	padding-top:20px;
  }
  
  .main-header nav.breadcrumb {
   padding-top:15px;
  }

  .main-header nav.topnav.navbar-default {
    
  }
  
  .banner-caption p, .carousel-caption p,
  .banner-caption h3, .carousel-caption h3 {
    display: block;
  }

 
	

  .footer-widgets,
  .footer-space {
    text-align: left;
  }

  .comment-wrap .author-details {
    width: 10%;
  }

  .comment-wrap .author-comments {
    width: 90%;
  }

  .menu-base-theme li {
    float: left;
  }

  .menu-base-theme.sm-rtl li {
    float: right;
  }

  .menu-base-theme ul li,
  .menu-base-theme.sm-rtl ul li,
  .menu-base-theme.sm-vertical li {
    float: none;
  }

  .menu-base-theme a {
    white-space: nowrap;
  }

  .menu-base-theme ul a,
  .menu-base-theme.sm-vertical a {
    white-space: normal;
  }

  .menu-base-theme .sm-nowrap > li > a,
  .menu-base-theme .sm-nowrap > li > :not(ul) a {
    white-space: nowrap;
  }

  .menu-base-theme {
    
  }

  .menu-base-theme a.current {
    color: white;
  }

  .menu-base-theme a.disabled {
    color: #a1d1e8;
  }

  .menu-base-theme a.highlighted span.sub-arrow:before {
    display: none;
  }

  .menu-base-theme > li {
    border-left: 1px solid #2b82ac;
  }

  .menu-base-theme > li:first-child {
    border-left: 0;
  }

  .menu-base-theme ul {
    border: 1px solid #a8a8a8;
    padding: 0;
    background: white;
  }

  .menu-base-theme ul ul {
    background: white;
  }

  .menu-base-theme ul a,
  .menu-base-theme ul a:hover,
  .menu-base-theme ul a:focus,
  .menu-base-theme ul a:active,
  .menu-base-theme ul a.highlighted {
    border: 0 !important;
    padding: 9px 23px;
    background: transparent;
    color: #2b82ac;
  }

  .menu-base-theme ul a:hover,
  .menu-base-theme ul a:focus,
  .menu-base-theme ul a:active,
  .menu-base-theme ul a.highlighted {
    background: #3092c0;
    color: white;
  }

  .menu-base-theme ul a.current {
    background: #006892;
    color: white;
  }

  .menu-base-theme ul a.disabled {
    background: white;
    color: #b3b3b3;
  }

  .menu-base-theme ul a span.sub-arrow {
    top: 50%;
    margin-top: -5px;
    bottom: auto;
    left: auto;
    margin-left: 0;
    right: 10px;
    border-style: dashed dashed dashed solid;
    border-color: transparent transparent transparent #a1d1e8;
  }

  .menu-base-theme ul li {
    border: 0;
  }

  .menu-base-theme span.scroll-up,
  .menu-base-theme span.scroll-down {
    position: absolute;
    display: none;
    visibility: hidden;
    overflow: hidden;
    background: white;
    height: 20px;
  }

  .menu-base-theme span.scroll-up-arrow,
  .menu-base-theme span.scroll-down-arrow {
    position: absolute;
    top: -2px;
    left: 50%;
    margin-left: -8px;
    width: 0;
    height: 0;
    overflow: hidden;
    border-width: 8px;
    border-style: dashed dashed solid dashed;
    border-color: transparent transparent #2b82ac transparent;
  }

  .menu-base-theme span.scroll-down-arrow {
    top: 6px;
    border-style: solid dashed dashed dashed;
    border-color: #2b82ac transparent transparent transparent;
  }

  .menu-base-theme.sm-rtl.sm-vertical a span.sub-arrow {
    right: auto;
    left: 10px;
    border-style: dashed solid dashed dashed;
    border-color: transparent #a1d1e8 transparent transparent;
  }

  .menu-base-theme.sm-rtl > li:first-child {
    border-left: 1px solid #2b82ac;
  }

  .menu-base-theme.sm-rtl > li:last-child {
    border-left: 0;
  }

  .menu-base-theme.sm-rtl ul a span.sub-arrow {
    right: auto;
    left: 10px;
    border-style: dashed solid dashed dashed;
    border-color: transparent #a1d1e8 transparent transparent;
  }

  .menu-base-theme.sm-vertical a {
    padding: 9px 23px;
  }

  .menu-base-theme.sm-vertical a span.sub-arrow {
    top: 50%;
    margin-top: -5px;
    bottom: auto;
    left: auto;
    margin-left: 0;
    right: 10px;
    border-style: dashed dashed dashed solid;
    border-color: transparent transparent transparent #a1d1e8;
  }

  .menu-base-theme.sm-vertical > li {
    border-left: 0 !important;
  }

  .menu-base-theme.sm-vertical ul a {
    padding: 9px 23px;
  }

  .region-primary-menu,
  .menu-base-theme li a {
    
    color: #ffffff;
    font-size: 14pt;
  }

  .menu-base-theme a {
    border: 0;
  }

  .menu-base-theme > li {
    border: 0;
  }

  .menu-base-theme a span.sub-arrow {
    padding: 0;
    top: 20px;
    margin-top: 0;
    bottom: 2px;
    right: 10px;
    margin-left: -5px;
    left: auto;
    width: 0;
    height: 0;
    border-width: 5px;
    border-style: solid dashed dashed dashed;
    border-color: #1abc9c transparent transparent transparent;
    background: transparent;
  }

  .menu-base-theme a:hover span.sub-arrow,
  .menu-base-theme a:focus span.sub-arrow,
  .menu-base-theme a:active span.sub-arrow,
  .menu-base-theme a.highlighted span.sub-arrow {
    border-color: #00614e transparent transparent transparent;
  }

  .menu-base-theme ul {
    position: absolute;
    border: 1px solid #eee;
    padding: 0;
    background-color: #00614e;
  }

  .menu-base-theme ul.has-submenu li {
    border-bottom: 1px solid #fff;
  }

  .menu-base-theme a,
  .menu-base-theme a:hover,
  .menu-base-theme a:focus,
  .menu-base-theme a:active,
  .menu-base-theme a.highlighted {
    padding: 0px 80px 20px 0px;
    color: #00614e;
    font-weight: 700;
  }
  
  .menu-base-theme a:hover,
  .menu-base-theme a:focus,
  .menu-base-theme a:active,
  .menu-base-theme a.highlighted {
    text-decoration: underline;
	color: #fff;
  }

  .menu-base-theme ul a:hover,
  .menu-base-theme ul a:focus,
  .menu-base-theme ul a:active,
  .menu-base-theme ul a.is-active,
  .menu-base-theme ul a.highlighted, .menu-item--active-trail > .has-submenu {
    color: #fff;
  }
  
  .menu-base-theme > .menu-item--active-trail > .has-submenu {}

  .menu-base-theme li a.is-active {
    color: #fff;
  }
  
  #toTop a.scrollUp {
	  float: right;
	  /*margin-right: -150px;*/
	  margin-bottom: -20px;
  }
  
  #block-obsahfield .field--name-field-image img {
  	margin-left: -30em;
  }
  
  .field--name-field-middle-banner-text {
  	padding-top: 0px;
	padding-bottom: 0px;
  }
  
  .field--name-field-middle-banner-obrazek img {
	  min-height: 380px;
  }
}

@media (min-width: 1200px) {
	
	.field--name-field-top-banner-video video {
		margin-left: 0px;
	}
	
	#block-obsahfield .field--name-field-image img {
		margin-left: 0px;
	}
	
    .field--name-field-middle-banner-text {
    	padding-top: 80px;
  		padding-bottom: 80px;
    }
}

@media (max-width: 767px) {

  .container.slideshow .col-md-12 {
	  padding-right: 0px;
	  padding-left: 0px;
  }
  
  .footer-ribbon h3,
  .footer-ribbon p,
  .footer-ribbon ul,
  .footer-ribbon ul.menu,
  .footer-ribbon .social-media {
    text-align: center;
  }
  
  .banner_top .col-md-12 {
	  padding-left: 0 !important;
	  padding-right: 0 !important;
  }

  .footer-ribbon .social-media a {
    top: -5px;
  }

  .menu-base-theme {
    margin: 3px 0 0;
  }

  .menu-base-theme li a {
    background-color: #DA1A32;
    border-bottom: 1px solid #fff;
	color: #fff;
  }
  
  .menu-base-theme li:last-child a {
    border-bottom: none;
  }

  .menu-base-theme a,
  .menu-base-theme a:hover,
  .menu-base-theme a:focus,
  .menu-base-theme a:active,
  .menu-base-theme a.highlighted {
    color: #000;
    font-weight: 500;
  }

  .slidewidget .toggle-switch {
    height: 30px;
    width: 30px;
  }

  .slidewidget .fa-gear.fa-spin {
    font-size: 20px;
    height: 20px;
    left: 15%;
    top: 15%;
    width: 20px;
  }

  .menu-base-theme ul a,
  .menu-base-theme ul a:hover,
  .menu-base-theme ul a:focus,
  .menu-base-theme ul a:active {
    border-left: 8px solid transparent;
  }

  .menu-base-theme ul ul a,
  .menu-base-theme ul ul a:hover,
  .menu-base-theme ul ul a:focus,
  .menu-base-theme ul ul a:active {
    border-left: 16px solid transparent;
  }

  .menu-base-theme ul ul ul a,
  .menu-base-theme ul ul ul a:hover,
  .menu-base-theme ul ul ul a:focus,
  .menu-base-theme ul ul ul a:active {
    border-left: 24px solid transparent;
  }

  .menu-base-theme ul ul ul ul a,
  .menu-base-theme ul ul ul ul a:hover,
  .menu-base-theme ul ul ul ul a:focus,
  .menu-base-theme ul ul ul ul a:active {
    border-left: 32px solid transparent;
  }

  .menu-base-theme ul ul ul ul a,
  .menu-base-theme ul ul ul ul a:hover,
  .menu-base-theme ul ul ul ul a:focus,
  .menu-base-theme ul ul ul ul a:active {
    border-left: 40px solid transparent;
  }

  .menu-base-theme a.has-submenu.highlighted {
    background: #fff;
  }

  .menu-base-theme a.is-active {
    color: #fff !important;
  }

.menu-base-theme a.has-submenu span.sub-arrow:before {
    content: "+";
    display: block;
}

.menu-base-theme a.has-submenu.highlighted span.sub-arrow:before {
    content: "-";
}

.carousel-inner img {
	height: 400px !important;
	object-fit:cover;
	object-position: 65% 50%;
}

.banner-caption, .carousel-caption {
	font-size: 22pt;
}

.carousel-caption {
	padding: 5px 0px;
	min-height:auto;
	margin-left: 15px;
}

.banner-caption p, .carousel-caption p,
.banner-caption h3, .carousel-caption h3 {
  display: block;
  font-size: 70%;
  line-height: 120%;
  padding: 0;
  margin: 0;
  margin-bottom: 10px;
}

.banner-caption strong {
    line-height: 100%;
}

.banner-caption span {
    font-size: 80%;
    line-height: 100%;
}


.carousel-caption p a {
	/*font-size: 40%;*/
}

.divider {
	display:none ;
}

.features li {
	background: none;
}

.field--name-field-middle-banner-obrazek {
	display: none;
}

.field--name-field-middle-banner-text {
	background: #da1a2e;
	margin-left: 0;
	height: auto;
	margin-top: 0;
	padding: 20px 50px;
	text-align: center;
}

.flipper-container {
	margin-right: 0px;
}

#block-obsahfield-3 li {
	background: none;
	padding:20px 0;
	border-top: 1px solid rgba(202,203,204,1);
}

#block-obsahfield-3 li:first-child {
	border-top: none;
}

.banner-caption, .carousel-caption {
	padding: 10px 45px;
	margin: 0 20px 0 0;
}

.region-banner-top .field--name-field-image {
	height:520px;
}

.region-banner-top .field--name-field-image img {
	height:100%;
	object-fit:cover;
	object-position: 65% 50%;
}

.field--name-field-top-banner-video video {
	display:none;
}

.region-header {
	padding: 10px 0;
}

.navbar-toggle{
	margin-top: 30px;
}

#block-hlavickatelefon {
	display: none;
}

#block-tlacitkosjednat {
	display: none;
}

.main-header nav.block-menu {
	margin: 0;
}

.view-clanky-hp .new-item {
	height: 250px;
}

.view-clanky-hp .new-item img {
	height: 250px;
	object-fit: cover;
	object-position: 65% 50%;
}

.new-item .caption {
	opacity: 0.8;
}

#block-obsahfield .field--name-field-image img {
	width: 100%;
}

#contact-message-stante-se-nasim-klientem-form .pull-right  {
	width: 100%;
}

#contact-message-stante-se-nasim-klientem-form .pull-left  {
	float: none !important;
}

#contact-message-stante-se-nasim-klientem-form .pull-right .form-item-field-telefon2-0-value {
	margin: 0 auto 10px;
	width: 190px;
}

#contact-message-kontaktni-formular-form input {
	width: 100%;
}

#contact-message-kontaktni-formular-form .field--name-field-jmeno,
#contact-message-kontaktni-formular-form .field--name-field-e-mail,
#contact-message-kontaktni-formular-form .field--name-field-telefon3
 {
	margin-right:0px;
}

#contact-message-kariera-kontaktni-formular-form input {
	width: 100%;
}

#contact-message-kariera-kontaktni-formular-form .field--name-field-titul, 
#contact-message-kariera-kontaktni-formular-form .field--name-field-jmeno, 
#contact-message-kariera-kontaktni-formular-form .field--name-field-prijmeni, 
#contact-message-kariera-kontaktni-formular-form .field--name-field-e-mail, 
#contact-message-kariera-kontaktni-formular-form .field--name-field-telefon3 {
	float: none;
	margin-right:0px;
	width: 100%;
}

.flipper-container.bigger {
	width: 325px;
	margin: 0;
}

.flipper-container.bigger article {
	width: 300px;
}

.subpage .views-element-container {
	margin-top: 190px;
}
.subpage .views-element-container .view-header {
	
}

.subpage .attachment .views-element-container {
	margin-top: 25px;
}

.view-header ul li {
	width: 48%;
	margin: 0;
	font-size: 16pt;
	height: auto;
	line-height: 22pt;
}

.view-header ul li.active {
	
}

.field--name-field-prehled-balicku {
	padding-bottom: 0px;
}

.field--name-field-prehled-balicku .container {
	overflow-x: auto;
}

.field--name-field-prehled-balicku .col-md-1 {
	display:none;
}

.file {
	padding-left: 0px;
	min-height: auto;
	line-height: unset;
	font-weight: bold;
	width: 100%;
}

.file a {
	display: block;
	width: 100%;
    padding-right: 35px;
    min-height: 40px;
    /* background: none;*/
}


.file a:hover {
	color: #DA1A32;
}

.file--application-pdf {
	background: none;
	display: inline-block;
}

.file--mime-application-vnd-openxmlformats-officedocument-wordprocessingml-document {
	background: none;
	display: inline-block;
}

.file--mime-application-zip {
	background: none;
	display: inline-block;
}

.file--mime-application-vnd-openxmlformats-officedocument-spreadsheetml-sheet {
	background: none;
	display: inline-block;
}

.news-item {
	text-align: center;
} 

.news-item .views-field-field-image {
	width: 100%;
}

#block-zeptejtese h2.title {
	margin-bottom: 0px;
}

.views-summary li {
	font-size: 14pt;
	height: auto;
	line-height: unset;
	margin-right:15px;
}

.person-big .in {
	width: 100%;
}

.person-big img {
	margin-bottom: 50px;
}

.flipper-container.bigger article a {
	font-size: 12pt;
}

.button {
	font-size: 8pt;
	font-weight: 700;
}

.field--name-field-middle-banner-text h2 {
    font-size: 20px;
    color: #fff;
}

}