/*
 Theme Name:   AccessPress Pro Child
 Theme URI:    
 Description:  AccessPress Pro Child Theme
 Author:       
 Author URI:   
 Template:     accesspress-pro
 Version:      1.0.0
 License:      
 License URI:  
 Tags:         
 Text Domain:  accesspress-pro-child
*/

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-top: 20px;
    margin-bottom: 25px;
}

#masthead .site-branding {
    width: 440px;
}

#masthead .site-branding img {
    float: left;
}

#masthead .site-branding h1 {
    color: #0066e3 !important;
    font-weight: 500 !important;
    float: left;
    clear: none;
    text-transform: uppercase !important;
    margin-left: 20px;
    line-height: 55px;
}

#top-header .ak-container .right-header {
    margin-top: -14px;
}

.searchform .searchsubmit {
    color: #005ccd;
}

.searchform {
    border: 1px solid #ccc !important;
    background-color: #F2F3F4;
}

.main-navigation li {
    margin-right: 3px;
}

.main-navigation li > a {
    font-size: 18px;
}

/*.main-navigation li:first-child > a {
    margin-left: 3px;
}*/

.main-navigation li:hover > a, .main-navigation li > a:hover {
    background-color: #3780ff !important;
}

.main-navigation .current_page_item > a, .main-navigation .current_page_parent > a {
    background-color: #2977f2 !important;
}

.main-navigation {
    border-top: 3px solid #005ccd;
    border-bottom: 3px solid #005ccd;
}

.main-navigation ul ul {
    border-bottom: 3px solid #2977f2;
    border-top: 3px solid #2977f2;
}

.main-navigation ul ul li {
    padding: 0;
}

.main-navigation ul ul a {
    color: #005ccd;
    text-transform: uppercase;
    padding: 10px 15px;
    font-size: 16px;
}

.main-navigation ul ul li:hover > a, .main-navigation ul ul li > a:hover {
    background-color: #ffffff !important;
    color: #3780ff;
}

.main-navigation .current_page_parent .current_page_item > a {
    color: #333 !important;
    background-color: #fff !important;
    border-left: 5px solid #005ccd;
    padding-left: 10px;
}

#home-content a, #content a {
    color: #005ccd !important;
}

#home-content strong, #content strong {
    font-weight: 600 !important;
}

#home-content {
    padding-bottom: 40px;
}

#home-content a:hover, #content a:hover {
    color: #3780ff !important;
}

#home-content .ap_call_to_action a, #home-content .edit-link a, #content .ap_call_to_action a, #content .edit-link a {
    color: white !important;
}

#primary {
    width: 66%;
    margin-top: 15px;
}

.page-content, .entry-content, .entry-summary {
    margin: 0 !important;
}

#secondary-right {
    width: 31%;
}

#header-banner-image {
    background-color: #e0e0e0;
}

.entry-header {
    padding: 10px 0 22px 0px;
    margin-bottom: 20px;
    background-color: #f2f2f2;
}

.entry-header a:hover {
    color: #005ccd !important;
}

h1.entry-title {
    font-size: 30px !important;
    margin-bottom: 0px;
}

#content h1.entry-title a {
    color: #333 !important;
}

#content h1.entry-title a:hover {
    color: #005ccd !important;
}

.entry-content p + ul {
    margin-top: -15px;
}

.entry-content .ap-row p + ul {
    margin-top: 0;
}

.entry-content h2, .entry-content h3, .entry-content h4 {
    font-weight: 400 !important;
}

.entry-content ul {
    margin-left: 0;
}

.entry-content ul li {
    background-image: url(images/list-icons/list-icon3.gif);
    background-position: 0 8px;
    background-repeat: no-repeat;
    padding: 5px 0 5px 24px;
    list-style: none;
}

.entry-content ul.ap-list li {
    margin-bottom: 0;
}

.entry-content > .ap-row {
    margin-top: 7px;
}

.entry-content > .ap-row {
    margin-top: 0;
}

.entry-content .ap-row {
    margin-bottom: 20px;
}

.entry-content > .ap-row .ap_column p {
    margin-bottom: 0;
}

.entry-content .ap-row .ap_column > img {
    margin-top: 8px;
}

.entry-content .ap-row .ap_column ul, .entry-content .ap-row .ap_column li:last-child {
    margin-bottom: 0;
}

.ap_toggle_content p:last-child {
    margin-bottom: 5px;
}

.ap_toggle + h2 {
    margin-top: 30px;
}

.horizontal .ap_tab_group .tab-title {
    text-transform: inherit;
    font-weight: 500;
    font-size: 17px;
}

