/*
Theme Name: modehpolmo
Theme URI: https://bootstrap.com
Author: Danny Machal
Author URI: https://devdm.com/
Description: A no frills theme for Developers using Twitter Bootstrap 4.
Version: 1.81
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, sticky-post, translation-ready
Text Domain: modehpolmo
GitHub Theme URI: https://github.com/dannymachal/devdmbootstrap4

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

The default Bootstrap 4 CSS and JS files are enqueued inside the functions.php file with the handles devdmbootstrap4-css and devdmbootstrap4-js
*/

html {
  font-size: 62.5%;
}
/*
1rem=10px
*/

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0 auto;
  max-width: 2420px;
  font-size: 1.6rem;
  color: #000000;
}

.fixed-top {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.scrolled {
	background: rgba(133, 147, 137, 0.9);
}

.custom-container {
  max-width: 1550px;
  margin: 0 auto;
}

.align-center {
  align-items: center;
}

.align-center-all {
  justify-content: center;
}

img {
  max-width: 100%;
  height: auto;
}

.img-responsive {
  max-width: 100%;
  height: auto;
}

a {
  transition-duration: 0.2s;
  color: #D9C78D;
}

a:hover {
  text-decoration: none;
}

.text p {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2;
  color: #8C8C8C;
  margin-bottom: 2rem;
}

.spacing {
  letter-spacing: 1.5px;
}

h6 {
  font-size: 2rem;
  color: #787878;
  font-family: 'Tenor Sans', sans-serif;
  margin-bottom: 2rem;
}

.tenor-font {
  font-family: 'Tenor Sans', sans-serif;
}

.size14 {
  font-size: 1.4rem !important;
}

.bold {
  font-weight: 700 !important;
}

.uppercase {
  text-transform: uppercase;
}

.gray {
  color: #787878;
}

.green {
  color: #859389 !important;
}

.gold {
  color: #D9C78D !important;
}

.white {
  color: #fff !important;
}

.small-margin-top {
  margin-top: 2rem !important;
}

.medium-margin-top {
  margin-top: 4rem;
}

.custom-container {
  max-width: 1410px;
  margin: 0 auto;
}


/*Header*/

header {
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  min-height: 40vw;
  padding: 2rem 3rem;
  position: relative;
}


#mega-menu-menu1 .fb a {
  text-indent: -9999rem !important;
}

#menu-header-menu li a {
  padding: 1.5rem 1.5vw;
  font-size: 1.8rem;
  color: #ffffff;
  font-weight: 400;
}

.mega-menu-item-24 a {
  background: #D9C78D !important;
  border-radius: 30px !important;
  padding: 1.5rem 3rem !important;
  margin-left: 2.5rem !important;
}

#mega-menu-wrap-menu1 #mega-menu-menu1 > li.mega-menu-item > a.mega-menu-link {
  line-height: 26px !important;
  height: auto !important;
}

.navbar-collapse {
  justify-content: flex-end;
}

.mega-menu-description{
  display: none !important;
}

.top-home {
  margin-top: 7.5vw;
}

.top-home p {
  font-size: 1.4rem;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
}

