*{
    box-sizing: border-box;
}
section{
    overflow: hidden;
    padding:3em 1em;
}
@media screen and (max-width:500px)
{
    body{ 
        font-size:14px;
    }
}
@media screen and (min-width:1800px){
    body{ 
        font-size:16px;
    }
    section{
        padding:6em 1em;
    }
}
p{
    line-height:1.3em;
}
.strong{
    font-weight:bold;
}
img{
    max-width:100%;
    max-height:100%;
    width:auto;
    height:auto;
    border:0;
    line-height:0;
    margin:0;
}
.img-circle{
    border-radius:50%;
}
.alignleft, .alignright{
    display:block;
    margin:0 auto;
    text-align:center;
    max-width:50%;
}

figcaption{
    font-weight:600;
    font-size:.9em;
    margin:.4em 0;
}

@media screen and (min-width:768px)
{
    .alignleft{
        float:left;
        max-width:300px;
        margin-right:1em;
        margin-bottom:1em;
    }
    .alignright{
        float:right;
        max-width:300px;
        margin-left:1em;
        margin-bottom:1em;
    }
}
@media screen and (min-width:990px)
{
    .alignleft{
        float:left;
        max-width:450px;
        margin-right:2em;
        margin-bottom:2em;
    }
    .alignright{
        float:right;
        max-width:450px;
        margin-left:2em;
        margin-bottom:2em;
    }
}
.left{
    text-align:left !important;
}
.right{
    text-align:right !important;
}
.center{
    text-align:center !important;
}
.small{
    font-size:.8em;
}
.two-third{
    font-size:.75em;
}
.container{
    max-width:1640px;
    margin:0 auto;
    padding:1em;
}

.position-relative{
    position:relative;
}

.nopadding{
    padding:0 !important;
}
.nomargin{
    margin:0 !important;
}
.nobullets{
    list-style-type:none;
    padding-left:0;
}


@media screen and (min-width:768px)
{
    .container{
        padding:2em;
    }
}
@media screen and (min-width:1680px)
{
    .container{
        width:80%;
    }
}

/* FLEX STUFF */
 .d-flex{
     display:flex;
     flex-direction:column;
 }
.gap-15{
    gap:15px;
}
.gap-30{
    gap:30px;
}
.gap-60{
    gap:60px;
}
 @media screen and (min-width:990px)
 {
    .d-flex{
        flex-direction:row;
    }
    .d-flex.flex-column{
        flex-direction:column;
    }
    .row-reverse{
        flex-direction:row-reverse;
    }
 }

.flex-wrap{
    flex-wrap:wrap;
 }

@media screen and (min-width:990px)
{
    .flex-1{
        flex:1;
    }
    .flex-2{
        flex:2;
    }
    .flex-3{
        flex:3;
    }
    .flex-4{
        flex:4;
    }
    .flex-5{
        flex:5;
    }
    .flex-6{
        flex:6;
    }
    .flex-7{
        flex:7;
    }
    .flex-8{
        flex:8;
    }
    .flex-9{
        flex:9;
    }
    .flex-10{
        flex:10;
    }
    .flex-11{
        flex:11;
    }
    .flex-12{
        flex:12;
    }
    .order-1{
        order:1;
    }
    .order-2{
        order:2;
    }
    .order-3{
        order:3;
    }
    .order-4{
        order:4;
    }
    .order-5{
        order:5;
    }
    .justify-start{
        justify-content:flex-start;
    }
    .justify-between{
        justify-content:space-between;
    }
    .justify-around{
        justify-content:space-around;
    }
    .justify-center{
        justify-content:center;
    }
    .justify-start{
        justify-content:flex-start;
    }
    .justify-end{
        justify-content:flex-end;
    }
    .align-center{
        align-items:center;
    }
    .align-start{
        align-items:flex-start;
    }
    .align-end{
        align-items:flex-end;
    }
    .align-stretch{
        align-items:stretch;
    }
    .flex-1-third{
        flex-basis:calc(100% / 3);
    }
    .flex-1-half{
        flex-basis:calc(100% / 3);
    }
    .flex-2-third{
        flex-basis:calc(100% / 1.5);
    }
}


