/*
 Theme Name:   Astrid Child
 Description:  Astrid Child Theme
 Author:       KDAB
 Author URI:   http://www.qtembeddeddays.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("/wp-content/themes/astrid-child/fonts/kdab-webfont-va-regular-webfont.eot");
    src: url("/wp-content/themes/astrid-child/fonts/kdab-webfont-va-regular-webfont.eot#iefix") format("embedded-opentype"), url("/wp-content/themes/astrid-child/fonts/kdab-webfont-va-regular-webfont.woff2") format("woff2"), url("/wp-content/themes/astrid-child/fonts/kdab-webfont-va-regular-webfont.woff") format("woff"), url("/wp-content/themes/astrid-child/fonts/kdab-webfont-va-regular-webfont.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

body.admin-bar #masthead {
    margin-top: 32px
}

body{
   background-color: #fff;
}

h1, h2, h3, h4, h5, h6, .fact .fact-number, .fact .fact-name, .site-title {
    color: #41cd52;
}

    h5, h5 a, h5 a:hover {
        color: #1f1f1f;
        font-size: 22px;
    }

h4{
    font-size: 28px;
}

select:not([multiple]) {
    -webkit-appearance: none;
    -moz-appearance: none;
    background-position: right 50%;
    background-repeat: no-repeat;
    background-image: url("/wp-content/themes/astrid-child/images/arrow.png");
    padding: .5em;
    padding-right: 2em;
}

.wpcf7-select {
    border-radius: 3px;
    border: 1px solid #ebebeb;
    background-color: white;
}

hr {
    margin-bottom: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(29, 128, 39, 0.1);
}

a, a:hover {
    color: #41cd52;
}

    a:focus {
        color: #30973c;
    }

.menu-item a, .menu-item a:hover {
    font-weight: 300;
}

.content-margins {
    width: 60%;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    padding: 15px;
    min-height: 420px;
}

.content-area {
    width: 100%;
}
    .content-area.firstColumn {
        width: 70% !important;
        padding-right: 25px;
    }

.site-content {
    margin-top: 20px;
    margin-bottom: 20px;
}

.hentry {
    padding: 0;
    border: none;
    margin-bottom: 1px;
}

.container{
    width: 60%;
    margin: auto;
}

.outerHeader{
    height: 114px;
}

.header-image {
    background-color: #eee;
    text-align: right;
    overflow: hidden;
    width: 100%;
    height: 100%;
    max-height: 450px;
}
    .header-image::after {
        background-color: rgba(238, 238, 238, 0);
    }
.page-header .page-title {
    padding: 0;
}

.noBorder{
    border: none;
}
.comment-body {
    border: none;
}

.comment-respond {
    border: none;
}
.site-main .post-navigation {
    padding-left: 0;
    padding-right: 0;
}
.nav-next a::after {
    content: ">";
    padding-left: 10px;
}

.nav-previous a::before {
    content: "<";
    padding-right: 10px;
}
img.wp-post-image {
    max-width: 100%;
    height: auto;
    max-height: 450px;
    min-height: 300px;
    width: auto;
    position: relative;
    right:-140px;
}
}
/*****************************************************************
 *   
 *   Navigation Menu/logo
 *  
 * ***************************************************************/
.menu-item-has-children::marker {
    content: "\25bc";
}

.site-header, .site-header.header-scrolled {
    background-color: #fff;
}

    .site-header.has-header, .site-header.has-video {
        background-color: #fff;
    }

    .site-header.header-scrolled {
        padding: 7px 0;
        border: none;
    }

.site-header {
    /* padding: 0; */
    width: 100%;
    /* position: fixed;*/
    top: 0;
    background-color: #fff;
    border-bottom: none;
    z-index: 11;
}

.site-branding {
    padding: 0;
    width: 351px;
}
.site-header {
    padding: 7px 0;
}


.btn-menu {
    color: #000;
}

