/*
Theme Name: Dimundi Theme
Author: Krzysztof Głośnicki
Description:
Version: 0.0.1
*/

/*

	1. Layout
	2. Header
	3. Content
	4. Footer
	5. Front-page
	6. Formularz
	7. Sidebar
	8. Mobile Menu

	10. Margins and paddings
	11. Efekty

*/



/*===============================

	1. LAYOUT

================================*/
* {
	box-sizing: border-box;
}

body {
	background: #fafafa;
	color: #0a245f;
	font-family: 'Poppins', sans-serif;
	font-weight: 300;
	font-size: 21px;
}
@media (max-width:512px) {
	body {
		font-size: 18px;
	}
}
body strong,
body b {
	font-weight: 500;
}





h1, h2, h3, h4, h5 {
	font-family: 'Eczar', serif;
	font-weight: 500;
}
h1, .h1 {
    font-size: 2.3rem;
	}
h2, .h2 {
    font-size: 2.3rem;
	}
h3, .h3 {
		font-size: 1.95rem;
}
@media (max-width: 512px) {
	h1, .h1 {
	    font-size: 1.85rem;
		}
	h2, .h2 {
	    font-size: 1.85rem;
		}
	h3, .h3 {
			font-size: 1.5rem;
	}
}

a:hover {
	text-decoration: none;
}
input, button, submit {
	outline: none !important;
}

#page {
	overflow: hidden;
}
.hentry, .home-posts {
	width: 100%;
	padding: 0 17px;
}
.wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 15px;
	position: relative;
}
header .wrapper {
	padding-bottom: 0;
}
.tight {
	max-width: 800px;
	padding: 25px;
}

.whitebox {
	display: table;
    background: white;
    padding: 53px 45px;
    margin: 0 auto;
    box-shadow: 0 0 3px 0px #989898;
}

.shade-bg {
	background-color: #dcdcdc;
}
.murk-bg {
	background-color: #d4d6de;
}
@media (min-width: 512px) {
	.section-padding {
		padding: 110px 0;
	}
}
@media (max-width: 512px) {
	.section-padding {
		padding: 25px 0;
	}
	#gra > div:first-child {
		margin-bottom: 0;
	}
}


#mobile-films {
	list-style: none;
	margin-top: 20px;
}
#mobile-films li {
	background-image: url(images/bullet-movie.png);
	background-size: 30px;
	background-repeat: no-repeat;
	background-position: 0 5px;
	padding-left: 35px;
	cursor: pointer;
}

.tick-list {
	list-style: none;
	margin-left: 0;
}
.tick-list li {
	padding-left: 40px;
    margin-bottom: 18px;
	background-image: url('images/tick.png');
	background-repeat: no-repeat;
	background-position: left center;
	height: 35px;
	line-height: 35px;
}
table tbody tr:nth-child(even) {
  background-color: #e3d0db;
}



/*===============================

	2. HEDAER

================================*/

.custom-logo {
	max-width: 100px;
}

.header-features {
	padding-top: 52px;
}

#site-title {
	color: white;
}
#masthead {
	position: relative;
	overflow: hidden;
	background-color: #9c507f;
	background-repeat: repeat-x;
	background-size: contain;
	background-position: center bottom !important;
}

.home #masthead {
	min-height: 618px;
}

@media (min-width: 2700px){
	#masthead {
		background-repeat: no-repeat;
	}
}
@media (min-width:1300px) and (max-width: 1700px){
	#masthead {
		background-size: cover;
	}
}

#mobile-header-logo {
	display: none;
}
@media (max-width:1300px) {
	#mobile-header-logo {
		display: block;
	}
	#mobile-header-logo img {
		margin: 0 auto;
		display: block;
	}
	#masthead {
		background-image: url(images/mobile-bg.jpg) !important;
	}
	.home #masthead {
		min-height: 788px;
	}
}



#masthead nav {
	margin: 0 auto;
}
#header-overlay, #header-bg {
	width: 100%;
    height: 100%;
    position: absolute !important;
    background: #00000054;
}
/*.cycle-bg-image, .single-bg {
	background-repeat: repeat;
  background-size: cover;
	background-position: center top !important;
}*/
.header-info {
	display: inline-block;
    color: white;
    margin-top: 100px;
    vertical-align: top;
    text-align: right;
    width: 100%;
}
.header-info h1 {
	font-size: 35px;
}
.header-info h2 {
	font-size: 20px;
}


/*http://tobiasahlin.com/blog/css-trick-animating-link-underlines/*/
.menu li {
	display: inline-block;
	list-style: none;
}
.menu ul {
	list-style: none;
}

.menu a {
  position: relative;
  color: #fff;
  text-decoration: none;
	    font-size: 18px;
}
.menu  a:hover {
  color: #fff;
}
.menu  a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #fff;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}
.menu  a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}




