.bg-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-bubbles li {
    position: absolute;
    list-style: none;
    display: block;
    width: 40px;
    height: 40px;
    /* background-color: rgba(255, 255, 255, 0.15); */
    bottom: -160px;
    -webkit-animation: square 10s infinite;
    animation: square 10s infinite;
    transition-timing-function: linear;
}

.bg-bubbles li:nth-child(1) {
    left: 10%;
}

.bg-bubbles li:nth-child(2) {
    left: 20%;
    width: 80px;
    height: 80px;
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
    -webkit-animation-duration: 17s;
    animation-duration: 17s;
}

.bg-bubbles li:nth-child(3) {
    left: 25%;
    -webkit-animation-delay: 4s;
    animation-delay: 4s;
}

.bg-bubbles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    -webkit-animation-duration: 22s;
    animation-duration: 22s;
    background-color: rgba(255, 255, 255, 0.25);
}

.bg-bubbles li:nth-child(5) {
    left: 70%;
}

.bg-bubbles li:nth-child(6) {
    left: 80%;
    width: 120px;
    height: 120px;
    -webkit-animation-delay: 3s;
    animation-delay: 3s;
    background-color: rgba(255, 255, 255, 0.2);
}

.bg-bubbles li:nth-child(7) {
    left: 32%;
    width: 160px;
    height: 160px;
    -webkit-animation-delay: 7s;
    animation-delay: 7s;
}

.bg-bubbles li:nth-child(8) {
    left: 55%;
    width: 20px;
    height: 20px;
    -webkit-animation-delay: 15s;
    animation-delay: 15s;
    -webkit-animation-duration: 40s;
    animation-duration: 40s;
}

.bg-bubbles li:nth-child(9) {
    left: 10%;
    width: 40px;
    height: 40px;
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
    -webkit-animation-duration: 40s;
    animation-duration: 40s;
    background-color: rgba(255, 255, 255, 0.3);
}

.bg-bubbles li:nth-child(10) {
    left: 90%;
    width: 160px;
    height: 160px;
    -webkit-animation-delay: 11s;
    animation-delay: 11s;
}

.bg-bubbles li:nth-child(10) {
    left: 32%;
    width: 0;
    height: 0;
    border-right: 60px solid transparent;
    border-top: 60px solid rgba(255, 255, 255, 0.3);
    border-left: 60px solid rgba(255, 255, 255, 0.3);
    border-bottom: 60px solid rgba(255, 255, 255, 0.3);
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    border-radius: 100%;
    -webkit-animation-delay: 14s;
    animation-delay: 14s;
}

.bg-bubbles li:nth-child(11) {
    left: 59%;
    width: 0;
    height: 0;
    border-right: 20px solid transparent;
    border-top: 20px solid rgba(255, 255, 255, 0.3);
    border-left: 20px solid rgba(255, 255, 255, 0.3);
    border-bottom: 20px solid rgba(255, 255, 255, 0.3);
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    border-radius: 100%;
    -webkit-animation-delay: 7s;
    animation-delay: 7s;
    /* background-color: rgba(255, 255, 255, 0.2); */
}

.bg-bubbles li:nth-child(12) {
    left: 15%;
    width: 0;
    height: 0;
    border-right: 30px solid transparent;
    border-top: 30px solid rgba(255, 255, 255, 0.3);
    border-left: 30px solid rgba(255, 255, 255, 0.3);
    border-bottom: 30px solid rgba(255, 255, 255, 0.3);
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    border-radius: 100%;
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
    -webkit-animation-duration: 20s;
    animation-duration: 20s;
    /* background-color: rgba(255, 255, 255, 0.3); */
}

.bg-bubbles li:nth-child(13) {
    left: 72%;
    width: 0;
    height: 0;
    border-left: 100px solid rgba(255, 255, 255, 0.2);
    border-top: 50px solid transparent;
    border-bottom: 50px solid transparent;
    -webkit-animation-delay: 9s;
    animation-delay: 9s;
    /* background-color: rgba(255, 255, 255, 0.2); */
}

