/*
Theme Name: Teoria Muzyki
Description: Szablon strony Teorii Muzyki - czasopisma Akademii Muzycznej w Krakowie.
Author: Dariusz Iwański
Author URI: http://dariusziwanski.com
Version: 1.0
Tags: teoria muzyki, muzyka, akadedmia muzyczna w krakowie
.
Your theme can be your copyrighted work.
Like WordPress, this work is released under GNU General Public License, version 2 (GPL).

http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
.
*/
@font-face {
    font-family: Scala;
    src: url("fonts/ScalaPro-Regular.otf") format("opentype");
}
@font-face {
    font-family: Scala;
    font-weight: bold;
    src: url("fonts/ScalaPro-Bold.otf") format("opentype");
}
@font-face {
    font-family: Scala;
    font-style: italic;
    src: url("fonts/ScalaPro-Italic.otf") format("opentype");
}
html{
    overflow-y:scroll;
}
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Scala', sans-serif;
}
body {
    background-image: url("images/teoria_background.jpg");
}
.mainbox{
    min-height: 250px;
    /*overflow-y:hidden;*/
}
.book_indent{
    margin-right: 200px;
}
.left_side, .right_side{
    display: inline-block;
    width: 37%;
}
a{
    text-decoration: none;
}
a:hover {
    color: #e6640a !important;
}
h1 {
    color: #e6640a;
    text-transform: uppercase;
    font-weight: normal;
    margin: 0 0 20px 0;
    font-size:18pt;
}
h2{
    text-transform: uppercase;
    font-size: 12pt;
    font-weight: bold;
    margin: 20px 0;

}
p {
    line-height: 18pt;
    color: #959595;
}
.show {
    visibility: visible !important;
}
.contents {
    margin: 0 auto;
    max-width: 1200px;
}
.sidebar_right, .sidebar_left, .content {
    margin: 30px;
    display: inline-block;
}
.sidebar_right, .sidebar_left {
    position: fixed;
}
.sidebar_left {
    width: 300px;
}
.sidebar_right {
    top: 0;
    margin-left: 1110px;
    position: absolute;
}
#content {
    width: 700px;
    position: absolute;
    margin: 120px 0 180px 320px;
    z-index: 2;
}
.footer_space{
    position: absolute;
    height: 180px;
}
.main_url {
    display: block;
}
object.url {
    pointer-events: none;
}
.book_image{
    left: 460px;
    position: absolute;
    top: 20px;
    z-index: 1;
}
.book_image .book_no{
  position: absolute;
  bottom: 196px;
  right: 65px;
  font-size: 30pt;
  color: #ec6705;
}
/* Footer */

.footer, .footer_bg {
    width: 100%;
    height: 250px;
    position: fixed;
    bottom: 0;
    margin: 0 30px;
    padding: 0;
    color: #959595;
    max-width: 1150px;
    z-index: 1;
    display: block;
    font-size: 10pt;
}
.footer_bg {
    background-color: #515151;
    left: 0;
    padding: 0 100%;
    margin: 0;
    z-index: -2;
}
.cell {
    display: inline-block;
}
.footer hr {
    border: 1px solid #959595;
    margin-top: 35px;
    margin-bottom: 0;
}
.footer .menu_container {
    display: table;
    border: 2px solid #959595;
    padding: 8px 15px;
    width: 205px;
    font-size: 11pt;
}
.footer .menu_container:hover,
.footer .menu_container.show,
.footer .menu_main.show {
    border: 2px solid #ffffff;
    background-color: #ffffff;
    color: #515151;
    cursor: pointer;
}
.footer .menu ul li {
    display: table-row;
    line-height: 35px;
    text-transform: uppercase;
}
.footer .menu ul li a {
    display: block;
}
.footer .menu ul {
    position: absolute;
    background-color: white;
    color: #515151;
    width: 209px;
    height: auto;
    left: 0;
    top: -187px;
    padding: 15px;
    visibility: hidden;
}
.footer .menu_container .plus {
    background-image: url('images/menu_plus.svg');
    background-repeat: no-repeat;
    width: 18px;
    height: 18px;
    float: right;
}
.footer .menu_container:hover .plus {
    background-position: -18px 0px;
}
.footer .menu_container.show .plus {
    background-position: -18px -18px;
}
.footer .column {
    display: inline-block;
    font-size: 9pt;
    line-height: 12pt;
}
.footer .main .column {
    margin-right: 50px;
}
.footer a {
    text-decoration: none;
    color: #959595;
}
.footer .authors {
    right: 0;
    position: absolute;
    bottom: 0px;
}
.footer .left {
    width: 240px;
    padding-right: 30px;
    padding-top: 33px;
}
.footer .contact {
    width: 855px;
    padding-left: 20px;
    padding-top: 70px;
    position: absolute;
}
.footer h4 {
    text-transform: uppercase;
}