/*===============================

	3. CONTENT

================================*/
#main {
	padding: 0px;
}

a.show-lupa {
	position: relative;
	display: inline-block;
}
a.show-lupa:before {
	content: "";
	width: 100px;
	height: 100px;
	background-image: url(images/lupa.png);
	background-size: cover;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}


.img-photo {
	border: 11px solid white;
  box-shadow: 0 5px 10px 10px #d4d4d4;
  border-radius: 7px;
}

@media (min-width: 513px){
	.galeria-fp {
		margin-bottom: 110px;
	}
}


@media (mmin-width:513px) {
	.smaller-text p {
			font-size: 14px;
	}
}

article.post {

     margin-bottom: 38px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3{
		color: #3052a2;
}


.entry-content .dark-row h2 {
	color: #ecdcf7;
}

body .nf-field-label label {
	font-weight: 300;
	color: white;
}
body .nf-form-content {
	padding: 0;
	margin: 0;
}

body .nf-form-content .list-select-wrap .nf-field-element>div,
body .nf-form-content input:not([type=button]),
body .nf-form-content textarea {
	border-radius: 5px;
}
body .nf-form-content .listselect-wrap .nf-field-element div,
body .nf-form-content input.ninja-forms-field,
body .nf-form-content select.ninja-forms-field:not([multiple]) {
	height: 42px;
}

body .nf-form-content textarea.ninja-forms-field {
	height: 120px;
}

/*===============================

	4. FOOTER

================================*/
footer.dark-bg {
	position: relative;
	box-shadow: 0 -5px 18px 0px #9c9c9c
}
.dark-bg {
	min-height: 150px;
	background-color: #22386D;
	/*background-image: url("images/footer.jpg");
	background-repeat: no-repeat;
    background-size: cover;*/
	color: #efefef;
	padding: 50px 0;
}
.bottom-bar {
	color: #758dc6;
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 14px;
  margin-bottom: 5px;
}
.contact-info {
	display: table;
	margin: 0 auto;
}

.footer-image {
	max-width: 152px;
    margin: 10px;
    display: inline-block;
    vertical-align: top;
}

#footer-widgets .textwidget img {
	max-width: 314px;
	margin: 0;
	margin-right: -5px;
	clear: both;
}
#footer-widgets {
	padding: 50px;
}
#footer-widgets .extra-text {
	color: #758dc6;
	font-size: 14px;
	max-width: 75%;
	float: right;
}
#footer-widgets hr {
	visibility: hidden;
}
#footer-widgets .wrapper {
	display: flex;
	flex-direction: row;
}
#footer-widgets .widget-area {
	width: 50%;
}
@media (max-width: 645px) {
	#footer-widgets .wrapper{
		flex-direction: column;
	}
	#footer-widgets .widget-area {
		width: 100%;
	}
}




/*===============================

	5. FRONT PAGE

================================*/




/*===============================

	6. FORMULARZ

================================*/

#contact-form.whitebox {
	background: #ffffffd1;
}
#contact-form-holder {
    position: relative;
    top: -50px;
	width: 100%;
}
@media screen and (max-width: 639px)
{
	#contact-form-holder {
		top: 0;
	}
}
#contact-form {
	max-width: 826px;
}

#contact .whitebox {
    padding: 44px 45px;
}

.wpcf7 .grid-x .input-field.cell {
    margin-right: 69px;
    max-width: 175px;
}

.wpcf7 .input-field.cell {
    margin-top: 0;
    margin-bottom: 0;
	height: 65px;
}
.wpcf7 .grid-x .input-field.cell:last-child {
	margin-right: 0;
}
.wpcf7 .button {
	position: relative;
	left: 10px;
	padding: 0.85em 4.6em;
	margin: 0;
}

@media screen and (min-width: 640px) and (max-width: 769px) {
	.wpcf7 .grid-x .input-field.cell {
		margin: 0;
		max-width: 142px;
		margin-right: 47px;
	}
	.wpcf7 .button {
		position: relative;
		left: 0;
		padding: 0.85em 4.0em;
		margin: 0;
	}
}
@media screen and (max-width: 639px) {
	.wpcf7 .grid-x .input-field.cell {
		max-width: none;
	}
}


/*===============================

	7. SIDEBAR

================================*/

/*===============================

	8. MOBILE MENU

================================*/
.mobile-menu-container {
    display: none;
    cursor: pointer;
}

.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: #fff;
    margin: 6px 0;
    transition: 0.4s;
}

.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
}

.change .bar2 {opacity: 0;}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
}

@media screen and (max-width: 710px) {

	.menu-nav-menu-container {
		display: none;
	}
	.mobile-menu-container {
		display: inline-block;
	}

}
.mobile-menu  {
	display: none;
	background: black;
	position: absolute;
    z-index: 999;
    left: 0;
    top: 125px;
}
.mobile-menu.change {
	display: none;
}
.mobile-menu ul {
	flex-direction: column;
}












