/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

.cookie_modal {
    background: none repeat scroll 0 0 #d8d8d8;
    bottom: 20px;
    color: #000;
    display: none;
    font-size: 11px;
    left: 20px;
    line-height: 14px;
    padding: 35px 15px 15px;
    position: fixed;
    text-align: justify;
    width: 260px;
    z-index: 10000000;
}
.cookie_modal.active {
    display: block;
}
div.cookie_modal .mfp-close {
    color: #222;
	top: 0;
	right: 0;
}
div.cookie_modal .mfp-close:hover {
    border: 2px solid #222;
}

/* General Custom CSS */
.screen-reader-text,
.screen-reader-text span,
.ui-helper-hidden-accessible {
    position: absolute;
    margin: -1px;
    padding: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
    word-wrap: normal!important;
}

/* REF (plugins.php) */
.ref-output {
    background-color: #ffffff;
    padding: 20px 40px;
}
.ref-output .ref {
    margin: 20px 0;
}

.html_diocese_blog .post-type-archive-parish .content,
.html_diocese_blog .tax-parish_category .content,
.html_diocese_blog .post-type-archive-place .content,
.html_diocese_blog .tax-place_category .content,
.html_diocese_blog .post-type-archive-formation .content,
.html_diocese_blog .tax-formation_category .content,
.html_diocese_blog .taxonomy-archive-parish_category .content,
.html_diocese_blog .page-template-diocese-masses .content {
    width: 75%;
}
@media only screen and (min-width: 768px) {
    .html_diocese_blog .post-type-archive-parish .sidebar_right > .container:not(.av-menu-mobile-disabled):before,
    .html_diocese_blog .tax-parish_category .sidebar_right > .container:not(.av-menu-mobile-disabled):before,
    .html_diocese_blog .post-type-archive-place .sidebar_right > .container:not(.av-menu-mobile-disabled):before,
    .html_diocese_blog .tax-place_category .sidebar_right > .container:not(.av-menu-mobile-disabled):before,
    .html_diocese_blog .post-type-archive-formation .sidebar_right > .container:not(.av-menu-mobile-disabled):before,
    .html_diocese_blog .tax-formation_category .sidebar_right > .container:not(.av-menu-mobile-disabled):before,
    .html_diocese_blog .taxonomy-archive-parish_category .sidebar_right > .container:not(.av-menu-mobile-disabled):before,
    .html_diocese_blog .page-template-diocese-masses .sidebar_right > .container:not(.av-menu-mobile-disabled):before {
        padding-right: 15px;
        width: 25%;
    }
}

/* WIDGETS */
.content .sidebar .widget:first-child,
.sidebar .widget:first-child {
    padding-top: 0;
    border-top-style: none;
    border-top-width: 0;
}


/* custom search */
.html_diocese_blog #top .widget_custom_search #searchform {
    
}
.html_diocese_blog .widget_custom_search #searchform > div {
    background-color: #ffffff;
    padding: 12px;
}
.html_diocese_blog #top .widget_custom_search #searchsubmit {
    background: transparent none repeat scroll 0 0;
    color: inherit;
    font-size: 24px;
    right: 8px;
    z-index: 4;
}
.html_diocese_blog .widget_custom_search #searchform #searchsubmit:hover {
    color: #a01f19;
}
.html_diocese_blog .widget_custom_search #searchform #s {
    background-color: #ffffff;
    border-color: #f2f2f2;
    border-image: none;
    border-style: none none solid;
    border-width: 0 0 1px;
    font-family: open sans;
    padding: 6px 36px 6px 0;
    text-transform: uppercase;
    z-index: 3;
}
.html_diocese_blog .widget_custom_search #searchform .ajax_load {
    right: 8px;
    top: 4px;
}
.html_diocese_blog #top .widget_custom_search #searchform .ajax_search_response {
    display: none;
}
.html_diocese_blog #top .widget_custom_search #searchform.active .ajax_search_response {
    display: block;
    background-color: #ffffff;
    border-bottom: 4px solid #a01f19;
    box-shadow: -2px 2px 8px 2px rgba(0, 0, 0, 0.2);
    left: -2px;
    padding: 56px 0 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
}
#top .search-mass #searchsubmit {
    height: 44px;
    padding-top: 6px;
}
.search-mass .mass-fields {
    font-size: 0.9em;
    padding-top: 15px;
}
#top .time-from, #top .time-to {
    float: left;
    width: 48%;
}
#top .time-from {
    margin-right: 4%;
}
#top .time-from label, #top .time-to label {
    display: block;
}
#top .time-from select, #top .time-to select {
    float: left;
    width: 50%;
    margin-bottom: 5px;
}
#top .search-mass select, #top .search-mass select {
    margin-bottom: 5px;
}
#top .search-mass label:hover, #top .search-mass select:hover {
    cursor: pointer;
}
.html_diocese_blog .page-template-diocese-masses .tabcontainer {
    margin: 0;
}
#masssearchsubmit {
    width: 100%;
    margin-top: 10px;
}


