#logout {
    height: 40px;
    padding: 5px 5px 5px 65px;
    border: 0;
    background: url("/images/svg/logout.svg") no-repeat 10px center;
    cursor: pointer;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: 20px;
    color: #222;
    transition: color 300ms ease;
}

#logout:hover {
    color: #5d9beb;
}

#l_out {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 40px;
}

/* ====== MOBILE ====== */

@media (max-width:950px) { 
    
    .card {
        position: relative;
        display: block;
        background-color: #222;
        border: 3px solid #FFF;
        height: 300px;
        margin-top: 10px;
    }
    
    .img_profilo {
        position: relative;
        width: 100%;
        height: 100px;
        text-align: center;
    }
    
    .img_profilo img {
        height: 60px;
        width: 60px;
        margin-top: 20px;
        border: 3px solid #FFF;
        border-radius: 50%;
        background-color: #222;
    }
    
    .nome_utente {
        position: relative;
        width: 100%;
        height: 70px;
        line-height: 70px;
        text-align: center;
        color: #FFF;
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 26px;
    }
    
    .waves {
        position: relative;
        width: 100%;
        height: 50px;
        line-height: 50px;
        background-image: url('/images/svg/wave.svg');
    }
    
    .plus_mobile {
        position: relative;
        margin: 15px auto 0 auto;
        width: 40px;
        height: 40px;
        line-height: 40px;
        border: 2px solid #4197E2;
        color: #FFF;
        text-align: center;
        background-color: #333;
        font-weight: bold;
        font-size: 40px;
        border-radius: 6px;
        cursor: pointer;
    }
    
    #bar_user {
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        height: 50px;
        line-height: 50px;
        padding: 0 3px 0 3px;
        display: none;
        visibility: hidden;
        z-index: 50;
    }

    #navbar_user {
        display: block;
        position: relative;
        list-style-type: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
        background-color: #333;
    }
    
    #navbar_user li {
        width: 100%;
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 16px;
    }
    
    #navbar_user li a {
        display: block;
        color: white;
        text-align: center;
        height: 50px;
        line-height: 50px;
        text-decoration: none;
    }
    
    #navbar_user li a:hover:not(.active) {
        background-color: #222;
    }
    
    #navbar_user li a.active {
        background-color: #4197e2;
        color: #FFF;
    }
    
    .content_right{
        position: relative;
        display: block;
        margin: 50px auto 0 auto;
        width: 95%;
        background-color: #FFF;
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    }
    
    .post_info {
        position: relative;
        display: block;
        width: 98%;
        text-align: center;
        margin: 10px auto 20px auto;
        border-bottom: 1px solid #D8D8D8;
    }
    
    .post_img {
        display: none;
        visibility: hidden;
    }
    
    .post_img img {
        width: 40px;
        height: 40px;
    }
    
    .post_title {
        position: relative;
        width: 100%;
        margin: 15px 0 5px 0;
        text-align: center;
        font-size: 18px;
        word-wrap: break-word;
        padding-top: 10px;
    }
    
    .post_date {
        position: relative;
        width: 100%;
        text-align: center;
        height: 30px;
        line-height: 30px;
        font-style: italic;
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .post_comments, .post_likes {
        position: relative;
        width: 100%;
        text-align: center;
        font-size: 16px;
        margin: 10px 0 10px 0;
    }
    
    .preview {
        position: relative;
        width: 95%;
        margin: auto;
        font-size: 15px;
    }
    
    .post_bottom {
        position: relative;
        width: 100%;
        text-align: center;
        margin: 20px auto 10px auto;
        padding-bottom: 10px;
        border-top: 1px solid #D8D8D8;
    }
    
    .count {
        position: relative;
        height: 50px;
        line-height: 50px;
        width: 100%;
        text-align: center;
        margin-bottom: 45px;
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 20px;
    }
    
    .readmore {
        position: relative;
        width: 80%;
        text-align: center;
        margin: 10px auto 10px auto;
    }
    
    .greenbutton {
        position: relative;
        height: 30px;
        width: 95%;
        color: #FFF;
        line-height: 30px;
        border: 0px;
        border-radius: 6px;
        font-size: 15px;
        text-align: center;
        font-weight: bold;
        background-color: #22d825;
        cursor: pointer;
        transition: background-color 200ms linear;
    } 
    
    .greenbutton:hover {
        background-color: #009b02;
    }
    
    .follow_me {
        position: absolute;
        top: 30px;
        right: 30px;
        height: 40px;
        width: 40px;
        display: block;
        z-index: 190;
        padding: 2px;
    }
    
    .follow_me:hover {
        cursor: pointer;
    }
    
    .content_followers {
        position: relative;
        width: 100%;
        margin: 30px 0 30px 0;
    }
    
    .activities {
        position: relative;
        display: block;
        width: 100%;
        height: 200px;
    }
    
    .activities .icona {
        position: relative;
        width: 40%;
        height: 50px;
        line-height: 50px;
        float: left;
        text-align: center;
    }
    
    .icona img {
        width: 40px;
        height: 40px;
        margin-top: 5px;
    }
    
    .activities .desc {
        position: relative;
        width: 100%;
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 17px;
    }
    
    .activities .desc a:link {
        color: #4197E2;
        font-size: 17px;
    }
    
    .activities .desc a:visited {
        color: #C363FF;
        font-size: 17px;
    }
    
    .data_azione {
        position: relative;
        width: 60%;
        float: right;
        height: 50px;
        line-height: 50px;
        font-style: italic;
    }
    
    .new_post {
        position: relative;
        display: block;
        width: 90%;
        height: 50px;
        margin: 50px auto 0 auto;
        background-color: #FFF;
        border-radius: 8px;
        transition: background-color 200ms linear;
    }
    
    .new_post div.image {
        display: none;
        visibility: hidden;
    }
    
    .new_post div.text {
        position: relative;
        width: 100%;
        height: 50px;
        line-height: 50px;
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 17px;
        text-align: center;
    }
    
    div.text input {
        background-color: #FFF;
        border-radius: 5px;
        border: 0;
        padding: 5px 9px 5px 9px;
        cursor: pointer;
    }
    
    .fix_image {
        position: relative;
        width: 100%;
        text-align: center;
        margin: 10px auto 50px auto;
    }
    
    .fix_image img {
        width: 94px;
        height: 94px;
        border-radius: 50%;
        border: 2px solid #777;
    }
    
    .fix_image form {
        position: relative;
        margin: 30px auto 10px auto;
        text-align: center;
    }
    
    #aggiorna {
        display: block;
        margin: 30px auto 30px auto;
        width: 90%;
        height: 30px;
        line-height: 30px;
        color: #FFF;
        border: 0;
        background-color: #09C;
        border-radius: 5px;
        font-size: 15px;
        text-align: center;
        cursor: pointer;
        transition: background-color 200ms linear;
    }
        
    #aggiorna:hover {
        background-color: #1f67ba;
    }
    
    #cancella {
        display: block;
        margin: 0px auto 80px auto;
        width: 90%;
        height: 30px;
        line-height: 30px;
        color: #FFF;
        border: 0;
        background-color: #CE280E;
        border-radius: 5px;
        font-size: 15px;
        text-align: center;
        cursor: pointer;
        transition: background-color 200ms linear;
    }
        
    #cancella:hover {
        background-color: #961400;
    }

}

