/*
Theme Name: Інтерактивний портал "Крок до України"
Author: Ihor Pyaskovskyy
Description: Портал представляє собою інтерактивне навчання.
Version: 1.0
License: GNU General Public License v3.0 /
License URI: http://www.gnu.org/licenses/gpl-3.0.html

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.
*/

/* My Minimal WordPress Styling comes here */

/* This is a small security for too long strings titles */
@import url(css/bootstrap.min.css);
@import url(css/theme.css);
@import url(css/swiper.min.css);
@import url(css/print.css);


body {
  word-wrap: break-word;
}

html,
body {
   margin:0;
   padding:0;
   height:100%;
}
#container-wrap {
   min-height:100%;
   position:relative;
}

.main-content {
   padding-bottom: 60px;   /* Height of the footer */
}

* {
  outline: none;
}

/* KDU */
/* Header */
.header {
  background-color: #404F64;
  position: relative;
}

.header:after {
  background-color: #cfd3d8;
  bottom: -5px;
  content: '';
  height: 5px;
  position: absolute;
  width: 100%;
}

.header .container {
  padding-bottom: 0;
}

.navbar-collapse.collapse {
  float: left;
  padding-left: 30px !important;
}

.navbar {
  border: 0;
  margin-bottom: 0;
  position: static !important;
}

.navbar-brand {
  height: 60px;
  line-height: 60px;
  margin: 15px 15px 15px 0;
  padding: 0;
}

.site-navigation-inner,
.navbar-default .navbar-nav > li {
  position: static !important;
}

.navbar-default .navbar-nav > li > a {
  color: #e5e5e5;
  font-size: 14px;
  height: 90px;
  line-height: 105px;
  position: relative;
  text-align: center;
  text-transform: lowercase;
  -webkit-transition: background-color .25s ease;
  -moz-transition: background-color .25s ease;
  -ms-transition: background-color .25s ease;
  -o-transition: background-color .25s ease;
  transition: background-color .25s ease;
  width: 110px;
}

.navbar-default .navbar-nav > .current-menu-parent > a, 
.navbar-default .navbar-nav > .current-menu-parent > a:hover, 
.navbar-default .navbar-nav > .current-menu-parent > a:focus,
.navbar-default .navbar-nav > li > a:hover, 
.navbar-default .navbar-nav > li > a:focus {
  color: white;
  box-shadow: 0 0 2px 0 
}

.navbar-nav > .students > a,
.header-mobile-menu ul#header-mobile-menu > .students > a {
  background-color: #72834f;
}

.navbar-nav .students .dropdown-menu .active > a, 
.navbar-nav .students .dropdown-menu .active > a:hover, 
.navbar-nav .students .dropdown-menu .active > a:focus {
  color: #b9c588;
}

.navbar-nav .students .dropdown-menu .active > a:hover, 
.navbar-nav .students .dropdown-menu .active > a:focus,
.navbar-nav .students .dropdown-menu li > a:hover, 
.navbar-nav .students .dropdown-menu li > a:focus {
  background-color: rgb(163,183,57) !important;
  color: white !important;
}

.navbar-nav .pupils .dropdown-menu .active > a, 
.navbar-nav .pupils .dropdown-menu .active > a:hover, 
.navbar-nav .pupils .dropdown-menu .active > a:focus {
  color: #e4956c;
}

.navbar-nav .teachers .dropdown-menu .active > a, 
.navbar-nav .teachers .dropdown-menu .active > a:hover, 
.navbar-nav .teachers .dropdown-menu .active > a:focus {
  color: #67bec2;
}

.navbar-nav > .students > a:after {
  background-color: #b9c588;
  bottom: -5px;
  content: '';
  height: 5px;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: 11;
}

.navbar-nav > .pupils > a:after {
  background-color: #e4956c;
  bottom: -5px;
  content: '';
  height: 5px;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: 11;
}

.navbar-nav > .teachers > a:after {
  background-color: #67bec2;
  bottom: -5px;
  content: '';
  height: 5px;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: 11;
}

.navbar-nav > li.open .dropdown-menu {
  z-index: 10001;
}

