/******************************
  RESPONSIVE STYLES 
******************************/
@media screen and (max-width: 1250px) {
    .half-box {
        width: 100%;
    }
}
@media screen and (max-width: 1200px) {
    .nav-menu > li,
    #inner .nav-menu > li {
        margin-right: 0;
    }
    .footer-wrapper .cell:last-child {
        width: 280px;
        padding: 0 0 0 20px;
    }
    .main-content {
        min-height: auto;
    }
}
@media screen and (max-width: 1100px) {
    .nav-menu > li > a,
    #inner .nav-menu > li > a {
        letter-spacing: normal;
        font-size: 14px;
    }
    .search-btn {
        right: 0;
    }
    .search-box form {
        width: calc(100% - 40px);
    }
    .main-content .container {
        padding: 0 0 0 20px;
    }
    .striped {
        width: 100%;
    }
    .striped li:first-child div,
    .striped div,
    .striped div.note {
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media screen and (max-width: 1000px) { /* Target Screen Width */
    /*=== Header & Footer ===*/
    .header-menu .cell:last-child {
        padding: 0 20px 0 10px;
    }
    .header-menu .cell:first-child,
    #inner .header-menu .cell:first-child {
        width: 200px !important;
    }
/*
    .fixed .nav-menu > li > a,
    #inner .nav-menu > li > a {
        padding: 35px 10px 33px;
    }
    .fixed .search-btn,
    #inner .search-btn {
        margin-top: -6px;
    }
*/
    .sub-menu {
        min-width: 255px;
    }
    .sub-ctrl:after {
        font-size: 16px;
    }

    /*=== Homepage ===*/
    .bg-box {
        padding: 50px 0;
    }
    .banner-logo {
        width: 430px;
        height: 138px;
        background-size: contain;
    }
    .quick-links li {
        padding: 0 10px;
    }
    .events-wrapper .cell:last-child .half-box {
        padding: 0 50px;
    }
    .info-wrapper {
        padding: 50px 0 35px;
    }

    /*=== Inner Pages ===*/
    .main-content .sidebar {
        width: 360px;
    }
    .main-content .sidebar .bg-box {
        padding: 40px;
    }
    .blog-box {
        margin-left: 40px;
    }
}

