@font-face {
    font-family: Roboto;
    src: url(../fonts/Roboto/Roboto-Regular.ttf);
}

@font-face {
    font-family: OpenSans;
    src: url(../fonts/OpenSans/OpenSans.ttf);
}

div.card-position-wrapper {
    position: relative;
    max-width: 750px;
    max-height: 450px;
    height: 100%;
    width: 100%;
    user-select: none;
    overflow: hidden;
}

.card-position-wrapper .card-connection-error {
    width: 100%;
    height: 100%;
}

.card-position-wrapper .card-connection-error .message {
    height: 100px;
    font-family: OpenSans;
    font-size: 20px;
    color: #fff;
}

.card-position-wrapper .card-connection-error .progress {
    height: 100px;
    width: 100px;
}

.card-position-wrapper .card-position {
    position: relative;
    width: 100%;
    height: 100%;
    user-select: none;
    overflow: hidden;
}

.card-position img {
    outline: none;
    user-drag : none;
    -webkit-user-drag: none;
}

.card-position .card-view {
    height: 100%;
    width: 100%;
    position: relative;
    user-select: none;
    overflow: hidden;
}

.card-view.ng-animate {
    -webkit-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.8s;
    -moz-transition: all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.8s;
    transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.8s;

    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
}

.card-view.ng-enter,
.card-view.ng-leave.ng-leave-active {
    opacity: 0;
    transform: scale(0.2,0.2);
    -webkit-transform: scale(0.2,0.2);
    -moz-transform: scale(0.2,0.2);
}

.card-view.ng-leave,
.card-view.ng-enter.ng-enter-active {
    opacity: 1;
    -webkit-transform: scale(1,1);
    -moz-transform: scale(1,1);
    transform: scale(1,1);
}

.card-position .card-view .card-wrapper {
    position: relative;
    outline: none;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    height: 100%;
    width: 100%;
}

.card-position .card-view .card-wrapper .card-element {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: rgba(0,0,0,0.45);
    border-radius: 13px;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;

    /*box-shadow: inset 4px 0 3px 0 rgba(0, 0, 0, 0.6);*/

    color: #ffffff;
    transform-style: preserve-3d;
}

.card-position .card-view .card-wrapper .card-element.ng-animate {
    -webkit-transition: 0.8s cubic-bezier(0.3, 1.02, 0.71, 0.99) all;
    -moz-transition: 0.8s cubic-bezier(0.3, 1.02, 0.71, 0.99) all;
    transition: 0.8s cubic-bezier(0.3, 1.02, 0.71, 0.99) all;

    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
}

.card-element.ng-leave.ng-leave-active,
.card-element.ng-enter {
    opacity: 0;
    transform: scale(0.5,0.5);
    -webkit-transform: scale(0.5,0.5);
    -moz-transform: scale(0.5,0.5);
}
.card-element.ng-leave,
.card-element.ng-enter.ng-enter-active {
    opacity: 1;
    -webkit-transform: scale(1,1);
    -moz-transform: scale(1,1);
    transform: scale(1,1);
}

/*------------------------ Elements from Card --------------------------*/

.card-position .input-container {
    position: relative;
    width: 90%;
    margin: 45px 5% 25px 5%;
    -webkit-transition: 1s cubic-bezier(0.3, 1.02, 0.71, 0.99) all;
    -moz-transition: 1s cubic-bezier(0.3, 1.02, 0.71, 0.99) all;
    transition: 1s cubic-bezier(0.3, 1.02, 0.71, 0.99) all;
    transform-style: preserve-3d;
}

.card-position .input-container.up {
    transform: translateY(-45px);
}

.card-position .result-label-container {
    position: relative;
    width: 90%;
    margin: 15px 5% 25px 5%;
}

.card-position .input-container input[type=text] {
    width: 100%;
    height: 35px;
    border-bottom: solid #299C90 2px;
    border-top: none;
    border-left: none;
    border-right: none;
    background-color: rgba(0, 0, 0, 0);
    outline: none;
    color: gray;
    font-size: 18px;
    font-family: "OpenSans";
}

