#pdf_container {
    background: #ccc;
    text-align: center;
    display: none;
    padding: 5px;
    overflow: auto
}

.event-card {
    margin: 15px;
    padding: 15px;
    background: #faebd72e;
    border-radius: 9px;
}

.btn-default:hover {
    background: black;
}

.services-five__single {
    position: relative;
    display: block;
}

.services-five__img-box {
    position: relative;
    display: block;
   
}

.services-five__img {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 25px;
    margin-top: 15px;
    z-index: 1;
}

.services-five_single:hover .services-five_hover-content {
    transform: scaleY(1.0);
}

.services-five__hover-content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    border-radius: 25px;
    padding: 40px 0 0;
    transition-delay: .1s;
    transition-timing-function: ease-in-out;
    transition-duration: .5s;
    transition-property: all;
    transform-origin: top;
    transform-style: preserve-3d;
    transform: scaleY(0);
    z-index: 2;
}

.services-five__hover-content:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #6a5106d1;
    opacity: 0.902;
    z-index: -1;
}

.services-five__hover-content-title {
    font-size: 15px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 16px;
}

.services-five__hover-content-text {
    font-size: 14px;
    color: var(--insur-white);
    letter-spacing: var(--insur-letter-spacing);
}

.services-five__img {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--insur-bdr-radius);
    z-index: 1;
}

.Desktop {
    display: block;
}

.mobile {
    display: none;
}

#past_event video {
    width: 100%;
    position: relative;
    margin: -3% auto;
}

.welcome-box .home_video {
    display: block;
    width: 50%;
    margin: auto;
}

.welcome-box .home_video video {
    position: relative;
    width: 100%;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    max-width: 80%;
    max-height: 80%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
}

.popup img {
    max-width: 100%;
    max-height: 100%;
}

#publication p, #publication .buttons,
#current_event .buttons,
#recent_event p, #recent_event .buttons,
#sidebar p {
    text-align: left;
}

div#publication .collapse,
#current_event .collapse,
#recent_event .collapse {
    display: none;
}

@media only screen and (max-width: 600px) {

    #logo {
        width: 30%;
        margin: 0px auto;
    }

    .Desktop {
        display: none;
    }

    .mobile {
        display: block;
    }
      #fullpage{
        margin-top:5%;
    }
    .logoimg{
        width:100px;
    }
    .toptitle{
          padding-top:7%;
    }
}
@media only screen and (max-width: 1640px) {
    .nav-box {
		top: 0%;
	}
    .welcome-title {
        font-size: 25px;
        margin-bottom: 0px;
    }
    .welcome-box .home_video {
        width: 60%;
    }
	#logo {
		position: absolute;
		top: 0;
		left: 0;
	}
    .welcome-box p {
        margin-top: 5px;
        margin-bottom: 5px;
    }
    .skills-row {
        margin-top: 20px;
    }
}
@media only screen and (min-width: 991px) {
    .navbar-nav li {
        margin-left: 0%;
    }
    .welcome-box p {
        margin: 10px auto 10px;
    }
    .navbar {
        align-items: baseline;
    }
}
@media only screen and (max-width: 768px) {
    .welcome-box .home_video {
        width: 100%;
    }

    .event-card {
        margin: 0;
    }

    #publication p, #publication .buttons,
    #current_event p, #current_event .buttons,
    #recent_event p, #recent_event .buttons {
        text-align: center;
    }

    #publication .buttons,
    #current_event .buttons,
    #recent_event .buttons {
        margin-bottom: 10px;
    }
    .photo-display p {
        display: flex;
        flex-direction: column;
      }
      nav ul li:hover ul {
          top: 85px;
      }
      .navbar-nav{
          min-height: 361px;
      }
      #header{
          background-color: rgb(250 250 250 / 0%);
      }
      #fullpage {
        position: relative;
    }
    .skills-row {
        margin-top: 50%;
    }
    #logo {
        width: 45%;
        margin: 10px auto;
    }
    .photo-display p {
        flex-direction: column;
    }
}
div#sidebar .btn {
    display: block;
}
div#sidebar .event-card {
    margin: 15px 0 0;
}
div#publication .collapse.show,
#current_event .collapse.show,
#recent_event .collapse.show {
    display: block;
}
div#sidebar {
    background: #faebd72e;
    border-radius: 9px;
    border: 2px solid;
    padding: 0;
}
div#sidebar .buttons .btn{
    color: #fff;
    border-color: #fff;
    background: none;
    text-align: center;
    padding: 0;
    line-height: 2;
    width: 80%;
    margin: auto;
    margin-bottom: 5px;
    border-radius: 0;
    font-size: 14px;
}
div#sidebar .buttons .btn.collapsed{
    background: #530b12;
    color: #fff;
    border-color: #530b12;
}
.event-header {
    border-bottom: 2px solid;
    padding: 5px 5px;
}
.event-header p {
    margin: 1% 0;
}
.collapse:not(.show) {
    display: none;
}
.archieve_body ul li {
    margin-bottom: 5%;
    margin-left: 10%;
    margin-right: 0;
}

.archieve_body ul {
    list-style: square;
    margin: 2% 10%;
    padding: 1% 0;
    border-radius: 11px;
}
.archieve_body {
    display: block;
}
div#sidebar .archieve_body .btn {
    padding: 10px;
    margin: 0;
    border: 0;
    line-height: 100%;
}
.event-card {
    padding: 15px;
    background: #faebd72e;
    border-radius: 9px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
}
.photo-display {
    overflow: hidden;
}
.owl-carousel{
    margin: 1% 0;
}
div#sidebar .accordion.buttons .btn::after {
    content: "\f078";
    font-family: 'FontAwesome';
    font-weight: 100;
    float: right;
}
div#sidebar .accordion.buttons .btn.collapsed::after {
    content: "\f077";
    font-family: 'FontAwesome';
    font-weight: 100;
    float: right;
}
div#sidebar .accordion.buttons .btn {
    line-height: 100%;
    padding: 2%;
    border-radius: 0;
    text-align: left;
}