@media screen and (max-width: 900px) {
    /*=== Header & Footer ===*/
    #header {
        height: 85px;
    }
    .header-wrapper {
        height: inherit;
    }
    .header-menu {
        height: 100%;
    }
    .header-menu .cell:first-child {
        width: 220px;
        padding-left: 20px;
    }
    .header-menu .cell:last-child,
    #inner .header-menu .cell:last-child {
        text-align: right;
    }
    .header-menu .cell:last-child .relative {
        position: static;
    }
    .header-menu .logo {
        width: 200px;
    }
    .search-btn,
    #inner .search-btn {
        position: static;
        margin-top: 0;
        vertical-align: middle;
    }
    .close-search {
        position: absolute;
        top: -53px;
        right: 71px;
    }
    .search-box {
        top: 100%;
        margin-top: 0;
        padding: 10px 20px;
        border-top: 1px solid #ededed;
        background-color: #fff;
    }
    .search-box .search-form {
        text-align: center;
    }
    .search-box form {
        width: 70%;
        margin-right: 0;
    }

    .footer-wrapper {
        padding: 45px 0 30px;
        border-top-width: 7px;
    }
    .footer-wrapper .cell:first-child,
    .footer-wrapper .cell:last-child {
        width: 250px;
    }
    .footer-wrapper .cell:last-child {
        padding: 0 0 0 15px;
    }
    .footer-wrapper .logo {
        width: 235px;
        height: 76px;
    }
    .copyright {
        padding-top: 20px;
    }

    /*=== Navigation ===*/
    #nav-btn {
        display: inline-block;
        margin-left: 15px;
        vertical-align: middle;
    }
    #nav-close-btn {
        position: absolute;
        top: 35px;
        right: 55px;
        display: block;
        z-index: 5;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        max-width: 60%;
        width: 0;
        margin: 0;
        -webkit-transition: all 0.6s ease 0s;
        -moz-transition: all 0.6s ease 0s;
        -ms-transition: all 0.6s ease 0s;
        -o-transition: all 0.6s ease 0s;
        transition: all 0.6s ease 0s;
        color: #fff;
        background-color: #181818;
        overflow: hidden;
        overflow-y: auto;
        z-index: 110;
    }
    .open .main-nav {
        width: 100%;
        -webkit-transition: all 0.8s ease 0s;
        -moz-transition: all 0.8s ease 0s;
        -ms-transition: all 0.8s ease 0s;
        -o-transition: all 0.8s ease 0s;
        transition: all 0.8s ease 0s;
    }
    #inner .main-nav {
        margin: 0;
    }
    body.show-search .main-nav,
    body.show-search .top-bar .cell >*:not(.search-box):not(.search-btn) {
        opacity: 1;
        visibility: visible;
    }
    .main-nav nav {
        position: relative;
        min-width: 415px;
        padding: 80px 80px 40px 40px;
        text-align: left;
    }
    .nav-menu {
        white-space: normal;
        text-align: left;
    }
    .nav-menu > li {
        display: block;
        margin: 0;
    }
    .nav-menu > li > a,
    #inner .nav-menu > li > a {
        display: block;
        padding: 15px 30px 12px 15px;
        border-bottom: 1px solid #000;
        line-height: normal;
        letter-spacing: 0.35px;
        font-size: 20px;
        -webkit-box-shadow: 0px 1px rgba(255, 255, 255, 0.2);
        -moz-box-shadow: 0px 1px rgba(255, 255, 255, 0.2);
        box-shadow: 0px 1px rgba(255, 255, 255, 0.2);
    }
    .nav-menu > li:last-child > a {
        border-bottom: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    li.has-child:hover > a,
    .nav-menu > li > a:hover {
        font-family: 'Montserrat-Medium';
        color: inherit;
    }
    .nav-menu li.active > a {
        font-family: 'Montserrat-Bold';
        color: #16b0ba;
    }

    .sub-ctrl,
    #inner .sub-ctrl {
        top: 7px;
        right: 0;
        width: 30px;
        height: 40px;
        margin-top: 0;
    }
    .sub-ctrl:after {
        content: "\f105";
        font: 22px/40px Font Awesome\ 5 Pro;
        font-weight: bold;
    }
    .sub-ctrl.show {
        -webkit-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        transform: rotate(90deg);
    }
    .sub-menu {
        position: static;
        display: none;
        min-width: 100%;
        width: 100%;
        margin: 0 !important;
        padding: 9px 20px;
        text-align: inherit;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform:none;
        -o-transform: none;
        transform: none;
        -webkit-transition: none;
        -moz-transition: none;
        -ms-transition: none;
        -o-transition: none;
        transition: none;
        background-color: transparent;
        opacity: 1;
        visibility: visible;
    }
    .sub-menu:after {
        content: none;
    }
    .sub-menu li a {
        display: block;
        padding: 0 10px;
    }
    .sub-menu li a:hover {
        font-family: inherit;
    }

    /*=== Homepage ===*/
    .bg-box {
        padding: 45px 0;
    }
    .half-box,
    .events-wrapper .cell:last-child .half-box {
        padding: 0 20px;
    }
    .content-wrapper {
        padding: 40px 0;
    }
    .info-wrapper {
        padding: 40px 0 25px;
    }
    .notices-list {
        margin: -3px -20px 0;
    }
    .notices-list a {
        padding: 14px 20px;
    }
    .events-list .cell:first-child {
        width: 60px;
        padding-right: 15px;
    }
    .quick-links .icon {
        width: 150px;
        height: 150px;
    }

    /*=== Inner Pages ===*/
    .breadcrumbs {
        margin-bottom: 45px;
    }
    .main-content {
        padding: 45px 0 50px;
    }
    .main-content .container {
        padding: 0 15px;
    }
    .main-content .container > .table,
    .main-content .col-left,
    .main-content .col-right {
        display: block;
    }
    .main-content .col-left {
        padding-top: 0;
    }
    .main-content .sidebar {
        width: 320px;
        margin: 30px auto 0;
        padding: 0;
    }
    .main-content .sidebar .bg-box {
        padding: 35px 40px;
    }
    .striped {
        margin: 35px 0 20px;
    }
    .sub-nav ul li:last-child {
        margin-bottom: 0;
    }
    .blog-box {
        margin: 0 auto;
    }
    .doc-list > li {
	    padding: 15px 10px;
    }
    
	.agendas-archive,
	.options {
		padding: 0;
	}
}

