/*!
Theme Name:   Pera Child
Template:     pera
Author:       msoftware
Author URI:   https://www.msoftwaredev.com/
Version:      1.1.0
Description:  A child theme of the MN Pera parent theme
License:      GNU General Public License v3
License URI:  http://www.gnu.org/licenses/gpl-3.0.html
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
IMPORTANT:
Read the instructions in https://github.com/webmandesign/child-theme/blob/master/readme.md
and rename CHILD_THEME_NAME and PARENT_THEME_SLUG in this file appropriately!
*/

a.skip-main {
    left:-999px;
    position:absolute;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
    z-index:-999;
    width: 250px;
}
a.skip-main:focus, 
a.skip-main:active {
    background: #850129;
    color: #fff;
    left: auto;
    top: auto;
    height: auto;
    overflow:auto;
    margin: 10px 35%;
    padding:5px;
    border-radius: 5px;
    text-align:center;
    font-size:1.2em;
    z-index:999;
}

header.header{
    background: #e6e6e6;
}

.header .header-buttons li{
    font-weight: 400;
}

.header .header-buttons.mobile{
    display:none;
}

.header .header-buttons .mypera-login{
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1.5px;
}

.header-buttons a:link, 
.header-buttons a:visited
{
    color: #8b2233;
}

.header-buttons .mypera-login a:link, 
.header-buttons .mypera-login a:visited{
    background-color: #353635;
    color: #ffffff;
    padding-right: 15px;
    padding-left: 15px;
}

.header .search-form .search-box .keyword{
    padding: 9px 19px 9px 19px;
    width: 165px;
}

.header-area{
    top:0;
}

.has-mtsnb .header-area{
    top: 40px;
}

.the-page-title{
    margin-top: 115px;
}

.the-page-title h1{
    color: #4b4b4b;
}

.the-page-title h1:before{
	visibility: hidden;
}

.the-page-title h1:after{
	visibility: hidden;
}

.main-menu {
    width:100%;
	-webkit-transition: all 350ms;
    transition: all 350ms;
    background-color: #850129;
    padding: 0px !important;
}

.main-menu .mega-menu-wrap{
    margin: -1px auto !important;
    max-width: 1280px !important;
}

.main-menu .mega-menu-wrap ul.mega-menu > li.mega-menu-item{
    flex-shrink: 0;
    flex-grow: 1;
}

