@font-face {
    font-family: "Lato";
    src: url("fonts/Lato.ttf");
    src: url("css/fonts/Lato.woff") format("woff"),
         url("css/fonts/Lato.otf") format("opentype"),
         url("css/fonts/Lato.svg") format("svg");
}

@font-face {
    font-family: "Montserrat";
    src: url("fonts/Montserrat.ttf");
    src: url("css/fonts/Montserrat.woff2") format("woff2"),
         url("css/fonts/Montserrat.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}


  body {
    font: 400 17px Lato, sans-serif;
    line-height: 1.8;
    /*color: #C8E7EA;*/
    /*two main colors: 0B3D5C; 1F6FA5; Dark blue and light blue*/
  }
  h2 {
    font-size: 24px;
    text-transform: uppercase;
    color: #3C3C3C;
    font-weight: 600;
    margin-bottom: 30px;
  }
  .bg-blue h2 {
    font-size: 24px;
    text-transform: uppercase;
    color: #FFFFFF;
    font-weight: 600;
    margin-bottom: 30px;
  }
  h3 {
    color: #3C3C3C;
		}
  h4 {
    font-size: 19px;
    line-height: 1.375em;
    color: #3C3C3C;
    font-weight: 400;
    margin-bottom: 30px;
		}
  .bg-blue h4 {
    font-size: 19px;
    line-height: 1.375em;
    color: #3C3C3C;
    font-weight: 400;
    margin-bottom: 30px;
  }  
  .jumbotron {
    background-color: #C8E7EA;
    color: #3C3C3C;
    padding: 100px 25px;
    font: Montserrat, sans-serif;
  }
  .container-fluid {
    padding: 60px 50px;
  }
  .bg-blue {
    /*background-color: #3C3C3C;*/
    background-color:#0B3D5C; 
    /*color: #B4B4B4;*/
    color: #ffffff;
  }
  .logo img {
    color: #C8E7EA;
		padding-top: 3px; 
		height: 72px; !IMPORTANT
		width: auto; 
  }
  @media (max-width: 600px) {
   .logo img {height: 42px; /* shrink log when screen is less than 600 pixels */}
   .navbar-fixed-top{position: relative;/*change fix nav bar to float*/}
}
  .thumbnail {
    padding: 0 0 15px 0;
    border: none;
    border-radius: 0;
    color: #3C3C3C;
  }
  .thumbnail img {
    width: 300px;
    height: 300px;
    margin-bottom: 10px;
  }
  .carousel-inner img {
    width: 100%; /* Set width to 100% */
    height: 100%; 
    margin: auto;
  }
  .carousel-caption h3 {
    color: #FCFCFC !important; /*0B3D5C, 1F6FA5*/
  }
  @media (max-width: 600px) {
    .carousel-caption {
      display: none; /* Hide the carousel text when the screen is less than 600 pixels wide */
    }
  }
  .carousel-control.right, .carousel-control.left {
    background-image: none;
    color: #0B3D5C; 
    top:50%;
    font-size: 35px;
  }
  .carousel-indicators li {
    border-color: #1F6FA5;
  }
  .carousel-indicators li.active {
    background-color: #0B3D5C; 
  }
  .item h4 {
    font-size: 19px;
    line-height: 1.375em;
    font-weight: 400;
    font-style: italic;
    margin: 70px 0;
  }
  .item span {
    font-style: normal;
  }
  .btn {
    padding: 10px 20px;
    background-color: #0B3D5C; 
    color: #FFFFFF;
    border-width: 2px; 
    border-color: #1F6FA5;; 
    border-radius: 2;
    transition: .2s;
  }
  .btn:hover, .btn:focus {
    background-color: #1F6FA5;; 
    color: #fff;
  }

  .form-control {
    border-radius: 0;
  }
  textarea {
    resize: none;
  }
  .panel {
    border: 1px solid #C8E7EA; 
    border-radius:0 !important;
    transition: box-shadow 0.5s;
  }
  .panel:hover {
    box-shadow: 5px 0px 40px rgba(0,0,0, .2);
  }
  .panel-footer .btn:hover {
    border: 1px solid #C8E7EA;
    background-color: #C8E7EA !important;
    color: #fff;
  }
  .panel-heading {
    color: #3C3C3C !important;
    background-color: #C8E7EA !important;
    padding: 25px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
  }
  .panel-footer {
    background-color: C8E7EA !important;
  }
  .panel-footer h3 {
    font-size: 32px;
  }
  .panel-footer h4 {
    color: #aaa;
    font-size: 14px;
  }
  .panel-footer .btn {
    margin: 15px 0;
    background-color: #C8E7EA;
    color: #3C3C3C;
  }


/*Navigation Bar*/
  .navbar {
    margin-bottom: 0;
    background-color: #FFFFFF; /*#C8E7EA; #0095B2;*/
    /*opacity:0.9;*/
    z-index: 9999;
    border: 0;
    font-size: 12px !important;
    line-height: 1.42857143 !important;
    letter-spacing: 4px;
    border-radius: 0;
    font: Montserrat, sans-serif;
    border-bottom: 1px solid #1F6FA5;
    display: flex;
    align-items: center; /* Vertically centers children */
    justify-content: center; /* (Optional) Horizontally centers children */
  }
  .navbar li a, .navbar .navbar-brand {
    height: 72px !important; 
    color: #0B3D5C !important;
    font-weight: 600; 
  }
  .navbar-nav li a:hover{
    color: #FFFFFF !important;
    background-color: #1F6FA5!important;
  }
  .navbar-nav li.active a {
    color: #FFFFFF !important;
    background-color: #0B3D5C!important;
  }
  .navbar-default .navbar-toggle {
    border-color: transparent;
    color: #C8E7EA !important;
  }
  .nav-tabs {
    text-align: center;
  }
  .nav-tabs li a {
    color: #0B3D5C; 
  }	
  .tab-content {
    font: 400 17px Lato, sans-serif;
    line-height: 1.8;
    color: #0B3D5C;
  }
  .tab-pane {
    padding-left: 1%;   
    padding-right: 1%;   
  }
  .row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
  .col-container {
    display: table;
    width: 100%;
  }
  .col {
    float: none;
    display: table-cell;
    vertical-align: top;
    padding: 60px 50px;
  }
  @media only screen and (max-width: 600px) {
  .col { 
    display: block;
    width: 100%;
    padding: 20px 30px;
  }


/* Flip cards */

.card{
  width: 100%;
  height: 100%;
  perspective:400px;
}

@media(min-width:768px){
  .card{ width: 100% }
}

@media(min-width:1024px){
  .card{ width: 100% }
}

.card-inner{
  position:relative;
  width:100%;
  /*height:100%*/
  height:500px; 
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.card:hover .card-inner{ transform: rotateY(180deg) }

.card-front, .card-back{
  position:absolute;
  width:100%;
  height:100%;
  -webkit-backface-visibility:hidden;
  backface-visibility: hidden;
  background:white;
  padding:24px;
  /*border-radius:12px;
  border:1px solid #e5e7eb;*/
}

.card-back{ transform: rotateY(180deg) }


/* ===== FORM ===== */
.form-wrap{
  max-width:640px;
  margin: 0 auto;
}

.form-card{
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:28px;
}

form{
  margin-top:0;
}

.form-row{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

@media(min-width:768px){
  .form-row.two{ grid-template-columns:1fr 1fr }
}

label{
  display:block;
  font-size:14px;
  color:#fff;
  margin-bottom:6px;
}

input, textarea{
  width:100%;
  padding:14px;
  border-radius:8px;
  border:1px solid #e5e7eb;
  font-size:14px;
  background:#fff;
  color: #0B3D5C; 
}

input:focus, textarea:focus{
  outline:none;
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(11,61,92,0.1);
}

textarea{ min-height:120px; resize:vertical; }

.form-actions{
  margin-top:10px;
  display:flex;
  justify-content:flex-start;
}

/* Footer */
  footer{
    color: #3C3C3C;
    font-size: 15px;
  }
  a{
    color: #273744 !important;
  }
  a:hover {
    color: #FD471D; 
    text-decoration: none !important;
  }
  #contact {
    font-size: 0.9em; 
  }
  #contact a {
    font-size: 0.9em; 
    color: #273744;
  }
  #contact a:hover {
    color: #FD471D; 
    text-decoration: none !important;
  }
  footer .glyphicon {
    font-size: 1.0em;
    margin-bottom: 2px;
    color: #FD471D; 
  }
  .slideanim {visibility:hidden;}
  .slide {
    animation-name: slide;
    -webkit-animation-name: slide;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    visibility: visible;
  }
  @keyframes slide {
    0% {
      opacity: 0;
      transform: translateY(70%);
    } 
    100% {
      opacity: 1;
      transform: translateY(0%);
    }
  }
  @-webkit-keyframes slide {
    0% {
      opacity: 0;
      -webkit-transform: translateY(70%);
    } 
    100% {
      opacity: 1;
      -webkit-transform: translateY(0%);
    }
  }
  @media screen and (max-width: 768px) {
    .col-sm-4 {
      text-align: center;
      margin: 25px 0;
    }
    .btn-lg {
      width: 100%;
      margin-bottom: 35px;
    }
  }
  @media screen and (max-width: 480px) {
    .logo img {
      width: 150px;
    }
  }