@font-face {
    font-family: 'Heebo';
    src: url(Heebo-Regular.ttf);
}
html {
    position: relative;
}

main {
    overflow-y: hidden;
}
body {
    font-family: 'Heebo';
    background: linear-gradient( rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.3)), url('../images/bg.jpg');
    background-size: cover;
    background-position: center;
    overflow-y: hidden;
    height: 100vh;
}

header {
    display: flex;
    justify-content: space-between;
}

header>div.phone-logo {
    color: #FFFFFF
}

header>div.sub-logo {
    display: flex;
    align-items: center;
}

header>div.sub-logo:hover {
    cursor: pointer;
}

header>div.sub-logo>img {
    max-width: 180px;
}

header>div.logo {
    display: flex;
    align-items: center;
}

header>div.logo img {
    max-width: 180px;
    margin-left: 30px;
}

header>div.logo:hover {
    cursor: pointer;
}

header>div.heading {
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: 13px;
    flex: 1;
}

header>div.heading>div {
    margin: 0 0.2vw;
    padding: 0 0.2vw;
    display: flex;
    align-items: center;
    background-color: transparent;
    height: 50%;
    color: #FFFFFF;
}

header>div.heading>div>img {
    width: 30px;
}

header>div.heading>div>a {
    text-decoration: none;
    color: #FFFFFF;
}

header>div.heading>div.mail-logo>img {
    margin-right: 10px;
}
header>div.heading>div.leave-details:hover {
    cursor: pointer;
}

main {
    position: relative;
    height: 100%;
}

main>div.i-frame {
    height: 100%;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

div.footer {
    display: none;
}

.pipe {
    font-size: 30px;
}

.modal-container {
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(255, 255, 2555, 0.6);
}

.details-modal {
    text-align: center;
    border: 1px solid white;
    border-radius: 5px;
    box-shadow: 0 0 88px -22px rgba(0, 0, 0, .9);
    position: absolute;
    top: 15vh;
    left: 38.1vw;
    z-index: 1050;
    padding: 1vh 1vw;
    width: 28vw;
    background-color: white;
}

.details-modal>p {
    font-size: 1em;
    color: #767676;
}

.details-modal>img {
    position: absolute;
    right: 1.5vw;
}

.details-modal>img:hover {
    cursor: pointer;
}

.details-modal>form .input-wrap {
    margin: 0.5vh 0;
}

.details-modal>form .error>span {
    color: red;
    font-size: 0.8em;
}

.details-modal>form button {
    background-color: #0fc5f5;
    border: #0fc5f5;
    border-radius: 14px;
    width: 90%;
    color: white;
    font-size: 1.3em;
    padding: 1vh 1vw;
    margin: 0 0 3vh 0;
}

@media only screen and (max-width: 650px) {
    main {
        position: relative;
        height: 95vh;

    }


    header {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    header>div.logo img {
        max-width: 180px;
        margin-left: 30px;
    }

    header>div.heading>div {
        height: 100%;
    }

    header>div.heading>div.leave-details:hover {
        display: none;
    }

    header>div.heading {
        /*height:20px;*/
        /*order: 2;*/
        /*margin-bottom: 20px;*/
        display:none;
    }

    .leave-details {
        display: none !important;
    }

    .mail-logo {

    }
    .phone-logo {

    }

    /*.heading {*/
    /*    display:none !important;*/
    /*}*/

    div.footer {
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 16px;
        flex: 1;
    }

    div.footer>div {
        margin: 0 0.2vw;
        padding: 0 0.2vw;
        display: flex;
        align-items: center;
        background-color: transparent;
        height: 50%;
        color: #FFFFFF;
    }

    div.footer>div>img {
        width: 40px;
    }

    div.footer>div>a {
        text-decoration: none;
        color: #FFFFFF;
    }

    div.footer>div.mail-logo>img {
        margin-right: 10px;
    }

    header>div.sub-logo {
        align-items: flex-start;
    }

    .sub-logo>img {
        height: 6vh;
    }

    .logo>div>a>img {
        height: 6vh;
    }

    header>div.logo img {
        margin: 0;
    }

    .modal-container {
        padding-top: initial;
    }

    .details-modal {
        width: initial;
        top: 5vh;
        left: 4vw;
        right: 4vw;
    }
}

input,
textarea {
    background-color: #e5e5e5;
    border: #e5e5e5;
    font-family: inherit;
    width: 80%;
    padding: 1vh 1vw;
    border-radius: 2px;
}

textarea {
    resize: none;
}

button:hover {
    cursor: pointer;
}

.hidden {
    display: none;
}

.not-visible {
    visibility: hidden;
}
