/******************************
RESPONSIVE STYLES 
******************************/

@media screen and (max-width: 1400px) {
	.close-section{
		top: 30px;
    	left: 30px;
	}
}
@media screen and (max-width: 1225px) {
	.news-line{
		width: 100%;
	}
}
@media screen and (max-width: 1200px) {
	.left-side-content{
		padding: 70px 30px 30px 60px;
	}
	.close-section{
		position: absolute;		
	}
	.move-down{
		left: 15px;
	}
	.section-content img {
		height: auto !important;
		width: auto !important;
	}
}
@media screen and (max-width: 1150px) {
	.main-info .container.flexbox{
		padding-right: 0;
	}
	.popup .table > .cell:last-child{
		width: 40%;
	}
}

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

	#fb-editor {
		padding-left: 20px;
		padding-right: 20px;
	}

}

@media screen and (max-width: 1000px) { /* Target Screen Width */
	.top-bar .logo-img{
	    width: 51px;
	}
	.top-bar .logo{
	    top: 10px;
	}
	.top-bar .logo p{
	    font-size: 22px;
	    line-height: 26px;
	    margin-bottom: 0;
	}
	.top-bar .logo div:last-child{
	    padding: 3px 0 0 12px;
	}
	.top-bar .logo span{
	    display: none;
	}
	.logo-wrapper{
		width: 250px;
	}
	.nav-menu {
	    width: 33.33%;
	    padding-right: 15px;
	}
	.logo.logo-lg .logo-img {
	    width: 80px;
	    min-width: 80px;
	}
	.logo.logo-lg p {
	    font-size: 26px;
	    line-height: 28px;
	}
	.logo.logo-lg span{
		font-size: 12px;
	}
	.left-side-content {
    	padding: 80px 30px 30px 30px;
	}
	#menu{
		min-height: auto;
	}
	#menu .container {
	    padding: 110px 15px 50px;
	}
	.main-content .sidebar{
		width: 340px;
	}
	.main-content {
    	padding: 40px 0 50px;
	}
	.toggle-content{
		padding-bottom: 70px;
	}
	.main-info h1{
		font-size: 54px;
		line-height: 62px;
	}
	.resources-wrapper ul{
	    padding: 15px 15px 20px 15px;
	}
	.main-content .sidebar {
    	width: 275px;
    	padding-left: 30px;
	}
	.toggle-content li{
		padding-left: 37px;
	}
}

@media screen and (max-width: 900px) {
	h1,
	.main-info h1 {
	    font-size: 50px;
	    line-height: 58px;
	}
	h2{
		font-size: 38px;
		line-height: 42px;
	}
	.main-info .container.flexbox{
		padding: 0;
	}
	.main-info{
		height: auto;
	}
	.main-info .left-box{
		padding: 50px 15px;
		text-align: center;
	}
	.main-info .right-box,
	.main-info .left-box{
		width: 100%;
	}
	.main-info .left-box p{
		max-width: 600px;
		margin: 0 auto;
	}
	.main-info .left-box h3:after{
    	content: "";
	}
	.move-down{
		display: none;
	}
	.top-img-banner{
		height: 277px;
		width: 100%;
		max-width: 450px;
		position: relative;
		top: -30px;
		z-index: 10;
		margin: 0 auto;
	}
	.main-info .right-box {
		padding: 0 40px;
	}
	.news-wrapper{
		margin-left: 0;
		top: 0;
	}
	.news-box, .news-box.hidden{
		width: 50%;
		padding-top: 50px;
	}
	.news-line{
		top: 105px;
	}
	.news-line.move:before{
	    left: 51%;
	}
	.quick-links-wrapper .flexbox{
		justify-content: center;
	}
	.quick-links-wrapper .ql-box{
		width: 40%;
	}
	.quick-links-wrapper{
		padding: 200px 0 40px;
	}
	.quick-links-wrapper .ql-box:before, 
	.quick-links-wrapper .ql-box:after{
		content: none !important;
	}
	.resources-wrapper{
		padding-bottom: 40px;
	}
	.resources-wrapper ul:first-child{
		border-left: none;
	}
	.resources-wrapper ul:last-child{
		border-right: none;
	}
	.main-content .content,
	.main-content .sidebar{
		display: block;
	}
	.breadcrumbs{
		margin-bottom: 50px;
	}
	.main-content .sidebar{
		width: 100%;
		margin: 30px auto;
		padding-left: 0;
	}
	.quick-links-menu{
		display: flex;
	}
	.quick-links-menu li{
		text-align: center;
	    padding: 20px 15px 15px;
	}
	.toggle-head{
	    padding: 37px 80px 31px 0;
	}
}	

