/* by Karen Zhou */

/*
=======================
NOTES
=======================
- --black and --white are not true black and white to lower the contrast
*/

/*
==========================
VARIABLE DECLARATIONS
==========================
*/
:root {

    /*--- Universal Colors ---*/
    --black: #05152B;
    --white: #FCFCFC;
    --lighten: rgba(256,256,256,0.1);
    --shadow: rgba(0,0,0,0.4);

    /*
    --- Theme Colors ---
    #10416E (dark blue)
    #45B0BA (teal)
    #ECF0C5 (light green)
    #FD8E4E (orange)
    #12809A (dark teal)
    */
    --primary: #10416E;
    --secondary: #45B0BA;
    --primary_accent: #45B0BA;
    --primary_hover: #ECF0C5;
    --secondary_accent: #FD8E4E;
    --interface_accent: #ECF0C5;
    --decorative_accent: #12809A;
    --decorative_text_color: #FFFFFF;
    --title-color: #FFFFFF;

    /*
    --- Fonts ---
    */
    --decorative_text_family: 'Istok Web', sans-serif;
    --copy_text_family: 'Roboto', sans-serif;
    --hyperlink_family: 'Roboto', sans-serif;
    --small-text: 0.8rem;

    /*--- Borders ---*/
    --rounded: 1rem;
    --small_rounded: 0.3rem;
    --untabbed_transparent: 1px solid transparent;
    --tab_focus: 2px solid;

    /*--- Misc ---*/
    --hover-transition-time: 0.15s;
    --scroll-factor: 0.5;
}


/*
=======================
UNIVERSAL STYLES
======================= 
*/
body{
    background-color: #0C2F53;
}
label{
    font-family: var(--decorative_accent);
    color: var(--black);
}
input {
    margin-bottom: 0.5rem;   
    padding: 0.1rem 0.5rem !important;
    height: 1.5rem;
    border: 1px solid var(--decorative_accent) !important;
    border-radius: var(--small_rounded) !important;
    font-size: 90% !important;
    font-family: var(--copy_text_family) !important;
    color: #5D5D5D;
}
input:focus {
    outline: var(--tab_focus) var(--interface_accent)!important;
}
hr{
    margin-top: 4rem;
    border-bottom: 1px solid var(--decorative_accent);
}

.material-icons-round {
    vertical-align: text-bottom;
    font-size: 1.2em !important;
}

/*
=======================
CLASSES
=======================
*/

/* ---BANNER-- */
.banner{
    margin-bottom: 0px;
    margin-top: 0px;
    padding-top: 3rem;
    min-height: 400px;
    background-image: url("../images/watertile2.png");
    background-repeat: repeat-x;
    background-color: #0C2F53;
}
.banner h1{
    margin-bottom: 0.5vmin;
    text-align: left;
    font-family: var(--decorative_text_family);
    font-weight: 500;
    text-transform: uppercase;
    color: var(--title-color);
}
@media screen and (min-width: 992px){
    .banner h1{
        font-size: 5rem;
    }
}
@media screen and (max-width: 991px){
    .banner h1{
        font-size: 5rem;
    }
}

.banner p{
    max-width: 700px;
    text-align: left;
    font-family: var(--copy_text_family);
    font-size: 1rem;
    font-weight: 300;
    color: var(--white);
}
/*.parallax-bg {
    background-image: url("/images/cloud_banner-03.svg");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}*/

/* ---LOGIN--- */
/*825px form should immediately switch to vertical*/

.logo {
    padding: 0.1rem; 
    width: 10vmax;
}
.logo:focus {
    outline: 2px solid var(--interface_accent);
}

.login {
    height: 100%;
}
.login-btn{
    margin-bottom: 1rem;
    background-color: var(--primary_accent);
    height: 1.5rem;
    width: 100%;
    outline: none;
    border: none;
    border-radius: var(--small_rounded);
    text-transform: uppercase;
    text-align: center;
    text-decoration: none !important;
    font-family: var(--decorative_text_family);
    font-weight: 400;
    color: var(--black) !important;
    transition-duration: var(--hover-transition-time);
    cursor: pointer;
}
.login-btn:hover {
    background-color: var(--primary_hover);
}
.login-btn:focus {
    outline: 2px solid var(--interface_accent);
}

.signup-btn{
    height: 1.5rem;
    outline: none;
    border: none;
    border-radius: var(--small_rounded);
    text-transform: uppercase;
    text-align: center;
    text-decoration: none !important;
    font-family: var(--decorative_text_family);
    font-weight: 600;
    color: var(--interface_accent) !important;
    transition-duration: var(--hover-transition-time);
    cursor: pointer;
}
.signup-btn:hover {
    background-color: var(--lighten);
}
.signup-btn:focus{
    outline: 2px solid var(--interface_accent);
}


