﻿/*#region Site wide*/
.white-bg {
    background-color: #FFF;
}

.blue-bg {
    background-color: #2b328d;
}

.yellow-bg {
    background-color: #eebf1b;
}

.white-text {
    color: white;
}

.text-center {
    text-align: center;
}

.blue-text {
    color: #2b328d;
}

.x-button {
    position: absolute;
    cursor: pointer;
    display: block;
    width: 70px;
    height: 70px;
}

    .x-button hr.x {
        margin: 0;
        z-index: 10;
        width: 100%;
        border: 4px #2b328d solid;
        position: absolute;
    }

.x-button-small {
    position: absolute;
    cursor: pointer;
    display: block;
    width: 30px;
    height: 30px;
    margin-left: -15px;
    margin-top: -5px;
}

    .x-button-small hr.x {
        margin: 0;
        z-index: 10;
        width: 100%;
        border: 2px #FFF solid;
        position: absolute;
    }


.animate {
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.slow-animate {
    -webkit-transition: all 0.6s ease-out;
    -moz-transition: all 0.6s ease-out;
    -o-transition: all 0.6s ease-out;
    transition: all 0.6s ease-out;
}



.delay-animation {
    animation-delay: 0.5s !important;
    -moz-animation-delay: 0.5s !important;
    -webkit-animation-delay: 0.5s !important;
    -o-animation-delay: 0.5s !important;
}

.form-group {
    margin-bottom: 0;
}

#MeliusMailContent {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 100vh;
    z-index: 10;
}

.affix {
    position: fixed !important;
    top: 0 !important;
}

.no-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

#Header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /*right:0;*/
    background-color: #FFF;
    height: 140px;
    z-index: 100;
}

#HeaderBar {
    background-color: #FFF;
    position: absolute;
    z-index: 9;
    height: 140px;
    width: 100vw;
}

#Header #HamburgerMenuButton {
    position: absolute;
    right: 75px;
    z-index: 10;
    cursor: pointer;
    bottom: 35px;
    width: 60px;
}

    #Header #HamburgerMenuButton hr {
        margin: 10px;
        width: 100%;
        border: 4px #2b328d solid;
    }

#Header .x-button {
    right: 35px;
    bottom: 0;
}


#Header #HamburgerMenuDropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: -200vh;
    height: 100vh;
    width: 100vw;
}

    #Header #HamburgerMenuDropdown.active {
        top: 120px;
    }


#Header #HamburgerMenuBackground {
    position: absolute;
    left: 0;
    height: 10vh;
    right: 0;
    background-color: #2b328d;
}

#Header #HamburgerMenuBackgroundEdge {
    position: absolute;
    width: 0;
    height: 0;
    right: 0;
    top: 20px;
    border-bottom: 100vh solid transparent;
    border-right: 200vw solid #2b328d;
}


#Header #HamburgerMenuDropdown input {
    font-weight: bold;
    font-size: 5vw;
    background-color: rgba(0,0,0,0);
    color: #FFF;
    width: 100vw;
    margin-top: 85px;
    border: 0;
}


#Header img#MeliusMailLogo {
    position: absolute;
    left: 15vw;
    padding-top: 40px;
    padding-bottom: 0;
    height: 126px;
    z-index: 11;
}

#Header #Navigation {
    position: absolute;
    background-color: #FFF;
    right: 20vw;
    width: 560px;
    text-align: right;
}

    #Header #Navigation input {
        font-weight: bold;
        margin-right: 5px;
        background-color: #FFF;
        color: #2b328d;
        height: 120px;
        padding-top: 85px;
        width: 8vw;
        min-width: 75px;
        max-width: 100px;
        border: 0;
    }

        #Header #Navigation input.active {
            background-color: #eebf1b;
        }

#Footer {
    text-align: center;
    padding-bottom:3px;
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    color: #2b328d;
    background-color: #FFF;
}
/*#endregion*/



/*#region Landing Page*/

delay-animation.content {
    position: relative;
    height: 100%;
    min-height: 100vh;
    z-index: 10;
    /*margin-right: 20vw;*/
    left: 0;
}

/*#LandingPage {
    min-width: 1400px;
    min-height: 800px;
}*/

#LandingPage .content .copy {
    display: block;
}

    #LandingPage .content .copy h1 {
        margin-top: 60px;
    }

    #LandingPage .content .copy p {
        text-align: justify;
        line-height: 40px;
        padding-bottom: 10px;
    }

    #LandingPage .content .copy .row {
        padding: 2vw;
        padding-top: 140px;
        opacity: 0.3;
        min-height: 100vh;
    }

        #LandingPage .content .copy .row.active {
            opacity: 1;
        }


    #LandingPage .content .copy .col-xs-6 {
        padding-left: 0;
        padding-right: 20px;
    }

