



/* ----------------------------- Some magic from bootstrap -----------------------------*/
.d-flex{
	display: flex;
}
.justify-content-center{
	justify-content: center;
}
.justify-content-evenly{
	justify-content:space-evenly;
}
.justify-content-around{
	justify-content:space-around;
}
.justify-content-between{
	justify-content:space-between;
}


/*-------------------------------------- Own styles --------------------------------------*/

/*-------------------------------------- Blog page --------------------------------------*/

/*Filters*/
.categories-list{
	width: fit-content;
	margin-bottom: 20px;
}
.filter-item{
	display: block;
	min-height: 30px;
	min-width: 80px;
    padding: 5px 10px;
    margin: 0 5px 5px 0;
    text-align: center;
    background: #f6f7f8;
    border-radius: 10px;
    cursor: pointer;
    color: #333;
}

.filter-item:hover, .filter-item.active{
	background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/*.categories-list .filter-input:checked + .filter-item{
	background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}*/

/*.filter-input{
	display: none;
}
*/
/*Pagination*/
.pag-link-wrap{
	max-width: 450px;
	margin: 0 auto;
	flex-wrap:wrap;
}

.pagination .pag-link-wrap a.current{
	background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.pagination ul{
    flex-wrap: wrap;
    justify-content: center;
}

/*---------------------------------- Single article page ----------------------------------*/

.related-posts{
	margin: 40px 0;
}

.related-posts-list{
	display: flex;
    flex-wrap: wrap;
    list-style: none !important;
    padding-left: 0 !important;
}

.related-posts-list .related-posts-item{
	width: 50%;
	list-style: none;
	padding-left: 0;
	padding-right: 70px;

}
.related-posts-list .related-posts-item a{
    font-size: 20px;
	color: #333 !important;
	font-weight: bold;
}
.related-posts-list .related-posts-item a:hover{
	color: var(--primary-color) !important;
}

.related-posts-list .related-posts-item .related-posts-excerpt{
	font-size: 15px;
}


/*Contact form*/

section.contact-section .wrapper{
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(
    circle farthest-side,
    rgba(175, 24, 171, 1) -15%,
    rgba(104, 13, 168, 1) 100%
  );
}

section.contact-section .wpcf7{
	width: 33%;
}

section.contact-section .wpcf7-form {
    background: unset;
    box-shadow: unset;
    position: relative;
    margin-bottom: 30px;
}

section.contact-section .wpcf7-form .cf7-grid{
	width: 460px;
}

section.contact-section .wpcf7-form input{
    font-family: "Montserrat", sans-serif;
	color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    font-size: 18px;
    font-weight: 400;
    height: 40px;
    margin: 0;
    padding: 0 20px;
}
section.contact-section .wpcf7-form .number input{
    font-family: "Montserrat", sans-serif;
    max-width: 460px;
    width: 100%;
    outline: none;
    border: none;	
}

section.contact-section .wpcf7-form textarea{
    font-family: "Montserrat", sans-serif;
    color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    font-size: 18px;
    font-weight: 400;
    height: 85px;
    padding-top: 10px;
    vertical-align: bottom;
    resize: none;
}

section.contact-section .wpcf7-form label{
    display: block;
    color: rgb(255, 255, 255);
    font-family: "Montserrat", sans-serif;
    padding-bottom: 5px;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 0;
}
.wpcf7-form br {
    display: none;
}

section.contact-section .wpcf7-form .wpcf7-submit{
    color: #fff;
    border-radius: 10px;
    font-size: 24px;
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
    background-color: #b44cc9;
    padding: 0px 15px;
    display: block;
    width: 260px;
    font-weight: 600;
    height: 44px;
}

section.contact-section .wpcf7-form h4{
	color: #ffffff;
    font-size: 24px;
    font-family: "Montserrat", sans-serif;
    line-height: 1.3;
    font-weight: 600;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
}
.wpcf7 form.sent .wpcf7-response-output {
    position: absolute;
    bottom: 5px;
    padding: 0.2em 1em;
}

/*---------------------------------------- 404 page ----------------------------------------*/

main.page-404{
    text-align:center;
    margin: 35px auto;
}

.image-404{
    display: block;
    margin: 0 auto;
}
.head-404, .text-404, a.link-404 {
    font-family: "Montserrat", sans-serif;
}

a.link-404 {
    margin: 20px auto;
    display: block;
    width: 100px;
    padding: 10px 5px;
    background: radial-gradient(
    circle farthest-side,
    rgba(175, 24, 171, 1) -15%,
    rgba(104, 13, 168, 1) 100%);
    color: #fff;
    border-radius: 25px;
}


/*-------------------------------------- Media styles --------------------------------------*/

@media (max-width: 1540px) {
    section.contact-section .wpcf7,  section.contact-section .image-col{
        width: 50%;
    }
        section.contact-section .wpcf7-form .cf7-grid, section.contact-section .wpcf7-form h4{
        width: 80%;
    }
    section.contact-section .wpcf7-form .number input {
        max-width: unset;
    }
}

@media (max-width: 1280px) {
    section.contact-section .wpcf7-form .cf7-grid, section.contact-section .wpcf7-form h4{
        width: 100%;
    }
}

@media (max-width: 720px) {

    .related-posts-list .related-posts-item {
        width: 100%;
        padding-right: 0px;
    }

     section.contact-section .wpcf7,  section.contact-section .image-col{
        width: 100%;
    }
    .contact-section .wrapper, .contact-section .wpcf7{
        display: flex;
        flex-direction: column;
    }
    .contact-section .wpcf7-form {
        max-width: 90%;
    }
    section.contact-section .wpcf7-form .wpcf7-submit {
        width: 70%;   
        margin: 0 auto;
        box-shadow: #0000004f 0px 0px 5px 1px;
    }
}

