/*
Theme Name: Hindu American Foundation Child Theme
Description: This is a custom child theme for Hindu American Foundation
Theme URI:   https://www.mittun.com/resources/
Author: mittun
Author URI:  https://www.mittun.com/resources/
Template: mittun
Version: 1.3.0
*/

body.single .heading-title[data-header-style="default_minimal"] #single-below-header .meta-date.date.published {
    padding-left: 0px!important;
}

.hideme{display:none !important;}

li#menu-item-custom {
    margin-left: 14px;
}

#header-outer:not([data-format="left-header"]) #top nav > ul > .megamenu > ul > .current-menu-ancestor.menu-item-has-children > a.sf-with-ul
{color:#0064be !important}

div[id*="nectar-metabox"] fieldset.buttonset:not(.ui-buttonset){opacity: 1!important;}

/* Swaps Column Layout on Mobile for Interior Pages */
@media only screen and (max-width: 999px) {
body .vc_row.mittun-reverse.vc_row-flex.vc_row-o-equal-height > .span_12{
    flex-direction:column-reverse;
}}

.gform_wrapper select{height: 45px;}

/* EVENTS */

.mittun_dro:hover {
    color: #313131!important;
}

#tribe_events_filters_wrapper.tribe-events-filters-horizontal .tribe-events-filters-label {
    margin-left: 0px!important;
}
#tribe_events_filters_wrapper.tribe-events-filters-horizontal, .tribe-filters-closed #tribe_events_filters_wrapper.tribe-events-filters-horizontal {
    margin: -1.5em 0 0em!important;
}
.tribe-events-filter-view.events-list .tribe-events-page-title {
    margin-bottom: 25px!important;
}
#tribe_events_filters_wrapper.tribe-events-filters-vertical label.tribe-events-filters-label {
    background: #0064be;
    color: #FFF;
}

#header-outer[data-lhe="default"] #top nav > ul > li > a:hover {
    color: rgb(49, 49, 49)!important;
}

a.tribe-events-read-more {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    border: 2px #888 solid;
    border-radius: 5px;
    color: #888;
}
a.tribe-events-read-more:hover {
    border: 2px #0064be solid;
    color: #0064be;
}

.single-tribe_events .team-member img:not([srcset]) {
    width: 75%;
}

.single-tribe_events .tribe-events-back, .single-tribe_events .tribe-events-single-event-title, .single-tribe_events .tribe-events-schedule,  .single-tribe_events nav.tribe-events-nav-pagination, .single-tribe_events .tribe-events-event-meta {
    display: none;
}
.single-tribe_events div#footer-outer {
    margin-top: -64px;
}
.tribe-events-list .tribe-events-event-image+div.tribe-events-content.tribe-events-list-event-description {
    margin-top:50px
}

/* Header dropdown styles */
.sf-menu .sfHover > ul{
     opacity: 0;
}
.sf-menu .sfHover.menu-item-over > ul{
     opacity: 1;
}
#header-outer .sf-menu li ul li a {
    font-size: 12px;
    line-height: 18px;
    text-align: left;
    text-transform: uppercase;
    font-weight: 600;
}

#top nav >ul >.megamenu >ul >li ul{
    padding: 0 !important;
    margin-top: 40px;
}

.sf-menu ul li, .sf-menu ul li li{
    margin-bottom: 6px;
}

.sf-menu >li ul {
    width: 15em;
    /*left: -4em!important;*/
    padding: 30px 15px!important;
}
.mittun_dropdown.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-has-children.sf-with-ul ul  {
    left: 0em!important;
}
#header-outer[data-format="default"] #top .span_9 {
    padding-right: 34px;
}

#top nav >ul >.megamenu >.sub-menu{
    width: auto;
    right: 55px;
    left: unset !important;
    display: unset;
    max-width: 800px!important;
    min-width: 800px!important;
    margin-top: -9px;
}
#header-outer[data-lhe="default"] #top nav > ul > li:first-child > a{
    padding-left: 0;
}

/*  #header-outer #top .sf-menu > .sf-with-ul.menu-item-over.sfHover > a::after {
    content: '';
    height: 35px;
    width: 35px;
    background: white;
    position: absolute;
    top: 36px;
    left: 21%;
    transform: rotate(45deg);
    z-index: -1;
}  */

#header-outer #top .sf-menu > .sf-with-ul.menu-item-over.sfHover > a::after {
    top: 38px;
    z-index: -1;
    opacity: 1;
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 18px solid #fff;
    left: 50%;
    transform: translate(-59%, -50%);
}

#header-outer[data-lhe="default"] #top nav > ul > li:first-child > a::after{
    transform: translate(-86%, -50%) !important;
}

.without_heading_menu {
    position: relative;
/*     top: 34px; */
}

/* .without_heading_menu.two_line{
    top: 55px;
} */
.rightdivider:after {
    content: '';
    height: 100%;
    width: 1px;
    background: #e0e0e0;
    position: absolute;
    top: 0;
    right: -5px;
}

