@import "normalize.css";
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,700|Roboto:400,700");

html, 
body {
    font-size: 1em;
    color: #313131;
    font-family: "Open Sans", sans-serif;
    vertical-align: baseline;
    line-height: 1.5em;
    font-weight: 400;
    margin: 0;
    background-color: #fff;
}

/*  Responsive Styles   */
* {
    box-sizing: border-box;
}

.left,
.right,
.column,
.ctaLeft,
.ctaRight
.faqLeft,
.faqRight{
    width: 100%;
    padding: 0 3vw;
    margin: auto;
}

.faqLeft,
.faqRight{
    padding-top: 5px;
}

@media only screen and (min-width: 992px){
    .left{
        width: 50%;
        padding: 0 50px 0 30px;
    }
    .right{
        width: 50%;
        padding: 0 30px 0 50px;
    }
    .column{
        float: left;
    }
    .ctaLeft,
    .rrRight{
        width: 60%;
        padding: 10px;
    }
    .ctaRight,
    .rrLeft{
        width: 40%;
        padding: 10px;
    }
    .faqLeft{
        width: 50%;
    }
    .faqRight{
        width: 50%;
    }
}

/*  Clear floats after the columns  */
.row::after{
    content: "";
    clear: both;
    display: table;
}

/*  End Responsive Styles   */

/*  Text Styles   */

a {
    text-decoration: none;
    color: #3366ff;
    font-weight: 600;
}


h2{
    font-family: 'Roboto', sans-serif;
    font-size: 27px;
    color: #555; /*#4c4c4c;*/
}

h3{
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    color: #555;
}

p{
    max-width: 592px;
}

strong{
    color: #555;
    font-weight: 700;
}

/* Horizontal Intro Divider   */

.introDiv{
    display: flex;
    flex-direction: row;
    margin: 20px 3vw;
}

.introDiv::before,
.introDiv::after {
    content: "";
    flex: 1 1;
    margin: auto;
    height: 1px;
    background-color: #3366ff;/*MS #0079fe;*/
}

.introDiv h2{
    margin: 0 25px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}
    
@media only screen and (min-width: 468px){
    .introDiv{
        margin: 60px 3vw 20px;
    }  
}

@media only screen and (min-width: 992px){
    .introDiv{
        margin: 30px 3vw;
    }
}

/*  Modal Styles   */

#modalOverlay{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    z-index: 10;
}

#modalBox{
    position: fixed;
    bottom: 0;
    left: 0;
    background: #79f;
    border: 1px solid #3366ff;
    border-style: solid none;
    margin: auto;
    width: 100%;
}

@media only screen and (min-width: 468px){
    #modalBox{
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
        padding-top: 10px;
    }
}

.questionBox{
    margin: -5px 0 -10px;
    text-align: center;
}

@media only screen and (min-width: 468px){
    .questionBox{
        margin: -10px 15px;
    }
}

.questionBox p{
    color: #fff;
    font-weight: 600;
}

.buttonBox{
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
}

.modalButton {
    width: 80px;
    padding: 5px;
    margin: 5px 15px 15px;
    background: #fff;
    border: 1px solid #3366ff;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.5s;
}

.modalButton:hover{
    background: #3366ff;
    color: #fff;
}
/*
.modalButton.green{
    border: 1px solid green;
}


.modalButton.red{
    border: 1px solid red;
}
*/
.modalButton.green:hover{
    background: green;
    color: #fff;
}

.modalButton.red:hover{
    background: red;
    color: #fff;
}

/*  End Modal Styles   */

/*  Banner and CTA Styles   */

#introBanner{
    width: 100%;
    display: block;
    background-color: #6b93ff;
    background-image: url("../images/man-640.png");
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: contain;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    height: calc(100vh - 450px);
    width: 100vw;
    max-width:100%;     
}

@media only screen and (min-width: 468px) {
    #introBanner{        
        background-color: #6b93ff;
        /*background-color: #3366ff;*/
        background-image: url("../images/man-640.png");
        background-position: 25% 50%;
        background-repeat: no-repeat;
        background-size: contain;
        -webkit-background-size: contain;
        -moz-background-size: contain;
        -o-background-size: contain;
        height: calc(100vh - 350px);
        max-height: 520px;
    }
}