.card-position .card-title {
    width: calc(100% - 30px);
    height: 35px;
    font-size: 16px;
    font-family: "OpenSans";
    color: #299C90;
    line-height: 35px;
    padding-left: 30px;
    margin-top: 15px;
}

.card-position .top-toolbar-options {
    height: 35px;
    margin-top: 20px;
}

.card-position .top-toolbar-options .fab-icon-mini {
    border:none;
    color: #ffffff;
    text-align: center;
    background-color: #299C90;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    -webkit-box-shadow: 2px 3px 3px 0px rgba(10, 10, 10, .3);
    -moz-box-shadow: 2px 3px 3px 0px rgba(10, 10, 10, .3);
    box-shadow: 2px 3px 3px 0px rgba(10, 10, 10, .3);
    cursor: pointer;
    outline: none;
    font-family: "OpenSans";
    padding: 0;
}

.card-position .top-toolbar-options .back-arrow {
    color: #299C90;
    margin-left: 25px;
    width: 35px;
    cursor: default;
    opacity: 1;
    transform-style: preserve-3d;
    -webkit-transform: scale(1,1);
    -moz-transform: scale(1,1);
    transform: scale(1,1);
    -webkit-transition: 1s cubic-bezier(0.07, 0.85, 0.47, 0.95) all;
    -webkit-transition: 1s cubic-bezier(0.07, 0.85, 0.47, 0.95) all;
    transition: 1s cubic-bezier(0.07, 0.85, 0.47, 0.95) all;
    outline: none;
}

.card-position .top-toolbar-options .back-arrow .material-icons {
    font-size: 30px;
    outline: none;
}

.card-position .top-toolbar-options .back-arrow.hide {
    opacity: 0;
    transform: scale(0.0,0.0);
    -webkit-transform: scale(0.0,0.0);
    -moz-transform: scale(0.0,0.0);
}

.card-position .filters-container {
    width: 100%;
    height: 210px;
    opacity: 1;
    -webkit-transform: scale(1,1);
    -moz-transform: scale(1,1);
    transform: scale(1,1);
    -webkit-transition: 1s cubic-bezier(0.07, 0.85, 0.47, 0.95) all;
    -moz-transition: 1s cubic-bezier(0.07, 0.85, 0.47, 0.95) all;
    transition: 1s cubic-bezier(0.07, 0.85, 0.47, 0.95) all;
    transform-style: preserve-3d;
}

.card-position .filters-container.hidden {
    transform: scale(0.5,0.5);
    -webkit-transform: scale(0.5,0.5);
    -moz-transform: scale(0.5,0.5);
    opacity: 0;
}

.card-position .filters-container .content-subtitle {
    width: 90%;
    margin: 35px 5% 0px 5%;
    font-size: 12px;
    font-family: "OpenSans";
    color: #299C90;
}

.card-position .filters-container .badge-container {
    width: 90%;
    height: 100px;
    margin: 15px 5% 25px 5%;
}

.card-position .filters-container .badge-container .badge {
    font-size: 12px;
    height: 30px;
    background-color: #299C90;
    color: #ffffff;
    margin-right: 15px;
    margin-top: 15px;
    padding-right: 9px;
    padding-left: 9px;
    line-height: 30px;
    float: left;
    cursor: pointer;
    -webkit-box-shadow: 8px 8px 3px 0px rgba(10, 10, 10, 0.8);
    -moz-box-shadow:    8px 8px 3px 0px rgba(10, 10, 10, 0.8);
    box-shadow:         8px 8px 3px 0px rgba(10, 10, 10, 0.8);
    font-family: "OpenSans";
    outline: none;
    min-width: 75px;
    text-align: center;
}

/*------------------------ Profile --------------------------*/

.card-position .profile-element {
    height: 100%;
    width: 100%;
}

.card-position .profile-element .info {
    height: 100%;
}

.card-position .profile-element .toolbar-content {
    border-bottom: solid 1px #299C90;
    margin-left: 5%;
    margin-right: 5%;
}

.card-position .profile-element .photo {
    height: 75px;
    width: 75px;
    position: relative;
    overflow: hidden;
    background: no-repeat center center;
    background-size: 100% 100%;
    border-radius: 50%;
    margin-right: 15px;
}

