/*
Theme Name:		 St. Gilgen International School
Theme URI:		 https://www.stgis.at/
Description:	 StGIS is a child theme of Hello Elementor, created by Tim Ross
Author:			 Tim Ross
Author URI:		 https://www.timrosswebdevelopment.com/
Template:		 hello-elementor
Version:		 1.0.0
Text Domain:	 stgis
*/


/*
    Add your custom styles here
*/

:root {
    --color-primary: rgb(0, 175, 220);
    --color-secondary: rgb(0, 110, 135);
}

body {
    font-size: 18px;
}

a {
    color: #000;
}

h1 {
    font-size: 42px;
}

h2 {
    font-size: 38px;
}

h3 {
    font-size: 32px;
}

h4 {
    font-size: 26px;
}

h5 {
    font-size: 24px;
}

h6 {
    font-size: 22px;
}

a:hover {
    color: var(--color-primary);
}

.max-mega-menu a {
    color: inherit;
}

body:not(.elementor-editor-active) .elementor-menu-anchor {
    margin-top: -140px;
    padding-top: 140px;
}

section.equal-height-content div.elementor-widget-wrap:not(.ui-sortable)>div {
    display: flex;
    height: 100%;
}

.stgis-divider {
    position: relative;
}

.stgis-divider::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpolygon style='fill:white;stroke:black;stroke-width:1' points='0 0.5, 20 0.5, 10 17'/%3E%3C/svg%3E");
    position: absolute;
    left: calc(50% - 8px);
    top: calc(50% - 7px);
    content: "";
    height: 16px;
    width: 16px;
}

.stgis-heading-underline {
    position: relative;
    width: 140px;
}

.stgis-heading-underline::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpolygon style='fill:white;stroke:black;stroke-width:1' points='0 0.5, 20 0.5, 10 17'/%3E%3C/svg%3E");
    position: absolute;
    left: 40px;
    top: 2px;
    content: "";
    height: 16px;
    width: 16px;
}

.stgis-heading-underline__white::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpolygon style='fill:white;stroke:black;stroke-width:1' points='0 0.5, 20 0.5, 10 17'/%3E%3C/svg%3E");
}

.stgis-heading-underline__grey::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpolygon style='fill:%23f3f3f3;stroke:black;stroke-width:1' points='0 0.5, 20 0.5, 10 17'/%3E%3C/svg%3E");
}

.stgis-heading-underline__blue::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpolygon style='fill:%23f3f3f3;stroke:%2300afdc;stroke-width:1' points='0 0.5, 20 0.5, 10 17'/%3E%3C/svg%3E");
}

.stgis-button,
.cn-button.wp-default {
    font-family: "Minion Pro", Sans-serif;
    font-size: 1rem;
    color: #ffffff;
    background-color: var(--color-secondary);
    border-width: 0px;
    border-radius: 0px;
}

div.wpforms-container-full .wpforms-form label.wpforms-error {
    margin-top: 0.33em;
    font-size: 13px !important;
}
