/* Categories bar style */
.ae-categories {
    margin-bottom: 30px;
}
.ae-categories #title {
    color: #4B4B4C;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.1px;
}
.ae-categories hr {
    margin: 5px 0px 10px 0px;
    border-top: 2px solid #eee;
}
.ae-categories a {
    display: inline-block;
    color: #868686;
    font-weight: 600;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: .3s ease;
    font-size: 14px;
    padding: 6px 15px 6px 15px;
    background: #f4f4f4;
    border-radius: 20px;
}

.ae-categories.vert a{
    display: block;
    margin: 5px 0;
    border-radius: 5px;
    background-color: #fff;
}
.ae-categories a:hover {
    color: #fff;
    background: #6b92c0;
}
.ae-categories a.activeItem {
    color: #fff;
    background: #6b92c0;
}
.ae-categories-wrapper {
	margin-top: 15px;
}
/* template box */
._3d-character-icon {
    position: absolute;
    top: -15px;
    right: 5px;
    width: 36px;
    z-index: 2;
}
._3d-character-icon.show {
    display: block;
}
._3d-character-icon.hide {
    display: none;
}
.ae-box-img {
    width: 100%;
    overflow: hidden;
    padding: 0;
    object-fit: contain;
    cursor: pointer;
    vertical-align: top;
    margin-right: 30px;
    margin-bottom: 10px;
    float: left;
    border: 1px solid #ccc;
    border-radius: 10px;
    transition: transform 0.5s;
}
.learn-more-how-to-create {
    display: inline-block;
    margin-top: 20px;
    font-size: 14px;
    color: #41ae6f;
    font-weight: 600;
      transition: color 0.3s ease;
}
.learn-more-how-to-create:hover {
	color: #53b97e;
}
.ae-box-img figure {
    position: relative;
    display: block;
    width: 100%;
}
.ae-box-img figure::before {
    content: "\f04b";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 56px;
    color: transparent;
    z-index: 2;
    pointer-events: none;
    transition: color 0.3s ease;
    pointer-events: none;
}
.ae-box-img figure:hover::before {
    color: rgb(228, 228, 228);
}
.ae-box-img figure::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1;
    transition: background-color 0.3s ease;
    pointer-events: none;
}
.ae-box-img figure:hover::after {
    background-color: rgba(0, 0, 0, 0.4);
}
.ae-box-img video {
    width: 100%;
    height: 100%;
}
#animated-explainer-template-index .style-text #_template_name {
	height: 30px;
    display: inline-block;
    color: #666666;
    font-size: 16px;
    font-weight: 600;
    white-space: normal;
    text-overflow: ellipsis;
    overflow: unset;
    width: 100%;
    cursor: pointer;
    transition: color .3s ease;
}
#animated-explainer-template-index .style-text #_template_name:hover {
    color: #57BEA2;
}
#templates-index-header h1 {
    font-size: 28px !important;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
        letter-spacing: -0.5px;
        font-weight: 700 !important;
}
#templates-index-header p {
	    font-size: 16px !important;
	    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
/* video player */
.video-player-overlay {
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 1000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(14, 14, 14, 0.9);
}

.video-player-overlay .video-player {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
}

.video-player-overlay .video-player .separate-line {
    border-top: 1px solid #dcdcdc;
    margin-top: 10px;
}

.video-player-overlay .video-player .video-player-area-player {
    max-height: 700px;
    text-align: center;
    position: relative;
}
.video-player-overlay .video-player .video-player-area-player #_close_modal_btn {
    position: absolute;
    top: -15px;
    right: -35px;
    font-size: 2.5rem;
    cursor: pointer;
    color: #FFB900;
    transition: color .3s ease;
    padding: 8px;
    float: right;
}
.video-player-overlay .video-player .video-player-area-player #_close_modal_btn:hover {
    color:rgb(105, 105, 105);
}
.video-player-overlay .video-player .video-player-area-player video {
    max-width: 100%;
    max-height: 700px;
}

.video-player-overlay .video-player .video-player-area-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-player-overlay .video-player .video-player-area-bottom .block-btn {
    padding: 8px;
    margin: 10px 8px;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    transition: background-color .3s ease;
}

