/*
Theme Name: Theme for CGH-Group
Theme URI:
Description: Theme made for CGH Polska by Zet Studio
Version: 1.0
Author: Zet Studio
Author URI: adres do strony autora motywu
*/


body {
  padding: 0;
  margin: 0;
  font-family: Arial;
  font-size: 15px;
  line-height: 21px;
  color: #404040;
}

header {
  background: url("../images/top.jpg")top right;
  background-repeat: no-repeat;
  display: flex;
  border-bottom: 1px solid #0151ca;
}

.row {
  max-width:1600px;
  width: 100%;
  margin: 0 auto;
}
p.text-center{
  text-align: center;
  margin: 10px 0;
}

a {
    color: #21759b;
    outline: none;
    text-decoration: none;
}

h3.news-tit {
  font-weight: 300;
  font-size: 1.35em;
}

.language-menu {
float: right;
width: 85%;
text-align: right;
padding: 5px;
}
.language-menu a {
  text-align: right;
  color:#fff;
}

.logo {
  float: left;
  width: 15%;
  margin-top: 0px;
}

#site-content {
  padding-top: 10px;
  z-index: 100;
}

/*tymczasowe style menu*/
/*nav.top-navigation {
    width: 85%;
    float: right;
    text-align: right;
}

nav.top-navigation ul li {
    list-style: none;
    padding: 1%;
    font-family: Arial;
    font-size: 12px;
    text-transform: uppercase;
    text-align: left;
}

nav.top-navigation ul{
  display: inline-flex;
  margin-bottom: 0;
}*/

.nav-scroller {
    /*height: 30px; /* set to the height you want your menu to be */
    margin: 0 0 10px; /* just to give some spacing */
}
.nav-scroller ul    {
    margin: 0; padding: 0; /* only needed if you have not done a CSS reset */
}
.nav-scroller ul#menu-menu-1.menu li    {
    display: block;
    float: left;
    line-height: 30px; /* this should be the same as your #main-nav height */
    /*height: 30px;*/ /* this should be the same as your #main-nav height */
    margin: 0; padding: 0; /* only needed if you don't have a reset */
    position: relative; /* this is needed in order to position sub menus */
}
.nav-scroller li a {
    display: block;
    height: 30px;
    line-height: 15px;
    padding: 0 13px;
    font-size: 11px;
    color: #000;
    text-transform: uppercase;
}
.nav-scroller .current-menu-item a, .nav-scroller .current_page_item a, .nav-scroller a:hover {
    color: #000;
    background: #fff;
}

.nav-scroller ul ul { /* this targets all sub menus */
    display: none; /* hide all sub menus from view */
    position: absolute;
    top: 30px; /* this should be the same height as the top level menu -- height + padding + borders */
}
.nav-scroller ul#menu-menu-1.menu li ul.sub-menu li { /* this targets all submenu items */
    float: none; /* overwriting our float up above */
    width: 275px!important; /* set to the width you want your sub menus to be. This needs to match the value we set below */
    background: #fff;
}
.nav-scroller ul ul li a { /* target all sub menu item links */
    padding: 5px 10px; /* give our sub menu links a nice button feel */
    text-transform: none;
}

.nav-scroller ul#menu-menu-1.menu li ul.sub-menu li a,
.nav-scroller ul#menu-menu-1.menu li ul.sub-menu li a:hover{
    line-height: 12px;
    padding: 5px 10px;
    height: 17px;
}

.nav-scroller ul#menu-menu-1.menu li ul.sub-menu{
  border-bottom:1px solid #0151ca;
  border-left:1px solid #0151ca;
  border-right:1px solid #0151ca;
	background:#fff;
}

.nav-scroller ul#menu-menu-1.menu li:hover ul.sub-menu,
.nav-scroller ul#menu-menu-1.menu li a:hover ul,
.nav-scroller ul:hover > ul,
.nav-scroller ul li a:hover > ul {
    display: block; /* show sub menus when hovering over a parent */
}

/*.nav-scroller ul#menu-menu-1.menu li.current_page_item a,*/
.nav-scroller ul#menu-menu-1.menu li a.active,
.nav-scroller ul#menu-menu-1.menu li a:hover{
    border-top:1px solid #0151ca;
    border-left:1px solid #0151ca;
    border-right:1px solid #0151ca;
    color:#090909;
    padding: 0px 12px;
}

