﻿@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

:root {
    --dark-green: #85c439;
    --green: #D6EBBA;
    --gray: #F0F0F0;
    --dark: #1f1f1f;
    --ivory: #fdfcfa;
    --dark-green: #172D23;
    --warmwhite: #F7F4ED;
}


html {
    font-size: 62.5%; /*16px*/
    font-family: Lato, Poppins, Helvetica Neue, Arial;
    font-weight: 400;
    line-height: 2;
}

body {
    margin: 0 auto;
    box-sizing: border-box;
    text-rendering: optimizeLegibility;
    color: black;
    overflow-x: hidden;
    width: 100%;
}

.UserMessage_Green {
    font-size: 14px;
    font: italic;
    color: #8DC63F;
    font-weight: bold;
}

.UserMessage_Red {
    font-size: 15px;
    font: italic;
    color: red;
    font-weight: bold;
}

.label-warning {
    font-size: 15px;
    font: italic;
    color: red;
    font-weight: bold;
}
h1, h2, h3 {
    font-family: Lato, "Helvetica Neue", Arial;
}

h2{

    font-size: 2.4rem;
}



h4{ /*subtitles*/
    font-size: 1.6rem;
    margin: 0;
}

p, ul, ol{
    font-family: Poppins, sans-serif;
    font-size: 1.6rem;
}

.control-label, .text-danger, .text-danger ul{
    font-family: Questrial, Lato, "Helvetica Neue", Arial;
    font-weight: 400;
/*    font-style: italic;*/
}

input {
    font-family: Lato, "Helvetica Neue", Arial;
    font-weight: 400;
    padding: 0;
    border: 1px solid #d3d3d3;
}

input[type="text"] {
    box-sizing: border-box;
    padding-left: 10px;
    font-family: Lato, Arial, Helvetica, sans-serif;
}


.text-danger {
    color: red;
}

.btn {
    font-family: Lato, "Helvetica Neue", Arial;
    font-weight: 400;
    font-size: 1.6rem;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.btn:active{
    transform: scale(1.05);
}

.btn:hover {
    opacity: 0.9;
    text-decoration: underline;
}



/* ------------------------------- HEADER ------------------------------ */
header {
    /*    position: fixed;*/
    background-color: var(--ivory);
    width: 100%;
    box-shadow: 0.2rem 0.2rem 0.4rem var(--gray);
}

i {
    color: var(--dark-green);
    margin-right: 0.8rem;
}

.contact-information {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style-type: none;
    margin-right: 1rem;
    padding: 0;
    font-size: 1.4rem;
}

.contact-information li a {
    margin: 0 1rem;
    color: black;
    font-weight: 700;
    text-decoration: none;
}

.contact-information li a:hover {
    color: var(--dark-green);
    text-decoration: underline;
}

span {
    margin-right: 0.5rem;
    color: var(--dark-green);
    font-weight: 700;
}

.logo {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
   
    /*    margin-bottom: 10px;*/
}

.logo img {
    width: 25%;
}

/* --------------------------- COVER -------------------------------- */
/*.cover-header{
    height: 100vh;
}*/

.cover {
    background: url("../Images/MyPricingDesk.jpeg");
    background-size: cover;
    display: flex;
    align-items: center;
    background-position: center;
    height: 75vh;
    width: 100%;
    justify-content: center;
}

.title {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}


.title h1 {
    font-size: 5rem;
    letter-spacing: 0.3rem;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0.2rem 0.2rem 0.5rem black;
    text-align: center;
}

/* ------------------------------------ STRIP --------------------------------- */

.strip {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: var(--gray);
}

.strip-text {
    text-align: center;
}

.strip-text p {
    width: 60%;
    margin: auto;
}


/*---------------------------------- CONTAINER -----------------------------------*/

.container {
    display: flex;
    flex-direction: row;
    padding: 50px 0;
}

.container-img {
    width: 40%;
}

.container-img img {
    width: 100%;
}

.container-list {
    margin-left: 150px;
}

.container-list ul {
    list-style-type: none;
}

.container-list ul li {
}

/*---------------------------------- ABOUT SECTION -----------------------------------*/

.about-container {
    background-color: var(--dark);
    display: grid;
    grid-template-columns: 2fr 3fr;
    grid-gap: 10rem;
/*    flex-direction: row;
    justify-content: center;
    align-items: center;*/
    padding: 5rem 10rem;
    
}

.about-video {
    width: 100%;
}

video {
    width: 100%;
}


.about-text {
    color: white;
    text-align: justify;
}

.about-title {
    color: var(--dark-green);
    font-size: 3rem;
    margin: 0;
}


/* ---------------------------------- GRID ---------------------------------------- */

.grid-wrapper {
    display: grid;
    /* grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); */
    grid-template-columns: 2fr 1fr;
/*    justify-content: center;*/

    background-color: var(--green);
    padding: 5rem 10vw;
    grid-gap: 30px;
}


.grid-wrapper-reverse {
    display: grid;
    /* grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); */
    grid-template-columns: 1fr 2fr;
    background-color: white;
    padding: 5rem 10vw;
    grid-gap: 150px;
}

.grid-wrapper-reverse .grid-text{
    justify-self: end;
}

.grid-text h2{
    margin-top: 0;
}


.grid-image img {
/*    max-width: 60%;
    max-height: auto;
    padding: 3.5rem;
    margin-left: 10rem;*/
    width: 100%;
    height: auto;
}

.grid-text ul{
    padding-inline-start: 20px;
}




/*----------------------------------- ACCOUNTS SECTION -------------------------- */


.account-container{
    display: flex;
    background-image: radial-gradient(circle, rgba(214,235,176,0.3452731434370623) 0%, rgba(133,196,57,0.26404065043986347) 74%), url('../Images/harvest_acc.jpeg');
    font-size: 1.4rem;
    background-size: cover;
    background-position: bottom;
    justify-content: center;
   /* align-items: flex-start;*/
/*    padding: 5%;*/
    min-height: 90vh;
    padding: 2rem 0;
}



.section-account {
/*    align-items: flex-start;*/
    background-color: #fff;
    color: black;
    padding: 4rem;
    margin: auto;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border-radius: 5px;
    min-width: 20vw;
    
}

.section-account-title{
    text-align: center;
    color: black;
    font-size: 2em;
    margin-top: 0;
    font-weight: 700;
}

/*#reset-password-page,
#reset-username-page{*/
/*    height: 70vh;*/
/*}

#reset-password-page .section-account,
#reset-username-page .section-account {
    width: 20vw;
}*/

#info-required-label {
    font-family: Lato, sans-serif;
    /*font-style: italic;*/
    margin: 0;
}

