/*
Theme Name: Adam Jaskulski
Theme URI: http://adamjaskulski.pl
Author: fmedia.pl
Author URI: http://fmedia.pl
Description: Adam Jaskulski
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: white
Text Domain: twentyfourteen
Template: twentyfourteen

Adam Jaskulski Wordpress Theme, Copyright 2014 fmedia.pl
*/

/* =Imports styles from the parent theme
-------------------------------------------------------------- */
@import url('../twentyfourteen/style.css');

@font-face {
    font-family: 'zukunft';
    src: url('/wp-content/themes/jaskulski/font/zukunft-webfont.eot');
    src: url('/wp-content/themes/jaskulski/font/zukunft-webfont.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/jaskulski/font/zukunft-webfont.woff2') format('woff2'),
         url('/wp-content/themes/jaskulski/font/zukunft-webfont.woff') format('woff'),
         url('/wp-content/themes/jaskulski/font/zukunft-webfont.ttf') format('truetype'),
         url('/wp-content/themes/jaskulski/font/zukunft-webfont.svg#zukunft') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* =Theme customization starts here
-------------------------------------------------------------- */
body { background: white url('/wp-content/themes/jaskulski/images/bg.png') top left repeat-x; }
#page, .site, #masthead, .site-header { width: 100%; max-width: 100%; background: transparent; }
.site:before, .site:after { background: transparent; }

.english a, .primary-navigation a, .site-navigation .current_page_item > a, .site-navigation .current_page_ancestor > a,
.site-navigation .current-menu-item > a, .site-navigation .current-menu-ancestor > a, .page .entry-title, .site-info,
.site-info a,.site-title a, .archive-title {
  font-family: 'zukunft', arial, sans-serif; text-transform: uppercase; color: #000;
}

button, .button, input[type="button"], input[type="reset"], input[type="submit"] { background-color: #ED1F24; }
button:hover, button:focus, .button:hover, .button:focus, input[type="button"]:hover, input[type="button"]:focus,
input[type="reset"]:hover, input[type="reset"]:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background-color: #FF0000; }
.entry-title a:hover, .entry-meta a:hover { color: #ED1F24; }
#cntctfrm_thanks { margin-top: 24px; font-weight: bold; color: #0A0; }
::selection {	background: #ED1F24; color: #FFF;	text-shadow: none; }
::-moz-selection { background: #ED1F24; color: #FFF;	text-shadow: none; }

/* =Header
-------------------------------------------------------------- */
.pre-header {
  background: transparent url('/wp-content/themes/jaskulski/images/bg-top-left.png') top left repeat-x;
  margin: 0; padding: 0; position: relative; text-align: right; width: 50%; height: 344px; float: left;
}
#adam { position: absolute; top: 0; right: 0; margin: 46px 162px 0 0; z-index: 10; }
.pre-header .bend { position: absolute; top: 0; right: 0; z-index: 20; }
.pre-header .english {
  position: absolute; top: 0; right: 0; margin: 6px 300px 0 0;
  background: transparent url('/wp-content/themes/jaskulski/images/uk.png') top left no-repeat;
}
.pre-header .english a { padding: 0 0 0 45px; display: block; }

.header-main {
  background: transparent url('/wp-content/themes/jaskulski/images/bg-top-right.png') top left repeat-x;
  width: 50%; height: 344px; float: right; padding: 0; position: relative;
}
.site-title { position: absolute; top: 0; left: 0; margin: 295px 0 0 0; }
.site-title a, .site-title a:hover { color: #000; font-size: 55px; font-weight: normal; }
.site-title a span { display: block; clear: both; font-size: 34px; }

/* =Menu
-------------------------------------------------------------- */
.primary-navigation { float: none; position: absolute; top: 0; left: 0; margin: 25px 0 0 -160px; z-index: 100; }
.primary-navigation li { margin: 0 3px; }
.primary-navigation a { border: 2px solid #FFF; border-width: 2px 0; font-size: 18px; }
.primary-navigation li:hover > a, .primary-navigation li.focus > a {
  border-color: #ED1F24; background: #FFF; color: #000;
}
.site-navigation .current_page_item > a, .site-navigation .current_page_ancestor > a, .site-navigation .current-menu-item > a,
.site-navigation .current-menu-ancestor > a,
.site-navigation .current_page_item:hover > a, .site-navigation .current_page_ancestor:hover > a,
.site-navigation .current-menu-item:hover > a, .site-navigation .current-menu-ancestor:hover > a,
.site-navigation .current_page_item.focus > a, .site-navigation .current_page_ancestor.focus > a,
.site-navigation .current-menu-item.focus > a, .site-navigation .current-menu-ancestor.focus > a {
  color: #ED1F24; background: #FFF;
}
#menu-item-16 a {
  text-indent: -9999px; background: #FFF url('/wp-content/themes/jaskulski/images/home.png') 10px 9px no-repeat;
  width: 30px;
}
#menu-item-16.current_page_item > a, #menu-item-16.current_page_ancestor > a, #menu-item-16.current-menu-item > a,
#menu-item-16.current-menu-ancestor > a {
  background-position: 10px -51px;
}

/* =Content
-------------------------------------------------------------- */
.content-area { padding-top: 0; text-align: center; width: 100%; }
.full-width .site-content, .site-content { width: 100%; background: #FFF; margin: 0 auto; }
.site-content .entry-content { max-width: 800px; }
.full-width .hentry { max-width: 800px; margin: 50px auto 0; text-align: justify; }
.page .entry-header, .full-width .archive-header {
  width: 50%; height: 66px; position: relative; margin: 0; padding: 0; max-width: 50%;
  background: #FFF url('/wp-content/themes/jaskulski/images/bottom-left.png') top right no-repeat;
}
.full-width .hentry .entry-title { text-align: left; }
.page .entry-title, .archive-title {
  display: block; position: absolute; top: 0; right: 0; margin: 35px 50px 0 0; font-size: 32px; 
  width: 350px; text-align: left; font-weight: normal;
}
.page .entry-header .red-line, .archive-header .red-line {
  width: 60px; height: 2px; background: #ED1F24; position: absolute; top: 0; right: 0; margin: 90px 340px 0 0;
}
.full-width .site-content .entry-content { padding: 0; margin: 0; }

.site-content .post .entry-header, .post .entry-meta { max-width: 100%; padding: 0; }
.post .entry-meta { }

/* =Footer
-------------------------------------------------------------- */
.site-footer { background: #FFF; }
.site-info {
  width: 800px; max-width: 800px; border-top: 2px solid #ED1F24; margin: 10px auto; text-align: center; font-size: 17px;
  color: #6A6A6A;
}
.site-info span { padding: 0 5px; color: #B6B6B6; }
.site-info a { color: #6A6A6A; }
.site-info a:hover { color: #ED1F24; }

/* =Responsive
-------------------------------------------------------------- */
@media screen and (max-width: 1020px) {
  .pre-header .bend { display: none; }
  .pre-header .english { position: relative; margin: 6px 0 0 10px; width: 180px; }
  .page .entry-header, .full-width .archive-header { background: #FFF; }
  .primary-navigation { background: #FFF; margin: 35px 0 0 -100%; padding-top: 5px; height: 66px; }
  #adam { margin-top: 92px; }
  .site-title { margin: 290px 0 0 -140px; max-width: 150%; }
  .site-main { margin-top: 46px; }
  .masthead-fixed .site-main { margin-top: 390px; }
  .page .entry-header, .full-width .archive-header { width: 100%; max-width: 100%; }
  .page .entry-title, .archive-title { top: 0; left: 0; margin: 20px 0 0 50px; }
  .page .entry-header .red-line, .archive-header .red-line { top: 0; left: 0; margin: 90px 0 0 50px; }
  article.post, article.page { width: 88%; }
  .site-info { width: 50%; }
}

@media screen and (max-width: 785px) {
  .pre-header { height: 60px; background: #FFF; }
  .pre-header .english { margin-top: 18px; }
  .header-main { background-position: 0px -41px; height: 180px; }
  .site-title { margin: 66px 0 0 -50%; }
  #adam { display: none; }
  .primary-navigation { top: 0; right: 0; margin: 0; width: 100%; padding: 0; height: 60px; }
  .primary-navigation li { margin: 0 15px; }
  .menu-menu-glowne-container { margin-top: -12px; }
  #menu-item-16 a { width: 100%; }
  .primary-navigation.toggled-on .nav-menu { background: #FFF; border: 2px solid #ED1F24; border-width: 0 0 2px 2px; }
  .masthead-fixed .site-main { margin-top: 0; }
  .site-info span { display: block; }
}

@media screen and (max-width: 600px) {
  .pre-header { width: 15%; }
  .pre-header .english a { color: #FFF; }
  .header-main { width: 85%; }
  .site-title { margin-left: -11%; }
  .archive-header, .page-header, .list-view .site-content .hentry { border: 0; }
}

@media screen and (max-width: 480px) {
  .site-title { line-height: 35px; margin-top: 82px; }
  .site-title a, .site-title a:hover { font-size: 36px; }
  .site-title a span { font-size: 22px; }
  .site-info { width: auto; max-width: 90%; }
  .pre-header .english { width: auto; }
  .page .entry-title, .archive-title { font-size: 22px; width: auto; margin: 22px 0 0 15px;}
  .page .entry-header .red-line, .archive-header .red-line { margin-top: 62px; }
  .full-width .hentry { margin-top: 30px; }

  /* fix twentyfourteen responsive style */
  .list-view .content-area { padding: 0; }
  .archive-header, .page-header, .list-view .site-content .hentry { border: 0; padding-left: 10px; }
  .list-view .site-content .cat-links, .list-view .site-content .type-post .entry-content,
  .list-view .site-content .type-page .entry-content, .list-view .site-content .type-post .entry-summary,
  .list-view .site-content .type-page .entry-summary, .list-view .site-content footer.entry-meta { display: block; }
}