.top-bar {
    position: relative;
    height: 120px;
    align-items: center;
    background: #f5f5f5;
    padding-left: 30px;
    padding-right: 30px;  
}


.top-bar .logo img {
    max-width: 160px;
    }

.top-bar .top-bar-item {
    display: flex;
    align-items: center;
}

.top-bar .top-bar-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #22758A;
    border-radius: 30px;
}

.top-bar .top-bar-icon i {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
}

.top-bar .top-bar-text {
    padding-left: 15px;
}

.top-bar .top-bar-text h3 {
    margin: 0 20px 2px 0;
    font-size: 15px;
    font-weight: 600;
    color: #22758A;
    font-family: 'Barlow', sans-serif;
    font-style: normal;
}


.top-bar .top-bar-text p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
}

@media (max-width: 991.98px) {
    .top-bar .logo {
        text-align: center;
    }
    .top-bar-item {
    visibility: hidden;
 }
}


/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/
.nav-bar {
    position: relative;
    text-align: center;
    background: #22758A;
}

.nav-bar.nav-sticky {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
    z-index: 999;
}

.nav-bar .navbar {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
    background: #22758A !important;
    transition: .3s;
}

.nav-bar.nav-sticky .navbar {
    padding: 1px 0;
}

.navbar-nav {
  width: 100%;
  display: flex;
  flex: 1;
  min-width: 0;
  justify-content: space-between;
  align-items: center;
}


.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #ffffff;
    padding-top: 3px;
    padding-bottom: 3px;
    font-weight: 500;
    letter-spacing: 1px;
    font-family: Montserrat, sans-serif;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #c2c2c;
}

.nav-bar .dropdown-menu {
    border: 0;
    border-radius: 0;
    background: #f8f9fa;
}


.nav-bar .btn.btn-custom {
    color: #22758A;
    background: #ffffff;
    box-shadow: inset 0 0 0 0 #22758A;
}

.nav-bar .btn:hover {
    color: #ffffff;
    background: #22758A;
    box-shadow: 0 0 0 #22758A;
}

