﻿/* PAGINA */
.content {
    text-align: left;
    max-width: 600px;
    margin-top: 3%;
    margin-left: calc(50% - 300px);
    padding: 0;
}

@media only screen and (max-width: 600px) {
    .content {
        width: 98%;
        margin: 3% 1%;
        padding: 0;
    }

    h3 {
        font-size: 1.3em;
        font-weight: bold;
    }
}

/* NAV TAB */
ul.tab-bar {
    list-style: none;
    display: block;
    width: 100%;
    border-bottom: solid 0.01em #7e6b00;
}

    ul.tab-bar li.tab-item {
        display: inline-block;
        text-align: center;
    }

        ul.tab-bar li.tab-item .tab-link {
            display: block;
            padding: 0.5em 0.8em;
            text-decoration: none;
            font-weight: bold;
            border-left: solid 0.01em #7e6b00;
            border-right: solid 0.01em #7e6b00;
            border-top: solid 0.01em #7e6b00;
            border-top-left-radius: 0.3em;
            border-top-right-radius: 0.3em;
            width: 100%;
            margin: 0;
        }

            ul.tab-bar li.tab-item .tab-link.active {
                background-color: #dbc236;
            }

            ul.tab-bar li.tab-item .tab-link:hover {
                background-color: #dbc236;
                cursor: pointer;
                color: #ffffff;
            }

/* TOAST */
div.toast {
    transition: all linear 0.5s;
    width: 350px;
    margin-left: -175px;
    background-color: #333333;
    color: #ffffff;
    text-align: center;
    font-size: small;
    border-radius: 15px;
    padding: 5px;
    position: fixed;
    z-index: 99999;
    left: 50%;
    bottom: 60px;
}

    div.toast.ng-hide {
        margin-left: -150px;
        width: 300px;
        color: transparent;
        background-color: transparent;
    }

    div.toast.ng-hide-add,
    div.toast.ng-hide-remove {
        transition: all linear 0.5s;
    }
/* LOADER */
div.loading {
    /*border: 16px solid #fbfbbc;*/
    border: 16px solid #333;
    /*border-top: 16px solid #f0f000;*/
    border-top: 16px solid #EABE3F;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite;
    margin-top: calc(20% - 60px);
    margin-left: calc(50% - 60px);
    position: absolute;
    z-index: 999999;
}

