/* Responsive Styles */

@media (max-width: 1460px) {
    .ova-menu ul.navbar-nav>li>a {
        font-size: 12.5px;
        padding: 25px 9px;
    }
}

@media( max-width: 1250px ){
    /* additional code */
    .event_name_container{
        text-align: center;
    }
    .ovatheme_header_v1 .ova-menu .ova-logo {
        background-color: #fff;
        width: 100%;
    }
    .ovatheme_header_v1 .ova-menu button.navbar-toggle {
        right: 0;
        /* top: 13px; */
        display: block;
    }
    .ovatheme_header_v1 .ova-account a i {
        color: black !important;
    }
    .ovatheme_header_v1 .ova-account {
        right: 70px;
    }
    header.ova_header.has_logo_mobile a.logo_mobile {
        display: block;
    }

    header.ova_header.ovatheme_header_v1.bg_heading.fixed.has_logo_scroll.has_logo_mobile{
        min-height: 75px;
    }
    header.ova_header.has_logo_mobile a.logo, header.ova_header.has_logo_mobile a.logo_scroll {
        display: none !important;
    }

}

@media (max-width: 1200px) {
    .module_col_2_text_img .vc_row.vc_row-flex>.vc_column_container>.vc_column-inner.col_2_text {
        padding-left: 7px;
        padding-right: 100px;
    }
    /* Event Accordion */
    .module_event_accordion .event_details {
        flex-direction: column;
        padding: 20px 10px;
    }
    .module_event_accordion .event_details .alerts {
        width: 100%;
    }
    .module_event_accordion .event_details .alerts .selected_items {
        margin-left: auto;
    }
    .module_event_accordion .panel-heading.selected .event_categories {
        display: none;
        -webkit-transition: all 0.3s ease-out;
        -moz-transition: all 0.3s ease-out;
        -o-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
    }
    .module_event_accordion .panel-collapse .event_accordion_headers {
        display: none;
    }
    .module_event_accordion .event_name_container {
        margin-bottom: 10px;
    }
    .module_event_accordion .event_detail_row .event_categories {
        display: flex;
    }
    .module_event_accordion .event_detail_row {
        flex-direction: column;
    }
    .module_event_accordion .event_detail_row .detail_button {
        margin-top: 15px;
    }
    /* Gallery Row */
    .module_gallery_row .gallery_item {
        padding-top: 33.333%;
    }
    .module_gallery_row .gallery_item {
        padding-top: 33.333%;
    }
}

@media (max-width: 991px) {
    /* Gallery Row */
    .module_gallery_row .gallery_item {
        padding-top: 100%;
    }
    /* Cart */
    .module_cart .event_detail_table .event_detail_row {
        flex-direction: column;
        padding: 20px 10px;
    }
    .module_cart .item_content .event_accordion_headers {
        display: none;
    }
    .module_cart .event_detail_row .cart_item_header.event_categories {
        display: flex;
    }
    .module_cart .event_name_container {
        margin-bottom: 10px;
    }
    .module_cart .event_detail_row .detail_button {
        margin-top: 15px;
    }
    .module_cart .detail_button {
        justify-content: center;
    }
    /* Event Cards */
    .module_event_cards .event_container {
        flex-direction: column;
    }
    .module_event_cards .event_container .event_image {
        padding-top: 30%;
    }
    .module_event_cards .event_accordion_headers {
        display: none;
    }
    .module_event_cards .event_detail_row {
        flex-direction: column;
        padding: 20px 10px;
    }
    .module_event_cards .event_detail_row .detail_title {
        display: flex;
    }
    .module_event_cards .event_detail_row .detail_button {
        margin-top: 15px;
    }
    /* Person Cards */
    .module_person_cards .staff_image {
        width: 100%;
    }
    /* Report Cards */
    .module_report_cards .report_card_details {
        padding: 25px 25px 0 25px;
    }
    /* Scrolling Logos */
    .module_scrolling_logos .logos_group {
        flex-direction: column;
    }
    .module_scrolling_logos .logos_group .scrolling_logos_container {
        width: 100%;
    }
    .module_scrolling_logos .logos_group .logo_category_image {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
    }
    /* Footer */
    .footer_contact_details {
        padding-right: 15px;
        border-right: none;
        padding-bottom: 40px;
    }
    .footer_contact_form {
        padding-left: 15px;
    }
    .footer_contact_form .col-md-6 {
        width: 50%;
        display: inline-block;
        float: left;
    }
    /* Gallery */
    .gallery_archive_filters {
        margin-top: 60px;
    }
    .gallery_archive_filters .gallery_archive_filter:first-child {
        margin-bottom: 20px;
    }
    /* Hero with Tabs */
    .module_hero_tabs-tabs.sticky {
        position: relative !important;
        top: 75px;
        left: inherit !important;
        width: 100%;
        margin-top: -104px;
        margin-left: -15px;
        margin-right: -15px;
        background: none;
        padding: 0;
        border-top: 0;
        -webkit-transition: all 0.2s ease-in-out;
        -moz-transition: all 0.2s ease-in-out;
        -o-transition: all 0.2s ease-in-out;
        transition: all 0.2s ease-in-out;
    }
    .module_hero_tabs-tabs .hero_tab_link {
        padding: 30px 15px;
    }

    .module_hero_tabs-tabs{
        flex-direction: column;    
    }
    
    .module_hero_tabs-tabs .hero_tab .wpb_wrapper {
        padding: 0;
    }
    
    .module_hero_tabs-tabs .hero_tab .hero_tab_link,
    .module_hero_tabs-tabs .hero_tab.active .hero_tab_link{
        border-radius: 0;
    }
    
    /* Articles */
    .wp-block-media-text.has-media-on-the-right, .wp-block-media-text.has-media-on-the-left{
        grid-template-rows: auto auto !important;
        grid-template-columns: auto !important;
        grid-template-areas: "media-text-content" "media-text-media" !important;
    }
    /* Article Archive */
    .archive_post_container {
        flex-direction: column;
    }
    
}

