/*
Theme Name:     BESA theme 
Author:         illuminea
Author URI:     http://illuminea.com
Template:       besa
Text Domain:    besa
Domain Path: /languages
*/

@-ms-viewport{
  width: device-width;
}

.w2 {
    position: relative;
}
.submit {
    float: left;
}
#header .flags {
    position: absolute;
    right: 20px;
    top: 113px;
}
#header .flags {
    background: transparent;
    border: none;
}
.post {
    margin: 0 0 7px 0px;
}
.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"] {
    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;
}
.ppnumber {
    margin: -5px 0 10px 0;
}
.ppno {
    float: left;
    color: #999;
    margin-right: 5px;
}
.all-archive-contain ul {
    display: none;
}
.all-archive-contain ul.open {
    display: block;
}
.all-archive-contain h2 {
    cursor: pointer;
}
div.sub-menu-trigger {
    position: absolute;
    right: 21px;
    top: 5px;
    background: url(../img/arrow_down.png) no-repeat;
    background-size: contain;
    width: 30px;
    z-index: 10;
    height: 30px;
}
@media (max-width: 980px) {
    .author-block,
    .meta-holder a.button,
    .meta-holder .comments,
    a.comments .left, #respond, #comments, .hide_mobile {
        display: none;
    }
    body {
        min-width: 100%;
    }
    .home .w1 {
        background: url(../images/bg-page-center.jpg) no-repeat 50% 0 #001649;
    }
    .w2 {
        width: 100%;
    }
    #header {
        margin: 0;
        padding: 0;
    }
    #header .bar {
        float: none;
        height: 26px;
        clear: both;
        position: relative;
        margin: 0px;
    }
    #header .search {
        float: right;
        margin-right: 70px;
    }
    #header .search input[type="text"] {
        float: right;
    }
    #header .logo {
        height: 102px;
    }
    #header .logo a {
        position: absolute;
        width: 200px;
        height: 50px;
        left: 0;
    }
    #header .flags {
        right: 257px;
        top: 138px;
    }
    #header h1 {
        height: 102px;
    }
    #header div.sub-menu-trigger {} #hamburger-icon {
        position: absolute;
        top: 132px;
        right: 25px;
    }
    #hamburger-icon span {
        display: block;
        width: 30px;
        height: 4px;
        border-radius: 2px;
        margin-top: 5px;
        background: #5cbff3;
        opacity: 0.7;
    }
    #nav {
        margin: 0 !important;
        padding: 0;
        background: #022A54;
    }
    #nav .inner {
        border-bottom: 1px solid #fff!important;
    }
    #nav a {
        color: #fff;
        text-shadow: none;
        width: 50px;
    }
    #nav .menu-header {
        display: none;
    }
    #nav ul,
    #nav ul ul,
    #nav ul li,
    #nav ul ul li,
    #nav ul li a,
    #nav ul ul li a,
    #nav ul li span,
    #nav ul ul li span {
        float: none !important;
        display: block;
        width: 100% !important;
        overflow: hidden !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        border: 0;
        background: transparent !important;
        margin: 0 !important;
        font-size: 14px !important;
        box-shadow: none !important;
        color: #fff;
    }
    #nav ul.sub-menu {
        display: none;
    }
    #nav ul ul li:first-child,
    #nav ul ul li {
        background: #fff!important;
        border-bottom: 1px solid #4e0e12;
    }
    #nav ul ul li a {
        color: #022A54;
    }
    #nav ul ul {
        padding: 0 !important;
    }
    #nav ul ul a {
        padding: 12px 36px 10px;
    }
    #nav .active .inner:before {
        display: none;
    }
    #nav li.button {
        padding: 4px 14px;
    }
    .menu-header #mc-embedded-subscribe-form .input-holder {
        background: none;
    }
    .menu-header #mc-embedded-subscribe-form .submit {
        float: left;
        margin-left: -9px;
    }
    .menu-header #mc-embedded-subscribe-form input#mc-embedded-subscribe {
        float: left;
        color: transparent;
        width: 40px;
        height: 28px;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        -webkit-box-shadow: none -moz-box-shadow: none;
        box-shadow: none;
        border: 0;
        text-shadow: none;
        background: url(../img/mail.png) no-repeat 50% 0 #620B0B;
        background-size: contain;
        padding: 1px;
    }
    #wrapper .breadcrumbs {
        margin-left: 10px;
    }
    #footer {
        width: 100%;
        display: block;
        text-align: center;
    }
    #footer .footer-holder {
        display: block;
    }
    #footer .footer-inner {
        width: 100%;
    }
    .footer-frame {
        display: block;
    }
    #footer .footer-inner .inner {
        width: 100%;
        margin: -37px 0 13px 0;
    }
    #footer .info-blocks {
        padding: 0 9px 13px 9px;
    }
    #footer .info-blocks .block {
        float: none;
        margin: 0 auto;
    }
    .feature-post {
        margin: 0 auto;
        padding: 30px;
        overflow: auto;
        width: auto;
        max-width: 700px;
    }
    .feature-post .link-holder {
        margin: 10px 0;
    }
    .feature-content a,
    .feature-content .meta,
    .feature-content,
    .feature-content .meta .author a,
    .feature-content .link-holder .link {
        color: #fff;
    }
    .feature-content .meta {
        border-top: 1px solid #fff;
        border-bottom: 1px solid #fff;
        padding: 2px 0;
        margin: 8px 0px;
    }
    .feature-post .feature-img {
        float: right;
        width: 48%;
    }
    .feature-post .feature-img img {
        width: 100%;
        height: auto;
    }
    .feature-content {
        float: left;
        width: 48%;
    }
    .feature-content h3 {
        margin-bottom: 12px;
    }
    .posts-section a.comments {
        display: none;
    }
    .posts-section .meta {
        width: auto;
    }
    #sidebar {
        float: none;
        padding: 0;
        margin: 30px auto 0;
    }
    .archive .w1 {
        background: none;
    }
    #main .main-holder {
        padding: 14px 0 20px;
    }
    #main .main-frame {
        padding: 0 9px;
        background: transparent;
    }
    #main .post {
        margin: 0 0 10px 0;
    }
    #main #content {
        float: none;
        margin: 0 auto;
        padding: 30px 0 0 0;
        width: auto;
        max-width: 700px;
    }
    #main #content .heading {
        box-shadow: none;
        background: #ddc5c6;
    }
    #main #content .post .content {
        padding: 0;
    }
    #main #twocolumns {
        float: none;
        margin: -32px auto 0 auto;
        width: auto;
        max-width: 700px;
    }
    #main #twocolumns .twocolumns-holder {
        padding: 0;
    }
    #main #twocolumns .aside {
        float: none;
        width: auto;
    }
    #main #twocolumns .post-list {
        border: 0;
        margin: 0;
    }
    #main #twocolumns .post-list .text-block {
        padding: 0 5px 0 0;
    }
    #main #twocolumns .list-holder {
        margin: 0;
        padding: 0;
    }
    #main #twocolumns .box-over {
        height: 0;
        width: 0;
    }
    body.post-type-archive-tribe_events #content {
        padding: 0 !important;
        margin-top: -30px;
    }
    img.aligncenter {
        max-width: 100%;
        height: auto;
    }
    .home .slideshow {
        display: none;
    }
    .home #main {
        padding: 0 9px;
        background: white;
    }
    .home #content .heading {
        margin: 0 0 15px 0;
    }
    .home #content .posts-section.type-3 {
        margin: 0 0 15px 0;
    }
    .home #content .posts-section.type-3 .post {
        width: 50%;
        padding: 15px 0;
    }
    .home #content .posts-section.type-3 .post .post-holder {
        padding: 0 10px;
    }
    .home #content .posts-section.type-3 .post .box-over {
        height: 0px;
        width: 0px;
    }
    .home #content .posts-section.type-3 .post .visual img {
        width: 100%;
        height: auto;
    }
    .home #content .posts-section.type-3 .post .visual .mask {
        height: 0;
    }
    .home #content .posts-section.type-3 .post .visual .mask-over {
        height: 0;
    }
    body.single-post .meta-holder .comments,
    body.single-post .meta-holder .button {
        dispaly: none;
    }
    body.single-post img.wp-post-image {
        max-width: 100%;
        height: auto;
    }
    body.single-post iframe {
        max-width: 100%;
    }
    #mc_embed_signup {
        padding: 10px 0 13px 20px;
        background: #022A54;
        margin-top: 11px;
    }
    #mc_embed_signup > p {
        display: none;
    }
    #mc_embed_signup form {
        margin: 0 0 5px;
    }
    #mc-embedded-subscribe-form .input-holder input[type="email"] {
        color: #ddd;
        background: #fff;
    }
    /*#main {display:none;}*/
}
@media (max-width: 700px) {
    #header .logo {
        background-size: 88%;
        width: 112px;
        height: 62px;
    }
    #header h1 {
        background-size: 100%;
        width: 290px;
        height: 62px;
        margin: 20px 0 0;
        z-index: -1;
    }
    #header .flags {
        top: 97px;
    }
    #hamburger-icon {
        top: 92px;
    }
    .home #content .posts-section.type-3 .post {
        float: none;
        width: 100%;
    }
    .home #content .posts-section.type-3 .post .visual img {
        width: 400px;
        max-width: 100%;
        margin: 0 auto;
    }
    .home #content .post.type-1 .visual {
        max-width: 50%;
    }
    .home #content .post.type-1 .visual img {
        width: 100%;
        height: auto;
    }
    .home #content .post.type-1 .visual .mask {
        height: 0;
    }
    .home #content .post.type-1 .visual .mask-over {
        height: 0;
    }
    body.single-post .meta-holder .author-holder {
        background: transparent;
    }
    body.single-post .meta-holder {
        margin: 0 0 27px 0;
        padding: 1px 0 5px 3px;
    }
    body.single-post .meta-holder .holder {
        width: auto;
    }
    body.single-post .meta-holder .date {
        clear: both;
        margin-bottom: 6px;
    }
    /*body.single-post .meta-holder .comments {float:left; clear:both; display:block; width:18px; height:18px; margin-top:0px;}*/
    
    body.single-post .meta-holder .button {
        float: left;
    }
}
@media (max-width: 500px) {
    #header .logo {
        width: 2px;
        height: 28px;
    }
    #header h1 {
        width: 230px;
        height: 50px;
        margin: 6px 0 0 40px;
    }
    #header .flags {
        top: 64px;
    }
    #hamburger-icon {
        top: 58px;
    }
    #main #twocolumns .post .visual {
        float: right;
        margin: 0 auto;
    }
    #main #twocolumns .post .visual .mask,
    #main #twocolumns .post .visual .mask-over {
        height: 0;
    }
    #main #twocolumns .text-block h2 {
        margin: 0px 0 5px 0;
        text-align: left;
    }
    .feature-content {
        width: 100%;
        padding-top: 30px;
    }
    .feature-post {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-flow: column-reverse;
        -ms-flex-flow: column-reverse;
                flex-flow: column-reverse;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
                justify-content: space-between;
    }
    .feature-post .feature-img {
        width: 100%;
    }
    .home #content .post.type-1 .visual {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 10px 0;
    }
}
@media (max-width: 980px) {
    #nav ul li#menu-item-32 {
        display: none !important;
    }
}
.featured-caption {
    margin: 5px 0 0;
    padding-bottom: 5px;
    color: #787878;
    font-size: 12px;
}