@media (max-width: 1250px) {
	body { min-width:320px; }
  form#simple-subscription-form #edit-input {
    width: 400px;
  }
  
  form#simple-subscription-form .simple_subscription_header {
    padding: 0px 30px 0px 50px;
  }
  
  #block-gpa-custom-gpa-custom-podporujeme p.desc {
    width: 100%;
    margin-right: 0px;
    float: none;
  }
  
  table#turnaje-front {
    font-size: 18px; 
  }
  
  .section_vitezove_wrapper {display: none;}
  
  .node-content table tr td {
    font-size: 0.9em;
  }
  
  .node-content table {
    max-width: 100%;
  }
}
@media (max-width: 995px) {
	.stickup {
		box-shadow:none !important;
		position:relative !important;
	}
	.pseudoStickyBlock {
		display:none !important;
		height:0 !important;
	}
	#backtotop { display:none !important; }
	.top-indent { padding:0; }
	.view-testimonials blockquote { padding:0 10%; }
	.width-indent {
		padding-left:15%;
		padding-right:15%;
	}
	.view-projects .view-header { padding:0 5%; }
	.panels-flexible-column:not(:last-child) { margin-bottom:25px; }
	h3, .h3 { font-size:20px; }
	.parallax-bg-inner { top:0 !important; }
  .view-services .views-row:nth-child(4) {
    margin-left: 0px;
  }
  
  .node-content table tr td {
    font-size: 0.8em;
    padding: 2px;
  }
  
  form#simple-subscription-form .simple_subscription_header {
    float: none;
    width: 100%;
    text-align: left;
  }
  
  form#simple-subscription-form #edit-input {
    width: 450px;
  }
  
  #block-gpa-custom-gpa-custom-podporujeme .vybrali-jsme {
    width: 350px;
  }
  
  #block-gpa-custom-gpa-custom-podporujeme .block-content a {
    width: 350px;
  }
  
  table#turnaje-front {
    font-size: 16px; 
  }
  
  table#turnaje-list td.nazev,
  table#turnaje-list td.datum {
    width: auto !important;
    white-space:normal !important;
  }
  
  .node-turnaj .node-content .field:not(.field-type-image),
  .node-turnaj .node-content .field:not(.field-type-image):nth-child(even) {
    width: 100%;
    float: none;
    padding: 0px 0px 5px 0px;
  }
}
@media (max-width: 767px) {
	.header_wrapper { padding:60px 0 65px; }
	.region-menu > *:first-child { margin-right:0; }
	.header-section_inner { flex-direction:column; }
	.region-menu {
		display:block;
		width:100%;
		text-align:center;
	}
  #logo {
    position: relative;
    left: 0px;
    width: 100%;
  }
  #logo h1 {
    margin: 0px;
    text-align: center;
  }
  .header-section {
    height: auto;
  }
	.dd-search#block-search-form .block-content form >div { padding:1px; }
	#superfish-1-select { width:100%; }
	.view-projects .view-content .views-row { flex:0 1 100%; }
	.comment-wrapper { overflow:visible; }
	.user-picture { margin-bottom:12px; }
	.filter-help {
		float:none;
		margin-bottom:15px;
		padding-top:0;
	}
	.mobile-two-column .views-row {
		padding-top:0 !important;
		float:left !important;
		width:46% !important;
		margin-bottom:30px !important;
		margin-right:4% !important;
	}
	.mobile-two-column .views-row.even { margin-right:0 !important; }
	.mobile-two-column .views-row.odd { clear:left; }
	#comments .indented { margin-left:0; }
	.dd-search#block-search-form .search-button { display:none; }
	.dd-search#block-search-form .block-content {
		position:relative;
		width:100%;
		top:0;
		left:0;
	}
	.dd-search#block-search-form .block-content form {
		visibility:visible;
		opacity:1;
		padding:0;
	}
	img { max-width: 100%; height: auto;}
	.optionset-default .flex-caption .slider_title { font-size:40px; }
	.optionset-default .flex-caption .slider_text { display:none; }
  
  form#simple-subscription-form #edit-input {
    -webkit-border-radius: 18px !important;
    border-radius: 18px !important;
  }
  
  form#simple-subscription-form .form-item {
    width: 100%;
    float: none;
    margin: 5px 0px;
  }
  
  form#simple-subscription-form #edit-submit {
    float: none;
    -webkit-border-radius: 18px !important;
    border-radius: 18px !important;
  }
  
  .section_three_wrapper .region {
      padding: 35px 0 20px;
  }
  
  #block-gpa-custom-gpa-custom-podporujeme .vybrali-jsme {
    width: 382px;
    margin-bottom: 5px;
  }
  
  #block-gpa-custom-gpa-custom-podporujeme .block-content a {
    width: 367px;
  }
  
  table#turnaje-front,
  table#turnaje-list {
    font-size: 14px; 
  }
  
  table#turnaje-front td,
  table#turnaje-list td {
    background-image: none !important;
    padding: 15px 10px !important;
    display: block; 
  }
  
  table#turnaje-front td.registrace,
  table#turnaje-front td.listina,
  table#turnaje-list td.registrace,
  table#turnaje-list td.listina {text-align:left;}
  
  table#turnaje-front td.tura,
  table#turnaje-front td.datum,
  table#turnaje-front td.misto,
  table#turnaje-list td.tura {
    width: auto !important;
    white-space:normal !important;
  }
  
  #block-gpa-custom-gpa-custom-footer .section {
    width: 50%;
    margin-bottom: 15px;
  }

  .node-content table tr td {
    font-size: 0.7em;
    padding: 2px;
  }  
  
}

@media (max-width: 600px) {
  #block-block-10 p {display: none;}
  #block-block-10 span {display: none;}
}

@media (max-width: 479px) {
	#comments .comment .comment-wrapper { overflow:visible; }
	.page-tracker #main-wrapper .content { overflow-x:scroll; }
	.page-tracker #main-wrapper .content table.sticky-header { display:none !important; }
	.page-forum #forum { overflow-x:scroll; }
	.page-forum #forum td.forum .icon {
		float:none;
		margin:0 0 5px;
	}
	.node-submitted ul.submitted-list li {
		border-bottom:1px solid #d8d8d8;
		float:none;
		margin:0;
		padding:3px 0;
	}
  
  .slider_slogan {
    display: none;
  }
}

@media (max-width: 370px) {
  #block-block-3 {font-size: 10px;}
 
  form#simple-subscription-form .simple_subscription_header {
    line-height: 22px;
    font-size: 17px;
    padding: 45px 10px 0px 10px;
    text-align: center;
    background: url(../images/et.png) top center no-repeat;
  }
  
  #block-gpa-custom-gpa-custom-footer .section {
    width: 100%;
    float: none;
    margin-bottom: 5px;
  }
  
  .field-name-body img {
    max-width: 100%;
  }
}