#domainName{
    width: 100vw;
    max-width: 100%;
    /*display: initial;*/
    display: none;
}

@media only screen and (min-width: 468px) {
    #domainName{
        display: none;
    }
}

#domainName h1{
    display: block;
    position: relative;
    float: left;
    overflow: hidden;
    width: 100%;
    text-transform: uppercase;
    margin-top: 0;
    padding: 1em;
    padding-bottom: 1.2em;
    background: #3366ff;
    border-bottom: 1px solid #333;
    border-left-style: none;
    font-size: calc(1em + 2vw);
    font-weight: 700;
    color: #fff;
}

#domainName h2{
    display: block;
    position: absolute;
    top: calc(53px + 2.7vw);
    left: 50%;
    text-align: center;
    padding: 0.4em;
    background: #444;
    font-size: calc(.5em + 2vw);
    font-weight: 400;
    border: 1px solid #333;
    border-radius: 0 0 0 60px;
    width: 50%;
    color: #eee;
}

.mobile{
    display: initial;
}

.desktop{
    display: none;
}

@media only screen and (min-width: 468px) {
    .desktop{
        display: initial;
    }
    
    .mobile{
        display: none;
    }
}

.formRight{
    display: none;
}

.formBelow{
    display: initial;
}

@media only screen and (min-width: 992px) {
    .formRight{
        display: initial;
    }
    
    .formBelow{
        display: none;
    }
}

section{
    max-width: 1400px;
    margin: auto;
    padding: 0 3vw;
    background-color: #fff;
}

#ctaContainer{

}

#ctaContainer #intro{
    padding: 20px 0 0;
}

@media only screen and (min-width: 992px) {
    #ctaContainer #intro{
        padding: 3vw 3vw 0;
    }
}

#ctaContainer #intro p{
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    line-height: 1.5;
}

/*  Contact Form    */

#contactForm {
    background: rgba(234, 237, 237, 1);
    border: 1px solid #ccc;
    border-radius: 0px;
    padding: 30px 35px 40px;
    margin: 40px auto;
    z-index: 9;
    max-width: 400px;
    height: 450px;
}

#contactForm h3{
        font-size: 18px;
        font-weight: 700;
        color: #555;
    }

@media only screen and (min-width: 468px) {
    #contactForm {
        height: 314px;
        padding: 6px 35px 40px;
        margin: 40px 0;
    }
    
    #contactForm h3{
        font-size: 1.4rem;
    }
}

@media only screen and (min-width: 992px) {
    #contactForm {
        border-radius: 8px;
        margin: -84px auto 0;
        min-width: 372px;
    }
    
    #contactForm h3{
        font-size: 1.3rem;
    }
}

@media only screen and (min-width: 1130px) {
    #contactForm h3{
        font-size: 1.4rem;
    } 
}

form fieldset {
    width: 100%;
    border: none;
    padding: 0;
    margin: 20px 0;
}

/* Processed meat in a can tastes sooo good! */
form input[name="lastofsender"] {
  display: none;
}

form textarea[name="messageofsender"] {
  display: none;
}
/* I ate some processed meat in a can today */

form fieldset input {
    width: 100%;
    height: 50px;
    display: block;
    background: #fafafa;
    padding: 0 20px;    
    font-style: italic;
    font-weight: 700;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 0px;
}

@media only screen and (min-width: 992px) {
    form fieldset input {
        border-radius: 8px;
    }
}

form fieldset input:focus {
    width: 100%;
    height: 50px;
    display: block;
    background: #fafafa;
    padding: 0 20px;
    border: none;
    font-style: italic;
    font-size: 13px;
    font-weight:600;
}

.contactButton {
    position: relative;
    width: 100%;
    padding: 18px 0px;
    background: #3366ff;
    border: 1px solid #fff;
    border-radius: 0px;
    color: #fff;
    font-size: 14px;
    /*font-weight: 400;*/
    font-weight: 700;
    transition: all 0.5s;
}

.contactButton:hover {
    background: #32cd32;
    color: #fff;
}

@media only screen and (min-width: 992px) {
    .contactButton {
        border-radius: 8px;
    }
}

#scroll{
    display: block;
    display: block;
    margin: auto;
    width :34px;
    height: 55px;
}