@media only screen and (max-width: 600px) {
    div.loading {
        margin-top: calc(50% - 35px);
        margin-left: calc(50% - 35px);
        width: 70px;
        height: 70px;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes load7 {
    0%, 80%, 100% {
        box-shadow: 0 1em 0 -1em #ffffff;
    }

    40% {
        box-shadow: 0 1em 0 0 #FFF;
    }
}

/*MODAL*/
div.ModalFondo {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1040;
    background-color: rgba(0,0,0,.5);
    padding: 0;
    margin: 0;
}

div.ModalVentana {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1050;
    margin: 0;
    height: 98vh;
    overflow-y: auto;
}

    div.ModalVentana .modal-header {
        height: 1em;
        background: #D1E1EE;
        border-bottom: #D1E1EE solid 0.1em;
        border-top-left-radius: 9px;
        border-top-right-radius: 9px;
    }

        div.ModalVentana .modal-header .close {
            outline: none;
            cursor: pointer;
            padding: 0.22em 0.6em;
            border:none;
            background: #FFF;
            color: #000;
            opacity: initial;
            border-top-right-radius: 6px;
            padding-bottom: 5px;
            margin-top: -15px;
            margin-right: -15px;
            /*color:#f44336;*/
        }

    div.ModalVentana .modal-content {
        border-radius: 9px;
    }

    div.ModalVentana .modal-footer {
        background: #F1F1F2;
        padding: 5px;
        border-bottom-right-radius: 9px;
        border-bottom-left-radius: 9px;
    }

    div.ModalVentana .modal-body.optional {
        background: #EEFFE8;
    }
    /* MODAL EXIT */
    div.ModalVentana.exitSave .modal-content {
        border: solid 0.2em #f44336;
    }

        div.ModalVentana.exitSave .modal-content .modal-header {
            background: white;
            /*color: #f44336;*/
            border-bottom: solid 0.2em #f44336;
        }

            div.ModalVentana.exitSave .modal-content .modal-header .close {
                background: #f44336;
                color: white;
            }

        div.ModalVentana.exitSave .modal-content .modal-body {
            /*background: #f44336;
        color: white;*/
            font-size: 1.15em;
            font-weight: 500;
            color: #f44336;
        }

        div.ModalVentana.exitSave .modal-content .modal-footer {
            background: white;
            /*color: #f44336;*/
            border-top: solid 0.2em #f44336;
        }


@media (min-width: 768px) {
    .modal-xl {
        width: 75%;
        max-width: 1500px;
    }

    .modal-xxl {
        width: 90%;
        max-width: 1500px;
    }
}


/* UPLOAD FILES */
.file-upload {
    background-color: #ffffff;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.file-upload-btn {
    width: 100%;
    margin: 0;
    color: #fff;
    background: #1FB264;
    border: none;
    padding: 10px;
    border-radius: 4px;
    border-bottom: 4px solid #15824B;
    transition: all .2s ease;
    outline: none;
    text-transform: uppercase;
    font-weight: 700;
}

    .file-upload-btn:hover {
        background: #1AA059;
        color: #ffffff;
        transition: all .2s ease;
        cursor: pointer;
    }

    .file-upload-btn:active {
        border: 0;
        transition: all .2s ease;
    }

.file-upload-content {
    /*display: none;*/
    text-align: center;
}

.file-upload-input {
    position: absolute;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    outline: none;
    opacity: 0;
    cursor: pointer;
}

.image-upload-wrap {
    margin-top: 20px;
    border: 4px dashed #222;
    /*border: 4px dashed #1FB264;*/
    position: relative;
}

    .image-dropping,
    .image-upload-wrap:hover {
        /*background-color: #1FB264;*/
        background-color: #D1E1EE;
        border-color: #ffffff;
    }

.image-title-wrap {
    padding: 0 15px 15px 15px;
    color: #222;
}

.drag-text {
    text-align: center;
}

    .drag-text h3 {
        font-weight: 100;
        text-transform: uppercase;
        color: #222;
        /*color: #15824B;*/
        padding: 60px 0;
    }

.file-upload-image {
    max-height: 200px;
    max-width: 200px;
    margin: auto;
    padding: 20px;
}

.remove-image {
    width: 200px;
    margin: 0;
    color: #fff;
    background: #cd4535;
    border: none;
    padding: 10px;
    border-radius: 4px;
    border-bottom: 4px solid #b02818;
    transition: all .2s ease;
    outline: none;
    text-transform: uppercase;
    font-weight: 700;
}

    .remove-image:hover {
        background: #c13b2a;
        color: #ffffff;
        transition: all .2s ease;
        cursor: pointer;
    }

    .remove-image:active {
        border: 0;
        transition: all .2s ease;
    }
/* LEAVE CONFIRMATION */
.leave-confirmation {
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 20px;
    width: 100%;
    height: 100%;
}


/*MODAL FULL SCREEN*/
.modalFull {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    width: 100vw !important;
    background: #fff;
    z-index: 1049;
}

    .modalFull .modalFull-dialog {
        position: fixed;
        margin: 0;
        width: 100vw !important;
        height: 100%;
        padding: 0;
    }

    .modalFull .modalFull-content {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        border: 2px solid #3c7dcf;
        border-radius: 0;
        box-shadow: none;
        width: calc(100%-2px);
    }

    .modalFull .modalFull-header {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 90px;
        padding: 10px;
        margin:0;
        background: #6598d9;
        border: none;
        border-radius: 0px;
    }

    .modalFull .modalFull-title {
        font-weight: 300;
        font-size: 2em;
        color: #fff;
        line-height: 30px;
    }

    .modalFull .modalFull-body {
        position: absolute;
        top: 90px;
        bottom: 60px;
        width: 100%;
        font-weight: 300;
        overflow-y: auto;
        overflow-x: hidden;
        margin: 0;
        padding: 10px;
    }

    .modalFull .modalFull-footer {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 60px;
        padding: 10px;
        background: #f1f3f5;
    }

    .modalFull::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 10px;
        background: #f1f3f5;
        border-left: 1px solid darken(#f1f3f5, 10%);
    }

    .modalFull::-webkit-scrollbar-thumb {
        background: darken(#f1f3f5, 20%);
    }

/* GRID */
row {
    width: 96%;
    display: block;
    margin: 1%;
    padding: 1%;
}

.col-1 {
    width: calc(90%/12);
    display: inline-block;
    margin: 0;
    padding: 0;
    border: none;
}

.col-2 {
    width: calc(90%/6);
    display: inline-block;
    margin: 0;
    padding: 0;
    border: none;
}

.col-3 {
    width: calc(90%/4);
    display: inline-block;
    margin: 0;
    padding: 0;
    border: none;
}

.col-4 {
    width: calc(90%/3);
    display: inline-block;
    margin: 0;
    padding: 0;
    border: none;
}

.col-5 {
    width: calc(90%/2.4);
    display: inline-block;
    margin: 0;
    padding: 0;
    border: none;
}

.col-6 {
    width: calc(90%/2);
    display: inline-block;
    margin: 0;
    padding: 0;
    border: none;
}

.col-7 {
    width: calc(90%/1.714285);
    display: inline-block;
    margin: 0;
    padding: 0;
    border: none;
}

.col-8 {
    width: calc(90%/1.5);
    display: inline-block;
    margin: 0;
    padding: 0;
    border: none;
}

.col-9 {
    width: calc(90%/1.333333);
    display: inline-block;
    margin: 0;
    padding: 0;
    border: none;
}

.col-10 {
    width: calc(90%/1.2);
    display: inline-block;
    margin: 0;
    padding: 0;
    border: none;
}

.col-11 {
    width: calc(90%/1.090909091);
    display: inline-block;
    margin: 0;
    padding: 0;
    border: none;
}

.col-12 {
    width: 90%;
    display: inline-block;
    margin: auto calc(9%/2);
    padding: 0;
    border: none;
}
/* GALERIA */
div.img {
    margin: 5px;
    border: 1px solid #ccc;
    float: left;
    width: 180px;
    text-align: center;
    opacity: 0.8;
}

    div.img:hover {
        border: 1px solid #777;
        opacity: initial;
    }

    div.img img {
        /*width: 100%;*/
        height: auto;
        max-width: 300px;
        max-height: 133px;
    }

div.desc {
    padding: 15px;
    text-align: center;
    border-top: 1px solid #ccc;
}

/* Fontawesome */
.far.fa-rotate-45,.fas.fa-rotate-45 {
    transform: rotate(20deg);
}