/*
Theme Name: UkrDevs Docs
Theme URI: http://ukrdevs.com
Author: UkrDevs
Author URI: http://ukrdevs.com
Description: UkrDevs Documentation Theme
Version: 1.0
License: GPL 2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: translation-ready, threaded-comments, theme-options, sticky-post, featured-images, custom-menu, custom-colors, custom-background
Text Domain: docs
*/

/* BASE
   ========================================================================== */
:root {
	--font-heading: 'Roboto', sans-serif;
	--font-general: 'Roboto', sans-serif;
	--color-general: #5e6977;
	--color-heading: #43484d;
	--color-accent: #7dc855;
	--color-light: #f7f7f7;
}   
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
   

body {
	font: 400 16px/1.765 var(--font-heading);
	background-color: #fff;
	color: var(--color-general);
	cursor: default;
	-webkit-font-smoothing: antialiased;	
}
img {
	vertical-align: middle;
	max-width: 100%;
	height: auto;
}
p img {
    box-shadow: 2px 2px 10px rgba(0,0,0,0.25);
}
button {
	font-size: 14px;
	letter-spacing: 0.5px;
}
.button {
	color: #fff;
	background-color: var(--color-accent);
	text-decoration: none;
	line-height: 50px;
	display: inline-block;
	padding: 0 25px;
	border-radius: 5px;
	font-weight: 400;
	cursor: pointer;
}
.button:hover {
	background-color: #8855c8;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 400;
	color: var(--color-heading);	
	margin-bottom: 10px;
	margin-top: 20px;
}
p, dl, ul, ol, hr, pre, table, blockquote {
	margin-bottom: 30px;
}
h1 {
    font-size: 40px;
    font-weight: 300;
}
h2 {
	font-size: 28px;
	font-weight: 400;
}
h3 {
	font-size: 28px;
}
h4 {
	font-size: 28px;
	font-weight: 400;
}
h2 a {
	text-decoration: none;
	color: inherit;
}
.wrap {
	max-width: 1170px;
	margin: 0 auto;
}

/* FORMS
   ========================================================================== */
label, input, select {
	display: inline-block;
}  
label {
	margin-bottom: 5px;
	font-size: 80%;
}
input {
	height: 45px;
	padding: 0 20px;
}
button {
	border: 0;
	background: none;
	text-transform: uppercase;
}
input,
select,
textarea {
	font-family: inherit;
	color: inherit;
	font-size: inherit;
	width: 100%;
	background-color: #fff;
	border: 1px solid #ddd;
}
input[type="radio"],
input[type="checkbox"] {
	width: 12px;
	height: 12px;
	border: 0 none;
}
input[type="submit"] {
	border: 0 none;
}
textarea {
	padding: 20px;
	resize: none;
}
:focus {
	outline: none;
}
input[type="search"] {
	-webkit-appearance: textfield;
}
button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
	border: 0 none;	
}
select:-moz-focusring {
	color: transparent;
	text-shadow: 0 0 0 #000;
}
ul, ol {
	margin-left: 40px;
}
b, strong {
	font-weight: 600;
}
a {
	color: var(--color-accent);
}
a:hover {
	text-decoration: none;
}
.page-nav {
    background-color: #f1f1f1;	
   	padding: 10px; 
   	position: sticky;
   	position: -webkit-sticky;   	
   	top: 0;
}

/* HEADER
   ========================================================================== */
.header {
   background-color: #082c46;
   color: #fff;
   text-align: center;
   padding: 40px 0;
   border-bottom: 1px solid #ddd;
}
.header h2 {
   margin-bottom: 0;
}
.header .search-form {
   width: 500px;
   margin: 0 auto;
   overflow: hidden;
}
.header .search-form input {
   float: left;
   width: 400px;
}
.header .search-form button {
	float: left;
	width: 100px;
	line-height: 45px;
	border-radius: 0 5px 5px 0;
}
.wp-caption-text {
	background-color: #777;
	color: #fff;
	padding: 10px;
	font-size: 16px;
}

/* FOOTER
   ========================================================================== */
.footer {
   background-color: var(--color-light);
   overflow: hidden;
   padding: 40px 0;
}
.footer p {
   margin: 0;
}

/* MAIN DOCS NAV
   ========================================================================== */
.main-docs-nav {
	
}
.code {
	font-family: monospace;
    background: #f5f5f5;
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    box-shadow: 0 0 0 2px #f3f3f3;
    margin-bottom: 30px;
}
.wp-caption {
	margin-bottom: 45px;
}

/* Topics
   ========================================================================== */
.topics {
	display: grid;	
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 40px;
	margin-bottom: 80px;
}
.topics .chapter ul {
	list-style: none;
	margin: 0;
}
.topics .chapter ul li a {
	background: url('assets/images/doc-icon.png') no-repeat 0 2px;
	padding-left: 25px;
	display: inline-block;
}
.topics .chapter ul a {
	text-decoration: none;
	color: inherit;
}
.topics .chapter ul a:hover {
	color: var(--color-accent);
}
.topics .chapter h3 {
	font-size: 18px;
	font-weight: 400;
	margin-bottom: 10px;
}

/* Support Ticket
   ========================================================================== */
.support-ticket {
	border: 2px solid var(--color-light);
	padding: 30px 50px;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
}
.support-ticket h4 {
	font-size: 24px;
	margin-bottom: 0;
}
.support-ticket p {
	margin-bottom: 0;
	font-size: 18px;
}

/* Single
   ========================================================================== */
.right .widget-title {
	font-size: 18px;
	margin-top: 0;
}
.container-rsb {
	display: grid;
	grid-template-columns: auto 360px;
	grid-gap: 40px;
	padding: 40px 0;
}
.widget_docs_navigation {
	border: 2px solid #f7f7f7;
    padding: 25px;	
}
.docs-nav {
	font-size: 14px;
	line-height: 2.8;
}
.docs-nav h3 {
	font-size: 14px;
	margin-bottom: 0;
	background: url('assets/images/chapter-icon.png') no-repeat 0 13px;
	padding-left: 30px;
	margin: 0;
	color: var(--color-general);
}
.docs-nav ul {
	margin: 0;
	list-style: none;
	margin-left: 30px;
}
.docs-nav a {
	color: inherit;
	text-decoration: none;
	background: url('assets/images/doc-icon.png') no-repeat 0 0px;
	padding-left: 25px;
	display: inline-block;
	line-height: 1.6;
	vertical-align: middle;
}
.docs-nav a:hover,
.docs-nav a.active {
	color: var(--color-accent);
}


   