﻿body {
    background: white;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}

.body-content {
    background-image: url(images/bg.png);
}

.hide-box {
    display: none;
}

input[type=text] {
    border: 1px solid #ddd;
    border-radius: 3px;
}
.img-back{
    opacity:0.6;
}
.s {
    border: none !important;
    outline: none !important;
    background: none !important;
   /* padding-left: 8px !important;
    padding-right: 8px !important;*/
    overflow:inherit !important;
}

.menu {
    position: fixed;
    height: 44px;
    /*background: #263238;*/
    background-color: white;
    left: 0;
    right: 0;
    z-index: 999;
    top: 0;
    display: inline-block;
    border: 1px solid #ddd;
    text-align: center;
}

    .menu .title {
        position: absolute;
        top: 50%;
        left: 16px;
        transform: translateY(-50%);
        cursor: pointer;
        font-size: 24px;
        font-weight: bold;
        text-decoration: none;
        color: hotpink;
    }
        .menu .title img {
            vertical-align: middle;
            /*filter: opacity(1) drop-shadow(0 0 0 hotpink);*/
        }
        #create-image {
            padding: 8px 12px;
            border: 1px solid dodgerblue;
            border-radius: 3px;
            font-size: 16px;
            background-color: dodgerblue;
            color: white;
            cursor: pointer;
            display: inline-block;
            margin-top: 4px;
        }

.zoom {
    display: inline-block;
    margin-top: 4px;
}

.overlay {
    display: none;
}

.img-load {
    display: none;
}
.menu .title img.logo {
    max-height: 30px;
}
body.loading .overlay {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: white;
    /*opacity: 0.6;*/
}

body.loading .img-load {
    display: block;
    width: 150px;
    height: 150px;
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 9999;
    transform: translate(-50%,-50%);
}

.zoom select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    outline: none;
}

.save-image {
    margin-top: 4px;
    margin-left: 16px;
    display: inline-block;
}

body:hover::-webkit-scrollbar-thumb {
    background: #c1c1c1;
}

body::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

body::-webkit-scrollbar-thumb {
    border-radius: 1px;
    background: none;
}

/*textare focus hide input*/
input:focus::-webkit-input-placeholder {
    color: transparent !important;
}

input:focus::-moz-placeholder {
    color: transparent !important;
}

input:focus:-moz-placeholder {
    color: transparent !important;
}
/*textare focus hide placeholder*/
textarea:focus::-webkit-input-placeholder {
    color: transparent !important;
}

textarea:focus::-moz-placeholder {
    color: transparent !important;
}

textarea:focus:-moz-placeholder {
    color: transparent !important;
}
/**/
textarea {
    border: 1px solid #ddd;
    border-radius: 3px;
}

#views {
    overflow: hidden;
}
.bg-box-img {
    border: 1px solid #ddd;
    background: #e7e5ee8a;
}
.add-image-file {
    background: #e7e5ee8a !important;
    padding:16px !important;
    border: none !important;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 50px;
    height: 50px;
    padding: 0;
}
.add-image-file::after {
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background: url(images/images.svg) no-repeat;
    background-size: 50px;
    
    
}
.edit-img-avt {
    background: #e7e5ee8a !important;
    padding: 16px !important;
    border: none !important;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    padding: 0;
}
.edit-img-avt::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(images/edit_image.svg) no-repeat;
    background-size: 50px;
}
.type-img.box-avatar {
    border-radius: calc(100% / 2);
}

.box-avatar img {
    border-radius: calc(100% / 2);
    position: absolute;
    background: white;
}
.box-image{
    text-align:center;
}
.type-img input[type=file] {
    cursor: pointer;
    position: absolute;
    z-index: 2;
    filter: alpha(opacity=0);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    opacity: 0;
    background-color: transparent;
    color: transparent;
}

.box-action-edit-image {
    background: rgba(255, 255, 255, 0.5);
    position: fixed;
    z-index: 10;
    padding: 16px;
    right: 16px;
    border-radius: 5px;
    text-align: center;
}

    .box-action-edit-image button {
        padding: 8px 12px;
        color: white;
        background-color: dodgerblue;
        border-radius: 5px;
        border: 1px solid dodgerblue;
        cursor: pointer;
        outline: none;
        font-size: 40px;
    }

