/*RESET*/
* {
    margin: 0;
    padding: 0;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

/*VARIABLES*/
:root {
    --font-min: 0.8em;
    --font-small: 0.875em;
    --font-normal: 1em;
    --font-medium: 1.2em;
    --font-large: 1.4em;
    --font-max: 2em;

    --color-default: #555555;
    --color-green: #36BA9B;
    --color-blue: #39AED9;
    --color-yellow: #F5B946;
    --color-red: #D94352;
    --color-fsphp: #1D2025;

    --weight-light: 300;
    --weight-normal: 400;
    --weight-strong: 600;
    --weight-bold: 700;
    --weight-black: 900;

    --hover-color-green: #61DDBC;
    --hover-color-blue: #66D4F1;
    --hover-color-yellow: #FCD277;
    --hover-color-red: #F76C82;
    --hover-duration: 0.3s;

    --gradient-green: linear-gradient(to right, #42E695 0%, #3BB2B8 50%, #42E695 100%);
    --gradient-blue: linear-gradient(to right, #17EAD9 0%, #6078EA 50%, #17EAD9 100%);
    --gradient-red: linear-gradient(to right, #622744 0%, #C53364 50%, #622744 100%);
    --gradient-yellow: linear-gradient(to right, #FCE38A 0%, #F38181 50%, #FCE38A 100%);

    --radius-normal: 5px;
    --radius-medium: 10px;
    --radius-large: 20px;
    --radius-round: 50%;

    --index-back: -1;
    --index-fold: 2;
    --index-menu: 3;
    --index-modal: 4;
}

h1 {
    font-size: 2em;
}
h2 {
    font-size: 1.5em;
}
h3 {
    font-size: 1.2em;
}
h4 {
    font-size: 1em;
}
h5 {
    font-size: 0.875em;
}

/*ELEMENTS*/
img {
    max-width: 100%;
}

img a {
    border: none;
}

ul {
    list-style: none;
}

p {
    margin: 20px 0 0 0;
}

embed,
video,
iframe,
iframe[style] {
    max-width: 100%;
    height: auto;
}

.embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.embed iframe, .embed object, .embed embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.strike {
    text-decoration: line-through;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset;
    -webkit-text-fill-color: #555555 !important;
}

/*ICONS NORMALIZE*/
[class^="icon-"]:before,
[class*=" icon-"]:before {
    position: relative !important;
    top: .125em !Important;
    margin-right: .4em !Important;
}

.icon-notext:before {
    top: 0;
    margin-right: 0 !important;
}

/*DEFAULT LOAD*/
.ajax_load {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: calc(var(--index-modal) * 2);
}

.ajax_load_box {
    margin: auto;
    text-align: center;
    color: #ffffff;
    font-weight: var(--weight-bold);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.ajax_load_box_circle {
    border: 16px solid #e3e3e3;
    border-top: 16px solid var(--hover-color-green);
    border-radius: 50%;
    margin: auto;
    width: 80px;
    height: 80px;

    -webkit-animation: spin 1.2s linear infinite;
    -o-animation: spin 1.2s linear infinite;
    animation: spin 1.2s linear infinite;
}

.ajax_load_box_title {
    margin-top: 15px;
    font-weight: var(--weight-strong);
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*DEFAULT POPUP*/
.popup {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--index-modal);
    justify-content: center;
    align-items: center;
}

.popup_box {
    position: relative;
    display: flex;
    background: #ffffff;
    width: 90%;
    flex-basis: 90%;
    height: 100%;
    max-height: 90%;
    border-radius: var(--radius-normal);
}
.popup_content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
    width: 100%;
    max-height: 100%;
    overflow: auto;
}
.popup_close {
    position: absolute;
    top: 2px;
    right: 20px;
    font-size: 30px;
    color: #D94352;
    z-index: 100;
}
.popup_close:hover {
    color: #f03e3e;
    cursor: pointer;
}

/*CONTAINER*/
.content,
.container {
    display: block;
    width: 1200px;
    max-width: 90%;
    margin: 0 auto;
}

.content {
    padding: 60px 0;
}

/*EFFECTS*/
.transition {
    transition-duration: var(--hover-duration);
}

.radius {
    -webkit-border-radius: var(--radius-normal);
    -moz-border-radius: var(--radius-normal);
    border-radius: var(--radius-normal);
}

.rounded {
    -webkit-border-radius: var(--radius-round);
    -moz-border-radius: var(--radius-round);
    border-radius: var(--radius-round);
}

.box-shadow {
    -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.3);
}

/*MARGIN*/
.m-top{
    margin-top: 20px !important;
}
.m-bottom{
    margin-bottom: 20px !important;
}

/*FLEX*/
.flex{
    display: flex;
}
.flex-full{
    flex-basis: 100%;
}

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

.flex-nowrap{
    flex-wrap: nowrap;
}
.flex-al-start{
    align-items: flex-end;
}
.flex-al-center{
    align-items: center;
}
.flex-al-right{
    align-items: flex-end;
}

.flex-ju-start{
    justify-content: flex-start;
}
.flex-ju-center{
    justify-content: center;
}
.flex-ju-end{
    justify-content: flex-end;
}

/*ALIGN*/
.al-center {
    text-align: center;
}

.al-left {
    text-align: left;
}

.al-right {
    text-align: right;
}

/*DISPLAY*/
.ds-block {
    display: block;
}

.ds-flex {
    display: flex;
}

.ds-inblock {
    display: inline-block;
}

.ds-inline {
    display: inline;
}

.ds-none {
    display: none;
}

/*GRADIENTS*/
.gradient {
    background-size: 200% auto;
    transition-duration: 0.5s;
}

.gradient-green {
    background-image: var(--gradient-green);
}

.gradient-blue {
    background-image: var(--gradient-blue);
}

.gradient-yellow {
    background-image: var(--gradient-yellow);
}

.gradient-red {
    background-image: var(--gradient-red);
}

.gradient-hover:hover {
    background-position: right center;
}

/*BUTTONS*/

.btn {
    display: inline-block;
    padding: 5px 10px;
    background: #555555;
    border: none;
    cursor: pointer;

    color: #ffffff;
    font-size: 0.9em;
    font-weight: var(--weight-strong);
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);

    -webkit-border-radius: var(--radius-normal);
    -moz-border-radius: var(--radius-normal);
    border-radius: var(--radius-normal);
    transition-duration: var(--hover-duration);
}

.btn.round{
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    padding: 5px 8px !important;
}

.btn-gray {
    background-color: #d7d7d7;
}

.btn-gray:hover {
    background-color: #cccccc;
}

.btn-green {
    background-color: var(--color-green);
}

.btn-green:hover {
    background-color: var(--hover-color-green);
}

.btn-blue {
    background-color: var(--color-blue);
}

.btn-blue:hover {
    background-color: var(--hover-color-blue);
}

.btn-red {
    background-color: var(--color-red);
}

.btn-red:hover {
    background-color: var(--hover-color-red);
}

.btn-yellow {
    background-color: var(--color-yellow);
}

.btn-yellow:hover {
    background-color: var(--hover-color-yellow);
}

.btn-small {
    padding: 4px 9px;
}

.btn-medium {
    padding: 8px 12px;
}

.btn-large {
    padding: 12px 20px;
}

.btn-xlarge {
    padding: 20px 60px;
}

.btn-xxlarge {
    padding: 25px 80px;
}

.btn-full {
    width: 100%;
}

.btn-middle {
    width: 50%;
}

@media(max-width: 32em){
    .btn-middle{
        width: 100%;
    }
}


/*BOX*/
.box10{
    flex-basis: 10%;
}
.box20{
    flex-basis: 20%;
}
.box25{
    flex-basis: 25%;
}
.box30{
    flex-basis: 30%;
}
.box40{
    flex-basis: 40%;
}
.box50{
    flex-basis: 50%;
}
.box60{
    flex-basis: 60%;
}
.box70{
    flex-basis: 70%;
}
.box80{
    flex-basis: 80%;
}
.box90{
    flex-basis: 90%;
}
.box100{
    flex-basis: 100%;
}

@media(max-width: 48em){
    .box10,
    .box20,
    .box25,
    .box30,
    .box40,
    .box50,
    .box60,
    .box70,
    .box80,
    .box90,
    .box100{
        flex-basis: 100%;
    }
}

/*COLUMN*/
.col01{
    flex-basis: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}
.col02{
    flex-basis: calc(50% - 10px);
    margin-left: 0;
    margin-right: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.col02:nth-of-type(2n+0){
    margin-right: 0;
}
.col03{
    flex-basis: calc(33.33% - 13.5px);
    margin-left: 0;
    margin-right: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.col03:nth-child(3n+0){
    margin-right: 0;
}
.col04{
    flex-basis: calc(25% - 11.5px);
    margin-left: 0;
    margin-right: 15px;
    margin-top: 7.5px;
    margin-bottom: 7.5px;
}
.col04:nth-of-type(4n+0){
    margin-right: 0;
}
.col05{
    flex-basis: calc(20% - 15px);
    margin-left: 0;
    margin-right: 18px;
    margin-top: 9px;
    margin-bottom: 9px;
}
.col05:nth-of-type(5n+0){
    margin-right: 0;
}
.col06{
    flex-basis: calc(16.66% - 15px);
    margin-left: 0;
    margin-right: 18px;
    margin-top: 9px;
    margin-bottom: 9px;
}
.col06:nth-of-type(6n+0){
    margin-right: 0;
}
.col2080{
    flex-basis: calc(20%);
    margin-right: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.col2080:nth-of-type(2n+0){
    flex-basis: calc(80% - 20px);
    margin-right: 0;
    margin-top: 10px;
    margin-bottom: 10px;
}
.col3070{
    flex-basis: calc(30%);
    margin-right: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.col3070:nth-of-type(2n+0){
    flex-basis: calc(70% - 20px);
    margin-right: 0;
    margin-top: 10px;
    margin-bottom: 10px;
}
.col4060{
    flex-basis: calc(40%);
    margin-right: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.col4060:nth-of-type(2n+0){
    flex-basis: calc(60% - 20px);
    margin-right: 0;
    margin-top: 10px;
    margin-bottom: 10px;
}
.col6040{
    flex-basis: calc(60%);
    margin-right: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.col6040:nth-of-type(2n+0){
    flex-basis: calc(40% - 20px);
    margin-right: 0;
    margin-top: 10px;
    margin-bottom: 10px;
}
.col7030{
    flex-basis: calc(70% - 20px);
    margin-right: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.col7030:nth-of-type(2n+0){
    flex-basis: calc(30%);
    margin-right: 0;
    margin-top: 10px;
    margin-bottom: 10px;
}
.col8020{
    flex-basis: calc(80% - 20px);
    margin-right: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.col8020:nth-of-type(2n+0){
    flex-basis: calc(20%);
    margin-right: 0;
    margin-top: 10px;
    margin-bottom: 10px;
}

@media(max-width: 42em){
    .col2080, .col3070, .col4060, .col6040, .col7030, .col8020{
        flex-basis: 100%;
        margin-right: 0;
    }

    .col2080:nth-of-type(2n+0),
    .col3070:nth-of-type(2n+0),
    .col4060:nth-of-type(2n+0),
    .col6040:nth-of-type(2n+0),
    .col7030:nth-of-type(2n+0),
    .col8020:nth-of-type(2n+0){
        flex-basis: 100%;
    }

    .col06,
    .col05,
    .col04{
        margin-right: 0;
    }

    .col06{
        flex-basis: calc(33.33% - 8.5px);
        margin: 0 10px 10px 0;
    }

    .col06:nth-of-type(3n+0){
        margin-right: 0;
    }

    .col05,
    .col04{
        flex-basis: calc(50% - 10px);
        margin-right: 20px;
    }

    .col05:nth-of-type(2n+0),
    .col04:nth-of-type(2n+0){
        margin-right: 0;
    }

    .col05:nth-of-type(5n+0){
        flex-basis: 100%;
    }
}

@media(max-width: 32em){
    .col01,
    .col02,
    .col03,
    .col04,
    .col05,
    .col06,
    .col3070,
    .col4060,
    .col6040,
    .col7030{
        margin-right: 0;
    }

    .col01,
    .col02,
    .col03,
    .col04,
    .col05,
    .col06,
    .col3070,
    .col4060,
    .col6040,
    .col7030,
    .col02:nth-of-type(2n+0),
    .col03:nth-of-type(3n+0),
    .col04:nth-of-type(4n+0),
    .col05:nth-of-type(5n+0),
    .col06:nth-of-type(3n+0),
    .col3070:nth-of-type(2n+0),
    .col4060:nth-of-type(2n+0),
    .col7030:nth-of-type(2n+0){
        flex-basis: 100%;
    }
}