/* .rightdivider.without_heading_menu:after {
    top: -36px;
} */
#search-outer{
    height: 70%;
    top: 82px;
    right: 198px;
    left: unset !important;
    max-width: 707px;
    min-width: 707px;
    padding: 15px;
    border: 5px solid white;
/*     background-color: #ECECEB !important; */
}

.mobile #search-outer{
    right: 0;
    left: 0 !important;
    max-width: unset;
    min-width: unset;
    border: none;
}

#header-outer #top nav >ul >.megamenu >ul >li.menu-item-has-children > a {
    position: absolute;
}
@media (max-width:1293px) {
a.sf-with-ul {
    font-size: 12px!important;
}
}
@media (max-width:1263px) {
#header-outer #top .sf-menu > .sf-with-ul > a {
    padding-right: 10px!important;
}
}

@media only screen and (max-width: 1342px) and (min-width: 1111px) {

    #top nav >ul >.megamenu >.sub-menu{
       max-width: 536px;
   }
}
/*
.single-post div#header-outer.detached.scrolling {
    background: linear-gradient(to right, #FEDABA, #D3E3F3)!important;
}
*/
/*MAKES STICKY HEADER TEXT WHITE 
 .single-post #header-outer[data-lhe="default"] #top nav > ul > li[class*="button_bordered"] > a, #top nav >ul >li[class*="button_bordered"] >a {color:#888;}
.single-post div#header-outer.detached.scrolling #top .sf-menu > .sf-with-ul > a,.single-post div#header-outer.detached.scrolling .sf-sub-indicator [class*=" icon-"], .single-post div#header-outer.detached.scrolling[data-lhe="default"] #top nav > ul > li[class*="button_bordered"] > a, #top nav >ul >li[class*="button_bordered"] >a, .single-post div#header-outer.detached.scrolling .icon-salient-search:before {
    color: #FFF;
}
*/

.single .heading-title[data-header-style="default_minimal"] .meta-category a {
    margin: 0px 6px 0px 0px!important;
}


/** GRADIENT HEADER
div#header-outer {
    background: linear-gradient(to right, #0064be, #ff8c1e)!important;
}
body.original #header-outer[data-transparent-header="true"].transparent {
    background: transparent!important;
}
#top nav ul li a {
    color: #fff!important;
}
body .sf-sub-indicator [class*=" icon-"] {
    color: #f7f7f7!important;
}
body:not([data-header-format="left-header"]) #top .sf-menu li ul {
    background-color: #0064be!important;
}

**/

/* MENU */
#header-outer[data-full-width="true"] header >.container{
    padding: 0;
}

#header-outer[data-full-width="true"] header >.container .row{
    padding: 0 28px;
}


body #header-outer[data-transparent-header="true"].transparent {
    border-bottom: none!important;
}
/*#header-outer.transparent.at-top .sf-menu >li ul {top: 67px!important;}*/
#top #logo {
    margin-left: 30px;
}

body:not([data-header-format="left-header"]) #top nav > ul > .megamenu > ul.sub-menu > li > a {
    /*color: #0064be !important;*/
    color: black!important;
    font-size: 17px;
    font-weight: 500;
    text-transform: capitalize;
    font-family: quatro-slab,serif;
    /*position: absolute;*/
}

body:not([data-header-format="left-header"]) #top nav > ul > .megamenu > ul.sub-menu > li:hover > a {
    color: black!important;
}

/* HOME */
.nectar-slider-wrap[data-full-width="false"] .swiper-slide .content p {
    line-height: 30px!important;
}
@media (max-width:999px) {
#footer-outer form.is-search-form.is-form-id-85.is-ajax-search, .mittun_footer .gform_wrapper form.gf_simple_horizontal div.gform_footer.top_label input[type=submit], #footer-outer input.is-search-submit  {
    width: 100%;
}
#footer-outer input.is-search-submit {
    float: none;
    position: relative;
    margin-top:10px;
    display:block;
}
.parallax_slider_outer .swiper-slide .image-bg {
    background-position: right center!important;
}
.mittun_title .swiper-slide .content h1 {
    font-size: 27px!important;
    line-height:45px!important;
}


}

@media (max-width: 999px) and (min-width: 691px){
    .nectar-slider-wrap .swiper-slide[data-y-pos="middle"] .content{
    top: 63%!important;
    }
}

@media (max-width:1046px) and (min-width:999px) {
.nectar-slider-wrap[data-full-width="false"] .swiper-slide .content {
   margin-top: -12px!important;
}

.swiper-slide .content .buttons{
        padding-top: 0px;
}

.swiper-container .slider-pagination-wrap{
bottom: 6px;
}
}
.swiper-slide .content h1 {
    font-size: 44px!important;
    line-height: 50px!important;
    font-weight: 100!important;
}
@media (max-width:1299px) and (min-width:1000px) {
.swiper-slide .content h1 {
    font-size: 40px!important;
}
}
.home .swiper-slide .button.solid_color .extra-color-1 {
    letter-spacing: 0px!important;
    font-weight: 600!important;
}
.button.solid_color a {
    text-transform: capitalize!important;
}

