/*
Theme Name: Academic
Author: Bartłomiej Przybylski
Author URI: https://github.com/barprz
Description: This is a simple wordpress theme designed for academic purposes.
Version: 1.0
Tags:
Text Domain: academic
*/

html, body, div, span, applet, object, iframe, hr,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* style */

body{
    font-size: 100%;
    color: #222;
    font-family: "Times", "Times New Roman", serif;
    background-color: #F2F2F2;
}

small{font-size: 0.75em;}

#content-wrapper{
    width: 980px;
    margin: 0 auto;
    margin-top: 2em;
}

#main-header{
    margin-bottom: 2em;
    text-align: center;
}

#main-header h1 a{
    color: #e35146;
    font-weight: 400;
    font-size: 2em;
    text-decoration: none;
}

#main-header h2{
    font-weight: 300;
    font-size: 1.3em;
    margin-top: 0.5em;
    color: #666;
    line-height: 125%;
}
#main-header h2 a{
    color: #666;
    text-decoration: none;
}

#main-header #width-swapper{
    float: right;
    margin-right: 1.5em;
    margin-top: -0.5em;
}

#main-header #width-swapper a{
    color: #888;
    font-size: 0.8em;
    text-decoration: none;
}

#header-text{
    padding-top: 0.5em;
    margin-left: 16em;
    margin-right: 16em;
}

#header-logo img{
    height: 7.5em;
    float:right;
}

#header-logo-left img{
    height: 7.5em;
    float: left;
}

.primary-menu ul{
    font-weight: 300;
    background-color: #0064a6;
    color: #FFF;
    height: 3em;
}

.primary-menu > ul{
    border-left: 0.75em solid #0064a6;
}

.primary-menu ul li a{
    display: block;
    background-color: #0064a6;
    line-height: 3em;
    padding: 0 0.75em;
    color: #FFF;
    text-decoration: none;
    text-transform: uppercase;
}

#main-sidebar{
    width: 15em;
    float: left;
    display: block;
    background-color: #f6f6f6;
    padding: 1em 1.5em 0 1.5em;
    -webkit-border-radius: 0 0 0.25em 0.25em;
    -moz-border-radius: 0 0 0.25em 0.25em;
    border-radius: 0 0 0.25em 0.25em;
    margin-bottom: 1.5em;
}

#container{
    max-width: 64em;
    padding: 1.5em 1.5em 0.25em 1.5em;
    overflow: hidden;
    background-color: #FFF;
}

#container.blog{
    margin-left: 18em;
    max-width: 46em;
}

/* main-section */

#main-section #breadcrumb{
    margin-bottom: 1em;
    color: #888;
}

#main-section h1,
#main-section h2,
#main-section h3,
#main-section h4,
#main-section h5,
#main-section h6{
    font-weight: 400;
    color: #666;
    margin-bottom: 0.75em;
    margin-top: 1.25em;
}

#main-section h1{
    margin-top: 0;
}

#main-section h1{font-size: 1.5em;}
#main-section h2{font-size: 1.3em;}
#main-section h3, #main-section h4{font-size: 1.1em;}
#main-section h5, #main-section h6{font-size: 1em;}

#main-section a{
    color: #0064a6;
    text-decoration: none;
}

#main-section a:hover{
    color: #e35146;
}

#main-section big{
    font-size: 1.3em;
}

#main-section code,
#main-section kbd,
#main-section tt,
#main-section var{
    font-family: courier;
}

#main-section em,
#main-section q{
    font-style: italic;
}

#main-section ins{
    text-decoration: none;
    background: #f6f6f6;
}

#main-section dl{
    line-height: 1.5em;
}

#main-section dt{
    /*font-weight: 700;*/
}

#main-section dd{
    margin-bottom: 0.75em;
}

#main-section ul,
#main-section ol{
    line-height: 1.5em;
    margin-bottom: 0.75em;
    margin-top: -0.25em;
}

#main-section ul ul,
#main-section ul ol,
#main-section ol ul,
#main-section ol ol{
    margin-top: 0.25em;
    margin-bottom: 0.25em;
}

/*#main-section ul > li{
    list-style-type: disc;
    margin-left: 1.5em;
}
*/
#main-sidebar ul li{
    list-style-type: none;
    margin-left: 1em;
    font-size: 0.9em;
}

.registration_ul li{
    /*list-style-type: none;*/
    /*margin-left: em;*/
    /*font-size: 0.9em;*/
    margin-top: .75em;
}


#main-section ol > li{
    list-style-type: decimal;
    margin-left: 1.5em;
}

#main-section p{
    line-height: 1.5em;
    margin-bottom: 0.75em;
}

#main-section address{
    line-height: 1.5em;
    margin-bottom: 0.75em;
    font-style: italic;
}