.nav-scroller ul#menu-menu-1.menu ul li a:hover {
  border: 0;
  color:#666;
}

/*koniec styli menu*/

.container {
  width: 98%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1%;
  display: table;
}

.slider {
  margin: 0 auto;
  text-align: center;
}

.four-columns {
  display: flex;
}

.prod-img {
  width: 25%;
  padding-top: 10px;
}

.prod-img img {
    margin: 0 auto;
    width: 80%;
    padding: 0 10%;
}

.one-column,.five-columns {
    width: 100%;
    float: left;
    padding-top: 0px;
}

.five-columns div.text-offer {
  float: left;
  padding: 0 1%;
}

.text-offer.col-1-1{
  width:20%;
}
.text-offer.col-2-1{
  width:30%;
}
.text-offer.col-3-1{
  width:25%;
}
.text-offer.col-4-1{
  width:25%;
}

footer {
  width: 100%;
  float: left;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6bfbfbf', endColorstr='#00000000',GradientType=0 );
  border-top: 1px solid #0151ca;
  margin-top: 30px;
}
.background-footer-top{
    background: -moz-linear-gradient(top, rgba(191,191,191,0.65) 0%, rgba(189,189,189,0.65) 1%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(top, rgba(191,191,191,0.65) 0%,rgba(189,189,189,0.65) 1%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to bottom, rgba(191,191,191,0.65) 0%,rgba(189,189,189,0.65) 1%,rgba(0,0,0,0) 100%);
    width: 100%;
    float: left;
}

footer div.container div.five-columns div.text-offer h4{
    color: #2d4191;
    padding-bottom: 6px;
    font-weight: 600;
    margin: 15px 0 0 0;
}

ul.wihout-point {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
ul.wihout-point li a {
  color: #5b5b5b;
  text-decoration: none;
  line-height: 28px;
  margin: 0;
}

.below-footer{
    background: url("../images/bottom.jpg")bottom right;
        background-repeat: repeat;
    background-repeat: no-repeat;
    width: 100%;
    float: left;
}

.five-columns div.text-offer.col-1-1 p,
.five-columns div.text-offer.col-2-1 p,
.five-columns div.text-offer.col-3-1 p,
.five-columns div.text-offer.col-4-1 p {
  margin-bottom: 0px;
  margin-top: 10px;
}

.n2-ss-align.n2-ss-slider-align-visible {
    overflow: visible;
    padding-bottom: 30px;
}


.bottom-text-right{
    width: 85%;
    float: right;
    margin-top: 49px;
    text-align: right;
    color:#666;
}
.two-menu {
  width:85%;
  float: right;
}

.nav-scroller ul#menu-menu-1.menu li.to-bottom a{
    margin-top: 11px;
    height: 19px;
}

.bottom-border-title {
  border-bottom: 1px solid #0151ca;
}

.container h2.blog-post-title {
  color: #2D4191;
  text-decoration: none;
  padding-top: 10px;
  line-height: 30px;
  font-weight: 300;
  font-size: 0.9rem;
  padding-left: 15px;
}
.container h1.blog-post-title {
  color: #2D4191;
  text-decoration: none;
  padding-top: 10px;
  line-height: 30px;
  font-weight: 300;
  font-size: 0.9rem;
  padding-left: 15px;
}

/*Poprawki do Slidera*/
div#n2-ss-3 .n2-ss-slider-1{
  width: 100%!important;
  max-width: 1550px;
}

/* Style the links inside the sidenav */

#mySidenav a {
 position: fixed; /*Position them relative to the browser window */
  right: -162px; /* Position them outside of the screen */
  transition: 0.2s; /* Add transition on hover */
  padding: 5px; /* 15px padding */
  width: 190px; /* Set a specific width */
  text-decoration: none; /* Remove underline */
  font-size: 17px; /* Increase font size */
  color: white; /* White text color */
  border-radius: 0; /* Rounded corners on the top right and bottom right side */
z-index:100000!important;
}

#mySidenav a:hover {
  right: 0; /* On mouse-over, make the elements appear as they should */
}
i.fa.fa-youtube-square,
i.fa.fa-address-book-o,
i.fa.fa-at,
i.fa.fa-facebook {padding:2px 6px 2px 3px;}

/* The about link: 20px from the top with a green background */
#about {
  top: 220px;
background-color: #2196F3; /* Blue */
  /*background-color: #4CAF50;*/
}

