/* BUTTONS */

.aks-button {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    text-decoration: none;
    padding: 20px;
    background: linear-gradient(135deg, #e57373, #ffa4a2);
    border-radius: 35px;
    width: 80%;
    box-shadow: 1px 3px 15px rgba(0,0,0,0.35);
    margin-top: 30px;
    margin-bottom: 30px;
}
.aks-shortcode {
    display: flex;
    justify-content: center;
    margin: 30px 0px;
}
.aks-lead,
.aks-button-text,
.aks-button-left,
.aks-button-right {
    display:block;
}
.aks-button-left img {
    height: 50px;
    width: 50px;
    margin-top: 10px;
    margin-right: 15px;
}
.aks-lead {
    font-size: 0.8em;
    color: white;
}
.aks-button-text {
    font-size: 1.8em;
    color: white;
    font-weight: bold;
}

@media only screen and (max-width: 767px) {
    .aks-button-text {
        font-size: 1.5em;
    }
    .aks-button-left img {
        height: 45px;
        width: 45px;
    }
}
@media only screen and (min-width: 768px) {
    .aks-button {
        width: 70%;
    }
}

/* LINKS */

.aks-shortcode-link {
    margin: 20px 0px;
}

.aks-link {
    background: linear-gradient(135deg, #eeecec, #e9e9e9);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
}
.aks-link-head {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}
.aks-link-head-left {
    flex-shrink: 0;
}
.aks-link-head-left img {
    height: 90px;
    width: auto;
}
.aks-link-head-right {
    padding-left: 15px;
}
.aks-link-text {
    font-size: 120%;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}
.aks-link-body {
    margin-top: 15px;
    margin-left: auto;
}
.aks-link-details-button {
    display: inline-flex;
    align-items: center;
    color: white;
    font-weight: bold;
    color: black;
}
.aks-link-details-button img {
    padding: 4px 6px;
    height: 30px;
    width: auto;
    display: inline-block !important;
}

.aks-link-simple {
    display: flex;
    flex-direction: row;
    padding: 10px 0;
}
.aks-link-simple img {
    height: 25px;
    width: auto;
    margin-right: 10px;
    display: inline-block;
    flex-shrink: 0;
}
.aks-link-simple a {
    font-weight: bold;
    font-size: 1.1em;
    color: black;
    display: inline-block;
}


@media only screen and (max-width: 767px) {
    .aks-link-head {
        flex-direction: column;
    }
    .aks-link-head-right {
        padding-left: 0px;
    }
}

@media only screen and (min-width: 768px) {
    .aks-link {
        width: 70%;
    }
}


/* MEDIA ITEMS */

.aks-media-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin: 20px 0px;
    padding: 0px 10px;
    max-width: 100%;
}
.aks-media-item img {
    flex-shrink: 0;
}
.aks-media-item p.aks-media-item-text {
    padding: 0px 10px 10px 30px;
    margin: 0;
}
.aks-media-item p.aks-media-item-text span {
    display: block;
    margin: 0 0 10px;
}
.aks-media-item p.aks-media-item-text a {
    text-decoration: none;
}

@media only screen and (max-width: 767px) {
    .aks-media-item {
        flex-direction: column;
        position: relative;
    }
    .aks-media-item img.aks-media-item-image {
        width: 140px;
        position: absolute;
        top: 20px;
        left: 10px;
    }
    .aks-media-item p.aks-media-item-text {
        font-size: 0.8rem;
        padding: 20px 10px 10px 0px;
    }

    .aks-media-item p.aks-media-item-text:before {
            content: '' ;
            display:block;
            float: left;
            height: 100px;
            width: 150px;
    }
}


/* LISTS */

.aks-list-header {
    display: block;
    margin: 30px 0px 20px;
    border-bottom: 3px solid #e57373;
    color: #e57373;
    font-size: 1rem;
    font-weight: bold;
}

ol.aks-list,
ul.aks-list {
    padding-left: 5px;
}

ol.aks-list li.aks-list-item,
ul.aks-list li.aks-list-item {
    font-size: 1.4rem;
    font-weight: bold;
    color: #e57373;
    padding: 5px;
}
ol.aks-list li.aks-list-item {
    list-style: decimal;
}
ul.aks-list li.aks-list-item {
    list-style-type: disc;
}

.aks-list-item span {
    font-size: 0.9rem;
    font-weight: normal;
    color: #333;
}

/* GRID */

.aks-grid {
    margin: 20px 0px;
    display: grid;
    grid-gap: 20px;
}

.aks-grid-item {
    display: flex;
    flex-direction: column;
    font-weight: bold;
}

.aks-grid-item img {
    display: block;
    max-width: 100%;
}

@media only screen and (max-width: 767px) {
    .aks-grid {
        grid-template-columns: 1fr !important;
        width: 95%;
        margin: 20px auto;
    }
}

/* STEPS */

div#aks-steps.aks-steps {
    display: grid;
    grid-template-columns: 1fr 0.1fr 1fr 0.1fr 1fr 0.1fr 1fr 0.1fr 1fr;
    grid-gap: 5px;
    border: 5px solid #e57373;
    padding: 10px;
    margin: 20px auto;
}
div#aks-steps.aks-steps svg {
    margin: 10px;
}
div#aks-steps.aks-steps div.aks-step {
    display: flex;
    flex-direction: column;
    align-items: center;
}
div#aks-steps.aks-steps div.aks-step span {
    font-weight: bold;
}
div#aks-steps.aks-steps div.aks-step span.aks-step-number {
    font-size: 1.8rem;
    color: #25a59a;
    padding-bottom: 15px;
}
div#aks-steps.aks-steps div.aks-step span.aks-step-title {
    font-size: 1.2rem;
    text-align: center;
    height: 70px;
    display: flex;
    align-items: center;
}
div#aks-steps.aks-steps div.aks-step span.aks-step-text {
    padding: 10px;
    font-weight: normal;
}
div#aks-steps.aks-steps span.aks-step-arrow {
    display: flex;
    align-items: center;
    color: #25a59a;
    font-size: 2rem;
}
@media only screen and (max-width: 767px) {
    div#aks-steps.aks-steps {
        grid-template-columns: 1fr !important;
    }
    div#aks-steps.aks-steps span.aks-step-arrow {
        transform: rotate(90deg);
        justify-content: center;
    }
}

