/* 
Theme Name: O4
Theme URI: http://jamel.pl
Version: 1.0
Description: Strona fundacji O4
Author: Jamel / ML / PL
Author URI: http://jamel.pl
*/
/* Reey Regular z polskimi znakami dla O4 */
@font-face {
    font-family: "Reey Regular O4";
    src: url("https://o4.network/wp-content/themes/o4/assets/fonts/ReeyRegularO4-Regular.otf");
}

.reey {
    font-family: "Reey Regular O4" !important;
}

.reey-red,
.reey-em em {
    font-family: "Reey Regular O4" !important;
    color: #c03;
}

.reey-header-red {
    font-family: "Reey Regular O4" !important;
    color: #c03;
}

h2.reey-header-red {
    font-size: 38px;
    line-height: 50px;
    margin-top: 60px;
    margin-bottom: 54px;
}

h3.reey-header-red {
    font-size: 30px;
    line-height: 130%;
    margin-top: 60px;
    margin-bottom: 54px;
}

/* Style do strony z programem "Polecam O4" */

.referal-program-table {
    max-width: 1000px !important;
    overflow-x: visible;
}

.mainContent .referal-program-table th {
    background-color: #c03;
    color: white;
    border-right: 15px solid white;
}

.mainContent .referal-program-table th:last-child {
    border-right: none;
}

.mainContent .referal-program-table th h3 {
    margin-bottom: 5px;
    margin-top: 5px;
    color: white;
}

.mainContent .referal-program-table td {
    padding: 20px;
}

.mainContent .referal-program-table td em {
    font-family: "Reey Regular O4";
    color: #c03;
    font-size: 200%;
}

.mainContent .referal-program-table td:nth-child(2) {
    border-left: white solid 15px;
    border-right: white solid 15px;
}

.wp-block-table.is-style-stripes {
    border-bottom: none;
}

/* Formularz "Polecam O4" */

.page-id-11038 div#wpcf7-f11042-p11038-o2,
.page-id-11044 div#wpcf7-f11046-p11044-o2,
.page-id-12698 div#wpcf7-f12703-p12698-o2,
.page-id-12099 div#wpcf7-f12106-p12099-o2,
.page-id-12110 div#wpcf7-f12149-p12110-o2 {
    max-width: 1000px;
    background-color: #c03;
    padding: 70px;
    border: 1px solid #c03;
    border-radius: 20px;
    color: white;
    margin-bottom: 20px;
}

.page-id-11038 div#wpcf7-f11042-p11038-o2 .wpcf7-not-valid-tip,
.page-id-11044 div#wpcf7-f11046-p11044-o2 .wpcf7-not-valid-tip,
.page-id-12099 div#wpcf7-f12106-p12099-o2 .wpcf7-not-valid-tip,
.page-id-12110 div#wpcf7-f12149-p12110-o2 .wpcf7-not-valid-tip{
    color: white;
    font-weight: bold;
}

.page-id-11038 div#wpcf7-f11042-p11038-o2 form.invalid .wpcf7-response-output,
.page-id-11038 div#wpcf7-f11042-p11038-o2 form.unaccepted .wpcf7-response-output,
.page-id-11044 div#wpcf7-f11046-p11044-o2 form.invalid .wpcf7-response-output,
.page-id-11044 div#wpcf7-f11046-p11044-o2 form.unaccepted .wpcf7-response-output,
.page-id-12099 div#wpcf7-f12106-p12099-o2 form.invalid .wpcf7-response-output,
.page-id-12099 div#wpcf7-f12106-p12099-o2 form.unaccepted .wpcf7-response-output,
.page-id-12110 div#wpcf7-f12149-p12110-o2 form.invalid .wpcf7-response-output,
.page-id-12110 div#wpcf7-f12149-p12110-o2 form.unaccepted .wpcf7-response-output{
    border-color: #fff;
}


.page-id-11038 div#wpcf7-f11042-p11038-o2 a,
.page-id-11044 div#wpcf7-f11046-p11044-o2 a,
.page-id-12099 div#wpcf7-f12106-p12099-o2 a,
.page-id-12110 div#wpcf7-f12149-p12110-o2 a{
    color: white;
    font-weight: bold;
}

