/**
 *
 * -------------------------------------------
 * Shortcodes - typography elements - CSS file
 * -------------------------------------------
 *
 **/

/*
 *
 * 6. Shortcodes
 *
 *
------------------------------------ */

/* 6.1. Typography elements
==================================== */

.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
	clear: both;
	margin: 20px 0;
}

.gk-warning,
.gk-notice,
.gk-info,
.gk-error,
.gk-thanks,
.gk-contact-error,
.gk-contact-thanks { /* Common rules for all these types */
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	-ms-border-radius: 2px;
	-o-border-radius: 2px;
	border-radius: 2px;
	padding: 12px 12px 12px 66px;
	position: relative;
}

.gk-contact-error,
.gk-contact-thanks {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	max-width: 540px;
}

/* Notices */
.gk-notice,
.gk-thanks,
.gk-contact-thanks {
	background-color: #FFFFDD;
	color: #333;
}

/* Infos */
.gk-info {
	background-color: #f8f8f8;
	color: #333;
}

/* Errors */
.gk-warning,
.gk-error,
.gk-contact-error {
	background-color: #ed6363;
	color: #fff;
}

/* Info Icons */
.gk-info:before, 
.gk-notice:before, 
.gk-warning:before,
.gk-error:before,
.gk-thanks:before,
.gk-contact-error:before,
.gk-contact-thanks:before {
	font-family: FontAwesome;
	font-size: 24px;
	position: absolute;
	top: 5px;
	left: 22px;
}
.gk-info:before {
	color: #333;
	content: "\f0e6";
}
.gk-notice:before,
.gk-thanks:before,
.gk-contact-thanks:before {
	color: #333;
	content: "\f0eb";
}
.gk-error:before,
.gk-warning:before,
.gk-contact-error:before {
	color: #fff;
	content: "\f057";
}

/* Labels & badges */
.gk-badge,
.gk-label,
.gk-badge[data-style="style1"],
.gk-label[data-style="style1"] {
	background-color: #ffd;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: #666;
	font-weight: 300;
	padding: 1px 3px 2px;
	vertical-align: baseline;
	white-space: nowrap;
}

.gk-badge,
.gk-badge[data-style="style1"] {
	padding: 1px 3px 2px;
}

.gk-badge[data-style="style2"],
.gk-label[data-style="style2"] {
	background: #f5f5f5;
}

/* Code listings */
pre,
pre.gk-code {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-left: 5px solid #ed6363;
	color: #333;
	display: block;
	font: normal .92em/32px 'Curier New',monospace!important;
	margin: 36px 0!important;
	padding: 20px 26px 20px 32px!important;
}

/* Text blocks */
.gk-textblock,
.gk-textblock[data-style="style1"] {
	border: 1px solid #e5e5e5;
	margin: 20px 0;
	padding: 15px 20px;
}

.gk-textblock[data-style="style2"] {
	background: #FFFEF4;
	border: 1px solid #EAE8CC;
}

.gk-textblock[data-style="style3"] {
	background: #f8f8f8;
	border: none;
}

.gk-numblock {
	clear: both;
	margin: 20px 0;
	min-height: 56px;
	padding: 0 0 24px 75px !important;
	position: relative;
}

.gk-numblock span,
.gk-numblock[data-style="style1"] span {
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	border: 2px solid #ccc;
	display: block;
	font-size: 18px;
	font-weight: 600;
	height: 40px;
	left: 0;
	line-height: 40px;
	position: absolute;
	text-align: center;
	top: 4px;
	width: 40px;
}

.gk-numblock[data-style="style1"] span {
	color: #ccc;
}

.gk-numblock[data-style="style2"] span {
	color: #222;
	border-color: #222;
}

.gk-numblock[data-style="style3"] span {
	color: #ed6363;
	border-color: #ed6363;
}

.gk-floated {	
	color: #222;
	display: block;
	font-style: italic;
	font-weight: 400;
	line-height: 170%;
	padding: 25px;
	width: 38%;
}

.gk-floated[data-align="left"] {
	float: left;
	padding-left: 0;
}

.gk-floated[data-align="right"] {
	float: right;
	padding-right: 0;
}

.gk-floated[data-align="center"] {
	float: none;
	padding-left: 0;
	padding-right: 0;
	text-align: center;
	width: 100%;
}

/* Blockquote */
blockquote.gk-quote {
	clear: both;
	display: block;
	margin: 40px 0;
	padding: 0 0 0 80px;
	position: relative;
}

blockquote.gk-quote p {
	font-style: italic;
}

blockquote.gk-quote cite {
	color: #aaa;
	float: right;
	font-size: 14px;
	font-style: italic;
}


.gk-columns {
	margin: 10px 0;
	overflow: hidden;
	width: 100%;	
}

.gk-columns > div {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	float: left;
	padding: 0 12px;
}

.gk-columns > div:first-child {
	padding-left: 0;
}

.gk-columns > div:last-child {
	padding-right: 0;
}

.gk-columns[data-column-count="1"] > div {
	padding: 0;
	width: 100%;
}

.gk-columns[data-column-count="2"] > div {
	width: 50%;
}

.gk-columns[data-column-count="3"] > div {
	width: 33.3%;
}

.gk-columns[data-column-count="4"] > div {
	width: 25%;
}

.gk-columns[data-column-count="5"] > div {
	width: 20%;
}

.gk-columns[data-column-count="6"] > div {
	width: 16.66%;
}

.gk-columns[data-column-count="7"] > div {
	width: 14.28%;
}

.gk-columns[data-column-count="8"] > div {
	width: 12.5%;
}

/* Raw text */
.gk-raw {
	background: #333;
	border: 1px solid #f0f0f0;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: #444;
	margin: 10px 0;
	padding: 10px 15px;
	position: relative;
}