:root{
    --bg-main-color: #451115;
    --text-main-color: #F7DD91;
    --mob-bg: url('../img/bgs/mob-bg.jpg');
    --desk-bg: url('../img/bgs/desk-bg.jpg');
}

@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}


@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Light.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Light.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}


@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: bold;
    
}

@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Medium.otf') format('opentype');
    font-weight: 400;
    font-style: bold;
    
}


body {
    font-family: 'Gotham',  serif;
    font-weight: 300;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 50px auto;
    text-align: center;
}

.logo-area {
    display: flex;
    /* flex-direction: row; */
    justify-content: space-around;
    position: relative;
    top: 50px;
    width: 97%;
    margin: 0 auto;
    height: 50px;
}

img.logo {
    width: 15%;
}

@media screen and (min-width: 768px){
    .logo-area {
        top: 0;
        height: 88px;
        
    }

    img.logo {
        width: 8%;
        margin: 10px auto;
    }
}

h1, h2 {
    color: #333;
}

#imageTemplates {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

#imageTemplates img {
    width: 150px;
    height: 150px;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 5px;
}

#imageTemplates img:hover {
    border-color: #555;
}

/* common to all pages */

.template-selection-section{
    /* background-image: url('../img/bg-full.png');
    background-repeat: no-repeat;
    background-size: 100% 100%; */
    background-color: var(--bg-main-color);
}

 .instruction-area p {
    color: white;

}

/* Section page 1 */


body {
    width: 100%;
    max-width: 100%;
}

section.template-selection-section {
    min-height: 100vh;
}

.template-selection-section--container {
    /* background-image: url('../img/ribbon.png'); */
    /* background-image: url('../img/ribbon-desktop.png'); */
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 100px 60px 60px 60px;
    width: 80%;
    vertical-align: middle;
    margin: 0 auto;
    position: relative;
    top: 0px;
}

.template-selection-section--image-carousel-container .item {
    display: inline;
}

.template-selection-section--image-carousel-container .item img {width: 15%;/* padding: 10px; */}


.template-selection-section--image-carousel-container {
    text-align: center;
}

.greeting-message {margin-top: 40px;}

.greeting-message p {
    color: var(--text-main-color);
    padding: 7px 0;
    margin: 0;
}

.template-selection-section--image-grid img {
    width: 35%;
}



.template-selection-section--header {
    text-align: center;
}


.template-selection-section--header img.logo {
    position: absolute;
    top: 60px;
    right: 60px;
    width: 300px;
}

.template-selection-section--header p.bordered-title {
    color: #F7DD91;
    font-size: 12px;
    margin: 15px 0 30px 0;
}

.template-selection-section--header .action-help-img img {
    width: 50px;
    vertical-align: middle;
    margin-top: 25px;
}

.select-item{
    width: 150px !Important;
}

.item-centre p.bordered-title {
    width: 75%;
    margin: 0 auto;
    margin-top: 15px;
}

.template-selection-section--header p.bordered-title::before {
    content: '';
    display: inline-block;
    width: 50px;
    border: 1px solid #F7DD91;
    position: relative;
    top: -6px;
    left: -8px;
}

.template-selection-section--header p.bordered-title::after {
    content: '';
    display: inline-block;
    width: 50px;
    border: 1px solid #F7DD91;
    position: relative;
    top: -6px;
    right: -8px;
}

.template-selection-section--footer {
    text-align: center;
    margin-top: 30px;
}

.template-selection-section--footer a {
    color: #F7DD91;
}

.template-selection-section--footer a p{
    margin: 0;
}

.instruction-box-inline {
    text-align: center;
    display: inline-block;
    color: #f7d773;
    padding-right: 20px;
}

.instruction-box-inline:last-child {
    padding-right: 0;
}




/* Pafe 2 form */

.page-2 .template-selection-section--header {
    margin-bottom: 30px;
}

div#userInfo div {
    text-align: left;
}

div#userInfo {
    margin: 0 auto;
    width: 40%;
}

div#userInfo div label {
    font-weight: 600;
    color: #F7DD91;
}

div#userInfo div input {
    background: transparent;
    outline: transparent;
    border: transparent;
    border-bottom: 1px solid #F7DD91;
    width: 68%;
    color: white;
    margin-left: 12px;
    padding: 5px 5px;
    margin-bottom: 10px;
}

div#userInfo div {
    display: flex;
    vertical-align: middle;
    align-content: center;
    align-items: center;
}

.page-2 .template-selection-section--image-grid {
    text-align: center;
}

.page-2 a.template-selection-section--image-grid-selected {
    width: 33%;
    position: absolute;
    left: 0;
    transform: translateX(100%);
}

.page-2 .template-selection-section--image-grid-bg{
    opacity: .5;
}


/* page 3 */

.template-selection-section--header img.logo{
    position: relative;
    top: unset;
    right: unset;
    display: block;
    margin: 0 auto;
}

.page-3 img.greeting-message-up-border {
    width: 24%;
}