/* FOR LANDING PAGES */

.aks-highlight {
    display: inline-block;
    font-size: 30px;
    line-height: 7px;
    padding: 5px 5px 0;
    margin-bottom: 20px;
    background: white;
    color: steelblue;
    border-bottom: 12px solid LightSteelBlue;
}

.aks-pointing-down {
    font-size: 3rem;
    font-weight: bold;
    display: block;
    text-align: center;
}

.aks-display {
    font-weight: bold;
    color: white;
    text-align: center;
    margin-bottom: 20px;
}
.aks-display.small {
    font-size: 1.4rem;
    text-shadow: 2px 1px 4px black;
}
.aks-display.normal {
    font-size: 2rem;
    text-shadow: 3px 2px 6px black;
}
.aks-display.large {
    font-size: 3rem;
    text-shadow: 4px 3px 8px black;
}

div.aks-blue-bg {
    background: steelblue !important;
    color: white !important;
}

a.aks-blue-button {
    padding: 10px 20px !important;
    border-radius: 25px !important;
    background: steelblue !important;
    color: white !important;
    font-size: 3rem !important;
    text-shadow: 4px 3px 8px black !important;
    max-width: 60% !important;
    display: block !important;
    margin: 30px auto !important;
    text-align: center;
    text-decoration: none !important;
}

@media only screen and (max-width: 767px) {
    .aks-highlight {
        display: inline-block;
        font-size: 24px;
        padding: 5px;
        line-height: unset;
        margin-bottom: 0px;
        background: white;
        color: steelblue;
        border:none;
        background: azure;
    }
    .aks-highlight::before {
        content: '☞';
        color: steelblue;
        background: azure;
        padding-right: 10px;
    }
    a.aks-blue-button {
        font-size: 1.8rem !important;
        max-width: 90% !important;
        padding: 5px 10px;
    }
}