h1, h1.header, h2, h2.header, h3, h3#subheader, h4, h4#subheader, h5, h5#subheader, h6, h6#subheader{
	padding:0;
	margin: 0;
	text-align: center;
	line-height: 100%;
	font-family: 'Oswald', sans-serif;
}

h1, h1.header{
	font-size: 50px;
}
h2, h2.header{
	font-size: 40px;
}
h3, h3#header{
	font-size: 30px;
}
h4, h4#subheader{
	font-size: 25px;
}
h5, h5#subheader{
	font-size: 20px;
}
h6, h6#subheader{
	font-size: 15px;
}
@media only screen and (max-width:768px) {
	h1, h1.header{
		font-size: 45px;
	}
	h2, h2.header{
		font-size: 35px;
	}
	h3, h3#header{
		font-size: 25px;
	}
	h4, h4#subheader{
		font-size: 20px;
	}
	h5, h5#subheader{
		font-size: 18px;
	}
	h6, h6#subheader{
		font-size: 15px;
	}
}
@media only screen and (max-width:640px) {
	h1, h1.header{
		font-size: 40px;
	}
	h2, h2.header{
		font-size: 30px;
	}
	h3, h3#header{
		font-size: 25px;
	}
	h4, h4#subheader{
		font-size: 20px;
	}
	h5, h5#subheader{
		font-size: 18px;
	}
	h6, h6#subheader{
		font-size: 15px;
	}
}
@media only screen and (max-width:480px) {
	h1, h1.header{
		font-size: 35px;
	}
	h2, h2.header{
		font-size: 25px;
	}
	h3, h3#header{
		font-size: 20px;
	}
	h4, h4#subheader{
		font-size: 18px;
	}
	h5, h5#subheader{
		font-size: 16px;
	}
	h6, h6#subheader{
		font-size: 14px;
	}
}
@media only screen and (max-width:320px) {
	h1, h1.header{
		font-size: 30px;
	}
	h2, h2.header{
		font-size: 25px;
	}
	h3, h3#header{
		font-size: 20px;
	}
	h4, h4#subheader{
		font-size: 18px;
	}
	h5, h5#subheader{
		font-size: 16px;
	}
	h6, h6#subheader{
		font-size: 14px;
	}
}
@media only screen and (max-width:240px) {
	h1, h1.header{
		font-size: 25px;
	}
	h2, h2.header{
		font-size: 20px;
	}
	h3, h3#header{
		font-size: 18px;
	}
	h4, h4#subheader{
		font-size: 14px;
	}
	h5, h5#subheader{
		font-size: 14px;
	}
	h6, h6#subheader{
		font-size: 13px;
	}
}
hr{
	padding:0;
	margin:0;
}	
hr.gradient-style {
	border: 0;
	height: 1px;
	background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
	background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
	background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
	background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
}
p.description{
	text-align:justify;
	padding:0;
	margin: 0;
}
button, .button, a.button {
	font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
	font-family: 'Oswald', sans-serif;
	font-size: 14px;
	border: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	background: #c30000;
	color:white;
	margin:0;
}
button:hover, button:focus, .button:hover, .button:focus, a.button:hover, a.button:focus {
	background-color: #800000;
}
input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
textarea {
	color: rgba(0, 0, 0, 0.85);
	font-size: 14px;
	font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
	font-family: 'Raleway', sans-serif;
	padding:0 10px;
	margin: 0 0 20px 0;
}
input.error, select.error, textarea.error{
	border-color:red;
}
.flip-horizontally {
  transform: scaleX(-1);
}

/**HEADER**/
#di-header {
color: #111;
	background-color: #f5f5f5;
	height: auto;
	text-align: left;
	position: relative;
	padding: 20px 10px;
}
#di-header h1, #di-header h2, #di-header h3, #di-header h4, #di-header h5, #di-header h6 {
	text-transform:uppercase;
	font-weight:700;
	text-align:left;
}
#di-header h1, #di-header h2, #di-header h3 {
	margin: 0 0 10px 0;
}
#di-header h4, #di-header h5, #di-header h6 {
	margin: 0 0 5px 0;
}

