﻿* {
    box-sizing: border-box;
}

html, body {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    user-select: none;
}

.profile {
    max-width: 650px;
    padding: 1em;
    margin: 1em;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    position: relative;
}

    .profile figure {
        margin: 0;
    }

        .profile figure img {
            max-width: 120px;
            max-height: 120px;
            border-radius: 50%;
            padding: 2px;
            box-shadow: 0px 0px 20px rgba(21, 21, 21, 0.15);
        }

.profile-large {
    max-width: 850px;
    padding: 2em;
    margin: 1em;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    position: relative;
}

    .profile-large figure {
        margin: 0;
    }

        .profile-large figure img {
            max-width: 175px;
            max-height: 175px;
            border-radius: 50%;
            padding: 3px;
            box-shadow: 0px 0px 20px rgba(21, 21, 21, 0.15);
        }


avatar {
    max-width: 68px;
    padding: 2em;
    margin: 1em;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    position: relative;
}

.avatar figure {
    margin: 0;
}

    .avatar figure img {
        max-width: 58px;
        max-height: 58px;
        border-radius: 50%;
        padding: 5px;
    }

    .profile header h1 {
        margin: 0;
        padding: 0;
        line-height: 1;
    }

        .profile header h1 small {
            display: block;
            clear: both;
            font-size: 18px;
            opacity: 0.6;
        }

    .profile main {
        display: none;
    }

        .profile main dl {
            display: block;
            width: 100%;
        }

            .profile main dl dt,
            .profile main dl dd {
                float: left;
                padding: 8px 5px;
                margin: 0;
                border-bottom: 1px solid #e1e1e1;
            }

                .profile main dl dt a,
                .profile main dl dd a {
                    padding-right: 5px;
                }

            .profile main dl dt {
                width: 30%;
                padding-right: 10px;
                font-weight: bold;
            }

                .profile main dl dt:after {
                    content: ":";
                }

            .profile main dl dd {
                width: 70%;
            }

.profile .toggle {
    position: absolute;
    background: #64B5F6;
    top: 32px;
    left: 36px;
    width: 28px;
    height: 28px;
    line-height: 45px;
    font-size: 32px;
    text-align: center;
    z-index: 20;
    vertical-align: middle;
    box-shadow: 0px 0px 10px rgba(21, 21, 21, 0.15);
    cursor: pointer;
    border-radius: 18px;
    user-select: none;
    transition: box-shadow 300ms ease;
}

        .profile .toggle:hover {
            box-shadow: 0px 0px 10px rgba(21, 21, 21, 0.25);
        }

        .profile .toggle main {
            font-size: 16px;
        }

.profile-large header h1 {
    margin: 0;
    padding: 0;
    line-height: 1;
}

    .profile-large header h1 small {
        display: block;
        clear: both;
        font-size: 26px;
        opacity: 0.6;
    }

.profile-large main {
    display: none;
}

    .profile-large main dl {
        display: block;
        width: 100%;
    }

        .profile-large main dl dt,
        .profile-large main dl dd {
            float: left;
            padding: 8px 5px;
            margin: 0;
            border-bottom: 1px solid #e1e1e1;
        }

            .profile-large main dl dt a,
            .profile-large main dl dd a {
                padding-right: 5px;
            }

        .profile-large main dl dt {
            width: 40%;
            padding-right: 10px;
            font-weight: bold;
        }

            .profile-large main dl dt:after {
                content: ":";
            }

        .profile-large main dl dd {
            width: 80%;
        }

.profile-large .toggle {
    position: absolute;
    background: #64B5F6;
    top: 35px;
    left: 40px;
    width: 36px;
    height: 36px;
    line-height: 35px;
    font-size: 26px;
    text-align: center;
    z-index: 20;
    vertical-align: middle;
    box-shadow: 0px 0px 10px rgba(21, 21, 21, 0.15);
    cursor: pointer;
    border-radius: 18px;
    user-select: none;
    transition: box-shadow 300ms ease;
}

    .profile-large .toggle:hover {
        box-shadow: 0px 0px 10px rgba(21, 21, 21, 0.25);
    }

    .profile-large .toggle main {
        font-size: 16px;
    }

.view_details {
    position: absolute;
    top: -5000px;
    left: -5000px;
    vertical-align:middle;
}

label {
    display: block;
    cursor: pointer;
}

@media screen and (max-width: 520px) {
    .profile {
        padding: 1em;
        margin: 1em;
    }

        .profile img {
            max-width: 100%;
            height: auto;
        }

        .profile main dl,
        .profile main dl dt,
        .profile main dl dd {
            display: block;
            width: 100%;
            float: none;
        }

            .profile main dl dt {
                border-bottom: none;
            }

            .profile main dl dd {
                margin-bottom: 10px;
            }

        .profile .toggle {
            top: 15px;
            left: 15px;
        }

    .profile-large {
        padding: 1em;
        margin: 1em;
    }

        .profile-large img {
            max-width: 100%;
            height: auto;
        }

        .profile-large main dl,
        .profile-large main dl dt,
        .profile-large main dl dd {
            display: block;
            width: 100%;
            float: none;
        }

            .profile-large main dl dt {
                border-bottom: none;
            }

            .profile-large main dl dd {
                margin-bottom: 10px;
            }

        .profile-large .toggle {
            top: 15px;
            left: 15px;
        }
}

.form-control:focus {
    box-shadow: none;
    border-color: #BA68C8
}

.profile-button {
    background: rgb(99, 39, 120);
    box-shadow: none;
    border: none
}

    .profile-button:hover {
        background: #682773
    }

    .profile-button:focus {
        background: #682773;
        box-shadow: none
    }

    .profile-button:active {
        background: #682773;
        box-shadow: none
    }

.back:hover {
    color: #682773;
    cursor: pointer
}

.labels {
    font-size: 11px
}

.add-experience:hover {
    background: #BA68C8;
    color: #fff;
    cursor: pointer;
    border: solid 1px #BA68C8
}