﻿
/*.page-part.panel-masthead {
    margin-top: -1.4rem;
    margin-left: -1.4rem;
    margin-right: -1.4rem;
}*/

/* Fix height */
.carousel {
    height: 200px; /* auto */
    overflow: hidden;
    background: #0e76bc none no-repeat center center;
    background-size: cover;
}

/* New */
.carousel .item {
    height: 200px;
}

.item-inner {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.carousel > .carousel-inner > .item > img {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 992px) {
    .carousel,
    .carousel .item {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .carousel,
    .carousel .item {
        height: 120px;
    }
}


/* Bootstrap overrides */

.item-inner > .container {
    display: table;
}

/* Caption */

.carousel-caption {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    top: auto;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    text-align: left;
    overflow: hidden;
    display: table-cell;
    vertical-align: middle;
    font-size: 48px;
}

.carousel-caption > h1,
.carousel-caption > h2 {
    margin: 0;
    color: white;
    text-shadow: 0 3px 3px rgba(0, 0, 0, 1);
    font-size: 56px;
    text-align: center;
}

.carousel-caption > h2 > small {
    color: white;
    display: block;
    float: right;
    font-size: 120px;
}

.carousel-caption blockquote {
    background-color: transparent;
    border-left: 0;
    line-height: 1em;
    text-align: center;
    text-shadow: 0 3px 3px rgba(0, 0, 0, 1);
    margin: 0 auto;
}

.carousel-caption .text-muted > small {
    color: white;
}

/*Prev/Next*/

.carousel-control {
    background-image: none !important;
}

.carousel-control .icon-prev,
.carousel-control .icon-next,
.carousel-control .glyphicon_left,
.carousel-control .glyphicon_right {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-block;
    margin-top: -25px;
    font-size: 50px;
}

.carousel-control .icon-prev,
.carousel-control .glyphicon_left {
    left: 20%;
    margin-left: -10px;
}

.carousel-control .icon-next,
.carousel-control .glyphicon_right {
    right: 20%;
    margin-right: -10px;
}

@media (max-width: 768px) {
    .carousel-control .icon-prev,
    .carousel-control .icon-next,
    .carousel-control .glyphicon_left,
    .carousel-control .glyphicon_right {
        font-size: 30px;
        margin-top: -10px;
    }

    .carousel-control .icon-prev,
    .carousel-control .glyphicon_left {
        top: 10px;
        margin-top: 0;
    }

    .carousel-control .icon-next,
    .carousel-control .glyphicon_right {
        top: 10px;
        margin-top: 0;
    }
}

/*Indicators*/

.carousel-indicators {
    position: absolute;
    bottom: 0;
    right: 10px;
    left: auto;
    width: auto;
}

.carousel-indicators li {
    background-color: white;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    margin: 1px 3px;
}

.carousel-indicators .active {
    background-color: #5aac3e;
    border-color: #5aac3e;
    width: 20px;
    height: 20px;
    margin: 1px 3px;
}

@media (max-width: 768px) {
    .carousel-indicators li {
        border-color: #ddd;
        width: 10px;
        height: 10px;
        border-radius: 10px;
        margin: 1px;
    }

    .carousel-indicators .active {
        width: 10px;
        height: 10px;
        margin: 1px;
        border-color: #ddd;
    }
}

/* Cover slide */

.carousel-caption.cover-slide > h2 {
    text-align: left;
}

/* User Profile */

.user-profile .carousel-caption > h1 {
    text-align: left;
    position: absolute;
    bottom: 15%;
}

.user-profile .carousel-caption > .thumb {
    width: 240px;
    height: 240px;
    position: absolute;
    overflow: hidden;
    bottom: -20px;
    background-color: #ddd;
    border: 4px solid #fff;
    border-radius: 4px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.user-profile .carousel-caption > .thumb > img {
    max-width: 360px;
    max-height: 360px;
}

.user-profile .carousel-caption > .thumb > .img-picker-invoke {
    z-index: 1000;
    position: absolute;
    top: 0;
    right: 0;
}

.user-profile .item > .img-picker-invoke {
    z-index: 1000;
    position: absolute;
    top: 10px;
    right: 25px;
}

.user-profile .carousel-inner > .item > img {
    max-width: none;
}

/* Static Masthead */
/* Masthead Title */
.masthead-title {
    min-height: 200px;
    background: #e9ecef none no-repeat center center;
    background-image: radial-gradient(circle at 91% 26%, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.03) 3%, transparent 3%, transparent 100%), radial-gradient(circle at 27% 63%, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.02) 3%, transparent 3%, transparent 100%), radial-gradient(circle at 59% 48%, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.01) 3%, transparent 3%, transparent 100%), radial-gradient(circle at 58% 65%, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.02) 3%, transparent 3%, transparent 100%), radial-gradient(circle at 55% 21%, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.02) 3%, transparent 3%, transparent 100%), radial-gradient(circle at 88% 4%, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.03) 7%, transparent 7%, transparent 100%), radial-gradient(circle at 9% 23%, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.02) 7%, transparent 7%, transparent 100%), radial-gradient(circle at 40% 78%, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.03) 7%, transparent 7%, transparent 100%), radial-gradient(circle at 78% 5%, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.01) 7%, transparent 7%, transparent 100%), radial-gradient(circle at 11% 87%, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.01) 7%, transparent 7%, transparent 100%), radial-gradient(circle at 11% 24%, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.02) 7%, transparent 7%, transparent 100%), radial-gradient(circle at 18% 75%, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.03) 7%, transparent 7%, transparent 100%), radial-gradient(circle at 71% 80%, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.03) 7%, transparent 7%, transparent 100%), radial-gradient(circle at 34% 79%, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.01) 5%, transparent 5%, transparent 100%), radial-gradient(circle at 9% 51%, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.03) 5%, transparent 5%, transparent 100%), radial-gradient(circle at 46% 69%, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.02) 5%, transparent 5%, transparent 100%), radial-gradient(circle at 54% 90%, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.02) 5%, transparent 5%, transparent 100%), radial-gradient(circle at 55% 58%, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.01) 5%, transparent 5%, transparent 100%), radial-gradient(circle at 95% 37%, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.02) 5%, transparent 5%, transparent 100%), radial-gradient(circle at 9% 4%, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.02) 5%, transparent 5%, transparent 100%), linear-gradient(135deg, #e76c90, #2b315f);
    background-size: cover;
}