@media only screen and (min-width: 992px) and (max-width: 1108px){
    #scroll{
        display: block;
        margin-top: -20px;
    }
}

.scroll-down {
    width: 55px;
    height: 55px;
    border-radius: 0 0 0 25%;
    background-color: #fff;
    border: solid #aaa; /*#3366ff;*/
    border-width: 0 0 2px 2px; 
    transform: rotate(45deg);
    -webkit-transform: rotate(-45deg);
    animation-name: scroll;
    animation-duration: 2.2s;
    animation-timing-function: cubic-bezier(.15,.41,.69,.94);
    animation-iteration-count: infinite;
}

@keyframes scroll {
    0% { transform: rotate(-45deg) translate(20px, -20px); opacity: 0;}    
    100% { transform: rotate(-45deg) translate(-10px, 10px); opacity: 0.5;}
}

/*  Invoice Box */

.invoice-box {
    padding: 30px;
    border: 1px solid #ccc;
    border-radius: 15px;
    font-size: 16px;
    line-height: 24px;
    font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;
    color: #555;
}

@media only screen and (min-width: 600px) {
    .invoice-box {
        margin-top: 2vw;
    }
}

.invoice-box table {
    width: 100%;
    line-height: inherit;
    text-align: left;
    border-spacing: 0;
}

.invoice-box table td {
    padding: 5px;
    vertical-align: top;
}

.invoice-box table tr td:nth-child(2) {
    text-align: right;
}

.invoice-box table tr.top table td {
    padding-bottom: 20px;
}

.invoice-box table tr.top table td.title {
    font-size: 45px;
    line-height: 45px;
    color: #333;
}

.invoice-box table tr.information table td {
    padding-bottom: 40px;
}

.invoice-box table tr.heading td {
    background: #eee;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
}

.invoice-box table tr.details td {
    padding-bottom: 20px;
}

.invoice-box table tr.item td{
    border-bottom: 1px solid #ccc;
}

.invoice-box table tr.item.last td {
    border-bottom: none;
}

.invoice-box table tr.total td:nth-child(2) {
    border-top: 1px solid #ccc;
    font-weight: bold;
}

@media only screen and (max-width: 600px) {
    .invoice-box table tr.top table td {
        width: 100%;
        display: block;
        text-align: center;
    }
    
    .invoice-box table tr.information table td {
        width: 100%;
        display: block;
        text-align: center;
    }
}

/** RTL **/
.rtl {
    direction: rtl;
    font-family: Tahoma, 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;
}

.rtl table {
    text-align: right;
}

.rtl table tr td:nth-child(2) {
    text-align: left;
}

#invoiceFooter{
    padding-top: 26px;
    padding-bottom: 22px;
}

@media only screen and (min-width: 468px) {
    #invoiceFooter{
        padding-top: 32px;
        padding-bottom: 8px;
    }
}

@media only screen and (min-width: 992px){
    #invoiceFooter{
        padding-top: 50px;
        padding-bottom: 0;
    }
}

/* Risk Reversal Section RR */

#rrContainer{

}

@media only screen and (min-width: 468px) {
    #rrContainer{
        margin-top: 30px;
    }
}

@media only screen and (min-width: 992px) {
    #rrContainer{
        margin-top: 30px;
        /* 
        Add these back and comment out margin-top line above when order is reversed.
        margin-top: 90px;
        padding: 0 3vw;
        */
    }
}

#rrBox{
    max-width: 100%;
}

#rrImage{
    width: 100%;
}

#rrImage img{
    display: block;
    margin: 30px auto;
    width:100%;
    max-width: 275px;
}

#rrIntro{
    float: initial;
}

@media only screen and (min-width: 992px) {
    #rrImage img{
        margin: 0 0 0 20px;
        max-width: 400px;
    }
    #rrIntro{
        float: right;
        margin: 10px 20px 0 0;
    }
}

#rrIntro p{
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    text-align: initial;
    line-height: 1.5;
}

/*  External Registrar Links ERL   */

#erlContainer{

}

@media only screen and (min-width: 468px) {
    #erlContainer{
        margin-top: 30px;
    }
}

@media only screen and (min-width: 992px) {
    #erlContainer{
        /*
        margin-top: 30px;
        Add this back and comment out margin/padding line below when order reversed.
        */
        margin-top: 90px;
        padding: 0 3vw;
    }
}

