body {
    width: 100%;
    overflow-x: hidden;
}

@media screen and (min-width: 1201px) {
    #headerdiv small span {
        margin-left: 37px;
    }

    .menu-social ul li {
        margin: 0 2px 0 0 !important;
    }

    #lang_sel_list img.iclflag {
        top: -3px;
    }

    .cal_img img {
        margin-top: 7%;
    }
}

@media screen and (min-width: 991px) {
    .buttonlink {
        width: 100%;
    }
}

@media screen and (max-width: 1200px) {
    .wpml-ls-legacy-list-horizontal a {
        padding: 5px 5px !important;
    }
}

@media screen and (max-width: 992px) {
    #lang_sel_list .wpml-ls-legacy-list-horizontal a {
        padding: 5px 5px !important;
    }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
    .image1 {
        width: 53.6%;
    }

    .cal_img img {
        height: 71px !important;
        width: 71px !important;
        margin-top: 30%;
    }

    #latest-gallery .container {
        width: 983px;
    }

    .latest-gallery .col-sm-12 .pub_date {
        margin-top: 55px;
    }

    #adlist a img {
        height: auto;
    }

    .carousel-inner {
        height: 310px;
    }

    #headerdiv {
        width: 27%;
        float: right;
        margin-top: -59px;
    }

    #myCarousel2 {
        margin-left: -15px;
        width: 105%;
    }

    .sponsersinner {
        height: 95px;
        margin-left: 27px;
    }

    .sponserbanner {
        height: 95px !important;
        width: auto;
    }

    #myCarousel2 a.left.carousel-control {
        margin-left: -30px;
    }

    #myCarousel2 a.right.carousel-control {
        margin-right: -31px;
    }

    #btn-event {
        margin-left: -17%;
    }

    div#half {
        padding-bottom: 10%;
    }
}

.sponserbanner {
    width: auto;
}