#LandingPage #LandingQuote {
    background-image: url("../images/skyBG.png");
    background-repeat: no-repeat;
    background-position-y: top;
    background-position-x: center;
    background-size: cover;
    position: absolute;
    top: 140px;
    left: 0;
    right: 0;
    height: 100vh;
    opacity: 1;
}

    #LandingPage #LandingQuote p {
        /*margin-top: 20vh;*/
        color: #FFF;
        /*text-shadow:0px 2px 8px #87ABFF;*/
        width: 100%;
        text-align: center;
        font-size: 30px;
    }

#LandingPage #AboutUsImage {
    width: 100%;
}

#LandingPage #MagContainer #ServiceMag {
    transition-delay: 0.4s !important;
    position: absolute;
    opacity: 0;
    width: 80%;
    min-width: 200px;
    max-width: 400px;
    margin-left: -100px;
}

#LandingPage #MagContainer.active #ServiceMag {
    opacity: 1;
    margin-left: 0;
}

#LandingPage #MagContainer #ServiceEnvelope {
    position: absolute;
    width: 80%;
    min-width: 200px;
    max-width: 400px;
    margin-right: -100px;
}

#LandingPage #MagContainer.active #ServiceEnvelope {
    margin-right: 0;
}


#LandingPage #Serivces {
    margin-top: -270px;
}

#LandingPage #Partners {
    /*padding-top: 270px;*/
}

/* #LandingPage #Partners #PartnerSelector {
        position: absolute;
     
        left: 10vw;
        width: 20vw;
    }

       #LandingPage #Partners #PartnerSelector.active {
            opacity: 1;
           
            position: fixed;
            left: 10vw;
            top: 140px;
            width: 20vw;
        }

        #LandingPage #Partners #PartnerSelector.selector-height-1 {
            top: 140px;
        }

        #LandingPage #Partners #PartnerSelector.selector-height-2 {
            top: 50px;
        }

        #LandingPage #Partners #PartnerSelector.selector-height-3 {
            top: -40px;
        }

        #LandingPage #Partners #PartnerSelector.selector-height-4 {
            top: -150px;
        }

        #LandingPage #Partners #PartnerSelector.selector-height-5 {
            top: -500px;
        }

        #LandingPage #Partners #PartnerSelector hr {
            border: 4px solid #eebf1b;
        }

    #LandingPage #Partners #PartnerInfoContainer {
        width: 40vw;
        padding-left: 15vw;
        text-align: justify;
    }

    #LandingPage #Partners #PartnerSelector .partner-img-container {
        height: 50px;
    }

    #LandingPage #Partners #PartnerSelector img {
        opacity: 0.1;
        max-height: 50px;
        max-width: 20vw;
    }

    #LandingPage #Partners #PartnerSelector .active img {
        opacity: 1;
    }*/
.biz-card img, .biz-card-2 img {
    width: 30vw;
}

#LandingPage #Partners .biz-card {
    position: absolute;
    left: -10vw;
    width: 15vw;
    transform: rotate(40deg);
    opacity: 0;
}

    #LandingPage #Partners .biz-card.active {
        transform: rotate(0deg);
        opacity: 1;
        left: 5vw;
    }

#LandingPage #Partners .biz-card-2 {
    position: absolute;
    left: -10vw;
    width: 15vw;
    transform: rotate(-20deg);
    opacity: 0;
}

    #LandingPage #Partners .biz-card-2.active {
        transform: rotate(0deg);
        opacity: 1;
        left: 5vw;
    }

#LandingPage #Partners h2 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 28px;
}

#LandingPage #Partners .partner {
    opacity: 0.5;
    padding-bottom: 250px;
    min-height: 50vh;
}

    #LandingPage #Partners .partner.active {
        opacity: 1;
    }

    #LandingPage #Partners .partner ul {
        padding-top: 20px;
    }

    #LandingPage #Partners .partner li {
        list-style: disc;
        font-size: 28px;
        padding-top: 20px;
        line-height: 12px;
        color: #eebf1b;
    }

        #LandingPage #Partners .partner li span {
            color: #000;
            font-size: 14px;
            line-height: 25px;
        }
