.social-mobile,
.mobile-contact,
#nav-shadder,
#close-menu {
    display: none;
}

body.overflow-menu {
    overflow: hidden;
}

@media (min-width: 993px) {
    #nav-container nav > .nav.navbar-nav > li:hover a {
        background: none;
        color: #4C4084;
    }
    #nav-container nav > .nav.navbar-nav > li .sub-menu {
        overflow: hidden;
        margin: 0;
        padding: 0;
        list-style: none;
        position: fixed;
        z-index: 599;
        font-size: 15px;
        width: 100%;
        left: 0;
        background: #fff;
        transform: scaleY(0);
        transform-origin: top;
        opacity: 0;
        -webkit-transition: all .3s ease .3s;
        -moz-transition: all .3s ease .3s;
        -ms-transition: all .3s ease .3s;
        transition: all .3s ease .3s;
    }
    #nav-container nav > .nav.navbar-nav > li:hover .sub-menu {
        opacity: 1;
        transform: scaleY(1);
        transform-origin: top;
        -webkit-transition: all .35s ease;
        -moz-transition: all .35s ease;
        -ms-transition: all .35s ease;
        transition: all .35s ease;
    }
    #nav-container nav > .nav.navbar-nav > li:hover .menu-body-overlay {
        position: fixed;
        right: 0;
        left: 0;
        top: 150px;
        bottom: 0;
        background: rgba(0, 0, 0, 0.1);
        z-index: -9;
    }
    #nav-container nav > .nav.navbar-nav > li:hover .menu-body-overlay:hover {
        position: inherit;
    }
    #nav-container nav > .nav.navbar-nav > li .sub-menu {
        padding: 20px 0;
    }
    .sub-menu-top {
        display: block;
        height: 18px;
        background: #fff;
        position: relative;
        opacity: 0;
        transition: opacity .3s .1s ease;
        max-width: 1366px;
        margin: auto;
    }
    .sub-menu-top:after {
        content: '';
        background: #e3e3e3;
        height: 1px;
        width: 73%;
        display: block;
        position: absolute;
        right: 0;
        bottom: 0;
    }
    .sub-menu-wrap {
        padding: 21px 15px 20px 24%;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        opacity: 0;
        transition: opacity .3s .1s ease;
        max-width: 1519px;
        position: relative;
        margin: auto;
    }
    #nav-container nav > .nav.navbar-nav > li:hover .sub-menu .sub-menu-top {
        opacity: 1;
        transition: opacity .3s ease;
    }
    #nav-container nav > .nav.navbar-nav > li:hover .sub-menu .sub-menu-wrap {
        opacity: 1;
        transition: opacity .5s .3s ease;
    }
    #nav-container nav > .nav.navbar-nav > li > .sub-menu li {
        width: 33.33%;
        position: relative;
        left: -30px;
        opacity: 0;
        top: -20px;
        -webkit-transition: all .5s ease .3s, top .3s ease;
        -moz-transition: all .5s ease .3s, top .3s ease;
        -ms-transition: all .5s ease .3s, top .3s ease;
        transition: all .5s ease .3s, top .3s ease;
    }
    #nav-container nav > .nav.navbar-nav > li:hover .sub-menu li {
        left: 0;
        opacity: 1;
        top: 0;
        -webkit-transition: left .3s ease .4s, opacity .3s ease .3s;
        -moz-transition: left .3s ease .4s, opacity .3s ease .3s;
        -ms-transition: left .3s ease .4s, opacity .3s ease .3s;
        transition: left .3s ease .4s, opacity .3s ease .3s;
    }
    #nav-container nav > .nav.navbar-nav > li > .sub-menu li:first-child {
        position: absolute;
        right: calc(77% + 20px);
        left: auto;
        width: 22%;
        top: -40px;
        max-width: 302px;
    }
    #nav-container nav > .nav.navbar-nav > li:hover .sub-menu li:first-child {
        top: -20px;
        right: 77%;
        -webkit-transition: right .3s ease .4s, opacity .3s ease .3s;
        -moz-transition: right .3s ease .4s, opacity .3s ease .3s;
        -ms-transition: right .3s ease .4s, opacity .3s ease .3s;
        transition: right .3s ease .4s, opacity .3s ease .3s;
    }
    #nav-container nav > .nav.navbar-nav > li > .sub-menu li:first-child > a:first-child {
        display: none;
    }
    #nav-container nav > .nav.navbar-nav > li:hover .sub-menu li:nth-child(3),
    #nav-container nav > .nav.navbar-nav > li:hover .sub-menu li:nth-child(4) {
        -webkit-transition: left .3s ease .4s, opacity .3s ease .4s;
        -moz-transition: left .3s ease .4s, opacity .3s ease .4s;
        -ms-transition: left .3s ease .4s, opacity .3s ease .4s;
        transition: left .3s ease .4s, opacity .3s ease .4s;
    }
    #nav-container nav > .nav.navbar-nav > li:hover .sub-menu li:nth-child(5),
    #nav-container nav > .nav.navbar-nav > li:hover .sub-menu li:nth-child(6) {
        -webkit-transition: left .3s ease .5s, opacity .3s ease .5s;
        -moz-transition: left .3s ease .5s, opacity .3s ease .5s;
        -ms-transition: left .3s ease .5s, opacity .3s ease .5s;
        transition: left .3s ease .5s, opacity .3s ease .5s;
    }
    #nav-container nav > .nav.navbar-nav > li:hover .sub-menu li:nth-child(7),
    #nav-container nav > .nav.navbar-nav > li:hover .sub-menu li:nth-child(8),
    #nav-container nav > .nav.navbar-nav > li:hover .sub-menu li:nth-child(9) {
        -webkit-transition: left .3s ease .6s, opacity .3s ease .6s;
        -moz-transition: left .3s ease .6s, opacity .3s ease .6s;
        -ms-transition: left .3s ease .6s, opacity .3s ease .6s;
        transition: left .3s ease .6s, opacity .3s ease .6s;
    }
    #nav-container nav > .nav.navbar-nav > li:hover .sub-menu li:nth-child(10),
    #nav-container nav > .nav.navbar-nav > li:hover .sub-menu li:nth-child(11) {
        -webkit-transition: left .3s ease .7s, opacity .3s ease .7s;
        -moz-transition: left .3s ease .7s, opacity .3s ease .7s;
        -ms-transition: left .3s ease .7s, opacity .3s ease .7s;
        transition: left .3s ease .7s, opacity .3s ease .7s;
    }
    .menu-exta-content {
        font-size: 16px;
        color: #536267;
        line-height: 1.35;
    }
    #nav-container nav > .nav.navbar-nav > li > .sub-menu li .menu_h2_tag {
        font-size: 34px;
        margin-bottom: 20px;
        color: #000;
    }
    #nav-container nav > .nav.navbar-nav > li > .sub-menu li .menu_h2_tag strong {
        font-weight: 600;
        display: inline-block;
        color: #000;
    }
    #nav-container nav > .nav.navbar-nav > li > .sub-menu li a.button.menu-button {
        background: #1b4e9d;
        color: #f4f4f4;
        border: 1px solid #1b4e9d;
        border-radius: 10px;
        width: 100%;
        text-align: center;
        padding: 14px 5px;
        margin-top: 28px;
        transition: all .4s ease;
    }
    #nav-container nav > .nav.navbar-nav > li > .sub-menu li a.button.menu-button:hover {
        color: #1b4e9d;
        background: #fff;
        transition: all .4s ease;
    }
    #nav-container nav > .nav.navbar-nav > li > .sub-menu li > a {
        text-decoration: none;
        padding: 20px;
        display: block;
        border: 1px solid transparent;
        border-left: 2px solid transparent;
        font-weight: 600;
        font-size: 17px;
        margin-bottom: 5px;
        color: rgba(83, 98, 103, 1);
    }
    #nav-container nav > .nav.navbar-nav > li > .sub-menu li > a:hover {
        border: 1px solid #e3e3e3;
        border-left: 2px solid #1b4e9d;
        color: #1b4e9d;
    }
    .menu-item-description {
        color: rgb(83, 98, 103);
        font-size: 16px;
        line-height: 1.35;
        margin-top: 3px;
    }
    .menu-arrow {
        width: 10px;
        height: 10px;
        z-index: 99999;
        position: absolute;
        top: 10px;
        right: -15px;
    }
    .menu-arrow svg {
        fill: #000;
    }
}