@media screen and (max-width: 992px) {
    .image1 h2 {
        top: 40%;
    }

    .navbar-default .navbar-toggle {
        border-color: #066736;
    }

    .top {
        margin-top: 0;
    }

    nav ul li > ul {
        position: relative;
        top: 0;
        display: block;
    }

    .mean-container > div > ul > li, nav > ul > li,
    nav ul li > ul li,
    #header .col-md-12 {
        padding: 0;
    }

    .mean-container .mean-nav ul {
        padding: 0;
        margin: 0;
        width: 100%;
        list-style-type: none;
        border: none;
        position: relative;
    }

    nav ul li > ul li ul {
        left: 0;
    }

    .mean-container .mean-nav ul li a.mean-expand {
        margin-top: 1px;
        width: 23px;
        height: 23px;
    }

    .mean-container .mean-bar {
        background: #000750;
        padding: 10px 0;
    }

    .mean-container a.meanmenu-reveal {
        padding: 13px 13px 11px;
        top: 5px;
        transition: none 0s ease 0s;
    }

    .mean-container .mean-nav {
        background: #000750;
    }

    .mean-container .mean-bar {
        padding: 5px 0;
    }

    .home-sidebar {
        margin: 20px 0;
    }

    #featured-section h3 a {
        color: #000d47;
        font-size: 22px;
        line-height: 22px;
    }

    .thumbnail {
        margin-left: auto;
        margin-right: auto;
    }

    #video-home p {
        margin-bottom: 6px;
    }

    #addevent {
        display: none;
    }

    .row.text-center {
        text-align: left;
        margin-left: 0;
    }

    .text-center {
        text-align: left;
        margin-left: 15px;
    }

    #myCarousel2 {
        width: 104%;
    }

    .event-single.row {
        margin-left: 15px;
    }

    #video-home h4 {
        margin-top: 10px;
    }

    #archivesponsers,
    #archivesponsers div div a img {
        height: 63px !important;
    }
}
@media (max-width: 768px) {
    .adlist.col-sm-4 {
        display: none;
        float: right;
    }
}
@media (max-width: 991px) and (min-width: 768px) {

    #lang_sel {
        width: 100%;
    }

    #lang_sel ul ul a,
    #lang_sel a.lang_sel_sel {
        line-height: 3em;
    }

    #lang_sel ul ul {
        top: 34px;
    }

    .image1 {
        width: 52.9% !important;
    }

    #logodiv {
        margin-left: -15px;
    }

    #headerdiv {
        float: right;
        margin-top: -56px;
    }

    #home-banner {
        margin-bottom: 0 !important;
    }

    #main .btn-lg {
        margin-left: 55%;
    }

    #spotlight,
    #featured-section h3 {
        margin-top: 30px !important;
    }

    .owl-buttons .owl-next {
        right: -30px !important;
    }

    .owl-buttons .owl-prev {
        left: -30px !important;
    }

    #add_event_button {
        margin-left: 0 !important;
    }

    #all_events_button {
        margin-left: 0 !important;
        width: 110%;
    }

    #video_button {
        margin-left: 0 !important;
        font-size: 16px !important;
    }

    .cal_img img {
        margin-top: 4%;
    }

    #sponsers img {
        margin-bottom: 0;
    }

    #adlist a img {
        height: auto;
    }

    #headsponser {
        width: 45%;
    }

    .image2 {
        width: 98% !important;
    }

    .carousel-inner {
        height: 250px;
    }

    .sponsersinner {
        height: 115px;
        margin-left: 32px;
    }

    .latest-gallery .col-sm-12 .pub_date {
        margin-top: 0px;
    }

    #btn-event {
        margin-left: -3%;
    }

    #lang_sel_list {
        margin-top: 10px;
    }

    #news #myCarousel2 a.left.carousel-control {
        margin-left: -22px;
    }

    #news #myCarousel2 a.right.carousel-control {
        margin-right: -22px;
    }

    #news .sponsersinner {
        margin-left: 16px;
        height: 65px;
    }

    #news .sponserbanner {
        height: 65px !important;
    }

    #news #myCarousel2 {
        width: 101%;
    }

    #contentsponsers {
        margin-left: 20px !important;
        height: 80px !important;
    }

    #contentsponsers div div a img {
        height: 80px !important;
    }

    #photos h2, #photos p {
        margin-left: 15px;
    }

    #featured-section {
        margin: 30px -30px 0 -30px;
    }

    #half #sponserslider {
        margin: 0 -15px;
        width: 103%;
    }
}
.extended-sidebar__close {
    display: none;
}
@media screen and (max-width: 767px) {
    .left {
        margin-left: 0;
    }

    .sponsersinner {
        height: 116px !important;
    }

    .search-form {
        width: 100%;
    }

    #lang_sel_list {
        margin-left: -5px;
    }

    #news .content {
        text-align: left;
    }

    #lang_sel_list img.iclflag {
        top: 1px;
    }

    .blue-bg {
        padding: 0;
    }

    #video-home p {
        margin-left: 15px;
        margin-right: 15px;
    }

    #archivesponsers,
    #archivesponsers div div a img {
        height: 103px !important;
    }

    #photos h2, #photos p {
        margin-left: -15px !important;
    }

    #latest-news h4, #latest-news p {
        box-sizing: border-box;
        padding: 0 12px;
    }
    .extended-sidebar {
        display: none;
        top: 75px;
        left: 0;
        position: fixed;
        height: calc(100% - 75px);
        overflow-y: scroll;
        width: 100%;
        z-index: 1;
    }
    .extended-sidebar__close {
        display: block;
        margin-top: 10px;
        width: 100%;
        padding: 10px;
        display: block;
        border: none;
        color: #fff;
        font-size: 19px;
        font-weight: 700;
        background-color: #000D47;
    }
    .extended-sidebar__close:focus {
        outline: none;
    }
    .extended-sidebar .sidebar-inner {
        height: 100%;
    }
    .extended-sidebar .sidebar-inner .years li a {
        padding: 4px 8px;
    }
}