.page-id-11038 div#wpcf7-f11042-p11038-o2 .refer-submit-buttom,
.page-id-11044 div#wpcf7-f11046-p11044-o2 .refer-submit-buttom,
.page-id-12099 div#wpcf7-f12106-p12099-o2 .refer-submit-buttom,
.page-id-12110 div#wpcf7-f12149-p12110-o2 .refer-submit-buttom
{
    text-align: center;
}

.page-id-11038 div#wpcf7-f11042-p11038-o2 .refer-submit-buttom input[type=submit],
.page-id-11044 div#wpcf7-f11046-p11044-o2 .refer-submit-buttom input[type=submit],
.page-id-12099 div#wpcf7-f12106-p12099-o2 .refer-submit-buttom input[type=submit],
.page-id-12110 div#wpcf7-f12149-p12110-o2 .refer-submit-buttom input[type=submit]{
    background-color: #fff;
    border-color: #fff;
    color: #c03;
}

.page-id-11038 div#wpcf7-f11042-p11038-o2 input[type=checkbox]+.wpcf7-list-item-label:before,
.page-id-11044 div#wpcf7-f11046-p11044-o2 input[type=checkbox]+.wpcf7-list-item-label:before,
.page-id-12099 div#wpcf7-f12106-p12099-o2 input[type=checkbox]+.wpcf7-list-item-label:before,
.page-id-12110 div#wpcf7-f12149-p12110-o2 input[type=checkbox]+.wpcf7-list-item-label:before{
    background: white;
}

.page-id-11038 div#wpcf7-f11042-p11038-o2 input:read-only,
.page-id-11044 div#wpcf7-f11046-p11044-o2 input:read-only,
.page-id-12099 div#wpcf7-f12106-p12099-o2 input:read-only,
.page-id-12110 div#wpcf7-f12149-p12110-o2 input:read-only{
    background: #eee;
}


.page-id-11038 .one-half,
.page-id-11044 .one-half,
.page-id-12099 .one-half,
.page-id-12110 .one-half,
.page-id-12698 .one-half,
.page-id-11038 .one-third,
.page-id-11044 .one-third,
.page-id-12099 .one-third,
.page-id-12698 .one-third,
.page-id-12110 .one-third {
    position: relative;
    margin-right: 3%;
    display: inline-block;
    margin-bottom: 20px;
    vertical-align: top;
}

.page-id-11038 .one-half,
.page-id-11044 .one-half,
.page-id-12099 .one-half,
.page-id-12110 .one-half {
    width: 48%;
}

.page-id-11038 .one-third,
.page-id-11044 .one-third,
.page-id-12099 .one-third,
.page-id-12110 .one-third {
    width: 30.66%;
}

.page-id-11038 .last,
.page-id-11044 .last,
.page-id-12099 .last,
.page-id-12110 .last {
    margin-right: 0 !important;
    display: inline-block;
    vertical-align: top;
}

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

    .page-id-11038 .one-half,
    .page-id-11038 .one-third,
    .page-id-11044 .one-half,
    .page-id-11044 .one-third,
    .page-id-12099 .one-half,
    .page-id-12099 .one-third 
    .page-id-12110 .one-half,
    .page-id-12110 .one-third {
        width: 100%;
        margin-right: 0;
    }
}

.grecaptcha-badge {
    display: none;
}


/* YouTube embed center and bigger */
.wp-block-embed-youtube iframe {
	display: block;
    margin-left: auto;
    margin-right: auto;
	width: 100%;
    max-width: 600px;
    height: 337px;
}


/* UL with smaller gaps between lines */
.mainContent ul.list-small-gap {
    list-style-type: none;
}
.mainContent .wp-block-media-text__content ul.list-small-gap li{
	margin-bottom: 6px;
	position: relative;
    padding-left: 26px;
}
.mainContent ul.list-small-gap li:before {
    content: "";
    position: absolute;
    top: 9px;
    left: 2px;
    width: 8px;
    height: 8px;
    background-color: #c03;
    border-radius: 50%;
}