.main-navigation {
    padding: 15px 0;
    width: 100%;
}

    .main-navigation a {
        color: #656D6D;
        padding: 0;
    }

    .main-navigation li {
        padding: 10px 10px;
        margin: 0 10px;
    }

        .main-navigation li:last-child {
            margin-right: 0;
            padding-right: 0;
        }

        .main-navigation li:first-child {
            margin-left: 0;
            padding-left: 0;
        }

    .main-navigation ul ul a {
        width: 220px;
    }


.sub-menu li:first-child {
    padding-left: 10px;
    margin-left: 10px;
}

li.menu-item-has-children {
    margin-left: 20px;
    padding-left: 0 !important;
}

.custom-logo-link img {
    display: block;
    max-height: 100px;
    margin: 0;
    margin-left: -18px;
    width: auto;
}

.main-navigation ul ul {
    background-color: #fff;
}

#mainnav-mobi {
    background-color: #fff;
}
    #mainnav-mobi ul ul {
        background-color: #fff;
    }
.btn-submenu::before {
    content: "\f107";
    color: #000;
}

.custom-logo-link {
    min-height: 100px;
    min-width: 351px;
}

.dotDeco {
    padding: 5px 0;
}

.movingDotTop, .movingDotBottom {
    width: 0%;
    height: 5px;
    position: absolute;
}

.movingDotTop {
    right: 0;
    top: -2px;
}

.topLine.movingDotTop {
    background-color: #41cd52;
    height: 1px;
    top: 0px;
    position: absolute;
}

.bottomLine.movingDotBottom {
    background-color: #41cd52;
    height: 1px;
    bottom: 0px;
    position: absolute;
}

.movingDotTop::before, .movingDotTop::after {
    height: 3px;
    width: 3px;
    content: ' ';
    position: absolute;
    top: -1px;
}

.movingDotBottom::before, .movingDotBottom::after {
    height: 3px;
    width: 3px;
    content: ' ';
    position: absolute;
    top: -1px;
}

.movingDotTop::before, .movingDotBottom::before {
    background-color: #41cd52;
    left: 0;
}

.movingDotTop::after, .movingDotBottom::after {
    background-color: #41cd52;
    right: 0;
}

.main-navigation li a::before, .main-navigation li a::after {
     display: none;
}

.main-navigation ul ul .movingDotTop::before, .main-navigation ul ul .movingDotTop::after, .main-navigation ul ul .movingDotTop, .main-navigation ul ul .movingDotTop,
.main-navigation ul ul .movingDotBottom::before, .main-navigation ul ul .movingDotBottom::after, .main-navigation ul ul .movingDotBottom, .main-navigation ul ul .movingDotBottom {
    display: none;
}

.main-navigation .topLine, .main-navigation .bottomLine {
    transition: width 0.5s;
}



/*****************************************************************
 *   
 *   Timetable
 *  
 * ***************************************************************/

.timetableTable {
    font-size: 16px;
}
.timetableTable a{
    color: #000;
}

    .timetableTable td{
        border-left: none;
        border-right: none;
    }

    table.timetableTable {
        border: none;
    }

.timetableTable tr:first-child > td {
    border-top: none;
}

.timetableTable tr:last-child > td {
    border-bottom: none;
}

    .timetableTable td:first-child {
        width: 80px;
        white-space: nowrap;
    }

.timetableTable .talkTime {
    margin-top: 5px;
}

.timetableTable .break15 td:last-child, .timetableTable .break60 td:last-child {
    padding-top: 15px;
    padding-bottom: 15px;
}

.timetableTable .talk td:last-child {
    padding-top: 25px;
    padding-bottom: 25px;
}

.timetableTable .talk .talkTime {
    padding-top: 15px;
}

.timetableTable .talkTitle {
    color: #1f1f1f;
    font-size: 22px;
    margin-bottom: 10px;
}

.timetableTable .speaker {
    color: #454545;
    font-size: 14px;
}