@media (max-width: 640px) {
    .image1,
    .image2 {
        width: 100%;
        text-align: center;
    }

    #toTop {
        background: #97c300;
    }

    #archivesponsers,
    #archivesponsers div div a img {
        height: 84px !important;
    }
}
#pages-banner .filter-btn-container{display: none;}
@media (max-width: 767px) {
    #pages-banner .filter-btn-container {
        margin-bottom: 20px;
        cursor: pointer;
        display: inline-block;
        text-align: right;
        position: relative;
        width: 100%;
    }
    #pages-banner .filter-btn {
        text-align: right;
        height: 30px;
        display: inline-block;
    }
}
@media (max-width: 500px) {
    .image1 h2 {
        top: 29%;
        left: 0;
    }

    .menu-social ul {
        margin-top: -60px;
        position: relative;
        top: -20px;
    }

    .top {
        margin-top: 0;
    }

    .clear {
        clear: both;
        margin-bottom: 10px;
    }
    #latest-news p,
    #pages-banner img {
        display: block;
    }

    #latest-news p.pub_date {
        display: block;
    }
    #latest-news p.news-intro {
        display: none;
    }
    h4 {
        margin-bottom: 5px;
    }

    #latest-news article {
        margin-bottom: 20px;
    }

    .blue-bg {
        background: #000750;
        color: #fff;
        padding: 0 0 10px 0;
    }

    .embed-container {
        margin-top: 20px;
    }

    #header small {
        top: 50px;
        display: block;
        margin-top: 20px;
    }

    #pages-banner h3,
    #pages-banner .event-page h3 {
        position: relative;
        color: #000d47;
        top: 0;
        left: 0;
    }

    #pages-banner {
        margin-top: 10px;
        margin-bottom: 0;
    }

    #headsponser {
        margin-bottom: 6.6% !important;
    }

    #archivesponsers,
    #archivesponsers div div a img {
        height: 65px !important;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .menu-social ul {
        margin-top: -206px !important;
        margin-bottom: 90px;
    }

    #lang_sel {
        width: 100%;
    }

    #lang_sel ul ul a,
    #lang_sel a.lang_sel_sel,
    #lang_sel ul ul a {
        line-height: 3em;
    }

    #lang_sel ul ul {
        top: 34px;
    }

    #bannerdiv {
        margin-left: -15px;
        margin-right: -15px;
    }

    .image1 {
        width: 52.9% !important;
    }

    #home-banner {
        margin-bottom: 0 !important;
    }

    #main .btn-lg {
        width: 50%;
        margin-left: 25%;
    }

    .home-sidebar h3 {
        margin-top: 40px;
    }

    .event_rub {
        margin-top: 10px;
        margin-bottom: 0;
    }

    #sponsers img {
        margin-bottom: 0 !important;
        height: 150px;
    }

    .safari #latest-videos .container .row .col-sm-6 {
        width: 100%;
    }

    .owl-carousel {
        margin-top: -47px;
    }

    #footer {
        text-align: center;
        padding-bottom: 30px !important;
    }

    #video-home h4 {
        padding-left: 15px;
        padding-right: 5px;
    }

    .thumb {
        margin-bottom: 0 !important;
        width: 47%;
        margin-left: 25%;
        display: inline-block;
    }

    .gallery-wrapper {
        margin-top: 70px;
    }

    #video_button {
        margin-top: 20px !important;
    }

    #photopage .row .col-md-8 .row .col-sm-6 {
        width: 45%;
        display: inline-block;
    }

    #adlist a img {
        height: auto;
    }

    #photopage .row .col-md-8 .row .col-md-4.col-sm-5 {
        width: 32%;
        display: inline-block;
    }

    .carousel-inner {
        height: 203px;
    }

    #featured-section article {
        width: 47.9%;
        display: inline-block;
        margin-left: 8px;
        margin-top: 30px;
    }

    #featured-section {
        margin-top: 20px;
    }

    .related-products {
        margin-top: 30px;
    }

    #btn-event {
        margin-left: -5%;
    }

    .carousel-control .icon-prev,
    .carousel-control .icon-next,
    .carousel-control .glyphicon-chevron-left,
    .carousel-control .glyphicon-chevron-right {
        top: 0;
    }

    #featured-section article h1 {
        margin-top: -5px;
    }
}

