/*
Theme Name:     BESA theme
Author:         illuminea
Author URI:     http://illuminea.com
Template:       besa
*/

#header .sociel-links {
    display: none;
}

@media screen and (min-width: 600px) {
    #header .sociel-links a {
        margin-left: 5px;
    }
    #header .sociel-links {
        display: inline-block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    #header .sociel-links a:hover {
        opacity: 0.7;
    }
}

.post {
    margin: 0 0 7px 0px;
}

.content .post p {
    margin: 0 0 20px;
    font-family: 'Tinos', serif;
    font-size: 16px;
    line-height: 1.4;
}

.links-block {
    overflow: hidden;
    margin: 0 0 11px 0;
}

.books-style .visual {
    float: left;
    width: 150px;
    margin: 0 9px 0 0;
    position: relative !important;
}

.widget {
    padding: 0 14px 20px 8px;
}

.textwidget {
    padding: 0 0 15px 0;
}

#sidebar .widget-zone-posts ul {
    margin: 3px 4px 33px 2px;
    font-weight: 700;
    border-bottom: 1px solid #CECECE;
}

#sidebar .widget-zone-posts ul li {
    list-style: none;
    border-top: 1px solid #CECECE;
}

#sidebar .widget-zone-posts a {
    display: block;
    padding: 10px 16px;
    color: #00355D;
    text-shadow: 0 2px white;
}

#sidebar .widget-zone-posts a:hover {
    background: #F2F2F2 url(../images/bg-post-hover.gif);
    -webkit-box-shadow: 0 1px rgba(255, 255, 255, .25), inset 0 1px 4px rgba(0, 0, 0, .22);
    -moz-box-shadow: 0 1px rgba(255, 255, 255, .25), inset 0 1px 4px rgba(0, 0, 0, .22);
    box-shadow: 0 1px rgba(255, 255, 255, .25), inset 0 1px 4px rgba(0, 0, 0, .22);
    text-decoration: none;
}

#sidebar .upcoming {
    margin: 3px 4px 5px 0px;
    font-weight: 700;
    border-bottom: 1px solid #CECECE;
}

#sidebar .eventsAdvancedListWidget li {
    list-style: none;
    border-top: 1px solid #CECECE;
    padding: 5px !important;
    margin: 0 !important;
}

#sidebar .upcoming a {
    display: block;
    font-size: 16px;
    color: #00355D;
    text-shadow: 0 2px white;
}

#sidebar .upcoming li:hover {
    background: #F2F2F2 url(../images/bg-post-hover.gif);
    -webkit-box-shadow: 0 1px rgba(255, 255, 255, .25), inset 0 1px 4px rgba(0, 0, 0, .22);
    -moz-box-shadow: 0 1px rgba(255, 255, 255, .25), inset 0 1px 4px rgba(0, 0, 0, .22);
    box-shadow: 0 1px rgba(255, 255, 255, .25), inset 0 1px 4px rgba(0, 0, 0, .22);
    text-decoration: none;
}

.sign-form {
    overflow: hidden;
    padding: 1px;
    margin: -25px 1px 0 0px;
}

.post .gform_body ul,
.post .gform_body ul li {
    list-type: none;
    list-style-type: none;
    background: none;
    padding: 0;
}

.gform_wrapper input[type="text"] {
    background: url(../besa/images/bg-input-holder.gif) !important;
    -webkit-box-shadow: 0 1px rgba(255, 255, 255, .25), inset 0 1px 4px rgba(0, 0, 0, .35);
    -moz-box-shadow: 0 1px rgba(255, 255, 255, .25), inset 0 1px 4px rgba(0, 0, 0, .35);
    box-shadow: 0 1px rgba(255, 255, 255, .25), inset 0 1px 4px rgba(0, 0, 0, .35);
    border: 1px solid #000;
    font-size: 12px;
    padding: 2px 5px;
}

.gform_wrapper input[type="submit"],
input[type="submit"],
input.submit {
    color: #fff;
    height: 27px;
    font: bold 16px/27px Georgia, 'Times New Roman', Times;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 0 1px #000;
    -moz-box-shadow: 0 0 1px #000;
    box-shadow: 0 0 1px #000;
    border: 0;
    text-shadow: 0 -1px #000;
    background: #1d8ec3 url(../besa/images/bg-button-sign.gif);
    padding: 0px 10px 0px !important;
    behavior: url(js/PIE.htc);
    position: relative;
}

.paging span.current,
.paging span {
    text-decoration: none;
    background: #000;
    color: #fff;
}

.text-block-author {
    overflow: hidden;
    padding: 0;
}

.meta-holder .author {
    letter-spacing: 1px;
}

.type-3 .meta .author {
    display: block;
}

.aside h1 {
    font-size: 31px;
}

.post .meta .holder {
    width: 90%;
}

.post ul li {
    list-style: none;
    padding: 0 0 10px 14px;
}

.post .links-block ul li {
    list-style: none;
    padding: 0 0 10px 2px;
}

.nav-single {
    float: left;
    margin: 10px 0;
    width: 100%;
}

.nav-previous,
.previous-image {
    float: left;
    width: 50%;
}

.nav-next,
.next-image {
    float: right;
    text-align: right;
    width: 50%;
}

.author-block {
    margin: 0 5px 29px -3px;
}

.similar-posts {
    margin: 10px 0 72px 0;
}

.author-block .text-block {
    min-height: 107px;
}

div#message .updated .jetpack-message .jp-connect {
    display: none !important;
}

#mc_embed_signup {
    background: none !important;
}

.post div.tribe-events-notices>ul>li {
    background: none !important;
}

.tribe-events-nav-previous,
.tribe-events-nav-next,
.tribe-events-nav-next {
    background: none !important;
    padding-left: 0 !important;
}

.ppnumber {
    margin: -5px 0 10px 0;
}

.ppno {
    float: left;
    color: #666;
    margin-right: 5px;
}


/* Archive pages */

#main .post-list .post {
    margin: 0 0 5px;
    padding: 5px;
}

#main .post-list .visual {
    float: none;
    width: 100%;
    margin: 0 9px 15px 0;
}

#main #content .post-list h2 a {
    font-size: 24px;
    line-height: 30px;
    color: #00365e;
}

#content .post-list .post p {
    margin: 0 0 10px;
}

#main .post-list .visual .mask,
#main .post-list .visual .mask-over {
    display: none!important;
}

#main .post-list .box-over {
    width: 100%;
    margin: 0;
}

#main .post-list .info {
    font-size: 14px;
    line-height: 20px;
}


/* fix flags size in dashboard */

td .icl-st-original img {
    max-width: 30px!important;
}

.at-above-post-page {
    margin: 0 0 15px 0;
}


/* Publications Archive layout */

.archive-category {
    margin-bottom: 2em;
}

.js-archive-category__year {
    cursor: pointer;
    color: #77171d;
}

.js-archive-category__year:hover,
.js-archive-category__year.active {
    text-decoration: underline;
}

.PrintOnly {
    display: none;
}


/* styles for print */

@media print {
    body {
        font-family: Georgia, serif;
        background: none;
        color: black;
    }
    .PrintOnly {
        display: block;
    }
    #header,
    #footer,
    #sidebar,
    .breadcrumbs,
    .addthis_inline_share_toolbox,
    .links-block,
    .info-blocks,
    #wtaiu,
    .nav-single {
        display: none;
    }
    .content a:after {
        content: " [" attr(href) "] ";
    }
}


.post p a {
    color: #0000EE;
}