#blog {
  top: 260px;
  background-color: #2196F3; /* Blue */
}

#projects {
  top: 300px;
background-color: #2196F3; /* Blue */
  /*background-color: #f44336;  Red */
}

#youtube {
  top: 340px;
  background-color: #2196F3; /* Blue */
}
#contact {
  top: 380px;
  background-color: #555 /* Light Black */
}

/* Style do efektu hover */
header h2{
    font-size:22px;
    font-weight:normal;
    left:50%;
    margin-left:-400px;
    padding:22px 0;
    position:absolute;
    width:540px;
}
header a.stuts,a.stuts:visited{
    border:none;
    text-decoration:none;
    color:#fcfcfc;
    font-size:14px;
    left:50%;
    line-height:31px;
    margin:23px 0 0 110px;
    position:absolute;
    top:0;
}
header .stuts span {
    font-size:22px;
    font-weight:bold;
    margin-left:5px;
}

.photos {
    width: 100%;
    float: left;
    margin: 0px auto;
    position:relative;
}

.photos.large > div {
    float: left;
    margin: 5px;
    overflow: hidden;
    position: relative;
    width: 31%;
    z-index: 1;

    -webkit-transform:scale(1.0);
    -moz-transform:scale(1.0);
    -ms-transform:scale(1.0);
    -o-transform:scale(1.0);
    transform:scale(1.0);

    -webkit-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    -ms-transition-duration: 0.5s;
    -o-transition-duration: 0.5s;
    transition-duration: 0.5s;
}

.photos > div {
    float: left;
    margin: 5px;
    overflow: hidden;
    position: relative;
    width: 23%;
    z-index: 1;

    -webkit-transform:scale(1.0);
    -moz-transform:scale(1.0);
    -ms-transform:scale(1.0);
    -o-transform:scale(1.0);
    transform:scale(1.0);

    -webkit-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    -ms-transition-duration: 0.5s;
    -o-transition-duration: 0.5s;
    transition-duration: 0.5s;
}
.photos > div img{
    width: 100%;
}
.photos > div:hover{
    z-index: 10;
border:1px solid black;
background: #fff;
    -webkit-transform:scale(1.5);
    -moz-transform:scale(1.5);
    -ms-transform:scale(1.5);
    -o-transform:scale(1.5);
    transform:scale(1.5);
}
.photos > div div {
    background: url(../images/hover.gif) repeat scroll 0 0 transparent;
    cursor: pointer;
    height: 100%;
    left: 0;
    opacity: 0.5;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 15;

    -webkit-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    -ms-transition-duration: 0.5s;
    -o-transition-duration: 0.5s;
    transition-duration: 0.5s;
}
.photos > div:nth-child(1):hover div {
    height: 0%;
}