@media screen and (max-width: 770px) { /* Tablet View */
    /*=== Main ===*/
    body {
        cursor: pointer; /* iOS Clicking Fix */
    }
    h1,
    .info-wrapper h2 {
        font-size: 30px;
        letter-spacing: 0.5px;
    }
    h2 {
        font-size: 22px;
    }
    h3 {
        line-height: 24px;
    }

    /*=== Header & Footer ===*/
    #nav-close-btn {
        right: 40px;
    }
    .main-nav nav {
        min-width: 392px;
        padding: 80px 40px 40px;
    }
    .nav-menu > li > a,
    #inner .nav-menu > li > a {
        font-size: 18px;
    }
    .sub-ctrl,
    #inner .sub-ctrl {
        top: 6px;
    }

    .footer-wrapper {
        text-align: center;
    }
    .footer-wrapper .table,
    .footer-wrapper .cell {
        display: block;
    }
    .footer-wrapper .cell:first-child,
    .footer-wrapper .cell:last-child {
        width: 100%;
        padding: 0;
    }
    .footer-wrapper .cell:last-child {
        margin-top: 20px;
    }
    .footer-menu li {
        margin-bottom: 0;
    }
    .footer-menu a {
        font-size: 14px;
    }

    /*=== Homepage ===*/
    .banner-text {
        max-width: 500px;
    }
    .banner-logo {
        width: 380px;
        height: 122px;
    }
    .quick-links li {
        padding: 0 5px;
    }
    .icon-calendar {
        width: 40px;
        height: 63px;
    }
    .icon-folder {
        width: 70px;
        height: 56px;
    }
    .icon-location {
        width: 48px;
        height: 71px;
    }
    .icon-event {
        width: 62px;
        height: 58px;
    }
    .quick-links .icon {
        width: 140px;
        height: 140px;
    }
    .quick-links .icon-calendar {
        background-size: 40px;
    }
    .quick-links .icon-folder {
        background-size: 66px;
    }
    .quick-links .icon-location {
        background-size: 48px;
    }
    .quick-links .icon-event {
        background-size: 62px;
    }
    .events-wrapper > .table,
    .events-wrapper > .table > .cell {
        display: block;
        text-align: center;
    }
    .events-wrapper .half-box >:first-child {
        text-align: center;
    }
    .events-list {
        margin-top: 30px;
    }
    .events-list .table {
        width: auto;
    }
    .sub-nav ul li {
        margin: 11px 0;
    }
    .sub-nav > li > a {
        margin-bottom: 18px;
        font-size: 22px;
    }
}

@media screen and (max-width: 670px) { /* Phone View */
    /*=== Header & Footer ===*/
    .search-box form {
        width: 80%;
    }
    .main-nav {
        max-width: 80%;
    }
    .main-nav nav {
        min-width: 384px;
    }

    /*=== Homepage ===*/
    .banner .single-banner {
        background-attachment: fixed;
    }
    .banner-content {
        margin-bottom: 25px;
        line-height: 26px;
    }
    .quick-links {
        margin-bottom: -30px;
    }
    .quick-links li {
        width: 40%;
        margin-bottom: 30px;
    }
    .striped li:first-child div,
    .striped div,
    .striped div.note {
        padding-right: 15px;
        padding-left: 15px;
    }
    
	/*=== Staff Page ===*/
	.all-staff .modal.img-box {
		float: none;
		margin: 0 0 15px 0;
		height: 250px;
		width: 250px;
	}
	.staff-modal .cell {
		display: block;
		padding: 0 !important;
		height: auto;
		width: 100% !important;
	}
	.staff-modal figure {
		height: auto;
		margin-bottom: 20px;
	}
}

