
/* full view: md, lg */
@media (min-width: 992px) {
    .news-content-wrapper {
        position: absolute;
        width: calc(100% - 15px);
        height: 360px;
    }
    
    .image-left {
        left: 0px;
    }
    
    .news-content-wrapper .news-content {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .news-content-wrapper .news-content .news-title {
        margin-top: 0px;
    }
    
    .mobile-view .email {
        padding-right: 6px;
    }
    
    .mobile-view .phone {
        padding-left: 6px;
    }
    
    .team-member {
        margin-bottom: 30px;
    }
    
    span.date {
        font-size: 14px;
    }
}

/* 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;
	}
    
    .news-content-wrapper.image-right {
        margin-bottom: 20px;
    }
    
    .news-content-wrapper.image-left {
        margin-top: 20px;
    }
    
    .firstpage-news {
        border-top: 2px solid #7AAB02;
        padding-top: 30px;
    }
    
    .firstpage-news:nth-of-type(1) {
        border-top: 2px solid transparent !important;
    }
}

/* lg only */
@media (min-width:1200px) {
	.caption h2,
    .caption h3,
    .caption h4 {
        font-size: 75px;
    }
    
    .caption p {
        font-size: 27px;
    }
    
    h3.news-title {
        font-size: 48px;
        font-weight: 400;
    }
    
    .firstpage-news-list-title {
        font-size: 56px;
    }
}

/* md only */
@media (min-width: 992px) and (max-width: 1199px) {
	.caption h2,
    .caption h3,
    .caption h4 {
        font-size: 60px;
    }
    
    .caption p {
        font-size: 23px;
    }
    
    h3.news-title {
        font-size: 32px;
    }
    
    .firstpage-news-list-title {
        font-size: 48px;
    }
}

/* sm only */
@media (min-width: 768px) and (max-width: 991px) {
	.caption h2,
    .caption h3,
    .caption h4 {
        font-size: 45px;
    }
    
    .caption p {
        font-size: 18px;
    }
    
    h3.news-title {
        font-size: 27px;
    }
    
    .firstpage-news-list-title {
        font-size: 40px;
    }
}

/* xs+xxs only */
@media (max-width: 767px) { 
	h1 {
		text-align: center;
		font-size: 42px;
	}
	h2, h3 {
		font-size: 36px;
	}
    
    h3.news-title {
        font-size: 23px;
    }
    
    .firstpage-news-list-title {
        font-size: 36px;
    }
    
    .firstpage-news:nth-child(2n) {
        padding-bottom: 30px;
        margin-bottom: 0px !important;
        background: #EDf7d6;
    }
    
    .team-member {
        padding: 20px 15px;
    }
    
    .team-member:nth-child(2n+1) {
        background: #EDEDED;
    }
    
    span.date {
        font-size: 17px;
        width: 100%;
        position: relative;
        display: block;
    }
    
    /**
    .firstpage-news:nth-child(2n+1) {
        margin-top: 0px;
    }
    **/
}

/* xxs only */
@media (max-width: 479px) { 
    .col-xxs-12 {
        width: 100%;
    }
}