/* FlatMania template customization / Wordpress link stylesheet */

@font-face {
  font-family: Lato;
  src: url("../fonts/lato-regular.ttf?v=1.0.0");
  src: url("../fonts/lato-regular.ttf?v=1.0.0") format("truetype");
}

/* Commons */

.col-xs-6 {
	width: 100%;
}
@media (min-width: 480px) {
	.col-xs-6 {
		width: 50%;
	}
}

body, h1, h2, h3, h4, h5, h6 {
	font-family: Lato, "Open Sans", sans-serif;
}

h2 {
	margin-top: 0;	
}

p:empty {
	display: none;
}
p + p {
	margin-top: 10px;
}

label[for] {
	cursor: pointer;
}

.inner-page .sidebar-link ul li a  {
  text-transform: none;
}

@media (min-width: 1200px) {
  .padd-left {
    margin-left: 30px;
  }
  .padd-right {
    margin-right: 30px;
  }
  .padd-box > .box {
  	margin: 10px;
  }
}
@media (min-width: 768px) {
  .padd-left-sm {
    margin-left: 30px;
  }
  .padd-right-sm {
    margin-right: 30px;
  }
  .padd-box-sm > .box {
  	margin: 10px;
  }
}

/* Header */

.header {
	margin: 20px 0;
}
.header .logo {
  margin-top: 0;
}
.header .logo a {
  display: inline-block;
  padding: 0 1em;
}
.header .logo h1 {
	font-size: 35px;
}
.header .header-navigation .container {
	position: relative;
}
.header .navbar-collapse {
  max-height: auto;
  overflow: visible;
}
.header .navbar-default .navbar-nav > li ul.dropdown-sm {
	width: 350px;
}
.header .navbar-default .dropdown-menu {
  border-color: rgba(75, 170, 211, 0) rgba(75, 170, 211, 0) rgba(17, 17, 17, 0.75);
  background-color: rgba(17, 17, 17, 0.75);
}
.header .navbar-default .navbar-nav > .dropdown .dropdown-menu:after {
  border-color: rgba(75, 170, 211, 0) rgba(75, 170, 211, 0) rgba(17, 17, 17, 0.75);
}
.header .languages {
  float: right;
  margin-bottom: 3px;
}
.header .languages ul {
	list-style-type: none;
	margin: 0;
	overflow: hidden;
	padding: 0;
}
.header .languages li {
	display: inline-block;
}
.header .languages a {
	border-radius: 2px;
	display: inline-block;
	filter: alpha(85);
	height: 20px;
	opacity: .85;
	width: 30px;
	text-align: center;
}
.header .languages a:hover {
	filter: alpha(100);
	opacity: 1;
}
.header .languages img {
	vertical-align: baseline;
}
.header .languages .lang-item-pl {
	margin-right: 3px;
}
.header .languages .lang-item-pl a {
	background: url("../img/flags/pl_PL.png") no-repeat;
}
.header .languages .lang-item-en {
	margin-right: 3px;
}
.header .languages .lang-item-en a {
	background: url("../img/flags/en_US.png") no-repeat;
}
.header .languages .lang-item-de a {
	background: url("../img/flags/de_DE.png") no-repeat;
}
.header .languages .lang-item-pl a img,
.header .languages .lang-item-en a img,
.header .languages .lang-item-de a img {
	display: none;
}
.header .navbar {
  clear: both;
}
.header .navbar .navbar-nav > li > a .fa-home {
	font-size: 1.5em;
}
.header .navbar .navbar-nav > li > a .fa-cog {
	font-size: 1.4em;
}
@media (max-width: 767px) {
  .header .languages {
    position: absolute;
    top: 0;
    right: 6px;
  }
}


/* Footer */

.footer {
	padding-bottom: 30px;
	padding-top: 20px;
} 
.footer .footer-copyright {
	border-top: none;
	margin-top: 0;
	padding-top: 0;
}

#cookies-message {
	background: #000;
	border-top: 1px solid #222;
	bottom: 0;
	color: #fff;
	font-size: 13px;
	left: 0;
	padding: 10px;
	position: fixed;
	right: 0;
	text-align: center;
	z-index: 100;
}
#cookies-message .btn {
	padding: 1px 6px 2px;
	vertical-align: baseline;
	margin: 0 5px;
}

/* Box layout */

@media (max-width: 767px) {
  .inner-page {
   	max-width: none;
  }
  .header .header-navigation {
    max-width: none;
    padding: 0 3.5px;
    width: 95%
  }
}

.boxPlaceholder {
  border: 1px dotted #444;
  color: #444;
  margin: 10px;
  padding: 50px 20px;
  text-align: center;
}