@media screen and (max-width: 580px) {
	.meetings-section table colgroup col:not(:first-child) {
		width: 0 !important;
	}
	.meetings-section table thead tr th:not(:first-child),
	#agendas-load > tr > td:not(:first-child) {
		display: none;
	}
	#agendas-load > tr > td > div {
		display: block !important;
		padding-top: 15px;
	}
	#agendas-load > tr > td > div a + a {
		margin-left: 15px;
	}
	
	.forms-permits-section .doc-list > li {
		padding: 15px;
	}
	.forms-permits-section .doc-list .download {
		display: block;
		position: relative;
		left: 0;
		top: 0;
		margin-top: 15px;
	}
}

@media screen and (max-width: 480px) {
    /*=== Main ===*/
    h1,
    .info-wrapper h2 {
        font-size: 26px;
    }
    h2,
    .sub-nav > li > a {
        font-size: 20px;
    }
    .btn {
        font-size: 15px;
    }
    .btn + .btn {
        margin-left: 0;
    }

    /*=== Header & Footer ===*/
    #header {
        height: 75px;
    }
    .header-menu .cell:first-child {
        width: 180px;
    }
    .header-menu .logo {
        display: block;
        width: 160px;
    }
    #nav-close-btn {
        top: 30px;
        right: 30px;
        font-size: 32px;
    }
    .main-nav {
        max-width: 95%;
    }
    .main-nav nav {
        min-width: 340px;
        padding: 80px 30px 30px;
    }
    .close-search {
        top: -49px;
    }
    .search-box form {
        width: 100%;
    }
    .footer-wrapper .logo {
        width: 200px;
        height: 64px;
    }

    /*=== Homepage ===*/
    .banner-logo {
        width: 300px;
        height: 97px;
    }
    .quick-links li {
        width: 50%;
    }
    .notices-list {
        margin: -8px -20px 0;
    }
    .notices-list h4:after,
    .sub-nav > li > a:after {
        margin: 0;
    }
    .events-list {
        margin-top: 20px;
    }
    .events-list li a > .table > .cell:first-child {
	    vertical-align: top !important;
    }
    .events-list li:last-child {
        margin-bottom: 5px;
    }
    .events-list .date {
        letter-spacing: 0.5px;
        font-size: 16px;
    }
    .breadcrumbs {
        margin-bottom: 30px;
    }
    .sub-nav ul li a {
        line-height: 22px;
        font-size: 14px;
    }
    .striped li:first-child div {
        padding-right: 10px;
        padding-left: 10px;
        line-height: 22px;
        font-size: 14px;
    }
    .striped div {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 12px;
    }
    .striped div.note {
        padding: 0 10px 9px;
    }
    
	/*=== Pagination ===*/
	.add-filter .paging-result-total {
		padding-right: 0;
		margin-bottom: 15px;
	}
	.paging-total-clear .btn {
		position: relative;
		padding: 15px;
	}
}

@media screen and (max-width: 360px) {
	/*=== Side navigation ===*/
	.side-nav {
		padding: 25px 10px;
	}
	
    /*=== Header & Footer ===*/
    #nav-btn {
        font-size: 28px;
    }
    #nav-close-btn {
        right: 20px;
        font-size: 28px;
    }
    .main-nav nav {
        min-width: 300px;
        padding: 70px 20px 25px;
    }
    .nav-menu > li > a,
    #inner .nav-menu > li > a {
        font-size: 16px;
    }
    .sub-ctrl,
    #inner .sub-ctrl {
        top: 5px;
    }
    .close-search {
        right: 67px;
    }
    .search-box input[type="text"] {
        width: calc(100% - 90px);
        padding: 12px 10px;
    }
    .search-box input[type="submit"] {
        min-width: 84px;
        padding: 13px 10px 12px;
    }

    /*=== Layout ===*/
    .banner-logo {
        width: 240px;
        height: 77px;
    }
    .quick-links li {
        width: 100%;
        padding: 0;
    }
    .main-content .sidebar {
        width: 100%;
    }
}