/*
 Theme Name:   Astrid Child
 Description:  Astrid Child Theme
 Author:       KDAB
 Author URI:   http://www.developerdays.com
 Template:     astrid
 Version:      1.0.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         astrid
 Text Domain:  astrid
*/

@font-face {
    font-family: 'kdabicons';
    src: url("fonts/kdab-webfont-va-regular-webfont.eot");
    src: url("fonts/kdab-webfont-va-regular-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/kdab-webfont-va-regular-webfont.woff2") format("woff2"), url("fonts/kdab-webfont-va-regular-webfont.woff") format("woff"), url("fonts/kdab-webfont-va-regular-webfont.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6, .fact .fact-number, .fact .fact-name, .site-title {
    color: #0077c8;
}

a, a:hover {
    color: #0077c8;
}

h4 a {
    color: #000;
    font-size: 22px;
}

h5 {
    color: black;
    font-size: 14px !important;
    font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Titillium Web', sans-serif;
}

.site-content {
    margin-top: 0px;
    margin-bottom: 0px;
    min-height: 600px;
}

.content-area {
    width: 100%;
}

.hentry {
    padding: 0;
    border: none;
    margin-bottom: 1px;
    background-color: transparent;
}

.site-header {
    padding: 0;
    width: 100%;
    position: fixed;
    background-color: #fff !important;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    border-bottom: none;
    z-index: 5;
    height: 52px;
}

        .site-header.has-header, .site-header.has-video {
        background-color: #fff;
    }

    .site-header.header-scrolled {
        background-color: rgb(255, 255, 255);
        padding: 0;
        border-bottom: 0 solid transparent;
    }

.outerHeader {
    height: 52px;
    /* -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;*/
}
.headercontainer.contentSectionParent {
    height: 52px;
}

.logo_size {
    background-size: 190px 219px;
    display: block;
    width: 190px;
    height: 219px;
    max-width: 190px !important;
    max-height: 219px !important;
    margin: 0;
    position: absolute;
    top: 13px;
}

.custom-logo-link {
    display: block;
    position: relative;
    top: -10px;
    transition: 0.5s;
    left: -173px;
}

    .custom-logo-link img {
        margin: 0;
        position: absolute;
        top: 13px;
        max-width: 190px !important;
        max-height: 219px !important;
        opacity: 1;
        transition-delay: 0.5s;
    }

.logo_text {
    background-image: url("images/logo_text.png");
}

.logo_triangles {
    background-image: url("images/logo_triangles.png");
}

.custom-logo-link .logo_triangles {
    left: 0px;
    transition: 0.5s;
}

.custom-logo-link-scrolled .logo_triangles  {
    left: -32px;
}


.custom-logo-link-scrolled img {
    opacity: 0;
    transition-delay: 0s;
}

.main-navigation{
    /*padding-right:0;*/
    width: 100% !important;
}

.main-navigation a {
    display: inline-block;
    text-decoration: none;
    color: #000;
    position: relative;
    padding: 3px 0;
    z-index: 11;
    font-family: 'Titillium Web', sans-serif;
}

    .main-navigation a:hover {
        color: #0077c8 !important;
    }
    .main-navigation li a::before {
        right: 0;
        border-top: 1px solid #0077c8 !important;
    }

    .main-navigation li a::after {
        left: 0;
        border-bottom: 1px solid #0077c8 !important;
    }

a, a:hover {
    -webkit-transition: #0077c8 0.3s;
    transition: color 0.3s;
}


.contentSectionParent {
    display: flex;
}

.beforeContentSection {
    flex-grow: 2;
    background-color: #f1f4f6;
    min-width: 130px;
}

.afterContentSection {
    flex-grow: 2;
}

.contentSection {
    width: 1000px;
    background-color: transparent;
    position: relative;
}


.pageContents {
    padding-left: 32px;
    padding-right: 200px;
    position: relative;
}
    .pageContents.pageMainContentDisplay {
        padding-right: 232px;
    }

.pageMainContentDisplay {
    min-height: 650px;
}

.btn-submenu::before {
    color: #656D6D !important;
}

.menu-item-has-children::before {
    content: "\f107";
    font-family: "FontAwesome";
}
    
#mainnav-mobi {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding-left: 0;
    padding-right: 0;
}
.main-navigation li {
    padding: 10px 9px 10px 6px;
    margin-left: 14px;
}

.main-navigation ul ul ul {
    top: 0 !important;
}

.main-navigation ul ul {
    background-color: #fff;
    border: 1px solid #eee;
}

#mainnav-mobi ul ul {
    background-color: #fff;
    border: 1px solid #eee;
}

