/*
Theme Name: REVOLUTION GYM 
*/


html {
	overflow-y: scroll;
	background:#000000;
}

html,
button,
input,
select,
textarea {
	font-family: 'Montserrat', Helvetica, Arial, Sans-serif;
}

body { 
	margin: 0;  
	font-family: 'Montserrat', Helvetica, Arial, Sans-serif; 
	color:#FFF;
	font-size:16px;
    line-height: 1.8em;
	background:#000;
}

a {
    color: #FFF; 
	text-decoration: none;
}

a:focus,
a:active,
a:hover { 
	outline: none;
	border:none;
}

a:hover {
	text-decoration: none;
	color:#004e7d;
}
 
h1{
	margin:0 0 20px;
	color:#242424; 
}

h2 {
    font-weight: bold;
    font-size: 50px;
    margin: 0 0 50px;
	color:#FFF; 
	text-transform:uppercase; 
	padding:0 0 40px 0;
	letter-spacing:2px;
	line-height:1.1;  
	background:url(https://revolutiongym.pl/wp-content/themes/revolutiongym/images/h2.png)no-repeat center bottom;
}
h3{
	color:#242424;
	font-size:25px;
	font-weight:700;
	margin:0 0 20px;
	line-height:1.2; 
}
h4 {
    font-weight: 700; 
    margin: 0 0 50px;
    font-size: 36px;
	line-height:1.2; 
	padding:0;	
	color:#FFF; 
}
h5{
    font-weight: 700;
    font-size: 30px;
	padding:0;
    margin:0 0 5px;
	letter-spacing:2px;
	color:#ff0000;
	line-height:1.2; 
}

h5 a{
    font-size: 20px;
	color:#00a651;
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
}
h5 a:hover{
	color:#6d207c;
	text-decoration:none;
}

h6,
h6 a{
color:#000;
}



p {
	margin: 0 0 20px;
	color:#FFF;
	font-size:1em;
    line-height: 1.9em;
}
 

.wp-caption-text{
	text-align:center;
	padding:10px;
}

nav ul,
nav ol {
	list-style: none;
	list-style-image: none;
}

li > ul,
li > ol {
	margin: 0;
}

img {
	-ms-interpolation-mode: bicubic;
	border: 0;
	vertical-align: middle;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0;
    max-width: 100% !important;
}

form {
	margin: 0;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
	white-space: normal;
}

button,
input,
select,
textarea {
	font-size: 100%;
	margin: 0;
	max-width: 100%;
	vertical-align: baseline;
}

.button,
button,
html input[type="button"],
input[type="reset"],
input[type="submit"]{ 
	cursor: pointer;    
	outline:none;
    text-decoration: none;
    width: auto; 
	border:solid 2px #000;
	background:#FFF;
	line-height:1;
	font-weight:bold;
	color:#000;
	text-transform:uppercase;
	letter-spacing:2px;
	display:inline-block; 
	padding:12px 40px;
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;   
}
.button:hover,
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover{   
	color:#FFF;
	background:#000;
	border:solid 2px #000;
	text-decoration:none;
}
 


button[disabled],
input[disabled] {
	cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0;
}

input[type="search"] {
	-webkit-appearance: textfield; 
}

input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

table {
	border-bottom: 1px solid #ededed;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 14px;
	line-height: 2;
	margin: 0 0 20px;
	width: 100%;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

caption {
	font-size: 16px;
	margin: 20px 0;
}

th {
	font-weight: bold;
	text-transform: uppercase;
}

td {
	border-top: 1px solid #ededed;
	padding: 6px 10px 6px 0;
}

del {
	color: #333;
}

ins {
	background: #fff9c0;
	text-decoration: none;
}

/**
 * INNE
 * ----------------------------------------------------------------------------
 */

.clear:after{
	clear: both;
}

.clear:before,
.clear:after{
	content: "";
	display: table;
}

.screen-reader-text {
	display:none;
} 

::-webkit-input-placeholder {
	color: #000;
}

:-moz-placeholder {
	color: #000;
}

::-moz-placeholder {
	color: #000;
}

:-ms-input-placeholder {
	color: #000;
}

img{
	max-width: 100%;
}

/* Make sure images with WordPress-added height and width attributes are scaled correctly. */
.entry-content img,
.entry-summary img,
.comment-content img[height],
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto;
}
img,
img.size-full,
img.size-large,
img.wp-post-image {
	height: auto;
	max-width: 100%;
}

/* Make sure videos and embeds fit their containers. */
embed,
iframe,
object,
video {
	max-width: 100%;
}

ul{
	list-style-image:url(https://revolutiongym.pl/wp-content/themes/revolutiongym/images/li.png);
	margin:0 0 20px;
	padding:0 0 0 20px;
}

ul li{
	margin: 0 0 5px;
	padding: 0px;	
}

input{
	border: none;
color:#000;
	border:solid 2px #000;
    padding: 5px 13px;
    margin: 6px 0;
    font-size: 14px;
	background:#FFF; 
	width:100%; 
}
textarea{
	height: 90px;  
color:#000; 
	width: 100%;
    padding: 5px 13px;
    margin: 6px 0;
    font-size: 14px;
	border: none;
	border:solid 2px #000; 
}

.aligncenter{
	margin:0 auto;
}
.alignleft{
	float:left;
	margin:0 20px 20px 0;
}
.alignright{
	float:right;
	margin:0 0 20px 20px;
}
 

/**
 * 4.1 Site Header
 * ----------------------------------------------------------------------------
 */

#top{
	background:rgba(11,42,62,0);  
	right: 0;
	left: 0;
	z-index: 1030;
	position: fixed;
	transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-webkit-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	padding:20px 0 10px;
} 
header.shrink{    
	box-shadow: 3px 1px 5px 0px rgba(1, 2, 2, 0.25); 
	background:#000 !important;
	padding:10px 0  !important;
} 
header.shrink .logo img{ 
    width: 212px;
}  
header.shrink .main-navigation{
	margin-top:10px;
}
 

/* LOGO */

.logo{ 
}

.logo img{
	width:282px;
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
}
.logo img:hover{
	opacity:0.7;
}
  
.page{
	overflow:hidden; 
}

/* SLIDER */

.slider{   
	background:#000;
}
 

/* GRID 1 */

.grid1{ 
	padding:150px 0 100px;
	background: url(https://revolutiongym.pl/wp-content/themes/revolutiongym/images/grid1.jpg)no-repeat center center #000;
	background-size:cover;
	overflow:hidden; 
	border-top:solid 1px #575757;
	border-bottom:solid 1px #575757;
	text-align:center;
}   
.grid1 p{
	color:#FFF;
}
.grid1 .col-md-2{
	width:14.28%
}

.box{
	display:inline-block;
	padding:15px; 
	margin-bottom:20px;
	border:solid 1px #6a6a6a;
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
} 
.box img{
	filter: brightness(0) invert(1);
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
}

.box:hover{
	border:solid 1px #ff0000;
}

.box:hover img{
	filter: none;

}
	
/* GRID 2 */

.grid2{  
	overflow:hidden;  
	text-align:center;
	background:#000;
}  
.grid2 .row{
	margin:0;
}

.grid2 .col-md-3{
	padding:0;
}
.grid2 a{
	display:block;
	border-right:solid 1px #575757;
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
}
.grid2 a:hover{
	opacity:0.5;
}

/* GRID 3 */

.grid3{ 
	padding:150px 0 100px;
	background: url(https://revolutiongym.pl/wp-content/themes/revolutiongym/images/grid2.png)no-repeat left center #FFF;
    background-size: contain;
	overflow:hidden;  
	text-align:center;
}   
.grid3 h2,
.grid3 p,
.grid3 h4{
	color:#000;
}

.box2{
	background:#f0f3f2;
}

.box2-wrap{
	padding:20px;
	min-height:266px;
}

.box2 img{
width:100%;
}

h6{
	font-size:17px;
	font-weight:bold;
	color:#000;
	text-transform:uppercase;
	padding:0;
	margin:0 0 20px;
}


/* GRID 4 */

.grid4{ 
	padding:70px 0 60px;
	overflow:hidden; 
	background:#333333;
}  
.grid4 h4{
	font-size:22px;
	text-transform:uppercase;
    margin: 0 0 20px;	
} 
 .grid4 p{
	color:#FFF;
 }
 
 
/* GRID 5 */

.grid5{ 
	padding:150px 0 100px;
	background: url(https://revolutiongym.pl/wp-content/themes/revolutiongym/images/grid3.jpg)no-repeat center center #000;
	background-size:cover;
	overflow:hidden; 
	border-top:solid 1px #575757;
	border-bottom:solid 1px #575757;
	text-align:center;
}   
.grid5 p{
	color:#FFF;
}

.grid5 .box{
	display:block;
	padding:30px;
	min-height:345px;
}
 
.grid5 h4{ 
	font-size:24px;
	text-transform:uppercase;
}

.grid5 .box.mapa img{
	filter: none;
}
 
/* GRID 6 */

.grid6{ 
	padding:150px 0 70px;
	background: url(https://revolutiongym.pl/wp-content/themes/revolutiongym/images/grid4.jpg)no-repeat right center #FFF;
    background-size: contain;
	overflow:hidden;  
	text-align:center;
}   
.grid6 h2,
.grid6 h4{
	color:#000;
}
	

#map {
	width: 100%;
    height: 283px;
}

/* PAGE */


.page-top{ 
	text-align:center;
	margin-bottom:40px;
	background:url(https://revolutiongym.pl/wp-content/themes/revolutiongym/images/grid3.jpg)no-repeat top center fixed;
	background-size:cover;
    padding-top: 190px;
	padding-bottom:60px;
}
.page-top h1{ 
    font-weight: 700;
	min-width:100px; 
    font-size: 35px;
    margin: 0;
    color: #FFF;
	background:#ff0000;
    display: inline-block;
    padding: 20px; 
}
 
/* INNE */

.margin-bottom,
.mapa{
	margin-bottom:20px;
}
.margin-bottom2{
	margin-bottom:80px;
}

.post-comments{
	padding-top:30px;
}
 

label{
   padding: 8px 0;
}

/**
 * 4.2 Navigation
 * ----------------------------------------------------------------------------
 */
 
 
.main-navigation { 
	margin: 23px 0 0;  
	float:right;
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
}

ul.nav-menu,
div.nav-menu > ul {
	margin: 0;
	padding: 0;
	list-style:none;
}

.nav-menu li { 
	float:left;
	margin:0 5px;
}

.nav-menu li a {
    color: #FFF;
    font-size: 14px; 
	font-weight:bold;
	text-transform:uppercase;
	letter-spacing:1px;
	line-height:1; 
	display:block;  
    padding: 12px 25px;
	background:rgba(255,255,255,0);
	text-decoration: none;
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out; 
}   

.nav-menu li.menu-item-has-children > a{
	background:url(https://revolutiongym.pl/wp-content/themes/revolutiongym/images/menu-arrow.png)no-repeat right 10px center;
	padding-right:25px;
}
.nav-menu li.menu-item-has-children > a:hover,
.nav-menu li.menu-item-has-children:hover > a,
.nav-menu li.menu-item-has-children > a:focus{
	background:url(https://revolutiongym.pl/wp-content/themes/revolutiongym/images/menu-arrow.png)no-repeat right 10px center #ff0000; 
}

.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus { 
	background:#ff0000;
	color:#FFF; 
}

.nav-menu .sub-menu,
.nav-menu .children {
    border: 0; 
    text-align: left;
    padding: 0;
    margin: 0;
    position: absolute;
    z-index: 99999;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px,1px,1px,1px);
}

.nav-menu .sub-menu ul,
.nav-menu .children ul {
	border-left: 0;
	left: 100%;
	top: 0;
}
.nav-menu .sub-menu  li,
.nav-menu .children  li{
	display:block;
	width:100%; 
	margin:0; 
	float:none;
}

ul.nav-menu ul a,
.nav-menu ul ul a {  
	padding:12px 20px;
	display:block;
	margin: 0;  
    background: rgba(0, 77, 125, 0.9);
	border:none;
	color:#FFF;
	width:260px;
}

ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
  background: #ff0000;
  color:#FFF;
	border:none;
}

ul.nav-menu li:hover > ul,
.nav-menu ul li:hover > ul,
ul.nav-menu .focus > ul,
.nav-menu .focus > ul {
	clip: inherit;
	overflow: inherit;
	height: inherit;
	width: inherit;
} 
.menu-toggle {
	display: none;
}


/**
 * FOOTER
 * ----------------------------------------------------------------------------
 */

.footer{ 
	background:#000; 
	font-size:14px;
}

.grid_footer{
	padding:70px 0 70px; 
	overflow:hidden;
	text-align:center;
}


 
.copyright{
	padding:25px 0; 
	border-top:solid 1px #363636;
}

.copyright p{
	color:#8790a5;  
	text-transform:uppercase;
	margin:0; 
	font-size:12px;
}
.copyright a{
	color:#8790a5;  
	font-weight:bold;
	opacity:0.5; 
	font-size:12px;	
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}
.copyright a:hover{
	text-decoration:none;
	color:#fff;
	opacity:1;
}

/* PAGE */

.wpcf7 p{
	margin-bottom:10px;
}

 

@media (max-width: 1200px){  
	.nav-menu li a {  
		font-size: 13px; 
	}
	
	.grid5 .box{
		padding:21px;
	}
	
	.box2-wrap { 
		min-height: 434px;
	}
}

/* Collapse oversized image and pulled images after iPad breakpoint. */
@media (max-width: 990px) {
  
	header.shrink .logo img{
		width:auto; 
	}
	 
	.grid3{
		background:#FFF;
	}
	
	.grid1 .col-md-2 {
		width: 25%;
		float: left;
	}
	
	.grid1 .col-md-2:nth-of-type(4n+1){
		clear:both;
	}
	
	.box2-wrap {
		min-height: 300px;
		margin-bottom: 20px;
	}
	
	.grid5 .box { 
		min-height: auto;
	}
	 
	#top{
		position: relative; 
		right: auto;
		left: auto;
		z-index: 1030;
		transition: all 0.5s ease-in-out;
		-moz-transition: all 0.5s ease-in-out;
		-webkit-transition: all 0.5s ease-in-out;
		-o-transition: all 0.5s ease-in-out;
		background:#000;
		padding: 25px 0 10px;
	} 
	 
	header.shrink{     
		padding: 25px 0 10px !important;
	}  
	
	.page-top{
		padding-top:25px;
	}
	
	.main-navigation,
	header.shrink .main-navigation{
		margin:10px;
	} 
	
	#top .col-md-9{
		position:inherit;
	}
	
	/* Small menu */
	
	.toggled-on .nav-menu, .toggled-on .nav-menu > ul {
		display: block;
		width: 100%;
	}
	.menu-toggle,
	.menu-toggle:hover,
	.menu-toggle:focus,
	.menu-toggle:active { 
		border: none;
		color: #FFF;
		display:inline-block;
		font-weight: 700;
		font-size:14px;
		border: solid 1px #FFF; 
		line-height: 1;
		padding: 12px 45px 12px 20px;
		background:url(https://revolutiongym.pl/wp-content/themes/revolutiongym/images/menu.png)no-repeat right 15px center; 
		margin-bottom:5px;
	}
	
	ul.nav-menu{
		position: absolute;
		left: 0;
		padding: 0;
		background: #fff;
		text-align:center;
		width: 100%;
		opacity: 1;
		z-index: 9999;
		margin:22px 0 0; 
		box-shadow: 0 2px 5px rgba(0,0,0,0.1);
		-moz-box-shadow: 0 2px 5px rgba(0,0,0,0.1);
		-webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	}
	.nav-menu li {
		margin:0;
		float:none;
	}
	.nav-menu li.menu-item-has-children > a {
		padding: 13px 15px; 
	} 
	
	.nav-menu li a{
		border-bottom: solid 1px #EBEBEB;
		line-height: 1; 
		font-size:15px;
		display:block; 
		color:#000;
		padding: 13px 15px;
	}
	.nav-menu li a:hover{ 
		border-bottom: solid 1px #EBEBEB;
	}
	.toggled-on .nav-menu,
	.toggled-on .nav-menu > ul {
		display: block; 
		width: 100%;
	}

	.toggled-on li,
	.toggled-on .children {
		display: block;
	}

	.toggled-on .nav-menu li > ul {
		background-color: transparent;
		display: block;
		text-align:center;
		float: none; 
		position: relative;
		left: auto;
		top: auto;
	}

	.toggled-on .nav-menu li > ul a {
		width: auto;
	}

	.toggled-on .nav-menu li:hover > a,
	.toggled-on .nav-menu .children a {
		background-color: transparent;
		color: #141412;
	}

	.toggled-on .nav-menu > li a:focus,
	.toggled-on .nav-menu > ul a:focus,
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background:#000;
		color: #FFF;
	}
 
	ul.nav-menu,
	div.nav-menu > ul {
		display: none;
	}
	
}

/* Mobile devices */
@media (max-width: 769px) {
 
	
	.grid1 .col-md-2 {
		width: 50%;
		float: left;
	}
	  
	.grid1 .col-md-2:nth-of-type(2n+1){
		clear:both;
	} 
	 
	.grid4{
		text-align:center;
	}
	
	.grid4 h4{
		margin-top:20px;
	}
	 
	.box2-wrap {
		min-height: auto; 
	}
	
	.footer{
    text-align: center;
	}
	
	.grid_footer .col-md-4{
		margin-bottom:25px;
	}
	.only-desktop{
		display:none !important;
	}
	
	.copyright,
	.text-right{
		text-align:center !important;
	}
}
	
/* Mobile devices */
@media (max-width: 500px) {
  
	h2{
		font-size: 35px;
	}
	h5 { 
		font-size: 25px;
	}
	
	.grid6{
		background:#FFF;
	}
	.grid1 .col-md-2 {
		width: 100%;
		float: left;
	}
	.main-navigation, header.shrink .main-navigation {
		margin: 0;
	}
	.menu-toggle, .menu-toggle:hover, .menu-toggle:focus, .menu-toggle:active { 
    font-size: 12px;
    padding: 12px 32px 12px 15px;
	}
	 
}