.custom-btn {
    padding: 8px 12px;
    color: white;
    background-color: dodgerblue;
    border-radius: 5px;
    border: 1px solid dodgerblue;
    cursor: pointer;
    outline: none;
    font-size: 40px;
}

#background {
    position: relative;
}

textarea {
    word-break: break-word;
}

#snackbar {
    visibility: hidden;
    min-width: 250px;
    /*margin-left: -125px;*/
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    font-size: 17px;
}

    #snackbar.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }
/* Hide scrollbar for Chrome, Safari and Opera */
/*textarea::-webkit-scrollbar {
    display: none;
}

textarea {
    -ms-overflow-style: none;*/ /* IE and Edge */
/*scrollbar-width: none;*/ /* Firefox */
/*}*/
.share-mobile {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 0 0 16px 0;
    text-align: center;
    min-width: 300px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 2px;
    /* background: blue; */
    z-index: 999999;
}

    .share-mobile h2 {
        padding: 8px 12px;
        background-color: dodgerblue;
        color: white;
    }

    .share-mobile button {
        margin: 16px 4px 0 4px;
        padding: 6px 8px;
        border-radius: 3px;
        cursor: pointer;
    }

        .share-mobile button.cancel {
            background-color: #ddd;
            border: 1px solid #ddd;
            color: black;
        }

        .share-mobile button.share-mb {
            background-color: dodgerblue;
            border: 1px solid dodgerblue;
            color: white;
        }

.share-overlay {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: black;
    opacity: 0.6;
}

.box-other {
    display: inline-block;
    width: 100%;
}

.box-left {
    /*float: left;*/
    width: calc(100% - 336px - 32px);
    text-align: center;
    /*margin-left: 16px;*/
    margin: auto;
}

.box-right {
    display:none;
    float: left;
    width: 336px;
    text-align: center;
    margin-right:16px;
}

.tag-title {
    text-align: left;
    margin-top: 16px;
    line-height:1.6;
}

    .tag-title h1 {
        color: black;
        font-size: 18px;
        font-weight: 600;
    }

    .tag-title hr {
        margin: 0;
        padding: 0;
        margin-top: 8px;
        margin-right:16px;
        margin-bottom:16px;
    }

.box-ads {
    height: 200px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 16px;
}

ul.templates {
    list-style: none;
    display: inline-block;
    width: 100%;
    text-align: left;
}

    ul.templates li {
        float: left;
        padding: 8px;
        margin-right: 16px;
        margin-top: 16px;
        height: 191px;
        width: calc(100% / 4 - 34px);
        /*border: 1px solid #ddd;*/
        background: white;
        text-align: center;
        border-radius: 10px;
        /*box-shadow: 1px 1px 1px 2px #ddd;*/
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    }

        ul.templates li img {
            max-width: 100%;
            max-height: 100px;
            border-radius: 3px;
        }

        ul.templates li p {
            margin-top: 8px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            line-height: 1.6;
            -webkit-line-clamp: 3; /* number of lines to show */
            -webkit-box-orient: vertical;
        }

        ul.templates li a {
            color: black;
            text-decoration: none;
        }

        ul.templates li.box-ads {
            width: calc(100% - 34px);
            margin: 0;
            margin-right: 16px;
            margin-top: 16px;
        }

        ul.templates li.not-item {
            text-align: center;
            cursor: auto;
            border: none;
            height: auto;
            margin: 0;
            padding: 0;
            margin-top: 16px;
            width: 100%;
        }

        ul.templates li.more-data {
            text-align: center;
            cursor: auto;
            border: none;
            height: auto;
            margin: 0;
            padding: 0;
            width: 100%;
        }

@media only screen and (max-width: 768px) {
    ul.templates li {
        width: calc(100% / 2 - 34px);
    }

   
    .img-back{
        display:none;
    }
    .box-left {
        float: left;
        width: calc(100% - 32px);
        margin-right: 16px;
        margin-left: 16px;
    }

    .box-right {
        float: left;
        width: calc(100% - 32px);
        margin-right: 16px;
        margin-left: 16px;
    }
}
@media only screen and (max-width: 500px) {
    .menu .title {
        display: none;
    }
}
