/*
Theme Name: Mokykla2030
Theme URI: https://mageewp.com/onetone-theme.html
Template: onetone
Description:  Onetone Child Theme
Author:       Cezary Taraszkiewicz
Author URI:   https://www.mokykla2030.lt
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-colors, two-columns, one-column, custom-header, custom-menu, featured-images, translation-ready, theme-options, blog, e-commerce, portfolio, rtl-language-support
Text Domain: onetone
*/
p {
    font-size: 14px;
    line-height: 23px;
}
.entry-comments, .entry-author {
    display: none;
    visibility: hidden;
    max-width: 1px;
    font-size: 1px;
    overflow: hidden;
    white-space: nowrap;
}
.home-section {
  min-height: 916px;
}
#menu-main > li > a {
    color: #adadad;
}
.fixed-header #menu-main > li > a {
    color: #4d4d4d;
}
.magee-feature-box h3 {
    text-transform: uppercase;
}
.fxd-header {
    background-color: rgba(255,255,255,0.7);
}

* { box-sizing: border-box; }
.video-background {
    background: #000;
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: -99;
}
.video-foreground,
.video-background iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
#vidtop-content {
    top: 0;
    color: #fff;
}
.vid-info { position: absolute; top: 0; right: 0; width: 33%; background: rgba(0,0,0,0.3); color: #fff; padding: 1rem; font-family: Avenir, Helvetica, sans-serif; }
.vid-info h1 { font-size: 2rem; font-weight: 700; margin-top: 0; line-height: 1.2; }
.vid-info a { display: block; color: #fff; text-decoration: none; background: rgba(0,0,0,0.5); transition: .6s background; border-bottom: none; margin: 1rem auto; text-align: center; }
@media (min-aspect-ratio: 16/9) {
    .video-foreground { height: 300%; top: -100%; }
}
@media (max-aspect-ratio: 16/9) {
    .video-foreground { width: 300%; left: -100%; }
}
@media all and (max-width: 600px) {
    .vid-info { width: 50%; padding: .5rem; }
    .vid-info h1 { margin-bottom: .2rem; }
}
@media all and (max-width: 500px) {
    .vid-info .acronym { display: none; }
}

#latestnews .timeline-text .text-left {
    text-align: left;
}

#latestnews .timeline-text .colored-line-left {
    float: left;
}
.carousel-inner {
    /*	margin: 0 30px; */
}
#carousel-homepage-latestnews .item {
    height: auto;
    margin-top: 40px;
}
.latestnews-box {
    min-height: 640px;
}
.latestnews-content p,
.latestnews-content {
    color: #313131;
    font-size: 14px;
    line-height: 18px;
}
#carousel-homepage-latestnews .carousel-inner .item .latestnews-title {
    display: inline-block;
    float: none;
    position: relative;
    width: auto;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-bottom: 30px;
    color: #313131;
    font-size: 17px;
    font-weight: bold;
    text-transform: uppercase;
}
#carousel-homepage-latestnews .carousel-inner .item .latestnews-title a {
    display: block;
    color: #313131;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}
#carousel-homepage-latestnews .item .latestnews-box .latestnews-title a:before {
    position: absolute;
    z-index: 1;
    bottom: -9px;
    left: 12.5%;
    width: 75%;
    height: 2px;
    margin: auto;
    background: #e96656;
    content: "";
}
#carousel-homepage-latestnews .item .latestnews-box:nth-child(4n+1) .latestnews-title a:before {
    background: #e96656;
}
#carousel-homepage-latestnews .item .latestnews-box:nth-child(4n+2) .latestnews-title a:before {
    background: #34d293;
}
#carousel-homepage-latestnews .item .latestnews-box:nth-child(4n+3) .latestnews-title a:before {
    background: #3ab0e2;
}
#carousel-homepage-latestnews .item .latestnews-box:nth-child(4n) .latestnews-title a:before {
    background: #f7d861;
}
#carousel-homepage-latestnews .item .latestnews-box .latestnews-img .latestnews-img-a {
    display: block;
}
#carousel-homepage-latestnews {
    margin: 0 30px;
}
#carousel-homepage-latestnews .carousel-control {
    width: 45px;
    background: none;
}

.carousel-control:focus {
    outline: thin dotted #cb4332;
    outline-offset: 0;
}

.carousel-control:active {
    outline: 0;
}

.carousel-control.left {
    background-image: none;
    margin-left: -45px;
}
.carousel-control.right {
    background-image: none;
    margin-right: -45px;
}