@media screen and (max-width: 710px) {
	.header-info {
		margin-top: 50px;
		width: 54%;
	}
	.header-features {
		padding: 20px 10px 0 0;
	}
}

@media screen and (max-width: 500px) {
	.header-info {
		margin-top: 30px;
		padding: 10px;
		width: 100%;
	}
	.header-features {
		padding: 0;
	}
	#main > .wrapper {
		flex-direction: column;
	}
	#sidebar {
		margin: 20px;
		width: 100%;
	}
	#sidebar .widget {
		width: 100%;
	}
}




/*===============================

	10. MARGINS AND PADDINGS

================================*/
.m0{ margin:0 }
.mt0{ margin-top:0 }
.mr0{ margin-right:0 }
.mb0{ margin-bottom:0 }
.ml0{ margin-left:0 }
.mx0{ margin-left:0; margin-right:0 }
.my0{ margin-top:0; margin-bottom:0 }

.m1{ margin: .5rem }
.mt1{ margin-top: .5rem }
.mr1{ margin-right: .5rem }
.mb1{ margin-bottom: .5rem }
.ml1{ margin-left: .5rem }
.mx1{ margin-left: .5rem; margin-right: .5rem }
.my1{ margin-top: .5rem; margin-bottom: .5rem }

.m2{ margin: 1rem }
.mt2{ margin-top: 1rem }
.mr2{ margin-right: 1rem }
.mb2{ margin-bottom: 1rem }
.ml2{ margin-left: 1rem }
.mx2{ margin-left: 1rem; margin-right: 1rem }
.my2{ margin-top: 1rem; margin-bottom: 1rem }

.m3{ margin: 2rem }
.mt3{ margin-top: 2rem }
.mr3{ margin-right: 2rem }
.mb3{ margin-bottom: 2rem }
.ml3{ margin-left: 2rem }
.mx3{ margin-left: 2rem; margin-right: 2rem }
.my3{ margin-top: 2rem; margin-bottom: 2rem }

.m4{ margin: 4rem }
.mt4{ margin-top: 4rem }
.mr4{ margin-right: 4rem }
.mb4{ margin-bottom: 4rem }
.ml4{ margin-left: 4rem }
.mx4{ margin-left: 4rem; margin-right: 4rem }
.my4{ margin-top: 4rem; margin-bottom: 4rem }

.ml-auto{ margin-left:auto }
.mr-auto{ margin-right:auto }
.mx-auto{ margin-left:auto; margin-right:auto; }

.p0{ padding:0 }
.pt0{ padding-top:0 }
.pr0{ padding-right:0 }
.pb0{ padding-bottom:0 }
.pl0{ padding-left:0 }
.px0{ padding-left:0; padding-right:0 }
.py0{ padding-top:0;  padding-bottom:0 }

.p1{ padding: .5rem }
.pt1{ padding-top: .5rem }
.pr1{ padding-right: .5rem }
.pb1{ padding-bottom: .5rem }
.pl1{ padding-left: .5rem }
.py1{ padding-top: .5rem; padding-bottom: .5rem }
.px1{ padding-left: .5rem; padding-right: .5rem }

.p2{ padding: 1rem }
.pt2{ padding-top: 1rem }
.pr2{ padding-right: 1rem }
.pb2{ padding-bottom: 1rem }
.pl2{ padding-left: 1rem }
.py2{ padding-top: 1rem; padding-bottom: 1rem }
.px2{ padding-left: 1rem; padding-right: 1rem }

.p3{ padding: 2rem }
.pt3{ padding-top: 2rem }
.pr3{ padding-right: 2rem }
.pb3{ padding-bottom: 2rem }
.pl3{ padding-left: 2rem }
.py3{ padding-top: 2rem; padding-bottom: 2rem }
.px3{ padding-left: 2rem; padding-right: 2rem }

.p4{ padding: 4rem }
.pt4{ padding-top: 4rem }
.pr4{ padding-right: 4rem }
.pb4{ padding-bottom: 4rem }
.pl4{ padding-left: 4rem }
.py4{ padding-top: 4rem; padding-bottom: 4rem }
.px4{ padding-left: 4rem; padding-right: 4rem }


img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}


/*===============================

	11. EFEKTY

================================*/

.vcontainer {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	}

.modal-show {
	cursor: pointer;
	transition: all 0.3s ease;
}
.modal-show:hover {
	opacity: 0.8;
	transform: translateY(-5px);
}

.pgc-rev-item-menu-button {
	display: none;
}

#footer-widgets .checkbox-container.label-right .field-wrap {
	display: block;
}

@media (max-width: 512px) {
	#footer-widgets {
		padding: 10px;
	}
}
