/*!
Theme Name: truckdispatchertraining
Theme URI: https://weborona.ru/
Author: https://weborona.ru/
Author URI: https://weborona.ru/
Description: truckdispatchertraining
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: truckdispatchertraining
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

custom-theme is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
	line-height: 1.5; 
	-webkit-text-size-adjust: 100%;
	font-size: 16px;
	color: #1c252e;
}
* {
	font-family: 'Open Sans', sans-serif;
	box-sizing: border-box;
}
/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
:root {
	--cB: #2ca9e1;
	--cD: #1c252e;
	--tp: 0px;
}
body {
	margin: 0;
	padding: 0;
}

h1 {font-size:3rem;}
h2 {font-size:2rem;}
h3 {font-size:1.5rem;}
h4 {font-size:1.2rem;}
h5 {font-size:1rem;}
h6 {font-size:.8rem;}

h1,h2,h3,h4,h5,h6, p {
	margin-bottom: 1rem;
	color: #1c252e;
	margin-top: 0px;
}
/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
*.btn,button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	outline:none;
	height: 2.5rem;
	padding: 0 2rem;
	border-radius: 5px;
	color: #fff;
	border: none;
	background: var(--cB);
	font-weight: bold;
	border: 2px solid  var(--cB);
	transition: all .3s ease;
	display: inline-block;
	text-decoration: none;
}
*.btn {
	line-height: 38px;
	height: 42px;
}
*.btn:hover,button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	outline:none;
	cursor: pointer;
	background-color: #fff;
	color:  var(--cB);
}



input[type="text"],
input[type="email"],
input[type="phone"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #000;
	outline:none;
	border: 2px solid #eee;
	border-radius: 5px;
	padding: 0 1rem;
	height: 3rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
	outline:none;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

a {
	color: var(--cB);
}

img {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

.container {
	width: 100%;
}

.pt-1 {
	padding-top: 1rem;
}
.pt-2 {
	padding-top: 2rem;
}
.pt-3 {
	padding-top: 3rem;
}
.pt-4 {
	padding-top: 4rem;
}
.pt-5 {
	padding-top: 5rem;
}
.pb-1 {
	padding-bottom: 1rem;
}
.pb-2 {
	padding-bottom: 2rem;
}
.pb-3 {
	padding-bottom: 3rem;
}
.pb-4 {
	padding-bottom: 4rem;
}
.pb-5 {
	padding-bottom: 5rem;
}
.pr-1 {
	padding-right: 1rem;
}
.pr-2 {
	padding-right: 2rem;
}
.pr-3 {
	padding-right: 3rem;
}
.pr-4 {
	padding-right: 4rem;
}
.pr-5 {
	padding-right: 5rem;
}
.pl-1 {
	padding-left: 1rem;
}
.pl-2 {
	padding-left: 2rem;
}
.pl-3 {
	padding-left: 3rem;
}
.pl-4 {
	padding-left: 4rem;
}
.pl-5 {
	padding-left: 5rem;
}

.px-1 {
	padding-left: 1rem;
	padding-right: 1rem;
}
.px-2 {
	padding-left: 2rem;
	padding-right: 2rem;
}
.px-3 {
	padding-left: 3rem;
	padding-right: 3rem;
}
.px-4 {
	padding-left: 4rem;
	padding-right: 4rem;
}
.px-5 {
	padding-left: 5rem;
	padding-right: 5rem;
}
.py-1 {
	padding-top:1rem;
	padding-bottom:1rem;
}
.py-2 {
	padding-top: 2rem;
	padding-bottom: 2rem;
}
.py-3 {
	padding-top: 3rem;
	padding-bottom: 3rem;
}
.py-4 {
	padding-top: 4rem;
	padding-bottom: 4rem;
}
.py-5 {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.mt-1 {
	margin-top: 1rem;
}
.mt-2 {
	margin-top: 2rem;
}
.mt-3 {
	margin-top: 3rem;
}
.mt-4 {
	margin-top: 4rem;
}
.mt-5 {
	margin-top: 5rem;
}

.mb-1 {
	margin-bottom: 1rem;
}
.mb-2 {
	margin-bottom: 2rem;
}
.mb-3 {
	margin-bottom: 3rem;
}
.mb-4 {
	margin-bottom: 4rem;
}
.mb-5 {
	margin-bottom: 5rem;
}

.text-center {
	text-align: center;
}

.grid-video {
	display: grid;
	grid-template-columns: 1fr;
	width: 100%;
}
.grid-video .video {
	padding-bottom: 56.25%;
	position: relative;
}
.grid-video .video > * {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	border-radius: 1rem;
}

.admin-bar {
	--tp: 32px;
}

.top-header {
	position: fixed;
	height: 5rem;
	width: 100%;
	top: var(--tp);
	left: 0;
	padding: .5rem 1rem;
	border-bottom: 1px solid #eee;
}
.custom-logo {
	 height: 4rem;
    width: auto;
}

.form-container {
	padding-top: 10rem;
	width: 30rem;
	max-width: 100%;
	margin-right: auto;
	margin-left: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

.form-control {
	margin-bottom: 1rem;
	width: 100%;

}
.form-control input[type=text],
.form-control input[type=email],
.form-control input[type=phone],
.form-control input[type=password],
.form-control select {
	display: block;
	width: 100%;
}
.justify-end {
	display: flex;
	justify-content: flex-end;
}


.dashboard-container {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    height: calc(100vh - var(--tp));
}

.sidebar-wrapper  {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #FFF;
    min-width: 64px;
    box-shadow: inset -1px 0 0 #edeff1;
   height: calc(100vh - var(--tp));
       align-items: center;
}
.cent-mob {
	display: none;
}
.dashboard-container .dashboard-inner {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    overflow: auto;
}
.sidebar-wrapper .logo  {
    margin: 8px;
}
a.logo , span.logo  {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #FFF;
    overflow: hidden;
}
a.logo img, span.logo img {
	width: 100%;
	height: auto;
}
.sidebar-wrapper .sidebar-menu  {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 12px;
    width: 64px;
    min-height: 64px;
}

.sidebar-menu button {
	width: 40px;
	height: 40px;
	margin-top: 12px;
	padding: 0;
	text-align: center;
	background: none;
	border: none;
}


.sidebar-menu button.profile {
	background: var(--cB);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: #fff;
}


.dropdown {
	position: relative;
}

.dropdown .layer {
position: absolute;
    bottom: 0;
    left: 48px;
    background: #fff;
    box-shadow: 2px 0 10px -3px rgb(0 0 0 / 20%);
    border-radius: 10px;
    transform: translate3d(-30px, 0, 0);
    visibility: hidden;
    opacity: 0;
    transition: all .3s ease;
}

.dropdown.active .layer {
    transform: translate3d(0px, 0, 0);
    visibility: visible;
    opacity: 1;
    z-index: 2;
}

.area {
    padding: 12px 18px;
}
.area.logout {
	border-top: 1px solid #eee;
}
 .layer .logout_link {
 	text-decoration: none;
 	color: #000;
 	font-weight: bold;
}
 .layer  p {
 	margin: 0;
 	font-size: .8rem;
 	font-weight: 300;
 }
 .layer .logout_link:hover {
 	color: var(--cB);;
 }

 .dashboard-inner {
 	padding: 2rem 1rem;
 }
 .dashboard-inner.course {
 	background-color: #DCDFE3;
 }
 .top-img {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
}
.desc-container {
	width: 1200px;
	max-width: 100%;
	margin-right: auto;
	margin-left: auto;

}
 .area-desc {
 	background: #fff;
 	border-radius: 2rem;
 	padding: 0rem 5rem 5rem;
 	margin-bottom: 2rem;
 	box-shadow: 0 0 16px -12px #666;
 }

  .area-desc h1 {
  	color: #1c252e;
  	font-size: 3rem;
  	    line-height: 1.2;
  }

  .module-info {
  	display: flex;
  	align-items: center;
  }

    .module-info .item {
    	margin-right: 1rem;
    	display: flex;
    	align-items: center;
    }

    .module-info .item svg {
    	width: 32px;
    	height: auto;
    	margin-right: .5rem;
    }

    .module-info .item span {
    	font-weight: bold;
    	font-size: .8rem;
    }

    .btn-svg {
    	border-radius: 1.5rem;
    	height: 3rem;
    	display: inline-flex;
    align-items: center;
    }
    .btn svg {
    	width: 24px;
    	margin-left: .5rem;
    }
     .btn svg path.colored {
     fill:#fff;
     transition: all .3s ease;
 }
    .btn:hover svg path.colored {
    	fill: var(--cB);
    }

    .grid-1-1 {
    	display: grid;
    	grid-template-columns: 1fr 1fr;
    	grid-gap: 3rem;
    	width: 100%;
    }

    .contrast {
    fill: #fff;
}
 .primary {
    fill: var(--cB);
}

.faded {
    fill: #b9e9ff
}

.footer-logo {
	text-align: center;
}

#reset-pass {
	display: none;
	max-width: 400px;
}
.form-res {
	font-size: .8rem;
	line-height: 1.2;
}




@media (max-width: 991px) {
	.cent-mob {
	display: inline-block;
}
	html {
		font-size: 14px;
	}
	.dashboard-container {
    flex-direction: column;
}
.sidebar-wrapper {
    width: 100%;
    height: 64px;
        flex-direction: row;
}
.sidebar-menu button {
	margin-top: 0px;
	margin-left: 12px;
}
.sidebar-wrapper .sidebar-menu {
    padding: 12px;
    width: auto;
    height: 64px;
}
.area-desc {
    background: #fff;
    border-radius: 2rem;
    padding: 0rem 1rem 3rem;
    margin-bottom: 2rem;
    overflow: hidden;
    }
    .dropdown .layer {
    bottom: auto;
    left: auto;
    top: 48px;
    right: 0;
    transform: translate3d(30px, 0, 0);
    visibility: hidden;
    opacity: 0;
}
.grid-1-1 {
	display: flex;
	flex-direction: column-reverse;
	gap: 0;
}
.grid-1-1 .col-video {
	padding-bottom: 2rem;
}
}


@media (max-width: 600px) {
	.btn-svg {
    width: 100%;
    justify-content: center;
}
.area-desc h1 {
	font-size: 2rem;
}
}