/*==================================RESPONSIVE LAYOUTS===============================================*/

@media only screen and (min-width: 1600px) {
    .mad-header-section {
        padding: 0.9375rem 10.9375rem;
    }
    .mad-header.style-3 .mad-header-section {
        padding: 0.9375rem 3.75rem;
    }
}

@media only screen and (max-width: 1480px) {
    .mad-filters {
        flex-wrap: wrap;
    }
    .mad-filters>.mad-col {
        flex: inherit;
    }
}

@media only screen and (min-width: 1200px) {
    .mad-navigation .mega-menu {
        position: static;
    }
    .mad-navigation .mega-menu>.sub-menu {
        text-align: center;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 1350px;
        margin: 0 auto;
        margin-top: -0.9375rem;
        padding-left: 0.9375rem;
        padding-right: 0.9375rem;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
    }
    .mad-navigation .mega-menu>.sub-menu>li {
        text-align: initial;
        width: 25%;
        padding-left: 0.9375rem;
        padding-right: 0.9375rem;
    }
    .mad-navigation .mega-menu>.sub-menu>li>a {
        color: #b1b1b1;
        background-image: none;
    }
    .mad-navigation .mega-menu>.sub-menu>li::after {
        display: none;
    }
    .mad-navigation .mega-menu>.sub-menu>li .sub-menu {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: auto;
        -webkit-transform: none;
        transform: none;
        padding-top: 0;
        padding-bottom: 0;
    }
    .mad-navigation .mega-menu>.sub-menu>li .sub-menu>li {
        padding-left: 0;
        padding-right: 0;
    }
    .mad-navigation .mega-menu:hover>.sub-menu>li .sub-menu {
        opacity: 1;
        visibility: visible;
    }
    .mad-navigation .mega-menu>.sub-menu>li .sub-menu {
        background: none;
    }
}

@media only screen and (max-width: 1280px) {
    #header.sticky-header.clone-fixed {
        display: none !important;
    }
    .testimonial-holder.owl-carousel {
        padding: 0 40px;
    }
    .carousel-type-1 .testimonial-holder.owl-carousel {
        padding: 0;
    }
    .rsvp-wrap {
        min-height: 650px;
    }
    .zoom-bg {
        min-height: 700px;
        -webkit-background-size: cover !important;
        background-size: cover !important;
    }
    .entry-box.single-entry .share-wrap.style-2 {
        justify-content: flex-start !important;
    }
    .mad-info-section .mad-info-box {
        padding: 8.4375rem 2.8125rem;
    }
    .mad-section.with-section-separator.mad-separator-3 {
        padding: 18.125rem 0;
    }
    /*----------- Facebook--------------*/
    .fb-page {
        width: 100% !important;
    }
    .fb-page {
        max-width: 100% !important;
    }
}

