/************************************************************************
*   Author: Sean O'Brien
*   Create Date: 06/30/2018
*   Lasted Modifly Date: 07/1/2018
************************************************************************/

/********************

Main Color : #00AA8D
Light Color : #00BF9A
Darker Color : #008975

********************/

.row
{
    display: flex;
    flex-wrap: wrap;
    
}
.fx-100
{
    flex: 100%;
}
.fx-75
{
    flex: 75%;
}
.fx-70
{
    flex: 70%;
}
.fx-50
{
    flex: 50%;
}
.fx-49
{
    flex: 49%;
}
.fx-40
{
    flex: 40%;
}
.fx-30
{
    flex: 30%;
}
.fx-25
{
    flex: 25%;
}
.fx-20
{
    flex: 20%;
}
.fx-auto
{
    flex: auto;
}

.fx-end
{
    justify-content: flex-end;
}

.fx-center
{
    justify-content: center;
    align-items: center;
}

.fx-z
{
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
}



.box
{
    background-color: #f1f1f1;
    width: 100px;
    margin: 10px;
    text-align: center;
    line-height: 75px;
    font-size: 30px;
}

div.sideDivider
{
    border-left: #00AA8D 2px solid;
    flex: 1%;
    margin: 5px;
}

h1,h2,h3
{
    font-family: 'Encode Sans Condensed', sans-serif;
    
}

body
{
    background-color: #313030;
    font-family: 'Encode Sans Condensed', sans-serif;
    font-weight: 400;
}

header 
{
    background: #00AA8D;
    color: #f6f6f6;
    display: flex;
    padding: 15px;
    font-weight: 500;
    align-content: center;
    align-items: center;
}
header > #title
{
    display: flex;
    align-content: center;
    align-items: center;
}
header > #title > p
{
    font-size: 30px;
    font: 500;
    padding-left: 10px;
}


nav 
{
    height: 300px;
    background-color: #008975;
    padding-top: 10px;
    padding-left: 15px;
    padding-right: 15px;
    z-index: 1;
}

nav > #menuSelected
{
    display: flex;

    text-decoration: none;
    z-index: 1;
}

nav > #menuSelected >  span
{
    flex: auto;
}

nav > #menuSelected > a 
{
    text-decoration: none;
    color: #f6f6f6;
    font-size: 20px;
}


nav #menuSelected > a > span > span > i 
{
    padding-right: 5px;
} 

nav > #menu
{
    padding-left: 30px;
    padding-top: 10px;
}

nav > #menu > div > p > a
{
    color: #f6f6f6;
    font-size: 17px;
    text-decoration: none;
}

nav > #menu > div > p
{
    
    font-size: 17px;
    padding: 10px;
    margin-left: -10px;
}

nav > #menu > div > p.active 
{
    
    font-size: 17px;
    background-color: #00BF9A;
    padding: 10px;
    margin-left: -10px;
    
}

nav > div > div > a > i
{
   
    padding-right: 15px;
    padding-left: 10px;
    color: #f6f6f6;
    animation-duration: 200ms;
    animation-name: rotate;
}
nav > #title
{
    font-weight: 500;
}
main
{
    background-color: #f6f6f6;
    z-index: 3;
    margin-top: -260px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    min-height: 300px;
    
}
main#main.activeDown
{
    margin-top: -5px;
    animation-duration: .3s;
    animation-name: mainDown;
}
main#main.activeUp
{
    margin-top: -260px;
    animation-duration: .3s;
    animation-name: mainUp;
}

main > article
{
    display: flex;
}

.card
{
    box-sizing: border-box;
    margin: 8px;
    box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, .26);
    z-index: 4;
    
    background-color: white;
    border-radius: 5px;
}

.cardContent
{
    padding: 5px;
    z-index: 4;
}

#me
{
    width: 95%;
    margin-top:30px;
    border-radius: 5px;
}


