/* General */
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeueThin.ttf');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeueRoman.ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeueMedium.ttf');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeueBold.ttf');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeueHeavy.ttf');
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeueBlack.ttf');
    font-weight: 900;
    font-style: normal;
}
.mw-400 {
    max-width: 400px;
    width: 100%;
}
.mw-500 {
    max-width: 500px;
    width: 100%;
}

.mw-600 {
    max-width: 600px;
    width: 100%;
}

.mw-700 {
    max-width: 700px;
    width: 100%;
}
.mw-768 {
    max-width: 768px;
    width: 100%;
}
.margin-center {
    margin: 0 auto;
}
.helvetica-neue, .font-hvb {
    font-family: 'Helvetica Neue Black';
}



/* Team pages */
.team-right-col-content {
    max-width: 443px;
    margin-left: auto;
    padding: 4rem;
    box-shadow: 0 0 10px #0000003b;
    background-color: #FAFAFA;
    border-radius: 4px !important;
}


/* Category Template */
.category-page .all-cat {
	margin-bottom: 50px !important;
	padding: 15px 0;
	border-radius: 5px;
	text-align: center;
	background-color: #f8f8f8;
	border: 1px solid #ECECEC;
	display: flex;
	justify-content: center;
	gap: 10px 20px;
	flex-wrap: wrap;
}   
.category-page .cat a {
	font-weight: 600;
	color: #191919;
	display: block;
}
.category-page .cat a.active {
	color: #fff;
	background: #006838;
	padding: 0px 13px;
  border-radius: 5px;
}


/* Shortcode */
.all-author-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5rem 3rem;
}
.all-author-list img {
    aspect-ratio: 1;
    height: auto;
    width: 100%;
    object-fit: cover;
}
.all-author-list .name {
    padding-top: 20px;
}

.all-post-list {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 3rem;
}
.all-post-list .sgle-post-item {
	position: relative;
	overflow: hidden;
}
.sgle-post-item-content {
	position: absolute;
	bottom: 0;
	padding: 20px 20px 25px 20px;
	width: 100%;
    z-index: 5;
}

.sgle-post-item img {
	aspect-ratio: 366/230;
	width: 100%;
	height: auto;
	object-fit: cover;
	min-height: 250px;
	transition: all 0.4s linear;
}
.sgle-post-item:hover img {
	scale: 1.2;
}
.sgle-post-item-cat {
    margin: 0 0 3px;
	padding: 0;
	list-style: none;
	color: #fff;
	position: relative;
	z-index: 2;
	color: #fff;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}
.sgle-post-item-content h3 {
	color: #fff;
	font-family: 'Helvetica Neue';
	position: relative;
	z-index: 2;
	font-size: 16px;
    font-weight: 600;
    line-height: 25px;
	transition: all 0.3s ease;
	margin: 0;
}
.all-post-list .sgle-post-item:hover h3 {
	color: #006838;
}

.sgle-post-item:after {
    content: "";
    top: 0;
    position: absolute;
    height: 100%;
    width: 100%;
	left: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(35, 35, 37, 0.85) 0%, rgba(35, 35, 37, 0.65) 35%, rgba(22, 22, 23, 0.5) 60%, rgba(0, 0, 0, 0) 100%);
    opacity: 1;
}

/* author Details */
.author-banner {
    display: grid;
    grid-template-columns: 280px auto;
    gap: 40px;
    align-items: center;
    width: 100%;
    margin: 5rem auto;
}

