﻿/* NEW GUIDES - GLOBAL STYLES */

body.newtopic a:link,
body.newtopic a.visited {
	color: #1a3d9c;
	text-decoration: none;
	transition: color .2s ease-out;
	font-weight: 400;
}

body.newtopic a:hover,
body.newtopic a:active {
	color: #06144f;
}


body.newtopic p img {
	border: none;
	box-shadow: none;
	display: block;
	margin: 30px auto;
}
body.newtopic p img.inline-image {
	display: inline;
	margin: 0;/*overriding margin on images*/
	vertical-align: middle;
	line-height: 1;
}
.newtopic-wrap{
	/* 30px on the .body-container tag, plus below is 60px */
	padding-left: 30px;
	padding-right: 30px;
	max-width: 1200px;
}

.releasenotes-wrap {
	display: flex;
	padding-right: 25px;
	padding-left: 25px;
	max-width: 1200px;
}

.releasenotes-wrap .side-menu {
	flex:0 0 25%;
	border-left: 1px solid #efefef;
	margin-left: 25px;
}
ul.menu._Skins_SideMenuSkin.mc-component {
	line-height: 1.25;
}

div.is-stuck ul.menu._Skins_SideMenuSkin.mc-component {
	margin-top: 0;
}
.releasenotes-wrap .side-menu ul.menu._Skins_SideMenuSkin.mc-component > li a.selected {
	color: #000;
}

body.newtopic .body-container ul {list-style-type: square;}

/* CTA - Demo NOT USING RIGHT NOW */
.cta {
	display: flex;
	align-items: center;
	max-width: 1200px;
	border-top: 3px solid #2B59C3;
	margin-top: 80px;
	padding: 30px 90px 0 90px;
}
.cta-body {
	display: flex;
	align-items: flex-start;
}

.cta-body > div {
	margin-right: 50px
}
.cta-body h3 {
	font-weight: 600;
	font-size: 24px;
}
.cta a.cta-button {
	display: block;
	background-color: #ff783f;
	border-radius: 70px;
	padding: 15px 36px;
	color: #fff;
	font-size: 18px;
	font-family: MuseoSans;
	white-space: nowrap;
	transition: background-color .2s ease;
}

.cta a.cta-button:hover {
	color: #fff;
	background-color: #e15b18;
}
/*FOOTER */
.light-footer {
	padding-top: 15px;
	font-size: 12px;
	color: #727272;
	border-top: 1px solid #727272;
	position: absolute;
	/* Captured by body-container, which has padding bottom of 75px*/
	bottom: -65px;
}
.light-footer p {
	margin: 0 125px 0 0;
	line-height: 1.2;
}
/* LABELS -- using Knowledge Proxy; overrides for that skin here */
.micro-content-proxy._Skins_Label_KnowledgeProxy.mc-component {
	display: flex; 
	justify-content: flex-end;
	float: right;
	margin-top: -20px;
}
.micro-content-proxy._Skins_Label_KnowledgeProxy.mc-component .micro-response p {margin: 0;}


/*STRATEGY GUIDES Styles */

/* Modules To Use. Also used in Key Takeaways*/
.guide-grid {
	display: flex;
	flex-wrap: wrap;
	padding: 0 40px;
	justify-content: space-between;
}

.guide-grid > div {
	width: calc(50% - 20px);
	flex: 0 1 auto;
	margin: 10px 0;
}

.guide-grid h4 {
	margin:0 0 10px 0;
	padding: 0;
}
.takeaways .guide-grid h4 {
	margin-top: 0;
	padding-top: 0;
}
.guide-grid h4 img {
	float: left;
	padding-right: 8px;
	height: 18px;
}
.guide-grid h4 img path {
	fill: #9a3264;
}

.guide-grid p {
	margin: 0 10px 10px 0;
}
.guide-grid p.guide-link{
	text-align: right;
}

/* CALLOUTS */