/* SEARCH */
#search-outer #search input[type=text] {
    text-transform: capitalize!important;
    line-height: 35px;
}
body #search-outer #search input[type="text"], body.original #search-outer #search form input[type="text"] {
    font-size: 20px!important;
    font-weight: 500!important;
}
#search-outer #search #close a {
       top: 10px;
}

.light h1, .light h2, .light h3, .light h4, .light h5, .light h6, .light p {
    margin-bottom: 5px!important;
}
p {font-size: medium;}
.nectar-post-grid[data-text-color="light"] .nectar-post-grid-item .content * {
    text-transform: uppercase;
}

#search-box:after {
    content: '';
    position: absolute;
    top: -27px;
    right: -11px;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 18px solid #fff;
}


.mobile #search-box:after {
    content: unset;
}
/** BLOG **/
.single-post h1 {
    font-size: 45px!important;
}
.single-post .post-content > .post-featured-img > img {
    width: 100%!important;
    max-height: 400px;
    object-fit: cover!important;
}

.single-post .main-content .yarpp-thumbnail img{
  height: 185px;
}
.single-post .heading-title[data-header-style="default_minimal"] .entry-title {
    margin: inherit!important;
}
.single-post .container.main-content {
    max-width: 900px!important;
}
.mittun_blog .nectar-post-grid[data-columns][data-grid-spacing][data-masonry="yes"] .nectar-post-grid-item:nth-child(8n+1) {
    min-height: 350px;
}
.mittun_blog .nectar-post-grid[data-hover-effect="zoom"] .nectar-post-grid-item .nectar-post-grid-item-bg, .nectar-post-grid[data-hover-effect="zoom"] .bg-overlay:nth-child(8n+1) {
    min-height: 350px;
}
.mittun_blog h3 {
    font-size: 16px!important;
    line-height: 22px;
}
.mittun_blog .nectar-post-grid-filters[data-sortable="yes"] {
    text-align: left;
}
.mittun_blog .nectar-post-grid-filters a.active {
    color: #ff8c1e;
    border: #ff8c1e solid 2px;
    border-radius: 5px;
    padding: 2px 10px 2px 10px!important;
    font-weight: bold;
}
span.post-featured-img img {
    width: 50%!important;
}
/*** GRADIENT HEADER ON BLOG INDIVIDUAL POSTS
.single-post div#header-outer {
     background: linear-gradient(to right, #FEDABA, #D3E3F3)!important;
}

.single-post body[data-hhun="1"].original #header-outer.detached:not(.side-widget-open) {
   background: linear-gradient(to right, #ff8c1e, #0064be)!important;
}

.single-post body[data-hhun="1"].original #header-outer.detached.at-top:not(.side-widget-open) {
   background: linear-gradient(to right, #0064be, #ff8c1e)!important;
}
***/


.single-post #header-outer.small-nav:not([data-format="left-header"]) {
    display: none!important;
}

/* Page Header */
.swiper-slide .content h1 {
    line-height: 65px!important;
}
.page-header-overlay-color:after, .swiper-slide .slide-bg-wrap .slide-bg-overlay {
    background: -webkit-linear-gradient(to right, #0064be, #ff8c1e)!important;
    background: -moz-linear-gradient(to right, #0064be, #ff8c1e)!important;
    background:  -o-linear-gradient(to right, #0064be, #ff8c1e)!important;
    background: linear-gradient(to right, #0064be, #ff8c1e)!important;
}
#header-outer.transparent #top nav > ul > li > a, #header-outer.transparent #top nav > .sf-menu > li > a, span.icon-salient-search {
    opacity: 1!important;
}

/** BLOG **/
#page-header-bg .span_6 {
    max-width: 50%;
}
#page-header-bg .subheader {
    font-size: 20px;
}
.single-post .post-content > .post-featured-img > img {
    width: 100%;
}
a.load-more {
    background: #0064be!important;
    color: #FFF!important;
}
a.load-more:hover {
    background: #ff8c1e!important;
    color: #FFF!important;
}

/* POSTS */
.single-post .lvca-accordion.lvca-style3 .lvca-panel .lvca-panel-title:after {
    top: 14px!important;
}
.single-post .lvca-accordion.lvca-style3 .lvca-panel {
    border-bottom: none!important;
}
.single .heading-title[data-header-style="default_minimal"] {
    text-align: left!important;
    margin-left: 0%!important;
    margin-right: 25%;
}
.single .heading-title {
    margin-bottom:0px!important;
    padding-bottom:12px!important;
}
.single .row .col.section-title span {
    padding-left: 0px!important;
}
body.single-post .heading-title[data-header-style="default_minimal"] .entry-title {
    text-align: left!important;
}
body[data-ext-responsive="true"].single-post .heading-title[data-header-style="default_minimal"] .entry-title {
    max-width: 970px!important;
}

.single .heading-title[data-header-style="default_minimal"] .meta-category a {
    border: 2px solid #fff!important;
    background: #ff8c1e!important;
    color: #FFF;
}

/** CUSTOM FONTS **/
h1, h2 {
font-family: quatro-slab,serif!important;
font-weight: 500!important;
font-style: normal!important;
}

/** HEADER **/
#header-outer[data-lhe="default"] #top nav > ul > li > a {
    font-weight: bold;
}

