/*
Theme Name: APIE Wordpress Theme
Author: HMG Creative
Author URI: http://hmgcreative.com
Description: A custom theme for Austin Partners in Education
Version: 1.0

-------------------------------------------------------------- */


/* Reset
-------------------------------------------------------------- */


html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    font: inherit;
    font-size: 100%;
}


/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

html {
    margin: 0;
    padding: 0;
    font-size: 62.5%;
    /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
    -webkit-text-size-adjust: 100%;
    /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
    -ms-text-size-adjust: 100%;
    /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

code,
kbd,
tt,
var {
    font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

sup,
sub {
    font-size: 75%;
    height: 0;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    bottom: 1ex;
}

sub {
    top: .5ex;
}

small {
    font-size: 75%;
}

big {
    font-size: 125%;
}

figure {
    margin: 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

th {
    font-weight: bold;
}

button,
input,
select,
textarea {
    font-size: 100%;
    /* Corrects font size not being inherited in all browsers */
    margin: 0;
    /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
    vertical-align: baseline;
    vertical-align: middle;
    /* Improves appearance and consistency in all browsers */
}

button,
input {
    line-height: normal;
    /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
    overflow: visible;
    /* Corrects inner spacing displayed oddly in IE6/7 */
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: none;
    border-radius: 10px;
    background: #ccc;
    color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
    /* Improves usability and consistency of cursor style between image-type 'input' and others */
    -webkit-appearance: button;
    /* Corrects inability to style clickable 'input' types in iOS */
    font-size: 12px;
    font-size: 1.4rem;
    line-height: 1;
    padding: 1.12em 1.5em 1em;
}

button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    /* Addresses box sizing set to content-box in IE8/9 */
    padding: 0;
    /* Addresses excess padding in IE8/9 */
}

input[type="search"] {
    -webkit-appearance: textfield;
    /* Addresses appearance set to searchfield in S5, Chrome */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration {
    /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
    -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
    border: 0;
    padding: 0;
}

input[type=text],
input[type=email],
textarea {
    color: #888888;
    border: 1px solid #dddddd;
    border-radius: 5px;
}

input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
    color: #101010;
}

input[type=text],
input[type=email] {
    padding: 3px;
}

textarea {
    overflow: auto;
    /* Removes default vertical scrollbar in IE6/7/8/9 */
    padding: 10px;
    vertical-align: top;
    /* Improves readability and alignment in all browsers */
    width: 98%;
}


/* Global ul li Overwrite */


/* ul li span i {
    display: none !important;
} */

.list-icon {
    background-color: red;
    /* background-image: url('wp-content/themes/apie/img/ul-li-icon.png'); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 25px;
    height: 25px;
}


/* Custom Styles */

body, p, li, a{
    font-size: 16px;
}
body, p, li{
    font-family: 'Nunito', sans-serif !important;
}
.elementor:not(.elementor-location-header) p{
    margin-bottom: 25px;
}
.elementor:not(.elementor-location-header) p:last-of-type,
#footer-content p{
    margin-bottom: 0px;
}
h1,
h2,
h3,
h4,
h5,
h6{
    color: #5F5F5F;
    line-height: .85em;
}
h1, h1 a,
h2, h2 a,
h3, h3 a,
h4, h4 a,
h5, h5 a,
h6, h6 a{
    font-family: 'Lora', serif !important;
    font-weight: bold !important;
}
.elementor-widget-heading .elementor-heading-title{
    color: #5F5F5F;
}
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover{
    color: #5CC3D6;
}
h1, h1 a{
    font-size: 2.986em;
}
h2, h2 a{
    font-size: 2.488em;
}
h3, h3 a{
    font-size: 2.074em;
}
h4, h4 a{
    font-size: 1.728em;
}
h5, h5 a{
    font-size: 1.44em;
}
h6, h6 a{
    font-size: 1.2em;
}
h1, h2{
    margin-bottom: 25px !important;
    color: #5F5F5F;
}
h3, h4, h5, h6{
    margin-bottom: 12px !important;
    color: #5F5F5F;
}
a.elementor-button{
    color: #fff !important;
}
.elementor:not(.elementor-location-header) a{
    color: #5CC3D6
}
.elementor:not(.elementor-location-header) h1 a,
.elementor:not(.elementor-location-header) h2 a,
.elementor:not(.elementor-location-header) h3 a,
.elementor:not(.elementor-location-header) h4 a,
.elementor:not(.elementor-location-header) h5 a,
.elementor:not(.elementor-location-header) h6 a{
    color: #104F9F;
}

.far,
.fa,
.fas{
    font-family:"Font Awesome 5 Free" !important;
}

strong{
    font-weight: bold;
}

blockquote{
    position: relative;
    padding-top: 50px;
    margin-bottom: 50px;
}
blockquote::before{
    content: "”";
    font-family: georgia, serif;
    font-size: 8em;
    color: #FFEC0D;
    position: absolute;
    top: -50px;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
}
blockquote p:not(.source){
    font-size: 2em;
    margin-bottom: 25px;
}
blockquote p.source::before{
    content: "- "
}
@media screen and (max-width: 1024px){
    blockquote p:not(.source){
        font-size: 1.25em;
    }
}
.elementor-posts .elementor-post__card .elementor-post__title{
    font-size: initial !important;
}
.elementor:not(.elementor-location-header) .elementor-text-editor ul,
.elementor:not(.elementor-location-header) .elementor-text-editor ol,
.elementor:not(.elementor-location-header) .elementor-accordion ul,
.elementor:not(.elementor-location-header) .elementor-accordion ol{
    margin: 25px 0px;
    padding-left: 30px;
}
.elementor:not(.elementor-location-header) .elementor-text-editor ol,
.elementor:not(.elementor-location-header) .elementor-accordion ol{
    list-style: decimal outside;
}
.elementor:not(.elementor-location-header) .elementor-text-editor ul li,
.elementor:not(.elementor-location-header) .elementor-text-editor ol li,
.elementor:not(.elementor-location-header) .elementor-accordion ul li,
.elementor:not(.elementor-location-header) .elementor-accordion ol li{
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ccc;
    position: relative;
}
.elementor:not(.elementor-location-header) .elementor-text-editor ul li::before,
.elementor:not(.elementor-location-header) .elementor-accordion ul li::before{
    content: "";
    display: block;
    height: 15px;
    width: 15px;
    background: #104F9F;
    border-radius: 20px;
    position: absolute;
    top: 3px;
    left: -30px;
    border: 1px solid #DC001A;
    -webkit-box-shadow:inset 0 0 0px 1px #ffffff;
    box-shadow:inset 0 0 0px 1px #ffffff;
}
.elementor-pagination{
    margin-top: 50px;
}


/* Menu Edits */

.nav-menu-2 {
    height: 4em;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.trp-language-switcher a{
    color: #fff !important;
    font-size: .85em;
}
.trp-language-switcher a:hover{
    color: #FFEC0D !important;
}
#top-menu .elementor-nav-menu--dropdown{
    max-width: initial !important;
}


/* Top Main Menu  */

#top-menu li {
    position: relative;
}
#top-menu li.current-menu-item::before{
    content: "";
    display: block;
    background: none;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #DC001A;
    position: absolute;
    bottom: -18px;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
}
.sub-menu .current-menu-item::before{
    display: none !important;
}
#top-menu .has-submenu{
    position: relative;
    margin-left: 15px;
}
#top-menu .has-submenu::before{
    display: none;
}
#top-menu .has-submenu::after{
    content: "\f0dd";
    color: #fff;
    opacity: 1;
    background: initial;
    position: absolute;
    left: -15px;
    top: -3px;
    transition: .4s;
    font-family: "Font Awesome 5 Free" !important;
}
#top-menu .has-submenu:hover::after,
#top-menu .has-submenu.highlighted::after{
    color: #14225B;
}