/*.horizontal .ap_tab_group .tab-title {
    color: #005ccd;
}

.horizontal .ap_tab_group .tab-title.active {
    color: black !important;
}

.horizontal .ap_tab_group .tab-title:hover {
    color: black;
}

.horizontal .ap_tab_group .tab-title.active:hover {
    color: #005ccd !important;
}*/

.horizontal .ap_tab ul li {
    background-image: url(images/list-icons/list-icon2.gif) !important;
}

.ap_toggle ul li {
    background-image: url(images/list-icons/list-icon2.gif) !important;
}

.ap_tab_content {
    padding-bottom: 10px;
}

.ap_tab_content ul {
    margin-bottom: 0;
}

#news h2 {
    border-left: 5px solid #005ccd;
    background: #f2f2f2;
    text-transform: uppercase !important;
    padding: 10px 15px;
    line-height: 24px;
    margin-top: 22px;
    border-bottom: 0;
    position: relative;
    margin-bottom: 30px;
}

.single-event-date {
    width: 80px;
    margin-top: 8px;
    margin-bottom: 0;
}

.single-event-date .event-month:before, .single-event-date .event-month:after {
    background-color:  #ddd;
}

.single-event-date .event-day {
    line-height: 40px;
}

.event-listing.event_list {
    margin-bottom: 30px;
}

.event-listing.event_list:after {
    top: 0;
    height: 100%;
}

.event-listing.event_list #event-grid {
    margin-top: 7px;
}

.event-listing.event_list .events:last-child {
    margin-bottom: 0;
}

.event-listing.event_list .event-short-desc {
    padding: 0;   
}

.event-listing.event_list .event-img img:hover {
    border: 5px solid #005ccd;
}

.event-listing.event_list .event-img:after {
    border-top: 4px solid #DDD;
}

.event-listing.event_list .event-date {
    text-transform: initial;
    position: inherit;
    left: inherit;
    top: inherit;
    height: inherit;
    line-height: inherit;
    font-size: inherit;
    z-index: inherit;
    white-space: inherit;
    margin: 0;
    width: 100%;
    text-align: inherit;
    border: 0;
    background-color: #005ccd;
    color: white;
    font-weight: 400 !important;
    padding: 5px 20px;
}

.event-listing.event_list .event-date:hover {
    background-color: #3780ff;
}

.event-listing.event_list a .event-date {
    color: white;
}

.event-listing.event_list .event-content {
    padding: 10px 20px 20px 20px;
}

.event-listing.event_list .event-content h4 {
    margin-bottom: 5px;
    font-weight: 500 !important;
}

.event-listing.event_list .event-content h4:hover {
    color: #005ccd !important;
}

#post-60 .ap-row .ap_column.ap-span3 {
    text-align: center;
}

#post-60 .ap-row .ap_column.ap-span3:first-child {
    padding-right: 20px;
    text-align: left;
}

#post-60 input, #post-60 textarea {
    width: 100%;
    margin-bottom: 10px;
}

#post-60 span[role="alert"] {
    margin-top: -10px;
    margin-bottom: 10px;
}

#post-60 input[type="submit"] {
    width: inherit;
    padding: 10px 20px;
    color: #fff !important;
    border-radius: 3px;
    margin: 0 auto;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
}

#post-60 input[type="submit"]:hover {
    background-image: url(images/arrow.png);
}

#post-60 .ap-row .ap_column img {
    margin: 0 auto;
    border-radius: 100%;
    border: 5px solid #DDD;
    padding: 3px;
}

#post-60 .ap-row .ap_column img:hover {
    border: 5px solid #005ccd;
}

div.wpcf7-response-output {
    margin-left: 0;
    margin-right: 0;
    padding: 10px;
}

div.wpcf7-validation-errors {
    border: 2px solid #f00;
}

article.hentry, article.type-events, article.type-page  {
    margin-bottom: 25px !important;
    padding-bottom: 0 !important;
    border-bottom: 1px solid #ccc !important;
}

#secondary-right aside h3 {
    font-size: 1.35em;
    border-left: 5px solid #005ccd;
    background: #f2f2f2;
    font-size: 22px;
    text-transform: uppercase !important;
    padding: 10px 15px;
    line-height: 24px;
    margin-top: 22px;
    border-bottom: 0;
}

#secondary-right aside h3 span:after {
    border-bottom: 0;
}

#secondary-right aside .event-list {
    margin-top: 20px;
}

#secondary-right aside .event-list:last-child {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 15px;
}

#secondary-right aside .event-list a:hover .event-date {
    background-color: #3780ff !important;
}

#secondary-right aside figure {
    margin-top: 7px;
}

#secondary-right aside .event-list .event-title a {
    font-size: 14px !important;
    font-weight: bold !important;
    margin-top: 0;
    color: black !important;
}

#secondary-right aside .event-list .event-title a:hover {
    color: #005ccd !important;
}

.sidebar .widget {
    margin-bottom: 35px;
}

