@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: local('Material Icons'), local('MaterialIcons-Regular'), url(./iconwoff) format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(./Roboto-Regular.ttf) format('tff');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

* {
	font-family: Roboto, Helvetica, Arial, sans-serif;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

p {
	font-size: 15px;
	font-weight: 400;
}

.pointer {
	cursor: pointer;
}

.mdl-cell {
	position: relative;
}

.mdl-tooltip {
	max-width: 250px;
	will-change: auto;
}

.cd-layout__ribbon {
	width: 100%;
	height: 278px;
	background-color: #385aa5;
	flex-shrink: 0;
}

.cd-color--gradient {
	background: linear-gradient(135deg, #96186e, #6d3e90);
}

.cd-color--transparent {
	background: rgba(0, 0, 0, 0);
}

.cd-layout--background-highlight {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	background-color: rgba(200, 200, 200, 0.3);
	border-bottom: 1px solid rgba(180, 180, 180, 0.4);
}

.cd-layout--circle-icon {
	text-transform: none;
	position: relative;
	font-weight: 400;
	font-size: 16px;
	background: rgba(0, 0, 0, 0.0) !important;
	/*border: 1px solid #fff;*/
	box-shadow: none;
	border-radius: 50%;
	height: 38px;
	min-width: 38px;
	width: 38px;
	padding: 0;
	overflow: hidden;
	line-height: normal;
}

.cd-layout--circle-icon i {
	color: #fff;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-12px,-12px);
	transform: translate(-12px,-12px);
	line-height: 24px;
	width: 24px;
}

.cd-layout__main {
	margin-top: -225px;
	flex-shrink: 0;
	padding-bottom: 16px !important;
	overflow: hidden;
}

.cd-layout__main-lower {
	margin-top: 0px; 
}

.cd-layout__container, .cd-js--sortable-container, .cd-layout__non_sortable {
	max-width: 820px;
	margin: 0 auto;
}

.cd-layout__content {
	border-radius: 2px;
	padding: 18px 18px 0 18px;
}

.cd-layout__content .cd-layout__editor--element:first-child h4 {
	margin-top: 0;
}

.cd-layout__non_sortable .cd-layout__content {
	padding-bottom: 20px;
}

.mdl-layout {
	min-height: 100vh;
}

.mdl-layout.is-small-screen .cd-layout__content {
	padding: 40px 28px;
}

.cd-layout__content.mdl-color--grey-100 {
	padding-top: 18px;
	padding-bottom: 0px;
}

.mdl-layout__header {
	position: fixed;
	-webkit-transition: all .25s cubic-bezier(0.0,0.0,0.2,1);
	transition: all .25s cubic-bezier(0.0,0.0,0.2,1);
}

.mdl-layout__header-row {
	-webkit-transition: all .25s cubic-bezier(0.0,0.0,0.2,1);
	transition: all .25s cubic-bezier(0.0,0.0,0.2,1);
}

.mdl-layout__header.is-scrolled, .mdl-layout__header.is-scrolled .mdl-layout__header-row {
	min-height: 50px;
	height: 50px;
}

.mdl-layout__header.is-stationary {
	position: relative !important;
}

.cd-layout__header-text {
	display: inline-flex;
	vertical-align: middle;
	font-size: 21px;
	margin-bottom: 0;
}

.cd-layout__header-text i {
	margin-right: 24px;
}

.cd-layout__header-text a {
	color: #fff;
	height: 24px;
}

.cd-layout__header-text:last-child i:last-child {
	margin-right: 0px;
}

.cd-layout__editor--pagename input {
	font-size: 21px;
}

.mdl-menu__item .material-icons {
	padding: 8px;
}

.cd-js--tooltip-pointer {
	display: none;
	position: absolute;
	z-index: 999999;
	opacity: 1;
}

img.mdl-typography--text-center {
	margin: 0 auto 16px auto;
	display: block;
}

img.mdl-typography--text-right {
	margin-left: auto;
	display: block;
}

img {
	margin-bottom: 16px;
}

img[style="max-width: 110%"], img[size="110"], img[style="max-width: 120%"], img[size="120"] {
	max-width: 100% !important;
}

.mdl-cell--12-col > .cd-layout__editor--element img[style="max-width: 110%"], .mdl-cell--12-col > .cd-layout__editor--element img[size="110"] {
	max-width: calc(100% + 52px) !important;
	width: calc(100% + 52px);
	margin-left: -26px;
	margin-bottom: 0;
}

@media (min-width: 480px) {
	.cd-layout__content .mdl-cell:first-child.mdl-cell--12-col > .cd-layout__editor--element:first-child img[size="110"], .cd-layout__content .mdl-cell:first-child.mdl-cell--12-col > .cd-layout__editor--element:first-child img[style="max-width: 110%"], .cd-layout__content .mdl-cell:first-child.mdl-cell--12-col > .cd-layout__editor--element:first-child img[size="120"], .cd-layout__content .mdl-cell:first-child.mdl-cell--12-col > .cd-layout__editor--element:first-child img[style="max-width: 120%"] {
		margin-top: -26px !important;
	}

	.cd-layout__content .mdl-cell:last-child.mdl-cell--12-col > .cd-layout__editor--element:last-child img[size="110"], .cd-layout__content .mdl-cell:last-child.mdl-cell--12-col > .cd-layout__editor--element:last-child img[style="max-width: 110%"], .cd-layout__content .mdl-cell:last-child.mdl-cell--12-col > .cd-layout__editor--element:last-child img[size="120"], .cd-layout__content .mdl-cell:last-child.mdl-cell--12-col > .cd-layout__editor--element:last-child img[style="max-width: 120%"] {
		margin-bottom: -8px !important;
	}
}

@media (max-width: 479px) {
	.mdl-grid {
		padding: 0;
	}
	.cd-layout__content {
		padding: 20px 16px;
		margin: 0;
		width: 100%;
		border-radius: 0;
		padding-bottom: 0;
	}
	.cd-layout__content h4, .cd-layout__content p {
		padding: 0;
	}
	[class^="mdl-shadow"]:not(.mdl-layout__header), [class*=" mdl-shadow"]:not(.mdl-layout__header) {
		box-shadow: none !important;
	}
	.cd-layout__main {
		padding-bottom: 0 !important;
	}
	img[style="max-width: 110%"], img[size="110"],img[style="max-width: 120%"], img[size="120"] {
		position: relative;
		max-width: 100vw !important;
		width: 100vw;
		margin-left: -24px;
	}

	img[style="max-width: 110%"].cd-layout--image-wider,
	img[size="110"].cd-layout--image-wider,
	img[style="max-width: 120%"].cd-layout--image-wider,
	img[size="120"].cd-layout--image-wider {
		margin-left: -32px;
		max-width: calc(100% + 64px) !important;
		width: calc(100% + 64px);
	}
	
	.mdl-cell--12-col > .cd-layout__editor--element img[style="max-width: 120%"], .mdl-cell--12-col > .cd-layout__editor--element img[size="120"] {
		max-width: calc(100% + 52px) !important;
		width: calc(100% + 52px);
		margin-left: -26px;
		margin-bottom: 0;
	}
	.cd-layout__content .mdl-cell:first-child > .cd-layout__editor--element:first-child img[size="110"], .cd-layout__content .mdl-cell:first-child > .cd-layout__editor--element:first-child img[style="max-width: 110%"] {
		margin-top: -28px;
	}
	.cd-layout__content .mdl-cell:last-child {
		margin-bottom: 0;
	}
}

.cd-layout__splash-link {
	display: block;
	margin-bottom: 16px;
}

.cd-layout__splash-link i {
	vertical-align: -7px;
}

.cd-layout__non_sortable .cd-layout__content {
	padding: 18px 24px;
}

.mdl-selectfield {
	cursor: pointer;
	padding: 0;
	max-width: 130px;
	margin: 0 8px;
}

.mdl-selectfield__select option {
	color: #444;
}

.cd-selectfield__arrow {
	display: inline-block;
	position: absolute;
	right: 0;
	top: 0;
	pointer-events: none;
}

.cd-editor--site-container {
	padding-right: 24px;
	position: relative;
	margin-right: 8px;
	cursor: pointer;
}

.cd-editor--site-container p {
	margin: 0;
}

.cd-editor--site-container .cd-editor--site__arrow {
	position: absolute;
	top: 0;
	right: 0;
}

.cd-js--toggle-panel:hover p {
	border-bottom: 1px solid white;
}

.cd-js--toggle-panel.is-active .mdl-button {
	background-color: rgba(255, 255, 255, 1);
}

.cd-js--toggle-panel .mdl-button svg {
	fill: #ffffff;
}

.cd-js--toggle-panel.is-active .mdl-button svg {
	fill: #985994;
}