/* ====== DESKTOP ====== */

@media screen and (min-width:950px) { 

    .card {
        position: relative;
        display: block;
        background-color: #222;
        border: 3px solid #FFF;
        height: 200px;
        margin-top: 15px;
    }
    
    .img_profilo {
        position: relative;
        width: 20%;
        height: 150px;
        text-align: center;
        float: left;
        z-index: 40;
    }
    
    .img_profilo img {
        height: 100px;
        width: 100px;
        margin-top: 25px;
        border: 3px solid #FFF;
        border-radius: 50%;
        background-color: #222;
    }
    
    .nome_utente {
        position: relative;
        width: 80%;
        height: 150px;
        line-height: 150px;
        text-align: left;
        float: right;
        color: #FFF;
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 30px;
        z-index: 40;
    }
    
    .waves {
        position: relative;
        width: 100%;
        height: 50px;
        line-height: 50px;
        z-index: 30;
        background-image: url('/images/svg/wave.svg');
        margin-top: 140px;
    }
    
    .follow_me {
        position: absolute;
        top: 50px;
        right: 30px;
        height: 40px;
        width: 40px;
        display: block;
        z-index: 2000;
        padding: 2px;
    }
    
    .follow_me:hover {
        cursor: pointer;
    }
    
    #bar_user {
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        height: 50px;
        line-height: 50px;
        padding: 0 3px 0 3px;
    }

    #navbar_user {
        list-style-type: none;
        margin: 0;
        padding: 0;
        z-index: 50;
        overflow: hidden;
        background-color: #333;
    }
    
    #navbar_user li {
        float: left;
        width: 33.3%;
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 16px;
    }
    
    #navbar_user li a {
        display: block;
        color: white;
        text-align: center;
        height: 50px;
        line-height: 50px;
        text-decoration: none;
    }
    
    #navbar_user li a:hover:not(.active) {
        background-color: #222;
    }
    
    #navbar_user li a.active {
        background-color: #4197e2;
        color: #FFF;
    }
    
    .content_right{
        position: relative;
        display: block;
        margin: 50px auto 0 auto;
        width: 90%;
        background-color: #FFF;
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    }
    
    .post_info {
        position: relative;
        width: 98%;
        text-align: center;
        height: 50px;
        margin: 10px auto 20px auto;
        border-bottom: 1px solid #D8D8D8;
    }
    
    .post_img {
        position: relative;
        width: 10%;
        float: left;
        height: 50px;
    }
    
    .post_img img {
        width: 40px;
        height: 40px;
    }
    
    .post_title {
        position: relative;
        width: 70%;
        float: left;
        text-align: left;
        margin-top: 12px;
        font-size: 18px;
    }
    
    .post_date {
        position: relative;
        width: 20%;
        float: right;
        text-align: center;
        height: 50px;
        line-height: 50px;
        font-size: 16px;
    }
    
    .post_comments, .post_likes {
        position: relative;
        width: 50%;
        float: left;
        text-align: center;
        height: 50px;
        line-height: 50px;
        font-size: 16px;
    }
    
    .preview {
        position: relative;
        width: 98%;
        margin: auto;
        font-size: 15px;
    }
    
    .post_bottom {
        position: relative;
        width: 98%;
        text-align: center;
        height: 50px;
        margin: 20px auto 10px auto;
        border-top: 1px solid #D8D8D8;
    }
    
    .count {
        position: relative;
        height: 50px;
        line-height: 50px;
        width: 100%;
        text-align: center;
        margin-bottom: 45px;
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 14px;
    }
    
    .readmore {
        position: relative;
        width: 80%;
        text-align: center;
        margin: 10px auto 10px auto;
    }
    
    .greenbutton {
        position: relative;
        height: 30px;
        width: 30%;
        color: #FFF;
        line-height: 30px;
        border: 0px;
        border-radius: 6px;
        font-size: 15px;
        text-align: center;
        font-weight: bold;
        background-color: #22d825;
        cursor: pointer;
        transition: background-color 200ms linear;
    } 
    
    .greenbutton:hover {
        background-color: #009b02;
    }
    
    .content_followers {
        position: relative;
        width: 100%;
        margin: 30px 0 70px 0;
    }
    
    .activities {
        position: relative;
        display: block;
        width: 100%;
        height: 50px;
        margin-bottom: 20px;
    }
    
    .activities .icona {
        position: relative;
        width: 20%;
        height: 50px;
        line-height: 50px;
        float: left;
        text-align: center;
    }
    
    .icona img {
        width: 40px;
        height: 40px;
        margin-top: 5px;
    }
    
    .activities .desc {
        position: relative;
        width: 60%;
        height: 50px;
        line-height: 50px;
        float: left;
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 17px;
    }
    
    .activities .desc a:link {
        color: #4197E2;
        font-size: 17px;
    }
    
    .activities .desc a:visited {
        color: #C363FF;
        font-size: 17px;
    }
    
    .data_azione {
        position: relative;
        width: 20%;
        float: right;
        height: 50px;
        line-height: 50px;
    }
    
    .plus_mobile {
        display: none;
        visibility: hidden;
    }
    
    .new_post {
        position: relative;
        display: block;
        width: 400px;
        height: 50px;
        margin: 50px auto 0 auto;
        background-color: #FFF;
        border-radius: 8px;
        transition: background-color 200ms linear;
    }
    
    .new_post div.image {
        position: relative;
        float: left;
        width: 100px;
        height: 50px;
        line-height: 50px;
        text-align: center;
    }
    
    .new_post div.image img {
        width: 30px;
        height: 30px;
        margin-top: 10px;
    }
    
    .new_post div.text {
        position: relative;
        float: left;
        width: 300px;
        height: 50px;
        line-height: 50px;
        font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        font-size: 17px;
        text-align: center;
    }
    
    div.text input {
        background-color: #FFF;
        border-radius: 5px;
        border: 0;
        padding: 5px 9px 5px 9px;
        cursor: pointer;
    }
    
    .fix_image {
        position: relative;
        width: 100%;
        text-align: center;
        margin: 10px auto 50px auto;
    }
    
    .fix_image img {
        width: 94px;
        height: 94px;
        border-radius: 50%;
        border: 2px solid #777;
    }
    
    .fix_image form.first {
        position: relative;
        margin: 30px auto 0 auto;
        text-align: center;
    }
    
    #aggiorna {
        display: block;
        margin: 30px auto 30px auto;
        width: 150px;
        height: 30px;
        line-height: 30px;
        color: #FFF;
        border: 0;
        background-color: #09C;
        border-radius: 5px;
        font-size: 15px;
        text-align: center;
        cursor: pointer;
        transition: background-color 200ms linear;
    }
        
    #aggiorna:hover {
        background-color: #1f67ba;
    }
    
    #cancella {
        display: block;
        margin: 0 auto 80px auto;
        width: 150px;
        height: 30px;
        line-height: 30px;
        color: #FFF;
        border: 0;
        background-color: #CE280E;
        border-radius: 5px;
        font-size: 15px;
        text-align: center;
        cursor: pointer;
        transition: background-color 200ms linear;
    }
        
    #cancella:hover {
        background-color: #961400;
    }
    
}

@media print {
    
    #openclose, img, input[type="button"], .icona, .fix_image, #upload_action {
        display: none;
        visibility: hidden;
    }
    
}