/* ----------------------------------------------------------------
	Canvas base module, folded into the main MDPSync site.

	Trimmed during the one-page/ consolidation to only the rules the
	site actually uses. The original one-page demo styles (sliders,
	video hero, testimonials, portfolio, content-switch, opm-* word
	blocks, parallax) were removed because no page references them.
-----------------------------------------------------------------*/

/* Fonts */
:root {
	--cnvs-body-font: 'Roboto', sans-serif;
	--cnvs-primary-font: 'Source Sans Pro', sans-serif;
	--cnvs-header-height: 70px;
}

#header {
	--cnvs-sticky-header-height: 70px;
	--cnvs-header-transparent-border-color: rgba(var(--cnvs-contrast-rgb), .05);
	--cnvs-primary-menu-font-weight: 400;
	--cnvs-primary-menu-font-size: 0.75rem;
	--cnvs-primary-menu-tt: uppercase;
	--cnvs-primary-menu-ls: 3px;
}

.is-expanded-menu #header.transparent-header:not(.border-full-header):not(.sticky-header) #header-wrap {
	border-bottom: transparent;
}

.is-expanded-menu .menu-link {
	--cnvs-primary-menu-padding-x: 22px;
}

/* Header */
.is-expanded-menu #header.full-header #logo {
	border-right: 0;
}

.is-expanded-menu #header.full-header .primary-menu > .menu-container {
	padding-right: 0;
	margin-right: 0;
	border-right: 0;
}

.is-expanded-menu #header.show-on-sticky #header-wrap {
	opacity: 0;
	pointer-events: none;
}

.is-expanded-menu #header.show-on-sticky.sticky-header #header-wrap {
	opacity: 1;
	pointer-events: auto;
}

/* Sticky Header */
.is-expanded-menu #header.sticky-header #header-wrap,
.is-expanded-menu #header.full-header.border-full-header.sticky-header #header-wrap {
	box-shadow: none;
}

/* Page Section */
.page-section {
	padding: 60px 0;
}

/* Heading Block */
.heading-block h2 {
	--cnvs-heading-block-font-weight: 500;
	--cnvs-heading-block-font-spacing: 3px;
	font-family: var(--cnvs-body-font);
}

/* Gradient Icon */
.op-gradient-icon {
	background: rgb(20,184,166);
	background: linear-gradient(90deg, rgba(20,184,166,1) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* Gradient icon prefixed to a thesis-section heading (technical case study) */
.cs-thesis-text h3 .op-gradient-icon {
	font-size: 22px;
	margin-right: 10px;
	vertical-align: middle;
}

/* Buttons */
.button.button-border {
	font-weight: 400;
	letter-spacing: 2px;
	font-size: 13px;
}

.button.button-border.button-large {
	font-size: 15px;
}

.button.button-border.button-light {
	border-color: #F9F9F9;
	color: #F9F9F9;
}

.button.button-border.button-light:hover {
	background-color: #F9F9F9;
	color: #333;
	text-shadow: none;
}

/* Team Title */
.team-title h4 {
	--cnvs-team-title-font-size: 17px;
	font-weight: 600;
	letter-spacing: 2px;
}

.team-title span {
	--cnvs-team-title-designation-font-family: var(--cnvs-body-font);
	--cnvs-team-title-designation-font-size: 14px;
	--cnvs-team-title-designation-font-style: normal;
	--cnvs-team-title-designation-font-color: #999;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-top: 2px;
}

/* Border Form Design */
.form-control.border-form-control {
	--cnvs-input-btn-padding-y : 8px;
	--cnvs-input-btn-font-size : 21px;
	--cnvs-input-font-family: var(--cnvs-primary-font);
	letter-spacing: 1px;
}

.border-form-control::-moz-placeholder { font-weight: 300; }
.border-form-control:-ms-input-placeholder { font-weight: 300; }
.border-form-control::-webkit-input-placeholder { font-weight: 300; }

textarea.border-form-control {
	resize: none;
	overflow: hidden;
	word-wrap: break-word;
}

/* Footer Widgets */
#footer .widget {
	padding: 30px 0;
	--cnvs-widget-title-margin: 50px;
	--cnvs-widget-title-font-size: 20px;
	--cnvs-widget-title-font-weight: 300;
	--cnvs-widget-title-letter-spacing: 3px;
	--cnvs-widget-title-text-transform: uppercase;
}

#footer .widget ul.footer-site-links li {
	margin: 5px 0;
	font-size: 17px;
	letter-spacing: 1px;
	font-weight: 300;
}

#footer .widget .form-control { text-align: center; }

.widget p.lead {
	font-size: 17px;
	letter-spacing: 1px;
	line-height: 1.6;
}

/* Responsive */
@media (max-width: 991px) {

	#header.transparent-header:not(.sticky-header) #header-wrap {
		background-color: #FFF;
		border-bottom: 1px solid #EEE;
	}

	#header.transparent-header.dark:not(.sticky-header) #header-wrap {
		background-color: #333;
		border-bottom-color: rgba(255,255,255,0.1) !important;
	}

	.dark #header.transparent-header #header-wrap,
	.dark #header.semi-transparent #header-wrap,
	#header.dark.transparent-header #header-wrap,
	#header.dark.semi-transparent #header-wrap {
		background-color: #333;
		border-bottom-color: rgba(255,255,255,0.1);
	}

}