#erlIntro{
    padding: 3px 0;
}

@media only screen and (min-width: 468px) {
    #erlIntro{
        padding: 16px 0;
    }   
}

@media only screen and (min-width: 992px) {
    #erlIntro{
        padding: 18px 1vw;
    }  
}

#erlIntro p{
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
}

@media only screen and (min-width: 468px) {
    #erlIntro p{
        font-size: 20px;
    }
}

#erlList{
    display: block;
    margin: 0 50px 40px 0;
}

@media only screen and (min-width: 992px) {
    #erlList{
        margin: auto;
    }
}


#erlContainer ul{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    list-style-type: none;
}

#erlContainer ul li{
    padding: 0 22px;
}


/*  FAQ    */

#faqContainer{
  
}

#faqContainer h2{
    text-transform: uppercase;
    font-size: 20px;
    color: #3683dc;
}

#faqContainer h3{
    font-size: 20px;
    color: #555;
}

#faqContainer p{
    line-height: 1.5;
}

#faqIntro{    
    text-align: center;
    max-width: 100%;
    margin: 25px auto 20px;
    padding: 20px;
    background: rgba(234, 237, 237, 1);
    border: 1px solid #ccc;
    font-size: 1.2em;
    font-weight: 700;
}

@media only screen and (min-width: 468px) {
    #faqIntro{
        text-align: left;
        margin: 30px auto;
    }
}

@media only screen and (min-width: 992px) {
    #faqIntro{
        text-align: left;
        margin: 55px auto 30px;
    }
}

.faqImage{
    width: 100%;
    max-width: 320px;
    height: auto; 
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 22px 0;
}


@media only screen and (min-width: 992px) {
    .faqImage{
        max-width: 410px;
    }
    
    .faqImageRight{
        float: right;
    }
}

.faqBreak{
    height: 1px;
    margin: 30px 3vw;
    background-color: #ccc;
}

/*  Footer  */

footer{
    background: #333;
    position: absolute;
    width: 100%;
    margin-top: 35px;
}

footer::before{
    position: absolute;
    height: 20px;
    width: 100%;
    content: "";
    background-color: #6b93ff;
    padding: 0px;
}

span{
        display: block;
        text-align: center;
}

@media only screen and (min-width: 468px) {
    span{
        display: initial;
        text-align: initial;
    }
}

footer ul{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    margin: 45px 0 20px;
    list-style-type: none;
    color: #ddd;
    font-size: 16px;
}

@media only screen and (min-width: 992px){
    footer ul{
        margin-bottom: 25px;
    }
}

footer ul li{
    margin: 0 auto;
    padding: 8px 27px;
}

footer ul li a{
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

footer ul li a:hover {
  color: #fff;
  font-weight: 700;
}

/* Ticker Tape */

.ticker-wrap{
    display: none;
}

@media only screen and (min-width: 992px){

    @-webkit-keyframes ticker {
        0% {
            -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
            visibility: visible;
        }
        100% {
            -webkit-transform: translate3d(-100%, 0, 0);
            transform: translate3d(-100%, 0, 0);
        }
    }

    @keyframes ticker {
        0% {
            -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
            visibility: visible;
        }
            100% {
            -webkit-transform: translate3d(-100%, 0, 0);
            transform: translate3d(-100%, 0, 0);
        }
    }

    .ticker-wrap {
        display: initial;
        position: fixed;
        bottom: 0;
        width: 100%;
        overflow: hidden;
        height: 2rem;
        background-color: rgba(234, 237, 237, 0.8);
        padding-left: 100%;
        box-sizing: content-box;
    }

    .ticker-wrap .ticker {
        display: inline-block;
        height: 2rem;
        line-height: 2rem;
        white-space: nowrap;
        padding-right: 100%;
        box-sizing: content-box;
        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;
        -webkit-animation-timing-function: linear;
        animation-timing-function: linear;
        -webkit-animation-name: ticker;
        animation-name: ticker;
        -webkit-animation-duration: 100s;
        animation-duration: 100s;
    }

    .ticker-wrap .ticker__item {
        display: inline-block;
        padding: 0 2rem;
        font-size: 1rem;
        /*color: #ff0303;*/
        color: #32cd32;
        
    }
}