/*
Theme Name: OMIP landing page
Theme URI: 
Author: Kovacs Kriszti
Author URI: https://kovacskriszti.com
Description: OMIP theme by Petho-Kovacs Krisztina
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: OMIP
*/

.content-box {
    padding: 0 8vw;
}

@media screen and (max-width: 1300px) {
    .content-box {
        padding: 0 5px;
    }

    body {
        background-size: 1300px auto;
    }
}

@media screen and (max-width:768px) {
    header {
        text-align: center;
    }
}


#main-page {
    padding: 0 0 5.5vw 0;
    background: url(/wp-content/themes/omip/img/headerbg.png) top left no-repeat;
    background-size: cover;

}

header {
    text-align: center;

}

#logo {
    display: inline-block;
    margin: 0 0 auto;
    width: 120px;

}

#logo img {
    width: 100%;
    height: auto;
    margin: 20px 0;
}

.space-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    margin-right: 90px;
}

nav,
#footer-menu {
    margin-top: 30px;
}

nav {
    display: none;
}

nav ul {
    float: right;
    display: block;
}

nav ul li {
    display: inline;
}

nav ul li a {
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    margin-left: 50px;
}

#hero-header {
    padding: 4vw 0 3vw 0;

}

#hero-header p {
    max-width: 56%;
    line-height: 1.2;

}

.button-main {
    background: #334FA9;
    border: 2px solid #334FA9;
    font-size: smaller;
    color: #fff;
    display: inline-block;
    padding: 0.5rem 1rem 0.5rem 1rem;
    margin-top: 1rem;
    text-transform: uppercase;

}

.button-main:hover {
    background: #fff;
    border: 2px solid #334FA9;
    color: #334FA9;
}

.button-secondary {
    background: none;
    border: 2px solid #334FA9;
    font-size: smaller;
    color: #334FA9;
    display: inline-block;
    padding: 0.5rem 2.5rem 0.5rem 2.5rem;
    margin-top: 1rem;
    margin-left: 1rem;
    text-transform: uppercase;
}

.button-secondary:hover {
    background: #334FA9;
    color: #fff;
}

.button-third {
    background: #fff;
    border: 2px solid #fff;
    font-size: smaller;
    color: #334FA9;
    display: inline-block;
    padding: 0.5rem 2rem 0.5rem 2rem;
    margin-top: 1rem;
    text-transform: uppercase;
}

.button-third:hover {
    background: none;
    border: 2px solid #fff;
    color: #fff;
}

#form {
    margin: -4rem 0 4rem 0;
    padding: 0 0 2vw 0;
    display: block;
    overflow: hidden;
    clear: both;

}

#container {}

.contact-form {
    background: url(/wp-content/themes/omip/img/blob1.svg) center center no-repeat;
    background-size: 180%;
    padding: 12vw 0 0 0;
}

#signup {
    margin-top: -2vw;
    margin-bottom: 4rem;
}

#apply {
    background: url(/wp-content/themes/omip/img/tax1.png) top left no-repeat;
    background-size: cover;
    margin: 4rem 0 4rem 0;
    padding: 6vw 0 4vw 0;

}

#apply-text {
    margin-top: 0.5vw;
    margin-left: 40%;
}

#apply ul {
    margin: 1rem 0 2rem 2rem;
}

#apply ul li {
    position: relative;
    margin-bottom: 1rem;
}


#apply ul li:before {
    content: "";
    position: absolute;
    display: inline-block;
    background: url(/wp-content/themes/omip/img/compass.svg);
    top: 8px;
    left: -23px;
    width: 18px;
    height: 13px;
    vertical-align: middle;
    line-height: 1;
}

#apply-text .button-secondary {
    text-transform: none !important;
    padding: 0.5rem 2rem 0.5rem 2rem;
    margin-top: 0.5rem !important;

}

.column-2,
.column-3,
#contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    overflow: hidden;
    padding: 0 0 0.6rem 0;

}

.column-2 > div {
    width: 48%;
    height: auto;
    margin-left: 0;
    margin-right: 0;
}

.column-3 > div {
    width: 33.333%;
    height: auto;
    margin-left: 0;
    margin-right: 0;
}


#family-tax,
.cta,
#question,
#weare,
#wehelpyou,
#gallery,
#qa,
#morem #container,
#main-page,
.contact-form,
main {
    margin: 0 auto;
    overflow: hidden;
    clear: both;
    text-align: center;

}

