header {
    background: darkblue;
    padding: 20px 35px;
    display: flex;
}
header>div {
    width: 10%;
}
.logo {
    background-image: url(/pdfgen/need/logo.png);
    background-repeat: no-repeat;
    height: auto;
    background-size: 90%;
    background-color: #fff;
    background-position: center;
    border-radius: 5px;
}
.logo a {
    display: block;
    width: 100%;
    height: 100%;
}
.logo img {
    width: 100%;
}
.pdfgenlogo {
    width: 80%;
    text-align: center;
}
.pdfgenlogo a {
    color: #fff;
    text-align: center;
    text-decoration: none;
    border: 3px solid #fff;
    display: inline-block;
    border-radius: 5px;
    margin: 0;
    padding: 0px 7px;
}
.pdfgenlogo a:hover {
    background: #fff;
    color: #001a3e;
}
a, button, input[type="submit"] {
    transition: 0.4s;
}
a, button {
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    font-weight: 600;
}
a.button-style {
    background: #cccccc;
    color: #444;
    text-decoration: none;
}
a.button-style:hover {
    color: #cccccc;
    background: #444;
}
button.small {
    padding: 5px 7px;
    border-radius: 5px;
}
button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
a.all-pdf-btn {
    display: block;
    margin: 0 auto;
    border: none;
    background: #fff;
    color: #444;
    padding: 20px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    height: auto;
    text-align: center;
}
a.all-pdf-btn:hover{
    background: #ddd;
}
#projects-list {
    position: absolute;
    background: white;
    border: 2px solid #aaa;
    padding: 0;
    right: 20px;
    top: 70px;
    display: none;
    min-width: 200px;
}
#projects-list.active {
    display: block;
}
#projects-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
#projects-list ul li a {
    padding: 5px;
    text-decoration: none;
    color: #444;
    background: #ccc;
    cursor: pointer;
    display: block;
    padding: 5px 7px;
    border-bottom: 1px solid #aaa;
    border-radius: 0;
}
#projects-list ul li a:hover {
    background: #444;
    color: #ccc;
}

section {
    padding: 20px;
    position: relative;
}
.choose-box {
    background: #ccc;
    border: 2px solid #aaa;
    color: #444;
    border-radius: 10px;
    margin: 15px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}
.choose-box:hover, .choose-box.active {
    background: #444444;
    color: #ccc;
    transition: all 0.3s ease-in-out;
}
.choose-box button, .choose-box a {
    display: block;
    padding: 20px;
    color: inherit;
    text-decoration: none;
    font-weight: 900;
    font-size: xx-large;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
}
.flex {
    display: flex;
}
.one-full {
    width: 100%;
}
.one-half {
    width: 50%;
}
.one-third {
    width: 33.3%;
}
.one-fourth {
    width: 25%;
}
.one-fifth {
    width: 20%;
}
.text-right {
    text-align: right;
}
.step-content {
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-top: 20px;
}
h2.step-title {
    display: inline-block;
}
.preview {
    background: #000;
    position: relative;
    margin: 15px 0;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #aaa;
}
#preview-editor {
    height: 800px;
}
.paper {
    width: 420px;
    height: 594px;
    background: #fff;
    margin: 0 auto;
    position: relative;
}
label {
    font-weight: 600;
}


.tp-info {
    cursor: help;
    display: block;
    position: relative;
    text-align: center;
    margin: 0 auto 30px;
    width: 32px;
}
.tp-info .desc {
    display: none;
    position: absolute;
    width: 500px;
    top: 59%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background: #ddd;
    border-radius: 3px;
    color: #444;
    font-size: 15px;
    text-align: left;
    z-index: 9999;
}
.tp-info:hover .desc {
    display: block;
}

#preview i.fas.fa-info-circle.fa-2x {
    color: #fff;
}

.hidden-step {
    display: none;
}
.step hr {
    margin: 0;
}
.proceed-step {
    padding: 15px;
    overflow: hidden;
}
.proceed-step button {
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    font-weight: 600;
}
.float-right {
    float: right;
}
.next-step {
    background: green;
    color: #fff;
}
.prev-step {
    background: coral;
    color: #fff;
}
.set-value-box {
    padding: 15px;
    border-right: 1px solid #ccc;
}
.set-value-box label {
    font-weight: 600;
    display: block;
}
input {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
}
input.big-input {
    width: 80%;
    padding: 10px 15px;
    font-size: 20px;
}
.set-value-box input {
    width: 70%;
}
.margin-bar {
    display: none;
    background: red;
    position: absolute;
}
.margin-bar.active {
    display: block;
}
#margin-top {
    height: 2px;
    width: 100%;
    top: 0;
    left: 0;
}
#margin-left {
    height: 100%;
    width: 2px;
    top: 0;
    left: 0;
}
#margin-bottom {
    height: 2px;
    width: 100%;
    bottom: 0;
    left: 0;
}
#margin-right {
    height: 100%;
    width: 2px;
    top: 0;
    right: 0;
}
#goto-editor {
    background: #ffc107;
}
#free-pdf-editor {
    display: none;
}
.report {
    margin: 15px;
}
.rep-margin {
    display: inline-block;
    padding: 0px 5px;
    width: 35px;
    text-align: center;
    margin-right: 20px;
    background: #eee;
}
span#rep-margin-top {
    border-top: 1px solid red;
}
span#rep-margin-left {
    border-left: 1px solid red;
}
span#rep-margin-bottom {
    border-bottom: 1px solid red;
}
span#rep-margin-right {
    border-right: 1px solid red;
}


#paper-editor {
    background: rgba(255,255,255,0.7);
    top: 50%;
    transform: translateY(-50%);
}
#effective-paper {
    background: #fff;
    position: relative;
}


#menu {
    position: absolute;
    top: 0;
    left: 0;
    background: #eee;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
    padding: 10px 15px;
    height: 100%;
    width: 20%;
}
#menu ul {
    list-style: none;
    padding: 0;
}
#menu ul li {
    padding: 5px;
    border-bottom: 1px solid #ccc;
    color: #444;
    font-weight: 600;
    position: relative;
    cursor: pointer;
}
#menu ul li:hover {
    background: #bbb;
}
#menu ul li i {
    float: right;
    margin-top: 4px;
}
.back-menu {
    display: block;
    margin-top: 20px;
    border: none;
    font-size: 13px;
    border-radius: 5px;
    padding: 3px 5px;
}
.back-menu:hover {
    background: #bbb;
}

.section-settings {
    display: none;
    padding: 20px 0 0;
}

#content-editor {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 100%;
}
.dotted-area {
    width: 100%;
    background: rgba(0,128,0,0.3);
    border: 2px dotted #009688;
    display: none;
    position: absolute;
}
#effective-header {
    top: 0;
}
#effective-footer {
    bottom: 0;
}
button#save-pdf {
    background: green;
    color: #fff;
}
.buttons {
    display: flex;
    flex-wrap: wrap;
}
.add-element {
    background: #ccc;
    width: 25%;
    border-radius: 0;
    border: 1px solid #eee;
}
.add-element:hover {
    background: #444;
    color: #fff;
}
#menu h4 {
    display: inline-block;
}
.fas.fa-row {
    width: 36px;
    border: 2px solid #444;
    text-align: center;
    padding: 2px;
    display: block;
    margin: auto;
    max-height: 20px;
    font-weight: 900;
    line-height: 12px;
    font-family: Arial;
}
button:hover .fas.fa-row, .fas.fa-row:hover {
    border: 2px solid #fff;
}