.card-position .profile-element .photo img {
    width: auto;
    height: 100%;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    position: absolute;
}

.card-position .profile-element .photo .expand-button {
    position: absolute;
    bottom: 25px;
    right: 25px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border:none;
    color: #ffffff;
    text-align: center;
    background-color: #299C90;
    -webkit-box-shadow: 2px 3px 3px 0px rgba(10, 10, 10, .7);
    -moz-box-shadow: 2px 3px 3px 0px rgba(10, 10, 10, .7);
    box-shadow: 2px 3px 3px 0px rgba(10, 10, 10, .7);
    cursor: pointer;
    outline: none;
    font-family: "OpenSans";
}

.card-position .profile-element .photo .expand-button .material-icons {
    font-size: 30px;
}

.card-position .profile-element .info .title-name {
    height: 75px;
    color: #ffffff;
    margin-top: 10px;
}

.card-position .info .title-name .nickname {
    font-size: 30px;
    height: 40px;
}

.card-position .info .title-name .date {
    font-size: 11px;
    height: 40px;
    margin-left: 10px;
    line-height: 45px;
}

.card-position .info .title-name .name {
    font-size: 20px;
    clear: both;
    height: 35px;
}

.card-position .profile-element .info .content {
    overflow-y: auto;
    height: 290px;
    max-height: 290px;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 10px;
}

.card-position .profile-element .info .content::-webkit-scrollbar {
     width: 3px;
     -webkit-user-select: none;
     user-select: none;
 }

.card-position .profile-element .info .content::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #ffffff;
    -webkit-user-select: none;
    user-select: none;
    width: 1px;
    opacity: 0.4;
}

.card-position .profile-element .info .content::-webkit-scrollbar-thumb {
    background-color: #299C90;
    border-radius: 10px;
    -webkit-user-select: none;
    user-select: none;
}

.card-position .profile-element .info .content .subtitle {
    color: #299C90;
    font-size: 14px;
    font-family: "OpenSans";
    width: 100%;
}

.card-position .profile-element .info .content .text {
    color: #ffffff;
    font-size: 14px;
    font-family: "OpenSans";
    margin-bottom: 10px;
    width: 100%;
}


.card-position .profile-element .info .content .text-image {
    color: #ffffff;
    font-size: 14px;
    font-family: "OpenSans";
    margin-bottom: 5px;
    margin-top: 5px;
    width: 100%;
    height: 45px;
}

.card-position .profile-element .info .content .text-image img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    float: left;
}

.card-position .profile-element .info .content .text-image div {
    line-height: 45px;
    height: 45px;
    float: left;
    margin-left: 15px;
}

/*---------------------------------------------Bottom Buttons------------------------------------ */
.card-position div.bottom-buttons {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    -webkit-transform: scale(1,1);
    -moz-transform: scale(1,1);
    transform: scale(1,1);
    -webkit-transition: 1s cubic-bezier(0.07, 0.85, 0.47, 0.95) all;
    -moz-transition: 1s cubic-bezier(0.07, 0.85, 0.47, 0.95) all;
    transition: 1s cubic-bezier(0.07, 0.85, 0.47, 0.95) all;
    transform-style: preserve-3d;
    opacity: 1;
}

.card-position .bottom-buttons.hide{
    transform: scale(0.5,0.5);
    -webkit-transform: scale(0.5,0.5);
    -moz-transform: scale(0.5,0.5);
    opacity: 0;
}

.card-position .bottom-buttons button[type=button] {
    position: relative;
    background-color: rgba(0, 0, 0, 0);
    color: #299C90;
    font-family: "OpenSans";
    font-size: 14px;
    border: none;
    outline: none;
    cursor: pointer;
    margin-right: 20px;
    line-height: 60px;
    float: right;
}

/*-----------------------------------Coverflow-----------------------------------*/
div.coverflow-name-label {
    width: 100%;
    margin-top: 25px;
    text-align: center;
    color: #fff;
    font-family: "OpenSans";
    font-size: 15px;
    height: 25px;
    line-height: 25px;
}

