/**
 * @copyright 2017 MarkCon
 * @link http://www.markcon.hu
 */

@CHARSET "UTF-8";

#profile.PageBackground {
    background-image: url("../image/page-background.jpg");
}

#profile .FormWrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* background-color: rgba(68, 68, 68, 0.38); */
    padding: 6rem 6rem 5rem;
    margin-top: 2rem;
}

#profile .FormWrapper .Form{
    position: relative;
    -webkit-box-shadow: 0px 6px 15px -4px rgba(0,0,0,0.31);
    -moz-box-shadow: 0px 6px 15px -4px rgba(0,0,0,0.31);
    box-shadow: 0px 6px 15px -4px rgba(0,0,0,0.31);
}

#profile .FormWrapper .Column{
    width: 67%;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin:0 auto;
    background: #fff;
    position: relative;
    vertical-align: middle;
    padding: 1.4rem 1rem;
    border-radius: 0;
    /* background: rgba(244, 161, 1, 0.88); */
    border: 2px solid #007c35;
}


#profile .Form h3{
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    background: #007c35;
    padding: 0.6rem 1rem;
    margin: 0.5rem -1rem 0.2rem;
    -webkit-box-shadow: 0px 6px 15px -4px rgba(0,0,0,0.31);
    -moz-box-shadow: 0px 6px 15px -4px rgba(0,0,0,0.21);
    box-shadow: 0px 6px 15px -4px rgba(0,0,0,0.21);
}

#profile .Form h3:first-of-type{
    position: relative;
    margin-top: -1.6rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-left: -1.7rem;
    margin-right: -1.7rem;
    cursor: default;
    color: #fff;
}

#profile .Form h3:first-of-type:before,
#profile .Form h3:first-of-type:after{
    content: '';
    position: absolute;
    bottom: -0.45rem;
    width: 1rem;
    height: 1rem;
    border: 0.5rem solid transparent;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#profile .Form h3:first-of-type:before{
    left: 0.2rem;
    border-left-color: #007c35;
}

#profile .Form h3:first-of-type:after{
    right: 0.2rem;
    border-bottom-color: #007c35;
}

#profile .Form h3 + .Data,
#profile .Form .Data:first-of-type{
    border-top: none;
}

#profile .Form form{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 87%;
}

#profile .Form form > .Content{
    margin: 11% 3%;
}

#profile .Data,
#profile .Element{
    padding: 0.4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.29);
    display: flex;
    align-items: center;
    position: relative;
}

#profile .Data.Name{
    padding-top: 0;
    border-top: none;
}

#profile .Data.Element{
    /* padding: 0.4rem 0; */
}

#profile .Data .Label,
#profile .Data label{
    font-size: 0.63rem;
    font-weight: bold;
    text-transform: uppercase;
    width: 33%;
    display: inline-block;
    color: #111;
    line-height: 1.2;
}

#profile .Data .Value{
    font-size: 0.6rem;
    padding-top: 0.2rem;
    display: inline-block;
    width: 50%;
    line-height: 1.2;
    color: #fff;
}

#profile .Form .Buttons{
    position: absolute;
    top:0;
    right: 0;
    padding-top: 0.45rem;
    padding-right: 0.1rem;
    z-index: 1;
}

#profile .Form .Buttons div{
    content: '';
    width: 1rem;
    height: 1rem;
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 0.6rem;
    cursor: pointer;
}

#profile .Form .Buttons div.Close{
    background: url("../../Global/image/logout.png") no-repeat center center;
    background-size: 0.8rem;
}

#profile .Form .Buttons div.Edit{
    background: url("image/edit.png") no-repeat center center;
    background-size: 1.2rem;
    width: auto;
    height: auto;
    margin-left: 0;
    background-position: center right 0.4rem;
    padding: 0.3rem 2.1rem 0.3rem 0.4rem;
    margin-right: 0.4rem;
    font-weight: bold;
    background-color: #bf2422;
    border-radius: 0rem;
    /* border: 0.1rem solid rgb(255, 255, 255); */
    top: -0.15rem;
    position: relative;
    letter-spacing: 1px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
}

#profile .Form .Buttons div.Back{
    background: url("image/back.png") no-repeat center center;
    background-size: 0.8rem;
}

#profile .Form .Data input,
#profile .Form .Data textarea,
#profile .Form .Data select{
    display: inline-block;
    width: 78% !important;
    font-size: 0.6rem;
    padding: 0 1.4rem 0.2rem 0.2rem;
    text-align: left;
    line-height: 1.2;
    color: #111;
    height: auto;
    background-color: transparent;
    outline: none;
    border-top: none;
    border-left: none;
    border-right: none;
    border-width: 1px;
    border-radius: 0;
}

#profile .Form .Data select option{
    color: #333;
    background-color: rgba(255,255,255,0.8);
}

#profile .Form button[type="submit"],
#profile .Form .Buttons button{
    display: inline-block;
    text-align: center;
    margin: 0.2rem 0.4rem;
    position: absolute;
    bottom: 5.5%;
    background-color: #007c35;
}

#profile .Form button[type="submit"]:hover,
#profile .Form .Buttons button:hover{
    background-color: #f39832;
}

#profile .Form .Buttons button{
    left: 48.5%;
}

#profile .Form button[type="submit"]{
    width: 12rem;
    position: relative;
    margin-top: 2rem;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}


#profile .Form .Competency + .Buttons button{
    position: relative;
    left: auto;
    bottom: 0;
    /* padding: 0.36rem 0.4rem; */
    /* font-size: 0.65rem; */
}

#profile .Data.Element .file-upload-wrapper{
    display: inline-flex;
    width: 79%;
}

#profile .Data.Element .file-upload-wrapper .file-upload-button{
    width: auto;
    padding: 0.4rem 0.9rem;
    overflow: visible;
    height: auto;
    text-transform: none;
    font-size: 0.7rem;
    margin: 0 0 0 0.6rem;
}

#profile .Form .Data input.file-upload-input{
    width: 58%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#profile .ProfileInfo{
    text-align: justify;
    margin-top: 0.5rem;
    font-size: 0.55rem;
}

#profile .ui-button{
    position: absolute;
    right: 0;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 50%;
}

#profile .Info{
    margin-bottom: 0.4rem;
    padding: 0.8rem 0;
    border-bottom: 2px solid rgb(255, 255, 255);
    font-size: 0.7rem;
    font-weight: bold;
    text-align: center;
}


/* AUTOCOMPLETE */
#profile .ui-button-text{
    display: none;
}

.ui-autocomplete{
    max-width:100%;
    background: rgba(255,255,255,0.9);
    width: 18rem !important;
}

.ui-autocomplete .ui-menu-item{
    padding: 0.5rem;
    line-height: 1;
    font-size: 0.6rem;
}

.ui-autocomplete .ui-menu-item a{
    color: #333333;
    font-size: 0.6rem;
}

.ui-autocomplete .combobox-option-item:hover{
    background-color: #d22d2a;
}

.ui-autocomplete .combobox-option-item:hover a{
    color: #fff;
    font-size: 0.6rem;
}


/* FORM CUSTOMIZATION */
.Element.Orientation.Data{
    height:3.4rem;
}

/* EMAIL */
#profile .EmailSuccess{
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    /* padding: 3rem; */
}

#profile .EmailSuccess h4{
    text-transform: uppercase;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

#profile .EmailSuccess p{
    font-size: 1rem;
    padding: 0 5rem;
}

#profile .Button.Back{
    width: auto;
    height: auto;
    margin: auto;
    line-height: 2;
    padding: 0.2rem 1.5rem;
}