#header-outer[data-lhe="animated_underline"] #top nav > ul > li > a, #top nav > ul > li[class*="button_solid_color"] > a, body #header-outer[data-lhe="default"] #top nav .sf-menu > li[class*="button_solid_color"] > a:hover, #header-outer[data-lhe="animated_underline"] #top nav > .sf-menu > li[class*="button_bordered"] > a, #top nav > ul > li[class*="button_bordered"] > a {
    margin-left: 12px!important;
    margin-right: 12px!important;
}
body.original[data-header-format="default"] #header-outer[data-has-buttons="yes"]:not([data-format="left-header"]) #top nav >.buttons {
    margin-left: 12px!important;
}

@media (max-width:1054px) {
#header-outer[data-lhe="default"] #top nav > ul > li > a, #top nav > ul > li > a {
    font-size: 12px!important;
}
}

/* Gravity Forms */
.mittun_subscribe input#gform_submit_button_1 {
    padding: 10px 22px!important;
    margin-top: 10px;
}
.gform_wrapper div.validation_error {
    color: #ff5454!important;
    border-top: 2px solid #ff5454!important;
    border-bottom: 2px solid #ff5454!important;
}
.gform_wrapper .validation_message {
    color: #ff5454!important;
}


/** CUSTOM FOOTER - located in static blocks **/


/*.mittun_footer div.is-ajax-search-details, div.is-ajax-search-result {
    display: none!important;
}*/
div.is-ajax-search-result {
    width: 350px!important;
    max-width: 100%!important;
}
.is-ajax-result-description {
    display: none;
}
.is-search-sections .thumbnail img {
    height: auto!important;
}
.mittun_footer input.is-search-submit {
    background: #0064be!important;
}

.mittun_footer input[type=submit] {
    padding: 12px 20px!important;
}

.mittun_footer .ginput_left.address_zip input {
    height: 45px;
    margin-top: 2px !important;
    
}

.mittun_footer .name_first input,.mittun_footer .name_last input {
    height: 45px;
    margin-top: -5px !important;
}

.mittun_footer .ginput_left.address_zip {
   padding-left: 20px!important;
    padding-right: 0px!important;
}



/* Feb */
#gform_fields_2 > li {
    display: contents;
    width: 100%;
}

.mittun_footer .custom_checkb{
    width: 100% !important;
}
.mittun_footer .custom_email, .custom_address_country{
    width: 50% !important;
}

div#footer-outer {
    margin-bottom: 0px!important;
}
.mittun_footer .is-ajax-search label {
    background: #FFF;
    width: 100%;
}

.mittun_footer .custom_email input,.mittun_footer .custom_zipcode input,.mittun_footer .custom_job_title input,.mittun_footer .custom_publication input {
     height: 45px;
}

.mittun_footer .gform_wrapper input,.mittun_footer .gform_wrapper select{
    margin-top: 10px !important;
    margin-bottom: 0px !important;
}

.mittun_footer .gform_wrapper ul.gfield_checkbox li label {
      margin-top: 10px !important;
}
.mittun_footer .gform_wrapper li.hidden_label input {
    margin-top: 0px;
}
@media (max-width: 999px){
  .mittun_footer #copyright .col {margin-left: 1px}
  #footer-outer #copyright p {margin-top: 14px}
  .light h4{line-height: 24px;}}

@media (min-width:1000px) {
.nectar-slider-wrap[data-full-width="false"] .swiper-slide .content {
    margin-top: 0px;
}
.mittun_footer form.is-search-form.is-form-id-85.is-ajax-search {
    width: 50%;
    margin-right: 20%!important;
    float: right;
    margin-top: 12px;
}
.mittun_footer input.is-search-submit {
    float: right;
    position: absolute;
    padding: 12px 20px;
    margin-left: 15px;
}
}

.mittun_footer .gform_wrapper form.gf_simple_horizontal {
    width: 100%;
}


.mittun_footer input#input_2_2 {
    border-radius: 0px;
    padding: 10px;
    background: #FFF;
    width: 100%;
}

.mittun_footer .custom_address_country .address_country {
    width: 100% !important;
    margin: 0px !important;
}

.mittun_footer .custom_email input#input_2_2 {
    padding-right: 0 !important;
}


@media (min-width:1077px) {
.mittun_footer .gform_wrapper ul.gfield_checkbox li label {
    padding-top: 0px;
    margin-right: 25px;
}
}


@media (max-width:1076px) {
.mittun_footer .gform_wrapper ul.gfield_checkbox li label {
    padding-top: 0px;
    margin-right: 5px;
}
}


