/*
 Theme Name:     Divi Child Theme
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */
header .et_pb_menu__search-button {
    margin-left: 30px;
}
header .et_mobile_menu {
    margin-top: 20px;
}
.bordered img {
    border-radius: 20px;
}
.wp-block-columns.sec-counter {
    background-color: #c1cc99;
    border-radius: 20px;
    gap: 0;
    padding: 20px;
}
.wp-block-columns.sec-counter .wp-block-column {
    border-right: 1px solid #F6F4F3;
    font-weight: bold;
    padding: 20px;
    text-align: center;
}
.wp-block-columns.sec-counter .wp-block-column:last-child {
    border: none;
}
.wp-block-columns.sec-counter .wp-block-column .count {
    font-size: 50px;
    line-height: 1em;
    padding-bottom: 10px;
}
.wp-block-buttons .wp-block-button__link {
    background-color: #3b7f67;
}
.wp-block-buttons .wp-block-button__link:hover {
    opacity: 0.8;
}
.sec-featured .wp-block-column {
    padding-bottom: 20px;
    position: relative;
}
.sec-featured h2 {
    padding-bottom: 20px;
}
.sec-featured .read-more {
    background: url(./img/double-arrow-right-01.svg) center right no-repeat transparent;
    bottom: 0;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2;
    padding-right: 20px;
    position: absolute;
    transition: all 0.3s ease-out 0s;
}
.sec-featured .read-more:hover {
    padding-right: 25px;
}
.mod-blog-posts {
    border: none;
    display: flex;
    flex-wrap: wrap;
}
.mod-blog-posts .et_pb_tabs_controls {
    margin: 0 auto 30px;
}
.mod-blog-posts .et_pb_tabs_controls::after {
    border: none;
}
.mod-blog-posts .et_pb_tabs_controls li {
    border: none;
    border-radius: 50px;
    margin-left: 2px;
    margin-right: 2px;
    transition: all 0.3s ease 0s;
}
.mod-blog-posts .et_pb_tabs_controls li a {
    padding-left: 20px;
    padding-right: 20px;
}
.mod-blog-posts .et_pb_tabs_controls li:hover,
.mod-blog-posts .et_pb_tabs_controls li.et_pb_tab_active {
    background-color: #3b7f67;
}
.mod-blog-posts .et_pb_tabs_controls li:hover a,
.mod-blog-posts .et_pb_tabs_controls li.et_pb_tab_active a {
    color: #fff!important;
}
.mod-blog-posts .et_pb_all_tabs {
    background-color: transparent;
    width: 100%;
}
.mod-blog-posts .et_pb_tab {
    padding: 0;
}
.mod-blog-posts .alm-btn-wrap {
    display: none;
}
.mod-blog-posts .alm-is-loaded .alm-btn-wrap {
    display: block;
}
.mod-blog-posts .entry-date,
.mod-blog-posts .entry-cat,
.sundmused-items .item .date,
.sundmused-items .item .time {
    font-size: 14px;
    padding: 0 20px 5px 20px;
}
.mod-blog-posts .entry-cat {
    font-weight: 500;
    color: #c1cc99;
    text-transform: uppercase;
}
.sundmused-items .item .date,
.sundmused-items .item .time {
    float: left;
}
.sundmused-items .item .time {
    margin-left: -40px;
}
.blog-posts-4-col,
.blog-posts-4-col > div,
.sundmused-items {
    display: flex;
    flex-wrap: wrap;
}
.blog-posts-4-col article,
.sundmused-items .item {
    background-color: #fff;
    border-radius: 20px;
    margin-bottom: 2.5%;
    margin-right: 2.5%;
    width: 23.1%;
}
.blog-posts-4-col article:nth-child(4n),
.sundmused-items .item:nth-child(4n) {
    margin-right: 0;
}
.blog-posts-4-col article a.entry-featured-image-url {
    margin-bottom: 0;
}
.blog-posts-4-col article img,
.sundmused-items .item .thumb img {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.blog-posts-4-col article h2,
.sundmused-items .item h3 {
    clear: both;
    font-size: 18px;
    line-height: 1.3;
    padding: 8px 20px 20px;
}
.toimunud-sundmused .item .thumb img {
    opacity: 0.5;
    transition: all 0.3s ease 0s;
}
.toimunud-sundmused .item .thumb img:hover {
    opacity: 1;
}
.mod-blog-posts .alm-btn-wrap {
    margin-top: 20px;
    text-align: center;
}
.mod-blog-posts .alm-btn-wrap button {
    background-color: #3e826a;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    color: #f6f4f3;
    padding: 11px 20px;
    transition: all 0.3s ease 0s;
}
.mod-blog-posts .alm-btn-wrap button:hover {
    cursor: pointer;
    opacity: 0.8;
}
.mod-blog-posts .alm-btn-wrap button.done,
.home .mod-blog-posts .alm-btn-wrap {
    display: none;
}
.row-newsletter .wpcf7 .email-input {
    float: left;
    padding-right: 20px;
    max-width: 300px;
}
.row-newsletter .wpcf7 .email-input input {
    border-bottom: 1px solid #383838;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
}
.row-newsletter .wpcf7 .email-input .wpcf7-not-valid-tip {
    padding-left: 0;
}
.row-newsletter .wpcf7 .sent .wpcf7-response-output {
    background-color: unset;
    color: #383838;
    padding: 0;
}
.row-newsletter .wpcf7 .invalid .wpcf7-response-output {
    display: none;
}
.btn-style summary {
    background-color: #3b7f67;
    border-width: 4px !important;
    border-color: #3b7f67;
    border-radius: 50px;
    color: #fff;
    display: inline-block;
    font-size: 18px;
    padding: 11px 20px;
}
.col-contacts,
.col-docs {
    display: flex!important;
    flex-wrap: wrap!important;
    gap: 0;
}
.col-contacts .wp-block-group,
.col-docs .wp-block-column {
    background-color: #fff;
    border-radius: 20px;
    margin-bottom: 2.5%;
    margin-right: 2.5%;
    padding-bottom: 20px;
    width: 23.1%;
}
.col-contacts .wp-block-group:nth-child(4n),
.col-docs .wp-block-column:nth-child(4n) {
    margin-right: 0;
}
.col-contacts img,
.col-docs img {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.col-docs .wp-block-column h2 {
    font-size: 16px;
    padding-bottom: 0;
}
.col-contacts p {
    background-color: #fff;
    padding-left: 20px;
    padding-right: 20px;
}
details summary {
    color: #3b7f67;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 20px;
}
details summary::marker {
    content: '';
}

/* Contact Form 7 */
.wpcf7 p {
    padding-bottom: 8px;
}
.wpcf7 a {
    text-decoration: underline;
}
.wpcf7 a:hover {
    text-decoration: none;
}
.wpcf7 input[type="email"],
.wpcf7 input[type="text"],
.wpcf7 textarea {
    border: 1px solid var(--sec-color-7);
    border-radius: 50px;
    font-size: 18px;
    padding: 11px 20px;
    width: 100%;
}
.wpcf7 input:focus, .wpcf7 textarea:focus {
    border-color: #000;
    outline: none;
}
.wpcf7 .wpcf7-submit {
    background-color: #3e826a;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    color: #f6f4f3;
    padding: 11px 20px;
    transition: all 0.3s ease 0s;
}
.wpcf7 textarea {
    height: 160px;
}
.wpcf7 .wpcf7-submit:hover {
    opacity: 0.8;
    cursor: pointer;
}
span.wpcf7-not-valid-tip {
    color: #773327;
    padding: 5px 16px;
}
div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing,
div.wpcf7-mail-sent-ok {
    background-color: #333;
    border: none;
    color: #fff;
}
.wpcf7 form.sent .wpcf7-response-output {
    background-color: #c1cc99;
    border: none;
    color: #fff;
    margin: 16px 0;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background-color: #773327;
    border: none;
    color: #fff;
    margin: 16px 0;
    padding: 1em;
}
.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
    margin-left: 0;
}

/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {
  
}
 
/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1100px) and (max-width: 1405px) {
 
}
 
/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
    .mobile_nav.opened .mobile_menu_bar:before {
        content: '\4d';
    }
    .blog-posts-4-col article,
    .col-contacts .wp-block-group,
    .col-docs .wp-block-column,
    .sundmused-items .item {
        flex-basis: unset!important;
        margin-bottom: 4%;
        margin-right: 4%;
        width: 48%;
    }
    .blog-posts-4-col article:nth-child(2n),
    .col-contacts .wp-block-group:nth-child(2n),
    .col-docs .wp-block-column:nth-child(2n),
    .sundmused-items .item:nth-child(2n) {
        margin-right: 0;
    }
}
 
/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {
 
}

/*** Gutenberg Responsive Styles Smartphone Only ***/
@media all and (max-width: 781px) {
    .wp-block-columns.sec-counter .wp-block-column {
        border-bottom: 1px solid #F6F4F3;;
        border-right: none;
    }
}

/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {

}
 
/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {
    img.alignright {
        display: block;
        float: none;
        margin: 0 0 1em 0;
    }
    .blog-posts-4-col article,
    .col-contacts .wp-block-group,
    .col-docs .wp-block-column,
    .sundmused-items .item {
        margin-bottom: 20px;
        margin-right: 0;
        width: 100%;
    }
}