/*!
Theme Name: LTB Wordpress
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ltb-wordpress
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.

LTB Wordpress 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.

*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Utility Classes
# Main
# Typography
# Navbar
# Footer
# Grid
# Card
# Material Icons
# Jumbotron
# Timeline
# Form
# Fullscreen
# Preset Animation Styles
--------------------------------------------------------------*/

/**
* Utility Classes
*/
.container {
  padding: 1px 15px;
}
.full-container {
  padding: 1px 15px;
  width: 98%;
  margin: auto;
}
.bg-ltb-blue {
  background: #354175;
}
.bg-ltb-blue-new {
  background: #435190;
}
.bg-ltb-blue_gradient {
  background: linear-gradient(150deg, #354175, #445392);
}
.bg-ltb-grey {
  background: #eceef3;
}
.sh-z1,
.cardbody-hover .card-body:hover {
  box-shadow: 0 0 25px rgba(40, 47, 60, 0.05),
    0 20px 25px rgba(40, 47, 60, 0.05), 0 3px 4px rgba(40, 47, 60, 0.05);
}
.py7 {
  padding-top: 7em;
  padding-bottom: 7em;
}
.flex-rreverse {
  flex-direction: row-reverse;
}
.flex-1 {
  flex: 1;
}
.h100 {
  height: 100%;
}
.w100 {
  width: 100%;
}
.btn-primary {
  background-color: hsla(211, 90%, 45%, 1);
}
.text-white {
  color: #fefefe !important;
}
.fullscreen {
  min-height: 80vh;
}
.o-anim {
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.o-anim:hover {
  opacity: 0.6;
}
.breakword {
  word-wrap: break-word;
}

/**
* Content 
*/
#content {
  flex: 1;
  /* margin-top: 82px; */
}

/**
* Typography
*/
body {
  background-color: #fefefe;
  line-height: 1.45;
  color: #333;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  /* font-weight: 400; */
}

p {
  margin-bottom: 1.3em;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 1.414em 0 0.5em;
  font-weight: inherit;
  line-height: 1.2;
  color: inherit;
}

h1 {
  margin-top: 0;
  font-size: 2.157em;
}
@media (min-width: 796px) {
  h1 {
    font-size: 3.157em;
  }
}

h2 {
  font-size: 1.5em;
}
@media (min-width: 769px) {
  h2 {
    font-size: 2.369em;
  }
}

h3 {
  font-size: 1.777em;
}

h4 {
  font-size: 1.333em;
}

small,
.font_small {
  font-size: 0.75em;
}

b, strong {
  font-weight: 600;
}

/**
* Navbar
*/
#masthead {
  margin-bottom: 79px;
}
.navbar,
.cardbody-hover .card-body:hover {
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar {
  padding: 0 1.5em;
}
.admin-bar .navbar.fixed-top {
  margin-top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .navbar.fixed-top {
    margin-top: 46px;
  }
}
.navbar-brand {
  margin-right: .5rem;
}
.navbar-toggler {
  background: #414f90;
}
.navbar-collapse {
  max-height: 238px;
}
.menu-item-has-children {
  position: relative;
}
.sub-menu {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 43px;
  right: 0;
  list-style: none;
  background: #fefefe;
  border-radius: 5px;
  box-shadow: 0 0.46875rem 2.1875rem rgba(90, 97, 105, 0.1), 0 0.9375rem 1.40625rem rgba(90, 97, 105, 0.1), 0 0.25rem 0.53125rem rgba(90, 97, 105, 0.12), 0 0.125rem 0.1875rem rgba(90, 97, 105, 0.1);
  padding-left: 1.5em;
  padding-right: .5em;
  transition: opacity 0.25s, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transform: perspective(500px) rotateX(40deg) translateY(-8px);
  transform-origin: 50% 0;
  text-align: right;
  z-index: 2;
}
@media(max-width: 991px){
  .sub-menu {
    text-align: left;
    right: auto;
    left: 0;
    padding-right: 1.5em;
    padding-left: 1em;
  }
}
.menu-item-has-children.active .sub-menu {
  opacity: 1;
  pointer-events: all;
  transform: perspective(500px) rotateX(0) translateY(0);
}
.sub-menu .nav-link {
  color: #727e88!important;
}
.sub-menu .nav-link:hover,  
.sub-menu .nav-link:hover {
  color: #586068!important;
}
.current-menu-item > .nav-link {
  color: #e5d28e !important;
}
.sub-menu .current-menu-item > .nav-link {
  color: #c3a94a !important;
}
.btn-primary a {
  color: #fff;
}

/**
* Footer
*/
#footer-menu .nav-link{
  padding: 0;
}
#mainFooter h5 {
  margin-top: 0;
}
#mainFooter li a,
#mainFooter .link {
  color: #d2d1d1;
}
.social-networks {
  font-size: 1.3em;
  color: #fefefe;
}
.social-networks a {
  color: #fefefe;
  margin-right: 0.3em;
}
.mail-submit {
  position: absolute;
  top: 3%;
  right: 2%;
  background: #fefefe;
  border: 1px solid #c8c8cb;
  border-radius: 30px;
  padding: 8px 10px;
  transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mail-submit:hover,
.mail-submit:focus {
  background: #d2d1ce;
}

/**
* Grid 
*/
.slim-card-grid .col,
.slim-card-grid .col-6 {
  padding-right: 10px;
  padding-left: 10px;
}
@media (max-width: 500px) {
  .slim-card-grid .card-body {
    padding: 1rem;
  }
}

/**
* Card 
*/
.card-img-overlay {
  background: rgba(8, 34, 66, 0.66);
  padding: 1.5rem;
}
.p-group p {
  margin-bottom: 0.3em;
}
@media (max-width: 500px) {
  .card-body {
    padding: 1.4rem;
  }
}
.minh {
  min-height: 190px;
}
.cardbody-hover a {
  color: #333;
}
.cardbody-hover a:hover {
  text-decoration: none;
  color: #0056b3;
}

/**
* Material Icons 
*/
.material-icons.md-18 {
  font-size: 18px;
}
.material-icons.md-24 {
  font-size: 24px;
}
.material-icons.md-36 {
  font-size: 36px;
}
.material-icons.md-48 {
  font-size: 48px;
}
.material-icons.md-64 {
  font-size: 64px;
}
.material-icons.md-85 {
  font-size: 85px;
}

.material-icons.md-dark {
  color: rgba(0, 0, 0, 0.54);
}
.material-icons.md-dark.md-inactive {
  color: rgba(0, 0, 0, 0.26);
}

.material-icons.md-light {
  color: rgba(255, 255, 255, 1);
}
.material-icons.md-light.md-inactive {
  color: rgba(255, 255, 255, 0.3);
}
.btn-mailup.material-icons {
  font-size: 14px;
}

/**
* Jumbotron 
*/
.jumbotron-fluid,
.jumbotron {
  border-radius: 0;
  margin-top: 0;
}
.jumbotron,
#mainFooter {
  box-shadow: inset 0 -1px 8px #28377b;
}
@media (max-width: 577px) {
  .jumbotron {
    padding: 38px 10px;
  }
}