.mittun_footer .gform_wrapper form.gf_simple_horizontal div.gform_footer.top_label input[type=submit] {
    background: #0064be!important;
    height: 46px;
    margin-top: 1px;
    margin-right: 100px;
}
.mittun_footer .nectar-fancy-ul ul li {
    padding-left: 0px;
}
.mittun_right {
    float: right;
    text-align: right;
}
.mittun_right_999 {
    float: right;
    text-align: right;
}


@media (max-width:999px) {
.vc_col-sm-2.mittun_top-margin.wpb_column.column_container.vc_column_container.col.no-extra-padding.instance-1 {
    margin: 0 auto;
}
.single-post .container.main-content {
    max-width: 600px!important;
}
div.is-ajax-search-result {
    width: 100%!important;
    max-width: 86.6%!important;
    margin-top: 7px!important;
}
.mittun_footer h6 {
    text-align: center;
    padding-bottom: 5px!important;
}
.mittun_footer h3 {
    padding-bottom: 25px;
    font-weight: bold;
}
.mittun_footer {
        text-align: center!important;
    }
.mittun_footer .mittun_cen, .mittun_footer .mittun_right {
        text-align: center!important;
        width: 100%!important;
    }
.mittun_footer #copyright .col {
    width: 100%!important;
}
.mittun_footer .img-with-aniamtion-wrap, body .wpb_wrapper > .img-with-aniamtion-wrap, .mittun_footer .mittun_cen {
    text-align: center!important;
    float: none;
    display: block;
    margin-top:25px;
    margin-bottom:-10px;
}

.mittun_footer .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]){
        padding-right: 0 !important;
    }
}



@media (max-width:1159px)  {
a.sf-with-ul, #top nav > ul > li > a, #top nav > .sf-menu > li > a {
    font-size: 11px!important;
}
}

@media (max-width:999px) and (min-width:640px) {
.mittun_right_999 {
    float: none;
    text-align: left;
    margin-top:75px;
}
}

@media (max-width:767px) {
#page-header-bg .span_6 {
    max-width: 100%;
    text-align:center;
}
.mittun_right {
    float: none;
    text-align: center;
}
}

@media (max-width:690px) {
.mittun_title .swiper-slide .content h1 {
    font-size: 18px!important;
    line-height: 20px!important;
}
#ajax-content-wrap .post-area {
    margin-left: 0px!important;
}
.single-post .blog_next_prev_buttons.wpb_row.vc_row-fluid.full-width-content.standard_section {
    margin-left: -5.5%!important;
}
.single.single-post .section-title h1, body.single.single-post .row .col.section-title.span_12 h1 {
    line-height: 50px!important;
}
.mittun_blog .nectar-post-grid[data-hover-effect="zoom"] .nectar-post-grid-item .nectar-post-grid-item-bg {
    min-height: auto!important;
}
}


@media (max-width:641px) {
.mittun_footer .gform_wrapper ul.gfield_checkbox li label, .gform_wrapper ul.gfield_radio li label {
    width: auto!important;
}
}

@media (max-width:640px) {
.single-post .container.main-content {
    width: 90%;
}
.mittun_footer .gform_wrapper ul.gfield_checkbox li, .gform_wrapper ul.gfield_radio li {
    width: auto;
    float: left;
}
.mittun_footer .gform_wrapper ul li.field_description_below div.ginput_container_checkbox {
    width: 100%!important;
    
}
.mittun_footer .gform_wrapper ul li.field_description_below div.ginput_container_checkbox {
    margin-top: -55px!important;
    z-index:999;
    position:relative;
}
.mittun_footer li#field_2_2 {
    z-index: 9999;
    position: relative;
}

.mittun_footer .gform_wrapper form.gf_simple_horizontal div.gform_footer.top_label{
    position: inherit;
}

.mittun_footer .gform_wrapper form.gf_simple_horizontal div.gform_footer.top_label input[type=submit] {
    margin-top: 0px!important;
}   
    

.mittun_footer .gform_wrapper form.gf_simple_horizontal div.gform_footer.top_label input[type=submit] {
    margin-top: 50px;
}
.mittun_cent {
    float: none;
    text-align: center;
}
.mittun_right_999 {
    float: none;
    text-align: center;
    margin-top:50px;
}
.mittun_footer input.is-search-submit {
    width: 100%;
    margin-top: 10px;
}

    /* Feb */
    .mittun_footer .gform_body {
        position: unset !important;
    }

    .mittun_footer .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]){
        padding-right: 0 !important;
    }

    .mittun_footer ul li{
        display: block;
    }

    .gform_wrapper li.hidden_label input{
        margin-top:0px;
    }

    #gform_fields_2 > li {
    display: block;
    width: 100%;
    }

    .mittun_footer .custom_checkb{
        width: 100% !important;
    }
    .mittun_footer .custom_email, .custom_address_country{
        width: 100% !important;
    }

    
}