.login{
    padding: 1rem;
    height: 100%;
    /*background-color: var(--shadow);*/
    border: 1px solid var(--white);
    border-radius: var(--rounded);
    text-align: center;
}
.login h2 {
    font-family: var(--decorative_text_family);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--black);
}
.login p {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    display: inline-block;
    text-align: center;
    font-family: var(--copy_text_family);
    font-size: var(--small-text);
    color: var(--black);
}
.login hr{
    display: block;
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    width: 200px;
    border-top: 1px solid var(--decorative_accent);
}
#invalid {
    margin: 0.5rem 0;
    padding: 0.2rem;
    width: 100%;
    background-color: var(--secondary_accent);
    border-radius: var(--small_rounded);
    text-align: center;
    font-family: var(--copy_text_family);
    color: var(--black);
}

/* ---NAVBAR--- */
/*Adding onto Bootstrap's nav wrapper class*/
.nav-wrapper{
    margin-bottom: 4rem;
    border-top: 1px solid var(--decorative_accent);
    border-bottom: 1px solid var(--decorative_accent);
    /*background-color: var(--primary);*/
}
/*Adding onto Bootstrap's navbar class*/
.navbar {
    z-index: 5;
    /*background-color: var(--primary);*/
    /*box-shadow: 0 3px 5px var(--shadow);*/
    font-size: 0.9rem;
    font-family: var(--copy_text_family);
    /*transition-duration: 0.5s;*/
}
.navbar li a, .navbar .navbar-brand {
    margin: 0 1vmin;
    padding: 0 0.2rem;
    border: var(--untabbed_transparent);
    border-radius: var(--small_rounded);
    color: var(--white) !important;
    transition-duration: var(--hover-transition-time);
}
/*navbar links*/
.nav li a:hover {
    background-color: var(--shadow) !important;
}
.nav li a:focus{
    background-color: var(--shadow) !important;
    outline: var(--tab_focus) var(--interface_accent);
}
.sticky {
  position: fixed;
  top: 0;
  margin-bottom: 2rem;
  width: 100%;
}
.content {
  display: block;
  z-index: 2;
  padding: 1rem 0 2rem 0;
  background-color: var(--primary);
  background-image: linear-gradient(180deg, rgba(255,0,0,0), rgba(255,0,0,0), rgba(18,128,154, 0.3), rgba(18,128,154, 0.4));
}


/* ---SECTIONS--- */
.topic{
    margin-top: 4rem;
    margin-left: auto;
    margin-right: auto;
    /*padding: 3rem;*/
    /*background-color: var(--lighten);*/
    /*border-radius: var(--small_rounded);*/
}
.topic div{
    margin-bottom: 3rem;
}
.topic h1{
    margin-bottom: 2rem;
    text-align: center;
    font-family: var(--decorative_text_family);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--decorative_text_color);
}
.topic h2{
    margin-bottom: 3rem;
    text-align: center;
    font-family: var(--decorative_text_family);
    font-size: 2rem;
    font-weight: 400;
    color: var(--decorative_text_color);
}
.topic h3{
    margin: 0 0 1rem 0;
    text-align: center;
    font-family: var(--decorative_text_family);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
}
.topic h4{
    font-family: var(--decorative_text_family);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--white);
}
.topic p{
    text-align: justify;
    font-family: var(--copy_text_family);
    font-weight: 300;
    color: var(--white);
}
.topic img{
    display: flex;
    margin-bottom: 2rem !important;
    margin-left: auto;
    margin-right: auto;
    vertical-align: middle;
    width: 100%;
    max-width: 256px;
}


.go-btn {
    margin: 0.2rem;
    padding: 0.2rem 1rem;
    background-color: var(--primary_accent);
    outline: none;
    border: none;
    border-radius: var(--small_rounded);
    text-transform: uppercase;
    text-align: center;
    text-decoration: none !important;
    font-family: var(--decorative_text_family);
    font-weight: 600;
    color: var(--black) !important;
    transition-duration: var(--hover-transition-time);
    cursor: pointer;
}
.go-btn:hover {
    background-color: var(--primary_hover);
}
.go-btn:focus {
    outline: 2px solid var(--interface_accent);
}

/*--- PRICING TABLE ---*/
.chart {
    padding: 1rem;
    border-collapse: separate;
    border: 1px solid var(--white);
    border-radius: var(--rounded);
    color: var(--white);
}
.chart th[scope=col]{
    border-top: 0px;
    border-bottom: 0px;
    /*padding: 0.5em;*/
    font-weight: 400 !important;
}
.chart th[scope=row]{
    border-right: 1px solid var(--white) !important;
    border-top: 1px solid var(--white) !important;
    border-bottom: 0px !important;
    padding: 1em;
    font-weight: 300 !important;
    font-family: var(--copy_text_family), sans-serif;
}
.chart td{
    padding: 1em;
    border-top: 1px solid var(--white) !important;
    font-weight: 300 !important;
    font-family: var(--copy_text_family), sans-serif;
}
.interoperableaddon {
    color: var(--white);
    font-family: var(--decorative_text_family), sans-serif;
    padding: 0px !important;
    font-weight:400;
}