.open .dropdown-menu,
.current-menu-item .dropdown-menu,
.current-menu-parent .dropdown-menu {
  border: 0;
  border-radius: 0;
  display: block;
  box-shadow: none;
  padding: 0;
}

.navbar-nav .dropdown-menu {
  width: 100%;
}

.navbar-nav .dropdown-menu li {
  float: left;
}

.navbar-nav .dropdown-menu li a {
  color: white;
  text-transform: lowercase;
}

.navbar-nav .dropdown-menu .active > a, 
.navbar-nav .dropdown-menu .active > a:hover, 
.navbar-nav .dropdown-menu .active > a:focus {
  background-color: white;
}

.students .dropdown-menu,
.navbar-default .navbar-nav > .open.students > a, 
.navbar-default .navbar-nav > .open.students > a:hover, 
.navbar-default .navbar-nav > .open.students > a:focus,
.navbar-default .navbar-nav > .current-menu-parent.students > a, 
.navbar-default .navbar-nav > .current-menu-parent.students > a:hover, 
.navbar-default .navbar-nav > .current-menu-parent.students > a:focus,
.navbar-default .navbar-nav > .students.active > a,
.navbar-default .navbar-nav > .students > a:hover,
.navbar-default .navbar-nav > .students > a:focus
.header-mobile-menu ul#header-mobile-menu > .students.current-menu-item > a,
.navbar-default .navbar-nav > .students.active > a:hover, 
.navbar-default .navbar-nav > .students.active > a:focus {
  background-color: rgb(163,183,57);
  color: white;
}

.navbar-nav > .pupils > a,
.header-mobile-menu ul#header-mobile-menu > .pupils > a {
  background-color: #9d5332;
}

.pupils .dropdown-menu,
.navbar-default .navbar-nav > .open.pupils > a, 
.navbar-default .navbar-nav > .open.pupils > a:hover, 
.navbar-default .navbar-nav > .open.pupils > a:focus,
.navbar-default .navbar-nav > .current-menu-parent.pupils > a, 
.navbar-default .navbar-nav > .current-menu-parent.pupils > a:hover, 
.navbar-default .navbar-nav > .current-menu-parent.pupils > a:focus,
.header-mobile-menu ul#header-mobile-menu > .pupils.current-menu-item > a,
.navbar-default .navbar-nav > .pupils.active > a, 
.navbar-default .navbar-nav > .pupils > a:hover, 
.navbar-default .navbar-nav > .pupils > a:focus
.navbar-default .navbar-nav > .pupils.active > a:hover, 
.navbar-default .navbar-nav > .pupils.active > a:focus {
  background-color: rgb(249,87,0);
  color: white;
}

.header-mobile-menu ul#header-mobile-menu > li.menu-item-has-children > a {
  color: white;
}

.navbar-nav > .teachers > a,
.header-mobile-menu ul#header-mobile-menu > .teachers > a {
  background-color: #217d88;
}

.teachers .dropdown-menu,
.navbar-default .navbar-nav > .open.teachers > a,
.header-mobile-menu ul#header-mobile-menu .teachers.current-menu-item > a,
.navbar-default .navbar-nav > .open.teachers > a:hover, 
.navbar-default .navbar-nav > .open.teachers > a:focus,
.navbar-default .navbar-nav > .current-menu-parent.teachers > a, 
.navbar-default .navbar-nav > .current-menu-parent.teachers > a:hover, 
.navbar-default .navbar-nav > .current-menu-parent.teachers > a:focus,
.navbar-default .navbar-nav > .teachers.active > a,
.navbar-default .navbar-nav > .teachers > a:hover, 
.navbar-default .navbar-nav > .teachers > a:focus
.navbar-default .navbar-nav > .teachers.active > a:hover, 
.navbar-default .navbar-nav > .teachers.active > a:focus {
  background-color: rgb(0,170,173);
  color: white;
}

.header-right-nav {
  background-color: #6F7B8A;
  float: left;
  height: 90px;
  margin-right: 100px;
  padding-top: 12px;
  padding-right: 50px;
  position: relative;
}

.header-right-nav.active {
  background-color: white;
}

.header-right-nav.active .current-page-ancestor a,
.header-right-nav.active .current-menu-item a {
  color: #f85700 !important;
}

.header-right-nav.active a {
  color: #404f64;
}

