.gallery {
  width: 100%;
  position:relative;
  overflow:hidden;
}

.gallery-mask {
     position:absolute;
     z-index:3;
     left:calc(50% - 247px);
     top:-14px;
}

.gallery-container {
    align-items: center;
    display: flex;
    height: 700px;
    margin: 0 auto;
    max-width: 1000px;
    position: relative;
    overflow:hidden;
}

.gallery-item {
  
  opacity: 0;
  position: absolute;
  transition: all 0.3s ease-in-out;
  width: 150px;
  z-index: 0;
}

.gallery-item-1 {
  left: 0%;
  opacity: 0;
  transform: translateX(-50%);
}

.gallery-item-2,
.gallery-item-4 {
  
  opacity: 1;
  width: 250px;
  z-index: 1;
}

.gallery-item-2 {
  left: 15%;
  transform: translateX(-50%);
}

.gallery-item-3 {
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.6), 0 0 60px rgba(255, 255, 255, 0.45), 0 0 110px rgba(255, 255, 255, 0.25), 0 0 100px rgba(255, 255, 255, 0.1);
  
  opacity: 1;
  left: 50%;
  transform: translateX(-50%);
  width: 322px;
  z-index:2;
}

.gallery-item-4 {
  left: 85%;
  transform: translateX(-50%);
}

.gallery-item-5 {
  left: 100%;
  opacity: 0;
  transform: translateX(-50%);
}

.gallery-controls {
  display: flex;
  justify-content: center;
  margin: 55px 0 20px 0px;  
}

.gallery-controls button {
  background-color: transparent;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  margin: 0;
  padding: 0 12px;
  text-transform: capitalize;
}

.gallery-controls button:focus {
  outline: none;
}

.gallery-controls-previous {
    
}

    .gallery-controls-previous::before {
        font-family: "Font Awesome 5 Pro";
        content: '\f053';
        width: 45px;
        height: 45px;
        font-weight: bold;
        background-color: #ebebeb;
        padding: 10px;
        border-radius: 50%;
        position: relative;
        display: inline-block;
        margin-top: -3px;
        transition: all 300ms ease;
    }

    .gallery-controls-previous:hover::before {
        background-color: #1963D0;
        color:#FFFFFF;
    }

.gallery-controls-next {
  position: relative;
}

    .gallery-controls-next::before {
        font-family: "Font Awesome 5 Pro";
        content: '\f054';
        font-weight: bold;
        width: 45px;
        height: 45px;
        font-weight: bold;
        background-color: #ebebeb;
        padding: 10px;
        border-radius: 50%;
        position: relative;
        display: inline-block;
        margin-top: -3px;
        transition: all 300ms ease;
    }

    .gallery-controls-next:hover::before {
        background-color: #1963D0;
        color: #FFFFFF;
    }

.gallery-nav {
  bottom: -15px;
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  position: absolute;
  width: 100%;
}

.gallery-nav li {
  background: #ccc;
  border-radius: 50%;
  height: 10px;
  margin: 0 16px;
  width: 10px;
}

.gallery-nav li.gallery-item-selected {
  background: #555;
}

.fab-container {
    position: fixed;
    bottom: 50px;
    right: 50px;
    cursor: pointer;
    z-index:999;
}

.iconbutton {
    width: 55px;
    height: 50px;
    background: #1963d0;
    border: 4px solid #ff7e00;
}

.button {
    width: 180px;
    height: 55px;
    background: #1963d0;
}

.iconbutton i {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

    /* Tooltip text */
    .tooltip .tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: black;
        color: #fff;
        text-align: center;
        padding: 5px 0;
        border-radius: 6px;
        /* Position the tooltip text - see examples below! */
        position: absolute;
        z-index: 1;
    }

    /* Show the tooltip text when you mouse over the tooltip container */
    .tooltip:hover .tooltiptext {
        visibility: visible;
    }

.navbar-nav li:hover > ul.dropdown-menu {
    display: block;
    
}

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
    }

/* rotate caret on hover */
.dropdown-menu > li > a:hover:after {
    text-decoration: underline;
    transform: rotate(-90deg);
} 