.box {
	height: auto;  
}
.box.box-lg {
  height: 400px;
}
.box .box-content > h2 {
	font-size: 30px;
	font-weight: bold;
	margin-bottom: 0;
	text-align: center;
}
.box .box-content h2 + p {
	margin-top: 15px;
}
.box .box-content p {
	font-size: 13px;
}
.box .box-content .btn {
	font-size: .7em;
	padding: 4px 8px;
}
.box-standard .box-content {
  display: table;
}
.box-standard .box-content-inner {
  display: table-cell;
  vertical-align: middle;
}
.box-standard .box-content a {
  color: #fff;
}
.box-standard.hasUrl {
	cursor: pointer;
	transition-duration: .5s;
}
.box-standard.hasUrl:hover {
	box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.4) inset;
}
.box-standard.hasUrl > a {
	color: inherit;
	display: block;
	height: 100%
}
.box-standard.hasUrl .box-content.navigation {
	display: table;
	position: relative;
} 
.box-standard.hasUrl .box-content.navigation .h2 {
	display: block;
	font-size: 30px;
	font-weight: bold;
	line-height: 1.1;
	margin: 0;
	text-align: center;
}
.box-standard.hasUrl .box-content.navigation .p {
	display: block;
	font-size: 13px;
	margin-top: 15px;
}
.box-description {
	box-shadow: none;
}
.box-description .box-content {
	padding-left: 10px;
	padding-right: 10px;
}
.box-image {
  box-shadow: none;
}
.box-image .box-content {
	cursor: default;
}
.box-image .box-content.box-gallery img.box-gallery-img {
	left: auto;
	margin: 0 auto;
	position: static;
	top: auto;
	transition: all 3s ease-in-out 0s;
	width: 100%;
}
.box-image:hover .box-content.box-gallery img.box-gallery-img {
	transform: scale(2) translateY(25%);
}
.box-image:hover .box-content.box-gallery img.box-gallery-img[src$="2015/09/Glowna-Hania.jpg"],
.box-image:hover .box-content.box-gallery img.box-gallery-img[src$="2015/09/Glowna-Natalia.jpg"] {
  transform: scale(2) translateY(10%);
}
.box-image:hover .box-content.box-gallery img.box-gallery-img[src$="2015/09/Glowna-Ola.jpg"] {
  transform: scale(2) translateY(25%) translateX(25%);
}
.box-image:hover .box-content.box-gallery img.box-gallery-img[src$="2016/12/Glowna-Aleksandra.jpg"] {
  transform: scale(2) translateY(15%) translateX(12%);
}
.box-image:hover .box-content.box-gallery img.box-gallery-img[src$="2016/12/Glowna-Justyna.jpg"] {
  transform: scale(2) translateY(25%) translateX(20%);
}
.box-auto {
	height: auto;
}
.box-auto .box-content {
	position: static;
	height: auto;
	left: auto;
	top: auto;
}


/* Homepage */

@media (min-width: 1200px) {
  .home .col-lg-2 {
  	width: 20%;
  } 
}
.home .box {
	height: auto;
	margin-top: 10px;
}
.home .box .box-content {
	position: static;
	height: auto;
	left: auto;
	top: auto;
}
.home > .row > div[class^="col-"]:first-child > .box-standard .box-content-inner > h2 {
	font-size: 30px;
	font-weight: bold;
	text-align: center;
}

@media (min-width: 480px) {
  .home .col-xs-6:nth-child(2n+3) {
    clear: left;
  }
}
@media (min-width: 768px) {
  .home .col-xs-6:nth-child(2n+3) {
    clear: none;
  }
  .home .col-sm-4:nth-child(3n+4) {
    clear: left;
  }
} 
@media (min-width: 992px) {
  .home .col-sm-4:nth-child(3n+4) {
    clear: none;
  }
  .home .col-md-3:nth-child(4n+5) {
    clear: left;
  }
}
@media (min-width: 1200px) {
  .home .col-md-3:nth-child(4n+5) {
    clear: none;
  }
  .home .col-lg-2:nth-child(5n+6) {
    clear: left;
  }
}

/* Sidebar */

.page-sidebar .page-title h2 {
	font-size: 30px;
	line-height: 35px;
	margin: 0;
}

/* Contact page */

.contactus-content,
.contact-form {
  width: 80%;
  margin: 0 auto;
}
.contact-form .hq {
	background: url('../img/siedziba.jpg') no-repeat 50% 50%;
	background-size: cover;
	height: 304px;
}
@media (max-width: 480px) {
  .contactus-content {
    width: auto;
    margin: 0;
  }
}
@media (max-width: 1199px) {
  .form {
    margin-bottom: 30px;
  }
}
@media (max-width: 991px) {
  .gmap {
    margin-top: 30px;
  }
}
@media (min-width: 768px) {
  .contact-form {
    width: auto;
    margin: 0;
  }
}
@media (min-width: 1200px) {
  .contact-form {
    width: 80%;
    margin: 0 auto;
  }
}