@media (min-width: 1240px) {
    .container {
        width: 1200px;
    }
}

@media (max-width: 1281px) {
    #player {
        width: 1100px;
        height: 617px;
    }
}

@media (max-width: 1200px) {
    #header > .container {
        width: 100%;
        padding: 0 20px;
    }
    #nav-container nav > .nav.navbar-nav > li {
        margin-left: 30px;
    }
    .home-heading:not(.blog-heading) h1 {
        font-size: 52px;
    }
    .home-heading .lead {
        font-size: 20px;
    }
    .home-heading-nav li.cats ul.cats,
    .home-heading-nav .form-control,
    .home-heading-nav li.cats > a {
        width: 150px;
    }
}

@media (max-width: 1050px) {
    #nav-container nav > .nav.navbar-nav > li > a {
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .home-heading .cats li:hover, .home-heading .cats li:hover a, .home-heading .cats li.current, .home-heading .cats li.current a {
        background: none;
        color: #3F3F3F;
        text-decoration: none;
    }
    .home-heading .cats li:hover, .home-heading .cats li.current {
        border: 1px solid #53B7E8;
    }
    #nav-container nav > .nav.navbar-nav > li .sub-menu {
        padding: 0;
    }
    #nav-container nav > .nav.navbar-nav > li.cn-active .sub-menu {
        height: auto;
        max-height: 600px;
    }
    #header, .scrolled #header {
        top: 0;
    }
    .the-logo {
        margin-top: 4px;
    }
    .mobile-menu-logo div.the-logo {
        position: absolute;
        top: 25px;
        max-width: 80%;
        margin-left: 7px;
        display: block;
    }
    .mobile-menu-logo .the-logo a.logo-image {
        max-width: 100%;
    }
    /* Anatal */

    /* Footer Menu Widget to 2 Columns  */

    #main-footer .footer-list{
        margin-top: 10%;
    }
    #main-footer .item-list{
        width: 45%;
        margin-top: 1%;
        margin-right: 2%;
        margin-left: 3%;
        margin-bottom: 20px;
    }
    #main-footer .footer-widget > span{
        font-size: 14px;
    }
    #main-footer .footer-widget div > ul > li{
        margin-top: 0px;
    }
    #main-footer .footer-widget ul.menu li.menu-item a{
        font-size: 12px;
    }

    /* Accordion - Footer Menu Widget  */

    /*    #main-footer{}

        #main-footer .footer-list {
            display: block;
            text-align: center;
            padding: 10px 0;
        }
        #main-footer .footer-list .item-list{
        }
        #main-footer .footer-list .item-list .footer-widget > span:after{
            content: "▸";
            width: 1em;
            height: 1em;
            text-align: center;
            transition: all 0.35s;
            margin-left: 10px;
        }
        #main-footer .footer-list .item-list .footer-widget.is-open > span:after{
            content: "▾";
        }
        #main-footer .footer-list .footer-widget ul.menu{
            background-color: #3a2972;
            margin: 10px;
            max-height: 0;
            overflow: hidden;
            -webkit-transition: max-height 0.4s ease-out;
            -moz-transition: max-height 0.4s ease-out;
            -o-transition: max-height 0.4s ease-out;
            transition: max-height 0.4s ease-out;

        }
        #main-footer .footer-list .footer-widget.is-open ul.menu {
            max-height: 700px;
            -webkit-transition: max-height 0.4s ease-in;
            -moz-transition: max-height 0.4s ease-in;
            -o-transition: max-height 0.4s ease-in;
            transition: max-height 0.4s ease-in;
        }
        #main-footer .footer-widget > span{
            font-size:  1.1em;
        }
        #main-footer .footer-widget div > ul > li:first-child {
            margin-top: 10px;
        }
        #main-footer .footer-widget div > ul > li:last-child {
            margin-bottom: 10px;
        }*/

    /* End of Anatal */
    #top-header {
        display: none;
    }
    #close-menu {
        display: block;
    }
    #main-header {
        margin-top: 0;
        padding: 0;
    }
    #main-header .navbar-toggle {
        position: absolute;
        top: 20px;
        right: 20px;
        display: block;
        margin: 0;
        padding: 0;
    }
    #main-header .navbar-header {
        float: right;
    }
    #main-header .navbar-toggle {
        top: 9px;
        right: 28px;
    }
    #main-header .navbar-toggle .icon-bar {
        background-color: black;
        width: 24px;
        height: 3px;
        margin: 4px auto;
    }
    #nav-container .navbar-nav {
        float: none;
        margin: 0;
        width: 100%;
    }
    #nav-container nav > .nav.navbar-nav > li {
        margin: 0;
        border-top: 1px solid #e8e8e8;
        float: none;
    }
    #nav-container nav > .nav.navbar-nav > li:last-child {
        border-bottom: 0;
    }
    #nav-container nav > .nav.navbar-nav > li > a {
        padding: 20px 40px 20px 22px;
        display: block;
        background-color: transparent;
        color: #536267;
        transition: all .25s;
        font-size: 20px;
    }
    #nav-container nav > .nav.navbar-nav > li.show .sub-menu, #nav-container nav > .nav.navbar-nav > li:hover .sub-menu {
        display: block;
    }
    #nav-container nav > .nav.navbar-nav > li.special-button a {
        width: 200px;
        margin: 30px auto;
        font-size: 16px;
        font-weight: 600;
        border-radius: 5px;
        padding: 11px 4px;
    }
    #nav-container nav > .nav.navbar-nav > li .sub-menu {
        position: relative;
        min-width: 100%;
        left: auto;
        max-height: 0;
        overflow: hidden;
        transition: all .85s ease;
        background: white;
        box-shadow: none;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
    }
    #nav-container nav > .nav.navbar-nav > li .sub-menu li {
        font-size: 20px;
        list-style: none;
    }
    #nav-container nav > .nav.navbar-nav > li .sub-menu li a:hover, #nav-container nav > .nav.navbar-nav > li .sub-menu li a:focus {
        color: #3f6fbc;
        background: none;
    }
    #nav-container nav > .nav.navbar-nav > li > .sub-menu li a {
        color: #1b4e9d;
        font-weight: 600;
        font-size: 17px;
    }
    #nav-container .collapse-nav {
        overflow-y: scroll;
        position: fixed;
        right: -94%;
        top: 0;
        bottom: 0;
        z-index: 300;
        width: 94%;
        padding-top: 90px;
        background-image: url("../svg/passageways.svg");
        background-repeat: no-repeat;
        background-position: 10px 38px;
        background-size: 75%;
        background-color: #F8F8FC;
        box-shadow: 2px 0 5px #000;
        transition: right .5s ease;
        -moz-transition: right .5s ease;
        -webkit-transition: right .5s ease;
    }
    nav.collapse-nav.open .the-logo {
        display: none;
    }
    #nav-container .collapse-nav.open {
        right: 0;
        display: flex;
        flex-wrap: wrap;
    }
    body.admin-bar #nav-container .collapse-nav {
        top: 46px;
    }
    .mobile-contact {
        display: block;
    }
    .mobile-contact .navbar-nav > li {
        float: none;
    }
    .mobile-contact .navbar-nav > li:nth-child(2) {
        display: none;
    }
    .mobile-contact .navbar-nav > li > a {
        text-align: center;
        color: #b7b7b7;
        padding: 10px 15px;
    }
    .mobile-contact .navbar-nav > li > a:hover, .mobile-contact .navbar-nav > li > a:focus {
        color: #333940;
        background: none;
    }
    .mobile-contact .navbar-nav > li.tel a {
        font-weight: 600;
    }
    ul.social-mobile {
        list-style: none;
        padding: 0;
        margin: 10px auto;
        max-width: 150px;
        display: none;
    }
    ul.social-mobile li {
        float: none;
        flex-grow: 1;
        text-align: center;
    }
    ul.social-mobile li a {
        color: #cacaca;
    }
    #nav-shadder {
        position: fixed;
        right: 0;
        top: 0;
        bottom: 0;
        left: auto;
        transition: all .5s ease;
        z-index: 295;
        display: block;
        cursor: pointer;
    }
    #nav-shadder.open {
        left: 0;
        background: rgba(0, 0, 0, 0.75);
    }
    .home-heading-nav li.cats ul.cats,
    .home-heading-nav .form-control,
    .home-heading-nav li.cats > a {
        width: 138px;
    }
    .loop .item {
        width: 100%;
        max-width: 515px;
        margin: auto;
    }
    .blog-loop-container .loop .item.hero,
    .blog-loop-container .loop .grid-item,
    .loop .grid-item, .loop .item.hero {
        width: 100%;
    }
    body.single #content {
        max-width: 720px;
    }
    .menu-arrow {
        width: 15px;
        height: 15px;
        z-index: 99999;
        position: absolute;
        top: 22px;
        right: 15px;
    }
    .menu-arrow svg {
        fill: #000;
    }
    .menu-body-overlay,
    .menu-exta-content,
    .menu-item-description,
    #nav-container nav > .nav.navbar-nav > li > .sub-menu li:first-child {
        display: none;
    }
    #nav-container nav > .nav.navbar-nav > li .sub-menu {
        visibility: visible;
    }
    #main-header {
        height: 39px;
    }
    .menu-mobile-contact-container {
        margin-bottom: 40px;
        width: 100%;
        align-self: flex-end;
    }
    .loop .item.hero h2,
    .loop .item h2 {
        margin: 7px 0 10px;
        min-height: inherit;
    }
    .blog-sidebar-posts {
        display: none;
    }
    .item-meta li {
        font-size: 13px;
    }
    .pagination > li {
        padding: 0 2px;
    }
    ul.pagination li a, ul.pagination li span {
        font-size: 13px;
        padding: 2px 4px 0;
    }
    .grid-item.blog-grid-form .grid-item-inner,
    .grid-item.blog-grid-cta .grid-item-inner {
        padding: 60px 10px;
    }
    .grid-item .newsletter_title {
        font-size: 30px;
    }
    .cta-title {
        font-size: 31px;
    }
    a.grid-cta-btn {
        margin-top: 46px;
        font-size: 17px;
        padding: 12px;
    }
    ul.cats {
        width: 100%;
        padding: 0;
    }
    ul.cats li {
        display: none;
        width: 100%;
        text-align: center;
        border-radius: 5px;
    }
    ul.cats li.current {
        display: block;
        pointer-events: none;
    }
    ul.cats.open li {
        display: block;
    }
    .home-heading .cats li,
    .home-heading .cats li:last-child {
        border: 0;
        border-bottom: 1px solid #e0e0e0;
    }
    .home-heading .cats li:hover .search-img-hover {
        display: none;
    }
    .home-heading .cats li:hover .search-img-default {
        display: block;
        margin: auto;
    }
    #player {
        width: 360px !important;
        height: 202px !important;
    }
    #bottom-footer {
        padding: 30px 0;
    }
    #bottom-footer .row {
        justify-content: center;
    }
    #footer {
        padding: 0;
    }
    a.button, a.button.white-fill {
        width: 150px;
        height: 18px;
        padding: 12px;
        font-size: 14px;
    }
    h2, h3, h4, h5, h6 {
        font-size: 34px;
    }
    #close-menu {
        height: 27px;
        width: 27px;
        position: absolute;
        top: 30px;
        right: 6px;
        color: #1c4f9c;
        padding: 0;
        margin: 0;
        background: none;
        border: none;
    }
    #close-menu div {
        height: 1px;
        width: 25px;
        background-color: #536267;
    }
    #close-menu div:first-child {
        transform: translateX(0) translateY(0) rotate(45deg)
    }
    #close-menu div:last-child {
        transform: translateX(0) translateY(-1px) rotate(-45deg)
    }
}