#MainContent_ASPxCaptcha1 table tbody tr td {
    /*   display: flex*/
    flex-direction: column;
 /*   width: 100%;*/
    margin-top: 0.6rem;
}


.forgot-credentials-quick-links {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.forgot-link,
.forgot-link:visited{
    text-decoration: none;
    margin-left: 1rem;
    padding: 0;
    color: #a9a9a9;
   
}

.forgot-link:hover {
    text-decoration: underline;
    color: var(--dark-green);
}

.form-control{
    width: 100%;
    height: 4rem;
    border-radius: 5px;
    margin: 0.5rem 0;
}

.form-group{
    margin-bottom: 1rem;
    width: 100%;
}

.register-prompt {
    margin-top: 4rem;
    text-align: center;
    width: 100%;
}

.register-prompt p {
    margin-top: 2rem;
    font-size: 1.4rem;
}

.btnAccountPage {
    width: 100%;
    padding: 15px 0;
}

.btn-default {
    background-color: var(--dark-green);
    color: white;
    margin: 2rem 0;
}

.btnRegister {
    background-color: #888888;
    text-decoration: none;
    color: white;
    display: block;
}

#MainContent_RegisterHyperLink:link,
#MainContent_RegisterHyperLink:visited,
#MainContent_RegisterHyperLink:hover,
#MainContent_RegisterHyperLink:active{
    color: white;
}

.text-danger ul{
    list-style: none;
    padding: 0;
}



/*-------------------------------- SFI: SECTION FINANCIAL INSTRUMENTS -----------------------------*/

.section-financial-instruments{
    background-color: var(--green);
    background-color: white;
    color: black;
    padding: 5rem;
}

.sfi-title{
    text-align: center;
}

.sfi-list-container {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    justify-content: center;
    align-content: center;

}

.fi-type-container {
    padding-left: 25%;
    line-height: 22px;
}

.fi-title {
    font-weight: 600;
}

.fi-type-container ul{
    padding: 0;
    list-style-type: none;
}


/*------------------------ LEGAL PAGES ---------------------*/

.legal-page-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: justify;
  
}

.legal-page{
    width: 80%;
}

.legal-page h1{
    font-size: 3.8rem;
}

.no-spacing{
    padding-bottom: 0;
}

.legal-page p > a:link,
.legal-page p > a:visited,
.legal-page p > a:active,
.legal-page ul li a:link,
.legal-page ul li a:visited,
.legal-page ul li > a:active{
    color: black;
}

.legal-page p > a:hover,
.legal-page ul li > a:hover {
    color: var(--dark-green);
}
/* ------------------------- FOOTER --------------------------------- */


footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--ivory);
    border-top: 1px solid black;
    color: black;
    padding: 0;
    margin-bottom: 0;
    font-family: poppins, sans-serif;
    /*left: 0;
    bottom: 0;*/
    width: 100%;
}

.footer-quick-links {
    /*width: 33.33%;*/
    width: 100%;
}

.footer-quick-links ul {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    justify-content: center;
    align-items: center;
    margin-left: -5rem;
}

.footer-quick-links li {
    text-decoration: none;
    padding: 0 2rem;
    /*    margin: 0 60px;*/
}

footer p {
    width: 100%;
    text-align: center;
}

.footer-quick-links li a:link, a:visited, a:active {
    text-decoration: none;
    color: black;
}

.footer-quick-links li a:hover {
    color: var(--dark-green);
    text-decoration: underline;
}



