
/*@media screen and (max-width: 1223px) {


    nav#main-menu ul li.last {

    }
    nav#main-menu ul a {

    }
    nav#main-menu ul li:last-child {

    }
    nav#main-menu ul a:hover {
    }


}




@media screen and (max-width: 420px) {

}*/



@media screen and (max-width: 1130px) {
    ul.dropdown a {
        font-size: 15px;
        padding: 12px 4px 11px;
    }
}

@media screen and (max-width: 991px) {
    .logo a img {
        display: block;
        max-width: 100%;
        margin: 0 auto;
    }

    .top-right {
        margin-bottom: 35px;
        overflow: hidden;
        padding-top: 30px;
        text-align: center;
    }

    a.icon-menu {
        background: transparent url(../images/icon_menu.png) no-repeat scroll center center;
        border: 1px solid #ccc;
        border-radius: 3px;
        cursor: pointer;
        display: inline-block;
        height: 37px;
        margin-left: 22px;
        margin-right: 0;
        width: 48px;
        z-index: 1000;
        vertical-align: middle;
    }
    nav#main-menu {
        position: relative;
        width: 100%;
        z-index: 999;
        text-align: center;
    }
    nav#main-menu ul {
        display: none;
        float: none;
    }
    nav#main-menu ul li {

        float: none;

    }

    ul.dropdown .sub {
        position: relative;
        visibility: visible;
        padding: 10px;
        right: 0;
        margin: 0 auto;
    }

    nav#main-menu ul {
        display: none;
        float: none;
        width: 100%;
    }

    ul.dropdown .sub ul ul {
        visibility: visible;
        position: relative;
        top: 100%;
        left: 0;
        width: 100%;
        background: #eee;
        left: auto;
        top: auto;
        width: 100%!important;
        padding: 5px 10px;
        border:0 none;
    }

    .residents a{ margin-bottom:20px;}
}

@media (min-width: 768px) and (max-width: 991px) {
    .links-main-container a {
        font-size: 28px;
        height: 250px;
        padding-top: 100px;
        width: 100%;
    }

}
@media screen and (max-width: 767px) {
    .slider-text-content {

        margin: 0 auto;
    }
    .slider .slick-dots {
        padding: 0;
        text-align: center;
    }
    .slider .slick-dots li{ display: inline-block; float: none;}
    .submenu ul li {
        display: block;
        margin-bottom: 5px;
    }
    .news-photo a img {
        display: block;
        margin: 0 auto 20px;
    }
    .newsletter-form {
        margin-top: 0;
    }

    .newsletter input {
        width: 87%;
    }
    .links-main-container a{ margin-bottom: 10px;}

    .content-bottom-left {
        margin-bottom: 30px;
    }

    .content-bottom-middle {
        margin-bottom: 30px;
    }
    .content-bottom-right {
        margin-bottom: 30px;
    }


}

@media screen and (max-width: 460px) {
    .residents a{ width:100%}

    .social-box a {
        display: block;
        float: left;
        margin-right: 15px;
    }
    .footer-bottom { text-align: center;}

    .footer-bottom img {
        float: none;
        margin-right: 0;
        margin: 0 auto 20px;
    }
}