input[type="checkbox"] {
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: middle;
    cursor: pointer;
    background: transparent;
    color: #fff;
    border: solid 1px #fff;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    content: "";
    display: inline-block;
    width: 12rem;
    height: 2.2rem;
    color: #fff !important;
    border: solid 2px #fff;
    background: none;
    margin: 1.5rem 1rem 0.5rem 0;
    padding: 0.5rem;
    font-size: 16px;
}

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #fff;
    opacity: 1;
    /* Firefox */
}

#adatk {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow: hidden;
    padding: 0 0 0.6rem 0;
    margin-left: 6%;
    font-size: smaller;
    vertical-align: bottom;
}

#adatk p {
    margin-top: 7px;
    margin-left: 5px;
}

#signup .button-third {
    margin-top: 1rem;
}

.cta {
    background: url(/wp-content/themes/omip/img/ctabg.png) center center no-repeat;
    background-size: cover;
    margin: 0 0 0 0;
    padding: 8vw 0 6vw 0;

}

.cta-text {
    text-align: left !important;
    color: #fff;
}

.cta-text .button-third,
#unsure .button-third,
#wehelpyou .button-third {
    padding: 0.5rem 1.5rem 0.5rem 1.5rem;
    margin-top: 1.5rem;
}

#question {
    margin-top: 6rem;
    padding: 3rem 0 2rem 0;

}

#unsure {
    margin: -2rem 0 0 40%;
    padding: 0 0 0 2vw;
    position: absolute;

}

#unsure-text,
#unsure-blob {
    position: relative;

}

#unsure-text {
    z-index: 1;
    max-width: 96%;
    margin-top: 2rem;
}

#unsure-blob {
    margin: -15rem 0 0 -4rem;
    z-index: 0;
}

#unsure .button-third {
    margin-left: 2rem;
}

#weare,
#gallery,
#qa {
    margin: 4rem 0 4rem 0;
}

#weare .column-3,
#gallery .column-3 {
    flex-wrap: nowrap !important;
}

.data {
    background: #334FA9;
    padding: 1rem 0.5rem 0.5rem 0.5rem;
    color: #fff !important;
    margin: 2rem 3rem 2rem 3rem !important;
    display: inline-block;
}

#wehelpyou {
    color: #fff !important;
    background: url(/wp-content/themes/omip/img/ctabg.png) center center no-repeat;
    background-size: cover;
    margin: 0 0 0 0;
    padding: 8vw 0 6vw 0;

}

.gallery-img {
    margin: 2rem 0.25rem 2rem 0.25rem;
    width: auto;
    max-height: 500px;
}

#gyakori {
    margin-top: 2.5rem;
}

.faq-page {
    cursor: pointer;
    transition: 0.4s;
    position: relative;

}


.faq-page:hover {
    background-color: #F9F9F9;
}


.faq-body {
    margin: 0.5rem 0 1.5rem 0;
    display: none;
    transition: 0.6s;
}

.faq-page:before {
    content: '+';
    height: 18px;
    width: 18px;
    color: #334fa9;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 5px;
    left: -25px;
}

.active:before {
    content: '-';
    height: 18px;
    width: 18px;
    color: #334fa9;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 5px;
    left: -25px;
}

#more {
    background: url(/wp-content/themes/omip/img/ctabg.png) center center no-repeat;
    background-size: cover;
    margin: 4rem 0 0 0;
    padding: 10vw 0 8vw 0;
}

#any p {
    margin-bottom: 1rem;
}

#any .button-third {
    text-transform: none !important;
}

footer {
    margin: 6rem 0 0 0;
}

#logofoot {
    display: inline-block;
    margin: 0 0 auto;
    width: 100px;

}

#logofoot img {
    width: 100%;
    height: auto;
    margin: 20px 0 0 0;
}

.social {
    background: url(/wp-content/themes/omip/img/facebook.svg) center center no-repeat;
    width: 30px;
    height: 30px;
    display: inline-block;
}

.social,
.reach,
#tel {
    margin-top: 2rem;
}

.reach {
    margin-left: 2rem;
    margin-right: 2rem;
}

#contact {
    margin-bottom: 2rem;
}