@media (max-width: 767px) {
    /* Hero with Tabs */
    .module_hero_tabs-hero {
        background-image: none;
        padding: 0 5% !important;
        min-height: 100vh !important;
    }
    .module_col_2_text_img .vc_row.vc_row-flex>.vc_column_container>.vc_column-inner.col_2_text {
        padding: 80px 5%;
    }
    /* Short Hero Section */
    .module_short_hero_section .ova-bg-heading .ova-breadcrumbs .ova_title {
        font-size: 40px;
        line-height: 40px;
    }
    /* Home Hero Section */
    .module_home_hero .hero_main_text {
        font-size: 70px;
        text-align: center;
        width: 100%;
        margin-right: 0;
    }
    .module_home_hero .hero_sub_text {
        font-size: 30px;
        text-align: center;
        width: 100%;
    }
    .module_home_hero .hero_content {
        align-items: center;
    }
    /* Event Accordion */
    .module_event_accordion {
        margin: 0;
    }
    .module_event_accordion .early_bird_countdown .cd {
        width: 100%;
        border-radius: 5px;
        justify-content: space-evenly;
        padding: 15px 0;
    }
    .module_event_accordion .early_bird_countdown .cd .cd_container {
        width: 25%;
        padding: 0 !important;
    }
    /* Text and Button */
    .module_text_button {
        margin-left: 0;
        margin-right: 0;
    }
    /* 2 Column Text Image */
    .module_col_2_text_img .vc_row.wpb_row>.vc_col-sm-6:first-child .col_2_text {
        padding: 0 15px 40px;
    }
    .module_col_2_text_img.vc_row-no-padding .vc_row.wpb_row>.vc_col-sm-6:first-child .col_2_text {
        padding: 0 15px 40px;
    }
    .module_col_2_text_img .vc_row.wpb_row>.vc_col-sm-6:last-child .col_2_text {
        padding: 40px 15px 0;
    }
    .module_col_2_text_img.vc_row-no-padding .vc_row.wpb_row>.vc_col-sm-6:last-child .col_2_text {
        padding: 40px 15px 0;
    }
    /* 2 Column Bullets */
    .module_col_2_bullets .col_2_bullets .vc_col-sm-6:first-child {
        margin-bottom: 20px;
    }
    /* Accordions */
    .module_accordion {
        padding-left: 15px;
        padding-right: 15px;
    }
    .module_accordion .accordion_details .accordion_title {
        flex-grow: 1;
    }
    .module_accordion .accordion_details .alerts {
        padding-right: 0;
    }
    /* 3 Column Icons */
    .module_col_3_icons {
        flex-direction: column;
    }
    .module_col_3_icons .wpb_column.vc_column_container.col_3_icon_group {
        margin: 0;
        margin-bottom: 15px;
        margin-right: 15px;
        margin-left: 15px;
        width: unset;
    }
    .module_col_3_icons .wpb_column.vc_column_container.col_3_icon_group:last-child {
        margin-bottom: 0;
    }
    /* Hover Section */
    .module_col_2_hover .vc_col-sm-12 .vc_column-inner>.wpb_wrapper>.vc_row {
        height: unset;
    }
    .module_col_2_hover .hub_divider {
        display: none;
    }
    .module_col_2_hover .vc_row .vc_col-sm-6 .wpb_text_column.wpb_content_element,
    .module_col_2_hover .vc_row .vc_col-sm-6:last-child .wpb_text_column.wpb_content_element {
        padding: 0 25px;
    }
    .module_col_2_hover .vc_row .vc_col-sm-6:first-child {
        padding: 40px 0 0 0;
    }
    .module_col_2_hover .vc_row .vc_col-sm-6:last-child {
        padding: 0 0 40px 0;
    }
    .module_col_2_hover .hub_menu_description {
        display: block;
    }
    /* Cart */
    .module_cart .cart_total .cart_total_label {
        padding-left: 25px;
    }
    .module_cart .cart_total .cart_checkout_button {
        padding: 0 25px 0 5px;
    }
    /* Event Cards */
    .module_event_cards .event_container .event_image {
        padding-top: 60%;
    }
    .module_event_cards {
        padding-left: 15px;
        padding-right: 15px;
    }
    .module_event_cards .event_details,
    .module_event_cards.module_event_cards_content .tab-content {
        padding-left: 25px;
        padding-right: 25px;
    }
    .module_event_cards.module_event_cards_content .nav.nav-tabs li a {
        border: 1px solid #ddd;
        background-color: #e8eaed;
    }
    .module_event_cards.module_event_cards_content .nav.nav-tabs li.active a {
        background-color: white;
    }
    .module_event_cards .event_logo {
        max-height: 60px;
    }
    /* Featured Events */
    .module_featured_events {
        padding-left: 15px;
        padding-right: 15px;
    }
    .module_featured_events .event_card:nth-child(odd),
    .module_featured_events .event_card:nth-child(even) {
        padding: 0 0 20px 0;
    }
    /* Logo Section */
    .module_logo_section .vc_media_grid .vc_grid.vc_row .vc_grid-item.vc_visible-item {
        width: 100%;
    }
    .module_logo_section .vc_gitem-zone {
        height: unset;
    }
    /* Mini Modules */
    .module_mini_modules {
        flex-direction: column;
        padding-left: 15px;
        padding-right: 15px;
        margin-right: 0;
        margin-left: 0;
    }
    .module_mini_modules .mini_module.mini_module_blog,
    .module_mini_modules .mini_module.mini_module_countdown,
    .module_mini_modules .mini_module.mini_module_video {
        margin-left: 0;
        margin-right: 0;
    }
    .module_mini_modules .mini_module.mini_module_video {
        position: relative;
        padding-top: 56.25%;
    }
    .module_mini_modules .mini_module.mini_module_video iframe {
        position: absolute;
        top: 0;
        right: 0;
    }
    .module_mini_modules .wpb_column.vc_column_container.mini_module {
        margin-bottom: 15px;
    }
    .module_mini_modules .wpb_column.vc_column_container.mini_module:last-child {
        margin-bottom: 0;
    }
    /* Person Cards */
    .module_person_cards .staff_container {
        flex-direction: column;
    }
    /* Report Cards */
    .module_report_cards .report_card_container {
        width: 100%;
    }
    .module_report_cards .report_card:nth-child(3n+3) {
        padding: 0 15px 20px 15px;
    }
    .module_report_cards .report_card:nth-child(3n+1) {
        padding: 0 15px 20px 15px;
    }
    .module_report_cards .report_card {
        padding: 0 15px 20px 15px;
    }
    /* Statistics */
    .module_statistics {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .module_statistics .table_graphs .table_graphs_single:first-child {
        padding-right: 0;
        margin-bottom: 25px;
    }
    .module_statistics .table_graphs .table_graphs_single:last-child {
        padding-left: 0;
    }
    /* Footer */
    .footer_contact_form .col-md-6 {
        width: 100%;
        display: block;
        padding-left: 0;
        padding-right: 0;
    }
    .footer_contact_form .validate {
        justify-content: center;
    }
    .footer_contact_form button {
        width: 100%;
    }
    /* Hub Title Temporary CSS */
    .hero_title_container {
        flex-direction: column;
    }
    .hero_title_border {
        width: 50px;
        margin: 15px 0;
        margin-left: 0;
        margin-right: 0;
    }
    .hero_title {
        font-size: 48px;
    }
    .hero_sub_text {
        font-size: 25px;
    }
    /* Single Gallery */
    .vc_masonry_media_grid .vc_grid.vc_row .vc_grid-item.vc_visible-item {
        display: block;
        width: 100%;
    }
    /* Checkout */
    .woocommerce form .form-row-first,
    .woocommerce form .form-row-last,
    .woocommerce-page form .form-row-first,
    .woocommerce-page form .form-row-last {
        width: 100%;
    }
    .woocommerce .woocommerce-checkout.checkout table.shop_table tfoot td,
    .woocommerce .woocommerce-checkout.checkout table.shop_table tfoot th {
        padding-left: 20px;
        padding-right: 20px;
    }
    .woocommerce .woocommerce-checkout.checkout table.shop_table thead th {
        font-weight: 700;
        padding: 25px 0 15px 0;
    }
    .woocommerce .woocommerce-checkout.checkout table.shop_table th.product-name::before {
        content: "";
    }
    .woocommerce .woocommerce-checkout.checkout table.shop_table th.product-total::before {
        content: "";
    }
    .woocommerce .woocommerce-checkout.checkout table.shop_table .cart_item td {
        padding: 15px 20px;
    }
}


@media (min-width: 768px){
    #ovatheme_header_v1.navbar-collapse.collapse {
        display: none !important; 
    }
    #ovatheme_header_v1.navbar-collapse.collapse.in {
        display: block !important; 
    }
}

@media(min-width: 1251px){
    #ovatheme_header_v1.navbar-collapse.collapse{
        display: block !important;
    }
}