@media (max-width:358px) {
    .gform_wrapper .gfield_checkbox li, .gform_wrapper .gfield_radio li {
        margin: 0 0 0px!important;
        line-height: 1.2;
        top: 50px;
    }
    .mittun_footer .gform_wrapper ul.gfield_checkbox li, .gform_wrapper ul.gfield_radio li {
        float: none!important;
    }
    .mittun_footer .gform_wrapper form.gf_simple_horizontal div.gform_footer.top_label input[type=submit] {
        margin-top: 0px!important
    }
}

@media (max-width:320px) {
    .mittun_footer .gform_wrapper form.gf_simple_horizontal div.gform_footer.top_label input[type=submit] {
        margin-top: 243px!important;
    }
}

#footer-outer #copyright {
    background-color: transparent!important;
}

#footer-outer a.mittun_cpyrt:hover, .mittun_footer a:hover {
    text-decoration: underline;
    color: #f7f7f7!important;
}

@media (max-width:999px) and (min-width:690px) { 
.vc_col-sm-9, .vc_col-sm-10 {
    width: 75%;
}
.vc_col-sm-3, .vc_col-sm-2 {
    width: 25%;
}
body:not(.home) .container {
    max-width: 675px!important;
}
    
h3.vc_custom_heading {
    font-size: 16px!important;
    font-weight: bold;
    margin-top: 15px;
}
.mittun_3-col .wpb_column {
    padding-left: 0px!important;
    padding-right: 0px!important;
}
.nectar_video_lightbox.play_button_with_text .link-text {
    margin-left: 0px!important;
}
.nectar_video_lightbox.play_button_with_text .link-text p {
    margin-top: 10px;
    font-size: 12px!important;
    color: #FFF!important;    
}
}
/* ===============
 * Top banner ads, built with ACF
 * =============== */
@media (max-width: 690px) {
  #hafsite-banner-main {display:none;}
  #hafsite-banner-mobile {display:block;}
}
@media (min-width: 691px) {
  #hafsite-banner-main {display:block;}
  #hafsite-banner-mobile {display:none;}
}
#header-secondary-outer img, 
#header-secondary-outer nav p{margin:0; padding:0}

#header-secondary-outer[data-full-width="true"] >.container {padding:0 !important; margin:0}

#header-secondary-outer, #header-outer #header-secondary-outer{background: none !important;border-bottom: none;}

@media only screen and (max-width: 600px) {
  body.original #header-secondary-outer {
        display: block;
  }
}

/*********************************/
/*********17/09/2020**************/
div.upload-image {
    display: inline-block;
    margin: 5px;
}
div.upload-image #book_image  {
    width: 100%;
    vertical-align: baseline;
    margin-bottom: 0;
    height: 230px;
    object-fit: cover;
}
ul.image-listing {
    list-style-type: none;
    text-align: left;
    margin: 0;
}
ul.image-listing li {
    display: inline-block;
    margin: 0px;
}
ul.image-listing li a {
    color: #0064be;
    font-size: 12px;
    font-weight: 600;
}
h1.vc_custom_heading {
  font-size: 25px;
    text-align: left;
    margin-bottom: 0;
    line-height: 35px;
}
ul.image-listing li:after {
  content:"|";
}
ul.image-listing li:last-child:after {
  content: "";
}
li#field_2_20 , li#field_2_21, li#field_2_22 {
  display: none;
}
li#field_2_20 {
  bottom: 8px;
  left: 0%;
}
li#field_2_21 {
  left: 19%;
    bottom: 10px;
}
li#field_2_22 {
  left: 45%;
    bottom: 10px;
}
.ctooltip {
  width: 65% !important;
    padding: 25px !important;
    background: #0064BE;
    position: absolute;
    text-align: center;
    z-index: 1;
    font-size: 14px;
    color: #fff;
    font-weight: 500;
  transition: 0.4s;
}

li#field_2_20:after, li#field_2_21:after, li#field_2_22:after {
    border-top: 15px solid #0064BE;
    border-bottom: 0px solid #0064BE;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
  bottom: -15px;
  content: "";
  display: block;
  left: 31px;
  position: absolute;
  width: 0 !important;
}

.result .inner-wrap .excerpt_part {
    font-size: 16px!important;
}

/*********************************/
/***** custom filter *****/
.show_all_flt{
    display: block;
    width: 90px;
    color:#2264BE;
}

.custom_filter{
    display: table;
    margin-top: 50px;
}

.years_flt{
    width: 27%;
    float: left;
    /*max-width: 300px;*/
    margin: 0 auto;
}

.months_flt{
    width: 72%;
    float: left;
    /*max-width: 300px;*/
    margin: 0 auto;
}


.custom_filter article {
  position: relative;
  width: 122px;
  height: 40px;
  margin: 5px;
  float: left;
  box-sizing: border-box;
}

.custom_filter article div {
  width: 100%;
  height: 100%;
  display: flex;
  border: 2px solid #2264BE;
  justify-content: center;
  align-items: center;
  line-height: 25px;
  transition: .2s ease;
  color: #2264BE;
  border-radius: 5px;
}