/* Bottom Main Menu */

#bottom-menu li {
    position: relative;
}
#bottom-menu li.current-menu-item::before{
    content: "";
    display: block;
    background: none;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #14225B;
    position: absolute;
    top: -18px;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
}
#bottom-menu li.current-menu-item a{
    font-weight: bold;
}
#bottom-menu .elementor-nav-menu li a{
    padding: 0px;
}
#bottom-menu .elementor-nav-menu li{
    margin-right: 30px;
}


/* Global Button Styles */

.button-red-round {
    color: #fff;
    background-color: #DC001A;
    border-radius: 20px;
    font-size: 1.75em;
    padding: .5em 1em;
    letter-spacing: .8px;
}

.button-teal-round {
    color: #fff;
    background-color: #5CC3D6;
    border-radius: 20px;
    font-size: 1.75em;
    padding: .5em 1em;
}

.button-blue-round {
    color: #fff;
    background-color: #104F9F;
    border-radius: 20px;
    font-size: 1.75em;
    padding: .5em 1em;
    letter-spacing: .8px;
}


/* Force Border Radius  */

.left-round .elementor-column-wrap {
    border-top-left-radius: 65px !important;
    border-bottom-left-radius: 65px !important;
}

.right-round .elementor-column-wrap {
    border-top-right-radius: 65px !important;
    border-bottom-right-radius: 65px !important;
}