.main-navigation li.menu-item-last {
    padding-right: 0;
}
/* No JS hack for menu animation */
/* Aleš */
.menu-item:hover > .sub-menu{
	top: 100% !important;
	transition: all 0.4s;
	-webkit-transition: all 0.4s;
}

/*****************************************************************
 *   
 *   Header/page  decoration
 *  
 * ***************************************************************/


.triangle {
    background-clip: content-box;
    overflow: hidden;
}

    .triangle::before {
        content: "";
        position: absolute;
        transform-origin: 0% 0%;
        transform: rotate(45deg);
    }

.triangleHeader {
    width: 400px;
    height: 272px;
    position: fixed;
    top: -220px;
    z-index: -1;
    left: calc(50% - 500px);
}

    .triangleHeader::before {
        background: #f8fafb;
        height: 564px;
        width: 564px;
    }

.triangleHeaderAdmin {
    height: 304px;
}

.triangleTitle {
    width: 400px;
    height: 800px;
    position: fixed;
    top: -220px;
    z-index: -1;
    left: calc(50% - 500px);
}

    .triangleTitle::before {
        background: #f8fafb;
        height: 564px;
        width: 564px;
    }


.bodyDecorationSection {
    position: fixed;
    width: 100%; 
}

.bodyDecoration {
    position: absolute;
    z-index: -1;
    right: -200px;
    height: 800px;
    width: 600px;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.bodyDecorationAdmin {
    top: 132px;
}

.triangleImage {
    position: absolute;
    top: 200px;
    left: 200px;
    height: 400px;
    width: 200px;
    opacity: 0.8;
}

.triBody {
    width: 200px;
    height: 400px;
    position: absolute;
}

    .triBody::before {
        height: 283px;
        width: 283px;
    }

.tri1 {
    top: 0px;
    left: 400px;
}

    .tri1::before {
        background-color: #ddecf6;
    }

.tri2 {
    top: 200px;
    left: 200px;
}

    .tri2::before {
        background-color: #8abce2;
    }

.tri2Image::before {
    background-color: #cddce6;
}

.tri3 {
    top: 400px;
    left: 0px;
}

    .tri3::before {
        background-color: #f1f7fc;
    }

.tri4 {
    top: 400px;
    left: 200px;
}

    .tri4::before {
        background-color: #cce2f2;
        left: 200px;
    }

.tri5 {
    top: 400px;
    left: 400px;
}

    .tri5::before {
        background-color: #8abce2;
    }


.triangleSignUp {
    position: absolute;
    z-index: -1;
    width: 200px;
    height: 400px;
    top: -300px;
}

.triangleSignUp1 {
    right: 200px;
}

    .triangleSignUp1::before {
        background-color: #d2e7f8;
        left: 200px;
        height: 282px;
        width: 282px;
    }


.triangleSignUp2 {
    right: 0px;
}

    .triangleSignUp2::before {
        background-color: #e1edf6;
        height: 282px;
        width: 282px;
    }

.triangleSignUpAdmin {
    top: -268px;
}

/*****************************************************************
 *   
 *   Page Title
 *  
 * ***************************************************************/


.entry-header {
    text-align: right;
    margin-top: 100px;
    margin-bottom: 75px;
}

.titleSection {
}

.entry-title {
    font-weight: 400;
}

.page .entry-title {
      margin-bottom: 0px;
}

.entry-title, .entry-title a {
    color: #0077c8;
}

.subtitle {
    font-size: 28px;
}
    

/*****************************************************************
 *   
 *   Footer
 *  
 * ***************************************************************/
.site-footer {
    padding-top: 0px;
    padding-bottom: 10px;
}

.footer-logo {
    max-height: 100%;
    width: auto;
    max-width: 100px;
}
    
.footer-privacy {
    float: left;
}
    .footer-privacy span {
        display: inline-block;
        margin-left: 32px;
        position: relative;
        top: -4px;
        margin-top: 20px;
        font-size: 16px;
        border-right: 1px solid rgba(255,255,255,0.08);
        padding-right: 20px;
    }

.footer-cookie {
    float: left;
}

    .footer-cookie span {
        display: inline-block;
        margin-left: 20px;
        position: relative;
        top: -4px;
        margin-top: 10px;
        padding-top: 10px;
        font-size: 16px;
    }

.footer-contact {
    margin-top: 12px;
    padding: 0 0 10px 0;
    border-left: none;
    text-align: right;
    width: 100%;
    display: inline-block;
}

.footer-contact-block span {
    border-top: none;
    display: inline-block;
    margin-left: 10px;
    position: relative;
    top: -4px;
}

.footer-contact-block {
    width: auto;
    text-align: right;
    padding: 0px;
}

.footer-info {
    position: relative;
}

.footer-branding {
    position: absolute;
    border-right: 1px solid rgba(255,255,255,0.08);
    width: auto;
    transform: translateX(-100%);
    height: calc(100% - 40px);
    margin: 20px 0;
    padding-bottom: 0;
}


.footer-wrapper {
    position: relative;
    z-index: 6;
}


    .footer-wrapper .beforeContentSection, .footer-wrapper .afterContentSection, .footer-wrapper .contentSection {
        background-color: #454545;
        z-index: 1;
    }

.widget_sponsor, .widget_contributor {
    height: 80px;
    width: 200px;
}

.widget_mainsponsor, .widget_organiser {
    height: 150px;
    width: 250px;
}

    .widget_sponsor, .widget_contributor, .widget_mainsponsor, .widget_organiser {
        position: relative;
    }
    .widget_sponsor img, .widget_contributor img, .widget_mainsponsor img, .widget_organiser img {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }

.sponsors .textwidget p {
        margin: 0;
    }


.sponsors .textwidget {
    text-align: left;
    height: 40px;
    width: 100%;
}

.footer-widgets .sponsors .widget.widget_text {
    width: 100%;
    margin: 20px 0 0 0;
    padding: 0;
    height: unset;
    max-width: unset;
}

.footer-widgets {
    padding: 0;
    margin-left: 32px;
}

    .footer-widgets .sidebar-column {
        display: flex;
        margin-top: 25px;
        flex-wrap: nowrap;
        padding: 0;
        width: 100%;
        flex-direction: column;
    }

        .footer-widgets .widget:first-child {
            padding-left: 5px;
        }

    .footer-widgets .widget {
        min-width: 50px;
        max-width: 300px;      
        text-align: center;
    }

    .footer-widgets .sponsors .widget {
        padding: 0 25px;
    }


    .footer-widgets .widget img{
        margin: auto 0;
    }

    .footer-widgets .container {
        width: 100% !important;
        padding: 0 !important;
    }

.org-mainsp, .contributors, .sponsors {
    display: flex;
    flex-wrap: wrap;
}

.contributors, .sponsors {
    row-gap: 30px;
    column-gap: 20px;
}

.footer-widget-half {
    width: 50%;
    position: relative;
}


.widget_media_image img {
    max-height: 150px !important;
    width: auto;
}

.footer-border {
    border-right: 1px solid rgba(255,255,255,0.08);
}

.footer-organiser {
    padding-right: 20px;
}

.footer-main-sponsor {
    padding: 0 30px;
}

.footer-widget-row {
    margin: 0 0 50px;
    width: 100%;
}

.contributors .widget, .sponsors .widget {
    margin: 0 10px;
}

.contributors .widget img, .sponsors .widget img {
    align-content: center;
}

.footer-widgets .widget-title {
    font-size: 16px;
    height: 36px;
    margin: 0 0 10px;
}
/*****************************************************************
 *   
 *   Contact form 7 styling
 *  
 * ***************************************************************/
.customForm{
    font-family: "Open Sans", sans-serif;
}

    .customForm input, select, textarea {
        background-color: #fff;
        color: rgb(85, 85, 85);
        font-weight: 300;
        border: 1px solid #bfbdbd;
    }

    .customForm .photo input {
        background-color: #fff;
        color: rgb(85, 85, 85);
        font-weight: 600;
    }

    .customForm .wpcf7-submit {
        background-color: #fff;
        font-weight: 600;
    }

        .customForm .wpcf7-submit:hover {
            color: white;
        }

    .customForm .title-of-paper input, .customForm .Organization input {
        width: 100%;
    }

    .customForm .wpcf7-list-item {
        margin: 0 1em 0 0;
    }

.wpcf7-form-control.wpcf7-file {
    background-color: #fff;
}

.wpcf7 form .wpcf7-response-output {
    margin: 2em 0em 1em;
}

select:not([multiple]) {
    -webkit-appearance: none;
    -moz-appearance: none;
    background-position: right 50%;
    background-repeat: no-repeat;
    background-image: url("images/arrow.png");
    padding: .5em;
    padding-right: 2em;
}

.wpcf7-select {
    border-radius: 3px;
    border: 1px solid #ebebeb;
    background-color: white;
}

.wpcf7-text{
    background-color: white;
}

/*****************************************************************
 *   
 *   404
 *  
 * ***************************************************************/
.error404 .content-area {
    padding: 0px;
}

.no-results.not-found {
    padding: 0px;
}



/*****************************************************************
 *   
 *   Pretix styling
 *  
 * ***************************************************************/

.pretix-widget {
    border: none !important;
}

/*****************************************************************
 *   
 *   Media queries
 *  
 * ***************************************************************/


@media screen and (max-width: 1300px) {
    .footer-info {
        display: flex;
        flex-direction: column;
    }

    .bodyDecoration {
        right: -200px;
    }


    .footer-container {
        order: 1;
    }

    .footer-contact {
        height: 130px;
        display: flex;
        flex-direction: column;
    }

    .footer-contact-block {
       /* margin-top: 30px;
        margin-right: 20px;*/
    }

    .footer-branding {
        width: auto;
        transform: unset;
        height: 100px;
        margin: 0;
        order: 2;
        width: min-content;
        bottom: 30px;
        left: 20px;
        text-align: left;
        padding-top: 0px;
    }

    .footer-widgets {
        margin-left: 0px;
    }

    .site-info.footerContainer {
        margin-left: 168px;
    }

    .footer-privacy span {
        margin-left: 0;
    }
}
@media screen and (max-width: 1024px) {


    .footer-widgets {
        margin: 0 32px;
    }

    .site-branding, .btn-menu {
        text-align: right;
    }

    .fa-navicon {
        position: relative;
        top: -48px;
    }

    .site-header.has-header, .site-header.has-video, .site-header.has-single, .site-header.has-shortcode {
        /* background-color: #fff; */
        top: 0px;
    }

    .beforeContentSection {
        min-width: unset;
    }

    .pageContents {
        padding-right : 32px;
    }
        .pageContents.pageMainContentDisplay {
            padding-right: 32px;
        }

    .site-header {
        background-color: transparent !important;
    }

    .outerHeader {
        height: 270px;
    }
    .headercontainer {
        top: 0;
        width: 100%;
    }

    .fa-navicon {
        color: black;
    }

    .contentSection {
        width: 100%;
    }

    .footer-widgets .sidebar-column, .footerContainer, .footer-sponsor {
        flex-wrap: wrap;
    }

    .footer-sponsor {
        padding: 20px 0;
    }

    .footer-widgets .widget img {
        padding: 20px;
    }

    .sponsors, .contributors {
        flex-wrap: wrap;
    }

    .footer-border {
        width: unset;
        border-right: none;
    }

    .triangleHeader, .triangleSignUp {
        display: none;
    }

    .logo_text, .logo_triangles {
        display: none;
    }

    .custom-logo-link {
        left: unset;
        top: unset;
    }

        .custom-logo-link img {
            position: relative;
        }

    .custom-logo-link-scrolled img {
        opacity: 1;
    }

    .entry-header {
        margin-top: 50px;
        margin-bottom: 50px;
    }


    .pageMainContentDisplay {
        display: flex;
        flex-direction: column;
    }

    .bodyDecoration {
        position: relative;
        order: 2;
        right: unset;
        margin: 20px auto 40px;
        top: 200px;
        width: 300px;
        height: 400px;
        opacity: 0.3
    }

    .triBody {
        width: 100px;
        height: 200px;
        position: absolute;
    }
    .triBody::before {
        height: 142px;
        width: 142px;
    }

    .tri1 {
        left: 200px;
    }

    .tri2 {
        top: 100px;
        left: 100px;
    }

    .tri3 {
        top: 200px;
    }

    .tri4 {
        top: 200px;
        left: 100px;
    }
        .tri4::before {
            left: 100px;
        }

    .tri5 {
        top: 200px;
        left: 200px;
    }

    .triangleImage {
        position: absolute;
        top: 100px;
        left: 100px;
        height: 200px;
        width: 100px;
    }

    .main-navigation .menu-item-last a::before {
        background-image: none;
        transition: none;
    }

    .main-navigation .menu-item-last a::after {
        border: none;
        transition: none;
    }

    .main-navigation .menu-item-last a:hover {
        color: #0077c8;
    }

    .main-navigation .menu-item-last a {
        height: 28px;
        width: 92px;
        color: #000;
        top: 0px;
    }

        .main-navigation li{
            margin-left: 0px;
        }

        .btn-submenu{
            margin-left: 0px;
        }

        .menu-item-has-children::before {
            content: "";
        }
   
        
}


@media screen and (max-width: 800px) {

    .pageContents {
        width: 100%;
        padding-right: 31px;
    }

    .footer-contact {
        text-align: center;
        height: unset;
    }

    .footer-branding {
        position: relative;
        border-right: none;
        width: auto;
        transform: unset;
        height: auto;
        margin: 0;
        margin-bottom: 20px;
        padding: 0;
        text-align: center;
        top: 0;
        left: 0px;
    }

    .site-info.footerContainer {
        margin-left: 0px;
    }
}

@media screen and (max-width: 600px) {

    .footer-widgets {
        margin: 0 10px;
    }

    .widget_mainsponsor, .widget_organiser {
        height: 100px;
        width: 200px;
    }

    .pageContents {
        padding-left: 10px;
        padding-right: 10px;
    }
}