.header-right-nav:after,
.header-right-nav:before {
  background-size: contain;
  background-repeat: no-repeat;
  content: '';
  height: 100%;
  position: absolute;
  top: 0;
  width: 75px;
}

.header-right-nav:before {
  background-image: url('../kdu/images/arr-top-1.svg');
  right: -45px;
}

.header-right-nav:after {
  background-image: url('../kdu/images/arr-top-2.svg');
  right: -95px;
}

.header-right-nav ul {
  list-style: none;
}

.header-right-nav ul,
.header-right-nav ul li {
  margin: 0;
  padding: 0;
}

.header-right-nav ul a {
  color: white;
  display: block;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 15px;
  text-decoration: none;
  text-transform: uppercase;
}

.social-nav {
  float: left;
  margin-top: 12px;
}

.social-nav a {
  display: inline-block;
  margin-right: 4px;
}

.social-nav a.miok-logo {
  display: block;
  margin-bottom: 10px;
}

.social-nav ul {
  list-style: none;
  padding: 0;
  position: relative;
}

.social-nav ul li {
  display: inline-block;
}

.social-nav ul li .popover {
  background-color: #cfd3d8;
  border-radius: 0;
  border: 0;
  left: auto;
  margin-top: 16px;
  top: 100%;
  right: -50px;
  width: 261px;
}

.social-nav ul li .arrow,
.social-nav ul li .arrow:after {
  border-bottom-color: #cfd3d8 !important;
}

.miok-logo img {
  max-width: 125px;
}



.menu-top {
  float: right;
}

.active.search-link,
.active.login-link {
  position: relative;
}

.active.search-link + .popover,
.active.login-link + .popover {
  display: block;
}

.popover-content {
  padding: 10px !important;
}

.active.search-link:after,
.active.login-link:after {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  left: 50%;
  margin-left: -11px;
  border-width: 11px;
  border-top-width: 0;
  border-bottom-color: #cfd3d8;
  bottom: -16px;
}

.search-form {
  text-align: right;
}

.social-nav input[type="text"],
.social-nav input[type="email"],
.social-nav input[type="password"] {
  margin-bottom: 10px;
  padding-right: 5px;
  padding-left: 5px;
  width: 100%;
}

.social-nav input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #9ea6b0;
  color: #404f64;
  float: right;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 10px;
  text-transform: uppercase;
}

.social-nav .btn {
  background-color: #9ea6b0;
  border-radius: 0;
  color: #404f64;
  float: left;
  font-size: 10px;
  margin-bottom: 10px;
  padding: 5px 10px;
  text-transform: uppercase;
}

.social-nav a.btn {
  margin-right: 10px;
}