#di-header > div {
	width: 100%;
	height: auto;
	padding: 0 10px;
}
#di-header > div > div {
	display: inline-block;
	position: relative;
	float:left;
	padding:0;
	margin:0;
	width: auto;
	height:auto;
}
#di-header > div > div.left-side {
	float:left;
	padding:0;
	margin:0;
}
#di-header > div > div.right-side {
	float:right;
	padding:0;
	margin:0;
}
#di-header > div > div.right-side img{
	float:right;
}
#di-header img{
	height: 100px;
}
@media only screen and (min-width:641px) and (max-width:800px) {
	#di-header {
		padding: 15px 10px;
	}
	#di-header > div > div.right-side img {
		padding: 0;
		margin: 0;
		max-width:35%;
	}
}
@media only screen and (max-width:640px) {
	#di-header {
		padding: 10px;
	}
	#di-header h1, #di-header h1.header, #di-header h2, #di-header h2.header, #di-header h3, #di-header h3#header,
	#di-header h4, #di-header h4#subheader, #di-header h5, #di-header h5#subheader, #di-header h6, #di-header h6#subheader{
		text-align:center;
	}
	#di-header > div {
		text-align:center;
	}
	
	#di-header > div > div {
		text-align:center;
		width: 100%;
		height:auto;
	}
	#di-header > div > div.top-side {
		text-align:center;
	}
	#di-header > div > div.middle-side {
		text-align:center;
		margin: 10px auto 0 auto;
	}
	#di-header > div > div.middle-side img {
		padding:0;
		margin:0;
		max-width:30%;
	}
	#di-header > div > div.bottom-side {
		text-align:center;
		margin: 10px 0 0 0;
	}
}
@media only screen and (max-width:640px) and (orientation: landscape) {
}
@media only screen and (max-width:480px) {
	#di-header {
		padding: 10px 5px;
	}
	#di-header h1, #di-header h2, #di-header h3 {
		margin: 0 0 5px 0;
	}
	#di-header h4, #di-header h5, #di-header h6 {
		margin: 0 0 3px 0;
	}
	#di-header > div > div.middle-side {
		margin: 5px auto 0 auto;
	}
	#di-header > div > div.bottom-side {
		margin: 5px 0 0 0;
	}
}
@media only screen and (max-width:320px) {
}
@media only screen and (max-width:240px) {
	#di-header {
		padding: 5px 0;
	}
}

/**SUBFOOTER**/
#di-subheader {
color: #111;
	padding: 10px 20px;
	margin:0;
	height: auto;
}
#di-subheader h6 {
	text-align:left;
}
#di-subheader a {
	white-space: break-word;
	margin-bottom: 3px;
}
#di-subheader a.button {
	float: right;
	width: auto;
	padding: 7px 15px;
}
@media only screen and (min-width:769px) and (max-width:1024px) {
}
@media only screen and (min-width:641px) and (max-width:768px) {
}
@media only screen and (max-width:640px) {
	#di-subheader {
		padding: 10px;
	}
	#di-subheader a.button {
		padding: 7px 10px;
	}
}
@media only screen and (max-width:640px) and (orientation: landscape) {
}
@media only screen and (max-width:480px) {
	#di-subheader {
		padding: 10px;
	}
	#di-subheader h6 {
		font-size: 13px;
		padding:9px 0;
	}
	#di-subheader a.button {
		font-size: 13px;
		margin-top: -1px;
		padding:4px 7px;
	}
}
@media only screen and (max-width:320px) {
	#di-subheader a.button {
		font-size: 13px;
		margin-top: -1px;
		padding:4px 7px;
	}
}
@media only screen and (max-width:240px) {
	#di-subheader {
		padding: 5px;
		height: 35px;
	}
	#di-subheader h6 {
		font-size: 12px;
		padding:9px 0;
	}
	#di-subheader a.button {
		font-size: 12px;
		margin-top: -1px;
		padding:3px 5px;
	}
}

/**MAIN CONTENT SECTIONS**/
#di-content {
color: #111;
	padding: 30px 20px;
	margin:0;
	font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
	font-family: 'Raleway', sans-serif;
}
#di-content.no-padding{
	padding:0;
}
#di-content h1, #di-content h2, #di-content h3, #di-content h4, #di-content h5, #di-content h6 {
	color: #111;
	font-weight: 700;
	text-align: center;
	padding:0;
	margin:0;
}
#di-content h1, #di-content h2, #di-content h3 {
	margin: 0 0 5px 0;
}
#di-content h4, #di-content h5, #di-content h6 {
	margin: 0;
}
#di-content .subheader{
	color: #111;
}
#di-content .subheader.error{
	color: red;
}
#di-content hr{
	margin:10px 0;
}
#di-content p,
#di-content a:not(.button),
#di-content table tr td{
	font-size:15px;
	line-height: 125%;
	font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
	font-family: 'Raleway', sans-serif;
}
#di-content table {
	width:100%;
	margin:0;
	padding:0;
  border: solid 1px #eee;
}
#di-content table tr td{
	padding:3px;
	vertical-align: top;
}