@media (min-width: 992px) {
    .nav-bar .navbar-brand {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link:focus,
    .navbar-dark .navbar-nav .nav-link:hover,
    .navbar-dark .navbar-nav .nav-link.active {
        padding: 5px 0;
    }
    
    .nav-bar .dropdown-menu {
        box-shadow: none;
    }
    
    .nav-bar .btn {
        display: none;
    }
}

.btn.btn-custom {
    padding-top: 5px;
    padding-bottom: 4px;
    text-align: center; 
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    background: #22758A;
    border: none;
    border-radius: 60px;
    box-shadow: 0 0 0 0 #2a4384;
    transition: ease-out 0.1s;
    -webkit-transition: ease-out 0.1s;
    -moz-transition: ease-out 0.1s;
}

.btn.btn-custom:hover {
    color: #fff;
    background: #2a4384;
    box-shadow: 0 0 0 #111;
}

.btn:focus,
.form-control:focus {
    box-shadow: 0 0 0 #111;
}


/*******************************/
/********** Hero CSS ***********/
/*******************************/
.carousel {
    position: relative;
    width: 100%;
    min-height: 400px;
    background-image: none;
    background: #bbb;
    margin-bottom: 1px;     
}

@media screen and (max-width: 700px)
{
.carousel
{
    background-image: url("https://mtscoja.org/Images/logo_view03_cell.png");
    min-height: 320px;
}
}

.carousel .container-fluid {
    padding: 0;
}

.carousel .carousel-item {
    position: relative;
    width: 100%;
    display: flex;
    min-height: 320px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
-webkit-transition: 3.6s ease-in-out left;
    -moz-transition: 3.6s ease-in-out left;
    -o-transition: 3.6s ease-in-out left;
    transition: 3.6s ease-in-out left;
}

.carousel .carousel-img {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 320px;
    text-align: right;
    overflow: hidden;
}

@media screen and (max-width: 800px)
{
.carousel .carousel-img 
{display: none;
 visibility: hidden;
}
}


.carousel .carousel-img::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.carousel .carousel-img img {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 800px){
.carousel .carousel-img img
{display: none;
 visibility: hidden;
}
}

.carousel .carousel-text {
    position: absolute;
    width: 100%;
    bottom: 0;
    background: rgb(255, 255, 255); /* Fallback color */
    background: rgba(255, 255, 255, 0.2); /* Black background with 0.5 opacity */
    text-align: center;
    line-height: 1.5;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 2;
   
}


.carousel .carousel-text h2 {
    color: #fff;
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.6;
    margin-bottom: 10px;
    margin-top: 19px;
    font-family: 'Merriweather', serif;
    text-shadow: 1px 1px #000;
    padding-left: 20px;
    padding-right: 20px;
}

.carousel .carousel-text p {
    max-width: 500px;
    color: #ffffff;
    font-size: 19px;
    font-family: 'Merriweather', serif;
    text-shadow: 1px 1px #000;
}

.carousel .btn.btn-custom {
    padding: 20px 45px 22px 45px;
    color: #ffffff;
}

.carousel .btn.btn-custom:hover {
    color: #22758A;
}

.carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 20px;
    top: calc(90% - 10px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 9;
}

.carousel .owl-nav .owl-prev,
.carousel .owl-nav .owl-next {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: transparent;
    font-size: 22px;
    transition: .5s;
}

.carousel .owl-nav .owl-prev {
    margin-left: 30px;
}

.carousel .owl-nav .owl-next {
    margin-right: 30px;
}

.carousel .owl-nav .owl-prev:hover,
.carousel .owl-nav .owl-next:hover {
    color: #22758A;
    background: transparent;
}

.carousel .animated {
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
}

@media (max-width: 900px) {
    
    .carousel .carousel-text {
    line-height: 1.3;
    margin-bottom: 0;
   
}
     .carousel .carousel-text h2{
        font-size: 25px;
        padding-bottom: 10px;
    }
    
    .carousel .carousel-text p {
        font-size: 14px;
        padding-bottom: 10px;
    }
    
    .carousel .carousel-text .btn {
        padding: 12px 30px;
        font-size: 15px;
        letter-spacing: 0;
    }
}

@media (max-width: 800px) {
.carousel .owl-nav {
    top: calc(90% - 5px);
}
}

@media (max-width: 800px) {
   
    .carousel .carousel-text h2 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .carousel .carousel-text .btn {
        padding: 10px 25px;
        font-size: 15px;
        letter-spacing: 0;
    }
}

@media (max-width: 600px) {
   
    .carousel .carousel-text p {
        margin-bottom: 0;
    }
    
    .carousel .carousel-text .btn {
        padding: 8px 20px;
        font-size: 14px;
        letter-spacing: 0;
    }
}

/*******************************/
/********* Blockduote CSS **********/
/*******************************/

blockquote {
  font-family: 'Andale Mono', 'Courier New', monospace;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  position: relative;
  border-left: 6px solid #22758A;
  padding: 3em 2.5rem;
  margin: calc(2.5em - 16px) auto 2.5em;
  max-width: 100%;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 1px 1px 0 0 #eee inset, 1px 1px 0 0 #ddd;
  background-color: #eee;
}

blockquote::before {
  content: '“';
  font-size: 3em;
  color: #22758A;
  position: absolute;
  top: -.05em;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'georgia';
  pointer-events: none;
}

blockquote::after {
  content: '“';
  font-size: 3em;
  color: #22758A;
  position: absolute;
  bottom: -.55em;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'georgia';
  pointer-events: none;
}

blockquote > * {
  margin: .75em 0;
}

blockquote cite {
  display: block;
  font-style: normal;
  font-size: 12px;
}

/*******************************/
/********* Vision CSS **********/
/*******************************/
.vision {
  position: relative;
  width: 100%;
  height: auto;
  margin: 0;
  display: flex;
  align-items: center;
  background: #22758A;
}

.vision .mission-img {  
    position: relative;
    vertical-align: middle;  
    padding: 0;
    margin: auto;
    left: 0;
    border: 3px solid #22758A;}


.vision .mission-text
{
position: relative;
vertical-align: middle;  
margin: auto;
text-align:center;
color: #f1f1f1;
width: 95%;
left: 10px;
font-family: 'Merriweather', serif;
font-size:1.0rem;

}

@media (max-width: 768px)
{
.vision .mission-text
{
top: 2%;
font-size:0.8rem;
}
}

/*******************************/
/********* Footer CSS **********/
/*******************************/
.myfooter {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 1px;
    padding-top: 10px;
    background: #22758A;
    display: flex;
}

.myfooter .myfooter-contact,
.myfooter .myfooter-link,
.myfooter .myfooter-newsletter {
    position: relative;
    margin-bottom: 55px;
    color: #ffffff;
}

.myfooter .myfooter-contact h2,
.myfooter .myfooter-link h2,
.myfooter .myfooter-newsletter h2 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
}

.myfooter .myfooter-link a {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    transition: .3s;
}

.myfooter .myfooter-link a::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.myfooter .myfooter-link a:hover {
    color: #d5d5d5;
}

.myfooter .myfooter-contact p i {
    width: 25px;
}

.myfooter .myfooter-social {
    position: relative;
    margin-top: 20px;
    display: flex;
}

.myfooter .myfooter-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #202C45;
    background: #ffffff;
    border-radius: 40px;
    margin-right: 5px;
    transition: .5s;
}

.myfooter .myfooter-social a:last-child {
    margin: 0;
}

.myfooter .myfooter-social a:hover {
    color: #ffffff;
    background: #E81C2E;
}

.myfooter .myfooter-newsletter form {
    position: relative;
    width: 100%;
}

.footer .footer-newsletter input {
    margin-bottom: 15px;
    height: 45px;
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 5px;
}

.myfooter .myfooter-newsletter label {
    margin-top: 5px;
    color: #777777;
    font-size: 14px;
    letter-spacing: 1px;
}

.myfooter .myfooter-newsletter .btn.btn-custom {
    width: 100%;
    color: #202C45;
    background: #ffffff;
    box-shadow: inset 0 0 0 0 #E81C2E;
}

.myfooter .myfooter-newsletter .btn:hover {
    color: #ffffff;
    background: #E81C2E;
    box-shadow: inset 200px 0 0 0 #E81C2E;
}

.footer .copyright {
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

.myfooter .copyright p {
    margin: 0;
    color: #ddd;
}
.myfooter .copyright h2 {
    margin: 0;
    color: #3cb371;
    align-items: center;
   font-size: 24px;
    font-weight: 300;
    letter-spacing: 1px;
    font-family: 'Old+Standard+TT', serif;
}

.myfooter .copyright p a {
    color: #3cb371;
    font-weight: 400;
    letter-spacing: 1px;
}

.myfooter .copyright h2 a {
    color: #3cb371;
    font-weight: 400;
    letter-spacing: 1px;
}

.myfooter .copyright h2 a:hover {
    color: #2a4384;
}

.myfooter .copyright p a:hover {
    color: #2a4384;
}