/* Responsive */

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

    #masthead .navigation .site-navigation {
        margin-right: 10px;
    }

    .category-work #masthead #menu-main-menu .menu-item #submenu-wrap,
    .category-culture #masthead #menu-main-menu .menu-item #submenu-wrap,
    .category-health #masthead #menu-main-menu .menu-item #submenu-wrap,
    .category-commercial #masthead #menu-main-menu .menu-item #submenu-wrap,
    .category-living #masthead #menu-main-menu .menu-item #submenu-wrap,
    .category-mixed-use #masthead #menu-main-menu .menu-item #submenu-wrap,
    .category-urban #masthead #menu-main-menu .menu-item #submenu-wrap {
        margin-left: -210px;
        top: 35px;
    }

    .category-work #masthead #menu-main-menu .menu-item #submenu-wrap .sub-menu li,
    .category-culture #masthead #menu-main-menu .menu-item #submenu-wrap .sub-menu li,
    .category-health #masthead #menu-main-menu .menu-item #submenu-wrap .sub-menu li,
    .category-commercial #masthead #menu-main-menu .menu-item #submenu-wrap .sub-menu li,
    .category-living #masthead #menu-main-menu .menu-item #submenu-wrap .sub-menu li,
    .category-mixed-use #masthead #menu-main-menu .menu-item #submenu-wrap .sub-menu li,
    .category-urban #masthead #menu-main-menu .menu-item #submenu-wrap .sub-menu li {
        margin-right: 5px;
        padding-right: 5px;
    }

    .category-work #masthead #menu-main-menu .menu-item #submenu-wrap a,
    .category-culture #masthead #menu-main-menu .menu-item #submenu-wrap a,
    .category-health #masthead #menu-main-menu .menu-item #submenu-wrap a,
    .category-commercial #masthead #menu-main-menu .menu-item #submenu-wrap a,
    .category-living #masthead #menu-main-menu .menu-item #submenu-wrap a,
    .category-mixed-use #masthead #menu-main-menu .menu-item #submenu-wrap a,
    .category-urban #masthead #menu-main-menu .menu-item #submenu-wrap a {
        font-size: 15px;
    }

    #masthead #brand h1 a {
        font-size: 18px;
    }

}





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

    /*.grid-item,
    .grid-sizer {
        width: 25%;
    }

    .height1 {
        width: 50%;
    }

    .width1 {
        width: 50%;
    }

    .height2 {
        width: 25%;
    }*/

}





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

    #welcome-screen #enter img {
        width: 50%;
    }

}

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

    .video-format-response {
        width: 100%;
        height: 100%;
        top: 0 !important;
        left: 0 !important;
        margin-top: 0;
        margin-left: 0;
    }

    .video-format-response .post {
        padding: 0;
    }

    .video-format-response #close-ajax-response {
        width: 40px !important;
        height: 40px !important;
        margin-top: 0;
        margin-right: 0;
        z-index: 1;
    }

    .video-format-response #close-ajax-response img {
        display: block;
    }

    #welcome-screen #enter img {
        width: 50%;
    }

}

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

    #masthead .main-navigation {
        box-sizing: border-box;
    }

}

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

    .grid-item,
    .grid-sizer {
        width: 50%;
    }

    .height1 {
        width: 50%;
    }

    .width1 {
        width: 50%;
    }

    .height2 {
        width: 25%;
    }

    .grid-row-1 .counter-1 {
        position: relative;
    }

    .grid-row-1 .counter-2 {
        float: right;
    }

    .grid-row-1 .counter-3 {
        position: relative;
        right: 0;
    }

    .grid-row-1 .counter-4 {
        position: relative;
    }

    .grid-row-1 .counter-5 {
        /*position: relative;*/
    }

    .grid-row-1 .counter-6 {
        position: relative;
        clear: both;
        float: right;
    }

    /*.grid-row-2 .counter-7 {

    }

    .grid-row-2 .counter-8 {

    }

    .grid-row-2 .counter-9 {

    }*/
    .grid-row-2 .counter-10 {
        clear: both;
    }

    /*.grid-row-2 .counter-11 {

    }*/
    .grid-row-3 .counter-12 {
        position: relative;
    }

    .grid-row-3 .counter-13 {
        position: relative;
        left: 0;
    }

    .grid-row-3 .counter-14 {
        float: right;
    }

    .grid-row-3 .counter-15 {
        position: relative;
    }

    .grid-row-3 .counter-16 {
        /*position: relative;*/
    }

    .grid-row-3 .counter-17 {
        position: relative;
        clear: both;
        float: right;
    }

    /*.grid-row-4 .counter-18 {

    }

    .grid-row-4 .counter-19 {

    }

    .grid-row-4 .counter-20 {

    }*/
    .grid-row-4 .counter-21 {
        position: relative;
    }

    .grid-row-4 .counter-22 {
        position: relative;
        left: 0;
    }

    /*.grid-row-5 .counter-23 {

    }

    .grid-row-5 .counter-24 {

    }

    .grid-row-5 .counter-25 {

    }

    .grid-row-5 .counter-26 {

    }

    .grid-row-5 .counter-27 {

    }

    .grid-row-5 .counter-28 {

    }



    .grid-row-6 .counter-29 {

    }*/
    .grid-row-6 .counter-30 {
        float: right;
    }

    /*.grid-row-6 .counter-31 {

    }

    .grid-row-6 .counter-32 {

    }*/
    .grid-row-6 .counter-33 {
        position: relative;
    }

    #menu-main-menu {
        display: none;
    }

    #responsive-menu {
        position: fixed;
        top: 50px;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(255, 255, 255, .85);
        z-index: 2;
    }

    .menu-main-menu-container {
        text-align: right;
    }

    .menu-main-menu-container button {
        background: none;
        border: none;
        padding: 0;
    }

    .menu-main-menu-container button:hover,
    .menu-main-menu-container button:active {
        cursor: pointer;
    }

    .menu-main-menu-container button i {
        font-size: 30px;
        line-height: 40px;
        width: 40px;
    }

    #masthead .main-navigation {
        width: auto;
        float: right;
    }

    #masthead #brand h1 {
        vertical-align: middle;
    }

    #masthead #brand h1 a {
        font-size: 16px;
        line-height: 21px;
    }

    #responsive-menu-wrapper {
        display: table !important;
        width: 100%;
        height: 100%;
        position: absolute;
    }

    #menu-main-menu.opened {
        display: table-cell !important;
        vertical-align: middle;
        text-align: center;
    }

    #submenu-wrap {
        position: absolute;
        top: 0px;
        right: 0px;
        bottom: 0px;
        left: 100vw;
        width: 100%;
        height: 100vh;
        display: table;
    }

    #submenu-wrap .sub-menu {
        display: table-cell;
        vertical-align: middle;
    }

    #menu-main-menu li {
        display: block;
        padding: 15px;
        width: 60%;
        margin: auto;
        border-bottom: 1px solid #717171;
        border-right: none;
    }

    #menu-main-menu li a {
        text-decoration: none;
        font-size: 20px;
        color: #000000;
    }

    #submenu-wrap button {
        background: none;
        border: none;
        padding: 0;
        position: absolute;
        top: 20px;
        left: 10px;
        width: 40px;
    }

    #submenu-wrap button:hover,
    #submenu-wrap button:active {
        cursor: pointer;
    }

    #submenu-wrap button i {
        font-size: 30px;
        line-height: 40px;
        width: 40px;
        color: #000;
    }

    #masthead {
        height: 50px;
    }

    #masthead .center {
        height: 40px;
    }

    body {
        margin: 60px 5px 0 5px;
    }

    body.category-work,
    body.category-culture,
    body.category-health,
    body.category-commercial,
    body.category-living,
    body.category-mixed-use,
    body.category-urban {
        margin: 117px 5px 0 5px;
    }

    #masthead {
        height: 60px;
    }

    #menu-main-menu .facebook a {
        font-family: FontAwesome;
        font-size: 0;
    }

    #menu-main-menu .twitter a {
        font-family: FontAwesome;
        font-size: 0;
    }

    #menu-main-menu .linkedin a {
        font-family: FontAwesome;
        font-size: 0;
    }

    #menu-main-menu .pinterest a {
        font-family: FontAwesome;
        font-size: 0;
    }

    #masthead .navigation .social-links-menu {
        display: none;
    }

    #masthead .navigation .site-navigation {
        margin: 0;
        padding: 0;
        display: block;
        width: 40px;
        height: 40px;
        position: relative;
    }

    #masthead .menu-main-menu-container {
        margin: 0;
        padding: 0;
        display: block;
        width: 40px;
        height: 40px;
        position: relative;
    }

    .category-work .mobile-categories-filter,
    .category-culture .mobile-categories-filter,
    .category-health .mobile-categories-filter,
    .category-commercial .mobile-categories-filter,
    .category-living .mobile-categories-filter,
    .category-mixed-use .mobile-categories-filter,
    .category-urban .mobile-categories-filter {
        display: block;
    }

    #responsive-work-submenu #submenu-wrap {
        left: 0;
        text-align: center;
        height: 100%;
    }

    #responsive-work-submenu li {
        display: block;
        padding: 15px;
        width: 60%;
        margin: auto;
        border-bottom: 1px solid #717171;
        border-right: none;
    }

    #responsive-work-submenu li a {
        text-decoration: none;
        font-size: 20px;
        color: #000000;
    }

    .post-title-subtitle h4 {
        font-size: 18px;
    }

    .post-title-subtitle h5 {
        font-size: 14px;
    }

    #post-ajax-response .wpsisac-slick-slider button.slick-prev {
        top: 45% !important;
        width: 36px !important;
        height: 36px;
        padding: 10px !important;
        background: url("../img/arrow_left.png") white no-repeat center !important;
        background-origin: content-box !important;
        background-size: contain !important;
    }

    #post-ajax-response .wpsisac-slick-slider button.slick-prev:hover {
        cursor: pointer;
    }

    #post-ajax-response .wpsisac-slick-slider button.slick-next {
        top: 45% !important;
        width: 36px !important;
        height: 36px;
        padding: 10px !important;
        background: url("../img/arrow_right.png") white no-repeat center !important;
        background-origin: content-box !important;
        background-size: contain !important;
    }

    #post-ajax-response .wpsisac-slick-slider button.slick-next:hover {
        cursor: pointer;
    }

}

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

    .slick-image-slide,
    .slide-wrap {
        height: 100% !important;
        max-width: 100%;
    }

    .slick-slide img {
        height: auto !important;
        width: auto !important;
    }

}

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

    .grid .grid-item {
        position: relative;
    }

    .grid-item,
    .grid-sizer {
        width: 100%;
    }

    .height1 {
        width: 100%;
    }

    .width1 {
        width: 100%;
    }

    .height2 {
        width: 100%;
    }

    .post-title-subtitle h4 {
        font-size: 20px;
    }

    .post-title-subtitle h5 {
        font-size: 14px;
    }

}

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

    #masthead #brand {
        width: 70%;
    }

    #masthead .navigation {
        width: 30%;
    }

    #masthead #brand h1 a {
        font-size: 14px;
    }


	#post-ajax-response #close-ajax-response {
		width: 40px;
		height: 40px;
	}

	#post-ajax-response #close-ajax-response img {
		width: 40px;
		height: 40px;
	}
}

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

    #menu-main-menu,
    #menu-main-menu .sub-menu {
        text-align: left !important;
    }

    #menu-main-menu li {
        padding: 10px 0px;
        width: 40%;
        display: inline-block;
        margin: 0 5%;
        text-align: center;
        float: left;
    }

    #menu-main-menu li a {
        font-size: 16px;
    }

    #responsive-work-submenu .sub-menu {
        text-align: left !important;
    }

    #responsive-work-submenu .sub-menu li {
        padding: 10px 0px;
        width: 40%;
        display: inline-block;
        margin: 0 5%;
        text-align: center;
        float: left;
    }

    #responsive-work-submenu .sub-menu li a {
        font-size: 16px;
    }

    #mobile-social-icons {
        margin-bottom: 5px;
    }

}

@media only screen and (min-width: 320px) and (max-width: 479px) {

    #welcome-screen #enter img {
        width: 60% !important;
    }

}

@media only screen and (min-height: 560px) and (max-height: 850px) {

    #welcome-screen #enter img {
        width: 45%;
        padding-top: 5%;
    }

}

@media only screen and (min-height: 401px) and (max-height: 559px) {

    #welcome-screen #enter img {
        width: 40%;
    }

}

@media only screen and (max-height: 400px) {

    #welcome-screen #enter img {
        width: 40%;
    }

}

/* End Responsive */