/*
Theme Name: Herink Plus
Author: Networm Studio
Author URI: https://networm.cz/
Version: 1.1
*/

body {
  background: #ffffff;
  color:#000000;
  font-family: 'Roboto', sans-serif;
}

.grey {
  background: #efefef;
}

.clearfix {
  clear:both;
}

h1,h2,h3 {
  font-family: 'Barlow Condensed', sans-serif;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.3rem;
}

a {
  color: #2D4154;
}

a:hover {

}

.last {
  margin-bottom: 0;
}

.moreinfo {
  display: inline-block;
  padding: 0.7rem 1rem;
  border: 1px solid #ffffff;
  margin-bottom: 1rem;
}

.button {
  background-color: #2D4154;
}

.logo img {
  height: 60px;
  margin: 1rem;
}

.socbar {
  font-size: 1rem;
  font-weight: bold;
}

.socbar a {
  padding: 0;
}

.socbar a.header-phone {
  padding-top: 0.3rem;
  color: #2d4154;
}

.socbar img {
  height: 1.5rem;
  margin: 0 5px ;
}

.alignleft {
  float:left;
  margin: 0 1rem 1rem 0;
  border: 5px solid #cccccc;
}

.alignright {
  float:right;
  margin: 0 0 1rem 1rem;
  border: 5px solid #cccccc;
}

.frontbox1 h2, .frontbox2 h2 {
  font-size: 2.5rem;
  padding-bottom: 1rem;
  font-weight: 700;

}

.frontbox1 > a .grid-x {
  height: 100%;
  color: #ffffff;
  background: rgba(189,21,33,0.6);
  transition: all 0.5s ease;
}

.frontbox2 > a .grid-x {
  height: 100%;
  color: #ffffff;
  background: rgba(45,65,84,0.6);
  transition: all 0.5s ease;
}

.frontbox1 > a:hover .grid-x {
  background: rgba(189,21,33,0.8);
  transition: all 0.5s ease;
}

.frontbox2 > a:hover .grid-x {
  background: rgba(45,65,84,0.8);
  transition: all 0.5s ease;
}


.frontbox1 {
  background: url('img/rezidencni.jpg') no-repeat center right;
  background-size: cover;
  height: 100%;
  text-align: right;
  color: #ffffff;
}

.frontbox2 {
  height: 100%;
  text-align: left;
  color: #ffffff;
  background: url('img/komercni.jpg') no-repeat center right;
  background-size: cover;
}

.about {
  
  background: url('img/about2.jpg') no-repeat center right;
  background-size: cover;
}

.katlink {
  display:block;
  padding: 2rem 0;
  color: #ffffff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
}

.katlink.rezidencni {
  background: #BD1521;
}

.katlink.komercni {
  background: #2D4154;
}

body.page-id-7 .katlink.komercni, body.parent-pageid-7 .katlink.komercni {
  background-image: url('img/triangle.svg');
  background-position: 50% 110%;
  background-repeat: no-repeat;
  background-size: 40px 20px;
}

body.page-id-9 .katlink.rezidencni, body.parent-pageid-9 .katlink.rezidencni {
  background-image: url('img/triangle.svg');
  background-position: 50% 110%;
  background-repeat: no-repeat;
  background-size: 40px 20px;
}

.mainmenu {
  margin: 2rem 0;
}

.mainmenu .dropdown a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  color: #2D4154;
  font-weight: 700;
  display: block;
  text-align:center;
  width: 100%;
  background: transparent;
}

.mainmenu .dropdown a:hover {
  color: #ffffff;
  background: #BD1521;
}

.is-dropdown-submenu {
  border: 0;
}

.mainmenu .is-dropdown-submenu a {
  font-size: 1rem;
  background: #efefef;
}

.dropdown .is-dropdown-submenu a:hover {
  color: #ffffff;
  background: #666666;
}

.dropdown.menu .is-active>a {
  background: #BD1521;
  color: #ffffff;
}

.mainmenu .submenu {
  margin-left: 0;
  width: 100%;
}

.dropdown.menu>li.is-dropdown-submenu-parent>a::after {
  border-color: #BD1521 transparent transparent;
}

.dropdown.menu>li.is-dropdown-submenu-parent>a:hover::after {
  border-color: #ffffff transparent transparent;
}

.footer {
  background: #2D4154;
  color: #ffffff;
  padding: 1rem;
  text-align:center;
}

.footer a {
  color: #efefef;
}

.footer a:hover {
  color: #cccccc;
}

.post {
  margin-bottom: 2rem;
  min-height: 300px;
}

.wp-block-media-text .wp-block-media-text__content { 
  padding: 0 8% 0 0;
}

.gradient {
background: #bd1521; /* Old browsers */
background: -moz-linear-gradient(left,  #bd1521 0%, #bd1521 50%, #2d4154 51%, #2d4154 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left,  #bd1521 0%,#bd1521 50%,#2d4154 51%,#2d4154 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right,  #bd1521 0%,#bd1521 50%,#2d4154 51%,#2d4154 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bd1521', endColorstr='#2d4154',GradientType=1 ); /* IE6-9 */
}

.gradient a:hover {
  color: #ffffff;
  font-weight: bold;

}

table.cenik .column-2 {
  text-align:right;
}

.kalkulacka input[type="radio"]:checked+span { font-weight: bold; }
.kalkulacka #result { line-height: 1.3; }
.kalkulacka #result strong { font-size: 1.5rem;}
.kalkulacka #result .price { font-size: 2rem; }

.kalkulacka-nabidka {
  text-align: center;
}

.partneri {
  text-align: center;
  padding: 2rem 0;
  background: #efefef;
}

.partneri h2 {
  padding-bottom: 2rem;
}