.col-up {
    position: relative;
    top: -6em;
}

#button-middle {
    margin: 0em 1.5em;
}

.elementor-posts .elementor-post__card .elementor-post__read-more,
.elementor-9 .elementor-element.elementor-element-5b2414a .elementor-post__read-more,
.elementor-19 .elementor-element.elementor-element-a63927f .elementor-post__read-more {
    background-color: #5CC3D6;
    border-radius: 50px;
    padding: 9px 15px;
    color: #fff;
    transition: ease-in-out;
    transition-duration: .3s;
}

.elementor-posts .elementor-post__card .elementor-post__read-more,
.elementor-9 .elementor-element.elementor-element-5b2414a .elementor-post__read-more:hover,
.elementor-19 .elementor-element.elementor-element-a63927f .elementor-post__read-more:hover {
    transform: scale(1.1);
}

.elementor-field-group .elementor-field-textual {
    padding-left: 1em;
}


/* Slider Edits */

.eicon-chevron-left,
.eicon-chevron-right {
    font-size: 50px;
}

.elementor-swiper-button-prev {
    left: 60px !important;
}

.elementor-swiper-button-next {
    right: 60px !important;
}

.swiper-pagination-bullet-active {
    background: #DC001A !important;
}

.swiper-pagination-bullet {
    background: #5CC3D6 !important;
    width: 9px !important;
    height: 9px !important;
}

.swiper-container-horizontal>.swiper-pagination-bullets {
    bottom: 100px !important;
}

.border-wrapper {
    position: absolute;
    top: -47px;
    z-index: 2;
    width: 100%;
}

.border-wrapper img {
    width: 101%;
}

#contact-form .gform_wrapper{
    background: #F7F7F7;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.17);
    padding: 25px;
    border-top: 8px solid #FFEC0D;
}
#contact-form .gform_wrapper ul{
    padding: 0px !important;
}
#contact-form .gform_wrapper ul li{
    border: 0px !important;
}
#contact-form .gform_wrapper ul li:before{
    display: none !important;
}
#contact-form .gform_wrapper h3{
    font-size: 2em !important;
}

#sign-up-form .gform_wrapper{
    color: #fff;
    margin: 0px;
}
#sign-up-form .gform_wrapper ul{
    padding: 0px;
}
#sign-up-form .gform_wrapper li{
    margin: 0px;
    padding: 0px;
    border: none;
}
#sign-up-form .gform_wrapper li:before{
    display: none;
}
#sign-up-form .gform_footer{
    margin: 0px;
    padding: 0px;
}

.gform_wrapper .gform_footer input[type=submit]{
    padding: 18px 32px;
    -webkit-transition: all .25s ease-in-out;
        -ms-transition: all .25s ease-in-out;
            transition: all .25s ease-in-out;
}
.gform_wrapper .gform_footer input[type=submit]:hover{
    box-shadow: none;
    transform: scale(1.1);
}
#gform_confirmation_message_4{
    color: #fff;
}

/* Post Single */

.recent-posts h5 {
    margin-bottom: 2em;
    font-size: 1.6em;
    font-weight: 600;
    color: #5F5F5F;
}

.recent-posts ul li {
    padding-bottom: 1em;
}

.recent-posts ul li a {
    color: #14225B;
    font-size: 14px;
}
h3.elementor-post__title{
    line-height: 1.75em;
}
.elementor-widget-wp-widget-recent-posts ul li{
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #ccc;
}
.elementor-widget-wp-widget-recent-posts ul li:last-of-type{
    margin-bottom: 0px;
    padding-bottom: 0px;
    border-bottom: 0px;
}
.elementor-widget-wp-widget-recent-posts .post-date{
    display: block;
    font-size: .75em;
}
.single-post .alignleft{
    float: left;
    margin: 0px 25px 25px 0px
}
.single-post .alignright{
    float: right;
    margin: 0px 0px 25px 25px
}
@media screen and (max-width: 666px){
    .single-post .alignleft,
    .single-post .alignright{
        float: none;
    }
}
.elementor-post__card:hover h3 a{
    text-decoration: underline;
}
.elementor-post__card h3 a:hover{
    color: #6EC1E4 !important;
}
.elementor-post__excerpt p::after{
    content: "...";
}
.type-post .aligncenter{
    display: block;
    margin: 0 auto !important;
}


