/*

Theme URI: http://capitalmarketgames.pl/
Author: Tomasz Kuchne
Author URI: http://lithium.pl
Description: CAPITAL MARKET GAMES
Version: 1.0
License: GNU General Public License
License URI: license.txt

-------------------------------------------------------------- */

body{
	margin: 0;
	padding: 0;	
	font-family: 'open_sansregular';
	font-size: 13px;
	color: #666666;
	background: #e9ebe7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;		
}

body.page {
	background: #fff;
	color: #000;
}

a {
	color:inherit;
	text-decoration: none;
}
	
a:hover {
	text-decoration: underline;
}

#header {
	position: absolute;
	top: 0;
	left: 0;
	height: 126px;
	width: 100%;
	min-width: 1200px;
	background: url(images/background.png) left top repeat-x;
	z-index: 10;
}

#header.fixed {
	position: fixed;
	height: 70px;
	z-index: 1000;
}

#header.fixed #logo {
	display: none;
}

#header .back {
	position: absolute;
	width: 100%;
	height: 100%;
	background: url(images/header_back.png) center top no-repeat;
}

#header_content {
	position: relative;
	width: 960px;
	height: 100%;
	margin: 0 auto;
}

#logo {
	position: absolute;
	top: 100px;
	left: -15px;
	width: 259px;
	height: 237px;
}

.page #logo {
	top: 100px;
	left: 550px;
}

#main_menu {
	float: left;
	width: 90%;
	margin: 25px 0 0 190px;
}

#main_menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

#main_menu ul li {
	position: relative;
	float: left;
	height: 30px;
	margin-right: 15px;
}

#main_menu ul li a {
	font-size: 12px;
	color: #00295c;
	text-transform: uppercase;
	font-weight: bold;
	padding: 8px 6px 8px 6px;
	font-family: 'open_sansregular';
}

#main_menu ul li a:hover, #main_menu ul li a.active, #main_menu ul li.current-menu-item a {
	background: #fff;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}

#main_menu ul li ul {
	display: none;
	position: absolute;
	left: 0;
	top: 30px;
	list-style: none;
	padding: 25px 35px 25px 35px;
	width: 144px;
	margin: 0;
	background: #1c325d;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}

#main_menu ul li ul li {
	display: block;
	width: 100%;
	height: auto;
	padding: 13px 0 13px;
	border-top: 1px solid #16243e;
	border-bottom: 1px solid #374b70;
}

#main_menu ul li ul li:first-child {
	border-top: none;
	padding-top: 0;
}

#main_menu ul li ul li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

#main_menu ul li ul li a {
	font-size: 12px;
	color: #fff;
	padding: 0;
}

#main_menu ul li ul li a:hover, #main_menu ul li ul li a.active, #main_menu ul li ul li.current-menu-item a {
	background: none;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	text-decoration: underline;
}

#main_menu ul li.current-menu-item ul li a {
	background: none;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
}

#top {
	position: relative;
	width: 100%;
	min-width: 1200px;
}

#slider {
	position: relative;
	width: 100%;
	min-width: 1200px;
	height: 100%;
	overflow: hidden;
}

#slider a.left {
	position: absolute;
	top: 50%;
	left: 30px;
	width: 33px;
	height: 33px;
	margin-top: -16px;
	background: url(images/arrow_left.png) left top no-repeat;
	z-index: 100;
}

#slider a.right {
	position: absolute;
	top: 50%;
	right: 30px;
	width: 33px;
	height: 33px;
	margin-top: -16px;
	background: url(images/arrow_right.png) right top no-repeat;
	z-index: 100;
}

#slider img {
	width: 100%;
}

#slider img.active {
	z-index: 100;
}


#slider .bulls {
	position: absolute;
	width: 100%;
	bottom: 20px;
	left: 0;
	text-align: center;
}

#slider .bulls ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

#slider .bulls ul li {
	display: inline-block;
	margin-right: 8px;
}

#slider .bulls ul li:last-child {
	margin-right: 0;
}

#slider .bulls ul li a.bull {
	display: inline-block;
	width: 17px;
	height: 16px;
	background: url(images/bulls.png) left top no-repeat;
}

#slider .bulls ul li a.bull:hover, #slider .bulls ul li a.active {
	background: url(images/bulls.png) -17px top no-repeat;
}

#top_news {
	position: absolute;
	bottom: 13%;
	width: 100%;
	height: 160px;
}

#top_news_content {
	width: 960px;
	height: 100%;
	margin: 0 auto;
}