#main-section b,
#main-section strong{
    font-weight: 700;
}

#main-section hr{
    border-top: 0.1em solid #e35146;
    margin: 1.5em 0;
}

#main-section fieldset{
    background-color: #FFF;
    border: 0.1em solid #EEE;
    padding: 1.5em 1.5em 0.75em 1.5em;
    margin-bottom: 0.75em;
    -webkit-border-radius: 0.25em;
    -moz-border-radius: 0.25em;
    border-radius: 0.25em;
}

#main-section fieldset legend{
    font-weight: 400;
    display: inline-block;
    padding: 0.75em;
    color: #FFF;
    background-color: #e35146;
}

#main-section table{
    margin-bottom: 0.75em;
    border: 0.1em solid #EEE;
    overflow-x: auto;
}

#main-section table td,
#main-section table th{
    padding: 0.5em 0.75em;
    background-color: #f6f6f6;
    /*font-size: 0.9em;*/
    line-height: 1.25em;
}

#main-section table th{
    background-color: #FFF;
}
/*
#main-section table td{
    color: #333;
}*/
#main-section tr.pause{
    /*background-color: #FFF;*/
    color:#e35146;
}
#main-section tr.plenary{
    color:#0064a6;
}

#main-section sup{
    font-size: 0.75em;
    vertical-align: super;
}

#main-section sub{
    font-size: 0.75em;
    vertical-align: sub;
}

#main-section cite{
    font-style: italic;
}

#main-section acronym,
#main-section abbr{
    border-bottom: 0.1em dotted #222;
}

#main-section pre{
    font-family: courier;
    overflow: hidden;
    margin-bottom: 0.75em;
    overflow-x: auto;
}

#main-section blockquote{
    font-style: italic;
    padding: 1.5em 1.5em 0.75em 1.5em;
    background-color: #f6f6f6;
    color: #888;
    margin-bottom: 0.75em;
}

#main-section label{
    /*font-size: 0.9em;*/
    /*color: #888;*/
    display: inline-block;
    margin-bottom: 0.5em;
}

#main-section input,
#main-section textarea,
#main-section select{
    display: inline-block;
    padding: 0.75em;
    border: none;
    background-color: #F8F8F8;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
    -webkit-border-radius: 0.25em;
    -moz-border-radius: 0.25em;
    border-radius: 0.25em;
}

#main-section input[type="radio"],
#main-section input[type="checkbox"]{
    width: auto;
}

#main-section textarea{
    height: 10em;
}

#main-section input.button,
#main-section input[type="submit"]{
    padding: 0.75em 1em;
    border: none;
    text-transform: uppercase;
    color: #FFF;
    background-color: #e35146;
    width: auto;
    display: inline-block;
    font-size: 0.9em;
}

#main-section input.button:hover,
#main-section input[type="submit"]:hover{
    background-color: #ff7755;
    cursor: pointer;
}

/* comments */

#comments{
    border: 0.1em solid #EEE;
    padding: 1.5em 1.5em 0.75em 1.5em;
    margin-bottom: 1em;
    margin-top: 1.5em;
    -webkit-border-radius: 0.25em;
    -moz-border-radius: 0.25em;
    border-radius: 0.25em;
    max-width: 40em;
}

#comments .comments-title{
    margin-top: 0;
}

#comments .commentlist{
    margin-left: 0;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

#comments li.comment{
    list-style-type: none !important;
    margin-left: 0 !important;
}

#comments .comment-body > ul,
#comments .comment-body > ol{
    margin-bottom: 1.5em;
}

#comments ul.children{
    margin-left: 2em;
    list-style-type: none;
}

#comments .comment-body{
    font-size: 0.9em;
    margin-bottom: 0.75em;
}

#comments .comment-body p{
    margin-bottom: 0.75em;
    line-height: 1.5em;
    font-size: 1em;
}

#comments .comment-author{
    margin-bottom: 0.25em;
    background-color: #f6f6f6;
}

#comments .comment-author img{
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5em;
    height: 2em;
    width: auto;
}

#comments .comment-author cite{
    font-size: 0.9em;
    display: inline-block;
    line-height: 2em;
    margin-right: 0.5em;
}

#comments .comment-author span.says{
    font-size: 0.9em;
    color: #AAA;
    line-height: 2em;
}

#comments .comment-meta{
    font-size: 0.8em;
    margin-bottom: 0.3em;
}

#comments .reply{
    font-size: 0.9em;
    margin-top: -0.5em;
}

#comments p.form-allowed-tags{
    font-size: 0.8em;
    margin-bottom: 1.75em;
}

/* koniec main-section */

#main-footer{
    clear: both;
    padding: 1.5em;
    border-top: 0.1em solid #e35146;
}