.resources-btn{
    margin-bottom: 0.2rem;
    padding: 1rem;
    display: inline-block;
    width: 100%;
    background-color: var(--primary_accent);
    border: none;
    border-radius: var(--rounded);
    text-align: center;
    text-decoration: none !important;
    font-family: var(--decorative_text_family);
    font-weight: 400;
    color: var(--black) !important;
    transition-duration: var(--hover-transition-time);
    cursor: pointer;
}
.resources-btn:hover{
    background-color: var(--primary_hover);
}
.resources-btn:focus{
    outline: var(--tab_focus) var(--interface_accent);
}

/* ---HYPERLINKS--- */
.hyperlink:link, .hyperlink:visited {
    padding: 0.1rem;
    font-weight: 400 !important;
    font-family: var(--hyperlink_family);
    color: var(--interface_accent);
    text-decoration: underline;
    transition-duration: var(--hover-transition-time);
}
.hyperlink:hover, .hyperlink:active {
    background-color: var(--shadow);
    border-radius: var(--small-rounded);
    font-family: var(--hyperlink_family);
    color: var(--white);
}   
.hyperlink:focus {
    border-radius: var(--small_rounded);
    outline: var(--tab_focus) var(--interface_accent);
}


/* ---MODAL--- */
/*Adding onto Bootstrap's modal classes*/

.modal-header {
    margin: 0 !important;
    background-color: var(--white) !important;
    font-family: var(--decorative_text_family);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--black);
}
.modal-close {
    /*margin: 0rem 0rem 0rem 10rem !important;*/
    /*padding: 0.5rem !important;*/
    border-radius: 20rem;
    color: var(--decorative_accent) !important;
    opacity: 1.0;
    text-shadow: none !important;
}
.modal-close:hover, .modal-close:active {
    border-radius: 20rem;
    background-color: var(--shadow);
    color: var(--black) !important;
    opacity: 1.0;
    text-shadow: none !important;
    transition-duration: var(--hover-transition-time);
}
.modal-close:focus {
    outline: var(--tab_focus) var(--interface_accent);
}

.modal-body{
    margin-bottom: 2rem !important;
}
.modal-body p{
    margin-top: 1.5rem;
    margin-bottom: 0.5rem !important;
    font-family: var(--decorative_text_family);
    font-weight: 500;
    color: var(--black);
}
.modal-body li{
    padding: 0.5rem !important;
    border: none !important;
}
.modal-body a:link, .modal-body a:visited {
    padding: 0.3rem;
    font-family: var(--copy_text_family);
    color: var(--decorative_accent);
    text-decoration: none;
    transition-duration: var(--hover-transition-time);
}
.modal-body a:hover, .modal-body a:active {
    background-color: var(--interface_accent) !important;
    border-radius: var(--small_rounded);
    font-family: var(--hyperlink_family);
    color: var(--black);
}   
.modal-body a:focus {
    border-radius: var(--small_rounded);
    outline: var(--tab_focus) var(--decorative_accent);
}
.modal-footer {
    margin: 0 !important;
    background-color: var(--white);
}


/* ---CONTACT--- */
.contact {
    margin: 3rem auto;
    padding: 3rem;
    text-align: center; 
}
.contact div{
    margin: 1rem 0;
    font-weight: 300;
    font-family: var(--copy_text_family);
    color: var(--white);
}
.contact h2{
    font-weight: 300;
}
.contact img{
    width: 67%;
    height: 80%;
    max-height: 168px;
    max-width: 200px;
}

/* ---FOOTER--- */
.footbar{
    padding: 2rem;
    background-color: #0B203C;
    text-align: center;
}
.footbar hr{
    display: block;
    margin-top: 2rem;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    border-top: 1px solid var(--decorative_accent);
}
.footbar h3{
    margin-top: 1.5rem;
    font-family: var(--decorative_text_family);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    text-transform: uppercase;
}
.footbar ul{
    padding: 0;
    list-style: none;
}
.footbar li{
    margin-bottom: 0.5rem;
    color: var(--secondary);
}
.footbar a:link, .footbar a:visited {
    padding: 0.1rem 0.1rem 0 0.1rem;
    border-bottom: 1px solid var(--interface_accent);
    font-family: var(--copy_text_family);
    color: var(--interface_accent);
    text-decoration: none;
    transition-duration: var(--hover-transition-time);
} 
.footbar a:hover, .footbar a:active {
    background-color: var(--shadow);
    border-bottom: 0;
    border-radius: var(--small_rounded);
    font-family: var(--hyperlink_family);
    color: var(--white);
}   
.footbar a:focus {
    border-radius: var(--small_rounded);
    border-bottom: 0;
    outline: var(--tab_focus) var(--interface_accent);
}
.copyright{
    font-weight: 300;
    font-size: var(--small-text);
    font-family: var(--copy_text_family);
    color: var(--white);
}
.copyright p{
    margin: 0;
}