.leftAlign {
    text-align: left;
}

.rightAlign {
    text-align: right;
}

.timetableLinkText {
    font-size: 16px;
}


/*****************************************************************
 *   
 *   Page Title
 *  
 * ***************************************************************/

.entry-header {
    position: relative;
    height: 0px;
    width: 70%;
    z-index: 2;
}

.titleSection {
    position: absolute;
    bottom: 80px;
    width: 100%;
    height: auto;
    margin: 0;
}

.entry-title {
    margin-bottom: 10px;
    margin-top: 10px;
}

.page .entry-title {
    margin-bottom: 10px;
}

.entry-title, .entry-title a {
    color: #41cd52;
}

.subtitle {
}

/*****************************************************************
 *   
 *   Decoration
 *  
 * ***************************************************************/

.deco {
    position: absolute;
    top: 8px;
    display: flex;
    flex-direction: column;
    z-index: 1;
    margin-left: 2px;
}

.headerlogo {
    position:absolute;
    text-align: left;
}

.headerlogo img{
    width: 149px;
    height: 126px;
    position: relative;
    left: -18px;
    top: 25px;
    z-index: 2;
}

.topDecoSquare, .bottomDecoSquare, .decoLine {
    background-color: #41cd52;
}

.topDecoSquare, .bottomDecoSquare {
    width: 3px;
    height: 3px;
}

.decoLine {
    width: 1px;
    flex-grow: 1;
    margin-left: 1px;
}


.triangleBlock {
    position: absolute;
    height: 400px;
    width: 100%;
    z-index: 2;
}

.rectangleFill {
    position: absolute;
    height: 100%;
    width: 5%;
    background-color: #f3f3f3;
}


.triangleOuter {
    position: absolute;
    height: 565px;
    width: 283px;
    top: 400px;
    left: 5%;
    background-clip: content-box;
    overflow: hidden;
    transform-origin: 0% 0%;
    transform: rotate(-135deg);
}

.triangleInner {
    position: absolute;
    height: 400px;
    width: 400px;
    background: #f3f3f3;
    transform-origin: 0% 0%;
    transform: rotate(45deg);
}

/*****************************************************************
 *   
 *   Second column
 *  
 * ***************************************************************/

.secondColumn {
    width: 30%;
    position: relative;
}

.widget-area {
    width: 100%;
}

.fourImages {
    width: 100%;
    background-color: #fff;
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 20px 0px 20px 20px;
    max-width: 400px;
    min-width:250px;
    margin: 0 auto;
    margin-right: -2.5%;
}

.indivdualDeco {
    height: 45%;
    width: 45%;
    margin: 2.5%;
}
/*****************************************************************
 *   
 *   Footer
 *  
 * ***************************************************************/
.site-footer {
    padding-top: 10px;
    padding-bottom: 10px;
}

.footer-contact {
    margin-top: 12px;
    padding: 0 0 10px 0;
    border: none;
}

.footer-contact-block span {
    border-top: none;
    display: inline-block;
    margin-left: 10px;
    position: relative;
    top: -4px;
}