.masthead-title .masthead-ph {
    display: table;
    min-height: 200px;
}

.masthead-ph h4 span {
    color: rgb(255 255 255 / .7);
    margin-bottom: .5rem;
}

.masthead-title .masthead-ph > hgroup {
    display: table-cell;
    vertical-align: middle;
    margin: 0px;
}

.masthead-title h1,
.masthead-title h2 {
    color: white;
    border: 0px;
    font-size: 48px;
    line-height: 1em;
    margin: 0px;
    padding: 0px;
    text-shadow: 0 3px 3px rgba(0, 0, 0, 1);
}

.masthead-title h2 {
    margin-top: 10px;
    font-size: 36px;
}

.masthead-title h3 {
    color: white;
    font-size: 28px;
    text-shadow: 0 3px 3px rgba(0, 0, 0, 1);
    line-height: 1em;
}

.masthead-title h1 + h3,
.masthead-title h2 + h3 {
    margin-top: 20px;
}

@media (max-width: 992px) {
    .masthead-title,
    .masthead-title .item,
    .masthead-title .masthead-ph {
        height: 160px;
    }

    .masthead-title h1,
    .masthead-title h2 {
        font-size: 38px;
        text-shadow: 0 2px 2px rgba(0, 0, 0, 1);
    }
}

