:root{
    --header-height:72px;
    --main-background-color:#F5F5F5;
}

/*fonts*/
@font-face {
    font-family: 'AvertaStdPE-Regular';
    src: url('../fonts/IntelligentDesign-AvertaStdPE-Regular.eot');
    src: url('../fonts/IntelligentDesign-AvertaStdPE-Regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/IntelligentDesign-AvertaStdPE-Regular.woff') format('woff'),
    url('../fonts/IntelligentDesign-AvertaStdPE-Regular.ttf') format('truetype'),
    url('../fonts/IntelligentDesign-AvertaStdPE-Regular.svg#IntelligentDesign-AvertaStdPE-Regular') format('svg');
}

@font-face {
    font-family: 'AvertaStdPE-Bold';
    src: url('../fonts/IntelligentDesign-AvertaStdPE-Bold.eot');
    src: url('../fonts/IntelligentDesign-AvertaStdPE-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/IntelligentDesign-AvertaStdPE-Bold.woff') format('woff'),
    url('../fonts/IntelligentDesign-AvertaStdPE-Bold.ttf') format('truetype'),
    url('../fonts/IntelligentDesign-AvertaStdPE-Bold.svg#IntelligentDesign-AvertaStdPE-Bold') format('svg');
}

@font-face {
    font-family: 'AvertaStdPE-Semibold';
    src: url('../fonts/IntelligentDesign-AvertaStdPE-Semibold.eot');
    src: url('../fonts/IntelligentDesign-AvertaStdPE-Semibold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/IntelligentDesign-AvertaStdPE-Semibold.woff') format('woff'),
    url('../fonts/IntelligentDesign-AvertaStdPE-Semibold.ttf') format('truetype'),
    url('../fonts/IntelligentDesign-AvertaStdPE-Semibold.svg#IntelligentDesign-AvertaStdPE-Semibold') format('svg');
}

@font-face {
    font-family: 'AvertaStdPE-BoldItalic';
    src: url('../fonts/IntelligentDesign-AvertaStdPE-BoldItalic.eot');
    src: url('../fonts/IntelligentDesign-AvertaStdPE-BoldItalic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/IntelligentDesign-AvertaStdPE-BoldItalic.woff') format('woff'),
    url('../fonts/IntelligentDesign-AvertaStdPE-BoldItalic.ttf') format('truetype'),
    url('../fonts/IntelligentDesign-AvertaStdPE-BoldItalic.svg#IntelligentDesign-AvertaStdPE-BoldItalic') format('svg');
}

@font-face {
    font-family: 'Cartero';
    src: url('../fonts/CarteroRegular.eot');
    src: url('../fonts/CarteroRegular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/CarteroRegular.woff') format('woff'),
    url('../fonts/CarteroRegular.ttf') format('truetype'),
    url('../fonts/CarteroRegular.svg#CarteroRegular') format('svg');
    font-weight: 500
}

@font-face {
    font-family: 'TTNormsProRegular';
    src: url('../fonts/TTNormsProRegular.eot');
    src: url('../fonts/TTNormsProRegular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/TTNormsProRegular.woff') format('woff'),
    url('../fonts/TTNormsProRegular.ttf') format('truetype'),
    url('../fonts/TTNormsProRegular.svg#TTNormsProRegular') format('svg');
    font-display: swap;
}

@font-face {
    font-family: 'AreaNormalRegular';
    src: url('../fonts/areanormal-regular-webfont.eot');
    src: url('../fonts/areanormal-regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/areanormal-regular-webfont.woff') format('woff'),
    url('../fonts/areanormal-regular-webfont.ttf') format('truetype');
    font-display: swap;
}
/*Fin - fonts*/

/*Estilos generales*/
input:focus,
select:focus,
button:focus{
    outline:none;
}

ul,
ol{
    font-size: 0;
    list-style:none;
}

h1{
    margin:0;
}

button{
    border:none;
    border-radius: 0;
    cursor: pointer;
}

.relative{
    position: relative;
}

.hide{
    display: none;
}