@media only screen and (max-width: 1199px) {
    .brand-wrap {
        flex-wrap: wrap;
    }
    .brand-wrap .brand-item {
        width: 33.3333%;
    }
    .media-holder.style-2 .media-inner .col {
        max-width: 45%;
    }
    .media-holder h1.title {
        font-size: 4.5em;
    }
    .media-holder h2 {
        font-size: 2em;
    }
    .info-boxes.style-2 .info-box-wrap .info-box .box-content {
        padding: 40px 0 0;
    }
    .icons-box.style-4.type-5 .icons-img-col.bg-col {
        padding-bottom: 40%;
    }
    .icons-box.style-4.type-5 .col-xl-6:last-child .icons-wrap {
        flex-direction: row-reverse;
    }
    .event-box.isotope.var2 .item {
        width: 33.3333%;
        max-width: 33.3333%;
    }
    .header.style-3 .menu-holder .menu-wrap .main-navigation>ul {
        margin: 0 -10px;
    }
    .header.style-3 .menu-holder .main-navigation>ul>li {
        padding: 0 10px;
    }
    .icons-box.style-4.type-2 .icons-item .icons-box-title {
        font-size: 2.5em;
    }
    .info-boxes:not(.style-2) .info-box-wrap,
    .pricing-tables-holder.with-border .pricing-table {
        margin: 15px 0 0 15px;
    }
    .info-boxes:not(.style-2) .info-box-wrap:after,
    .pricing-tables-holder.with-border .pricing-table:after {
        left: -15px;
        top: -15px;
    }
    .info-boxes:not(.style-2) .info-box-wrap .info-box .box-img:after,
    .pricing-tables-holder.with-border .pt-header:after {
        right: 15px;
    }
    .icons-wrap .countdown_row>.countdown_section {
        margin: 0 20px;
    }
    #myContainer.icons-box.style-4 .icons-wrap>.icons-item {
        padding: 56px 60px;
    }
    .blockquote-holder.blockquote-small blockquote p {
        line-height: 1.4em;
    }
    #myContainer.icons-box.style-4 .icons-wrap>.icons-item {
        padding: 56px 30px;
    }
    .mad-navigation {
        margin-left: -10px;
        margin-right: -10px;
    }
    .mad-navigation>li {
        margin-left: 10px;
        margin-right: 10px;
    }
    .mad-pricing-tables.item-col-4>*,
    .mad-team.item-col-4>*,
    .mad-info-section.style-2.item-col-4>*,
    .mad-products[class*="item-col"]>* {
        width: 50%;
    }
    .mad-team.style-3.item-col-5>* {
        width: 33.3333%;
    }
    p br {
        display: none;
    }
    .mad-info-section .mad-info-box {
        padding: 2.8125rem;
    }
    .align-center-lg,
    .align-center-lg .align-right {
        text-align: center;
    }
    .mad-team-single .mad-team-member {
        display: block;
    }
    .mad-entity-single .alignleft {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 1.875rem;
    }
    .mad-events:not([class*="item-col-"]):not(.owl-carousel) .mad-event {
        flex-direction: column-reverse;
    }
    .mad-events:not([class*="item-col-"]):not(.owl-carousel) .mad-event>* {
        width: 100%;
    }
    .mad-events.style-2:not(.vr-type) .mad-event.featured:before {
        width: 100%;
        top: auto;
        bottom: 0;
        height: 3px;
    }
    .mad-events:not([class*="item-col-"]):not(.owl-carousel) .mad-event .mad-event-img:not(:first-child) {
        margin-bottom: 2rem;
    }
    .mad-events.vr-type.item-col-3>* {
        width: 50%;
    }
    .calendar_wrap.big-calendar span.mad-event-sub {
        white-space: normal;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .ms-section form .row:not(.col-no-space) {
        margin-bottom: -14px;
    }
    .ms-section form .input-box:not(:last-child),
    .ms-section .rsvp-form .form-header:not(:last-child) {
        margin-bottom: 14px;
    }
    .ms-section form .row:not(.col-no-space)>[class*="col"] {
        padding-bottom: 14px;
    }
}

@media (max-width: 1024px) and (min-width: 768px) {
    .parallax-section,
    .call-out,
    .media-holder,
    .col-bg {
        background-attachment: scroll !important;
    }
    .icons-box:not(.style-3):not(.type-5):not(.type-3):not(.type-2) .icons-wrap .icons-item p {
        padding: 0 60px;
    }
}