.custom_filter article input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 40px;
  opacity: 0;
  cursor: pointer;
}

.custom_filter input[type=checkbox]:checked ~ div {
  background-color: #2264BE;
  border: 2px solid #2264BE;
  color: white;
}

#mec_search_form_13907{
    display: none;
}
/***** event card *****/
.mec-skin-grid-container .mec-categories{
    margin: 4px 0 20px 0;
}
.mec-event-grid-clean .mec-event-article{
    padding: 0px;
    border-radius: 12px;
    background: #E5E5E5;
    box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
}

.mec-event-content{
    min-height: 91px;
}
.mec-event-grid-clean .mec-event-title{
    /*height: 50px;*/
    color:#414141;
}

.mec-event-grid-clean .event-grid-t2-head{
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    margin-bottom: 0px;
    padding: 12px 17px;
}

.mec-event-grid-clean .mec-start-date-label{ 
    color: white !important;
    font-weight: 700; 
     font-size: 18px;
}

.mec-event-grid-clean .event-grid-t2-head .mec-event-month{
    padding-top: 0;
}

.row .col .mec-event-grid-clean .mec-event-image img{
     width: 100%;
    height: 158px;
    object-fit: cover;
    object-position: top;
}

.mec-event-grid-clean .mec-event-content{
    background: #E5E5E5;
    padding: 0px 18px 0px;
}

.mec-event-grid-clean .mec-event-footer{
    border-top: none;
}

.mec-event-grid-clean .mec-event-footer{
    width: 91%;
    display: inline-flex;
    justify-content: space-between;
    min-height: 40px;
}

.mec-event-grid-clean .mec-event-sharing-wrap{
    position: unset;
    -webkit-order: 2;
    order: 2;
}

.mec-event-grid-clean .mec-booking-button{
    position: unset;
    -webkit-order: 1;
    order: 1;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    padding-left: 0;
}

.mec-event-sharing-wrap .mec-event-sharing{
    right: -5px;
    bottom: 86px;
    left: auto;
}

.mec-event-grid-clean .mec-event-footer .mec-booking-button:hover {
    background: transparent;
    color: #767676;
    border: none;
}

.mec-event-sharing-wrap:hover .mec-event-sharing{
    opacity: 0;
    visibility: hidden;
    display:none;
}

.mec-event-sharing-wrap.active .mec-event-sharing{
    opacity: 1;
    visibility: visible;
    display:block !important;
}

.colorskin-custom .mec-event-sharing-wrap.active>li{
    background-color: var(--mec-color-skin);
}

.mec-event-sharing-wrap.active li a.mec-sl-share {
    color: #fff !important;
}

/***** single event modal *****/
article.mec-single-event.mec-single-modern.mec-single-modal{
    margin-top: 0px;
}
.mec-modal-wrap .mec-single-event-bar{
    display: none;
}

