body, html {
    margin: auto;
    padding: 0;
    height: 100%;
    overflow y: hidden;
}
body {
    line-height: 1.4em;
    font-size: 100%;
    background: url('../images/bg.jpg');
    font-family: 'Trebuchet MS', sans-serif;
    font-weight: 400;
    height: 100%;
	width: 80%;
}
#hamburger{
	display: none;
}
#wrapper{
    min-height: 100%;
    height: auto !important;
    width: auto;
	margin: 0 auto -100px;
	max-width: 1130px;
}
.defaultWidth {
    width: auto;
    margin: auto;
}


.beforeContent{
    float: left;
    width: 650px;
}

#content{
    /*background: #fff;*/
    padding: 20px;
    width: auto;
    /*border: 1px solid #c7c7c7;*/
    border-radius: 3px;
    margin-bottom: 13px;
}

.logoBackground{
    background: url("../images/topbg.jpg") repeat scroll 0 0 transparent;
    /*border: 1px solid #C7C7C7;
    border-radius: 3px 3px 3px 3px;*/
    margin-bottom: 10px;
    margin-top: 5px;
    position: relative;
    width: 100%;
    background-size: cover;
}
.bhead{
	padding-left: 220px;

}
.shead{
	padding-left: 224px;
}

#logo img{
    max-height: 91px;
	width:	86px;
	position: absolute;
	top: 2rem;
}

#contentColumn{
    float: left;
    padding-left: 0;
    padding-right: 0;
    padding-top: 30px;
    position: relative;
    width: 71%;
}

#footer {
    background: transparent url('../images/1pxstripe.png') left top repeat-x;
    padding: 20px;
    width: 90%;
	margin: auto;
}

.item h2{
	width: 80%;
}

.small .left{
	width: 300px;
}

.small .right{
	width: 300px;
}


.counter{
	margin-left: 20px;
}

#outerfooter{
	max-width: 80%;
}

@media screen and (max-width: 1300px){
    body{
        width: 100%;
    }
	#content
	{
    	width: auto;
	}

	#outerFooter{
		height: 115px;
	}

	.column-1{
		width: 90%;
	}

}
@media(min-width:1001px){
    #leftColumn{
      display: block !important;
    }
}
@media screen and (max-width: 1000px){

		html{
			font-size: 1rem;
		}

		.info-icon{
			position: relative;


		}

		.beforeContent{
    		float: none;
    		width: 100%;
		}
		#contanctMenu{
    		float: none;
    		margin-right: 0;
		}
		div.afterContent {
    		float: none;
    		width: 100%;
    		padding: 0 10px;
		}
		#contentColumn{
    		float: none;
			position: static;

    		width: 100%;
		}
		.push{
    		clear: none;
    		/*height: 100%;*/
		}
		#footermenu{
    		/*display: flex;*/
    		float: none;
    		/*height: 100%;*/
    		width: 100%;
		}

		#footermenu li{
    		/*display: flex;*/
    		float: none;
		}

		#logo {
    		float: none;
    		/*height: 100%;*/
        	width: auto;
		}

		#leftColumn{
    		float: none;
    		margin-right: 0;
    	    width: 100%;
			display: none;
		}
		#hamburger{
			display: block;
		}
		#contact
		{
    		float: none;
		}
		.defaultWidth{
			width: 100%;
			/*margin: 0;*/
		}
		.actions{

		}
		.info-icon{

		}
}

@media screen and (max-width: 690px){
		.info-icon{
			position: relative;
			/*left: -250px;*/

		}
    .custom title{
      font-size: 1rem !important;
    }

    .span-edit{    /* Used to edit the title "UG Tarnawatka - Biuletyn Informacji Publicznej" */
      font-size: 1rem;
    }
    /* .footermenu.li.a {
      text-decoration: none;
      text-align: left;

    } */

    #footermenu.nav.menufooter-list.mod-list{

    }

    /* .item-282{
      /* margin-right: 10px; */

      /* display: flex;
      padding-top: 10px;
      padding-right: 45px;

    } */
    /* .item-286{

      padding-right: 45px;
      padding-bottom: 1px;
    } */

  .defaultWidth{
	padding:0px;
	margin-bottom: 20px;
  }


	table img{
		width: 60vw;
		height: auto;
	}

	.LogoPWT2014, .FBW_logoc{
		width: 60vw;
		height: auto;
	}

	.logoTable{
		display: flex;

	}

	.column-1 h2{
		width: 70%;	}

	.item-page{
		word-wrap: break-word;
	}


}


@media screen and (max-width: 480px){
	#contentColumn td, th{
		padding:5px;
	}
		.bhead{
			font-size: 14px;
			padding-left: 115px;

		}
		.shead{
			font-size: 14px !important;
			padding-left: 150px;
		}
		html{
			font-size: 0.8rem;
		}
		.info-icon{
			position: relative;


		}
		.actions{
			position: absolute;
			top:28px;
			right:3px;
		}
		.print-icon{
			padding:10px;
		}

		#footer{
			display: flex;
		}

		#logo{
			margin-top: 40px;
		}

		#logo img{
			width: 60px;
			height: 60px;
			padding-top: 23px;
			position:absolute;
			top: 1rem;
			left: -44px;


		}

        .logoBackground{
            background: url("../images/topbg.jpg") repeat scroll 0 0 transparent;
            border: 1px solid #C7C7C7;
            border-radius: 3px 3px 3px 3px;
            margin-bottom: 10px;
            margin-top: 5px;
            background-position: center;
            width: 100%;
            background-size: cover;
        }

        #leftSymbols{
			width: 100%;
        }

        .custom{
            height: 50%;
            width: 100%;
            position: relative;
            right: 0;
            float: right;

        }

        .custom  strong{
            /*font-size: 12px;
            text-align: left;
            float: left;*/
         /*  word-break: break-all;
            word-wrap: break-word;*/
            margin-top: 120px;
            margin-left: -32px;
		}

		.easy_navigation {
			float: right;
		}

		#search{
			top: 140px;
		}

		.column-1 p a{
			word-wrap: break-word;
		}
		.column-1 h2{
		width: 60%;	}


		.left{
			line-height: 4px;
		}


		.casesFilterTable{
			display: inline-block;
			min-width: 100px;
		}

		.casesTable tbody tr{
			display: block;
		}



		.sectiontableentry{
			display: block;
			font-size: 10pt;
		}

		.casesTable tbody tr, .casesTable, .casesTable tbody th, .casesTable tr, .casesTable tbody td{
			display: block;
		}


		thead thead tr {
			width: 100%;
		}

		#ff_fend, #ff_ftitle{
			margin-top: 10px
		}
	}

	.casesTable tbody tr { border: 1px solid #ccc; }

	.casesTable tbody td {
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee;
		position: relative;
		padding-left: 50%;
	}

	.casesTable tbody td:before {
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%;
		padding-right: 10px;
		white-space: nowrap;
	}

}

@media screen and (max-width: 420px){
		html{
			font-size: 0.7rem;
		}
		.info-icon{
			position: relative;


		}
		#outerFooter{
			height: 135px;
		}

		.tablePrzejsciaGraniczne{
			width: 60%;
			height: auto
;
		}

		.tableHeaderGranica{
			font-size: 10pt;
		}

}




@media screen and (max-width: 320px){
	.custom  strong{
		font-size: 12px;
	}
	table {
		margin: 0;
	}
	#content td{
		padding-left: 3px;
		padding-right: 0px;
		margin-left: 5px;

	}

	#outerFooter{
		height: 160px;
	}

	.column-1 h2{
		width: 50%;	}
	}