/* -------------------------- MEDIA QUERIES -------------------------- */
/*Desktop displays*/


@media only screen and (max-width: 1900px) {
    .contact-information {
       
        font-size: 12px;
        gap:10px;
    }
    .fas fa-phone-alt {
        padding-left: 5px;
    }

}


@media only screen and (max-width: 1600px) {

    h2{
        font-size: 2rem;
    }

    p, li {
        font-size: 1.4rem;
    }

    .grid-wrapper, .grid-wrapper-reverse, .about-container {
        grid-template-columns: 1fr 1fr;
        padding: 5rem 10rem;
    }




}

@media only screen and (max-width: 1400px) {
    .contact-information li a {
        font-size: 14px;
        margin: 0;
    }
    h2{
        font-size: 1.8rem;
    }

    .title h1 {
        font-size: 4rem;
    }

    .contact-information li a {
        font-size: 1.2rem;
    }

    .grid-wrapper, .grid-wrapper-reverse, .about-container {
        padding: 5rem;
        grid-gap: 5rem;
    }


    .section-financial-instruments{
        padding: 2rem 5rem;
    }

    .fi-type-container {
        padding: 0;
        line-height: 15px;
    
    }

    .fi-type-container ul li{
        margin-top: 5px;
    }

    .sfi-list-container{
        grid-gap: 2rem;
    }

    .section-account{
        min-width: 50vw;
    }


}

/*Big tablets stop 1200px (width smaller than the 1140px row) */
@media only screen and (max-width:1200px) {

    h2{
        font-size: 1.4rem;
    }

    p, li {
        font-size: 1.2rem;
    }

    .strip-text p{
        width: 90%;
    }
    
    .cover{
        height: unset;
        min-height: 30vh;
    }

    .title h1{
        font-size: 2.8rem;
    }


    .container-list{
        margin: 0;
    }

    .grid-wrapper, .grid-wrapper-reverse, .about-container {
        padding: 3rem;
        grid-gap: 2rem;
    }

    .section-account-title{
        font-size: 2.4rem;
    }


     /*---- Hiding video for mobile layout ---*/
    .about-video{
        display: none;
    }

    .about-container{
        grid-template-columns: 1fr;
    }

}


@media only screen and (max-width:1023px) {
}


/*----------------- MOBILE L-425px--------------------*/
/*Small phones to small tablets; from 481px to 767 px */
@media only screen and (max-width: 767px) {
    #MainContent_ASPxCaptcha1 table tbody tr td {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 0.6rem;
    }
    card clienthomeCard video
    {
        visibility: hidden;
    }
    .contact-information{
        flex-direction: column;
        align-items: flex-end;
    }

    .contact-information li a{
        font-size: 1rem;
        margin: 0;
    }

    .logo img {
        width: 50%;
    }

    .title h1{
        font-size: 1.5rem;
    }

    h2{
        font-size: 1.2rem;
    }

    p, li{
        font-size: 1rem;
    }


    .container{
        padding: 2rem;
    }


    .grid-wrapper, .grid-wrapper-reverse, .about-container {
        padding: 2rem;
 
    }

    .section-financial-instruments{
        padding: 1.2rem;
    }

    .sfi-list-container {
        grid-template-columns: 1fr;
        justify-content: center;
        align-content: center;
        grid-gap: 0;
    }

    .fi-type-container {
        text-align: center;
    }

    .about-container{
        grid-template-columns: 1fr;
    }


    .about-title{
        font-size: 1.8rem;
    }

    .section-account-title {
        font-size: 2rem;
    }

    h4{
        font-size: 1.4rem;
    }

    .account-container{
        padding: 1rem;
    }

    .btnAccountPage{
        padding: 1rem 0;
        margin: 0;
    }
    

    .section-account{
       padding: 3rem;
       width: 80%;
       font-size: 1.2rem;
       
    }


}

@media only screen and (max-width: 480px) {

    .container-list ul {
        margin: 0;
        padding-left: 2rem;
    }


    .grid-wrapper, .grid-wrapper-reverse, .about-container {
        padding: 2rem;
        grid-template-columns: 1fr;
    }

    .footer-quick-links ul {
        flex-direction: column;
        margin: 0;
        padding: 0;
        padding-top: 1rem;
    }
}

.contact-information li a {
    font-size: 9px;
    margin: 0;
}


/*lightbox info ******************/
/* Lightbox container, hidden by default */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 0;
    width: 80%;
    height: 300px;
    overflow: auto;
    /*background-color: rgba(0, 0, 0, 0.8);*/
   
}

/* Lightbox image */
.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    height: 300px;
    max-width: 60%;
    max-height: 300px;
    animation: fadeIn 0.5s;
    
}

/* Caption text */
.caption {
    text-align: center;
    color: white;
    padding: 10px;
    font-size: 1.2em;
}

/* Close button */
.close {
    position: absolute;
    top: 10px;
    right: 35px;
    color: white;
    font-size: 300px;
    font-weight: bold;
    cursor: pointer;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Thumbnail styling */
.thumbnail {
    cursor: pointer;
    width: 150px;
}
