/***************       single product header footer       ***************/
@media only screen and (min-width: 850px){
    #header {
        transition: all .5s;
    }
    .bottom-nav {
        display: none;
    }
}

@media only screen and (max-width: 849px) {
    #header {
        top: 0 !important;
    }
}

/*******       set       *******/
@media only screen and (min-width: 850px){
    .app.set-v .iframe-frame {
        max-width: 460px;
    }
}
@media only screen and (max-width: 499px){
    .app.set-s-3 .iframe-frame {
        height: 300px; 
    }
    .app.set-s-3-4 .iframe-frame {
        height: 340px; 
    }
    .app.set-s-4 .iframe-frame {
        height: 400px; 
    }
    .app.set-s-4-2 .iframe-frame {
        height: 420px; 
    }
    .app.set-s-4-4 .iframe-frame {
        height: 440px; 
    }
    .app.set-s-4-6 .iframe-frame {
        height: 460px; 
    }
    .app.set-s-4-8 .iframe-frame {
        height: 480px; 
    }
    .app.set-s-5-2 .iframe-frame {
        height: 520px; 
    }
    .app.set-s-5-4 .iframe-frame {
        height: 540px; 
    }
    .app.set-s-5-6 .iframe-frame {
        height: 560px; 
    }
    .app.set-s-5-8 .iframe-frame {
        height: 580px; 
    }
    .app.set-s-6 .iframe-frame {
        height: 600px; 
    }
    .app.set-s-6-2 .iframe-frame {
        height: 620px; 
    }
}

/********************************       single product      ********************************/
/***************       app       ***************/
.app {
    background-color: #333333;
}

@media only screen and (min-width: 850px){
    .app {
        position: fixed;
        width: 100%;
        height: calc(100vh - 120px);
        top: 120px;
        transition: all .5s;
    }
}

@media only screen and (max-width: 849px){
    .app {
        height: 100% !important;
    }
}

/***************       app-content       ***************/
@media only screen and (min-width: 850px){
    .app-content {
        height: 100%;
        flex-basis: calc(100% - 350px);
        max-width: calc(100% - 350px);
        position: absolute;
        right: 0;
        transition: all .5s;
    }
}
.app-content-iframe {
        background-color: #1c1c1c;
        width: 100%;
    }
@media only screen and (min-width: 850px){
    .app-content-iframe {
        display:flex;
        flex-direction: column;
        flex-basis: calc(100% - 50px);
        max-width: calc(100% - 50px);
        height: calc(100% + 30px);
        transition: all .5s;
    }
}
@media only screen and (max-width: 849px){
    .app-content-iframe {
        height: 100% !important; 
    }
}
/*******       content footer       *******/
@media only screen and (min-width: 850px){
    .app-content-footer {
        background: #1c1c1c;
        min-height: 30px;
        text-align: right;
        padding: 0 15px;
    }
    .app-content-footer img {
        width: 60px;
    }
}

/*******       iframe frame       *******/
.iframe-frame {
    width: 100%;
    height: 100%;
    margin: auto;
    display: block;
    border: 0;
}
@media only screen and (max-width: 849px){
    .iframe-frame {
        margin: 15px auto;
        height: 500px; 
    }
}

/*******       iframe image       *******/
@media only screen and (max-width: 849px){
    .iframe-image {
        margin: 15px auto;
        }
}