/**
* Timeline 
*/
.timeline__wrapper {
  position: relative;
  padding: 3em 0 1.5em 0;
}
.timeline-title .timeline__wrapper {
  padding: 1em 0 1em 0;
}
/* Remove Blue Line Events - Uncomment to bring back
.timeline .timeline__wrapper:before {
  content: " ";
  position: absolute;
  width: 5px;
  height: 100%;
  background: #435190;
  left: -5%;
  top: 0;
}
*/
.timeline-item {
  list-style: none;
}
.timeline .timeline-item:first-child .timeline__wrapper:before {
  border-radius: 2px 2px 0 0;
}
.timeline .timeline-item:last-child .timeline__wrapper:before {
  border-radius: 0 0 2px 2px;
}
.pretitle,
.timeline-title__text {
  display: inline-block;
  color: #fefefe;
  background: #435190;
  padding: 0.3em 1em;
  top: 0;
  /* Remove Blue Line Events - Uncomment to bring back 
  left: -5%;
  */
  border-radius: 0 2px 2px 0;
}
.pretitle {
  position: absolute;
  font-size: 0.9em;
}
/* 
* Remove Blue Line Events - Uncomment to bring back
.timeline-offset {
  margin-left: 4.8%;
}
*/
.timeline-item .card-img-top {
   min-height: 237px;
}

/**
* Form 
*/
.form-control {
  padding: 0.664rem 3rem 0.664rem 1rem;
}
.wpcf7-validation-errors {
  display: none !important;
}
div.wpcf7-mail-sent-ok {
  border: 2px solid #79a0ce;
  background: #7aa3d2;
  color: #fefefe;
  border-radius: 3px;
  box-shadow: 0 3px 3px #42414140;
}

/**
* Fullscreen 
*/
.fullscreen-content {
  padding: 5%;
}

/**
* Preset Animaion Styles 
*/
.fadeInUp {
  position: relative;
  transform: translateY(20px);
}
.large h2.bold,
.large div.minh,
.large .textwrapper {
  opacity: 0;
}
.large div.minh {
  opacity: 0.5;
}

.appear[data-src], .appear[data-bkg], .appear [data-src], .appear [data-bkg] {
  opacity: 0;
  -webkit-transition: opacity .5s ease-in;
     -moz-transition: opacity .5s ease-in;
          transition: opacity .5s ease-in;
}
.appeared[data-src], .appeared[data-bkg], .appeared [data-src], .appeared [data-bkg] {
  opacity: 1;
}
.form-group.recaptcha {
    width: 350px;
    float: left;
}
/* Lity */
.lity-container {
  max-width: 1280px;
  margin: 1.5em;
}

/* #### Latest News ######*/
/* Home */
.cpt-cards .card-img-top {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.ld-btn-white {
  background:#fff;
  color:#354175;
  font-weight:600;
  border-color:#fff;
}
.ld-btn-white:hover {
  background:transparent;
  color:#fff;
}
@media (min-width: 768px) {
  .ld-featured-post {
    width:40%;
    object-fit:cover;
  }
}