#top_news .title {
	float: right;
	width: 570px;
	height: 44px;
	margin-bottom: 5px;
	padding: 16px 0 0 15px;
	background: url(images/back_black_opa.png) left top repeat;
}

#top_news .title h1 {
	font-size: 24px;
	color: #cbcbcb;
	text-transform: uppercase;
	margin: 0;
	font-family: 'robotoregular';
	font-weight: normal;
}
	
#top_news .content {
	position: relative;
	float: right;
	width: 570px;
	height: 78px;
	padding: 17px 0 0 15px;
	background: url(images/back_blue_opa.png) left top repeat;
}

#top_news .content p {
	font-size: 14px;
	color: #a8b1c1;
	margin: 0;
}

#top_news .content a.button {
	display: block;
	position: absolute;
	right: 45px;
	bottom: -25px;
	width: 140px;
	height: 32px;
	padding-top: 11px;
	background: url(images/button.png) left top no-repeat;
	font-size: 16px;
	color: #df231c;
	text-transform: uppercase;
	text-align: center;
	font-family: 'robotobold';
}

#pageTop {
	width: 100%;
	min-width: 1200px;
	height: 277px;
	overflow: hidden;
	background: url(images/subpage_back.png) left top repeat-x;
}

#pageTop_content {
	position: relative;
	width: 960px;
	height: 100%;
	margin: 0 auto;
	background: url(images/subpage_back2.png) center center;
}

#pageTop_content h1.title {
	position: absolute;
	display: block;
	top: 106px;
	left: 292px;
	color: #c92923;
	font-size: 30px;
	font-weight: normal;
}

#pageTop_content #count {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 670px;
	padding-left: 290px;
	padding-top: 8px;
	height: 27px;
	margin-top: 0px;
}

#pageTop_content #count span {
	float: left;
	display: block;
	color: #3f3f3f;
	font-size: 18px;
	font-family: 'open_sansbold';
	text-transform: uppercase;
	line-height: 1;
}

#pageTop_content #count span strong {
	color: #c62620;
	margin: 0 5px 0 5px;
}

#midle {
	width: 100%;
	min-width: 1200px;
	overflow: hidden;
}

#midle_content {
	width: 960px;
	margin: 0 auto;
}

#midle_content ul.discipline {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

#midle_content ul.discipline li {
	position: relative;
	display: inline-block;
	margin: 0 12.5px 20px 12.5px;
}

#midle_content ul.discipline li img {
	border: none;
}

#midle_content ul.discipline li .back {
	position: absolute;
	display: none;
	top: 0;
	left: 0;
}

body.page #midle_content {
	padding-top: 60px;
}

#news {
	width: 100%;
	overflow: hidden;
	padding-bottom: 50px;
	border-bottom: 1px solid #b6b6b6;
}

#news .news_box {
	float: left;
	width: 300px;
	margin-right: 30px;
}

#news .news_box img {
	width: 100%;
}

#news .news_box a h3 {
	display: block;
	font-size: 13px;
	color: #4f4f4f;
	text-transform: uppercase;
}

#news .news_box a:hover h3, #news .news_box a:hover {
	color: #f00006;
	text-decoration: none;
}

#news .news_box p {
	font-size: 13px;
	color: #666666;
}

#newsList {
	border-bottom: none;
	padding: 20px 0 0 0!important;
}

#newsList .news_box {
	float: left;
	width: 100%;
	padding-bottom: 20px;
	border-bottom: 1px solid #d1d1d1;
	margin-bottom: 60px;
}

#newsList .news_box .image {
	float: left;
	width: 290px;
	margin-right: 30px;
}

#newsList .news_box .image img {
	width: 100%;
	margin-top: 5px;
}

#newsList .news_box .content {
	float: left;
	width: 640px;
}

#newsList .news_box .content h2.news_title, #newsList .news_box .content h2.news_title a {
	font-size: 20px;
	color: #1c335c;
	margin: 0 0 30px 0;
}

#newsList .news_box .content span.date {
	display: block;
	margin: 0 0 10px 0;
	font-size: 14px;
	color: #040404;
}

#newsList .news_box .content p {
	font-size: 14px;
	color: #040404;
	line-height: 2;
}

#newsList .news_box .content a.more {
	display: inline-block;
	float: right;
	padding: 5px 25px 5px 25px;
	font-size: 11px;
	color: #1c335c;
	font-family: 'open_sansbold';
	background: url(images/more_back.png) left top repeat-x;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}

#galleryList {
	border-bottom: none;
	padding: 20px 0 0 0!important;
}

