/*
 Theme Name:     MET PGA
 Description:    A Custom Theme by Imavex
 Author:         Imavex
 Author URI:     https://www.imavex.com
 Template:       Divi
 Version:        1.0.0
*/
 
/* Setting the breakpoint of the mobile menu */
@media only screen and (max-width: 1286px) {
    li.menu-item-246572{
        display: none !important;
    }
}

@media only screen and (max-width: 1035px) {
    .et-menu-nav ul li a{
        font-size: 12px;
    }
}



.rp_slider .et_pb_slide_description,
.rp_slider .et_pb_slider_fullwidth_off .et_pb_slide_description{
    padding-top: 4% !important;
}

@media (max-width: 765px) {
    .rp_slider .et_pb_button_wrapper{
        margin-top: -30px;
    }
    
    .rp_slider .et_pb_slide_description,
    .rp_slider .et_pb_slider_fullwidth_off .et_pb_slide_description{
        padding-right: 0px !important;
        max-width: 100% !important;
    }
}
 
/* Theme customization starts below
------------------------------------------------------- */

.fixed-header-menu .et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li{
    margin-top: 0px;
}

.fixed-header-menu li.et_pb_menu_page_id-246572{
    display: none !important;
}

.fixed-header-menu li.standard.et_pb_menu_page_id-246262{
    padding-right: 30px !important;
}

.fixed-header-menu li.standard{
    padding-top: 24px !important;
}


@media (min-width: 1025px) {
  /* styles for tablets */
  .mega-menu ul.sub-menu {
    width: 100% !important;
    margin-left: -200px;
   }

    .mega-menu ul.sub-menu li>.sub-menu {
    margin-left:0 !important;
    position:relative !important;
    }
}


@media (min-width: 768px) and (max-width: 1024px) {
  /* styles for tablets */
   .mega-menu ul.sub-menu {
    width: auto;
    margin-left: clear;
    }

    .mega-menu ul.sub-menu li>.sub-menu {
    margin-left:inherit;
    position:inherit;
    }
}

@media (max-width: 480px) and (orientation: portrait) {
  /* styles for small devices in portrait orientation */
   /* styles for tablets */
   .mega-menu ul.sub-menu {
    width: auto;
    margin-left: clear;
    }

    .mega-menu ul.sub-menu li>.sub-menu {
    margin-left:inherit;
    position:inherit;
    }
}


.frm_style_formidable-style.with_frm_style .frm_submit button, .frm_form_submit_style{
background-color: #0e234c;
}


/************** Add Your Custom Styles Above This Line ***************/

/*-------------------------------------------------------------------*/
/*-----------------------Header/Menu Styles--------------------------*/
/*-------------------------------------------------------------------*/

.nav li ul{
    padding: 10px 0;
}
#top-menu li li {
    padding: 0px 0px;
    width: 240px;
}
#top-menu li li a {
    padding: 5px 10px;
    width: 240px;
}

.container.et_search_form_container {
    width: 95%;
}

input.et-search-field::placeholder {
    font-weight: 600;
}
span#et-info-phone:before {
    margin-right: 5px;
}
span#et-info-phone {
    font-weight: bold;
}
div#et-info {
    width: 100%;
}
.et-social-linkedin a.icon:before {
    content: "\e09d";
}

.section-title>a:first-child span {
    font-weight: 700;
    color:#000a2d !important;
    text-transform:capitalize;
    font-size:18px;
    font-family: 'PT Serif',Georgia,"Times New Roman",serif!important;
    font-weight: 700!important;
}

.et-menu-nav li.mega-menu>ul>li>a:first-child {
    padding-top: 0!important;
    cursor: default;
    pointer-events: none;
}


#et-secondary-menu {
  position: relative;
  background-color: #0e234c;
  width: 100%;
  height: 30px;
}

.secondarycta {
  background-color: #ac935c;
  color: #ffffff;
  padding-left: 20px !important;
  padding-right: 20px !important;
  padding-top: 10px;
  width: 180px;
  vertical-align: middle;
  height: 40px;
  margin-left:10px !important;
  margin-top: 0px !important;
  letter-spacing:1px;
  text-align:center;
  font-weight: 700;
}
.secondarycta:hover{
    background-color: #0e234c;
}

.secondarydonate {
  background-color: #0e234c;
  color: #ffffff;
  padding-left:20px;
  padding-top: 10px;
  width: 110px;
  vertical-align: middle;
  height: 40px;
  margin-left:45px !important;
  margin-top: 0px !important;
  letter-spacing:1px;
  text-align:center !important;
  font-weight: 700;
}
.secondarydonate:hover{
    background-color: #ac935c;
}

li.standard {
    padding-top: 40px;
}


#logodiv{
content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 30px solid transparent;
  border-bottom: 200px solid transparent;
  border-right: 30px solid white;
  transform: skew(-45deg);
}




/*-------------------------------------------------------------------*/
/*---------------------------Body Styles-----------------------------*/
/*-------------------------------------------------------------------*/