/* 404 */
.page-template-page-full .main-content {
  position: relative;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-template-page-full .main-content:after,
.page-template-page-full .main-content:before {
  background-image: url('../kdu/includes/images/line.png');
  content: '';
  position: absolute;
  left: 0;
  height: 5px;
  width: 100%;
}

.page-template-page-full .main-content:before {
  top: 0;
}

.page-template-page-full .main-content:after {
  bottom: 0;
}

.page-template-page-full .main-content-inner {
  padding-bottom: 0;
  padding-top: 60px;
}

.page-template-page-full .main-content-inner header {
  display: none;
}

.page-template-page-full .main-content-inner .entry-content {
  padding-left: 180px;
}

.page-template-page-full h2 {
  color: #404f64;
  font-size: 40px;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.left-sub-nav {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  margin: 0;
}

.left-sub-nav li {
  margin-bottom: 2px;
  list-style: none;
  padding-left: 0;
}

.left-sub-nav .current-menu-parent > a,
.left-sub-nav .current-menu-item > a,
ul#header-mobile-menu li li.current-menu-item a,
.left-sub-nav .current-menu-item > a:hover {
  background-color: #404f64;
  color: #fff;
}

.left-sub-nav a {
  background-color: #bbc0c8;
  color: #404f64;
  display: block;
  font-size: 15px;
  padding: 10px;
}

.left-sub-nav .current-menu-item > ul,
.left-sub-nav .current-menu-ancestor > ul,
.left-sub-nav .current-menu-parent > ul {
  display: block;
}

.left-sub-nav ul {
  padding-left: 20px;
  display: none;
}

.left-sub-nav .dropdown-menu {
  float: none;
  padding-left: 20px;
  position: static !important;
  width: 100%;
}

.left-sub-nav .dropdown-menu a:hover {
  color: #404f64;
}

.left-sub-nav .dropdown-menu ul li:last-child {
  margin-bottom: 0;
}

.left-sub-nav .dropdown-menu .container {
  width: auto !important;
}

.wpcf7-form {
  background-color: #ebecee;
  margin-top: 10px; 
  padding: 10px 10px 0 10px;
  overflow: hidden;
  position: relative;
}

.wpcf7-form label {
  color: #707b8a;
  font-size: 17px;
  font-weight: normal;
  text-transform: lowercase;
}

.wpcf7-form textarea,
.wpcf7-form input {
  border: 0;
  margin-bottom: 10px;
  padding: 5px;
  resize: none;
  width: 100%;
}

.wpcf7-form textarea {
	height: 230px !important;  
}

.wpcf7-form .pad-l {
  padding-left: 0;
}

.wpcf7-form input[type="submit"] {
  background-color: #404f64;
  color: white;
  font-size: 20px;
  text-align: left;
  margin-top: 132px;
  padding: 10px 15px;
}

.contacts-page .main-content-inner,
.statics-page .main-content-inner {
  padding: 0 70px 0 0 !important;
}

.statics-page .main-content-inner article {
  background-color: #ebecee;
  font-size: 15px;
  min-height: 450px;
  padding: 20px 20px 40px 20px;
  position: relative;
}

.contacts-page .main-content-inner article h1,
.statics-page .main-content-inner article h1 {
  color: #728255;
  font-size: 25px;
  font-weight: normal;
  margin-top: 0;
}

.statics-page .main-content-inner article h3 {
  font-size: 17px;
  color: #728255;
}

.statics-page .main-content-inner article h4 {
  font-size: 17px;
  color: #f85700;
  font-style: italic;
  margin-bottom: 5px;
  margin-top: 15px;
}

.single-article ul {
  list-style: square;
  padding-left: 15px;
}

.contacts-page .main-content-inner h1,
.contacts-page .main-content-inner p {
  padding-left: 5px;
}

.contacts-page .main-content-inner h1 {
  margin-top: 0;
}

.contacts-page .main-content-inner p {
  font-size: 17px;
  margin-bottom: 15px;
}

.contacts-page .main-content-inner header {
  display: none;
}

.people-list {
  list-style: none;
  padding: 0 !important;
  margin: 0;
}

.people-list li {
  display: table;
  font-size: 17px;
  padding: 10px 0;
  width: 100%;
}

.people-list li > * {
  display: table-cell;
  vertical-align: top;
}

.people-list li > div:first-child {
  width: 120px;
}

.people-list li img {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  border: 4px solid #404f64;
  margin: 0 20px 0 0;
  max-width: 150px;
  max-height: 150px;
}

.people-list h2 {
  color: #728255;
  font-weight: normal;
  font-size: 21px;
}

.people-list p {
  margin-bottom: 5px;
}

.edition-list .gallery .gallery-item {
  margin-left: 0px;
  margin-right: 10px;
}

.edition-list .gallery dt {
  text-align: left;
}



.single-article .container {
  padding-right: 90px;
  padding-left: 30px;
}

.single-article .article {
  background-color: #ebecee;
  font-size: 15px;
  min-height: 450px;
  padding: 20px 20px 40px;
  position: relative;
}

.single-article .article h1 {
  color: #728255;
  font-size: 25px;
  font-weight: normal;
  margin-top: 0;
}

.single-article .article span {
  color: #828c99;
  display: block;
  font-size: 14px;
  line-height: .6;
  margin-bottom: 5px;
}

/* Alignment */
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}
.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}
.aligncenter {
  clear: both;
  display: block;
  margin: 0 auto;
}

.gallery-item {
  margin-bottom: 0 !important;
}

.page-title:empty {
  display: none;
}

.edition-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.edition-list li {
  position: relative;
  padding-left: 180px;
  padding-right: 60px;
  margin-bottom: 20px;
}