/* overrides for guide-grid */
.call-out .guide-grid {
	padding:0;
}
.call-out .guide-grid > div {
	width: calc(50% - 40px);
}
/*I don't think outer-box is in use. Check and delete if so*/
.outer-box {
	position: relative;
	background: blue;
	z-index: 1000;
}
.call-out {
	border: 3px solid #1A3D9C;
	border-radius: 5px;
	position: relative;
	padding: 40px 40px 40px 70px;
	margin:25px 0 25px 50px;
	line-height: 1.25;
}
.call-out.takeaways {
	/*This one also used in DevDocs, Best Practices box*/
	margin-top: 50px;
	margin-bottom: 50px;
}
.call-out h4 {
	font-size: 16px;
	font-weight: 600;
}

.call-out h3 {
	color: #0e2675;
	margin: 0 0 20px 0;
	font-size: 20px;
	font-weight: bold;
}
.call-out p {
	font-size: 16px;
	color: #727272;
	margin-bottom: 15px;
}


/* Half circle image with border in call outs. */
.half-circle {
    width: 50px;
    height: 100px;
    background-color: #fff;
	border-top-left-radius: 110px;
    border-bottom-left-radius:110px;
    border: 3px solid #1A3D9C;
    border-right: 3px solid #fff;
    position: absolute;
    top: 25px;
    left:-50px;
}
.half-circle:after {
	content: "";
	position:absolute;
	left:38px;
	top:-3px;
	margin:0px;
	width:3px;
	height:3px;
	transform:rotate(0deg);
  }
  .half-circle:before {
	content: "";
	position:absolute;
	left:38px;
	top:75px;
	margin:0px;
	width:3px;
	height:3px;
	transform:rotate(0deg);

  }
  .half-circle img{
	width:70px;
	height:70px;
	margin-left:10px;
	margin-top:10px;
}
/* IMPLEMENTATION STEPS */
.steps {
	padding: 0 40px;	
}
.steps h4 {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #c5c5c8;
	line-height: 1.25;
}
.steps h4:first-of-type {border-top: none;}

/* JOURNEY VIEW - Dev Docs */
.journey-visual {
	margin: 20px 0;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}
.journey-visual div {
	border-radius:50%;
	padding: 15px;
	margin: 0 35px 35px 0;
	flex: 0 0 auto;
	height: 160px;
	width: 160px;
	position: relative;
	display: flex;
	align-items: center;
}
.journey-visual p {
	margin: 0;
	font-size: 13px;
	font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', Geneva, Verdana, sans-serif;
	text-align: center;
	line-height: 1.1;
	color: #fff;
	font-weight: 400;
}
.journey-visual div:after {
	position: absolute;
	width: 25px;
	height: 25px;
	content: "";
	background: url("../Images/Icons/arrow-right.svg") no-repeat;
	left: 165px;
	top: 50%;
	margin-top: -12px;
}
.journey-visual div:last-of-type:after {display: none;}

.journey-visual div:nth-child(1) {
	background: #f47339;
}
.journey-visual div:nth-child(2) {
	background: #628020;
}
.journey-visual div:nth-child(3) {
	background: #d7363c;
}
.journey-visual div:nth-child(4) {
	background: #25826d;
}
.journey-visual div:nth-child(5) {
	background: #f28b00;
}
.journey-visual div:nth-child(6) {
	background: #Cf4401;
}
.journey-visual div:nth-child(7) {
	background: #628020;	
}
.journey-visual div:nth-child(8) {
	background: #d7363c;;
}

/* MODULES - CONFIGURATION - Dev docs */
.module-box-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(48%, 1fr));
	grid-gap: 20px;
	margin-bottom: 40px;
}
.module-box {
	background: #F5F5F6;
	border-radius: 8px;
	padding: 15px;
}
.module-box h4 {
	margin-top: 0;
}
.module-box img {
	vertical-align: text-bottom;
}
.module-box p {
	margin-left: 30px;
}
.module-box p:last-of-type {
	margin-bottom: 0;
}

/* TASK LIST - Dev docs */
.task-list {
	font-size: 18px;
	font-family: MuseoSans, "Helvetica Neue", Helvetica, Arial, sans-serif;
	margin-bottom: 25px;
}
.task-list p {
	font-size: 16px;
	font-family: "Proxima Nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
	margin-top: 0;
}

