@charset "utf-8";
/* CSS Document */

@media all {
	
	#programs-all {
		margin-top: 50px;
		margin-bottom: 50px;
		margin-left: auto;
		margin-right: auto;
		justify-content: center;
		align-content: center;
		text-align: center;
	}

	.program-container {
		width: 380px;
		height: 320px;
		display: inline-block;
		margin: 20px 20px;
		text-align: left;

		text-overflow: ellipsis;
		overflow: hidden;

		border: thin solid rgba(121,153,255,0.00);
		transition: all 0.3s;
		padding: 5px;
	}

	.program-container:hover {
		border: thin solid rgba(121,153,255,1.00);
		transition: all 0.3s;
	}

	.program-avatar {
		height: 200px;
		background-repeat: no-repeat;
		background-size: cover;
		*background-position: center;
		background-position-y: 30%;
	}

	h2 {
		text-transform: uppercase;
		font-style: italic;
		margin-top: 12px;
		color: black;
	}

	.subheader {
		padding-left: 50px;
		width: 900px;
		margin-left: auto;
		margin-right: auto;
		font-family: "Roboto Regular", "M.Video Regular", Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
		color: white;
		text-decoration: none;
	}

	.program-container p {
		margin: 0px;
		margin-top: 10px;
		display: inline-block;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
		color: #000c54;
		font-style: italic;
		text-align: justify;
	}

	#program-descr {
		width: 900px;
		margin: 50px auto;
	}

	#program-descr ul, #program-descr ol {
		padding-left: 2em;
	}
}

@media all and (max-width: 1023px) {
	.program-container {
		width: 90%;
		height: 50%;
	}
	
	.program-avatar {
		height: 300px;
	}
	
	.program-container p {
		font-size: 0.8em;
	}
	
	h2 {
		font-size: 1em;
	}
	
	.subheader {
		padding-left: 0px;
		text-align: center;
		width: auto;
	}
}