.edition-list li h2 {
  color: #728355;
  font-size: 25px;
  margin: 0 0 15px 0;
  font-weight: normal;
}

.edition-list li .img {
  position: absolute;
  top: 0;
  left: 0;
  width: 165px;
}

.edition-list .edition-content {
  background-color: #ececee;
  min-height: 270px;
  padding: 20px 20px 50px 20px;
  position: relative;
}

.artical-img {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}


div.wpcf7-mail-sent-ok {
  border-right: 0; 
  border-top: 0;
  border-bottom: 0;
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  padding-bottom: 10px !important;
  margin-bottom: 20px !important;
}

div.wpcf7-mail-sent-ok,
.edition-list .autor {
  background-color: #f7f7f7;
  border-left: 2px solid #9ea6b0;
  margin-bottom: 15px;
  padding: 10px 10px 2px 20px; 
}

.edition-list .autor:empty {
  display: none;
}

.edition-list .edition-footer {
  background-color: #9ea6b0;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.edition-list .edition-footer a {
  display: inline-block;
  border-right: 1px solid white;
  color: white;
  padding: 5px 10px;
}

.edition-list .edition-footer a:empty {
  display: none;
}

.printfriendly {
  background-color: #9ea6b0;
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0 !important;
  width: 100%;
  float: none !important;
  padding-left: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.printfriendly a {
  color: white;
}

#gaiframe {
  display: none;
}

.icon-pdf {
  margin-left: 20px;
  display: inline-block;
}


/* Images and wp-captions should always fit and be responsive */
img {
  display: inline-block;
  height: auto;
  max-width: 100%;
}
img[class*="wp-image-"] {
  margin-top: 10px;
  margin-bottom: 10px;
}
.wp-caption {
  border: 1px solid #ccc;
  margin-bottom: 10px;
  max-width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0 10px;
}
.wp-caption.aligncenter {
  margin-bottom: 10px;
}
.wp-caption img[class*="wp-image-"] {
  display: block;
}
.wp-caption .wp-caption-text {
  text-align: center;
  margin-top: 10px;
}

/* WP Gallery */
.gallery {
  margin-bottom: 1.5em;
}
.gallery a img {
  border: none;
  height: auto;
  max-width: 90%;
}
.gallery dd {
  margin: 0;
}
.gallery-caption {
  display: block;
}

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


/* Text meant only for screen readers */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
}
.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar */
}

/* Content */
.main-content-inner {
  padding-bottom: 1.5em;
}
.hentry {
  margin: 0 0 1.5em;
}
.sticky {
  display: block;
}
.bypostauthor {
  display: block;
}


/* Clearing */
.clear {
  clear: both;
}

/* Navigation */

.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu:active>.dropdown-menu, .dropdown-submenu:hover>.dropdown-menu {
display: block;
}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:active>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}


/* Here some needed widget styles
 * Most widgets are adapted in the file bootstrap-wp.js - and REALLY easy to modify! ;) */
.widget { margin-bottom: 2em; }
.widget_nav_menu ul.sub-menu li, .widget_pages ul.children li { padding-left: 15px; }

/* Hiding the search widget's button in widgets. thats just too old-skool. :) but if you want it back, just delete the next line.
 * Note: you can change the whole appearance of the search_form() function in our searchform.php */
.widget_search .search-form input[type="submit"] { display: none; }

/* Make sure select elements fit in widgets */
.widget select {
  max-width: 100%;
}

/* Nested comments? They are threaded and nested already, you just need to add your own styling to finalize!
 * For example with some margin, like the line below ;) Delete, modify, change classes in HTML if you desire another style */
 .comment .children { margin-left: 1.5em; }


/* listen-archive */
.listen-archive .list-text::after {
  left: 380px;
}

.listen-archive  .audio-image {
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 400px;
  height: 100%;
  text-align: center;
}

.listen-archive  .audio-image img {
  z-index: 0;
  position: relative;
}


.listen-archive .list-text > div {
  padding-left: 0;
  padding-top: 0;
}

.listen-archive .list-text > .list-content {
  padding-left: 410px;
  padding-top: 15px;
}

.teachers-games table td {
  border: none;
  padding: 5px 30px 5px 0;
  vertical-align: top;
}