.uppercase{
    text-transform: uppercase;
}
/*
a[target="_blank"] {
    padding-right: 25px;
    position: relative;
}

a[target="_blank"]:after{
    background: url(../img/icon-open_blank.svg) no-repeat center center;
    background-size: 15px auto;
    content: '';
    display: block;
    height: 15px;
    position: absolute;
    right: 0;
    top: -5px;
    width: 15px;
}
*/
/*Fin - Estilos generales*/

/*Iconos generales*/
.icon-confirm{
    background-image: url(../img/icon-confirm.svg);
}

.icon-copy{
    background-image: url(../img/icon-copy.svg);
}

.icon-delete{
    background-image: url(../img/icon-delete.svg);
}

.icon-edit{
    background-image: url(../img/icon-edit.svg);
}

.icon-open-blank{
    background-image: url(../img/icon-open_blank.svg);
}

.icon-options{
    background-image: url(../img/icon-options.svg);
}

.icon-preview{
    background-image: url(../img/icon-preview.svg);
}

.icon-reorder{
    background-image: url(../img/icon-reorder.svg);
}

.icon-save{
    background-image: url(../img/icon-save.svg);
}
/*Fin - Iconos generales*/

/*Main header*/
#main-header{
    background-color:#FFF;
    box-sizing: border-box;
    height: var(--header-height);
    left:0;
    padding:16px 10px 16px 24px;
    position: fixed;
    top:0;
    width: 100%;
    z-index: 12;
}

#main-header.no-fixed{
    position: static;
}

    #main-header h1{
        float:left;
        margin-top:5px;
        /*margin:21px 0 0 24px;*/
    }

    #main-header .user-info{
        float: right;
        position: relative;
    }

        #main-header .user-info figure{
            display: table;
            margin:0;
        }

            #main-header .user-info figcaption{
                color:#868d9f;
                display: table-cell;
                font:14px AvertaStdPE-Semibold;
                padding-right:16px;
                vertical-align: middle;
            }

            #main-header .user-info img{
                border-radius: 100%;;
                display: inline-block;
                height: 35px;
                width:40px;
            }

        #main-header .user-options{
            display: none;
            left: -85px;
            padding: 20px 0 0;
            position: absolute;
            top: 25px;
            z-index:25;
        }

        #main-header .user-options.show{
            display: block;
        }

            #main-header .user-options ul{
                background:#FFF;
                border: solid 1px #e6eaee;
                border-radius: 4px;
                box-shadow: 0 4px 8px 0 rgba(134, 141, 159, 0.15), 0 5px 8px 0 rgba(134, 141, 159, 0.09);
                list-style: none;
                padding:0;
            }

                #main-header .user-options li{
                }

                    #main-header .user-options a{
                        box-sizing:border-box;
                        color:#2C2B2B;
                        display: block;
                        font:16px AvertaStdPE-Regular;
                        padding:16px;
                        text-decoration: none;
                    }

/*Fin - Main header*/

/*Message*/
#msg-wrap{
    background: url(../img/icons/icon-check.svg) no-repeat left 16px center #FFF;
    background-size:24px auto;
    border-bottom:3px solid #FF3D6B;
    border-radius: 4px;
    bottom:10px;
    box-sizing:border-box;
    padding:16px 40px 19px 57px;
    position: fixed;
    right: -360px;
    transition: 200ms;
    width: 350px;
    z-index:11;
}

#msg-wrap.show{
    right:8px;
}

#msg-wrap .template,
#msg-wrap .folder{
    display: none;
}

#msg-wrap.show.template .template,
#msg-wrap.show.folder .folder{
    display: inline-block;
}

    #msg-wrap .btn-close-msg{
        background: url(../img/icons/icon-close01.svg) no-repeat center center;
        background-size: 10px auto;
        border:none;
        cursor: pointer;
        height:10px;
        padding:0;
        position: absolute;
        right:16px;
        top:16px;
        width:10px;
    }

    #msg-wrap .msg{
        border-left:1px solid #e6eaee;
        box-sizing:border-box;
        display:none;
        padding-left:16px;
    }

    #msg-wrap[data-type="1"] .msg:nth-child(1),
    #msg-wrap[data-type="2"] .msg:nth-child(2),
    #msg-wrap[data-type="3"] .msg:nth-child(3),
    #msg-wrap[data-type="4"] .msg:nth-child(4),
    #msg-wrap[data-type="5"] .msg:nth-child(5){
        display:block;
    }

        #msg-wrap .msg h5{
            color:#2C2B2B;
            font:normal 12px/20px AvertaStdPE-Semibold;
            margin:0 0 8px 0;
        }

        #msg-wrap .msg p{
            color:#2C2B2B;
            font:normal 12px/20px AvertaStdPE-Regular;
            margin:0;
        }

        #msg-wrap .msg button{
            background: none;
            border:none;
            color:#FF3D6B;
            cursor: pointer;
            font:normal 12px/20px AvertaStdPE-Semibold;
            padding:0;
        }