@media (max-width: 768px) {
    .masthead-title,
    .masthead-title .item,
    .masthead-title .masthead-ph {
        height: 120px;
    }

    .masthead-title h1,
    .masthead-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {

    .masthead-title h1,
    .masthead-title h2 {
        font-size: 28px;
    }
}

/************************************/


@media (min-width: 1200px) {
    .user-profile {
        height: 400px;
    }
    .user-profile .item {
        height: 400px;
    }

    .carousel-caption blockquote {
        font-size: 48px;
        width: 70%;
    }

    .carousel-caption.cover-slide > h2 {
        line-height: 120px;
    }

    .carousel-caption .text-muted > small {
        font-size: 38px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .carousel-caption blockquote {
        font-size: 32px;
        width: 70%;
    }

    .carousel-caption.cover-slide > h2 {
        line-height: 150px;
    }

    .carousel-caption .text-muted > small {
        font-size: 25px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .carousel-caption > h2 {
        font-size: 40px;
        text-shadow: 0 2px 2px rgba(0, 0, 0, 1);
    }

    .user-profile .carousel-caption > h1 {
        font-size: 40px;
    }

    .carousel-caption blockquote {
        font-size: 28px;
        width: 70%;
    }

    .carousel-caption .text-muted > small {
        font-size: 20px;
    }

    .carousel-caption.cover-slide > h2 {
        line-height: 100px;
    }

    .carousel-caption > h2 > small {
        font-size: 100px;
    }
}

@media (max-width: 768px) {
    .carousel .item > img {
        min-height: 120px;
        margin: 0 auto;
    }

    .carousel-inner > .item .container {
        width: 100%;
    }

    .carousel-caption {
        height: 120px;
    }

    .carousel-caption blockquote {
        font-size: 18px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 1);
    }

    .carousel-caption .text-muted > small {
        font-size: 13px;
    }

    .carousel-caption > h2 {
        font-size: 32px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 1);
        line-height: 64px;
    }

    .carousel-caption > h2 > small {
        font-size: 64px;
    }

    .user-profile .carousel-caption > h1 {
        font-size: 32px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 1);
    }

    .user-profile .carousel-caption > .thumb {
        max-width: 100px;
        max-height: 100px;
    }

    .user-profile .carousel-caption > .thumb > img {
    }
}

@media (max-width: 520px) {
    .carousel-caption > h2 {
        font-size: 28px;
        line-height: 50px;
    }

    .carousel-caption > h2 > small {
        font-size: 50px;
    }
}

/* ================================================== */
/*                User Profile Masthead               */
/* ================================================== */

.masthead-user {
    height: 400px;
    position: relative;
    /*overflow: hidden;*/
}

.masthead-user .masthead-inner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.masthead-user .masthead-content > h1,
.masthead-user .masthead-content > h2 {
    margin: 0;
    color: white;
    text-shadow: 0 3px 3px rgba(0, 0, 0, 1);
    font-size: 46px;
    margin-left: 270px;
    margin-bottom: 20px;
}

.masthead-user .masthead-content > .thumb {
    width: 240px;
    height: 240px;
    overflow: hidden;
    position: absolute;
    bottom: -20px;
    border-radius: 4px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    /* Draggable */
    /*background-color: #ddd;
    border: 5px solid #fff;*/
}

.masthead-user .masthead-content > .thumb > img {
    /* Draggable */
    /*max-width: 360px;
    max-height: 360px;*/

    /* Non-draggable */
    max-width: 240px;
    max-height: 240px;
    position: absolute;
    bottom: 0;
    border: 5px solid #fff;
    border-radius: 4px;
}

/* Edit mode */
.masthead-user .masthead-content > .thumb > .img-picker-invoke {
    z-index: 10;
    position: absolute;
    /* Draggable */
    /*top: 0;
    right: 0;*/
    /* Non-draggable */
    bottom: 5px;
    right: 5px;
}

/* Non-draggable */
.masthead-user > .panel-draggable,
.masthead-user > .panel-overflow {
    overflow: hidden;
    position: relative;
    height: 400px;
}

.masthead-user .panel-draggable > .img-picker-invoke {
    z-index: 10;
    position: absolute;
    top: 10px;
    right: 25px;
}

.panel-draggable > img {
    cursor: move;
}

.masthead-user > .btn-submit {
    z-index: 10;
    position: absolute;
    bottom: 10px;
    right: 25px;
    border: solid 1px #fff;
}

@media (min-width: 768px) and (max-width: 991px) {
    .masthead-user .masthead-content > h1,
    .masthead-user .masthead-content > h2 {
        text-shadow: 0 2px 2px rgba(0, 0, 0, 1);
        font-size: 34px;
    }
}

@media (max-width: 767px) {
    .masthead-user .masthead-content > h1,
    .masthead-user .masthead-content > h2 {
        margin-left: 0;
        text-align: center;
        font-size: 28px;
        margin-top: -260px;
    }

    .masthead-user .masthead-content > .thumb {
        left: calc(50% - 120px);
    }

    .masthead-user > .btn-submit {
        bottom: auto;
        right: auto;
        top: 10px;
        left: 10px;
    }
}

/* ================================================== */