
/*
  Template Name: SuccessStories
  Author : Valuelabs
  Author URI: https://www.valuelabs.com/
  Version: 1.0
  Text Domain: success_stories
*/

html, body {
    width: 100%;
    height: 100%;
    background-color: #e9ebee;
}

#upload{
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 100%;
}
#edit{
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 100%;
}
.star-rating {
    line-height:32px;
    font-size:1.25em;
    cursor: pointer;
}

.star-rating .fa-star{color: red;  cursor: pointer;}

.socl-share .btn-facebook, .socl-share .btn-twitter, .socl-share .btn-pinterest,
.socl-share .btn-google, .socl-share .btn-linkedin, .socl-share .btn-tumblr{
    color:#FFFFFF !important;
}

.btn-default{
    background-color: #fff;
    border:1px solid #ccc;
    color:#777 !important;
}
.blog-post {
    margin-bottom: 30px;
}
.card-p-10{
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 12px 0;
}
.bg-white {
    background-color: #FFFFFF!important;
}
#index-slider{
}
#special-posts{
    margin:40px 0;
}
#special-posts .row{
    margin-right:15px;
    margin-left:15px;
}
#special-posts .card{
    border-radius:0 !important;
}
#special-posts .card:hover{
    border-radius:0 !important;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
}

#special-posts .card, #special-posts a{
    color:#212529 !important;
}
#special-posts .card:hover, #special-posts:hover a{
    text-decoration:none;
}
.icon-circle{
    background-color:#0074bd;
    width:75px;
    height:75px;
}
.icon-circle i{
    color:#ffffff !important;
    padding:20px;
}
.mt-10{
    margin-top:100px;
}
.box-shadow{
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
}

.add-btn{
    font-size:14px;
}
.add-btn:hover{
    background-color:#c1c5c7 !important;
    color:#ffffff !important;
}
.add-btn i{
    color:#212529 !important;
}
.post-btn{
    background-color:#0580ce !important;
    border:0 !important;
    font-size:14px;
}
.post-btn:hover{
    background-color:#0074bd !important;
}
/*---- Modal ----*/
.user-img{
    margin-top:-50px;
}
.user-img img{
    height: 100px;
    width: 100px;
}
.user-name{
    margin:10px 0px;
}
.user-name h1{
    font-size:30px;
    color:#676363;
}
.user-name button{
    position: absolute;	
    top:-50px;
    right:20px;
    font-size:30px;
}
.form-input button{
    width: 100%;
    margin-bottom: 20px;
}
.link-part{
    border-radius:0px 0px 5px 5px;
    background-color: #ECF0F1;
    padding:15px;
    border-top:1px solid #c2c2c2;
}
.open-modal{
    margin-top:100px !important;
}
.editPseudolink{
    position: absolute;
    top: 2%;
    right: 4%;
    border: 1px solid white !important;
    padding: 4px 6px;
    background-color:white;
    display:none;
}
.card a:hover .editPseudolink{
    display: block;
    position: absolute;
    top: 2%;
    right: 4%;
    border: 1px solid white !important;
    background-color:white;
    padding: 4px 6px;
}
#special-posts .card .socl-share a{
    color:white !important;
}
footer{
    background-color:white !important;
    bottom:0 !important;
}
#footer-bottom{
    display:block;
    bottom:0 !important;
    margin-bottom:0 !important;
}

/*-----------------*/
.main-content {

}

@media (max-width:767.98px) {
    .main-content {
        padding-top: 25px;
        padding-left: 20px;
        padding-right: 20px
    }
}

.user-display {
    margin-bottom: 30px;
    background-color: #FFF
}

.user-display-cover {
    max-height: 290px;
    overflow: hidden
}

.user-display-cover img {
    width: 100%
}

.user-display-bottom {
    position: relative;
    padding: 20px
}

.user-display-id {
    position: absolute;
    left: 89px;
    top: -118.67px;
    border-radius: 50%
}