@media only screen and (min-width: 850px) {
    .iframe-image {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media only screen and (min-width: 850px) {
    .iframe-image img{
        width: auto;
        max-height: calc(100vh - 150px);
        box-shadow: 3px 4px 7px #1a1a1a;
    }
}

/***************       app-actions       ***************/
@media only screen and (min-width: 850px) {
    .app-actions {
        display: flex !important;
        flex-direction: column;
        justify-content: end;
        margin-left: auto;
        padding: 25px 0;
        text-align: center;
        width: 50px;
        flex-basis: 50px;
        max-width: 50px;
        position: relative;
        background: #333333;
    }
}

/***************       dots       ***************/
.dots {
    margin: auto;
    visibility: hidden;
    opacity: 0;
}
.dots i {
    display: block;
    background: #fff;
    border-radius: 10px;
    height: 4px;
    margin: 15px auto;
    cursor: pointer;
    transition: all 0.5s;
}
.dots i:nth-child(odd) {
    width: 22px;
}

.dots i:nth-child(even) {
    width: 10px;
}

/***************       back-to-top       ***************/
@media only screen and (min-width: 850px) {
.back-to-top-info {
    position: relative;
    top: 25px;
    cursor: pointer;
    transition: all .5s;
    } 
.back-to-top-info span {
    font-size: 22px;
    width: 22px;
    }
}

/***************       collapse       ***************/
@media only screen and (min-width: 850px) {
.collapse {
    cursor: pointer;
    z-index: 1;
}
.collapse span {
    padding: 4px;
    width: 28px;
    height: 28px;
    background: #474747;
    border-radius: 50%;
    transition: rotate .5s, background .3s;
    }
.collapse:hover span {
    background: #5c5c5c;
    }
}

/***************       app-sidebar       ***************/
@media only screen and (min-width: 850px){
    .app-sidebar {
        flex-basis: 350px;
        max-width: 350px;
        overflow-y: scroll;
        position: absolute;
        top: 0;
        left:0;
        height: 100%;
        padding-top: 30px;
        transition: all .5s;
    }
    .app-sidebar::-webkit-scrollbar {
        width: 6px;
    }
    .app-sidebar::-webkit-scrollbar-track {
      background: transparent; 
    }
    .app-sidebar::-webkit-scrollbar-thumb {
      background: #4f4f4f; 
      border-radius: 5px;
    }
    .app-sidebar::-webkit-scrollbar-button:single-button {
      background-color: #313131;
      display: block;
      height: 20px;
      width: 6px;
    }
}
/***************       block app       ***************/
.block-app {
    padding: 20px 25px;
}

/********       title       ********/
.block-title {
    background-color: #292929;
}

.block-title h1 {
    font-size: 20px;
    padding-left: 15px;
    border-left: 6px solid #3fff3f;
}

.block-title .breadcrumbs,
.block-title .breadcrumbs a:last-child {
    color: #3fff3f !important;
    font-weight: 700;
}

/********       details       ********/
.block-details {
    font-size: 13px;
}

.block-details b {
    color: #afafaf;
    margin-right: 5px;
}

.block-details .info-date i {
    color: #e1a600;
    font-size: 12px;
    font-weight: bold;
    margin-left: 5px;
}

/***************       download & more button     ***************/
.download-button {
    margin: auto;
    padding: 8px;
    display: block;
    font-size: 14px;
    max-width: 240px;
    background-color: #e1a600;
    letter-spacing: 1px;
    border-radius: 5px;
}

.download-button span {
    border-left: 1px solid #ffffff36;
    padding-left: 45px;
}

.download-button svg{
    width: 12px;
    height: 12px;
    position: relative;
    left: -25px;
    border-bottom: 1px solid #fff;
}

.more-button {
    margin: 0;
    font-size: 13px;
    background: #0071ff;
    padding: 5px 30px;
}

/***************       product tag       ***************/
.product-tags-title {
    font-size: 14px;
    margin-bottom: 5px;
}

.block-tags .product-tags a {  
    display: inline-block;
    background-color: #454545;
    color: #fff;
    padding: 8px 14px;
    border-radius: 7px;
    margin: 5px 3px;
    font-size: 13px;
    font-weight: bold;
}

.block-tags .product-tags a:hover {
    background-color: #6d6d6d;
}

.block-tags .product-tags a.Project span,
.block-tags .product-tags a.project span {
    display: none;
}

.block-tags .product-tags a.Project:before,
.block-tags .product-tags a.project:before {
    content: 'View Project ➤';
    word-spacing: 3px;
}

/***************       Next and Previous       ***************/
.single-product .next-prev-nav a i:before {
	width: 42px;
    height: 42px;
    display: inline-block;
    text-align: center;
    background: #454545;
    border-radius: 99px;
    font-size: 24px;
    padding: 7px;
}

.single-product .next-prev-nav a:hover i:before {
    background: #6d6d6d;
}

/***************       block share       ***************/
.block-share {
    padding: 17px 10px;
    background: #292929;
}

.copy-link-text {
    font-size: 14px;
}

.app-sidebar .social-icons a {
    color: #afafaf;
    margin-left: 10px;
    margin-right: 10px;
    position: relative;
    top: 2px;
}

.app-sidebar .social-icons a:hover {
    color: #fff;
}

/***************      full-overlay       ***************/
@media only screen and (min-width: 850px){
    .full-overlay #header {
        top: -120px !important;
    }
    .full-overlay .app {
        top: 0 !important;
        height: 100% !important;
    }
    .full-overlay .app-content {
        flex-basis: 100%;
        max-width: 100%;
    }
    .full-overlay .app-content-iframe {
        height: calc(100% + 30px) !important;
    }
    .full-overlay .collapse span {
        rotate: 180deg;
    }
    .full-overlay .back-to-top-info {
        top: 25px !important;
    }  
    .full-overlay .app-sidebar {
        left:-350px;
    }
    .full-overlay .dots {
        visibility: visible !important;
        opacity: 1 !important;
    }
    .full-overlay .dots i {
        pointer-events: none;
        background: #777 !important;
        margin: 25px auto;
    }
}