.top-home h2 {
  font-size: 3.8vw;
  color: #ffffff;
  text-transform: uppercase;
  background: rgba(217, 199, 141, 0.6);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.top-home h1 {
  font-size: 3.8vw;
  color: #ffffff;
  text-transform: uppercase;
  background: rgba(217, 199, 141, 0.6);
  padding-top: 1rem;
  padding-bottom: 1rem;
}


/*Strona główna*/

.first-section {
  margin-top: -19rem;
  background: #F5F5F5;
  padding-bottom: 23rem;
}

.box-border {
  border: 4px solid #D9C78D;
  padding: 6rem 2rem 4rem 2rem;
  transition-duration: 0.2s;
  position: relative;
  z-index: 20;
}

.box-border:hover {
  background: #D9C78D;
}

.box-border:hover a {
  background: #fff;
  color: #000000;
}

.box-border p {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
}

.box-border h3 {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 6rem;
  color: #ffffff;
  margin-bottom: 9rem;
}

.green-button {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  background: #859389;
  border-radius: 30px;
  padding: 1.5rem 3rem;
  display: inline-block;
}

.section-title {
  color: #D9C78D;
  font-size: 3.8vw;
  font-family: 'Tenor Sans', sans-serif;
  margin-bottom: 4rem;
}

.section-title-small {
  color: #D9C78D;
  font-size: 2vw;
  font-family: 'Tenor Sans', sans-serif;
  margin-bottom: 4rem;
}

.gold-button {
  background: #D9C78D;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  border-radius: 30px;
  padding: 1.5rem 3rem;
  display: inline-block;
}

.gold-button:hover {
  background: #859389;
  color: #fff;
}

.green-button:hover {
  background: #D9C78D;
  color: #fff;
}

.second-section {
  background: url('img/about.jpg') top right no-repeat;
  background-size: contain;
  margin-top: -11rem;
  margin-bottom: 12rem;
}


.home-last {
  border-top: 2px solid #CCCCCC;
  padding: 10rem 0 2rem 15vw;
  transition-duration: 0.2s;

}

.home-last:hover .section-title{
  color: #fff;
} 

.home-last-first:hover  {
  background: url('img/mieszkania.jpeg') center center no-repeat;
}

.home-last-second:hover  {
  background: url('img/lokale.jpeg') top center no-repeat;
}

.home-last-third:hover  {
  background: url('img/realizacje.jpeg') top center no-repeat;
}


.home-last .section-title {
  color: #859389;
  margin-bottom: 8rem;
}

.home-last-three {
  border-bottom: 2px solid #CCCCCC;
}

.img-zalety {
  background: url('img/zalety.jpg') center center no-repeat;
  background-size: cover;
  min-height: 350px;
}

.gold-back {
  background: #D9C78D;
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.zalety h4 {
  font-size: 3rem;
  color: #fff;
}

.sections {
  padding-top: 9rem;
  padding-bottom: 8rem;
}

.color-change-3x .section-title {
  font-size: 3vw;
}

.color-change-3x {
	-webkit-animation: color-change-3x 4s linear infinite alternate both;
	        animation: color-change-3x 4s linear infinite alternate both;
}

@-webkit-keyframes color-change-3x {
  0% {
    background: #F2F2F2;
  }
  50% {
    background: #D9D9D9;
  }
  100% {
    background: #F2E2CE;
  }
}
@keyframes color-change-3x {
  0% {
    background: #F2F2F2;
  }
  50% {
    background: #D9D9D9;
  }
  100% {
    background: #F2E2CE;
  }
}


/*Footer*/

footer {
  background: #859389;
  padding: 9rem 0 8rem 0;
}

.border-footer {
  border: 1px solid #CCCCCC;
  width: 100%;
  margin-top: 5rem;
}

.footer-contact h4 {
  color: #fff;
  font-size: 2.4rem;
  font-family: 'Tenor Sans', sans-serif;
  margin-bottom: 3.5rem;
}

.subpage-contact h4 {
  color: #8B8B8B;
}

.subpage-contact .footer-link {
  color: #8B8B8B;
}

.footer-link {
  font-size: 2rem;
  color: #fff;
  font-family: 'Tenor Sans', sans-serif;
  margin-bottom: 2rem;
  display: inline-block;
}

.footer-link:hover {
  color: #D9C78D;
}

.footer-contact .white {
  margin-bottom: 0;
  margin-top: 1rem;
}

.subpage-contact .footer-contact .white {
  color: #8B8B8B !important;
}

.middle-footer .footer-link {
  margin-bottom: 0;
}

.fb {
  max-width: 42px;
  filter: invert(93%) sepia(15%) saturate(981%) hue-rotate(342deg) brightness(89%) contrast(89%);
}

.footer-polityka a {
  color: #FFFFFF;
  font-size: 1.6rem;
  padding: 0 2rem;
  display: inline-block;
}

.copyright {
  color: #fff;
  font-size: 1.4rem;
}

.copyright a {
  font-size: 1.4rem;
  color: #fff;
}


/*Podstrony*/

.subpagebody .first-section h3 {
 font-size: 4rem; 
}

.subpagebody .top-home {
  margin-top: 11vw;
}

.subpage p strong {
  font-weight: 700;
  color: #86938A;
  font-size: 2rem;
}

.subpage p {
  font-size: 1.6rem;
  font-weight: 400;
  color: #8C8C8C;
  margin-bottom: 2.5rem;
  line-height: 1.9;
}

.subpage ul li {
  font-size: 1.6rem;
  font-weight: 400;
  color: #8C8C8C;
  margin-bottom: 1.5rem;
  line-height: 1.6;
	text-align: left;
}

/*O nas*/

.page-template-page-about .subpage {
  padding-bottom: 0;
}

.about-section-back1 {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: 590px;
}

.first-section-text {
  padding-right: 3vw;
}

.first-section-text2 {
  padding-left: 4vw;
}

.gray-section {
  background: #F7F7F7;
  padding-top: 7rem;
  padding-bottom: 5rem;
}

.icon {
  margin-bottom: 2rem;
}

.gold-section {
  background: #D9C78D;
  padding-top: 7rem;
  padding-bottom: 5rem;
}

.gold-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gold-section ul li {
  position: relative;
  padding-left: 50px;
  padding-bottom: 15px;
  font-size: 1.6rem;
  line-height: 2;
}

.gold-section ul li::before {
  content: '';
  background: url('img/lista.png') left center no-repeat;
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 26px;
}

.gold-section .prawa-lista ul li:last-child::before {
  background: none;
}

.gold-section .prawa-lista ul li:last-child {
  margin-top: 3rem;
}

/*Lokale lista*/

.lista-img {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  padding-left: 0;
  padding-right: 0;

}

.white-box {
  padding: 5vw 5rem 5vw 8vw;
  background: #fff;
  border-bottom: 1px solid #CCCCCC;
  border-left: 1px solid #CCCCCC;
  border-right: 1px solid #CCCCCC;
  border-top: 1px solid #CCCCCC;
  transition-duration: 0.2s;
  height: 100%;
  cursor: pointer;
}

.col-lg-6:nth-child(even) .white-box {
  text-align: right !important;
  padding-right: 12vw;
  padding-left: 5rem;
}

.col-lg-6:nth-child(even) .order-2 {
  order: 1;
  margin-left: auto;
}
.col-lg-6:nth-child(even) .order-1 {
  order: 2;
}

.white-box .green-button {
  opacity: 0;
}

.white-box:hover {
  background: none;
  backdrop-filter: brightness(0.6);
}

.white-box:hover .green-button {
  opacity: 1;
}

.white-box:hover p, .white-box:hover .section-title-small {
  color: #fff !important;
}

.white-box:hover .bold {
  color: #D9C78D !important;
}

.white-box .section-title-small {
  color: #86938A;
  margin-bottom: 2rem;
  margin-bottom: 9rem;
}

.subpage .white-box p {
  color: #787878;
}

.subpage .white-box p {
  margin-bottom: 1.5rem;
}

.subpage .white-box .bold {
  letter-spacing:  1.5px;
  font-size: 1.4rem;
  margin-top: 3rem;
}

.zielony {
  background: #2F975B;
  border-radius: 20px;
  padding: 0.7rem 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.niebieski {
  background: #488CCA;
  border-radius: 20px;
  padding: 0.7rem 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.white-box .zielony {
  background: #2F975B;
  border-radius: 20px;
  padding: 0.7rem 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: none;
}

.white-box .niebieski {
  background: #488CCA;
  border-radius: 20px;
  padding: 0.7rem 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: none;
}


/*Realizacje*/

.cat-desc p {
  color: #8C8C8C;
  font-size: 1.6rem;
  line-height: 1.8;
}

.category-realizacje .white-box, .category-mieszkania-szczecin .white-box, .category-mieszkania-stargard .white-box, .category-mieszkania-goleniow .white-box, .category-lokale-szczecin .white-box, 
.category-lokale-stargard .white-box, .category-lokale-inne-miasta .white-box {
  padding: 2vw 3rem 1vw 2vw;
  min-height: 25vw;
  border-top: 1px solid #CCCCCC;
}

.category-13 .seo-more, .page-id-14 .seo-more {
  display: none;
}

.subpage .row-desc p {
 margin-bottom: 0.2rem;
 margin-top: 3rem;
}

.row-desc {
  display: none;
}

.category-realizacje .white-box:hover .row-desc, .category-mieszkania-szczecin .white-box:hover .row-desc, .category-mieszkania-stargard .white-box:hover .row-desc, .category-mieszkania-goleniow .white-box:hover .row-desc,
.category-lokale-szczecin .white-box:hover .row-desc, .category-lokale-stargard .white-box:hover .row-desc, .category-lokale-inne-miasta .white-box:hover .row-desc {
  display: flex;
}

.category-realizacje .white-box, .category-mieszkania-szczecin .white-box, .category-mieszkania-stargard .white-box, .category-mieszkania-goleniow .white-box,
.category-lokale-szczecin .white-box, .category-lokale-stargard .white-box, .category-lokale-inne-miasta .white-box  {
  position: relative;
}

.row-desc {
  position: absolute;
  bottom: 4rem;
}

.subpage .white-box .row-desc .bold {
  font-size: 1.6rem;
}

.category-2 .white-box {
  cursor: default;
}

/*Pojedyncze wpisy*/

.gold-single {
  background: #D9C78D;
  padding-top: 3.8vw;
  padding-bottom: 3vw;
}

.gold-single h5 {
  font-family: 'Tenor Sans', sans-serif;
  color: #fff;
  font-size: 3.5rem;
  margin-bottom: 2rem;
}

.gold-single p {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 2rem;
  color: #fff;
}

.gallery-item {
  max-width: 32%;
  display: inline-block;
  margin: 0.5rem;
}

.tabela {
  background: #F5F5F5;
}

.list-head {
  background: #859389;
  padding-top: 1.5rem;
}

.list-head p {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
}

.list-row {
  padding-top: 1.8rem;
  border-bottom: 1px solid #D6D6D6;
  transition-duration: 0.2s;
}

.list-row p {
  margin-bottom: 1.8rem;
  font-size: 1.6rem;
  font-weight: 400;
  color: #8C8C8C;
}

.list-row a {
  font-size: 1.2rem;
  font-weight: 700;
  color: #D9C78D;
}

.list-row:hover {
  background: #fff;
}

.wp-block-table td {
  border: 0;
  padding: 1rem;
}

thead {
  background: #859389;
    color: #fff;
}

.wp-block-table tr {
  padding: 1rem;
}


/*Formularz kontaktowy*/

.gold-border {
  border: 3px solid #D9C78D;
  padding-top: 4rem;
  padding-bottom: 4rem;
  margin-bottom: 10rem;
}

input {
  border: 1px solid #E1E1E1;
  border-radius: 40px;
  background: #ffffff;
  padding: 2rem 1.5rem 2rem 2.5rem;
  width: 100%;
  margin: 1rem 0 1.5rem 0;
  color: #000000;
  outline: none;
  transition-duration: 0.2s;
  font-size: 1.6rem;
}

input[type=submit] {
  font-size: 1.6rem;
  color: #ffffff;
  font-weight: 600;
  padding: 2rem 3rem;
  background: #D9C78D;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 280px;
  margin: 3rem auto;
  cursor: pointer;
  letter-spacing: 1px;
}

input[type=checkbox] {
  width: 15px;
  display: inline-block;
  margin: 0;
  padding: 0;
  top: 25px;
  position: absolute;
  left: 0;
}

.wpcf7-acceptance .wpcf7-list-item-label {
  display: inline-block;
  width: 100%;
  color: #8C8C8C;
  font-size: 1.2rem;
  line-height: 1.5;
  padding-left: 3.5rem;
  margin-top: 1rem;
  text-transform: none;
  font-weight: 400;
  letter-spacing: 1px;
}

span.wpcf7-list-item {
  margin: 0;
  position: relative;
}

textarea {
  border: 1px solid #E1E1E1;
  border-radius: 40px;
  background: #ffffff;
  padding: 2.5rem 1.5rem 2.5rem 2.5rem;
  width: 100%;
  margin: 1rem 0 1.5rem 0;
  color: #000000;
  outline: none;
  color:#000000;
  font-size: 1.6rem;
}

.wpcf7-not-valid {
  background: #FF8598;
  color: #ffffff;
}

div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
  color: #646464;
  font-size: 1.6rem;
}

span.wpcf7-not-valid-tip {
  display: none;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: #004D31;
  padding: 1rem;
  text-align: center;
  font-size: 1.6rem;
}

label {
  display: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #86938A;
  letter-spacing:  1.5px;
}




/*Placeholder*/
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color:#8C8C8C;
  font-size: 1.6rem;

}
::-moz-placeholder { /* Firefox 19+ */
  color:#8C8C8C;
  font-size: 1.6rem;
}
:-ms-input-placeholder { /* IE 10+ */
  color:#8C8C8C;
  font-size: 1.6rem;
}
:-moz-placeholder { /* Firefox 18- */
  color:#8C8C8C;
  font-size: 1.6rem;
}


input[type=search]:focus::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color:#ffffff;
  font-size: 1.7rem;
}
input[type=search]:focus::-moz-placeholder { /* Firefox 19+ */
  color:#ffffff;
  font-size: 1.7rem;
}
input[type=search]:focus:-ms-input-placeholder { /* IE 10+ */
  color:#ffffff;
  font-size: 1.7rem;
}
input[type=search]:focus:-moz-placeholder { /* Firefox 18- */
  color:#ffffff;
  font-size: 1.7rem;
}

/*Media*/

@media (max-width: 768px) { 
  html {
    font-size: 45%;
  }
	
	header {
		padding: 2rem 0;
	}
	
	.first-section {
		margin-top: 2rem;
		padding-bottom: 4rem;
	}
	
	.box-border {
		padding: 1rem;
		margin-bottom: 2rem;
		background: #d9c78d;
		z-index: 1;
	}
	
	.box-border h3 {
		margin-bottom: 3rem;
	}
	
	.second-section {
		background: none;
		text-align: center;
		margin-top: 3rem;
		margin-bottom: 3rem;
	}
	
	.section-title, .color-change-3x .section-title {
		font-size: 3rem;
	}
	
	.displaymobile {
		display: none;
	}
	
	#mega-menu-wrap-menu1, #mega-menu-wrap-menu1 #mega-menu-menu1, #mega-menu-wrap-menu1 #mega-menu-menu1 ul.mega-sub-menu, #mega-menu-wrap-menu1 #mega-menu-menu1 li.mega-menu-item, #mega-menu-wrap-menu1 #mega-menu-menu1 li.mega-menu-row, #mega-menu-wrap-menu1 #mega-menu-menu1 li.mega-menu-column, #mega-menu-wrap-menu1 #mega-menu-menu1 a.mega-menu-link, #mega-menu-wrap-menu1 #mega-menu-menu1 span.mega-menu-badge {
		text-align: right;
	}
	
	.white-box {
		padding: 5vw !important;
		background: none !important;
		min-height: auto;
		backdrop-filter: brightness(0.6);
	}
	
	.section-title-small {
		font-size: 3rem;
	}
	
	.white-box p {
		color: #fff !important;
	}
	
	.white-box .section-title-small {
		color: #fff !important;
	}
	
	.row-desc {
		position: relative;
		display: flex !important;
	}
	
	.second-section .text br {
		display: none;
	}

	#mega-menu-wrap-menu1 #mega-menu-menu1 > li.mega-menu-item > a.mega-menu-link {
		line-height: 45px !important;
	}

}