.footer img {
	right: 0px;
	position: absolute;
	display: initial;
}
.footer .initial {
	display: initial;
}

.bg_white {
    background-color: white;
    padding: 30px;
}
.fb_url {
    background-image: url('images/fb.svg');
    display: inline-block;
    height: 27px;
    background-position-y: -1px;
    width: 28px;
    margin-right: 10px;
}
.fb_url:hover {
	background-position: 0 28px;
}
.lang_url {
    background-image: url('images/lang_pl.svg');
    height: 27px;
    width: 28px;
    display: inline-block;
    background-position-y: 0;
    margin-bottom: 0px;
}
.lang_url:hover, .lang_url.active {
    background-position: 0 28px;
}

.bg_orange, .bg_orange p,.bg_gray{
	background-color: #e6640a;
    color:white;
    font-size: 12pt;

	padding: 15px 40px;
}
.bg_orange > p{
    padding: 0;
}
ul.noindent{
    padding: 0 0 0 18px;
    margin: 0;
    text-indent: 0;
    list-style-type: square;
}
.buy{
    width:150px;
    height:38px;
    background:none;
    border:2px solid white;
    color:white;
    font-size:16px;
    font-family:Arial;
    text-align:center;    
    display: table-cell;
    vertical-align: middle;
}
.buy:hover{
    background:white;
    color:#e6640a;
    cursor:pointer;
}
.bg_gray,.bg_gray p{
    background-color: #959595;
    color:white;
}
a.big_link{
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    width: 170px;

    margin: 27px 30px;
}

.mainbox hr{
    border: 1px solid white;
    width: 200px;
}
.bg_white a{
  text-decoration: underline;
  color: #959595;
}
.bg_white a:hover{
  color:#e6640a;
}
.bg_orange.mainbox .right_side{
    position: relative;
    bottom:30px;
}
.bg_gray.mainbox .right_side{
    position: relative;
    top:-20px;
}
.bg_orange.mainbox a{
  color:#FFFFFF;
}
.bg_orange.mainbox a:hover{
  color:#515151 !important;
}
.bg_gray.mainbox  a:hover,
.bg_gray.mainbox  a:hover p,
.bg_gray.mainbox  a:hover h2{
    color: #515151 !important;
}
.bg_gray.mainbox  a,
.bg_gray.mainbox  a:visited,
.bg_gray.mainbox  a h2{
    color: white;
}
.wydania{
    list-style-type: none;
    width: 860px;
    padding: 0;
    margin: 0;
}
.wydania>li{
    padding-bottom: 20px;
}
.wydania h2{
    /* float: left; */
    display: inline-block;
}
.wydania .right_side h4{
    float: right;
    display: inline;
}
.wydania .left_side{
    width: 250px;
    padding: 25px 0px;
    background-color: white;
    height: 210px;
    display: inline-block;
    float: left;
}
.expand .right_side{
    height: auto !important;
}
.triangle_box{
    width: 555px;
    background-color: #959595;
    padding: 5px;
    bottom: 20px;
    position: relative;
    float: left;
    left: 250px;
    display:block;
}
.triangle_box:hover{
    cursor: pointer;
}
.triangle{
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 0 10px;
    border-color: #ffffff transparent transparent transparent;
    margin: 0 auto;
    display: block;
}
.expand .triangle{
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}
.wydania .right_side{
    padding: 15px;
    margin: 0;
    width: 535px;
    vertical-align: top;
    background-color: #959595;
    color:white;
    display: inline-block;
    height: 230px;
    overflow: hidden;
    cursor: pointer;
}
.wydania .right_side:hover, .wydania .right_side:hover p, .wydania .right_side:hover ~ .triangle_box{
    background-color: #e6640a;
    color:white;
}
.wydania .buy{
    border: 2px solid #515151;
    color: #515151;
    margin: 0 auto;
    display: table-cell;
    width: 105px;
    left: 65px;
    position: relative;
}
.wydania .buy:hover{
    background-color:#515151;
    color:white !important;
}
.wydania .no_sm{
  position: relative;
  left: 168px;
  top: -81px;
  font-size: 10pt;
  color: #e6640a;
  display: table-cell;
}
.cover{
    margin:0 auto;
    display: block;
}