body {
    margin: 0;
    padding: 0;
    background-image: url('images/bg-repeat.png');
    background-size: cover;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.pdf-form {
    height: 100vh;
    font-size: 18px;
    background: #446CB3;
    width: 100%;
    padding: 15px 20px;
    box-sizing: border-box;
    font-weight: bold;
    color: #fff;
    overflow-x: hidden;
    overflow-y: scroll;
}

.layer-header {
    position: relative;
}

.layer-header i.fa-pencil-alt.fas {
    position: absolute;
    right: 10px;
    top: 15px;
    z-index: 1;
}

.layer-header input {
    background: #3697ff;
    outline: none;
    border: none;
    color: white;
    width: 100%;
    padding: 10px;
    border: 1px solid transparent;
}

.layer-header input:focus {
    border: 1px solid rgba(255, 255, 255, 0.452);
}

.pdf-parent {
    position: relative;
    max-height: 100vh;
    overflow-y: auto;
    background: rgb(234 234 234);
    padding: 0;
}

#pdf-section {
    width: 100%;
    position: absolute;
    overflow: auto;
    min-width: 600px;
    min-height: 110vh;
}

page {
    /* background: white; */
    display: block;
    margin: 0 auto;
    margin-bottom: 0.5cm;
    /* box-shadow: 0 0 0.5cm rgba(0, 0, 0, 0.5); */
}

page[size="A4"] {
    width: 21cm;
    height: 29.7cm;
    transform: scale(0.92) translateX(-25px) translateY(10px);
    margin-top: -101px;
    padding-bottom: 22%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.single-layer-node-header {
    background: #2f2f2f;
    padding: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.single-layer-node-body {
    padding: 15px 0px;
    background: #dedede;
    color: #565656;
    font-size: 14px;
    overflow: hidden;
    transition: .3s ease all;
}

.layer-header-edit-icon {
    position: absolute;
    right: 5px;
    top: 0;
    z-index: 1;
}

.convert-custom-section {
    cursor: pointer;
}

.custom-node {
    display: none;
}

.first-layer-pdf {
    background-color: rgb(204, 167, 0);
    background-image: url('images/booking-section.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
    position: relative;
}

.first-layer-pdf * {
    position: relative;
    z-index: 2;
}

page.first-layer-pdf h3 {
    text-align: center;
    padding-bottom: 17px;
    padding-top: 5px;
    margin: 30px 0;
}

page.first-layer-pdf:nth-of-type(2) h3 {
    background: #5bbebd;
}

page.first-layer-pdf:nth-of-type(3) h3 {
    background: #e6b5b6;
}

page.first-layer-pdf:nth-of-type(4) h3 {
    background: #4fd2d6;
}

page.first-layer-pdf:nth-of-type(5) h3 {
    background: #81beda;
}

/* 
page.first-layer-pdf:nth-of-type(1),
page.first-layer-pdf:nth-of-type(1) h3 {
    background-color: #EC644B;
}

page.first-layer-pdf:nth-of-type(2),
page.first-layer-pdf:nth-of-type(2) h3 {
    background-color: #3997D3;
}

page.first-layer-pdf:nth-of-type(3),
page.first-layer-pdf:nth-of-type(3) h3 {
    background-color: #2DAB61;
}

page.first-layer-pdf:nth-of-type(4),
page.first-layer-pdf:nth-of-type(4) h3 {
    background-color: #AA6EAC;
}

page.first-layer-pdf:nth-of-type(5),
page.first-layer-pdf:nth-of-type(5) h3 {
    background-color: #35495E;
} */

.branch {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: row;
}

.branch .text-center {
    color: white;
    margin-top: 15px;
}

.branch img {
    max-width: 85px;
    display: block;
    margin: auto;
}

.branch-left {
    width: 50%;
    padding: 10px;
    flex: 1;
}

.branch-right {
    width: 50%;
    /* margin-left: auto; */
    padding: 10px;
    flex: 1;
}

.branch-road {
    flex: 2;
    height: 3px;
    background-image: url(images/yatay.png);
    background-size: contain;
}

.branch-body {
    flex: 6;
}

.branch-body-items {
    font-size: 12px;
}

.vertical-bg {
    height: 86%;
    width: 3px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    position: absolute;
    background-image: url(images/dikey.png);
    background-size: contain;
}

page[size="A4"] .branch:nth-of-type(even) {
    /* background: yellow; */
}

page[size="A4"] .branch:nth-of-type(odd) {
    /* background: red !important; */
    margin-left: auto;
    flex-direction: row-reverse;
}

.print-button {
    padding: 10px;
    text-align: center;
    font-size: 21px;
    cursor: pointer;
    position: fixed;
    bottom: 0;
    width: 380px;
    background: #0056b8;
    z-index: 99999;
}

page[size="A4"]:nth-of-type(1) {
    background: whitesmoke;
}

.first-layer-pdf:nth-of-type(2) {
    background-image: url('images/footer-bg/rezervasyon-sureci.png');
    background-color: #5bbebd;
}

.first-layer-pdf:nth-of-type(3) {
    background-image: url('images/footer-bg/rezervasyon-araci.png');
    background-color: #e6b5b6;
}

.first-layer-pdf:nth-of-type(4) {
    background-image: url('images/footer-bg/butce.png');
    background-color: #4fd2d6;
}

.first-layer-pdf:nth-of-type(5) {
    background-image: url('images/footer-bg/faydali-bilgiler.png');
    background-color: #81beda;
}

page.first-layer-pdf * {
    color: #585c60 !important;
}

.disabledbutton {
    pointer-events: none;
    background: #034591;
}

small {
    font-size: 13px;
    width: 100%;
    display: block;
    line-height: 30px;
    margin-top: 15px;
}

small i.fas.fa-info-circle {
    font-size: 24px;
    float: right;
    color: #0056b8;
    cursor: pointer;
}

.tooltip {
    margin-left: 15px;
}

.tooltip-inner {
    max-width: 350px !important;
}

.single-layer-node-body {
    position: relative;
}

.single-layer-node-header>span {
    flex: 1;
    padding-left: 70px;
}

.switch {
    flex: 0;
}

input:checked+.slider {
    width: 60px;
}

.slider.round {
    width: 60px;
}

page[size="A4"] .branch:nth-of-type(odd) {
    margin-top: -190px;
}

.branch-body-items p {
    font-size: 12px;
}

.tooltip-inner {
    white-space: inherit;
}