/*
 * This file is part of Moodle - http://moodle.org/
 *
 * Moodle is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Moodle is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
 *
 *
 * Oficial User styles style sheet
 *
 * @package    theme_oficial
 * @copyright  2019 G J Barnard - {@link http://moodle.org/user/profile.php?id=442195}
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 *
 */

.path-user .userprofile > .page-context-header,
.path-user .userprofile > .description {
    display: none;
}

#page-user-profile .node_category li,
.path-user .node_category li {
    margin-bottom: 5px;
}

#oficial_profile_tree .ucol1 .node_category.contact {
    margin-top: 3.5em; /* Magic number to line up with tabs. */
}

#oficial_profile_tree .ucol1 .node_category.contact .firstname,
#oficial_profile_tree .ucol1 .node_category.contact .fullname {
    padding-top: 30px;
}

#oficial_profile_tree .ucol1 .oficialuserpicture {
    position: relative;
}

#oficial_profile_tree .ucol1 .oficialuserpicture a {
    left: 0;
    position: absolute;
    right: 0;
    top: -80px;
}

#oficial_profile_tree .ucol1 .oficialuserpicture a img.userpicture {
    margin-right: 0;
}


.path-user #oficial_profile_tree .node_category .editprofile {
    text-align: left;
}

#oficial_profile_tree .ucol1 .oficialuserpicture a,
.path-user #oficial_profile_tree .ucol1 .node_category .editprofile,
#oficial_profile_tree .ucol1 .contentnode {
    text-align: center;
}

#oficial_profile_tree .ucol1 .firstname,
#oficial_profile_tree .ucol1 .fullname,
#oficial_profile_tree .ucol1 .lastname {
    font-weight: bold;
}

#oficial_profile_tree .ucol1 .firstname,
#oficial_profile_tree .ucol1 .fullname {
    font-size: 150%;
}

#oficial_profile_tree .ucol1 .lastname {
    font-size: 140%;
}

.oficialmyeditprofile .col-md-3,
.oficialmyeditprofile .col-md-9 {
    flex: 0 0 100%;
    max-width: 100%;
}

.oficialmyeditprofile .col-md-3 span.float-sm-right {
    float: none !important;
}

.oficialmyeditprofile .col-md-3 label.col-form-label.d-inline {
    float: left !important;
}

.oficialmyeditprofile .col-md-3 .text-info,
.oficialmyeditprofile .col-md-3 label.col-form-label.d-inline {
    margin: 0;
}

.oficialmyeditprofile .col-md-3 .btn {
    height: 26px;
}

.oficialmyeditprofile .fp-restrictions {
    text-align: left;
}