.photos > div:nth-child(2):hover div {
    height: 0%;
    margin-top: 100px;
}
.photos > div:nth-child(3):hover div {
    width: 0%;
}
.photos > div:nth-child(4):hover div {
    margin-left: 300px;
    width: 0%;
}
.photos > div:nth-child(5):hover div {
    height: 0%;
    margin-left: 150px;
    margin-top: 50px;
    width: 0%;
}
.photos > div:nth-child(6):hover div {
    margin-left: 150px;
    width: 0%;
}
.photos > div:nth-child(7):hover div {
    height: 0%;
    margin-left: 150px;
    margin-top: 50px;
    width: 0%;

    -webkit-transform: rotateX(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(-360deg);
    transform: rotate(-360deg);
}
.photos > div:nth-child(8):hover div {
    height: 0%;
    margin-left: 150px;
    margin-top: 50px;
    width: 0%;

    -webkit-transform: rotateZ(600deg);
    -moz-transform: rotateZ(600deg);
    -ms-transform: rotateZ(600deg);
    -o-transform: rotateZ(600deg);
    transform: rotateZ(600deg);
}
.photos > div.pair div {
    width: 50%;
}
.photos > div.pair div:nth-child(odd) {
    margin-left: 150px;
}
.photos > div.pair:hover div {
    width: 0%;
}
.photos > div.pair:hover div:nth-child(odd) {
    margin-left: 300px;
}

.first-zoom-photo-alone{
    float: left;
    margin: 0 5px;
    overflow: hidden;
    position: relative;
    width: 100%;
    z-index: 1;

    -webkit-transform:scale(1.0);
    -moz-transform:scale(1.0);
    -ms-transform:scale(1.0);
    -o-transform:scale(1.0);
    transform:scale(1.0);

    -webkit-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    -ms-transition-duration: 0.5s;
    -o-transition-duration: 0.5s;
    transition-duration: 0.5s;

    transform-origin: center left;
}

.first-zoom-photo-alone:hover{
    z-index: 10;
border:1px solid black;
background: #fff;
    -webkit-transform:scale(1.5);
    -moz-transform:scale(1.5);
    -ms-transform:scale(1.5);
    -o-transform:scale(1.5);
    transform:scale(1.5);
}

.first-zoom-photo {
transform-origin: center left;
}
.pair {
transform-origin: center right;
}
/*koniec efektu hover na zdjeciach*/


/* Tabele */
table tbody tr td.gray{
    background: #ececec none repeat scroll 0 0;
    padding: 4px 10px;
    line-height: 20px;
	font-size:11px;
}

table tbody tr td.gray-top{
    background: #ccc none repeat scroll 0 0;
    padding: 2px 10px;
	font-size:11px;
}
table tbody tr td{border:3px solid #727271;}
table {border:3px solid #727271;}
table tbody tr td.white{
	padding: 4px 10px;
    line-height: 20px;
	font-size:11px;
}

/* Sekcja title na stronie produktowej z drugim menu */
.title-place {
  width:40%;
  float: left;
}

.header-area {
  width:60%;
  float: right;
  text-align: right;
  margin-top: 25px;
}

ul#menu-menu-produktowe.menu-widget{
  margin-bottom: 0;
}

a.button, a.button-orange {
    background: #2d4191;
    padding: 7px;
    color: #fff;
    text-transform: uppercase;
    font-size: 11px;
	margin-left:5px;
	line-height:16px;
}

.wp-block-column iframe,
.wp-block-column div.first-zoom-photo-alone img {
	width: 100%;
	height: 100%;
	max-height: 300px;
}

.wp-block-column iframe{
  border: 0;
}

.nav-scroller ul#menu-menu-1.menu li ul.sub-menu li a {
	margin: 6px 0!important;
}

.b-link-stroke .b-bottom-line, .b-link-stroke .b-top-line {
    background: rgba(0, 0, 0, 0)!important;
}

div.b-link-stroke.b-animate-go a.swipebox div.b-wrapper h2.b-from-left.b-animate.b-delay03.wrgf-header-label {margin-top:35%;}

div.b-link-stroke.b-animate-go a.swipebox {width:100%;}

@media (max-width: 1280px) {
  .nav-scroller li a {
    font-size: 11px;
	padding: 0px 9px
}
	/*.nav-scroller ul#menu-menu-1.menu li.current_page_item a,*/
.nav-scroller ul#menu-menu-1.menu li a.active,
.nav-scroller ul#menu-menu-1.menu li a:hover{
    border-top:1px solid #0151ca;
    border-left:1px solid #0151ca;
    border-right:1px solid #0151ca;
    color:#090909;
    padding: 0px 8px;
}
}
li.current-menu-item.current_page_item a,
li.current_page_item a {
	color:#0151ca;
}
.wp-block-image .aligncenter>figcaption{
	text-align: center;
}
.tg th, .tg td {
    padding: 5px 6px;
    border-style: solid;
    border-width: 1px;
    overflow: hidden;
    word-break: normal;
    border-color: black;
	font-size: 10px;
}
@media (max-width: 1024px) {
	.text-offer.col-1-1,.text-offer.col-2-1,.text-offer.col-3-1, .text-offer.col-4-1 {
    width: 50%;
    flex: 0 0 50%;
    max-width: 50%;
		margin: 20px 0;
}
	.five-columns {
    width: 100%;
    padding-top: 0px;
    display: flex;
    flex-direction: row;
    max-width: 100%;
    flex: 0 0 100%;
    flex-wrap: wrap;
}

}

@media (max-width: 800px) {
.bottom-border-title .container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.menu-right-place{
    display: flex;
    flex-direction: column;
    align-items: stretch;
	text-align:center
}
	h1.blog-post-title {
    font-size: 1.5rem;
    text-align: center;
    padding-bottom: 0.5rem;
	}
	.title-place {
    width: 100%;
}
}

@media (max-width: 748px) {
	.text-offer.col-1-1,.text-offer.col-2-1,.text-offer.col-3-1, .text-offer.col-4-1 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
}
}