#di-content table tr.even, table tr.alt, table tr:nth-of-type(even) {
    background: #f5f5f5;
}

#di-content p.modal,
#di-content .modal a:not(.button),
#di-content .modal table,
#di-content table.modal {
	font-size:15px;
	line-height: 125%;
}
#di-content a.button, #di-content .button {
	width: auto;
	font-size: 15px;
	padding: 15px;
}
#di-content a:not(.button) {
	color: #c30000;
	font-weight:bold;
}
#di-content a:not(.button):hover,
#di-content a:not(.button):focus {
	color: #800000;
}

#di-content .horizontal-sections > div, #di-content .vertical-sections-1 > div, #di-content .vertical-sections-2 > div {
	text-align: center;
}
#di-content .panel{
	margin: 0;
	padding: 20px;
	background: #f5f5f5;
	border: 1px solid #eee;
}
#di-content .panel.small{
	padding: 10px;
}
#di-content img{
	padding: 0;
	margin: 0;
}
#di-content .panel img{
	padding: 10px;
}
#di-content .gray-border {
	padding: 10px;
	margin:0;
	background: #fafafa;
	border: 1px solid #ececec;
}
#di-content .form-gray-border {
	padding: 10px;
	margin:0;
	background: #fafafa;
	border: 1px solid #ececec;
}
#di-content img.mobile-adjust {
	max-width:60%;
}
#di-content .form-container {
	padding:0;
	margin:0 ;
}
#di-content .form-container form{
	padding:0;
	margin:0 ;
}
#di-content .form-container form input,
#di-content .form-container form select,
#di-content .form-container form textarea{
	width:100%;
	font-size: 14px;
	font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
	font-family: 'Raleway', sans-serif;
	padding:0 10px;
	margin:0 0 20px 0;
}
#di-content .form-container form textarea {
	padding:10px;
	min-height: 100px;
}
#di-content .horizontal-sections > div img{
	display: inline-block;
	margin: 10px auto;
}
@media only screen and (min-width:769px) and (max-width:1024px) {
}
@media only screen and (min-width:641px) and (max-width:768px) {
}
@media only screen and (max-width:640px) {
	#di-content{
		text-align:center;
		padding: 30px 10px;
	}
	#di-content .panel{
		width:auto;
		margin: 5px 10px;
		padding: 15px;
	}
	#di-content .panel.small{
		margin: 5px 10px;
	}
	#di-content .panel img{
		padding: 10px;
	}
	#di-content .vertical-sections-1 > div img {
		max-height: 125px;
	}
	#di-content .vertical-sections-2 > div img {
		max-width: 200px;
	}
	#di-content .di-img {
		text-align:center;
	}
	#di-content .di-img img {
		width: 100%;
	}
	#di-content .form-gray-border {
		width:100%;
		margin:0;
	}
	#di-content ul li{
		text-align: left;
	}
}
@media only screen and (max-width:640px) and (orientation: landscape) {
	#di-content .horizontal-sections .di-img img {
		width: 40%;
	}
	#di-content .panel img{
		width: 40%;
	}
}
@media only screen and (max-width:480px) {
	#di-content{
		text-align:center;
		padding: 10px 0;
	}
	/*
	#di-content p, #di-content a {
		font-size:16px;
		line-height: 125%;
	}
	*/
	#di-content a.button, #di-content .button {
		font-size: 14px;
		padding: 12px;
	}
	#di-content .panel{
		padding: 10px;
	}
	#di-content .di-img img {
		width: 50%;
	}
	#di-content .form-container form input{
		margin:0 0 10px 0;
		font-size: 14px;
	}
	#di-content .form-container form textarea {
		min-height: 80px;
	}
	#di-content .form-gray-border {
		width:96%;
	}
}
@media only screen and (max-width:320px) {
	#di-content{
		text-align:center;
	}
	/*
	#di-content p, #di-content a {
		font-size:15px;
		line-height: 16px;
	}
	*/
	#di-content a.button, #di-content .button {
		font-size: 13px;
		padding: 10px;
	}
	#di-content .form-container form textarea {
		min-height: 70px;
	}
	#di-content .form-gray-border {
		width:auto;
	}
}
@media only screen and (max-width:240px) {
	#di-content p, #di-content a {
		font-size:14px;
	}
	#di-content .panel{
		width:auto;
		margin: 5px;
		padding: 5px;
	}
	#di-content .panel img{
		padding: 5px;
	}
	#di-content .vertical-sections-1 > div img {
		max-height: 100px;
	}
	#di-content p.modal, #di-content .modal a {
		font-size:14px;
		line-height: 14px;
	}
	#di-content .form-container form textarea {
		min-height: 60px;
	}
}