.carousel-control1 .glyphicon-chevron-right {
    right: auto;
}
#carousel-homepage-latestnews .glyphicon-chevron-left:before {
    float: left;
    width: 30px;
    height: 30px;
    xbackground: url(images/left-arrow.png) no-repeat center center;
    xcontent: "";
}
#carousel-homepage-latestnews .glyphicon-chevron-right:before {
    float: left;
    width: 30px;
    height: 30px;
    xbackground: url(images/right-arrow.png) no-repeat center center;
    xcontent: "";
}

.latestnews-img {
    zfloat: left;
    width: 100%;
    margin-bottom: 40px;
    padding: 10px;
    min-height: 160px;
    text-align: center;
}
.xmokykla_section_title_1 {
    background-color: #7dc748;
    padding: 8px;
    text-transform: uppercase;
}
.section-xtitle {
    padding-bottom: 6px;
}
.box-siekiai {
    xborder-top: 5em solid #7dc748;
    xbox-shadow: 2px 2px 6px rgb(0, 0, 0, 0.5) inset;
    padding: 4px;
}
.box-keturi img{
    max-width: 50%;
    display: inline-block;
}
.box-keturi p {
    padding: 0 4px;
}
/* siekiai #7dc748, kelias #f7941e, kryptys #0c7872, igyvendinimas #05406f */
.siekiai-back {
    background-color: #7dc748;
    min-height: 200px;
    min-width: 200px;

}
.siekiai-back p {
    border-radius: 50%;
    margin: auto;
    vertical-align: middle;
}
.kryptys-back {
    background-color: #f7941e;
}
.kelias-back {
    background-color: #0c7872;
}
.igyvendinimas-back {
    background-color: #05406f;
}
.box-keturi {
    padding: 2px 4px;
    text-align: center;
}
/*
.mokykla_section_title_2,
.mokykla_section_title_3,
.mokykla_section_title_4,
.mokykla_section_title_5 {
    padding-left: 200px;
    background-repeat: no-repeat;
    min-height: 200px;
    background-position: left bottom;
    margin-bottom: 20px;
}
.mokykla_section_title_2 {
    background-image: url(images/siekiai-full.png);
}
.mokykla_section_title_3 {
    background-image: url(images/kryptys-full.png);
}
.mokykla_section_title_4 {
    background-image: url(images/kelias-full.png);
}
.mokykla_section_title_5 {
    background-image: url(images/igyvendinimas-full.png);
}
*/
.siekiai-full [class*="col-md"],
.kryptys-full [class*="col-md"] {
    text-align: left;
    xpadding-right: 6px;
}
.siekiai-full .fa {
    color: #7dc748;
}
section.home-section-x1,
section.home-section-x2,
section.home-section-x3,
section.home-section-x4,
section.home-section-x5,
section.home-section-x6,
section.home-section-x7,
section.home-section-x11 {
    background-color: #f6f0e8;
    xpadding: 30px 0;
}
section.home-section-x1 a img:hover{
    position: relative;
    top: 8px;
}
section.home-section-x11 {
    background-color: rgb(255,255,255,0.7);
}
/*
section.home-section-x1 p,
section.home-section-x2 p,
section.home-section-x3 p,
section.home-section-x4 p,
section.home-section-x5 p,
section.home-section-x6 p,
section.home-section-x7 p {
    text-align: left;
    line-height: 1.2;
    margin: 1em 0;
} */
section.home-section-x2,
section.home-section-x3,
section.home-section-x4,
section.home-section-x5{
    border-top: 3em solid red;
    box-shadow: 2px 2px 6px rgb(0, 0, 0, 0.5) inset;
}
section.home-section-x2 {
    border-color: #7dc748;
}
section.home-section-x3 {
    border-color: #f7941e;
}
section.home-section-x4 {
    border-color: #0c7872;
}
section.home-section-x5 {
    border-color: #05406f;
}
.xhome-section-x2 .section-xcontent {
    xbackground-color: #f6f0e8;
    min-height: 420px;
    background-image: url(images/siekiai-full.png);
    background-repeat: no-repeat;
    background-position: left 2em bottom;

}
.siekiai-full [class*="col-md"],
.kelias-full [class*="col-md"],
.igyvendinimas-full [class*="col-md"],
.kryptys-full [class*="col-md"] {
    xtext-align: left;
    xpadding: 0 20px;
    xvertical-align: bottom;
    xmin-height: 240px;
    xborder: 1px solid red;
}
.siekiai-full .row {

}
.siekiai-back [class*="col-"] ,
.kelias-back [class*="col-"] p,
.igyvendinimas-back [class*="col-"] p,
.kryptys-back [class*="col-"] {
    color: white;
}
.section-title {
    font-family: Open Sans, sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-transform: none;
    color: #666666;
}
.circle {
    display: inline-block;
    border-radius: 50%;
    min-width: 200px;
    min-height: 200px;
    max-width: 250px;
    max-height: 250px;
    padding: 5px;
    background: white;
    color: #666666;
    text-align: center;
    line-height: 1;
    box-sizing: content-box;
    xwhite-space: nowrap;
    xborder: 20px solid white;
    xbackground-image: url(images/siekiai-circle.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}
.siekiai-full .circle {
    background-image: url(images/siekiai-circle.png);
}
.kryptys-full .circle {
    background-image: url(images/kryptys-circle.png);
}
.igyvendinimas-full .circle {
    background-image: url(images/igyvendinimas-circle.png);
}
.boxy {
    padding: 20px;
    min-height: 200px;
    xdisplay: inline-block;
    xtransform: translateY(25%);
    xborder: 1px solid #fff;
    background-color: white;
    background-image: url(images/kryptys-corner.png);
    background-repeat: no-repeat;
    background-position: right bottom;
}
.siekiai-full .boxy {
    border-color: #7dc748;
    background-image: url(images/siekiai-corner.png);
}
.kryptys-full .boxy {
    border-color: #f7941e;
    background-image: url(images/kryptys-corner.png);
}
.kelias-full .boxy {
    border-color: #0c7872;
    background-image: url(images/kelias-corner.png);
}
.igyvendinimas-full .boxy {
    border-color: #05406f;
    background-image: url(images/igyvendinimas-corner.png);
}
s{
    position: relative;
    left:50%;
    top:50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.siekiai-full .circle {
    border-color: #7dc748;
}
.kelias-full .circle {
}
.igyvendinimas-full .circle {
}
.kryptys-full .circle  {
}
.circle:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    padding-top: 100%;
    height: 0;
}
.circle p {
    display: inline-block;
    vertical-align: middle;
}
.no-gutters [class*='col-'] {
    margin: 0;
    margin-right: 0;
    padding: 0;
}
.align-items-center {
    -ms-flex-align: center !important;
    align-items: center !important;
}
.row {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.row + .row {
    margin-top: 0px;
}
section [class*="home-section-z"]
{
    background-color: #f6f0e8;
    xpadding: 30px 0;
    margin-top: 0;
}
section.home-section-z0 {
    background-color: #4b8c30;
}
section.home-section-z11,
section.home-section-z13 {
    border-top: 0.5em solid #f6b35a;
}
/* Projects */
.projects-section {
    border-top: 0.5em solid #7dc748;
    box-shadow: 2px 2px 6px rgb(0, 0, 0, 0.2) inset;
    padding: 2rem 0;
}

.projects-section .featured-text {
    padding: 2rem;
}

@media (min-width: 992px) {
    .projects-section {
      xbackground-image: url(img/siekiai-back.jpg);
      background-position: left top;
      background-repeat: no-repeat;
    }

    .projects-section .featured-text {
        padding: 0 0 0 2rem;
        border-left: 0.5rem solid #7dc748; /* #64a19d; */
    }
}

.projects-section .project-text {
    padding: 1.1rem;
    font-size: 90%;
}

@media (min-width: 992px) {
    .projects-section .project-text {
        xpadding: 5rem;
    }
    .projects-section .project-text hr {
        border-bottom-style: solid;
        border-color: #7dc748;
        border-width: 0.25rem;
        width: 30%;
    }
}
.projects-section p::first-letter {
    /* 81119c */
    color: #7dc748;
    font-weight: bold;
    font-size: 1.2em;
}
.tint img {
    filter: grayscale(100%);
}
.tint {
    position: relative;
}
.tint::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transition: all .3s linear;
}

.projects-section .tint::after {
    xbackground: rgba(125,26,150,0.5);
    background: rgba(125,199,72,0.5);
}
.order-lg-first {
    -ms-flex-order: -1;
    order: -1;
}
.bg-black {
    background-color: #fff !important;
}
.ml-0, .mx-0 {
    margin-left: 0 !important;
}
.mb-0, .my-0 {
    margin-bottom: 0 !important;
}
.d-lg-block {
    display: block !important;
}
.mb-auto, .my-auto {
    margin-bottom: auto !important;
}
.mt-auto, .my-auto {
    margin-top: auto !important;
}
.w-100 {
    width: 100% !important;
}
.h-100 {
    height: 100% !important;
}
.d-flex {
    display: -ms-flexbox !important;
    display: flex !important;
}
.text-lg-left {
    text-align: left !important;
}
.text-lg-right {
    text-align: right !important;
}
/* Four boxes */
.portfolio-item {
  display: block;
  position: relative;
  overflow: hidden;
  max-width: 530px;
  margin: auto auto 1rem;
}

.portfolio-item .caption {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  width: 100%;
  background-color: rgba(33, 37, 41, 0.2);
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
}

.portfolio-item .caption .caption-content {
  color: #fff;
  margin: auto 2rem 2rem;
  text-shadow: 0px 0 1px rgba(0, 0, 0, 1);
  background: rgba(0, 0, 0, 0.4);
  padding: 0 10px;
  font-weight: bold;
}

.portfolio-item .caption .caption-content h2 {
  font-size: 1rem;
  text-transform: uppercase;
}

.portfolio-item .caption .caption-content p {
  font-weight: 400;
  font-size: 1.2rem;
}

@media (min-width: 992px) {
  .portfolio-item {
    max-width: none;
    margin: 0;
  }
  .portfolio-item .caption {
    -webkit-transition: -webkit-clip-path 0.25s ease-out, background-color 0.7s;
    -webkit-clip-path: inset(0px);
    clip-path: inset(0px);
  }
  .portfolio-item .caption .caption-content {
    -webkit-transition: opacity 0.25s;
    transition: opacity 0.25s;
    margin-left: 5rem;
    margin-right: 5rem;
    margin-bottom: 5rem;
  }
  .portfolio-item img {
    -webkit-transition: -webkit-clip-path 0.25s ease-out;
    -webkit-clip-path: inset(-1px);
    clip-path: inset(-1px);
  }
  .portfolio-item:hover img {
    -webkit-clip-path: inset(2rem);
    clip-path: inset(2rem);
  }
  .portfolio-item:hover .caption {
    background-color: rgba(29, 128, 159, 0.9);
    -webkit-clip-path: inset(2rem);
    clip-path: inset(2rem);
  }
}
/* kryptys */
.kryptys-section {
    border-top: 0.5em solid #f7941e;
    box-shadow: 2px 2px 6px rgb(0, 0, 0, 0.2) inset;
    padding: 2rem 0;
}
.kryptys-section p {
    margin-bottom: 0.5em;
    padding: 0;
    line-height: 1;
}
.kryptys-section p::first-letter {
    color: #f7941e;
    font-weight: bold;
    font-size: 1.2em;
}

/* Buttons */
.btn-xl {
  padding: 1.25rem 1.25rem;
}
.btn-l {
  min-width: 15rem;
}

.kelias-section .btn-xl {
    background-color: #0c7872 !important;
    margin-bottom: 1em;
}
.btn-primary {
  background-color: #1D809F !important;
  border-color: #1D809F !important;
  color: #fff !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: #155d74 !important;
  border-color: #155d74 !important;
}

.btn-secondary {
  background-color: #ecb807 !important;
  border-color: #ecb807 !important;
  color: #fff !important;
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
  background-color: #ba9106 !important;
  border-color: #ba9106 !important;
}

.btn-dark {
  color: #fff !important;
}

.btn {
  -webkit-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.1);
  font-weight: 700;
}
.rotate {
    /* Safari */
    -webkit-transform: rotate(-90deg);
    /* Firefox */
    -moz-transform: rotate(-90deg);
    /* IE */
    -ms-transform: rotate(-90deg);
    /* Opera */
    -o-transform: rotate(-90deg);
    /* Internet Explorer */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
/* Timeline */
.timeline {
  position: relative;
  padding: 0;
  list-style: none;
}

.timeline:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  margin-left: -1.5px;
  content: '';
  background-color: #e36c3b; zz: #e9ecef;
}
.timeline-inverted:after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  margin-left: -1.5px;
  content: '';
  background-color: transparent;
}