@media (max-width: 782px) {
    body.admin-bar #header {
        margin-top: 46px;
    }
}

@media (max-width: 767px) {
    body.single #content {
        max-width: 100%;
    }
    .home-heading-nav {
        float: none;
        margin: 0;
    }
    .home-heading-nav li:first-child {
        margin-bottom: 4px;
    }
    .home-heading-nav li:last-child {
        margin: 0;
    }
    .home-heading-nav li.cats ul.cats,
    .home-heading-nav .form-control,
    .home-heading-nav li.cats > a {
        width: 100%;
    }
    .the-logo a.logo-image {
        margin: 0 auto;
        background-position: center center;
    }
    .single-header h1 {
        padding: 0;
    }
    .container {
        padding: 0 25px;
    }
    #the-post {
        padding: 20px 10px;
    }
    .btn-lg, .btn.btn-lg {
        font-size: 16px;
        padding: 10px 36px 8px;
    }
    #main-header .navbar-toggle {
        margin-top: 0;
    }
    #single-social-shares {
        position: relative !important;
        right: auto !important;
        top: auto !important;
    }
    #single-social-shares ul {
        display: table;
        width: 100%;
    }
    #single-social-shares ul li {
        float: left;
        margin-right: 5px;
    }
    #related article {
        margin-bottom: 30px;
    }
    #related img {
        width: 100%;
    }
    #related .btn.btn-link {
        margin-top: 10px;
    }
    #bottom-footer p:first-child {
        margin-bottom: 10px;
    }
    #bottom-footer p:last-child {
        width: 100%;
    }
}

@media (max-width: 560px) {
    body.single #content {
        max-width: 320px;
    }
    .home-heading h1 {
        font-size: 38px;
    }
    .loop .item h2 {
        font-size: 28px;
    }
    .home-heading .lead {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .loop .item h2 {
        font-size: 23px;
    }
}

@media (max-width: 375px) {
    h2, h3, h4, h5, h6 {
        font-size: 34px;
    }
}