.task-list ol {
	list-style: none;
	counter-reset: task-counter;
	padding-left: 60px;
}
.task-list ol li {
	margin: 0 0 35px 0;
	padding-left: 20px;
	counter-increment: task-counter;
	position: relative;
}

.task-list ol li:before {
	content: counter(task-counter);
	color: #727271;
	width: 60px;
	height: 60px;
	text-align: center;
	font-size: 32px;
	font-family: "Proxima Nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
	line-height: 60px;
	font-weight: 100;
	position: absolute;
	left: -60px;
	top: -5px;
	background: #F5F5F6;
	border-radius: 50%;
}

/* ON PAGE TABS: used in Dev Docs Sample App articles */

.tabbed {
	overflow-x: hidden; /* so we could easily hide the radio inputs */
	margin: 30px 0;
}
body.newtopic .tabbed p img {margin: 0 auto;}

.tabbed [type="radio"] {
	/* hiding the inputs */
	display: none;
}

.tabs {
	display: flex;
	align-items: stretch;
	list-style: none;
	padding: 0;
	margin: 0;
}
.tabs li {margin: 0;list-style-type:none;}
.tab > label {
	display: block;
	padding: 12px 15px;
	font-size: 14px; 
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer;	

	transition: all 0.3s;
}
.tab:hover label {
	background:#F5f5f6;
	border-radius: 6px 6px 0 0;
}

.tab-content {
	display: none;
	padding: 15px 0;
	border-top: 3px solid #1A3D9C;
	border-bottom: 3px solid #1A3D9C;
}

/* As we cannot replace the numbers with variables or calls to element properties, the number of this selector parts is our tab count limit */
.tabbed [type="radio"]:nth-of-type(1):checked ~ .tabs .tab:nth-of-type(1) label,
.tabbed [type="radio"]:nth-of-type(2):checked ~ .tabs .tab:nth-of-type(2) label,
.tabbed [type="radio"]:nth-of-type(3):checked ~ .tabs .tab:nth-of-type(3) label,
.tabbed [type="radio"]:nth-of-type(4):checked ~ .tabs .tab:nth-of-type(4) label,
.tabbed [type="radio"]:nth-of-type(5):checked ~ .tabs .tab:nth-of-type(5) label {
	background:rgba(26,61,156, .1 );
	border-radius: 6px 6px 0 0;

}

.tabbed [type="radio"]:nth-of-type(1):checked ~ .tab-content:nth-of-type(1),
.tabbed [type="radio"]:nth-of-type(2):checked ~ .tab-content:nth-of-type(2),
.tabbed [type="radio"]:nth-of-type(3):checked ~ .tab-content:nth-of-type(3),
.tabbed [type="radio"]:nth-of-type(4):checked ~ .tab-content:nth-of-type(4),
.tabbed [type="radio"]:nth-of-type(5):checked ~ .tab-content:nth-of-type(5) {
	display: block;
}

/* SCREENSHOTS & IMAGES */
.image-right img {
	margin: 0 0 10px 10px;
	float: right;
}
.image-left img {
	float: left;
	margin: 0 10px 10px 0;
}
.image-right:after, .image-left:after {
content: "";
  display: table;
  clear: both;
}

/*Used in Release notes, but could be used anywhere we want a divider */
.section-divider {
	margin: 20px 0 15px 0;
	border-top: 1px solid #efefef;
}

/*RELEASE NOTES STYLES*/
body.newtopic .releasenotes-wrap .side-menu ul {list-style-type: none;}
.releasenotes-wrap h2 {
	font-weight: bold;
	color: #952c59;
	margin-top: 60px;
}
.releasenotes-wrap h4 {
	margin-top: 25px;
}
body.newtopic .releasenotes-wrap p img.r-n-image-right,
body.newtopic .releasenotes-wrap p img.r-n-image-left {
	float: right;
	margin-left: 20px;
	border: 10px solid rgba(0,0,0,.1);
	box-shadow: 0 0 0 1px rgba(0,0,0,.5);
}
body.newtopic .releasenotes-wrap p img.r-n-image-left {
	float: left;
	margin-right: 20px;
	margin-left: 0;
}
body.newtopic .releasenotes-wrap p img.r-n-image {
	margin: 0 auto;
	display: block;
	border: 10px solid rgba(0,0,0,.1);
	box-shadow: 0 0 0 1px rgba(0,0,0,.5);
}
body.newtopic .releasenotes-wrap p img.r-n-image.r-n-top {
	float: left;
}
body.newtopic .releasenotes-wrap p img.r-n-image.r-n-bottom {
	float: right; 
	margin-top: -100px;
}
.details {
	/* background: #fffcf4; */
	border: 1px solid #efefef;
	border-width: 1px 0;
	padding: 10px;
	font-size: 14px;
}
.details-body {
	display: flex;
	
}
.details-body > div:first-of-type {
	flex: 0 0 100px;
	text-transform: uppercase;
	font-size: 12px;
}