/*Fin - Message*/

/*Main footer*/
#main-footer{
    background-color:#FFF;
    bottom:0;
    left:0;
    padding:10px 0;
    position: fixed;
    width: 100%;
    z-index: 11;
}

    #main-footer ul{
        box-sizing: border-box;
        font-size: 0;
        list-style: none;
        padding-right: 20px;
        text-align: right;
    }

        #main-footer li{
            display: inline-block;
            margin-right: 10px;
        }

        #main-footer li:last-child{
            margin-right: 0;
        }

            #main-footer button{
                background-position: center center;
                background-repeat:no-repeat;
                background-size:auto 70%;
                border:none;
                border-radius:5px;
                box-sizing: border-box;
                cursor:pointer;
                height: 30px;
                padding:5px 0;
                width: 70px;
            }

            #main-footer .btn-save{
                background-color: #7BBAB2;
            }

            #main-footer .btn-preview{
                background-color: #6AD97B;
            }
/*Fin - Main footer*/

.btn{
    border: 1px solid #FF3D6B;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    font: 16px/24px AvertaStdPE-Semibold;
    letter-spacing: normal;
    padding: 12px 51px;
    text-decoration: none;
}

.btn.type01 {
    background-color: #FF3D6B;
    color: #ffffff;
}

.btn.type02{
    background-color: #FFF;
    border-color:#FFF;
    color: #FF3D6B;
}

/*******Popups*******/
.overlay{
    background-color: rgba(255, 255, 255, 0.8);
    display: none;
    height: 100vh;
    left:0;
    position: fixed;
    top:0;
    width: 100%;
    z-index:30;
}

.overlay.show{
    display: block;
}

    .overlay form{
        display: none;
    }

    [data-type] .type-content span{
        display: none;
    }

    [data-category="folder"] #folder-form,
    [data-category="template"] #template-form{
        display: block;
    }

    [data-type="1"] .type-content span:nth-child(1),
    [data-type="2"] .type-content span:nth-child(2),
    [data-type="3"] .type-content span:nth-child(3),
    [data-type="4"] .type-content span:nth-child(4){
        display: block;
    }

    [data-type="4"] #folder-form input,
    [data-type="3"] #template-form input{
        display: none;
    }

    .overlay .btn-close{
        background:url(../img/icons/icon-close01.svg) no-repeat center center transparent;
        background-size: 100%;
        border:none;
        cursor: pointer;
        height: 11px;
        position: absolute;
        right:34px;
        top:35px;
        width: 11px;
    }

    .overlay .msg-wrap{
        background-color:#FFF;
        border-radius: 8px;
        box-shadow: 0 8px 8px 0 #ededed;
        box-sizing: border-box;
        left:50%;
        padding:56px 72px 32px;
        position: absolute;
        top:50%;
        transform: translate(-50%, -50%);
    }

        .overlay form fieldset{
            width: 420px;
        }

        .overlay form fieldset {
            border: 0;
            margin: 0;
            padding: 0;
        }

            .overlay form legend{
                color:#4d515b;
                font:24px/24px AvertaStdPE-Regular;
                margin-bottom:24px;
            }

            .overlay form input{
                border:none;
                border-bottom: 1px solid #a6afbd;
                color:#4d515b;
                font:18px AvertaStdPE-Regular;
                padding:5px 0;
                width: 100%;
            }

            .overlay form footer{
                margin-top:24px;
                text-align: right;
            }

                .overlay form footer button{

                }
