/* ------- RESET CSS -------- */

*,
*:after,
*:before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    font-size: 100%;
    list-style-type: none;
    font-family: 'Montserrat', sans-serif;
    background: #f4f4f4;
    overflow-x: hidden;
}

ol,
ul {
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

p,
span,
a {
    color: #333
}

a,
a:hover,
a:focus,
a:active,
a:visited {
    text-decoration: none;
    color: inherit;
    color: #333;
}

hr {
    margin: 30px 0 30px 0;
    border: none;
    border-bottom: solid 1px #ddd;
}

h2 {
    text-align: center;
    margin-bottom: 10px;
}

/* ------- RESET CSS END -------- */

/* ------- MAIN ------- */

.main-signature {
    max-width: 991px;
    margin: 0 auto;
}

/* ------- MAIN END ------- */

/* ------- HEADER -------  */

nav {
    height: 50px;
    width: 100%;
    background: #fff;
}

#menu {
    width: 100%;
    height: 50px;
    line-height: 50px;
    padding: 0px 120px;
    border-bottom: 1px solid #eee;
    top: 0;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 2px 16px;
    transition: 0.5s;
}

#logo-forever-menu {
    width: 120px;
    margin-top: 9px;
}

/* ------- HEADER END -------  */

/* ------- PREVIEW -------  */

.signature-check {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    margin: 20px 0 20px 0;
}

.check-preview {
    background: #fff;
    border-radius: 20px;
    max-width: 480px;
    -webkit-box-shadow: 0px 5px 15px 5px rgba(0, 0, 0, 0.18);
    box-shadow: 0px 5px 15px 5px rgba(0, 0, 0, 0.18);
    margin-top: 20px;
    padding: 20px 20px;
    justify-content: space-evenly;
}

#copy-table,
#bottom-text,
tr {
    max-width: 450px;
}

#copy-table {
    columns: #2c2a2a;
}

.profile-picture {
    vertical-align: top;
    border-right: solid 2px #e5e5e5;
    width: 130px;
}

.profile-picture img {
    display: block;
}

.profile-picture #logo-img {
    padding-top: 15px;
    width: 100px;
}

.profile-picture #profile-img {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    border: solid 1px #ccc;
}

.tabela {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 0;
}

.info {
    line-height: 18px;
    padding-left: 25px;
}

.info .bfs {
    font-weight: 400;
    font-size: 14px;
}

#sig-full-name {
    font-size: 1.2em;
    font-weight: 700;
}

#sig-function {
    font-weight: 300;
}

#sig-contact {
    margin-top: 10px;
}

#sig-contact a , #sig-contact span{
    color: #555555;
}

#sig-contact a{
    font-size: 14px;
    font-weight: 400;
}

.sig-social {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

#bottom-text {
    font-size: 8px;
    text-align: justify;
    padding-top: 15px;
}

.button-upload {
    margin: 0 auto;
    text-align: center;
    margin-bottom: -15px;
}

.button-upload .upload-result {
    width: 150px;
    margin-top: 15px;
}

tbody{
    position: relative;
}

.img-absolute{
    position: absolute;
    right: 0;
    top: 48%;
    width: 75px;
}

.img-absolute img{
    width: 100%;
}
/* ------- PREVIEW END -------  */

/* ------- FORM ------- */

.signature-input {
    width: 600px;
    margin: 0 auto;
}

.signature-input h1 {
    text-align: center;
}

#signature-form .field-wrapper {
    position: relative;
    margin: 20px auto;
    text-align: center;
}

#signature-form input {
    padding: 10px;
    width: 600px;
    border: 2px solid #555;
    border-radius: 3px;
    background: #f4f4f4;
}

#signature-form .input50 {
    width: 300px;
    display: flex;
    margin: 20px 0;
}

#signature-form .input50 .field-wrapper {
    margin: 0;
}

#signature-form .input50 input {
    width: 300px;
}


#signature-form label {
    position: absolute;
    white-space: nowrap;
    overflow: hidden;
    top: 0;
    display: inline-block;
    background: #f4f4f4;
    margin: 8px 5px;
    padding: 0 10px;
    transition: position .2s linear;
    color: #222;
}

#signature-form .field-wrapper.focused label {
    transition: all .2s linear;
    top: -20px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #f4f4f4 inset !important;
}

#button-copy {
    width: 40%;
    float: right;
}

#button-restore {
    width: 40%;
    float: left;
}

#signature-form button {
    height: 50px;
    border: none;
    box-sizing: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5rem;
    border: solid 2px #000;
    background: #000;
    color: #fff;
    cursor: pointer;
}

#signature-form button:hover {
    transition: 0.4s;
    background: #fff;
    color: #000;
}

/* ------- FORM END ------- */

/* ------- MEDIA ------- */

@media screen and (max-width: 1280px) {
    .tabela {
        max-width: calc(100% - 40px);
        grid-template-columns: none
    }

    body>div>div:nth-child(2) {
        order: -1;
    }

    body>div>div:nth-child(1) {
        margin-top: 40px;
    }

    .signature-check {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 5px;
    }

    .signature-input {
        width: 100%;
    }

    #signature-form input {
        width: 100%;

    }

    #signature-form button {
        float: none;
        width: 60%;
        margin: 5px 0;
    }

    .check-preview {
        display: block;
        width: 100%;
    }

    #signature-form .input50 {
        width: 100%;
        display: block;
    }

    #signature-form .input50 .field-wrapper {
        margin: 20px 0;
    }

    #signature-form .input50 input {
        width: 100%;
    }
}

/* ------- MEDIA END ------- */