.mec-wrap.mec-modal-wrap .mec-single-title{
    font-weight: 600 !important;
    font-size: 36px;
    color: white;
    padding-top: 0 !important;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.mec-wrap.mec-modal-wrap .custom_modal_heading{   
    position: absolute;
    /*top: 0%;
    left: 50%;
    transform: translate(-50%, 50%);*/
    text-align: center;
    width: 100%;
    margin-top: 130px;
    z-index: 9;
}

.custom_modal_heading .mec-start-date-label{
       font-size: 24px !important;
    color: white !important;
    font-weight: 500 !important;
}

.custom_modal_heading .mec-event-social.mec-frontbox{
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    transform: translate(0%, 100%);
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
  justify-content: center;
      width: 100%;
}

.mec-single-event.mec-single-modal .mec-event-content{
    padding: 30px 100px 0px 100px!important;
}

.mec-single-event .custom_modal_heading .mec-links-details ul{
    margin-bottom: 0px
}


.mec-single-event .custom_modal_heading .mec-social-single.mec-frontbox-title{
    float: left;
    padding-bottom: 0;
    color: white;
    border: none;
    margin-bottom: 0px;
    flex-basis: content;
    text-align: end;
    margin-right: 15px;
}

.mec-single-event .custom_modal_heading .mec-frontbox-title:before{
    content: unset;
}

.mec-single-event .custom_modal_heading .mec-event-sharing{
    padding: 0;
    margin: 7px 0;
       flex-basis: content;
}

.mec-single-event .mec-event-social li.mec-event-social-icon a{
    border-radius: 50px;
    line-height: 28px;
}

.mec-modal-wrap h5{
    color: #bbb7b7;
}

.mec-modal-wrap .mec-start-date-label, .mec-modal-wrap .mec-single-event-category a {
    font-size: 16px;
    color: black;
    font-weight: 500;
}

.custom_export_module .mec-event-export-module.mec-frontbox{
   border: none;
    padding: 0;
}

.mec-single-event .custom_export_module .mec-event-export-module.mec-frontbox .mec-event-exporting .mec-export-details ul{
    margin: 0;
}

.mec-single-modal .custom_export_module .mec-event-export-module.mec-frontbox .mec-event-exporting .mec-export-details ul li, .mec-single-modal .custom_export_module .mec-event-export-module.mec-frontbox .mec-event-exporting .mec-export-details ul li a.mec-events-button{
    text-align: left;
    border: none;
    padding: 0;
    font-size: 18px;
}


.mec-wrap.colorskin-custom .custom_export_module .mec-bg-color-hover:hover{
    background-color: transparent !important;
    font-weight: 500;
    text-decoration: none;
}


.custom_event_social .mec-event-social.mec-frontbox{
    margin: 0;
    padding: 0;
}


.custom_event_social .mec-event-social-icon{
    text-align: center;
}

.mec-modal-wrap .mec-events-meta-group-countdown{
    display: none;
}

.custom-gretting-msg .mec-event-data-fields.mec-frontbox{
    border: none;
    padding: 0;
    margin: 0;
}

.custom-gretting-msg .mec-event-data-field-items{
    padding: 0;
    margin: 0;
}

.custom-gretting-msg .mec-event-data-fields .mec-event-data-field-item .mec-event-data-field-name {
    display: block;
    color: #bbb7b7;
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 7px;
}

.custom-gretting-msg .mec-event-data-fields .mec-event-data-field-item .mec-event-data-field-value{
    font-size: 16px;
    color: black; 
    font-weight: 500; 
}

.mec-modal-wrap .mec-single-event-description.mec-events-content {
    padding-right: 0;
    text-align: center;
}


.custom_export_module.mec-single-event-label{
    text-align: center;
    margin-bottom: 45px !important;
}

.mec-single-event .mec-event-export-module.mec-frontbox .mec-event-exporting .mec-export-details ul{
    display: inline;
}

.mec-single-modal .mec-event-export-module.mec-frontbox .mec-event-exporting .mec-export-details ul li{
    display: table-cell;
}

.mec-event-content .wpb_text_column.wpb_content_element ul, .mec-event-content .wpb_text_column.wpb_content_element ul li{
    list-style: none;
}


.mec-event-grid-clean .mec-event-footer
{padding: 0px 0!important;}

.mec-event-grid-clean .mec-event-title
{margin-bottom:-5px!important;}

.mec-wrap .row
{margin-top:0px!important}

.mec-single-modern .mec-events-event-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    background: rgba(0, 0, 0, .5);
    height: 370px;
}

.mec-single-modern .mec-events-event-image img {
    width: 100%;
    height: 370px;
    object-fit: cover;
    object-position: top;
}

@media screen and (max-width: 1299px){
    .custom_filter article{
         width: 201px;
    }
}
@media screen and (max-width: 999px){
    .custom_filter article{
         width: 152px;
    }
}
@media screen and (max-width: 820px){
    .custom_filter article{
         width: 152px;
    }
}
@media screen and (max-width: 768px){
    .years_flt, .months_flt{
        width: 100%; 
        float: none;
    }
    
    .mec-single-modern .mec-events-event-image img {
        width: 100%;
        height: 206px;
        object-fit: cover;
        object-position: top;
    }
    .custom_filter article{
            width: 156px;
    }
    .years_flt{
        display: inline-block;
        margin-bottom: 15px;
    }
}
@media screen and (max-width: 767px){
    .years_flt, .months_flt{
        width: 100%; 
        float: none;
    }
    
    .mec-single-modern .mec-events-event-image img {
        width: 100%;
        height: 206px;
        object-fit: cover;
        object-position: top;
    }

    .mec-single-modern .mec-events-event-image::after {
        height: 206px;
    }
    .custom_filter article{
            width: 150px;
    }
    .years_flt{
        display: inline-block;
        margin-bottom: 15px;
    }

    .mec-wrap.mec-modal-wrap .mec-single-title{
        font-size: 24px;
    }

    .mec-wrap.mec-modal-wrap .custom_modal_heading{
        margin-top: 40px;
    }

    .custom_modal_heading .mec-event-social.mec-frontbox{
        transform: unset;
    }

    .mec-single-event .mec-event-social li.mec-event-social-icon a{
        width: 30px;
        height: 30px;
        padding: 4px;
        font-size: 16px;
        line-height: 25px;
    }

    .mec-single-event.mec-single-modal .mec-event-content {
        padding: 30px 30px 0px 30px!important;
    }
}



/* Custom pagination */
.goto-page {
    /*display: flex;
    align-items: center;
    gap: 10px;*/
    display: contents;
}

.goto-page input {
        width: 53px;
    text-align: center;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 9px 0px;
}

.goto-page button {
    background: #000;
    color: #fff;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.goto-page button:hover {
    background: #333;
}

#pagination.custom_nectar_pagination .goto-page span {
    background-color: transparent !important;
    color: black !important;
    font-weight: 500;
}

#pagination.custom_nectar_pagination a {
    border: 1px solid #ccc;
}

#pagination.custom_nectar_pagination .page-numbers.current{
    background-color:black !important;
}

div#footer-outer {
    background-color: #252525;
}