.btn
{
    font-size: 14px;
    font-family: 'Encode Sans Condensed', sans-serif;
    font-weight: 500;
    border-radius: 13.5px;
    padding: 0 6px;
    margin: 6px 8px;
    line-height: 36px;
    min-height: 36px;
    min-width: 88px;
    text-align: center;
    outline: none;
    border: 0;
    cursor: pointer;
    text-transform: uppercase;
}
.btn-text
{
    background-color: rgba(0, 0, 0, 0);
}
.btn-outline
{
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid #00AA8D;
    color: #00AA8D;
    text-transform: uppercase;
}
.btn-outline:hover,.btn-text:hover,.btn-outline:focus,.btn-text:focus
{
    background-color: rgba(0, 191, 153, 0.26) !important;
}

.btn-outline:active,.btn-text:active
{
    transform: translateY(1px);
}

.btn-rasied
{
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);

}
.btn-rasied:hover,.btn-rasied:focus
{
    background-color: rgba(0, 191, 153, 1);
}
.btn-rasied:active
{
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    transform: translateY(1px);
}
.btn-primary
{
    background-color: #00AA8D;
    color: white;
}
/*************************************************
    forums Inputs from @thatemil https://thatemil.com/blog/2016/01/23/floating-label-no-js-pure-css/ for input
*************************************************/
.formGroup
{
    display: flex;
    flex-flow: column-reverse;
    margin-bottom: 16px;
}
.formGroup > label, .formGroup > input, .formGroup > textarea, .formGroup > select
{
    transition: all 0.2s;
    touch-action: manipulation;
    z-index: 1;
}

.formGroup > input
{
    font-size: 16px;
    border: 0;
    border-bottom: 1px solid #ccc;
    font-family: inherit;
    -webkit-appearance:  none;
    border-radius: 0;
    padding: 0;
    cursor: text;
    
}

.formGroup > textarea
{
    font-size: 16px;
    border: 0;
    border-bottom: 1px solid #ccc;
    font-family: inherit;
    -webkit-appearance:  none;
    border-radius: 0;
    padding: 0;
    cursor: text;
    height: 200px;
}

.formGroup > select
{
    font-size: 16px;
    border: 0;
    border-bottom: 1px solid #ccc;
    font-family: inherit;
    -webkit-appearance:  none;
    border-radius: 0;
    padding: 0;
    cursor: text;
    text-transform: uppercase;
}

.formGroup > select:invalid
{
    background-color: white;
}
.formGroup > select:valid
{
    background-color: white;
}
.formGroup > select > option
{
    text-transform: uppercase;
}

.formGroup > select > option:disabled
{
    display: none;
    background: white;
}
.formGroup > input:focus
{
    outline: 0;
    border-bottom: 1px solid #00AA8D;
}

.formGroup > textarea:focus
{
    outline: 0;
    border-bottom: 1px solid #00AA8D;
}

.formGroup > select:focus
{
    outline: 0;
    border-bottom: 1px solid #00AA8D;
}

.formGroup > label
{
    text-transform: uppercase;
    letter-spacing: 0;
}

.error
{
    text-transform: uppercase;
    color: red;
    transition: all 0.2s;
    overflow: hidden;
    position: absolute;
    z-index: 0;
    opacity: 0;
}

.errorActive
{
    white-space: nowrap;
    opacity: 1;
    text-overflow: ellipsis;
    transform-origin:  top;
    font-size: 75%;
    transform: translate(0px, 20px) scale(1);
}

/*******************************
    Tranlateing and scale the label up to cover the placeholder
    When following an input with placeholder-show support
********************************/
.formGroup > input:placeholder-shown + label
{
    cursor: text;
    max-width: 66.66%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform-origin:  left bottom;
    transform: translate(0, 20px) scale(1);
}

.formGroup > textarea:placeholder-shown + label
{
    cursor: text;
    max-width: 66.66%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform-origin:  left bottom;
    transform: translate(0, 10px) scale(1);
}

.formGroup > select:invalid + label
{
    cursor: text;
    max-width: 66.66%;
    white-space: nowrap;
    overflow: hidden;
    background-color: white;
    text-overflow: ellipsis;
    transform-origin:  left bottom;
    transform: translate(0, 15px) scale(1);
}
/***********
    by default the place should be transparent, also should inherit the transition
***********/
::-webkit-input-placeholder
{
    opacity: 0;
    transition: inherit;
}
::-webkit-textarea-placeholder
{
    opacity: 0;
    transition: inherit;
}