.bg-bubbles li:nth-child(14) {
    left: 22%;
    width: 0;
    height: 0;
    border-left: 150px solid rgba(255, 255, 255, 0.2);
    border-top: 75px solid transparent;
    border-bottom: 75px solid transparent;
    -webkit-animation-delay: 19s;
    animation-delay: 19s;
    /* background-color: rgba(255, 255, 255, 0.2); */
}

.bg-bubbles li:nth-child(15) {
    left: 52%;
    width: 0;
    height: 0;
    border-left: 50px solid rgba(255, 255, 255, 0.2);
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    -webkit-animation-delay: 9s;
    animation-delay: 3s;
    /* background-color: rgba(255, 255, 255, 0.2); */
}

@-webkit-keyframes square {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        -webkit-transform: translateY(-700px) rotate(600deg);
        transform: translateY(-700px) rotate(600deg);
    }
}

@keyframes square {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        -webkit-transform: translateY(-700px) rotate(600deg);
        transform: translateY(-700px) rotate(600deg);
    }
}

.wrapper {
    position: absolute;
    width: 100%;
    height: 500px;
    overflow: hidden;
    box-shadow: 0px 0px 15px inset #352d22;
}

.cw-form-login {
    padding: 20px 0;
    position: relative;
    z-index: 2;
}

.cw-form-login input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.2);
    width: 250px;
    border-radius: 3px;
    padding: 10px 15px;
    margin: 0 auto 10px auto;
    display: block;
    text-align: center;
    font-size: 18px;
    color: white;
    transition-duration: 0.25s;
    font-weight: 300;
}

.cw-form-login input:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.cw-form-login input:focus {
    background-color: white;
    width: 300px;
    color: #49320f;
}

.cw-form-login button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    background-color: rgb(241, 241, 241);
    border: 0;
    padding: 10px 15px;
    color: #83682e;
    border-radius: 3px;
    width: 250px;
    cursor: pointer;
    font-size: 18px;
    transition-duration: 0.25s;
}

.cw-form-login button:hover {
    background-color: #f5f7f9;
}

.cw-full-screen {
    height: 100vh;
    width: 100%;
}

.cw-toast-container {
    position: sticky;
    z-index: 1055;
    top: 0
}

.cw-toast-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    margin: 20px;
    margin-top: 70px;
}

.cw-toast-container>.cw-toast-wrapper>.toast {
    min-width: 150px
}

.cw-toast-container>.cw-toast-wrapper>.toast>.toast-header strong {
    padding-right: 20px
}

.cw-front-title {
    margin-top: -1.25rem;
    background: red;
    height: 60px;
}

.cw-shadow-front {
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, .18), 0 4px 15px 0 rgba(0, 0, 0, .15);
}

.cw-shadow-inset {
    box-shadow: 0px 0px 18px inset #527285d8;
}


/**
* ADMIN GRID ##########################################################################################################
**/

.adm-grid {
    display: grid;
    grid-template-columns: 240px calc(100% - 240px);
    grid-template-rows: 60px calc(100vh - 60px);
    grid-template-areas: "adm-nav adm-header" "adm-nav adm-body";
    padding-left: 0px;
    transition: all .25s;
    transition: all .25s ease-in-out;
}

.adm-nav {
    grid-area: adm-nav;
    border-right: 1px inset #e0f2f1;
    opacity: 1;
    transition: all .3s;
    transition: all .3s ease-in-out;
    overflow: hidden;
}

.adm-header {
    grid-area: adm-header;
    background-color: #006064;
    border-bottom: 1px inset #e0f2f1;
}

.adm-body {
    grid-area: adm-body;
}

.adm-grid-active {
    grid-template-columns: 0px 100%;
}

.adm-btn-nav {
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0277bd;
    cursor: pointer;
}