.details-body div {
	flex: 0 0 calc((100% - 100px) / 3);
	line-height: 1.4;
	padding-right: 5px;

}
.details p {
	margin: 12px 0 0 0;
	font-size: 12px;
}
.updates h5 {
	font-size: 16px;
	text-transform: uppercase;
	line-height: 1;
	padding-bottom: 5px;
	margin: 10px 0;
	color: #ffc61d;
}


body.newtopic p.screenshot {margin: 0; margin-bottom: 20px;}
body.newtopic p.screenshot img {
	margin: 0 auto;
	max-width: 100%;
}
.screenshot.shadow img {
	border: 1px solid rgba(0,0,0,.1);
	box-shadow: 0 0 3px 1px rgba(0,0,0,.1);
}

/* AMPERITY Explainer */
.amperity-cycle {
	position: relative;
	margin-left: 40px;
}
.amperity-cycle:before {
	transform: rotate(180deg);
	position: absolute;
	width: 40px;
	height: 150px;
	content: "";
	background: url("../Images/Explainers/Amperity/amperity-long-arrow.jpg") no-repeat;
	background-size: contain;
	left: -35px;
	top:calc(50% - 75px);
}
.amperity-cycle:after {
	position: absolute;
	width: 40px;
	height: 150px;
	content: "";
	background: url("../Images/Explainers/Amperity/amperity-long-arrow.jpg") no-repeat;
	background-size: contain;
	left: 525px;
	top: calc(50% - 80px);
}
.amperity-items,
.sessionm-items {
	display: flex; 
	justify-content: flex-start;
	align-items: stretch;
}
.item {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content:flex-end;
	align-items: center;
	text-align: center; 
	font-size: 12px;
	line-height: 1.2;
	flex: 0 0 150px;
	margin-right: 40px;
}
.amperity-items .item.arrow:after {
	position: absolute;
	width: 40px;
	height: 25px;
	content: "";
	background: url("../Images/Explainers/Amperity/amperity-arrow.jpg") no-repeat;
	background-size: contain;
	left:100%;
	bottom: calc(50px - (25px / 2));
}
.item img {
	width: 100%;
	max-width:100px;
	border: 7px solid #79b252;
	border-radius: 50%;
	padding: 5px;
}
.amperity-logo {
	width: 100%;
	max-width: 175px;
	flex: 0 0 auto;
	align-self: flex-end;
	margin-bottom: 20px;
}
.small-screen-logo {display: none;}
.sessionm-items {margin-top: 30px;}