/** SUBJECT **/
.subject-search{
	padding: 0 0 20px 0;
}
.subject-icon {
	width: auto !important;
	height: 65px;
	border: none !important;
	font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
	text-align: center;
}
.subject-icon .subject-name {
	width:auto;
	height: 35px;
	font-size: 15px;
	font-weight:bold;
	color: white;
	padding: 8px 10px;
}
.subject-icon .subject-grade {
	height: 30px;
	text-transform: normal;
	color: white;
	font-size: 13px;
	padding: 5px 3px;
}
.subject-body {
	margin: 0 ;
	padding: 0;
}
#di-content .subject-body h4, #di-content .subject-icon h4{
	margin:0;
	padding-bottom:5px;
	font-weight: bold;
	font-size: 15px !important;
	text-align:left;
}
.subject-body h5, .subject-icon h5{
	margin:0;
	padding-bottom:5px;
	font-weight: bold;
	font-size: 13px !important;
}

.subject-body .subject-author {
	margin-bottom: 5px;
	text-transform: normal;
	text-align:left;
}
.subject-body .subject-author .subject-author-name{
	font-style: italic;
	font-weight: bold;
}
.subject-body .subject-author a {
	color: #666666;
}
.subject-body .subject-author a:hover {
	color: grey;
}
.subject-body .subject-author .subject-author-when {
	color: #a6a6a6;
}

@media only screen and (max-width:640px) {
	.subject-body {
		width: 80% !important;
	}
}
@media only screen and (max-width:568px) {
	.subject-body {
		width: 75% !important;
	}
}
@media only screen and (max-width:480px) {
	.subject-search{
		padding: 0 0 15px 0;
	}
	.subject-body {
		width: 70% !important;
	}
}
@media only screen and (max-width:420px) {
	.subject-icon {
		width: 100% !important;
		height: auto;
		background:transparent;
	}
	.subject-body {
		margin: 0;
		padding: 0;
		width: 100% !important;
		height: auto;
		text-align:center;
	}
	.subject-body .subject-author {
		text-align:center;
	}
}

/**MODAL WINDOW**/
.reveal-modal{
	padding:20px;
}
.reveal-modal h6.clients {
	float:left;
	font-weight:bold;
}
.reveal-modal img{
	padding: 0 10px 0 0;
}
dialog .close-reveal-modal, .reveal-modal .close-reveal-modal {
	font-size: 30px;
	padding: 0 7px;
	-webkit-border-radius: 15px; 
	-moz-border-radius: 15px; 
	border-radius: 15px;
	color:white;
	background:gray;
}
@media only screen and (max-width:640px) {
	dialog, .reveal-modal {
		padding: 15px;
	}
	dialog.tiny, .reveal-modal.tiny {
		margin-left: -15%;
		width: 30%;
	}
	dialog.small, .reveal-modal.small {
		margin-left: -20%;
		width: 40%;
	}
	dialog.small, .reveal-modal.small {
		margin-left: -20%;
		width: 40%;
	}
	dialog.medium, .reveal-modal.medium {
		margin-left: -30%;
		width: 60%;
	}
	dialog.large, .reveal-modal.large {
		margin-left: -35%;
		width: 70%;
	}
	dialog.xlarge, .reveal-modal.xlarge {
		margin-left: -47.5%;
		width: 95%; 
	}
	dialog .close-reveal-modal, .reveal-modal .close-reveal-modal {
	}
	.reveal-modal #di-content .panel{
		margin:0 0 15px 0;
	}

}
@media only screen and (max-width:480px) {
	dialog, .reveal-modal {
		padding: 10px;
	}
	.reveal-modal #di-content .panel{
		margin:0 0 10px 0;
	}
}
@media only screen and (max-width:240px) {
	dialog, .reveal-modal {
		padding: 5px;
	}
	.reveal-modal #di-content .panel{
		padding:5px;
		margin:0 0 5px 0;
	}
}