@media (min-width: 768px) and (max-width: 991.98px) {
  html {
    font-size: 53%; 
  }

		header {
		padding: 2rem 0;
	}
	
	.first-section {
		margin-top: 2rem;
		padding-bottom: 4rem;
	}
	
	.box-border {
		padding: 1rem;
		margin-bottom: 2rem;
		background: #d9c78d;
		z-index: 1;
	}
	
	.box-border h3 {
		margin-bottom: 3rem;
	}
	
	.second-section {
		background: none;
		text-align: center;
		margin-top: 3rem;
		margin-bottom: 3rem;
	}
	
	.section-title, .color-change-3x .section-title {
		font-size: 3rem;
	}
	
	.displaymobile {
		display: none;
	}
	
	#mega-menu-wrap-menu1, #mega-menu-wrap-menu1 #mega-menu-menu1, #mega-menu-wrap-menu1 #mega-menu-menu1 ul.mega-sub-menu, #mega-menu-wrap-menu1 #mega-menu-menu1 li.mega-menu-item, #mega-menu-wrap-menu1 #mega-menu-menu1 li.mega-menu-row, #mega-menu-wrap-menu1 #mega-menu-menu1 li.mega-menu-column, #mega-menu-wrap-menu1 #mega-menu-menu1 a.mega-menu-link, #mega-menu-wrap-menu1 #mega-menu-menu1 span.mega-menu-badge {
		text-align: right;
	}
	
	.white-box {
		padding: 5vw !important;
	}

		#mega-menu-wrap-menu1 #mega-menu-menu1 > li.mega-menu-item > a.mega-menu-link {
		line-height: 45px !important;
	}

}

@media (min-width: 992px) and (max-width: 1170px) {
  html {
    font-size: 53%; 
  }


}

	



@media (min-width: 1170px) and (max-width: 1301px) { 
  html {
    font-size: 55%; 
  }

}

@media (min-width: 1301px) and (max-width: 1510px) { 
  html {
    font-size: 57%; 
  }
  
}