/*

Theme Name: Pro &ndash; Child Theme
Theme URI: http://theme.co/pro/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to Pro in this child theme.
Version: 1.0.0
Template: pro

*/
/* --- Toilet Calculator: aligned + breathable --- */

:root{
  --tc-bg: #ffffff;
  --tc-surface: #ffffff;
  --tc-border: #e6e8ee;
  --tc-text: #111827;
  --tc-muted: #6b7280;

  --tc-radius: 14px;
  --tc-gap: 18px;
  --tc-gap-lg: 22px;

  --tc-field-h: 44px;
  --tc-shadow: 0 10px 28px rgba(16,24,40,.08);
}

.tc-wrap{
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 24px 16px;
  box-sizing: border-box;
  color: var(--tc-text);
}

.tc-card#toilet-calculator{
  background: var(--tc-surface);
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius);
  box-shadow: var(--tc-shadow);
  padding: 22px;
}

/* Intro text */
.tc-help{
  color: var(--tc-muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 16px 0;
}

/* Grid */
.tc-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--tc-gap-lg) var(--tc-gap);
  align-items: start;
}

/* Row / field group */
.tc-row{
  display: grid;
     gap: 16px !Important;
  min-width: 0;
}

.tc-row label{
  font-size: 13px;
  font-weight: 600;
  color: var(--tc-text);
  margin: 0;
}

/* Inputs + selects */
.tc-row input,
.tc-row select{
  height: var(--tc-field-h);
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid var(--tc-border);
  border-radius: 12px;
  background: var(--tc-bg);
  color: var(--tc-text);
  font-size: 14px;
  line-height: 1.2;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.tc-row input::placeholder{
  color: #9ca3af;
}

.tc-row input:focus,
.tc-row select:focus{
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(59,130,246,.15);
}

/* Help text under fields */
.tc-row .tc-help{
  margin: 0;
  font-size: 12.5px;
  color: var(--tc-muted);
}

/* Full-width row (accessible) */
.tc-row[style*="grid-column"]{
  grid-column: 1 / -1;
}

/* Buttons */
.tc-actions{
  display: flex;
  gap: 12px;
  margin-top: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.tc-btn{
  appearance: none;
  border: 1px solid transparent;
  border-radius: 12px;
  height: 42px;
  padding: 0 16px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform .06s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}

.tc-btn:active{
  transform: translateY(1px);
}

.tc-btn-primary{
  background: #111827;
  color: #fff;
  box-shadow: 0 8px 16px rgba(17,24,39,.12);
}
.tc-btn-primary:hover{
  box-shadow: 0 10px 22px rgba(17,24,39,.18);
}

.tc-btn-ghost{
  background: #f3f4f6;
  color: #111827;
  border-color: #e5e7eb;
}
.tc-btn-ghost:hover{
  background: #eef2f7;
}

/* Results block */
.tc-results{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--tc-border);
}

.tc-kpis{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--tc-gap);
  align-items: stretch;
}

.tc-kpi{
  border: 1px solid var(--tc-border);
  border-radius: 14px;
  padding: 14px 14px 12px;
  background: #fbfcff;
}

.tc-kpi .v{
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 6px;
}

.tc-kpi .l{
  font-size: 12.5px;
  color: var(--tc-muted);
}

/* Explanation + warning */
.tc-note{
  margin-top: 14px;
  color: #374151;
  line-height: 1.5;
}

.tc-warn{
  margin-top: 12px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #991b1b;
  line-height: 1.45;
}

.tc-small{
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--tc-muted);
}

/* Responsive */
@media (max-width: 820px){
  .tc-card#toilet-calculator{ padding: 18px; }
  .tc-grid{ grid-template-columns: 1fr; gap: 16px; }
  .tc-kpis{ grid-template-columns: 1fr; }
}





.innnerColumn{
		min-height: 315px;
		width: 100%;
		background-position: center center;
		background-size: cover;
		position: relative;
	border-radius: 3px;
	}

.innnerColumn:hover{
	cursor: pointer;
}
	.blockContent .x-column{
		/*margin-right: 2%;*/
	}
	.blockContent{
		margin-bottom: 2%;
	}
	
	.blockContent:after{
		clear: both;
		content: "";
		display: table;
	}
	.portfolio-title{
		position: absolute;
		bottom: 10px;
		left: 10px;
		background: #fff;
		padding: 5px;
		border-radius: 3px;
	}

/*.prev-posts-link{
	width: 160px;
	float: left;
}

.next-posts-link{
	width: 160px;
	float: right;
}*/

.prev-posts-link{
	float: right;
}

.innnerColumn a,
.innnerColumn a:hover{
	color: black !important;
	text-decoration: underline !important;
}
.e3547-4.x-text .x-column{
	margin-right: 2% !important;
}

.e3547-4.x-text .x-column.last{
	margin-right: 0 !important;
}


.e3547-4.x-text .x-column.x-1-2{
	width: 52%;
}

body.post-template-default table td,
body.page-template-template-blank-4 table td{
	border-top: 0 solid white !important;
}

table.all-custom-table-class td{
	border-top: 0 solid white !important;
}

.x-sidebar.right{
	background: white; 
    padding: 20px;
    padding-top: 60px;
}

@media only screen and (max-width: 568px) {
		body.single.single-post .entry-wrap { 
		padding: 0;
		background-color: transparent; 
	}
}


@media only screen and (max-width: 768px) {
	
	.x-sidebar.right{
		background: transparent; 
		padding: 0; 
	}
	
    body {
        /*background-color: lightblue;*/
    }
	

	
	.e3547-4.x-text .x-column.x-1-2{
		width: 100%;
	}
	
	.blockContent .x-column{
		margin-bottom: 2%;
	}
	
	.prev-posts-link{ 
		float: none;
	}

	.next-posts-link{ 
		float: none;
	}
	
	.prev-posts-link,
	.next-posts-link{ 
		margin: auto;
		margin-bottom: 10px;
	}
	
	.prev-posts-link a,
	.next-posts-link a{ 
		width: 100%;
	}
	
	.next-posts-link{
		margin-bottom: 0;
	}

	
}

@media only screen and (min-width: 768px) {
	.e3547-4.x-text .x-column.x-1-2{
		width: 52%;
	}
}