/* WIDGET TAXONOMIES (widgets.php) */
.widget_taxonomies,
.diocese_archives  {
    text-transform: uppercase;
}
.widget_taxonomies .widgettitle,
.diocese_archives .widgettitle {
    background: #ffffff none repeat scroll 0 0;
    margin-bottom: 6px;
    padding: 6px;
    text-align: center;
}
.widget_taxonomies .widgettitle a {
    
}
#top .widget_taxonomies .widgettitle a:hover {
    color: #a01f19;
}
#top .widget_taxonomies ul,
#top .diocese_archives ul {
    float: none;
    margin-top: 6px;
    text-align: center;
}
#top .widget_taxonomies ul li,
#top .diocese_archives ul li {
    line-height: 1.1em;
    margin-bottom: 6px;
}
.widget_taxonomies > ul > li,
.diocese_archives > ul > li {
    background-color: #ffffff;
    margin-bottom: 6px;
    overflow: hidden;
    padding: 6px;
}
.widget_taxonomies ul li a,
.diocese_archives ul li a {
    font-size: 0.9em;
    font-weight: 300;
}
.widget_taxonomies ul li.current-cat > a,
.diocese_archives ul li.current > a {
    color: #a01f19;
    font-weight: 600;
}
.widget_taxonomies ul li .toggle-terms {
    
}
.widget_taxonomies ul li .toggle-terms:hover,
.diocese_archives ul li .toggle-terms:hover {
    cursor: pointer;
}
.widget_taxonomies ul li .toggle-terms span,
.diocese_archives ul li .toggle-terms span {
    display: block;
    font-size: 22px;
    line-height: 18px;
    transform: rotate(180deg);
    transition: all 0.5s ease 0s;
}
.widget_taxonomies ul li.active .toggle-terms span,
.diocese_archives ul li.active .toggle-terms span {
    transform: rotate(0);
}
.widget_taxonomies > ul > li > a,
.diocese_archives > ul > li > a {
    font-size: 0.9em;
    font-weight: 600;
}
.widget_taxonomies ul li a:hover,
.diocese_archives ul li a:hover {
    text-decoration: none;
}
.widget_taxonomies ul li a span,
.diocese_archives ul li a span {
    color: #6e6e6e;
    font-size: 0.85em;
    position: relative;
    top: -2px;
}
.widget_taxonomies ul ul ul li a,
.diocese_archives ul ul ul li a {
    font-size: 0.8em;
}
#top .widget_taxonomies .collapse-terms,
#top .diocese_archives .collapse-terms {
    display: none;
}
#top .widget_taxonomies li.active .collapse-terms,
#top .diocese_archives li.active .collapse-terms {
    display: block;
}
#top .widget_taxonomies .type-links,
#top .diocese_archives .type-links {
    padding-top: 15px;
}
#top .widget_taxonomies .current-item a,
#top .diocese_archives .current-item a {
    color: #a01f19;
}




@media only screen and (max-width: 989px) {
    .html_diocese_header.responsive #top .av_mobile_menu_tablet .av-main-nav .menu-item.av-menu-float-right {
        display: none;
    }
    .html_diocese_header.responsive #top #wrap_all .main_menu {
        width: auto;
    }
}

/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */

}



/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */

}