.inner-page .contactus .contact-form iframe {
	height: 304px;
	margin-left: 0;
}

/* Newsletter */

.newsletter h2,
.single-wysijap h2 {
	margin-bottom: 40px;
}
.newsletter form {
  background: #702583;
  border-radius: 6px;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1) inset;
  padding: 20px;
  width: 500px;
}
.newsletter label {
  font-size: 14px !important; /*inline*/
}
.newsletter input[type="text"] {
  color: #555;
  font-size: 14px;
  padding: 6px 12px;
  width: 100%;
}
.newsletter fieldset.knewsbutton {
  text-align: right;
}
.newsletter input.knewsbutton {
  background-color: #5bc0de;
  border-color: #46b8da;
  border-style: none;
  border-radius: 2px;
  display: inline !important; /*inline*/
  font-size: 14px !important; /*inline*/
  padding: 5px 15px;
}
.newsletter input.knewsbutton:hover,
.newsletter input.knewsbutton:focus,
.newsletter input.knewsbutton:active {
  background: #39b3d7;
  border-color: #269abc;
}
.newsletter .requiredtext small {
  font-size: 12px;
}
.newsletter p.error {
  margin-bottom: 1em;
}

#knews_dialog_bg {
  padding: 20px 30px;
}
#knews_dialog p {
  margin: 0;
  padding: 0 !important; /*sheet order*/
}
#knews_dialog p:empty {
  display: none;
}
#knews_dialog p + p{
  margin-top: 20px;
}

@media (max-width: 767px) {
  .newsletter .knewsform_container {
    width: 100%;
  }
}

/* 404 */

.inner-page .error .error-content h2 {
	font-size: 30px;
}

/* Offer */

.offer > h2 {
	font-size: 30px;
	line-height: 35px;
	margin-top: 15px;
	padding-left: 10px;
}
.offer-content {
	margin-top: 30px;
}
.offer-content .box .box-content > h2:first-child,
.offer-content .box .box-content-inner > h2:first-child {
	display: none;
}
.offer-content .box p,
.offer-content .box h2 + p,
.offer-content .box ol,
.offer-content .box ul {
	margin: 0;
}
.offer-content .box-image .box-content {
  height: auto;
}
.offer-content .box-image .box-content img.box-gallery-img {
  transition: none;
}
.offer-content .box-image:hover .box-content img.box-gallery-img {
  transform: none;
}
.offer-content i.fa {
  display: inline-block;
  font-size: 65px;
}

.offer-txt-img-txt-1x2 .offer-content .box-md {
  height: 220px;
}

/* Plugins and widgets */

#slb_viewer_wrap .slb_theme_slb_default .slb_data_title {
	font-family: inherit !important;
	font-size: 15px !important;
}
#slb_viewer_wrap .slb_theme_slb_default .slb_group_status {
	font-family: inherit !important;
	font-size: 15px !important;
	float: right;
}
#slb_viewer_wrap .slb_theme_slb_default .slb_data_content {
	margin-top: 3px;
}
#slb_viewer_wrap .slb_theme_slb_default .slb_data_desc {
	display: none;
}

#gmap_canvas {
	color: #000;
}
#gmap_canvas img {
	max-width: none !important;
	background: none !important
}

.ninja-forms-required-items {
	display: none;
}
.ninja-forms-response-msg:empty {
	display: none;
}
.ninja-forms-response-msg {
	font-weight: bold;
	margin-bottom: 1em;
} 
.ninja-forms-error-msg {
	color: #e63131;
}
.ninja-forms-success-msg {
	color: #6fae26;
}
.ninja-forms-field-error {
	font-size: 13px;
	color: #e63131;
}
.ninja-forms-cont .field-wrap {
  margin-bottom: 0;
}
.ninja-forms-cont .field-wrap + .field-wrap {
  margin-top: 20px;
}

/* Wordpress formatting */

/* Based on twenryfourteen Wordpress theme */

/* Alignment */

.alignleft {
	float: left;
	margin-right: 39px;
}
.alignright {
	float: right;
	margin-left: 39px;
}

/* Images */

.wp-caption.alignleft {
	margin: 0 39px 0 0;
}
.wp-caption.alignright {
	margin: 0 0 0 39px;
}
.wp-caption.aligncenter {
	margin: 0 auto;
}
.wp-caption {
	background: transparent;
	border: none;
	color: #767676;
	margin: 0 0 24px 0;
	max-width: 474px;
	padding: 0;
	text-align: left;
}
.wp-caption-dt {
	margin: 0;
}
.wp-caption-dd,
.wp-caption .wp-caption-text {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 12px;
	font-style: italic;
	line-height: 1.5;
	margin-bottom: 7px;
	margin-top: 3px;
	padding: 0 3px;
}
.footer {
    color: #bebebe;
    font-size: 11px;
    text-align: center;
}