#galleryList .gallery_box {
	float: left;
	width: 100%;
	padding-bottom: 20px;
	margin-bottom: 60px;
}

#galleryList .gallery_box .content {
	width: 100%;
	overflow: hidden;
}

#galleryList .gallery_box .content h2.gallery_title {
	display: block;
	width: 100%;
	color: #00295c;
	font-size: 30px;
	padding-bottom: 40px;
	margin-bottom: 25px;
	border-bottom: 1px solid #d1d1d1;
}

#galleryList .gallery_box .content .gallery_content img {
	float: left;
	width: 300px;
	margin-left: 10px;
	margin-right: 10px;
}

#galleryList .gallery_box .content .partners_content img {
	float: left;
	width: auto;
	margin-left: 20px;
	margin-right: 20px;
}

#single_news {
	padding-bottom: 0;
	border-bottom: none;
}

#single_news h1.news_title {
	font-size: 30px;
	color: #1c335c;
	margin-bottom: 15px;
	font-family: 'open_sansbold';
	font-style: italic;
}

#single_news span.date {
	display: block;
	margin: 0 0 10px 0;
	font-size: 14px;
	color: #040404;
}

#single_news .image {
	width: 100%;
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid #d1d1d1;
}

#single_news .image img {
	width: 100%;
}

#single_news .content {
	width: 100%;
	margin-top: 50px;
}

#single_news .content p,
#single_news .content li,
#single_news .content td,
#single_news .content th,
#single_news .content pre {
	font-size: 18px;
	color: #040404;
	line-height: 1.7;
}

#count {
	width: 100%;
	margin-top: 45px;
}

#count span {
	float: left;
	display: block;
	color: #3f3f3f;
	font-size: 72px;
	font-family: 'open_sansbold';
	text-transform: uppercase;
	line-height: 1;
}

#count span strong {
	color: #c62620;
	display: inline-block;
	margin-right: 28px;
}

#newsletter {
	width: 370px;
	padding-left: 95px;
	background:url(images/newsletter_back.png) left top no-repeat;
}

#newsletter_form {
	float: left;
	width: 100%;
	margin: 54px 0;
}

#newsletter_form input {
	width: 100%;
	height: 69px;
	margin-bottom: 13px;
	font-size: 14px;
	color: #636363;
	text-align: center;
	background: #d0d0d0;
	text-transform: uppercase;
	border: none;
}

#newsletter_form input[type=submit] {
	background: #c62620;
	color: #fff;
	cursor: pointer;
}

#recommend {
	position: relative;
}

#recommend a.left {
	position: absolute;
	top: 50%;
	left: -70px;
	width: 33px;
	height: 33px;
	background: url(images/arrow_left.png) left top no-repeat;
	z-index: 100;
}

#recommend a.right {
	position: absolute;
	top: 50%;
	right: -70px;
	width: 33px;
	height: 33px;
	background: url(images/arrow_right.png) right top no-repeat;
	z-index: 100;
}

#recommend .rekom_item {
	width: 100%;
	overflow: hidden;
}

#recommend h2.title {
	color: #c62620;
}

#recommend p {
	font-size: 24px;
	color: #3f3f3f;
	font-style: italic;
}

#recommend img {
	float: right;
	margin-left: 25px;
}

#partners h2.title {
	font-family: 'open_sansregular';
}

#organization {
	border-bottom: none;
	text-align: center;
}

#organization h2.title {
	display: block;
	color: #c62620;
	text-align: center;
	margin-bottom: 25px;
	font-family: 'open_sansregular';
}

#organization org_logos {
	float: left;
	width: 760px;
}

#organization org_logos img {
	float: left;
	margin-right: 50px;
}

#footer {
	position: absolute;
	width: 100%;
	min-width: 1200px;
	min-height: 400px;
	clear: both;
	background: url(images/footer_back.png) no-repeat center top; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

#footer_content {
	position: relative;
	padding-top: 60px;
	width: 960px;
	min-height: 320px;
	padding-bottom: 80px;
	margin: 0 auto;
	overflow: hidden;
}

#footer_content h2.title {
	color: #fff;
}

#footer_content .quater_box {
	text-align: left;
}

#footer_content .quater_box p {
	color: #c5c5c5;	
}

#last_news {
	width: 100%;
	list-style: none;
	margin: 0;
	padding: 0;
}

#last_news li {
	width: 100%;
	display: block;
	margin-top: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #5c7391;
}

#last_news li:last-child {
	border-bottom: none;
}

#last_news li a {
	color: #c5c5c5;
}