#secondary-right aside .textwidget p {
    font-size: 14px;    
}

#secondary-right aside .textwidget p a, #secondary-right aside .clear {
    text-align: center;
    display: block;
    margin-top: 20px;
}

#secondary-right aside .textwidget p.concours-tambours a {
    margin-top: 0;
}

#secondary-right aside .textwidget p a img {
    max-width: 80% !important;
}

a.moreNoWrap {
    white-space: nowrap;
}

.full-agenda, .concours-tambours {
    text-align: center;
}

#home-content a.full-agenda-button, #content a.full-agenda-button, #home-content a.concours-tambours-button, #content a.concours-tambours-button, #content .paging-navigation .nav-previous a, #content .paging-navigation .nav-next a, #mc-embedded-subscribe {
    background: #005ccd;
    padding: 10px 20px;
    color: #fff !important;
    border-radius: 3px;
    line-height: 1;
    display: inline-block !important;
    margin: 0 auto;
    font-size: 14px;
    font-weight: 600;
    border: 0;
}

#content .paging-navigation .nav-previous a:before, #content .paging-navigation .nav-next a:after {
    content: none;
}

#mc-embedded-subscribe {
    -webkit-appearance: none;
    text-transform: none;
}

#mc_embed_signup_scroll .mc-field-group {
    margin: -10px 15px 0 15px;
}

#mc_embed_signup_scroll input[type="email"]{
    width: 100%;
}

.textwidget {
    margin-top: 15px;
}

#home-content a.full-agenda-button i, #content a.full-agenda-button i, #home-content a.concours-tambours-button i, #content a.concours-tambours-button i, #content .paging-navigation .nav-previous i {
    padding-right: 5px;
}

#content .paging-navigation .nav-next i {
    padding-left: 5px;
}

#home-content a.full-agenda-button:hover, #content a.full-agenda-button:hover, #home-content a.concours-tambours-button:hover, #content a.concours-tambours-button:hover, #mc-embedded-subscribe:hover, #content .paging-navigation .nav-previous a:hover, #content .paging-navigation .nav-next a:hover {
    background: #3780ff;
    
}

.sidebar ul li a {
    color: #005ccd;
}

.sidebar ul li a:hover {
    color: #3780ff !important;
}

#bottom-footer {
    text-transform: uppercase;
}

#bottom-footer .copyright {
    float: none;
    text-align: center;
}

@media screen and (max-width: 680px) {
    #masthead .site-branding {
        padding: 0;
    }
    
    #masthead .site-branding a img {
        display: none;
    }
    
    #masthead .site-branding, #masthead .site-branding h1 {
        float: none;
        text-align: center;
        margin: 0 auto;
    }

    #masthead .right-header {
        display: none;
    }
}

@media screen and (max-width: 1220px) {
    #masthead .right-header {
        padding-top: 0 !important;
    }
}

@media screen and (max-width: 940px) {
    .sticky-header.fixed {
        width: 100% !important;
    }
    .menu-toggle {
        margin-right: 4px !important;
    }
    .main-navigation .menu ul li:first-child {
        border-top: 1px solid #DDD;
    }
    .site-header.style1 .main-navigation .sf-arrows .sf-with-ul:after {
        border-top-color: #333;
    }
    
    .main-navigation .current_page_parent .current_page_item {
        padding-left: 15px;
        border-left: 5px solid #005ccd;
        border-right: 5px solid #005ccd;
    }
    
    .main-navigation .menu ul ul li:hover a {
        color: #3780ff !important;
    }
    
    .sticky-header.fixed {
        left: auto;
        width: 768px;
    }
    
    #secondary-right {
        width: 100%;
    }
    
    .latest-events-widget .event-list .event-thumbnail {
        width: 15%;
    }
    
    .latest-events-widget .event-list .event-detail {
        width: 80%;
    }
}

@media screen and (max-width: 768px) {
    .sticky-header.fixed {
        position: fixed !important;
    }
}

@media screen and (max-width: 640px) {
    #top-header {
        padding: 0 !important;
    }
    
    #masthead .site-branding, #masthead .site-branding h1 {
        font-size: 1.1em !important;
        font-weight: bold !important;
    }
    
    #slider-banner {
        display: none;
    }
    
    .event-thumbnail .event-date {
        position: inherit;
        height: inherit !important;
        font-size: 0.8em !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

@media screen and (max-width: 450px) {
    #masthead .site-branding {
        max-width: 100%;
    }
}

@media screen and (max-width: 400px) {
    #masthead .site-branding, #masthead .site-branding h1 {
        font-size: 1.2em;
    }
}

@media screen and (max-width: 290px) {
    #masthead .site-branding, #masthead .site-branding h1 {
        font-size: 1em;
    }
}