::-webkit-select:invalid
{
    opacity: 0;
    transition: inherit;
}


.formGroup > input:focus::-webkit-input-placeholder
{
    opacity: 1;
}
.formGroup > textarea:focus::-webkit-textarea-placeholder
{
    opacity: 1;
}
.formGroup > select:invalid
{
    opacity: 1;
}
/********************************
    when the element is focused remove the label transform
    also do this when the placehould is not showing
********************************/

.formGroup > input:not(:placeholder-shown) + label, .formGroup > input:focus + label
{
    font-size: 12px;
    transform: translate(0,0) scale(1);
    cursor: pointer;
    color: #00AA8D;
}

.formGroup > textarea:not(:placeholder-shown) + label, .formGroup > textarea:focus + label
{
    font-size: 12px;
    transform: translate(0,0) scale(1);
    cursor: pointer;
    color: #00AA8D;
}

.formGroup > select:valid + label 
{
    font-size: 12px;
    transform: translate(0,0) scale(1);
    cursor: pointer;
    color: #00AA8D;
}
/***************************************************
    Timeline help form W3 Schools
*************************************************/
*
{
    box-sizing: border-box;
}
#timeline
{
    background-color: #00BF9A;

    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    flex-wrap: wrap;
    
}
#timeline::after
{
    content: " ";
    position: absolute;
    width: 6px;
    background: white;
    top: 0;
    bottom: 0;
    left: 50%;
    margin: -3px;
    
}

.container
{
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    
}
.container::after
{
    content: " ";
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: white;
    border: 4px solid #00BF9A;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}
.right
{
    left: 50%;
}
.left
{
    left: 0;
}
.left::before
{
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
    
}.right::before
{
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

.right::after
{
    left: -16px;
}

.content
{
    padding: 20px 30px;
    background: white;
    position: relative;
    border: 6px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    border-radius: 5px;
}

.toolbar
{
    background-color: #f6f6f6;
    padding: 15px;
    width: 100%;
    font-size: 20px;
}
.toolbar > .toolbarContent
{
    padding-left: 15px;
    text-transform: uppercase;
}

.alert
{
    background-color: #f6f6f6;
    padding: 15px;
    width: 100%;
    font-size: 20px;
    display: flex;
    text-transform: uppercase;

}

.alert > span
{
    flex: auto;
}

.alertHidden
{
    opacity: 0;
    margin-top: -50px;
}

.danger
{
    background-color: #fab3ae;
    border: 1px solid #f44336;
    color: white;
}

.success
{
    background-color: #a5d7a7;
    border: 1px solid #4CAF50;
    color: white;
}
.primary
{
    background: #00AA8D !important;
    color: white !important;
}
.primaryIcon
{
    color: #00AA8D;
}
@media screen and (max-width: 700px)
{
    .row
    {
        flex-direction: column;
    }

    
}

@media screen and (max-width: 600px)
{
    #timeline::after
    {
        left: 31px;
    }
    .container
    {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .container::before
    {
        left:60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }
    .left::after, .right::after
    {
        left: 15px;
    }
    .right
    {
        left: 0px;
    }
}
.column
{
    display: flex;
    flex-direction: column;
}

/****************************************************
*   KeyFrames
****************************************************/
@keyframes rotate
{
    from 
    {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        background-color: #00AA8D;
        padding: 5px;
        border-radius: 50px;
    }
    to
    {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
    }
}

@keyframes mainDown
{
    0% 
    {
        margin-top: -260px;
    }
    25%
    {
        margin-top: -195px;
    }
    50%
    {
        margin-top: -130px;
    }
    75%
    {
        margin-top: -65px;
    }
    100%
    {
        margin-top: -5px;
    }
    
}
@keyframes mainUp
{
    0% 
    {
        margin-top: -5px;
    }
    25%
    {
        margin-top: -65px;
    }
    50%
    {
        margin-top: -130px;
    }
    75%
    {
        margin-top: -195px;
    }
    100%
    {
        margin-top: -260px;
    }
} 