@media screen and (max-width: 840px) {
	#dash-btn > a,
	a#logout {
		font-size: 11px;
		text-align: center;
	}
	
	#dash-btn > a i,
	a#logout i {
	    display: block;
	    margin: -7px 0 4px 0;
	    font-size: 20px;
	}
	
	.logo-wrapper + ul {
		padding-top: 10px;
	}
}

@media screen and (max-width: 770px) { /* Tablet View */
	body {
		cursor: pointer; /* iOS Clicking Fix */
	}
	.top-bar li:first-child {
    	margin-right: 20px;
	}
	.popup .table > .cell:last-child {
    	width: 30%;
	}
	.quick-links-wrapper .ql-box{
		width: 50%;
	}
	.resources-wrapper ul{
		width: 50%;
		border-left: none;
		padding-bottom: 0;
	}
	.breadcrumbs {
    	margin-bottom: 30px;
	}
	.main-content h1:after {
    	margin: 15px 0 15px 7px;
	}
	.toggle-box.toggle-open .toggle-head{
		padding-left: 15px;
	}
	.toggle-head{
		font-size: 22px;
	}
	.toggle-list {
    	margin-top: 30px;
	}
	.toggle-head:before, .toggle-head:after{
		top: 47px;
	}
	.quick-links-menu{
		flex-wrap: wrap;
	}
	.quick-links-menu li{
		width: 50%;
	}
	.quick-links-menu h3{
		max-width: 150px;
	}
	
	#search {
		text-align: center;
		margin-top: -7px;
	}
	
	#search > i {
		display: block;
		margin: 0 auto 4px !important;
		padding-right: 3px;
	}
	
	#search:after {
		content: "Search";
		display: block;
		width: 100%;
		text-align: center;
		font-size: 11px;
	}
	
	#menu-btn {
		margin-top: -16px;
	}
	
	#home #main-info .left-box {
		padding-left: 30px;
		padding-right: 30px;
	}
	
}

@media screen and (max-width: 700px) {
	.logo-wrapper{
		width: 51px;
	}
	.top-bar .logo{
		top: 3px !important;
	}
	.top-bar .logo p{
		display: none;
	}
}

@media screen and (max-width: 670px) { /* Phone View */
	h3{
		font-size: 22px;
		line-height: 26px;
	}
	.top-bar li:first-child span{
		display: none;
	}
	#header, .top-bar{
		height: 65px;
	}
	#inner .top-bar .logo,
	.search-box.show + .top-bar .logo {
		top: 3px !important;
	}
	.search-box .search-form{
		padding: 0;
	}
	#menu{
		height: 100%;
	}