.page-3 .template-selection-section--image-grid {
    margin: 32px auto;
    width: 50%;
    text-align: center;
}


.page .template-selection-section--container{
    padding: 60px 60px 95px 60px;
}

.template-selection-section--footer {
    text-align: center;
    margin-top: 191px;
    display: flex;
    justify-content: center;
}

span.e-greeting-image-title {
    vertical-align: top;
    color: #f7d781;
}

.text-white {
    color: white !important;
}

/* Mobile responsive */



@media screen and (max-width: 1080px){
    
    .template-selection-section--container {
        background-image: url('../img/new-ribbon.png');
        padding: 0;
        width: 100%;
        min-height: 200vh;
        position: unset;
        top: unset;
    }
    
   
    .greeting-message p {
        font-size: 13px;
        font-weight: 300;
        width: 60%;
        margin: 0 auto;
        line-height: 1.5rem;
    }
    
    img.greeting-message-up-border {
        width: 74%;
    }
    
    img.greeting-message-down-border {
        width: 74%;
    }


    .template-selection-section--image-carousel-container .item img{
        width: 42%;
    }
    

    .template-selection-section--header p span {
        display: block;
    }
    
    .template-selection-section--header p.bordered-title span::before{
        content: '';
        display: inline-block;
        width: 50px;
        border: 1px solid #F7DD91;
        position: relative;
        top: -2px;
        left: -8px;
    }
    
    .template-selection-section--header p.bordered-title span::after{
        content: '';
        display: inline-block;
        width: 50px;
        border: 1px solid #F7DD91;
        position: relative;
        top: -3px;
        right: -8px;
    }

    .template-selection-section--header{
        position: relative;
        top: 80px;
    }
    
    .template-selection-section--header p.bordered-title::before {
        content: '';
        display: none;
      
    }
    
    .template-selection-section--header p.bordered-title::after {
        content: '';
        display: none;
       
    }

    .template-selection-section--image-carousel {
        position: relative;
        top: 20px;
        padding: 0 0px;
        /* left: -26px; */
    }

    .template-selection-section--header img.logo {
        position: relative;
        display: block;
        top: unset;
        right: unset;
        width: 300px;
        margin: 0 auto;
    }
    
    .instruction-box-inline:first-child {
        padding-right: 0;
    }
    
    .instruction-box-inline {
        padding-right: 5px;
    }
    
    .action-help-img {
        width: 75%;
        margin: 0 auto;
    }
    
    .instruction-area p {
        color: white;
        margin: 0;
        margin-bottom: -18px;
    }
    
    .item * {
        display: flex;
        text-align: center;
        vertical-align: middle;
        align-content: center;
        justify-content: center;
    }
    
    .page-1 .action-help-img {
        text-align: left;
        margin-left: 70px;
        margin-top: 0;
    }
    
    .action-help-img img {
        margin-top: 0 !important;
    }
    
    .instruction-box-inline * {
        display: inline-block;
        text-align: left;
        padding: 10px;
        margin-top: 0;
    }
    
    .item.item-mob {
        display: flex;
        flex-direction: column;
    }
    
    .item.item-mob a {
        order: 2;
    }
    
    .item.item-mob span {
        order: 1;
    }
    
    .instruction-area p::before {
        content: '';
        width: 53%;
        margin: 0px auto 9px auto;
        height: 1.5px;
        background: #f8e192;
        display: block;
        border-radius: 56px;
    }


    
    /* Page 1 ends*/

    .page-2 .template-selection-section--image-grid {
        position: relative;
        top: 100px;
    }

    .page-2 .template-selection-section--footer {
        position: relative;
        top: 177px;
    }


    @media screen and (max-width: 768px) {
        .template-selection-section--footer{
            margin-top: 190px;
        }
    }

    .page-2 a.template-selection-section--image-grid-selected{
        width: 46%;
        position: absolute;
        left: 0;
        transform: translateX(59%);
    }

    .page-2 .template-selection-section--image-grid pitcure {
        text-align: center;
        width: 50px;
    }
    
    a.template-selection-section--image-grid-selected img {
        width: 70%;
    }

    div#userInfo {
        margin: 0 auto;
        width: 65%;
    }

    .template-selection-section--footer {
        
        position: relative;
        top: 99px;
    }

    .page-3 .template-selection-section--image-grid {
        width: 100%;
        position: relative;
        margin: 0 auto;
        top: 111px;
    }

    .page-3 img.greeting-message-up-border {
        width: 59%;
    }
    
    .template-selection-section--image-carousel-container{
        text-align: center;
    }
}

@media screen and (max-width: 378px){
    .template-selection-section--container {
        /* background-image: url('../img/new-ribbon.png'); */
        padding: 0;
        width: 100%;
        min-height: 200vh;
        position: unset;
        top: unset;
    }
}


#error-message{
    margin-top: 15px;
    color: white; 
    display: none;
   
}

a.next{
    pointer-events: none;
}


/*Christmas*/
.item.d-block {
    display: block;
    margin-top:20px;
}
.greeting-message.mt-4{
    margin-top:20px !important;
}