﻿/*
 Theme Name: ParafiaNMP
 Description: Szablon dla witryny "Parafia NMP Królowej Polski w Ustrzykach Dolnych" 1.12.2014.
 Author: Piotr Filipowicz
 Version: 1.0
 */
 
 @font-face {
  font-family: "Century Schoolbook";
  src: url("fonts/CENSCBK.eot?") format("eot"),
  url("fonts/CENSCBK.woff") format("woff"),
  url("fonts/CENSCBK.ttf") format("truetype");
}

@font-face {
  font-family: "Century Schoolbook Bold";
  src: url("fonts/SCHLBKB.eot?") format("eot"),
  url("fonts/SCHLBKB.woff") format("woff"),
  url("fonts/SCHLBKB.ttf") format("truetype");
}

html, body {
	height: 100%;
}

body {
	background-color: #8fba80;
	margin: 0;
	font-family: "Century Schoolbook", Georgia, "Times New Roman", Times, serif;
	font-size: 13px;
	color: #000000;
}

img {
	border: 0;
}

a:link {
	color: gray;
	text-decoration: none;
}
a:visited {
	color: gray;
	text-decoration: none;
}
a:hover {
	color: gray;
	text-decoration: underline;
}

::-moz-selection {
	color: white;
	background: #a67c52;
}
::selection {
	color: white;
	background: #a67c52;
}

/* -------- UKŁAD -------- */

#calosc {
	position: relative;
	top: -25px;
	margin: 0 auto;
	min-width: 1000px;
	overflow: hidden;
}

#belka {
	position: relative;
	top: 0px;
	margin: 0 auto;
	width: 1024px;
	height: 272px;
	background-image: url('grafika/belka.png');
}

#belka_logo {
	position: relative;
	top: 90px;
	left: 370px;
	width: 310px;
	height: 120px;
}

#wlasciwe {
	position: relative;
	top: -5px;
	margin: 0 auto;
	width: 980px;
	background-color: #ffffff;
	border: 10px solid #c7b299;
	-webkit-box-shadow: 2px 2px 10px 5px rgba(100,100,100,0.3);
	box-shadow: 2px 2px 10px 5px rgba(100,100,100,0.3);
	min-height: 800px;
}

#lewo {
	float: left;
	width: 238px;
	margin-top: 20px;
	margin-bottom: 20px;
}

#obraz_nmp {
	width: 123px;
	margin: 0 auto;
}

/* -------- MENU -------- */

#menu {
	border-top: 1px solid #E5E3E3;
	border-bottom: 1px solid #E5E3E3;
	margin-top: 14px;
	margin-bottom: 20px;
	margin-left: 20px;
	margin-right: 20px;
	text-transform: uppercase;
	text-align: center;
}

#menu ul {
	list-style-type: none;
	margin: 0;
}

#menu li {
	line-height: 50px;
}

#menu a {
	color: #4d4d4d;
}

#menu a:hover {
	color: #cc9966;
	text-decoration: underline;
}

#menu li.current-menu, #menu li.current_page_item, #menu li.current-menu-item {
	font-weight: bold;
	background: url('grafika/krzyz.png') no-repeat 20px 16px;
	margin-left: -10px;
	position: relative;
	left: 10px;
}

#menu .sub-menu {
	display: none;
	width: 60%;
	font-style: italic;
	font-size: 11px;
	text-align: left;
	margin-left: 90px;
}

#menu ul li ul li {
	line-height: 25px !important;
}

#menu ul li ul li.current_page_item {
	background: url('grafika/krzyz.png') no-repeat 0px 5px;
	margin-left: -30px;
	padding-left: 20px;
}

#menu ul li.current-menu-parent ul {
	display: block;
}

/* -------- KONIEC MENU -------- */

#separator {
	border-right: 2px dotted #a67c52;
	height: calc(100% - 40px);
	position: absolute;
	left: 238px;
	margin-top: 20px;
}

#prawo {
	float: right;
	width: 740px;
}

#tresc {
	width: 700px;
	margin-left: 20px;
	margin-right: 20px;
	margin-top: 40px;
	margin-bottom: 40px;
}

/* -------- FORMATOWANIE -------- */

.news {
	margin-top: 20px;
	width: 678px;
	margin-left: 30px;
	margin-right: 30px;
	min-height: 150px;
	font-size: 12px;
}

.news .tresc {
	float: left;
	width: 610px;
	padding-bottom: 5px;
}

.news .tytul {
	text-transform: uppercase;
	color: #cc9966;
	font-size: 13px;
	font-weight: bold;
	margin-bottom: 5px;
}

.news .data {
	float: left;
	width: 40px;
	margin-right: 10px;
	
	text-align: center;
	font-size: 11px;
	color: #ffffff;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

.kwadrat {
	padding-top: 5px;
	width: 40px;
	height: 40px;
	background: #c00000;
	overflow: hidden;
	line-height: 13px;
}
.trojkat {
	width: 0;
	height: 0;
}
.trojkat .dol {
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-top: 20px solid #c00000;
}

.news .separator {
	clear: both;
	width: 100%;
	height: 1px;
	background-color: #a67c52;
	margin-bottom: 30px;
}

/* -------- KONIEC FORMATOWANIE -------- */

.clear {
	clear: both;
}

#stopka {
	font-family: "Arial", sans-serif;
	width: 980px;
	position: relative;
	top: 20px;
	left: 20px;
	height: 100px;
	margin: 0 auto;
	color: #666;
	font-size: 11px;
}

#stopka-parafia {
	float: left;
	width: 600px;
}

#stopka-realizacja {
	float: right;
	margin-top: 20px;
	margin-right: 50px;
	text-align: right;
	width: 300px;
}

/* -------- KONIEC UKŁAD -------- */

/* -------- FORMULARZ -------- */

.wpcf7 p {
	margin: 0;
	padding: 0;
	color: #333333;
	font-size: 12px;
}

.wpcf7 input.wpcf7-submit {
	margin-top: 10px;
	border: 1px solid silver;
	padding: 10px 20px;
	background-color: #ddd;
	font-family: none;
	font-size: 14px;
	font-weight: bold;
	color: #585858;
	text-transform: uppercase;
	text-shadow: 1px 1px 1px #ffffff;
	
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
	box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

/* -------- KONIEC FORMULARZ -------- */

/* -------- PAGINACJA ---------*/

.wp-paginate {
	text-align: center;
}

.wp-paginate .current {
	background: #c7b299 !important;
	border: 1px solid #a67c52 !important;
}

/* -------- KONIEC PAGINACJA ---------*/




/* -------- DODATKOWE ---------*/

#menu-item-705 {
	background: none !important;
}

/* -------- KONIEC DODATKOWE ---------*/