/*==== Global ====*/

html {
  font-size: 100%;
} 

body {
  background-color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  line-height: 1.65;
  color: #353535;
}

p {
  margin-bottom: 1.15rem;
  font-weight: 300;
}

h1, h2, h3, h4, h5 {
  margin: 2.75rem 0 1.05rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  line-height: 1.15;
}

h1 {
  margin-top: 0;
  font-size: 36px;
}

h2 {font-size: 2.441em;}

h3 {font-size: 1.953em;}

h4 {font-size: 1.563em;}

h5 {font-size: 1.25em;
    margin: 0;
  }

h6 {font-size: 0.8em;}

.text_small {font-size: 0.8em;}

/*==== Navigation Styling ====*/

a {
  color: #666666;
  text-decoration: none;
  font-size: 20px;
  padding: 0 20px;
}

a:hover,
a:focus {
    color: #000035;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
    z-index: 900;
}

.navbar-light .navbar-toggler {
  border: none !important;
  background: transparent !important;
  background-color: #7F7F7F;
  font-size: 16px;
  z-index: 900;
}

/*==== Navigation Animations ====*/

.icon-bar {
  width: 22px;
  height: 2px;
  background-color: #353535;
  display: block;
  transition: all 0.2s;
  margin-top: 4px;
  margin-left: 4px;
}

.navbar-toggler {
  border: none;
  background: transparent !important;
}

.headlogo {
  padding: 0;
  max-width: 40%;
}

.navbar-logo {
  max-width: 60%;
  max-height: 60%;
  display: block;
}


/* Sidebar Style */

#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: -250px;
    height: 100vh; 
    z-index: 999;
    background: #fff;
    transition: all 0.3s;
    overflow-y: scroll;
    overflow: hidden;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

#sidebar.active {
    left: 0;
}

#dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #fff;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    color: #7F7F7F;
}

#dismiss:hover {
    background: #fff;
    color:black;
}

.sidebar-image {
    max-width: 40%;
    max-height: 40%;
    padding-top: 30px;
    padding-bottom: 50px;
}

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
.overlay.active {
    display: block;
    opacity: 1;
}

#sidebar .sidebar-header {
    padding: 0;
    background: #fff;
}

#sidebar ul.components {
    padding: 0;
    margin-top: 20px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 20px;
    display: block;
}

#sidebar ul li a:hover {
    color: black;
    background: #fff;
    text-decoration: underline;
}

/* Intro Logo Style */

.splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #EE3824;
  z-index: 999;
}

.splash.display-none{
  position: fixed;
  opacity: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; 
  background-color: white;
  z-index: -100;
  transition: ease-in-out 5s;
}

.homeimage {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
}

@keyframes fadeIn {
  to {
    opacity: 1;
}
}

/* Global Page Style */

#content {
  background-color: white;
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}

.pagetitleheading {
  font-size: 28px;
  color: #EE3824;
  margin-top: 20%;
  padding-bottom: 20px;
 }

/* Home  Page Style */
.companyname {
  font-size: 20px;
  color: #EE3824;
  margin-top: 30vh;
 }

.slogan {
  font-size: 12px;
  margin-top: -10px;
}

.slogan-line {
  color: #EE3824;
  font-size: 12px;
  padding-left: 5px;
  padding-right: 5px;
}

/* Image Style */

.head-image {
  max-width: 20%;
  max-height: 20%;
 }

.tony {
  padding-bottom: 30px;
}

/* Example Page Style */

.port {
  margin: auto;
}

.overlay-outer {
  overflow: hidden;
  position: relative;
}

.overlay-inner {
  background: rgba(0,0,0);
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.75) 100%);
  display: flex;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  cursor: pointer;
}

.overlay-label {
  align-self: flex-end;
  color: #FFF;
  justify-self: flex-end;
  margin-left: auto;
  padding: .75rem 1rem .75rem 0;
}

.example-text {
  margin-top: 1.15rem;
}

/* Connect Page Style */

.button {
  border: 1px solid #7F7F7F;
  background: #FFF;
}

/*==== Footer ====*/

.footer {
  background-color: transparent;
  margin-top: 50px;
}

.line {
  background-color: #EE3824;
  border: .5px solid #EE3824;
  width: 20%;
}

.connectline {
  background-color: #EE3824;
  border: .5px solid #EE3824;
  width: 20%;
  margin-top: 50px;
}

/* Extra small devices (portrait phones, less than 576px) No media query for `xs` since this is the default in Bootstrap */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

.sidebar-image {
    max-height: 40%;
    padding-top: 50px;
}

#sidebar ul li a {
    padding: 5px;
    font-size: 12px;
}

.navbar-light .navbar-toggler {
  font-size: 26px;
  }

.companyname {
    font-size: 28px;
   }

   .hometext {
    color: white;
    margin-top: -2%;
    font-size: 16px;
  }
   
  .slogan {
     font-size: 16px;
     margin-top: -10px;
   }

   .slogan-line {
    font-size: 16px;
  }

  
   #sidebar ul li a {
    font-size: 24px;
}

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .navbar-logo {
    max-width: 40%;
    padding-top: 0;
}

  .sidebar-image {
    max-width: 40%;
    max-height: 60%;
    padding-top: 20px;
}

#sidebar ul li a {
    padding: 5px;
    font-size: 24px;
}

.companyname {
  font-size: 38px;
 }

 .hometext {
  color: white;
  margin-top: -2%;
  font-size: 22px;
}
 
.slogan {
   font-size: 22px;
   margin-top: -10px;
 }

 .slogan-line {
  font-size: 22px;
}

 .tony {
  position: relative;
  float: right;
}

.ekko-lightbox {
  opacity: 1;
}
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

a {
    font-size: 18px;
    padding: 0 8px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
   .navbar-light .navbar-toggler {
    font-size: 48px;
  }

  a {
    font-size: 20px;
    padding: 0 10px;
  }
}