.footer-cookie-block span {
    border-top: none;
    display: inline-block;
    margin-left: 10px;
    padding-right: 20px;
    position: relative;
    top: 2px;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.footer-contact-block {
    width: auto;
}

.footer-info {
    position: relative;
}

.footer-widgets {
    padding: 0;
}

    .footer-widgets .sidebar-column {
        display: flex;
        margin: 25px auto;
        flex-wrap: nowrap;
        padding: 0;
    }

    .footer-widgets .widget {
        margin: auto;
        min-width: 50px;
        padding: 35px 25px;
        max-width: 300px;
    }

.widget_media_image img {
    max-height: 150px !important;
    width: auto;
}



.footer-border {
    border-right: 1px solid rgba(255,255,255,0.08);
}

.footer-branding {
    padding: 20px 0;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    width: 140px;
    float: left;
}

.footer-kdab {
    width: 210px;
}
.footer-kdab img{
    padding: 10px 0;
}

    .footer-kdab a {
        margin: 0 auto;
    }

.footer-widgets aside:first-child {
    padding-left: 0;
}
.footer-widgets aside:last-child {
    padding-right: 0;
}
.footer-contact-block span {
   margin-top: 0px; 
}

.footer-contact {
    width: 80%;
}

.footerContainer {
    display: flex;
}

/*****************************************************************
 *   
 *   404
 *  
 * ***************************************************************/
.error404 .content-area {
    padding: 0px;
}
/*****************************************************************
 *   
 *   Media queries
 *  
 * ***************************************************************/

@media screen and (max-width: 1500px) {
    .content-margins, .container {
        width: 75%;
    }

    .entry-header {
        width: 60%;
    }

}
@media screen and (max-width: 1300px) {
    .titleSection {
        bottom: 50px;
    }
    .content-area.firstColumn {
        padding-right: 0px;
    }
    .main-navigation li {
        padding: 10px 5px;
        margin: 0 8px;
    }
    .content-area.firstColumn {
        width: 100% !important;
        padding-right: 0px;
    }

    .secondColumn {
        width: 100%;
        position: relative;
    }

    .fourImages {
        width: 100%;
        background-color: #fff;
        position: relative;
        bottom: auto;
        right: auto;
        padding: 20px;
        margin-right: auto;
    }

    .content-area {
        float: none;
    }

    .content-margins {
        display: inherit;
    }
    .header-image::after {
        background-color: rgba(238, 238, 238, 0.85);
    }

    .content-margins, .container {
        width: 80%;
    }

    .entry-header {
        width: 60%;
    }

    .footer-widgets .sidebar-column {
        flex-wrap: wrap;
    }

}

@media screen and (max-width: 1024px) {
    .deco{
        display: none;
    }

    .headerlogo img {
        left: 0;
        top: 40px;
    }


    .footer-border{
        border:none;
    }

    .main-navigation ul .movingDotTop::before, .main-navigation ul  .movingDotTop::after, .main-navigation ul  .movingDotTop, .main-navigation ul  .movingDotTop,
    .main-navigation ul  .movingDotBottom::before, .main-navigation ul  .movingDotBottom::after, .main-navigation ul  .movingDotBottom, .main-navigation ul .movingDotBottom {
        display: none;
    }

    body.admin-bar #masthead {
        margin-top: 0;
    }
    .site-header {
        padding: 15px 0;
    }
    .main-navigation {
        padding: 0;
    }

    img.header-image, img.wp-post-image {
        width: auto;
        max-width: none;
        height: 300px;
        margin-left: 50%;
        transform: translateX(-50%);
    }

    .custom-logo-link img {
        margin: 0 auto;
    }
    .main-navigation li {
        margin: 0;
    }

    .main-navigation .menu-item-last a,
    .main-navigation .menu-item-last a:hover {
        color: #656D6D;
    }

        .main-navigation li:last-child {
            padding: 10px 10px;
            margin: 0;
        }

        .main-navigation li:first-child {
            padding: 10px 10px;
            margin: 0;
        }

    .footer-widgets .sidebar-column {
        flex-wrap: wrap;
    }

    .content-margins {
        display: inherit;
    }

    .footer-branding {
        float: none;
        margin: auto;
        display: block;
    }

    .footerContainer {
        display: block;
    }

    .footer-contact {
        width: max-content;
        margin: auto;
        border: none;
    }
    .site-branding {
        width: 100%;
    }
}

@media screen and (max-width: 900px) {
    .content-margins, .container, .entry-header {
        width: 90%;
    }
    
}



@media screen and (max-width: 1210px) and (min-width: 675px) {


}

@media screen and (max-width: 675px) {
    .content-margins, .container, .entry-header {
        width: 100%;
    }
    .custom-logo-link {
        min-height: unset;
        min-width: 100%;
    }
}