/*#endregion*/
/*#region Landing Page - Contact*/
#LandingPage #Contact {
    position: absolute;
    left: -4px;
    /*right: 20vw;*/
    right: 0;
    opacity: 1;
    background: url('../images/lensflare.png');
    background-size: cover;
    background-position-x: center;
    background-position-y: bottom;
    background-repeat: no-repeat;
    padding: 0;
    min-height: calc(100vh - 140px);
}


    #LandingPage #Contact #ContactInfo {
        opacity: 0;
        position: fixed;
        bottom: 0;
        background-color: #FFF;
        /*padding-right: 30vw;*/
        padding-left: 20px;
        padding-right: 0;
        padding-bottom: 40px;
        /*right: 20vw;*/
        right: 0;
        left: 0;
        text-align: right;
    }

        #LandingPage #Contact #ContactInfo.active {
            opacity: 1;
            padding-right: 35vw;
        }

    #LandingPage #Contact #ContactHeader {
        position: fixed;
        opacity: 0;
        margin-bottom: -8vw;
        top: 200px;
        right: 55vw;
    }

        #LandingPage #Contact #ContactHeader.active {
            opacity: 1;
        }

        #LandingPage #Contact #ContactHeader h1 {
            font-size: 4vw;
            text-align: justify !important;
            color: #555;
        }

#LandingPage #FullContact {
    opacity: 0;
    position: fixed;
    background-color: #2b328d;
    bottom: 40px;
    /*right: 20vw;*/
    right: 0;
    width: 20vw;
    margin-right: 40px;
    text-align: right;
    padding: 30px;
    height: 480px;
}

    #LandingPage #FullContact.active {
        opacity: 1;
        z-index:200;
        width: 30vw;
    }

    #LandingPage #FullContact md-input-container {
        text-align: left;
    }

    #LandingPage #FullContact input, #LandingPage #FullContact textarea {
        background-color: #FFF;
        margin-top: -6px;
        border-bottom-color: red;
        border-bottom: none !important;
    }

    #LandingPage #FullContact .md-input-focused label, #LandingPage #FullContact .md-input-has-value label {
        color: #FFF !important;
    }

    #LandingPage #FullContact button {
        color: #2b328d;
        font-weight: bold;
        font-size: 18px;
        background-color: #eebf1b;
        width: 200px;
    }

     #LandingPage #FullContact button.sent {
        color: #FFF;
     
        background-color: #2b328d;
   
    }
      #LandingPage #FullContact button.sending {
        color: #FFF;
     
        background-color: #eebf1b;
   
    }

#LandingPage .md-char-counter {
    color: #FFF;
}

#LandingPage #Contact .x-button {
    top: -45px;
    right: 35px;
}

    #LandingPage #Contact .x-button hr.x {
        border: 4px #2b328d solid;
    }


/*#endregion*/


/*#region Sidebar*/
#SideBar {
    position: fixed;
    top: 0;
    right: 0;
    width: 20vw;
    height: 100%;
    bottom: 0;
    z-index: 100;
}

    #SideBar #SideBarPattern {
        position: absolute;
        top: 0;
        bottom: 200px;
        left: 0;
        right: 0;
        background-image: url('../images/melius-pattern-x.png');
        background-repeat: no-repeat;
        background-size: cover;
        background-position-y: bottom;
    }



    #SideBar #MiniContact {
        min-width: 200px;
        position: absolute;
        background-color: #FFF;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 20px;
        padding-top: 10px;
        left: 20px;
        right: 20px;
        bottom: 20px;
        height: 150px;
        text-align: center;
        margin-right: 0;
        z-index: 10;
    }

        #SideBar #MiniContact.active {
            opacity: 0;
            left: -100px;
            right: 100px;
            margin-right: 40px;
            text-align: right;
        }

        #SideBar #MiniContact md-input-container {
            text-align: left;
        }



        #SideBar #MiniContact input {
            background-color: #FFF;
            margin-top: -6px;
        }

        #SideBar #MiniContact .md-input-focused label, #SideBar #MiniContact .md-input-has-value label {
            color: #2b328d !important;
        }

    #SideBar button {
        font-size: 18px;
        width: 100%;
        color: #2b328d;
        font-weight: bold;
        background-color: #eebf1b;
    }

/*#endregion*/

/*#region Responsive Design - width*/


@media only screen and (max-width: 800px) {
    .narrow-only {
        display: initial;
    }

    .wide-only {
        display: none;
    }
    #LandingPage #Contact {
        background: none;
    }
    #ContactHeader
    {display:none;}
    #Header #Navigation {
        text-align: center !important;
        right: 0;
        left: 0;
        top: 90px;
        width: 100vw;
    }

        #Header #Navigation input {
            height: 60px;
            padding-top: 40px;
            border: 0;
        }

    #Header img#MeliusMailLogo {
        /*width: 90vw;*/
        position: absolute;
        left: 0;
        top: 0;
        right: auto;
        padding-top: 20px;
        padding-bottom: 0;
        height: 126px;
        /*max-width: 950px;*/
    }
}