/* Tablet Responsive CSS */

@media(max-width: 1025px) {
    /* Global */
    /* Top Menu  */
    .elementor-menu-toggle {
        background-color: transparent !important;
    }
    .eicon-menu-bar {
        font-size: 1.7em !important;
        position: relative !important;
        top: 7px !important;
        background-color: transparent !important;
    }
    .elementor-nav-menu--dropdown {
        background-color: transparent !important;
        max-width: fit-content !important;
    }
    .elementor-nav-menu--dropdown a {
        color: #fff !important;
    }
    .left-round .elementor-column-wrap {
        border-top-left-radius: 0px !important;
        border-bottom-left-radius: 0px !important;
    }
    .right-round .elementor-column-wrap {
        border-top-right-radius: 0px !important;
        border-bottom-right-radius: 0px !important;
    }
    .elementor-menu-toggle {
        color: #fff !important;
    }
    #top-menu a:hover i,
    #top-menu .current-menu-item a i {
        display: none !important;
    }
    /* Bottom Main Menu */
    #bottom-menu a:hover i,
    #bottom-menu .current-menu-item a i {
        display: none !important;
    }
    /* Slider */
    .eicon-chevron-left,
    .eicon-chevron-right {
        font-size: inherit !important;
    }
    .elementor-swiper-button-prev {
        left: 10px !important;
    }
    .elementor-swiper-button-next {
        right: 10px !important;
    }
    .swiper-container-horizontal>.swiper-pagination-bullets {
        bottom: 5px !important;
    }
    .border-wrapper {
        top: -37px;
    }
    /* Logo Container */
    .elementor-16 .elementor-element.elementor-element-4f2095a {
        width: fit-content;
    }
    /* Nav Buttons */
    .elementor-16 .elementor-element.elementor-element-835cad0 {
        width: 50%;
    }
    /* Menu 2 Buttons Container */
    .elementor-element-71d695e .elementor-row {
        display: flex;
        justify-content: flex-end;
    }
    .elementor-element-5d781bb nav {
        max-width: 100% !important;
        margin: 0px !important;
    }
    .elementor-element-5d781bb nav ul {
        display: inline-flex !important;
    }
    .elementor-element-cb0e6e2 nav {
        max-width: 100%;
        margin: 0px !important;
    }
    .elementor-element-cb0e6e2 nav ul {
        display: inline-flex !important;
    }
    .elementor-element-cb0e6e2 nav ul li a {
        color: #5F5F5F !important;
    }
    .elementor-element-cb0e6e2 nav ul li a:active {
        background-color: transparent !important;
    }
    /* Menu 2 Buttons */
    .elementor-16 .elementor-element.elementor-element-2c658b1,
    #menu-btn-2-wrap {
        width: fit-content !important;
    }
    .elementor-16 .elementor-element.elementor-element-95a0f99 {
        display: none;
    }
    /* Home Page */
    /* About APIE */
    .elementor-element-e3e5c3a {
        width: 20% !important;
    }
    .elementor-element-c743296 {
        width: 70% !important;
    }
    /* Newsletter */
    .elementor-element-a8d6659 .elementor-field-type-email,
    .elementor-element-da152e1 .elementor-field-type-email,
    .elementor-element-224e2b01 .elementor-field-type-email {
        max-width: 75% !important;
    }
    .elementor-element-a8d6659 .elementor-field-type-submit,
    .elementor-element-da152e1 .elementor-field-type-submit,
    .elementor-element-224e2b01 .elementor-field-type-submit {
        max-width: 25% !important;
    }
}


/* Mobile / Small Media Device CSS */

@media(max-width: 650px) {
    .border-wrapper {
        top: -29px;
    }
    /* Site Logo Wrapper */
    .elementor-16 .elementor-element.elementor-element-4f2095a {
        width: 48% !important;
    }
    /* Newsletter */
    .elementor-element-a8d6659 .elementor-field-type-email,
    .elementor-element-da152e1 .elementor-field-type-email,
    .elementor-element-224e2b01 .elementor-field-type-email {
        max-width: 65% !important;
    }
    .elementor-element-a8d6659 .elementor-field-type-submit,
    .elementor-element-da152e1 .elementor-field-type-submit,
    .elementor-element-224e2b01 .elementor-field-type-submit {
        max-width: 35% !important;
    }
    /* Footer Menu */
    .elementor-element-2a33a22 {
        height: 4em;
    }
}