/* Pagination Adjustments  */

.et_pb_blog_grid .pagination > .alignleft a:before {
    content: 'Next Page »';
    visibility: visible;
    float:right;
}
.et_pb_blog_grid .pagination > .alignleft{
    float:right;
}
.et_pb_blog_grid .pagination > .alignright{
    float:left;
}
.et_pb_blog_grid .pagination > .alignright{
    float:left;
}
.et_pb_blog_grid .pagination > .alignleft a {
    visibility: collapse;
}
.et_pb_blog_grid .pagination > .alignright a:before {
    content: '« Previous Page';
    visibility: visible;
}
.et_pb_blog_grid .pagination > .alignright a {
    visibility: collapse;
}

/* Search Results Pagination */
.search-results .pagination > .alignleft a:before {
    content: 'Next Page »';
    visibility: visible;
    float:right;
}
.search-results .pagination > .alignleft{
    float:right;
}
.search-results .pagination > .alignright{
    float:left;
}
.search-results .pagination > .alignleft a {
    visibility: collapse;
}
.search-results .pagination > .alignright a:before {
    content: '« Previous Page';
    visibility: visible;
}
.search-results .pagination > .alignright a {
    visibility: collapse;
}


/*-------------------------------------------------------------------*/
/*--------------------------Footer Styles----------------------------*/
/*-------------------------------------------------------------------*/

footer#main-footer {
    display: none;
}

/*-------------------------------------------------------------------*/
/*--------------------------Media Queries----------------------------*/
/*-------------------------------------------------------------------*/

/*-------------------------------------------------------------------*/
/*-------------- (Optional; Un-Comment to Activate) -----------------*/
/*-------------------------------------------------------------------*/
/*-------------- Hide Top / Secondary Header on Scroll  -------------*/
/*-------------------------------------------------------------------*/

/*
@media (min-width: 980px) {
    #top-header {
        z-index: 9;
    }
    #main-header{
        transition: 0.5s;
        -moz-transition: 0.5s;
        -webkit-transition: 0.5s;
    }
    #main-header.et-fixed-header {
        top: 0 !important;
    }
    .admin-bar #main-header.et-fixed-header {
        top:32px!important;
    }
}
*/

/* Alternating Row Mobile Fix - Uncomment & add classes if applicable 

/*--------------------------------------------------------------------*/
/* Alternating Row Mobile Fix - Uncomment & add classes if applicable */
/*--------------------------------------------------------------------
@media (max-width: 981px) {
    .custom_row {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap; 
    flex-wrap: wrap;
    }
    
    .first-on-mobile {
    -webkit-order: 1;
    order: 1;
    }
    
    .second-on-mobile {
    -webkit-order: 2;
    order: 2;
    }
    
    .third-on-mobile {
    -webkit-order: 3;
    order: 3;
    }
    
    .fourth-on-mobile {
    -webkit-order: 4;
    order: 4;
    }
}
*/

@media (max-width: 980px) {
    .et_header_style_left .et-fixed-header #et-top-navigation, .et_header_style_left #et-top-navigation {
        padding-top: 30px;
    }
    #et_search_icon:before {
    top: 6px;
    }
}
@media (min-width: 981px){
    .et_fullwidth_nav .et-search-form, .et_fullwidth_nav .et_close_search_field {
        right: 5px;
    }
}

/*------------------ Fixed Menu on Mobile ------------------*/

/* Fix the mobile header (See Line 194) */
@media (max-width: 980px) {
.et_non_fixed_nav.et_transparent_nav #main-header, .et_non_fixed_nav.et_transparent_nav #top-header, .et_fixed_nav #main-header, .et_fixed_nav #top-header {
    position: fixed;
    } 
}

/* Remove Fixed Menu when Signed in as an Administrator on Mobile */
@media (max-width: 980px) {
    .admin-bar .et_non_fixed_nav.et_transparent_nav #main-header, .admin-bar.et_non_fixed_nav.et_transparent_nav #top-header, .admin-bar.et_fixed_nav #main-header, .admin-bar.et_fixed_nav #top-header {
        position: absolute;
        top:0px!important;
    }
    .admin-bar #main-header{
        margin-top:44px!important;
    }
}
@media (min-width: 981px) {
    .et_fullwidth_nav #main-header .container {
        width: 95%;
        max-width: 100%;
        padding-right: 0px;
        padding-left: 0px;
    }
}
@media (min-width: 981px) {
    span#et-info-phone {
        float: right;
    }
    .container.clearfix.et_menu_container {
        width: 95%;
        max-width: 100%;
        margin:auto;
    }
    /* Increase Logo Size on Desktop */
    #logo {
        max-height: 85%;
        width: auto;
    }
}
@media (max-width:981px) {
    .container.clearfix.et_menu_container {
        width: 95%;
        max-width: 100%;
        margin:auto;
    }
    /* Increase Logo Size on Mobile */
    #logo {
        max-height: 80%;
        width:auto;
    }
}