.timeline > li {
  position: relative;
  min-height: 50px;
  margin-bottom: 50px;
}

.timeline > li:after, .timeline > li:before {
  display: table;
  content: ' ';
}

.timeline > li:after {
  clear: both;
}

.timeline > li .timeline-panel {
  position: relative;
  float: right;
  width: 100%;
  padding: 0 10px 0 100px;
  text-align: left;
}

.timeline > li .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}

.timeline > li .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.timeline > li .timeline-image {
  position: absolute;
  z-index: 100;
  left: 0;
  width: 80px;
  height: 80px;
  margin-left: 0;
  text-align: center;
  color: white;
  border: 7px solid #e36c3b; zzz:#e9ecef;
  border-radius: 100%;
  background-color: #f7941e;
}

.timeline > li .timeline-image h4 {
  font-size: 10px;
  line-height: 14px;
  margin-top: 12px;
}

.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
  padding: 0 20px 0 100px;
  text-align: left;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.timeline > li:last-child {
  margin-bottom: 0;
}

.timeline .timeline-heading h4 {
  margin-top: 0;
  color: inherit;
}

.timeline .timeline-heading h4.subheading {
  text-transform: none;
}

.timeline .timeline-body > ul,
.timeline .timeline-body > p {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .timeline:before {
    left: 50%;
  }
  .timeline > li {
    min-height: 100px;
    margin-bottom: 100px;
  }
  .timeline > li .timeline-panel {
    float: left;
    width: 41%;
    padding: 0 20px 20px 30px;
    text-align: right;
  }
  .timeline > li .timeline-image {
    left: 50%;
    width: 100px;
    height: 100px;
    margin-left: -50px;
  }
  .timeline > li .timeline-image h4 {
    font-size: 13px;
    line-height: 18px;
    margin-top: 16px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    float: right;
    padding: 0 30px 20px 20px;
    text-align: left;
  }
}