#main-footer p{
    font-weight: 300;
    color: #888;
    font-size: 0.8em;
    line-height: 1.5em;
}

#main-footer a{
    color: #999;
    text-decoration: none;
}

#main-footer a:hover{
    color: #e35146;
}

/* ustawienia postów */

#container article{
    margin-bottom: 1.25em;
}

#container article h1 a{
    color: #e35146;
}

#container article{
    overflow: hidden;
}

#container article img{
    max-width: 100%;
    height: auto;
}

#container article .alignleft{
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

#container article .aligncenter{
    margin: 0 auto;
    text-align: center;
}

#container article .alignright{
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
    text-align: right;
}

#container .wp-caption-text{
    font-size: 0.9em;
}

#container .page-links,
#container .navigation{
    padding: 0.75em 1.25em;
    background-color: #f6f6f6;
    height: 2em;
    -webkit-border-radius: 0.25em;
    -moz-border-radius: 0.25em;
    border-radius: 0.25em;
    margin-bottom: 0.75em;
}

#container .page-links{
    line-height: 2em;
}

#container .navigation{
    margin-bottom: 1.25em;
}

#container .navigation .nav-links .nav-previous{
    float: left;
    line-height: 2em;
}

#container .navigation .nav-links .nav-next{
    float: right;
    line-height: 2em;
}

#container .gallery{
    margin-bottom: 0.75em;
}

#container .comments-link{
    font-size: 0.9em;
    margin-bottom: 1em;
}

/* ustawienia widgetów dla sidebaru */

.widget{
    margin-bottom: 1.5em;
}

aside #s{
    background-color: #FFF !important;
    font-size: 0.9em !important;
}

#searchsubmit{
    font-size: 0.8em !important;
    padding: 0.5em 0.75em !important;
    margin: 0.5em 0;
}

@media all and (min-width: 980px) {

    body.full-width #content-wrapper{
        width: 100%;
    }

    .primary-menu > ul{
        -webkit-border-radius: 0.25em 0.25em 0.25em 0.25em;
        -moz-border-radius: 0.25em 0.25em 0.25em 0.25em;
        border-radius: 0.25em 0.25em 0.25em 0.25em;
    }

    body.full-width #content-wrapper .primary-menu > ul{
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }

    .primary-menu ul li{
        float: left;
    }

    .primary-menu ul ul{
        display: none;
        float: none;
        height: auto;
    }

    .primary-menu ul ul li{
        float: none;
    }

    .primary-menu ul li a{
        float: left;
    }

    .primary-menu ul li a:hover,
    .primary-menu ul > li:hover > a,
    .primary-menu ul li.current-menu-item a{
        background-color: #FFF;
        color: #e35146;
        cursor: pointer;
    }

    .primary-menu ul ul li a:hover,
    .primary-menu ul ul li:hover > a{
        background-color: #FFF;
        color: #e35146;
    }

    .primary-menu > ul > li:hover > a + ul{
        display: block;
        position: absolute;
        margin-top: 3em;
    }

    .primary-menu ul ul li:hover > a + ul{
        display: block;
        position: absolute;
        left: 15.5em;
    }

    .primary-menu ul ul li a{
        width: 14em;
    }

    .primary-menu ul li.page_item_has_children > a:after,
    .primary-menu ul li.menu-item-has-children > a:after{
        content: "\2193 ";
        margin-left: 0.5em;
        float: right;
        line-height: 3em;
    }

    .primary-menu ul ul li.page_item_has_children > a:after,
    .primary-menu ul ul li.menu-item-has-children > a:after{
        content: "\2192 ";
        float: right;
        line-height: 3em;
    }
}

@media all and (max-width: 979px) {
    #content-wrapper{
        width: 100%;
    }

    #width-swapper,
    #header-logo-left,
    #header-logo{
        display: none;
    }

    #header-text{
        margin: 0 1em;
    }

    #main-sidebar{
        display: none;
    }

    #container{
        margin-left: 0;
    }

    #container.blog{
        margin-left: 0;
    }

    .primary-menu ul{
        height: auto;
        border-left: none;
    }

    .primary-menu ul li{
        /*display: none;*/
    }

    /*.primary-menu > ul:before{
        display: block;
        content: "menu";
        text-transform: uppercase;
        line-height: 3em;
        padding: 0 1.5em;
        font-weight: 700;
    }

    .primary-menu:hover li{
        display: block;
    }
*/
    .primary-menu ul ul{
        margin-left: 2.5em;
    }

    .primary-menu ul li a{
        padding-left: 1.5em;
    }

    .primary-menu ul li a:hover{
        background-color: #FFF;
        color: #e35146;
    }

    #comments{
        border: 0;
        padding: 0;
    }
}

