@media only screen and (max-width: 980px) {
    .fixed {
        position: fixed !important;
        left:0 ;
        width: 100%; 
    }
}


@media only screen and (max-width:600px) {
    body.admin-bar.et_fixed_nav  .fixed {
        top:0 !important; 
    }
}

/* Custom Nav */

.fixed .custom-header-img {
    /*margin-top: calc(-100vw * 213 / 960);*/
    display: none;
}

#et-top-navigation {
    float: none;
    padding-top: 30px !important;
    display: flex;
    flex-flow: column nowrap;
}

#et-top-navigation #top-menu-nav {
    float: none;
    flex: 5;
}

#top-menu {
    float: none;
    display: flex;
    opacity: 1 !important;
}

#top-menu li {
    padding: 0;
    flex: 1;
}

.et_header_style_left #et-top-navigation nav>ul>li>a {
    padding: 20px 5px;
    text-align: center;
}

#top-menu .menu-item-has-children>a:first-child {
    padding-right: 0;
}

#top-menu .menu-item-has-children>a:first-child:after {
    top: 20px;
}

.et_search_outer {
    -webkit-transition: top .5s ease-out;
    -moz-transition: top .5s ease-out;
    -ms-transition: top .5s ease-out;
    -o-transition: top .5s ease-out;
    transition: top .5s ease-out;
}

.et_search_outer>div {
    height: 104px !important;
}

#et_top_search, .et_search_outer {
    display: none;
}

#et_top_search-input {
    display: block;
    flex: 1;
    padding: 10px 5px;
}

#et_top_search-input input {
    padding: 7px 10px;
    border: 1px solid #747474;
    border-radius: 20px;
    width: 100%;
    line-height: 1.5;
    color: rgba(0,0,0,.6);
    font-weight: 600;
}

.mobile_menu_bar:before {
    color: rgb(102, 102, 102);
}

.et_header_style_left #et-top-navigation nav>ul>li>a {
    padding-bottom: 20px !important;
}

@media only screen and (min-width: 1200px) {
    
    #et-top-navigation {
        flex-flow: row nowrap;
    }
    
    #et-top-navigation #top-menu-nav {
        /*flex: 5;*/
    }
    
    #et_top_search-input {
        /*flex: 1;*/
    }

}

@media only screen and (max-width: 980px) {
    #et_top_search, .et_search_outer {
        display: block;
    }

    #et_top_search-input, #top-menu-nav {
        display: none !important;
    }

    .et_header_style_left .et-search-form {
        width: 100%!important;
        max-width: 100%!important;
    }

}


/* move post meta */
.et_pb_ajax_pagination_container article.et_pb_post {
	display:grid;
	grid-template-columns:60px;
	grid-template-areas: "entrytitle" "postcontent" "postmeta";
}
.et_pb_ajax_pagination_container article.et_pb_post .entry-title {
	grid-area: entrytitle;
}
.et_pb_ajax_pagination_container article.et_pb_post .post-content {
	grid-area: postcontent;
}
.et_pb_ajax_pagination_container article.et_pb_post .post-meta {
	grid-area: postmeta;
}

/* keywords */

.custom-post-meta {
    padding-top: 10px;
}
.custom-post-meta .free-post-meta-category {
    margin-left: 10px;
}
.et_pb_ajax_pagination_container .post-meta a[rel="category tag"],
#left-area .custom-post-meta .post-meta a[rel="category tag"] {
    color: #2ea3f2 !important;
}


.et_fixed_nav #main-header, .et_fixed_nav #top-header {
    position: relative;
}

.et_fixed_nav #main-header.fixed, .et_fixed_nav #top-header {
    position: fixed;
}

#page-container.fixed-top {
    padding-top: 0 !important;
}

#page-container.fixed-top #main-header {
    top: 0 !important;
}

.row {
    display: flex;
    flex-flow: row wrap;
}

.col-md-3 {
    flex: 0 0 33.3333%;
    margin-bottom: 30px;
}

.col-md-12 {
    flex: 0 0 100%;
    margin-bottom: 30px;
}

.videos-container {
    width: 80%;
    margin: 0 auto;
    padding-top: 5%;
    padding-bottom: 5%;
}

.videos-container .row {
    margin-left: -15px;
    margin-right: -15px;
}

.videos-container .post-video {
    height: 100%;
    margin: 10px 15px;
    padding: 10px;
    box-shadow: 0 0 1px #000;
}

.videos-container .post-video .post-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.videos-container .post-video .post-content {
    width: 80%;
    margin: 0 auto;
}

.custom-search-bar {
    position: relative;
    margin-bottom: 2%;
}

.custom-search-bar .search-field {
    padding-top: 0.715em!important;
    padding-right: 0.715em!important;
    padding-bottom: 0.715em!important;
    padding-left: 0.715em!important;
    border-color: #000000!important;
    border-width: 1px;
    height: auto;
    min-height: 0;
    width: 100%;
}

.custom-search-bar .search-submit {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    min-height: 100%!important;
    cursor: pointer;
    color: #ffffff!important;
    background-color: #000000!important;
    border-color: #000000!important;
    padding: .715em;
}

.custom-pagination {
    margin: 10px 15px;
    text-align: right;
}

.custom-pagination a {
    color: #333;
    padding: 10px 15px;
}
.videos-tags{
	margin-bottom:2%;
}
.videos-tags span{
	text-transform:capitalize;
}
li.blog-login-if.go_back_story_btn a {
    background-color: rgb(252 0 0 / 68%);
    color: #fff;
    text-transform: capitalize;
}