@media only screen and (max-width: 1020px) {
    /* For tablets: */
    .narrow-only {
        display: initial;
    }

    .wide-only {
        display: none;
    }
    #LandingPage #Contact {
        background: none;
    }
     #ContactHeader
    {display:none;}
    #Header #Navigation {
        text-align: right;
        right: 0;
    }

    #Header {
        right: 0;
    }

        #Header img#MeliusMailLogo {
            /*width: 90vw;*/
            position: absolute;
            left: 0;
            top: 0;
            right: auto;
            padding-top: 20px;
            padding-bottom: 0;
            height: 80px;
            /*max-width: 950px;*/
        }

    #LandingPage .content {
        position: relative;
        height: 100%;
        min-height: 100vh;
        margin-right: 0;
        z-index: 10;
        left: 0;
        font-size: 20px;
    }

        #LandingPage .content .copy .row {
            padding-top: 100px;
            min-height: 50vh;
        }

    #LandingPage #Partners #PartnerInfoContainer {
        width: 100%;
        padding-left: 0;
        text-align: justify;
    }

        #LandingPage #Partners #PartnerInfoContainer img {
            max-width: 50vw;
            max-height: 15vh;
        }

    #LandingPage #Contact {
        min-height: 100vh;
        right: 0;
    }

    #LandingPage #FullContact {
        right: 50vw;
        left: 50vw;
        bottom: 500px;
        width: 0;
        height: 0;
        text-align: right;
    }

        #LandingPage #FullContact.active {
            right: 0;
            left: 0;
            bottom: 0;
            width: 100vw;
            height: 500px;
        }

        #LandingPage #FullContact md-input-container {
            padding-bottom: 0;
            overflow: hidden;
        }

        #LandingPage #FullContact input {
            font-size: 30px;
        }

        #LandingPage #FullContact button {
            margin-top: 20px;
            font-size: 30px;
        }

    #LandingPage #Contact #ContactInfo {
        opacity: 0;
        position: fixed;
        bottom: 500px;
        background-color: #FFF;
        padding-right: 0;
        padding-left: 30px;
        padding-bottom: 20px;
        right: 0;
        width: 100%;
        text-align: left;
    }

        #LandingPage #Contact #ContactInfo h1 {
            margin-top: 20px;
        }


        #LandingPage #Contact #ContactInfo.active {
            opacity: 1;
            right: 0;
            padding-right: 0;
        }

    #LandingPage #Contact #ContactHeader {
        top: 120px;
        left: 0;
        right: 0;
        text-align: center;
    }

        #LandingPage #Contact #ContactHeader.active {
            position: fixed;
            top: 190px;
        }

        #LandingPage #Contact #ContactHeader h1 {
            font-size: 5vw;
        }

    #LandingPage #Partners .partner li {
        font-size: 40px;
        padding-top: 25px;
        line-height: 12px;
        color: #eebf1b;
    }

        #LandingPage #Partners .partner li span {
            color: #000;
            font-size: 20px;
            line-height: 35px;
        }
}


@media only screen and (min-width: 1020px) and (max-width:1300px) {

    /* For narrow desktop: */

    .narrow-only {
        display: initial;
    }

    .wide-only {
        display: none;
    }

    #Header #Navigation {
        text-align: right;
        right: 0;
    }

    #Header img#MeliusMailLogo {
        left: 20px;
    }

    #LandingPage #Partners #PartnerInfoContainer {
        width: 100%;
        padding-left: 0;
    }

    /*#LandingPage #Partners #PartnerSelector {
        left: 2vw;
        width: 18vw;
    }

        #LandingPage #Partners #PartnerSelector.active {
            left: 2vw;
            width: 18vw;
        }*/

    #LandingPage .content {
        font-size: 16px;
    }

        #LandingPage .content .copy {
            margin-left: 2vw;
            width: 96vw;
        }
}

@media only screen and (min-width: 1300px) {
    /* super wide desktop: */
    .narrow-only {
        display: none;
    }

    .wide-only {
        display: initial;
    }

    #LandingPage .content {
        font-size: 16px;
    }

        #LandingPage .content .copy {
            margin-left: 15vw;
            width: 60vw;
        }

    #LandingPage #Partners #PartnerInfoContainer {
        width: 60vw;
        padding-left: 20vw;
    }
}
/*#endregion*/