@media only screen and (max-width: 992px) {
    table:not(.mad-table--vertical) {
        table-layout: fixed;
    }
    .mad-table--responsive-md {
        border-right-width: 0;
        border-bottom-width: 0;
        border-left-width: 0;
    }
    .mad-table--responsive-md thead {
        display: none;
    }
    .mad-table--responsive-md tr {
        border-bottom-width: 1px;
    }
    .mad-table--responsive-md th,
    .mad-table--responsive-md td {
        border-top-width: 0;
    }
    .mad-table--responsive-md tbody tr:first-child td:first-child {
        border-top-width: 1px;
    }
    .mad-table--responsive-md th:empty,
    .mad-table--responsive-md td:empty {
        display: none;
    }
    .mad-table--responsive-md th[data-cell-title],
    .mad-table--responsive-md td[data-cell-title] {
        position: relative;
        overflow: hidden;
        padding-left: 55%;
    }
    .mad-table--responsive-md th[data-cell-title]::before,
    .mad-table--responsive-md td[data-cell-title]::before {
        content: attr(data-cell-title);
        position: absolute;
        width: 50%;
        padding-top: inherit;
        padding-right: inherit;
        padding-bottom: inherit;
        padding-left: 1.5625rem;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        top: 0;
        left: 0;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .mad-table--responsive-md th[data-cell-title]::after,
    .mad-table--responsive-md td[data-cell-title]::after {
        content: "";
        display: block;
        position: absolute;
        left: 50%;
        top: 0;
        height: 100%;
        border-width: 0 1px 0 0;
        border-style: inherit;
        border-color: inherit;
    }
    .mad-table--responsive-md>tr:last-child,
    .mad-table--responsive-md>thead:last-child>tr:last-child,
    .mad-table--responsive-md>tbody:last-child>tr:last-child,
    .mad-table--responsive-md>tfoot:last-child>tr:last-child {
        border-bottom-width: 0;
    }
    .mad-d-down-md-none {
        display: none;
    }
    .mad-fw-down-md-bold {
        font-weight: bold;
    }
    .btns-set>ul {
        width: 33.3333%;
    }
    .mad-cta {
        text-align: center;
    }
    .mad-cta .row .align-right {
        text-align: center;
    }
    .mad-table-wrap table.mad-table--responsive-md:before {
        display: none;
    }
    .mad-sidebar.mad-sbr {
        margin-top: 2.8125rem;
    }
    .mad-sidebar.mad-sbr:before {
        right: 0;
        left: 0;
        top: 0;
        bottom: auto;
        height: 1px;
        width: 100%;
    }
    .shedule-table table td.with-border-left:before {
        display: none;
    }
    .mad-header-section,
    .mad-header-section>.container {
        display: block;
        text-align: center;
    }
    .mad-header-col:not(:last-child) {
        margin-bottom: 15px;
    }
    .mad-header-items {
        justify-content: center;
    }
    .mad-header-items {
        margin: -0.625rem -0.625rem 0;
    }
    .mad-header-items>* {
        padding: 0.625rem 0.625rem 0;
    }
    /* .mad-footer.style-2 .row:not(.col-no-space),
	.mad-footer.style-2 .mad-widget nav.hr-list ul {
		text-align: center;
		justify-content: center;
	} */
    .mad-section-description {
        padding-left: 0;
        padding-right: 0;
    }
    .mad-team.item-col-3>*,
    .mad-counters.item-col-4>*,
    .gallery.item-col-4>* {
        width: 50%;
    }
    .mad-icon-boxes.item-col-3>*,
    .mad-team.item-col-2>*,
    .mad-entities[class*="item-col"]>*,
    .mad-image-boxes.item-col-3>* {
        width: 100%;
    }
    .mad-sponsors.item-col-6>* {
        width: 33.3333%;
    }
    .mad-two-colors .mad-colorizer-bg-color:after {
        width: 100%;
        left: 0;
        height: 50%;
        top: auto;
        bottom: 0;
    }
    .mad-two-colors .row:not(.col-no-space)>[class*="col"]:first-child {
        margin-bottom: 95px;
    }
    body.mad-boxed .mad-content .container .container {
        padding: 0 0.9375rem;
    }
    .mad-same-height.mad-entities[class*="item-col"]>* {
        height: auto !important;
    }
    .shop-cart-form .mad-singlefield-form {
        width: 100%;
    }
    .mad-footer.style-2 .mad-footer-bottom {
        text-align: center;
    }
    .mad-footer.style-2 .mad-widget nav.hr-list ul {
        justify-content: center;
    }
    .mad-events-nav form {
        flex-wrap: wrap;
    }
    .mad-events-nav form>.mad-col {
        max-width: 50% !important;
        width: 50% !important;
    }
    .mad-events-nav form>.mad-col:first-child,
    .mad-events-nav form>.mad-col:nth-child(2) {
        border-bottom: 1px solid #eee;
    }
    .mad-events-nav form>.mad-col:last-child {
        padding: 0.875rem 1.25rem 0;
    }
}

@media (min-width: 992px) {
    /* .mad-header.style-3 .mad-header-section{
		padding: 0.9375rem 3.75rem;
	} */
    table:not(.mad-table--vertical) td {
        border-top: none;
    }
    table td:not(:first-child) {
        border-left: none;
    }
}

@media (max-width:769px) {
    .mad-header .mad-mobile-nav-btn {
        display: inline-block;
    }
    .mad-navigation {
        margin: 0;
    }
    .mad-navigation--vertical-sm {
        text-align: center;
        background: #e3e3e3;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
    }
    .mad-navigation--vertical-sm>li {
        display: block;
        margin: 0;
    }
    .mad-navigation--vertical-sm>li>a {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    .mad-navigation>li:hover>a,
    .mad-navigation>li.current-menu-item>a,
    .mad-navigation>li.mad-tapped>a {
        background: #313131;
        color: #fff;
    }
    .mad-navigation>li>a:before {
        display: none;
    }
    .mad-navigation--vertical-sm .sub-menu {
        position: static;
        width: 100%;
        border-radius: 0;
    }
    .mad-navigation--vertical-sm .sub-menu .menu-item-has-children::after {
        content: "\e93a" !important;
    }
    .mad-navigation--vertical-sm .sub-menu .sub-menu {
        padding: 0;
        background: none;
    }
    .mad-navigation>li>a::before {
        top: auto;
        bottom: 0;
    }
    .mad-navigation .sub-menu>li {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    .mad-team:not(.style-3)[class*="item-col"]>*,
    .mad-icon-boxes[class*="item-col"]>*,
    .mad-pricing-tables[class*="item-col"]>*,
    .mad-image-boxes.style-2>.mad-col,
    .mad-image-boxes.style-3>.mad-col,
    .mad-testimonials[class*="item-col"]>*,
    .mad-events.vr-type.item-col-3>* {
        width: 100%;
    }
    .gallery[class*="item-col"]>*,
    .mad-team.style-3.item-col-5>* {
        width: 50%;
    }
    .mad-image-boxes.style-2>.mad-col:nth-child(2n) .mad-image-box {
        flex-wrap: wrap;
    }
    .mad-shedule:not(.mad-no-sep) header:after {
        height: 2.1875rem;
    }
    .mad-testimonials .owl-carousel:not([class*="mad-grid--cols"]) {
        padding-right: 0;
    }
    .mad-testimonials .owl-carousel:not([class*="mad-grid--cols"]) .owl-nav {
        top: 100%;
        right: auto;
        left: 0;
        margin-top: 0.9375rem;
    }
    .align-items-center .align-right,
    .mad-footer.style-2 .mad-footer-bottom,
    .align-items-center.row .col-sm {
        text-align: center;
    }
    .mad-footer.style-2 .mad-footer-bottom .mad-social-icons {
        justify-content: center !important;
    }
    .mad-pricing-tables.style-2 .mad-pricing-table .mad-pricing-table-content {
        justify-content: center;
    }
    .mad-pricing-tables.style-2 .mad-pricing-table .mad-pricing-table-content>*:not(.btn) {
        width: 100%;
        text-align: center;
    }
    .mad-table--vertical tr th,
    .mad-table--vertical:before {
        width: 50%;
    }
    .mad-instafeed.style-2 .mad-grid:not(.mad-grid--no-gutters):not(.owl-carousel) .mad-grid-item {
        width: 50%;
    }
    .mad-instafeed.style-2 .mad-grid:not(.mad-grid--no-gutters):not(.owl-carousel) .mad-grid-item:last-child {
        display: none;
    }
    .mad-404-title {
        font-size: 15rem;
    }
    .mad-404-title.mad-title-with-line:before {
        bottom: 4.0625rem;
    }
    .mad-team-single .mad-team-member>.mad-team-member-photo {
        min-width: auto;
    }
    .title-size-2 .mad-event.featured .mad-event-info span.mad-event-sub {
        flex-wrap: wrap;
        row-gap: 10px;
    }
    .title-size-2 .mad-event-info span.mad-event-sub br {
        display: none;
    }
    .title-size-2 .mad-event-info span.mad-event-sub {
        align-items: flex-start;
    }
}

@media (min-width: 769px) {
    .mad-header.mad-header-style-2 .mad-navigation>li>a {
        color: #fff;
    }
}

@media only screen and (max-width:480px) {
    .mad-sponsors[class*="item-col"]>*,
    .mad-countdown .countdown-section {
        width: 50%;
    }
    .mad-counters[class*="item-col"]>*,
    .gallery[class*="item-col"]>*,
    .mad-info-section.style-2[class*="item-col"]>*,
    .mad-team.style-3[class*="item-col"]>*,
    .mad-products[class*="item-col"]>* {
        width: 100%;
    }
    .btns-set>ul {
        width: 50%;
    }
    .mad-table--vertical tr th,
    .mad-table--vertical:before {
        width: auto;
    }
    .mad-table--vertical:before {
        width: 50%;
    }
    .mad-shedule header {
        padding-left: 0.9375rem;
        padding-right: 0.9375rem;
    }
    .mad-shedule:not(.mad-table-wrap):not(.mad-single-shedule) .mad-shedule-item {
        padding: 0.9375rem;
    }
    .mad-shedule header h4 {
        font-size: 1.5rem;
    }
    .mad-singlefield-form {
        display: block;
    }
    .mad-singlefield-form:not(.mad-searchform) button,
    .mad-modal--search .mad-singlefield-form button,
    .mad-404-section .mad-singlefield-form button {
        margin: 0;
        margin-top: 0.9375rem;
    }
    .mad-image-boxes.style-3 .mad-image-box .image-box-content {
        max-width: 100%;
        position: relative;
    }
    .mad-image-boxes.style-3 .mad-image-box {
        padding-bottom: 0;
    }
    table td,
    table th {
        padding-left: 0.9375rem;
        padding-right: 0.9375rem;
    }
    .mad-tabs:not(.mad-tabs--unstyled) .mad-tabs-nav>span {
        display: block;
        text-align: center;
    }
    .mad-tabs--tour-sections:not(.mad-tabs--unstyled) {
        display: block;
    }
    .mad-tabs--tour-sections:not(.mad-tabs--unstyled) .mad-tabs-nav,
    .mad-tabs--tour-sections:not(.mad-tabs--unstyled) .mad-tabs-container {
        width: 100%;
    }
    .blockquote-holder {
        padding: 1.875rem;
    }
    .mad-testimonial {
        padding-left: 2.8125rem;
    }
    .mad-testimonial:before {
        left: -0.625rem;
    }
    .mad-dropdown {
        position: static;
    }
    .shopping-cart.mad-dropdown-element {
        width: auto;
        right: 0;
        margin-top: 0;
        margin: 0 0.9375rem;
        min-width: auto;
    }
    .gallery.item-col-4>.mad-grid-item.mad-grid-item-2x,
    .gallery.item-col-3>.mad-grid-item.mad-grid-item-2x {
        width: 100%;
    }
    .mad-404-title {
        font-size: 9rem;
    }
    .mad-404-title.mad-title-with-line:before {
        bottom: 2.1875rem;
    }
    .mad-404-title+* {
        margin-top: 0;
    }
    .form-col-6 {
        -webkit-box-flex: 0;
        -ms-flex: 0 1 100%;
        flex: 0 1 100%;
        max-width: 100%;
    }
    .mad-pagination li a:not(.page-numbers),
    .gm-style .gm-style-iw-c {
        display: none;
    }
    .mad-image-boxes.style-2 .image-box-content,
    .mad-image-boxes.style-3 .mad-image-box .image-box-content,
    .mad-info-section.style-2 .mad-info-box {
        padding: 0.9375rem;
    }
    .mad-events-nav form {
        flex-direction: column;
    }
    .mad-events-nav form>.mad-col:first-child {
        border-right: none !important;
    }
    .mad-events-nav form>.mad-col {
        width: 100% !important;
        max-width: 100% !important;
    }
    .mad-events-nav form>.mad-col {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: flex-start;
    }
    .mad-events-nav form>.mad-col .btn {
        width: 100%;
    }
    .mad-events-nav form .mad-custom-select {
        margin: 0;
    }
    .mad-events-nav form .mad-custom-select {
        width: 100%;
    }
    .mad-events-nav form .mad-custom-select .mad-selected-option {
        padding-left: 0;
        padding-right: 0;
        border: none;
    }
    .mad-toggle-filter {
        margin: 0;
        margin-top: 1.5rem;
    }
    .mad-events-nav .mad-form .mad-custom-select .mad-selected-option::after,
    .mad-events-nav .mad-form .mad-custom-select .mad-selected-option::before {
        right: 0;
    }
    .mad-events:not([class*="item-col-"]):not(.owl-carousel) .mad-event {
        padding: 1rem;
    }
    .mad-events.style-2:not([class*="item-col-"]) .mad-event .mad-event-info {
        flex-direction: column;
    }
    .mad-events.style-2 .mad-event-info .mad-event-date {
        text-align: left;
    }
    .mad-events.style-2 .mad-event-content {
        padding-left: 0;
        padding-right: 0;
        padding-top: 1rem;
    }
    .mad-events.style-2[class*="item-col-"] .mad-event-content {
        padding: 2rem 1rem;
    }
    .title-size-2 .mad-event-info span.mad-event-sub {
        align-items: flex-start;
    }
    .mad-filters>.mad-col:last-child .mad-event-select .mad-event-select-box {
        right: auto;
        left: 0;
    }
}

@media only screen and (max-width:320px) {
    .title-size-2 .mad-event-info span.mad-event-sub {
        flex-wrap: wrap;
    }
    .mad-event-info .mad-event-sub .mad-label {}
}