.author-image {
    display: flex;
    justify-content: center;
    background-color: #FAFAFA;
    height: 280px;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.author-banner .iconbox {
    margin-bottom: 0 !important;
}
.author-banner .iconbox i {
    width: 16px !important;
    height: 10px !important;
    line-height: 1 !important;
    border-radius: 5px !important;
    margin-top: 5px !important;
    text-align: center !important;
    background-color: transparent !important;
    font-size: 16px !important;
}
.team-body-content.has-sd-con {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.schedule-con {
    background-color:#680030;
    border-radius: 5px;
    padding: 4rem 28px;
    margin: 8rem auto 8rem;
    width: 100%;
}
.schedule-con-inner {
    font-size: 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.schedule-con-inner h3 {
    color: #fff;
    margin: 0;
    padding: 0;
    font-size: 20px;
}
.schedule-con-inner .btn {
    background-color:#FFFFFF; 
    color:#680030;
    border-radius: 2em;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: .1px !important;
    padding: 10px 18px !important;
}

.member-all-post {
    background-color: #ECECEC;
    padding: 6rem 0 4rem;
}
.member-pst-hd {
    text-align: center;
    color: #006838;
    margin-bottom: 6rem;
}


.btn-event-register .vc_btn3:hover, 
.sgle-post-item .sgle-post-item-content .vc_btn3:hover {
    background-color: #276838;
}

.btn-event-register .vc_btn3, 
.sgle-post-item .sgle-post-item-content .vc_btn3 {
    background-color: #680030;
    color: #fff !important;
    border-radius: 25px;
    margin: 20px 0 0;
    display: inline-block;
    line-height: 1.25;
}

.sgle-post-item .sgle-post-item-content .vc_btn3 {
    margin: 10px 0 0;
}

.sgle-post-item-content .event-date {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
}

.sgle-post-item-content .event-date,
.sgle-post-item-content .event-date i {
    color: #fff;
    font-size: 12px;
}

.sgle-post-item-content h3 a {
    color: #fff;
    text-decoration: none;
}

.has-url {
    cursor: pointer;
}



/***** responsive embed video ******/
#codiscovr__services-3-cols .vc_column-inner, 
#codiscovr__services-3-cols .vc_column-inner .wpb_wrapper, 
#codiscovr__services-3-cols .vc_column-inner .wpb_wrapper .iconbox {
    min-height: 100%;
    display: block;
    height: 100%;
}

#codiscovr__services-3-cols ul {
    text-align: left;
    margin: 1.5rem 0 0 3rem;
}



@media screen and (max-width: 600px) {
    #codiscovr__services-3-cols .wpb_column + .wpb_column {
        margin-top: 40px;
    }
}







/***** responsive embed video ******/
.codiscovr-embed-video-wrapper {
    position: relative;
    max-width: 952px;
    padding: 0 20px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
}

.codiscovr-embed-video-wrapper > iframe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}


/******************************************* Footer ************************************************************/
/* Footer signup form */
#field_1_1 input {
	width: 100%;
}
#gform_1 .gform-footer {
	margin-top: 10px ;
}
#gform_1 input[type=submit] {
    background: #680030;
}

#footer .widget-area .widget h2::before {
    display: none !important;
}

#footer .widget.widget_nav_menu ul li a, 
#footer .widget.widget_pages ul li a {
    padding: 5px 0 5px 5px !important;
}

#footer .widget.widget_nav_menu ul li a::before, 
#footer .widget.widget_pages ul li a::before {
    display: none !important;
}



@media only screen and (max-width: 992px) {
    .all-author-list {
        grid-template-columns: repeat(3, 1fr);
    }
	.all-post-list {
		grid-template-columns: repeat(2, 1fr);
	}

}

@media only screen and (max-width: 768px) {

    
}



@media only screen and (max-width: 767px) {

    /* Category */
	.category-page .all-cat{
        flex-wrap: wrap;
		padding-right: 20px;
		padding-left: 20px;
	}
	.category-page .cat a {
		width: 100%;
		line-height: 30px;
	}

    /* Team  */
    .team-right-col-content {
        max-width: 100%;
        margin: 0 auto;
    }
    .all-author-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-body-content.has-sd-con, .author-banner {
        grid-template-columns: 100%;
    }
	

	
}

@media only screen and (max-width: 450px) {
    .all-author-list {
        grid-template-columns: 100%;
    }
	.all-post-list {
		grid-template-columns: 100%;
	}
}