@media (max-width:991.98px) {
    .user-display-id {
        left: 35.6px;
        top: -131.85px
    }
}

@media (max-width:767.98px) {
    .user-display-cover {
        max-height: 145px
    }
    .user-display-bottom {
        padding: 0
    }
    .user-display-id {
        left: 59.33px;
        top: -117px
    }
}

@media (max-width:575.98px) {
    .user-display-id {
        text-align: center;
        margin-right: 0;
        left: 50%;
        margin-left: -44.5px;
        top: -127px
    }
}

.user-display-avatar {
    width: 178px;
    height: 178px;
    border-radius: 50%;
    margin-bottom: .769231rem
}

.user-display-name {
    font-size: 2.30769rem;
    line-height: 1;
    color: #404040
}

@media (max-width:767.98px) {
    .user-display-avatar {
        width: 89px;
        height: 89px;
        margin-right: 10px;
        margin-bottom: 0
    }
    .user-display-name {
        display: inline-block;
        color: #FFF;
        text-shadow: 0 0 3px rgba(0, 0, 0, .8)
    }
}

@media (max-width:575.98px) {
    .user-display-avatar {
        margin-bottom: .769231rem
    }
    .user-display-name {
        display: block;
        font-size: 1.23077rem;
        font-weight: 700
    }
}

.user-display-stats {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end
}

.user-display-stat {
    border-right: 1px solid #d9d9d9;
    min-width: 216px !important;
    text-align: center;
    padding: 20px 36px;
}

@media (max-width:991.98px) {
    .user-display-stat {
        min-width: 0;
        width: 17%;
        padding: 15px 0
    }
}

@media (max-width:767.98px) {
    .user-display-stat {
        width: 25%
    }
}

@media (max-width:575.98px) {
    .user-display-stats {
        display: block
    }
    .user-display-stat {
        border-right: 0;
        width: 100%;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
        padding: 10px 20px
    }
    .user-display-stat-counter {
        margin-top: .2rem
    }
}

.user-display-stat:last-child {
    border-right-width: 0
}

.user-display-stat-counter {
    display: block;
    text-align: left;
    font-size: 26px;
    color: #2cc185;
    line-height: 1;
}

@media (max-width:991.98px) {
    .user-display-stat-counter {
        font-size: 2.077rem
    }
}

@media (max-width:767.98px) {
    .user-display-stat-counter {
        font-size: 1.38462rem;
        -webkit-box-ordinal-group: 2;
        -webkit-order: 1;
        -ms-flex-order: 1;
        order: 1
    }
}

.user-display-stat-title {
    display: block;
    text-align: left;
    font-size: 20px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: .5rem;
}

.user-stats-id,
.user-stats-info {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox
}

@media (max-width:991.98px) {
    .user-display-stat-title {
        font-size: 1.154rem
    }
}

@media (max-width:767.98px) {
    .user-display-stat-title {
        font-size: 1.077rem
    }
}

@media (max-width:575.98px) {
    .user-display-stat-title {
        font-size: .923077rem;
        margin-top: .6rem
    }
}


#upload img:hover{
    cursor:pointer;
}
#edit img:hover{
    cursor:pointer;
}
#user-profile img:hover{
    cursor:pointer;
}
#full-view .card a{
    color:#212529 !important;
}
#full-view .card a:hover{
    color:#212529 !important;
    text-decoration:none;
}
#full-view .card .box{
    display: flex;
    flex-wrap: wrap;
}
.box>* {
    flex: 0 0 33.3333%;
}
#full-view .row{
    margin-right: 15px;
    margin-left: 15px;
}
#full-view .card .socl-share a{
    color:white !important;
}
#full-view .card:hover{
    border-radius:0 !important;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
}

/*------------------------------------------------------------------------------------------------------*/
/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
    visibility: visible; /* Show the snackbar */

    /* Add animation: Take 0.5 seconds to fade in and out the snackbar. 
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;} 
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}