#nav_menu {
	width: 100%;
	list-style: none;
	margin: 0;
	padding: 0;
}

#nav_menu li {
	float: left;
	margin-right: 5px;
	padding-right: 9px;
	margin-bottom: 11px;
	background: url(images/sep.png) right center no-repeat;
}

#nav_menu li:last-child {
	background: none;
}

#nav_menu li a {
	color: #c5c5c5;
	text-transform: uppercase;
}

#registration .items_box {
	float: left;
	width: 46%;
	margin-left: 2%;
	margin-right: 2%;
}

#registration .items_box .field {
	float: left;
	width: 100%;
	margin-bottom: 20px;
}

#registration .items_box .field label {
	float: left;
	width: 50%;
	margin-right: 20px;
	line-height: 20px;
}

#registration .items_box .field input {
	float: left;
	width: 40%;
	height: 20px;
}

#registration .items_box .field input[type=checkbox], #registration .items_box .field input[type=radio] {
	float: left;
	width: auto;
	height: 20px;
	margin: 0 8px 0 0;
}

#registration .items_box ul.type li {
	padding-left: 8px;
}

#registration .items_box ul.type li label {
	width: auto;
}

#registration .items_box ul li input[type=radio] {
	float: left;
	width: auto;
	height: 20px;
	margin: 0 0 0 -23px;
}

#registration .items_box .field span {
	float: left;
	margin-right: 8px;
}

#registration .fullbox {
	float: left;
	width: 100%;
	margin-top: 30px;
	text-align: center;
}

#registration .fullbox .summary {
	margin-bottom: 30px;
}

#registration .fullbox h3 {
	display: block;
	font-size: 17px;
}

#registration .fullbox strong {
	font-size: 20px;
	color: #c62620;
}
	
#registration .fullbox input[type=submit] {
	color: #fff;
	background: #c62620;
	font-size: 16px;
	padding: 6px 10px 6px 10px;
	border: none;
	margin-top: 35px;
	cursor: pointer;
	
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;	
}

#registration h3 {
	font-size: 20px;
}

#registration ul {
	list-style: none;
}

#registration ul li {
	margin-bottom: 5px;
}

#registration ul li.title {
	list-style: none;
}

#registration ul li.title h4 {
	font-size: 15px;
}

#registration ul li.subtitle {
	list-style: none;
	font-weight: bold;
	margin-left: -15px;
}

#registration #sum {
	display: block;
	visibility: hidden;
}

#registration h4.error {
	display: none;
	color: #c62620;
	font-size: 16px;	
}

#footer_menu {
	width: 100%;
	margin: 0;
	padding: 0;
}

#footer_menu li {
	padding-left: 20px;
	display: block;
	margin-top: 20px;
	background: url(images/footer_list_style.png) left center no-repeat;
}

#footer_menu li a {
	color: #c5c5c5;
}

#copyright {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 50px;
	padding-top: 28px;
	border-top: 1px solid #5f789b;
}

#copyright img {
	float: left;
	margin-left: 30px;
}

#copyright span {
	float: left;
	margin-left: 17px;
	color: #c5c5c5;
	line-height: 33px;
}

#relacja iframe {
	width: 100%;
	height: 620px;
	border: none;
	margin-top: 20px;
}

.quater_box {
	float: left;
	width: 180px;
	margin-right: 15px;
	text-align: center;
}

.quater_box .part_box {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.quater_box .part_box a.left {
	float: left;
	width: 15px;
	height: 25px;
	margin-top: 25%;
	background: url(images/part_arrow_left.png) left center no-repeat;
}

.quater_box .part_box a.right {
	float: right;
	width: 15px;
	height: 25px;
	margin-top: 25%;
	background: url(images/part_arrow_right.png) right center no-repeat;
}

.quater_box .part_box .items {
	position: relative;
	float: left;
	width: 150px;
	height: 120px;
	margin-top: 20px;
}

.quater_box .part_box .items img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

.content_box {
	float: left;
	width: 100%;
	padding: 50px 0 50px 0;
	border-bottom: 1px solid #b6b6b6;
}	

.half_box {
	float: left;
	width: 465px;
	margin-right: 30px;
}

h1.page_title {
	display: block;
	text-align: center;
	width: 100%;
	font-size: 20px;
	color: #666666;
	text-transform: uppercase;
	margin: 45px 0 45px 0;
}

h2.title {
	display: block;
	font-size: 14px;
	color: #3f3f3f;
	margin: 0 0 15px 0;
	padding: 0;
	text-transform: uppercase;
	font-family: 'open_sansbold';
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}