.adm-title {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.adm-title>h1 {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
}

.adm-img {
    width: 100%;
    height: 240px;
    background-color: rgba(255, 255, 255, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}

.adm-img>svg {
    height: 180px;
    width: 180px;
    background-color: rgb(255, 255, 255);
    padding: 0px 3px;
    border-radius: 5px;
    box-shadow: 0px 0px 3px 2px rgba(51, 51, 51, 0.4);
}

.adm-navbar {
    width: 100%;
    height: calc(100vh - 337px);
}

.adm-navbar>ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.adm-navbar>ul>li {
    height: 40px;
}

.adm-navbar>ul>li>a {
    width: 100%;
    border-bottom: 1px solid rgb(255, 255, 255);
    cursor: pointer;
    transition: all .5;
    transition: all .5 ease-in-out;
}

.adm-navbar>ul>li>a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.adm-navbar>ul>.active {
    box-shadow: inset 0px 0px 8px 2px rgba(255, 255, 255, 0.7);
    background-color: rgba(255, 255, 255, 0.3);
    color: #0277bd;
}

.adm-navbar>ul>li>a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 2px 25px;
    transition: all .8;
    transition: all .8 ease-in-out;
}


/* .cw-sub-menu{
    display: block;
    border-bottom: 1px solid #fff;
    padding-left: 35px;
    text-decoration: none !important;
    color:#fff;
}
.cw-sub-menu:hover{
    background-color: rgba(255, 255, 255, 0.3);
} */

.adm-checked {
    grid-template-columns: 0px 100%;
}

.adm-checked>.adm-nav ul li a span {
    display: none;
}

.adm-body-title {
    background-color: #0097a7;
    border-radius: 5px;
    color: #ffffff;
    padding: 0px;
    justify-content: center;
}

.adm-body-title>h2 {
    font-size: 16px;
    margin: 0px;
    padding: 7px 0px;
    font-weight: bold;
    letter-spacing: 1px;
}

.adm-card-body {
    height: 280px;
}

.adm-card-add {
    position: absolute;
    top: 0;
    right: 0;
    background-color: transparent;
    border-color: transparent;
    padding: 0.75rem 1.25rem;
    color: inherit;
}

* {
    font-family: 'futura-bp', sans-serif;
}

.cw-check-bp+.cw-checked-bp {
    background-color: #2e3238;
    height: 30px;
    margin: 0;
    padding: 2px;
    cursor: pointer;
    transition: all .25s;
    transition: all .25s ease-in-out;
    border-radius: 6px;
    display: flex;
}

.check-habilitado {
    background-color: #039be5;
    width: 0px;
    height: 100%;
    box-sizing: border-box;
    border-radius: 5px;
    overflow: hidden;
    transition: all .25s;
    transition: all .25s ease-in-out;
    text-align: center;
    font-weight: bold;
    color: #ffffff;
}

.check-deshabilitado {
    background-color: #b4b4b4;
    width: 120px;
    height: 100%;
    box-sizing: border-box;
    border-radius: 5px;
    overflow: hidden;
    transition: all .25s;
    transition: all .25s ease-in-out;
    text-align: center;
    font-weight: bold;
    color: #ffffff;
}

.cw-check-bp:checked+.cw-checked-bp>.check-habilitado {
    width: 120px;
}

.cw-check-bp:checked+.cw-checked-bp>.check-deshabilitado {
    width: 0px;
}

.bg-primary2 {
    background-color: #0d47a1;
}

.file-img-bp {
    height: 190px;
    width: 190px;
    /*min-height: 120px;
    min-width: 120px;
    max-width: 320px;
    max-height: 320px;*/
    background-color: #e5e5e5;
    background-size: 100% 100%;
    background-position: center;
}

* {
    font-family: 'Source Sans Pro', sans-serif;
}

.cw-social {
    height: 45px !important;
    width: 45px !important;
    color: #0d47a1;
    border-color: #0d47a1;
    background-color: #fff;
    transition: all .5s ease-in-out;
}

.cw-social:hover {
    color: #fff;
    border-color: #fff;
    background-color: #0d47a1;
}

.cw-portada {
    min-height: 350px;
    background-color: #0d47a1;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center;
}

.cw-img-portada {
    height: 350px;
    width: auto;
}

.cw-title-portada {
    font-size: 2em;
}

.cw-text-portada {
    font-size: .9em;
}

.cw-logo-portada{
    max-height: 500px;
    opacity: .95; 
    box-shadow: 0px 0px 35px #0d47a1;
}

.gal-img-custom {
    background-color: #d0d0d0;
    width: 100%;
    height: 240px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 247px;
}

.cw-card-bg-hover{
    transition: all .3s;
    transition: all .5s ease-in-out;
}

.cw-card-bg-hover:hover{
    box-shadow: 0px 0px 15px #0d47a1;
    background-color: #0277bd !important;
}

.cw-bg-blue {
    background: rgba(73, 155, 234, 1);
    background: -moz-linear-gradient(-45deg, rgba(73, 155, 234, 1) 0%, rgba(32, 124, 229, 1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(73, 155, 234, 1)), color-stop(100%, rgba(32, 124, 229, 1)));
    background: -webkit-linear-gradient(-45deg, rgba(73, 155, 234, 1) 0%, rgba(32, 124, 229, 1) 100%);
    background: -o-linear-gradient(-45deg, rgba(73, 155, 234, 1) 0%, rgba(32, 124, 229, 1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(73, 155, 234, 1) 0%, rgba(32, 124, 229, 1) 100%);
    background: linear-gradient(135deg, rgba(73, 155, 234, 1) 0%, rgba(32, 124, 229, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#499bea', endColorstr='#207ce5', GradientType=1);
}

.cw-bg-blugreen {
    background: rgba(98, 125, 77, 1);
    background: -moz-linear-gradient(-45deg, rgba(98, 125, 77, 1) 0%, rgba(0, 53, 102, 1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(98, 125, 77, 1)), color-stop(100%, rgba(0, 53, 102, 1)));
    background: -webkit-linear-gradient(-45deg, rgba(98, 125, 77, 1) 0%, rgba(0, 53, 102, 1) 100%);
    background: -o-linear-gradient(-45deg, rgba(98, 125, 77, 1) 0%, rgba(0, 53, 102, 1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(98, 125, 77, 1) 0%, rgba(0, 53, 102, 1) 100%);
    background: linear-gradient(135deg, rgba(98, 125, 77, 1) 0%, rgba(0, 53, 102, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#627d4d', endColorstr='#003566', GradientType=1);
}

.cw-bg-lightblue {
    background: rgba(172, 217, 230, 1);
    background: -moz-linear-gradient(-45deg, rgba(172, 217, 230, 1) 0%, rgba(210, 239, 247, 1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(172, 217, 230, 1)), color-stop(100%, rgba(210, 239, 247, 1)));
    background: -webkit-linear-gradient(-45deg, rgba(172, 217, 230, 1) 0%, rgba(210, 239, 247, 1) 100%);
    background: -o-linear-gradient(-45deg, rgba(172, 217, 230, 1) 0%, rgba(210, 239, 247, 1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(172, 217, 230, 1) 0%, rgba(210, 239, 247, 1) 100%);
    background: linear-gradient(135deg, rgba(172, 217, 230, 1) 0%, rgba(210, 239, 247, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#acd9e6', endColorstr='#d2eff7', GradientType=1);
}

.cw-bg-primary {
    background: rgba(0, 123, 255, 1);
    background: -moz-linear-gradient(-45deg, rgba(0, 123, 255, 1) 0%, rgba(96, 174, 247, 1) 50%, rgba(0, 123, 255, 1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(0, 123, 255, 1)), color-stop(50%, rgba(96, 174, 247, 1)), color-stop(100%, rgba(0, 123, 255, 1)));
    background: -webkit-linear-gradient(-45deg, rgba(0, 123, 255, 1) 0%, rgba(96, 174, 247, 1) 50%, rgba(0, 123, 255, 1) 100%);
    background: -o-linear-gradient(-45deg, rgba(0, 123, 255, 1) 0%, rgba(96, 174, 247, 1) 50%, rgba(0, 123, 255, 1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(0, 123, 255, 1) 0%, rgba(96, 174, 247, 1) 50%, rgba(0, 123, 255, 1) 100%);
    background: linear-gradient(135deg, rgba(0, 123, 255, 1) 0%, rgba(96, 174, 247, 1) 50%, rgba(0, 123, 255, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#007bff', endColorstr='#007bff', GradientType=1);
}

.cw-text-calistoga {
    font-family: 'Calistoga', cursive;
}

@media (min-width: 768px) {
    /* MD */
    .cw-img-portada {
        width: 100%;
        height: auto;
    }
    .cw-title-portada {
        font-size: 4em;
    }
    .cw-text-portada {
        font-size: 1.5em;
    }
    .cw-portada {
        background-size: 100% auto;
    }
}