@media (min-width: 992px) {
  .timeline > li {
    min-height: 150px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px;
  }
  .timeline > li .timeline-image {
    width: 150px;
    height: 150px;
    margin-left: -75px;
  }
  .timeline > li .timeline-image h4 {
    font-size: 18px;
    line-height: 26px;
    margin-top: 30px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 20px 20px;
  }
}

@media (min-width: 1200px) {
  .timeline > li {
    min-height: 170px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px 100px;
  }
  .timeline > li .timeline-image {
    width: 170px;
    height: 170px;
    margin-left: -85px;
  }
  .timeline > li .timeline-image h4 {
    margin-top: 40px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 100px 20px 20px;
  }
}
.rounded-circle {
    border-radius: 50% !important;
    xobject-fit: cover;
}
.green {
    color: #7dc748;
}
.blue {
    color: #00b3d3;
}

/* Kelias section */
.kelias-section {
    border-top: 0.5em solid #0c7872;
    box-shadow: 2px 2px 6px rgb(0, 0, 0, 0.2) inset;
    padding: 2rem 0;
    z-index: 1;
}
.kelias-section .tint::after {
    border-radius: 50%;
    background: rgba(12,120,114,0.5);
}
.kryptys-section .tint::after {
    border-radius: 50%;
    background: rgba(247,148,30,0.5);
}
.kelias-section p::first-letter {
    color: #0c7872;
    font-weight: bold;
    font-size: 1.2em;
}
.kelias-section p {
    line-height: 1;
    margin-bottom: 0.5em;
}
section.home-section-z11 {
    background-color: rgba(255,255,255,0.9);
}
.modal-dialog {
    min-width: 50%;
}
.igyvendinimas-section {
    border-top: 0.5em solid #05406f;
    box-shadow: 2px 2px 6px rgb(0, 0, 0, 0.2) inset;
    padding: 2rem 0;
}
.igyvendinimas-section .tint::after {
    background: rgba(5,64,111,0.5);
}
.igyvendinimas-section p::first-letter {
    color: #05406f;
    font-weight: bold;
    font-size: 1.2em;
}
p > a, li > a {
    color: #555;
    text-decoration: underline dashed;
}
div.fade {
    padding-right: 0;
}
#apie {
    background-color: white;
}
.modal-open {
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
}
.modal-open::-webkit-scrollbar {
    display: none;
}
.long-form [class*="col-md"] {
    padding: 0 3px;
    margin: 0;
}
.long-form .row {
    margin-bottom: 3px;
}
.long-form p {
    padding: 0;
    margin: 0;
}
/* test */

.entry-footer {
    display: none;
    visibility: hidden;
}
.page-title h1 {
    font-weight: bold;
}
.post-wrap {
    min-height: 80vh;
}
.xsite-nav > ul > li + li {
    margin-left: 10px;
}
.post-inner, .page-inner {
    min-height: 80vh;
}