.video-player-overlay .video-player .video-player-area-bottom .block-btn.edit-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    background-color: #5A9BD5;
    width: 160px;
    height: 45px;
}
.video-player-overlay .video-player .video-player-area-bottom .block-btn.edit-btn:hover { 
    background-color: #2875bb;
}

.video-player-overlay .video-player .video-player-area-bottom .block-btn.close-dialog-btn {
    color: #FFB900;
    background-color: transparent;
    border: 1px solid #FFB900;
    width: 60px;
}
.video-player-overlay .video-player .video-player-area-bottom .block-btn.close-dialog-btn:hover {
    background-color: #ffb90012;
}

/* wp post */
.animated-explainer-post .demo-video-area {
    margin-bottom: 10px;
    text-align: center;
}
.animated-explainer-post .demo-video-area video {
    border-radius: 10px;
    width: 100%;
    max-width: 825px;
    max-height: 500px;
}
.animated-explainer-post #editBtnArea {
    text-align: center;
    margin: 16px 0px;
}
.animated-explainer-post #editBtnArea > a {
    background-color: #5FC58D;
    color: #FFF;
    padding: 12px 22px;
    font-weight: 600;
    font-size: 16px;
    border: 0px solid #FFF;
    border-radius: 5px;
    margin-top: 10px;
}
.animated-explainer-post #editBtnArea > a:hover {
    background-color: #4da575;
}
.animated-explainer-post .main-content .sections h1{
    font-size: 2.2rem;
}
.animated-explainer-post .main-content .sections p {
    margin-bottom: 15px;
        line-height: 27px;
}
.animated-explainer-post .main-content .wp-block-video {
    margin-bottom: 10px;
    text-align: center;
}
.animated-explainer-post .main-content .wp-block-video video {
    border-radius: 10px;
    max-width: 100%;
    max-height: 500px;
}
.animated-explainer-post .main-content .sections .wp-block-column {
    display: inline-block;
}
.animated-explainer-post .main-content .sections .wp-block-column~.wp-block-column {
    float: right;
    margin-top: -19px;
}
.animated-explainer-post .main-content .sections ul{
    list-style-type: disc;
    margin-bottom: 20px;
    font-size: 16px;
        padding-left: 35px;
            line-height: 27px;
  
}
.animated-explainer-post .main-content .sections ul li{
	    margin-bottom: 10px;
}
.animated-explainer-post .main-content .sections ol {
    list-style: decimal;
    font-size: 16px;
        margin-top: 10px;
    line-height: 29px;
    margin-bottom: 20px;
}
.animated-explainer-post .main-content .sections ol li {
    margin-top: 10px;
}
#first-info h2 {
    font-size: 24px;
    font-weight: 700;
}
#first-info h3 {
    font-size: 19px;
    font-weight: 600;
}
/* template not found page */
#templates-gallery .template-not-found {
    margin: 10% 0;
}
.ae-template-item-wrapper {

}
.ae-btn-use-template {
    border: 1px solid #c3c3c3;
    background-color: #fff;
    color: #6e6e6e;
    font-weight: 600;
    padding: 10px 12px;
    position: relative;
    top: 4px;
    display: inline-block;
    float: right;
    max-width: 70px;
    transition: 0.3s;
}
.lang-zh_TW .ae-btn-use-template {
font-size: 12px;
padding: 10px 10px;
}
.lang-zh_CN .ae-btn-use-template {
font-size: 12px;
padding: 10px 10px;
}
.ae-btn-use-template:hover {
	    border: 1px solid #f3bb47;
    color: #f3bb47;
}
.ae-btn-use-template i{
font-size: 16px;
}
.ae-btn-use-template-title {
	    max-width: 150px;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 20px;
}
.ae-btn-use-template-index {
    width: 100%;
    margin-bottom: 50px;
}

@media only screen and (max-height: 500px) {
    .video-player-overlay .video-player {
        width: 50% !important;
    }
}

@media only screen and (max-width: 990px) { 
    .ae-categories a {
        margin-bottom: 8px;
    }
}

@media only screen and (max-width: 1550px) { 
    .video-player-overlay .video-player {
        width: 80%;
    }
}