.main-menu .mega-menu-wrap ul.mega-menu > li.mega-menu-item > a.mega-menu-link{
    text-transform: uppercase !important;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1
{
    padding-top:0px !important;
    padding-bottom: 0px !important;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator::after{
    display: none;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link
{
    font-weight: 500 !important;
    letter-spacing: 1.5px !important;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-flyout ul.mega-sub-menu,
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu,
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link{
    background-color: #ffffff !important;
}


/* Slider styles */
#slideshow{
    margin-top: 80px;
}

.slide::before, .page-title::before
{
    background: none;
}
.slide{
    display: flex;
}

.slide .frame
{
    position: absolute;
    top: 20%;
    left: 55%;
    -webkit-transform: translate(-50%,0);
    transform: translate(-50%,0);
    z-index: 110;
}

.slide-text h1::before,
.slide-text h1::after{
    content: none;
}

.slide-text{
    text-align: left;
    margin-bottom: 25px;
    max-width: 50%;
}

.slide-body{
    text-align: left;
    color: #363635;
    font-size: 18px;
    max-width: 50%;
    width: 100%;
}

.slide-body p{
    color: #363635;
}

.slide-text h1{
    color: #363635 !important;
    padding: 0px;
}

.slider-nav-wrapper
{
    position: relative;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-nav {
    display:flex;
    align-items: center;
    z-index: 150;
    justify-content: center;
}

.slider-nav.testimonials-nav{
    position: absolute;
    left: 50%;
    -webkit-transform: translate(-50%,0);
	transform: translate(-50%,0);
}

.slider-nav span {
	float: left;
    width: 40px;
    height: 7px;
    margin: 0 18px 0px 0;
    border: 1px solid #E6E6E6;
    -webkit-transition: all 350ms;
    transition: all 350ms;
    cursor: pointer;
    text-indent: -100em;
    overflow: hidden;
    background-color: #E6E6E6;
}

.slider-nav span.cycle-pager-active{
    background-color: #353635;
    border-color: #353635;
}

.slider-nav span:hover {
	opacity: 1;
}

.frame.slider-arrows-wrapper{
    display: none;
}

.slider-prev:before{
    color: #353635;
    background-color: #ffffff;
    padding: 10px 15px;
    content: "\f053"; 
    font-family: "Font Awesome 5 Free"; 
    font-style: normal;
    font-weight: 900;
    font-size:40px;
}

.slider-next:before{
    color: #353635;
    background-color: #ffffff;
    padding: 10px 15px;
    content: "\f054"; 
    font-family: "Font Awesome 5 Free"; 
    font-style: normal;
    font-weight: 900;
    font-size:40px;
}

.slider-next{
    float: right;
}

.testimonials-prev, .testimonials-next {
    position: absolute;
    top: calc(50%);
    z-index: 1000;
}

.slider-nav-wrapper .play-pause-wrapper{
    z-index: 110;
}

.slider-nav-wrapper .pause,
.slider-nav-wrapper .play{
   background: transparent;
   border: none;
}

.slider-nav-wrapper .play{
    display: none;
}

.slider-nav-wrapper .pause:before{
    color:#353635;
    content: "\f04c"; 
    font-family: "Font Awesome 5 Free"; 
    font-style: normal;
    font-weight: 900;
    font-size:20px;
}

.slider-nav-wrapper .play:before{
    color:#353635;
    content: "\f04b"; 
    font-family: "Font Awesome 5 Free"; 
    font-style: normal;
    font-weight: 900;
    font-size:20px;
}

.slide{
    overflow: hidden;
}

.slider-button {
    text-align: center;
}

.slider-button a:link, .slider-button a:visited {
	display: -moz-inline-stack;
	display: inline-block;
	margin:5px 2px 5px 2px;
	vertical-align: top;
	zoom: 1;
	*display: inline;
	color: #850129;
	background: #fff;
	padding: 5px 5px 4px 5px;
	font: 700 16px 'Open Sans', Arial, Helvetica, sans-serif;
	text-align: center;
	line-height: 1.5em;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	cursor: pointer;
	-webkit-transition: all 350ms;
	transition: all 350ms;
	text-decoration: none;
	position: relative;
	min-width: 110px;
}

.slider-button a:hover{
    color: #fff;
	background: #850129;
}

.wpDataTablesFilter .wpDataTableFilterSection input.form-control{
    border: solid 1px #d8d8d8;
    padding: 20px 10px;
    color: #363635;
}

.wpdt-c .bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn)
{
    border: solid 1px #d8d8d8;
    border-bottom: none;
    margin-top: 0px;
    padding-top: 11px;
    height: 41px;
}

.wpdt-c .wpDataTablesWrapper .filter_column button
{
    height: 41px !important;
}

button.wdt-clear-filters-button::before{
    display: none;
}

button.wdt-clear-filters-button{
    height: 41px;
    background-color: #ffffff;
    border: 1px solid #d8d8d8 !important;
}

button.wdt-clear-filters-button::after{
    display: inline;
    font-family: 'Font Awesome 5 Free';
    font-weight:900;
    content: '\f054';
    margin-left: 5px;
}

/* Custom PERA Elementor styles */
.pera-el-section strong{
    color: #363635;
}

/* Custom PERA button */
.pera-el-section .elementor-widget-button .elementor-button{
    font-family: "Open Sans";
    font-size: 18px;
    font-weight: 400;
    background-color: #ffffff;
    border: 2px solid #850129;
    border-radius: 0px;
}

.pera-el-section .pera-button-two.elementor-widget-button .elementor-button{
    font-family: "Open Sans";
    font-size: 18px;
    font-weight: 400;
    background-color: #ffffff;
    border: 2px solid #363635;
    border-radius: 0px;
}

.pera-el-section .elementor-widget-button a:link, 
.pera-el-section .elementor-widget-button a:visited, 
.pera-el-section .elementor-widget-button a:active{
    color: #363635;
}

/* Custom PERA H */
.pera-el-section h1.elementor-heading-title{
    font: 700 36px "Open Sans", Arial, Helvetica, sans-serif;
    color: #363635;
    margin: 10px 0 5px 0;
    text-align: left;
    
}

.pera-el-section h2.elementor-heading-title{
    font: 700 36px "Open Sans", Arial, Helvetica, sans-serif;
    color: #363635;
    margin: 10px 0 5px 0;
    text-align: left;
}

/* Custom PERA text */
.pera-el-section .elementor-text-editor,
.pera-el-section .elementor-tab-content{
    font-family: "Open Sans";
    font-size: 18px;
    line-height: 26px;
    color: #363635;
}

.pera-el-section.elementor-text-editor strong{
    color: #363635;
}

.pera-el-section .elementor-text-editor ul{
    list-style: unset;
}

.pera-el-section .elementor-text-editor ul li{
    margin: 0px 0px 20px 15px;
    padding-left: 10px;
}

/* Custom PERA tabs */
.pera-el-section .elementor-widget-tabs .elementor-tab-desktop-title,
.pera-el-section .elementor-widget-tabs .elementor-tab-mobile-title{
    padding: 0px 5px 0px 0px;
}

.pera-el-section .elementor-tabs .elementor-tab-title a
{
    color: #363635;
    background-color: #e6e6e6;
    font-family: "Open Sans";
    font-weight: bold;
    font-size: 18px;
    line-height: 26px;
    padding: 10px 10px 10px 10px;
    min-width: 190px;
    display: block;
}

.pera-el-section .elementor-tabs .elementor-tab-title.elementor-tab-mobile-title{
    color: #363635;
    background-color: #e6e6e6;
    font-family: "Open Sans";
    font-weight: bold;
    font-size: 24px;
    line-height: 26px;
    padding: 10px 10px 10px 10px;
}

.pera-el-section .elementor-tabs .elementor-tab-title.elementor-active a,
.pera-el-section .elementor-tabs .elementor-tab-title.elementor-tab-mobile-title.elementor-active {
    color: #ffffff;
    background-color: #850129;
}

.pera-el-section .elementor-tabs .elementor-tab-title,
.pera-el-section .elementor-tabs .elementor-tab-content{
    border: none;
}

/* Custom PERA Accordion */
.pera-el-section .elementor-accordion .elementor-tab-title {
    background-color: #e6e6e6;
    padding: 15px 20px 20px 10px;
    min-width: 190px;
    display: block;
}

.pera-el-section .elementor-accordion .elementor-tab-title .elementor-accordion-icon
{
    font-size: 18px;
    margin-top: 5px;
}

.pera-el-section .elementor-accordion .elementor-tab-title .elementor-accordion-title{
    font-family: "Open Sans";
    font-weight: bold;
    font-size: 18px;
    line-height: 26px;
}
.pera-el-section .elementor-accordion .elementor-tab-title .elementor-accordion-icon,
.pera-el-section .elementor-accordion .elementor-tab-title .elementor-accordion-title{
    color: #363635;
}

.pera-el-section .elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-icon,
.pera-el-section .elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-title{
    color: #ffffff;
}

.pera-el-section .elementor-accordion .elementor-tab-title.elementor-active{
    color: #ffffff;
    background-color: #850129;
}

.pera-el-section .elementor-accordion .elementor-accordion-item{
    border: none;
    margin-bottom: 5px;
}

.pera-el-section .elementor-accordion .elementor-tab-content{
    font-family: "Open Sans";
    font-size: 18px;
    line-height: 26px;
    color: #363635;
}


/* Custom Pera Nav Menu */
.pera-el-section .elementor-section{
    margin: 10px;
}

.pera-nav-menu,
.pera-sidebar-section{
    border: 1px solid black;
    padding: 20px;
}

.pera-el-section h5,
.pera-el-section h2.elementor-heading-title{
    font-family: "Open Sans";
    font-weight: bold;
    color: #850129;
    font-size: 29px;
    text-align: left;
}

.pera-el-section h2.elementor-heading-title{
    margin-left: -10px;
}


.pera-nav-menu li,
.pera-sidebar-icon-list li.elementor-icon-list-item{
    padding: 10px;
    font-size: 16px;
}

.pera-nav-menu li a,
.pera-el-section li a,
.pera-el-section.elementor-icon-list-item{
    color: #363635;
    font-family: "Open Sans";
    font-weight: 400;
}

.pera-el-section .elementor-icon-list-icon i{
    color: #850129;
}

.pera-el-section.pera-cards .elementor-widget-wrap{
    border: solid 1px #e6e6e6;
    padding: 20px 20px 0px 20px;
}

.pera-el-section.pera-cards h4{
    color: #363635;
}

.pera-el-section.pera-cards .pera-card{
    margin: 1%;
}

.pera-el-section .elementor-column-gap-default > .elementor-row > .elementor-column > .elementor-element-populated{
    padding: 0px;
}

.wpDataTablesFilter .wpDataTableFilterSection#wdt-clear-filters-button-block{
    padding-top: 38px !important;
}

.wpdt-c .btn:not(.btn-link)
{
    box-shadow: 10px !important;
}
.wpDataTablesWrapper .dataTables_length
{
    float: right !important;
}
.wpDataTablesWrapper .dataTables_filter{
    float: left !important;
}

.wpDataTablesWrapper .dataTables_filter input.form-control{
    border: 1px solid #d8d8d8;
}

.wpdt-c .wpDataTablesWrapper .dataTables_length .bootstrap-select.length_menu{
    padding: 0px !important;
}

.bootstrap-select.btn-group .dropdown-menu li a span.check-mark{
    display: none !important;
}

.wpdt-c .dropdown-menu > li > a:hover, .wpdt-c .dropdown-menu > li > a:focus{
   background-color: transparent !important;
}

.wpdt-c .dropdown-menu > li.selected > a{
    background-color: transparent !important;
}

#tribe-events-pg-template, .tribe-events-pg-template{
    margin-top:150px;
}

.footer-widgets{
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 18px;
}

.footer-widgets .footer-contacts, 
.footer-widgets .footer-mission{
    margin: 15px 0px;
}

.footer-widgets .footer-mission{
    margin: 3px 0px 15px 0px;
}

.footer-widgets .social-media a{
    text-decoration: none;
    margin:5px;
}


@media (min-width: 600px){
    header .logo{
        display: block;
    }

    header .logo img{
        width: 260px;
        height: 38px;
    }

    header .mobile-logo{
        display:none;
    }

    .main-menu ul.mega-menu {
        display: flex !important;
        flex-flow: row nowrap !important;
        justify-content: space-between !important;
    }
}

@media (max-width: 600px){
   .has-mtsnb .header-area{
        top: 0px;
    }
    
    header .logo{
        display: none;
    }

    header .mobile-logo{
        display:block;
        text-align: left;
        margin-left: 6px;
        width: 23%;
    }

    header .mobile-logo img{
        width: 56px;
        height: 46px;
    }

    .header .search-form{
        margin-top: 0px;
        width:75% !important;
        display: flex;
        justify-content: end;
        padding-right: 6px;
    }

    .header .frame{
        padding-top: 30px;
        align-items: center;
    }
    
    .search-form form{
        margin: 0px;
    }

    .header .search-form .search-box .keyword{
        width: 220px;
    }

    .header .header-buttons.mobile{
        display:block;
        position: absolute;
        right: 5px;
        top: 12px;
    }

    .header-buttons .mypera-login{
        padding-right: 1px;
    }

    .header-buttons .mypera-login a:link, 
    .header-buttons .mypera-login a:visited{
        background-color: #ffffff;
        color: #353635;
    }

    .main-menu{
        position: relative;
        padding: 0px;
    }

    .main-menu ul.mega-menu > li.mega-menu-item{
        border-bottom: 1px solid #cccbcb !important;
    }

    .main-menu ul.mega-menu > li.mega-menu-item a{
        font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
        font-size: 16px !important;
        color: #353635 !important;
    }
    

    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator::after{
        content: "\f139";
        display: inline;
        color: #850129;
    }

    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-item-has-children.mega-toggle-on > a.mega-menu-link > span.mega-indicator::after{
        content: "\f140";
    }

    .wpDataTablesFilter .wpDataTableFilterSection:not(#wdt-clear-filters-button-block):not(#wdt-pf-search-filters-button-block){
        margin-bottom: 0px !important;
        min-height: auto !important;
    }

    .wpDataTablesFilter .wpDataTableFilterSection#wdt-clear-filters-button-block{
        padding-top:0px !important;
    }

    .dt-buttons{display:none !important}

    .wpDataTablesWrapper table.wpDataTable td{
        white-space: normal !important;
    }

    .wpdt-c .wpDataTablesWrapper table.has-columns-hidden > tbody > tr.row-detail > td > ul > li{
        padding-left: 10px;
    }

    .the-page-title {
        margin-top: 0px;
    }

    #tribe-events-pg-template, .tribe-events-pg-template{
        margin-top: 0px;
    }
}

@media (min-width: 601px) and (max-width: 959px){
    .has-mtsnb .header-area {
        top:0px;
    }
    .header form{
        margin: 15px 0px;
    }

    .header .search-form{
        margin-top: 0px;
        width:100% !important;
        display: flex;
        justify-content: end;
        padding-right: 6px;
    }

    .header .search-form .search-box .keyword {
        padding: 9px 19px 9px 19px;
        width: 240px;
    }

    #tribe-events-pg-template, .tribe-events-pg-template{
        margin-top: 0px;
    }
}

@media (min-width: 601px) and (max-width: 961px){
    #tribe-events-pg-template, .tribe-events-pg-template{
        margin-top: 0px;
    }
}

@media (max-width: 1419px), (max-height: 830px) {
	.main-menu, .menu-open .main-menu {
		display: block;
    }
}

.filter-category select {
	cursor: pointer;
	height: 44px;
}

a:focus, 
span:focus,
input:focus, 
button:focus, 
h4.article-title:focus,
div.bar:focus{
    outline: black solid 2px;
}