/*
Theme Name: Seqolah
Version: 1.0
Theme URI: https://www.oketheme.com/themes/seqolah-theme/
Author: Rizky 
Author URI: https://www.oketheme.com
Description: The best schoool wordpress theme
Tags: school, news, oketheme
*/
:root {
    --color1:  #6dd47e;
    --color2: #ffd55a;
    --color3: #293253;
    --colorbg: #FAFAFA;
    --colorborder: #F5F5F5;
    --txt-dark : #000;
    --dark : #000;
    --txt-light : #fff;
    --light : #fff;
    --maxwidth: 1150px;
    --center: calc((100% - var(--maxwidth)) / 2);
    --bradius: 20px;
}

body {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    line-height: 1.75em;
    color: var(--dark);
    background: var(--light);
    margin: 0;
}

*,
:after,
:before {
    box-sizing: border-box;
}

ul,
li {
    margin: 0;
    padding: 0;
}

/* LINK */

a{
    color: var(--dark);
    transition: .2s;
}

a:hover {
    color: var(--color2);
}

a:active,
a:hover,
a:link,
a:visited {
    text-decoration: none;
}

/* HEADING */

h1 {
    font-size: 1.6em;
}

h2 {
    font-size: 1.4em;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5 {
    font-size: 1em;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 20px 0;
    font-weight: 700;
    line-height: 1.2em;
    color: var(--color1);
}
b {
    font-weight: 600;
}

/* h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
    margin-top: 0;
} */

/* FORM, INPUT, SELECT, TEXTAREA, RADIO & BUTTON */
input:not([type='radio']):not([type='checkbox']),
button,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit
}

input:not([type='radio']):not([type='checkbox']),
select,
textarea {
    padding: .5em 1em;
    outline: 0;
    background: var(--colorbg);
    border: 1px solid var(--colorborder);
    border-radius: var(--bradius);
    box-shadow: 0 2px 0 0 rgba(0,0,0,.027);
}

.bttn,
.button-primary,
.form-submit input,
button {
    cursor: pointer;
    padding: .4em 1.3em;
    background: var(--color1);
    border: 0;
    outline: 0;
    color: #FFF;
    transition: .5s;
    display: inline-block;
    border-radius: var(--bradius);
}
.bttn:hover,
.button-primary:hover,
.form-submit input:hover,
button:hover {
    color: #FFF;
    background: var(--color2);
}
.bttn:focus {
    color: #FFF;
}

input[type=text]:focus,
select:focus,
textarea:focus {
    background: #FCFCFC;
}

textarea::placeholder,
input::placeholder {
    color: #AAA;
}

/* BLOCKQUOTE & CODE */
blockquote {
    font-size: 110%;
    width: 95%;
    margin: 20px auto;
    font-style: italic;
    padding: 10px 40px;
    border: 1px solid var(--colorborder);
    position: relative;
    background: var(--light);
    border-radius: var(--bradius);
}

blockquote::before {
    font-family: arial, sans-serif;
    content: "\201C";
    color: var(--color1);
    font-size: 6em;
    position: absolute;
    left: 0;
    top: 30px;
}

blockquote::after {
    content: '';
}

code {
    background: var(--colorbg);
    color: var(--color3);
    padding: 20px;
    display: block;
    border-radius: var(--bradius);
}

/* WP RESET IMAGE & CAPTION */

.wp-caption,
img,
img.alignnone,
p img {
    max-width: 100%;
}

img {
    height: auto;
}

a img {
    border: none;
}

img.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img.aligncenter {
    display: block;
    margin: 10px auto;
}

img.alignright {
    display: inline;
    float: right;
    margin: 0 0 5px 5px;
}

img.alignleft {
    display: inline;
    float: left;
    margin: 0 5px 5px 0;
}

.wp-caption img {
    margin: 0;
    padding: 0;
    border: none;
}

.wp-caption p.wp-caption-text {
    font-size: .8em;
    margin: 0;
    text-align: center;
}

.wp-caption.aligncenter {
    display: block;
    margin: 10px auto;
}

.wp-caption.alignleft {
    float: left;
    margin: 5px 10px 5px 0;
}

.wp-caption.alignright {
    float: right;
    margin: 5px 0 5px 10px;
}

/* libs */

.flexcol{
    display: flex;
    flex-direction: column;
}

.flex{
    display: flex;
}

.gap-5{
    gap: 5px!important;
}

.gap-10{
    gap: 10px!important;
}

.gap-15{
    gap: 15px!important;
}

.gap-20{
    gap: 20px!important;
}

.gap-30{
    gap: 30px!important;
}

.gap-40{
    gap: 40px!important;
}

.gap-50{
    gap: 50px!important;
}

.gap-60{
    gap: 60px!important;
}

.nm{
    margin: 0!important;
}

.nm-top{
    margin-top: 0!important;
}

.nm-bot{
    margin-bottom: 0!important;
}

.nm-wrap > *{
    margin: 0!important;
}

.alignself-left{
    align-self: flex-start;
}

.alignself-center{
    align-self: center;
}

.alignself-right{
    align-self: flex-end;
}


/* Font Size */
.small {
    font-size: .8em;
}
.medium {
    font-size: .9em;
}
.large {
    font-size: 1.2em;
}