.sessionm-items .item {
	justify-content: flex-start;
}
.sessionm-items .item.arrow:before {
	transform: rotate(180deg);
	position: absolute;
	width: 40px;
	height: 25px;
	content: "";
	background: url("../Images/Explainers/Amperity/amperity-arrow.jpg") no-repeat;
	background-size: contain;
	left: 100%;
	top: calc(50px - (25px / 2));
}
.sessionm-items .item img {border-color: #fb853c;}
.sessionm-items .amperity-logo {
	margin-top: 20px;
	margin-bottom: 0;
	align-self: flex-start;
}
/*Amperity boxes*/
.amperity-box-wrap {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
.amperity-box {
	width: calc(25% - 20px);
	flex: 0 0 auto;
	background: #f5f5f6;
	border-radius: 20px;
	font-size: 14px;
	margin-right: 20px;
	margin-bottom: 20px;}
.amperity-box h4 {
	margin: 0;
	padding: 10px 15px;
	color: #fff;
	text-align: center;
	background: #ccc;
	font-size: 16px;
	border-radius: 20px 20px 0 0;
}

.amperity-box ul {
	border-bottom: 3px solid #ccc;
	margin: 20px;
	padding-left: 15px;
	padding-bottom: 10px;
}
.amperity-box:nth-child(1) h4 { background: #Fb853c; }
.amperity-box:nth-child(1) ul { border-bottom-color: #Fb853c; }

.amperity-box:nth-child(2) h4 { background: #79b252; }
.amperity-box:nth-child(2) ul { border-bottom-color: #79b252; }

.amperity-box:nth-child(3) h4 { background: #d7373c; }
.amperity-box:nth-child(3) ul { border-bottom-color: #d7373c; }

.amperity-box:nth-child(4) h4 { background: #378f84; }
.amperity-box:nth-child(4) ul { border-bottom-color: #378f84; }
.amperity-box ul li {
	list-style-type: disc;
	line-height: 1.4;
}
.amperity-box p {
	margin: 0;
	padding: 0 20px 20px 20px;
}

/* AMPERITY PHONE SCREENS*/
.amperity-flexbox {
	display: flex;
	justify-content: space-between;
}
.amperity-flexbox-item {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin: 10px;
	flex: 0 0 25%;
}
.double img {float: left;}
.amperity-flexbox-item p {
	margin: 0;
	padding: 0;
	font-size: 14px;
}
.amperity-flexbox-item img {
	max-width: 100%;
	margin-top: 10px;
}

/*  SIDE PADDING ADJUSTMENT*/
@media (max-width: 1200px) {
	/* AMPERITY Explainer */
	.amperity-cycle {
		margin-left: 10px;
		}
	.amperity-cycle:before {
		left: -20px;
		}
	.amperity-cycle:after {
		left: 430px;
	}
	.item {
		width: 125px;
		margin-right:0;
		}
	.amperity-logo {
		max-width: 150px;
		margin-left: 20px;
		}
	.amperity-items .item.arrow:after {
		left:125px;
	}
	.sessionm-items .item.arrow:before {
		left: 135px;
		}
	.amperity-box-wrap {flex-wrap: wrap;}
	.amperity-box {
		width: calc(50% - 20px);
		}
	}


@media (max-width: 992px) {
	.steps {padding: 0 15px;}
	.guide-grid {
		flex-direction: column;
		padding: 10px 0 0 15px;
		}
	.guide-grid > div,
	.call-out .guide-grid > div {
		width: 99%;
		margin: 0 5px;
		}
	.cta {
		flex-direction: column;
		padding: 0;
	}
	.cta-body > div { margin-right: 0;}
	.cta a.cta-button {margin-top: 20px;}

	/*AMPERITY Explainer */
		.amperity-logo {display: none;}
		.small-screen-logo {
			display: block;
			
			width: 200px;
		}
	.amperity-flexbox {
		flex-wrap: wrap;
	}
	.amperity-flexbox-item {
		flex-basis:calc(50% - 20px);
	}
}


/* Target > Skin value is 768px* for tablet */
@media (max-width: 768px) {
	.releasenotes-wrap .side-menu {display:none;}
	.amperity-box {
		width: 100%;
		margin-right: 0;
		}
}

/* Target > Skin value is 600px* for mobile */
@media (max-width: 600px) {
	.newtopic-wrap,
	.releasenotes-wrap {
		/* .body-container padding will be enough */
		padding-left: 0;
		padding-right: 0;
		}
	.call-out {
		padding-left: 40px;
		padding-right: 40px;
		margin-left: 25px;
	}
	.steps {padding: 0;}
	.light-footer {padding-top: 10px;}	

	/* USE CASE JOURNEY - Dev docs */
	.journey-visual div:not(:last-of-type):after {
		transform:rotate(90deg);
		left: 80px;
		margin-left: -12px;
		top: 165px;
		margin-top: 0;	
	}
	.journey-visual {
		flex-direction: column;
		align-items: center;
	}

}