/*
	#menu .container{
		position: absolute;
		width: 100%;
		height: 100%;
		overflow-y: auto;
		padding-bottom: 30px;
	}
*/
	.main-nav{
		flex-wrap: wrap;
	}
	.nav-menu{
		width: 100%;
	}
	.nav-menu a{
		font-size: 18px;
	}
	.main-info h1, h1{
		font-size: 42px;
		line-height: 46px;
	}
	.popup .table > .cell:last-child{
		display: none;
	}
	.left-side-content{
		padding-top: 50px;
	}
	.popup-content .logo{
		margin-bottom: 40px;
	}
	.close-section{
		top: 20px;
		left: auto;
		right: 30px;
	}
	.top-bar li:first-child,
	.top-bar li:nth-child(2){
		margin-right: 15px;
	}
	.main-info h1{
		white-space: normal;
	}
	.news-line{
		display: none;
	}
	.news-box, .news-box.hidden{
		padding: 30px 15px;
	}
	.news-box-top {
	    min-height: 57px;
	    padding-bottom: 30px;
	}
	.footer-main{
		padding: 25px 0;
	}
	.footer-bottom{
		flex-direction: column;
	}
	.footer-bottom .copyright{
		margin: 15px 0;
		text-align: center;
	}
	.footer-bottom{
		padding: 20px 0;
	}
	.toggle-list {
    	margin-top: 0;
	}
	.toggle-head,
	.toggle-content li{
		padding-left: 15px;
	}
	.toggle-open .toggle-head span:after{
		content: none;
	}
	.toggle-content {
    	padding-bottom: 40px;
	}
	
	#home #main-info h1 {
		font-size: 32px;
		line-height: 40px;
		margin-bottom: 12px;
	}
}
@media screen and (max-width: 500px) {
	.main-info h1, h1, h2 {
	    font-size: 36px;
	    line-height: 40px;
	}
	h3, .quick-links-menu h3 {
    	line-height: 22px;
		font-size: 18px;
	}
	.logo.logo-lg span{
		display: none;
	}
	.left-side-content{
		padding: 50px 15px 30px;
	}
	.top-bar, .popup{
		border-width: 4px;
	}
	.search-box.show {
	    height: 60px;
	    padding: 5px 0 5px 0;
	}
	.news-box{
		width: 100%;
		background: rgba(22, 22, 22, 0.5);
	}
	.news-box h4{
		font-size: 18px;
	}
	.news-box:last-child{
		padding-top: 0;
	}
	.news-box:last-child .news-box-top{
		display: none;
	}
	.news-box p, .news-box h4{
		min-height: auto;
	}
	.quick-links-wrapper .ql-box{
		padding: 10px;
	}
	.quick-links-wrapper .icon {
    	width: 60px;
    	height: 48px;
    	background-size: contain;
    }
	.resources-wrapper .container > p {
    	margin-bottom: 20px;
	}
	.resources-wrapper ul{
		width: 100%;
		padding: 0 0 15px;
	}
	.resources-wrapper {
    	padding-bottom: 20px;
	}
	.footer-bottom .copyright{
		font-size: 12px;
	}
	.toggle-head {
    	font-size: 20px;
    	padding: 26px 50px 24px 15px;
	}
	.toggle-head:before, .toggle-head:after {
    	top: 36px;
    	right: 15px;
    	width: 18px;
	}
	.toggle-content li a{
		font-size: 14px;
	}
	.toggle-content li{
		padding-right: 15px;
	}
	.quick-links-menu li.active:after{
		content: none;
	}
	.quick-links-menu li{
		padding: 10px;
		border-bottom: none;
	}
	.main-content .sidebar{
		margin-bottom: 0;
	}
	
	#top-nav-alt {
		padding: 30px;
		text-align: center;
		border-bottom: 2px solid #FFF;
	}
	
	#top-nav-alt > li {
		display: inline-block !important;
		margin-top: 0;
	}
	
	.top-bar li#dash-btn,
	.top-bar li#toggle-user {
		display: none !important; 
	}
	
	#top-nav-alt #dash-btn > a, #top-nav-alt a#logout {
		font-size: 14px;
	}
	
	#top-nav-alt #dash-btn > a i, #top-nav-alt a#logout i {
		margin-top: 0;
	}
	
	#top-nav-alt #dash-btn::after, #top-nav-alt #dash-btn + li::after {
		top: 10px;
	}
	
	#top-nav-alt #toggle-user {
		padding: 0;
		margin: 0;
	}
	
	#top-nav-alt #toggle-user:after {
		display: none !important;
	}
	
	.section-content {
    	padding: 0px 30px 20px 30px;
    }
}

@media screen and (max-width: 380px) {
	#menu .container{
		padding-top: 110px;
	}
	.top-bar li:first-child a{
		max-width: 100px;
		vertical-align: top;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.top-bar .fa-user {
	    margin-right: 5px;
	}
	#top-nav-alt > li:nth-child(3) {
		margin-top: 20px !important;
	}

	.logo.logo-lg .logo-img {
	    width: 60px;
	    min-width: 60px;
	}
	.logo.logo-lg p {
	    font-size: 20px;
	    line-height: 24px;
	}
	.btn{
		padding: 16px 15px 15px;
	}
	.footer-main p{
		font-size: 14px;
	}
	.toggle-head{
		font-size: 18px;
	}
	
	.main-info .left-box {
		padding-top: 25px !important;
	}
	
	#home #main-info h1 {
    	font-size: 25px;
		line-height: 34px;
		margin-bottom: 8px;
	}
	
	#home #main-info .left-box {
		padding-left: 10px;
		padding-right: 10px;
	}
	
	.main-info .right-box {
		padding: 10px;
	}
}