@media (min-width: 662px) and (max-width: 767px) {
    #spotlightdiv {
        top: -67px !important;
    }

    .sponserbanner,
    .sponsersinner {
        height: 100px !important;
    }

    #latest-videos .container .row .col-sm-6 {
        width: 49%;
        display: inline-block;
        padding-left: 12px;
        padding-right: 13px;
    }
}

@media (min-width: 482px) and (max-width: 661px) {
    #spotlightdiv {
        top: -95px !important;
    }

    .sponserbanner,
    .sponsersinner {
        height: 75px !important;
    }

    #latest-videos .container .row .col-sm-6 {
        width: 48%;
        display: inline-block;
        padding-left: 0;
        padding-right: 0;
    }

    #latest-videos .container {
        margin-left: 20px;
    }
}

@media (max-width: 480px) {
    .imag-sm img {
        height: 80px !important;
        width: 80px !important;
        text-align: center;
        margin: 0 auto 8px auto;
    }

    #main .btn-lg {
        padding: 10px;
    }

    #lang_sel, #lang_sel li {
        width: 100%;
    }

    .search-form {
        margin-top: 20px;
    }

    .image1,
    .image2,
    .btn-group,
    .btn-group-vertical {
        width: 100% !important;
    }

    #lang_sel ul ul a,
    #lang_sel a.lang_sel_sel {
        line-height: 3em;
    }

    #lang_sel ul ul {
        top: 34px;
    }

    .carousel-inner {
        height: 120px;
    }

    #featured-section {
        margin-top: 50px;
    }

    #main .btn-lg {
        margin-top: -5px;
    }

    .home-sidebar h3 {
        margin-top: 15px;
    }

    .event_rub {
        margin-top: 10px;
        margin-bottom: 0;
    }

    #sponsers img {
        margin-bottom: 0 !important;
        height: 80px;
    }

    #head-ads-carousel {
        margin-top: -128px;
        margin-left: 190px;
    }

    #footer {
        text-align: center;
        padding-bottom: 30px !important;
    }

    #video-home h4 {
        padding-left: 15px;
        padding-right: 5px;
    }

    .thumb {
        margin-bottom: 0 !important;
        width: 45%;
        margin-left: 25%;
    }

    .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
        width: 84%;
    }

    .btn-group > .btn + .dropdown-toggle {
        width: 15%;
    }

    .dropdown-menu {
        width: 84%;
    }

    #video_button {
        margin-top: 20px !important;
    }

    #adlist a img {
        height: auto;
    }

    #photopage .row .col-md-8 .row .col-md-4.col-sm-5 {
        width: 49%;
        display: inline-block;
    }

    .menu-social ul {
        margin-top: -214px !important;
    }

    .menu-social ul li {
        margin: 0 -15px 0 0 !important;
    }

    a.left.carousel-control,
    a.right.carousel-control {
        margin-top: -18px !important;
    }

    .sponserbanner,
    .sponsersinner {
        height: 70px !important;
    }

    .buttonlink {
        margin-left: 0;
    }

    .sponsersinner {
        width: 100% !important;
        margin-left: 0;
    }

    #latest-videos {
        padding: 20px 0 30px 0;
    }

    #video-home {
        margin-bottom: 40px;
    }

    #pages-banner h3 {
        top: 0 !important;
    }
}

@media (max-width: 400px) {
    .image1 h2 {
        top: 29%;
        left: 0;
    }

    .menu-social ul {
        margin-top: -176px !important;
    }

    .img-responsive, .thumbnail > img, .thumbnail a > img, .carousel-inner > .item > img, .carousel-inner > .item > a > img {
        display: block;
        max-width: 100%;
        height: 137px;
    }

    .carousel-inner {
        height: 137px;
    }

    .menu-social ul li {
        margin: 15px -15px 0 0 !important;
    }
}