@media screen and (max-width: 1280px) {
    .content-box {
        width: 100%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 1280px) and (min-width: 831px) {
    .contact-from {
        padding: 10vw 0 0 0;
    }

    #apply-text {
        margin-left: 44%;
    }

    #question {
        margin-top: 4rem;
    }

    #unsure-blob {
        margin: -16rem 0 0 -4rem;
    }

    .gallery-img {
        max-height: 400px;
    }

    #adatk {
        margin-left: 8%;
    }
}

@media screen and (max-width: 1180px) and (min-width: 821px) {
    #adatk {
        margin-left: 8% !important;
    }

    #apply-text {
        margin-left: 43% !important;
    }

    #apply ul li:before {
        content: "";
        position: absolute;
        display: inline-block;
        background: url(/wp-content/themes/omip/img/compass.svg);
        top: 4px;
        left: -23px;
        width: 16px;
        height: 13px;
        vertical-align: middle;
        line-height: 1;
    }

    .gallery-img {
        margin: 2rem 0.25rem 2rem 0.25rem;
        width: auto;
        max-height: 280px;
    }

    #gyakori {
        margin-left: 1rem;
    }

    .faq-page:before {
        top: -1px;
        left: -20px;
    }
}

@media screen and (max-width: 830px) and (min-width: 769px) {}

@media screen and (max-width: 768px) {
    .content-box {
        padding: 0;
        margin: 0 auto;
    }
    
#main-page {
    background: url(/wp-content/themes/omip/img/headerbgmobil.png) center center no-repeat;
    background-size: cover;

}

    #logo {
        width: 160px;
        margin: 20px auto 5px auto;
        display: block;
    }

    .space-between {
        font-size: 16px;
        margin: 0 auto;
        display: block;
        width: 100%;
        text-align: center;
    }

    #hero-header {
        padding-left: 10px;
        margin: 2rem 0 5rem 0;
    }

    #hero-header p {
        max-width: 100%;
    }

    .button-secondary {
        margin-left: 0;
    }

    #form {
        margin: 0 auto;
        background: #334fa9;
        padding-top: 2rem;
    }
      .column-2,
    .column-3,
    .column-3 > div,
    .column-2 > div{
        width: 100%;
        height: auto;
        padding-left: 0;
        padding-right: 0;
        display: block;
        text-align: center;
    }

    
    .contact-form, #more .column-3 a, #contact, #apply, #weare, #qa, #more, #any, .cta {
        width: 100%;
        height: auto;
        padding-left: 10px;
        padding-right: 10px;
        display: block;
        text-align: center;
    }

    .button-secondary {
        padding: 0.5rem 3.25rem 0.5rem 3.25rem;
    }
    input[type="text"], input[type="email"], input[type="tel"] {
    content: "";
    display: inline-block;
    width: 97%;
    height: 2.2rem;
    color: #fff !important;
    border: solid 2px #fff;
    background: none;
    margin: 1.75rem 0.5rem 0.5rem 0.5rem;
    padding: 0.5rem;
    font-size: 15px;
}
    #adatk {
    margin-left:2%;
    }
    #adatk p {
    margin-top: -20px;
    margin-left: 30px;
}
    #family-tax, #contact {
        margin-top:4rem;
    }
    #apply, #question, #wehelpyou, #gallery, #qa {
        margin-top:2rem;
    }
    #question, #wehelpyou {
        padding: 2rem 0 2rem 0;
    }
    #more {
    padding:2rem 0 2rem 0;
}
    #apply {
    background: url(/wp-content/themes/omip/img/tax1mobil.png) center center no-repeat;
    background-size: cover;
    }
    #apply-text {
    padding:2rem 0 2rem 0;
        margin-left:2%;
    }
    #apply ul li {
        text-align: left!important;
    }
.cta-text, footer {
    margin: 2rem 0 2rem 0;
    
}

#unsure {
    background: #334fa9;
    margin:0 0 0 0;
    padding: 0 0 40px 20px;
}
#unsure-blob {
    display: none;
}
#man {
    margin-top:17.3rem;
}
#weare, #gallery, #qa, #more {
    margin: 2rem 0 0 0;
}
.data {
    margin:2rem 1rem 2rem 0rem!important;
}
.gallery-img {
    max-height: 360px;
    margin:0 auto;
}
#gyakori {
   margin: 1rem 0 0 4%;
}
.faq-page:before {
    top:3px;
    left:-20px;
}
    #wehelpyou {
        padding-left:10px;
    }
    #unsure .button-third {
    margin-left: 0;
}
}
