
/* full view: md, lg */
@media (min-width: 992px) {
    .half-wrapper {
        width: calc(50% - 30px);
    }
    
    .main.maps .half-wrapper:nth-child(1) .contacts-wrapper {
        text-align: right;
    }
}

/* responsive view: xxs, xs, sm */
@media (max-width: 992px) {
	
	
	h1 {
		font-size: 30px;
	}
	h2, h3 {
		font-size: 25px;
	}
	
	.pagination {
		text-align: center;
	}
	
	.pagination li a {
		font-size: 1.6em !important;
		margin: 5px;
		padding: 0.5em 0.8em !important;
	}
	
	ul#main-menu > li {
		display: block !important;
		border-top: solid 1px #CBEA93 !important;
	}
	
	ul#main-menu > li > a {
		text-align: left !important;
	}
	
	#modal-login .row > div,
	#modal-join .row > div {
		margin: 10px 0px;
	}
	
	#modal-login .btn,
	#modal-join .btn {
		width: 100%;
	}
	
	#footer {
		text-align: center;
	}
	
	#footer ul {
		text-align: left !important;
	}
	
	.sidebar .banners {
		 text-align: center;
	}
	
	.sidebar .banner {
		display: inline-block;
		margin: 10px;
	}
}

/* lg only */
@media (min-width:1200px) {
	.caption h2,
    .caption h3 {
        font-size: 30px;
    }
    
    .notices-wrapper {
        top: 0px;
        max-width: 360px;
        height: 720px;
        background: #222;
    }
    
    .date-and-title {
        width: 100%;
    }
    
    .pagination li a {
    	padding: 6px 12px;
    	font-size: 18px;
    }
}

/* md only */
@media (min-width: 992px) and (max-width: 1199px) {
	.caption h2,
    .caption h3 {
        font-size: 27px;
    }
    
    .notices-wrapper {
        top: 80px;
        background: rgba(0, 0, 0, 0.75);
    }
    
    #menu_desktop ul.level-1 > li > .item > a {
        font-size: 14px;
    }
    
    #header .logo {
		width: 140px;
		height: 74px;
    }
    
	.logos {
		max-width: 540px;
	}
}

/* sm only */
@media (min-width: 768px) and (max-width: 991px) {
	.caption h2,
    .caption h3 {
        font-size: 23px;
    }
    
    .half-wrapper {
        width: calc(50% - 30px);
    }
    
    .main.maps .half-wrapper:nth-child(1) .contacts-wrapper {
        text-align: right;
    }
}

/* xs+xxs only */
@media (max-width: 767px) { 
	h1 {
		text-align: center;
		font-size: 28px;
	}
	h2, h3 {
		font-size: 22px;
	}
    
    .half-wrapper {
        width: calc(100% - 30px);
    }
    
	.notices-wrapper {
		 position: relative;
		 margin-bottom: 20px;
	}
	
	.banners .banner {
		max-width: 100%;
		text-align: center;
		margin-bottom: 25px;
	}
	
	.page-content table tr td {
		min-width: 100% !important;
		display: inline-block;
	}
}

/* xxs only */
@media (max-width: 479px) { 
    .col-xxs-12 {
        width: 100%;
    }
    
    .col-xxs-6 {
    	width: 50%;
    	float: left;
    }
    
	.notice-wrapper {
		text-align: center;
		margin-bottom: 30px;
	}
}



.logo-wrapper-responsive img{
	width: auto;
	display: inline-block;
}

.comm-logos-container {
    display: block;
    flex-direction: row;
    width: 100%;
    animation-name: none;
    animation-duration: 18s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
    text-align: center;
    float: none;
    margin: 20px auto 0 auto;
}

.logos-wrapper-responsive {
	height: 90px;
}

@keyframes scrolllogos {
	0% {transform: translateX(-120%);}
	50% {transform: translateX(100%);}
	100% {transform: translateX(-120%);}
}
