/*
Theme Name:     Typology Child
Theme URI:      https://mekshq.com/theme/typology
Description:    Child theme for Typology theme
Author:         meks
Author URI:     https://mekshq.com
Template:       typology
Version:        0.1.0
*/

body {
    font-family: 'Ravii', sans-serif !important;
}

h1, h2, h3 , h4 , h5 , p , span , a {
    font-family: 'Ravii', sans-serif !important;
}
.typology-header {
    position: absolute;
}
p{
    text-align: justify;
}
blockquote.wp-block-quote.is-layout-flow.wp-block-quote-is-layout-flow p {
    text-align: center;
}
h2.entry-title.h1 {
    font-size: 36px;
}
h1.entry-title.entry-title-cover-empty {
    font-size: 36px;
}
.post-letter {
    font-family: 'ravii';
}
h1.site-title {
    font-size: unset !important;
}
.typology-layout-a .entry-content p:last-child{
    text-align: justify;
}
.entry-footer .typology-button:first-child {
    background: #00000000;
    color: #000666;
    border-radius: 4px;
}
.entry-footer .typology-button:first-child:hover {
	box-shadow: none;
	color: #fff !important;
}
.entry-footer .typology-button:first-child {
    position: relative; 
    overflow: hidden; 
    background: transparent;
    color: #000666; 
    border-radius: 4px;
    transition: color 0.5s ease; 
	display: inline-block;
	z-index: 1 !important;
}
.entry-footer .typology-button:first-child::before {
    content: "";
    position: absolute; 
    top: 0;
    left: 100%;
    width: 100%; 
    height: 100%; 
    background: #000666; 
	border-radius: 3px;
    transition: left 0.5s ease;
    z-index: -1 !important; 
}
.entry-footer .typology-button:first-child:hover {
    color: #fff !important;
}
.entry-footer .typology-button:first-child:hover::before {
    left: 0;
}

ul#menu-main-menu > li {
	margin: 0px 5px;
}
li.menu-item.current_page_item{
	background: #fff !important;
	border-radius: 4px;	
}
li.menu-item.current_page_item > a{
	color: #000666 !important;
}
li.current-menu-item{
	background: #fff !important;
	border-radius: 4px;	
}
li.current-menu-item > a{
	color: #000666 !important;
}
li.menu-item:hover{
	background: #fff !important;
	border-radius: 4px;
}
li.menu-item:hover > a{
	color: #000666 !important;
}
.typology-section {
    border-radius: 4px;
}
.page-id-170 .post-letter{
	display: none;
}
button.wpforms-submit {
    font-family: 'ravii' !important;
	border-radius: 4px !important;
}
button.wpforms-submit:hover{
	box-shadow: none !important;
}
button.wpforms-submit:focus{
	border: 0px !important;
	outline: 0px !important;
}
button.wpforms-submit:focus-visible {
	border: 0px !important;
	outline: 0px !important;
}
h1.entry-title.entry-title-cover-empty{
	color: #000666;
	width: fit-content !important;
	position: relative;
}
.page-id-170 h1.entry-title.entry-title-cover-empty::before {
    content: "";
    background: url('../../..//wp-content/uploads/2024/10/call.png') no-repeat;
    position: absolute;
	left: -70px;
	bottom: 4px;
    width: 50px;
    height: 50px;
    background-size: contain;
	animation: spin 3s linear infinite;
}
@keyframes spin {
    0% {
        transform: rotate(260deg);
    }
    50% {
        transform: rotate(280deg);
    }
	100% {
        transform: rotate(260deg);
    }
}
input#submit {
    font-family: 'ravii';
    border-radius: 4px;
    height: 45px;
}
.section-head {
    margin-bottom: 4rem;
}
h3.section-title.h6{
	position: relative;
	width: fit-content;
	margin: auto;
}
body.single-post h3.section-title.h6::before {
    content: "";
    background: url('../../../wp-content/uploads/2024/10/chat.png') no-repeat;
    position: absolute;
	bottom: 78px;
	right: 0;
    left: 0;
    margin: auto;
    width: 40px;
    height: 40px;
    background-size: contain;
}
.comment-form p {
    margin-bottom: 5px;
    display: contents;
}
p.form-submit {
    display: block;
}
span.updated{
	position: relative;
}
span.updated::before {
    content: "";
    background: url('../../../wp-content/uploads/2024/10/calendar.png') no-repeat;
    position: absolute;
    width: 15px;
    height: 15px;
    background-size: contain;
    left: -22px;
    top: 2px;
}
input[type="text"] , input[type="email"] , textarea {
    border-radius: 4px;
}
input[type="text"]:focus , input[type="email"]:focus , textarea:focus {
    border: 1px solid #000666;
}
h1.section-title.h6::before {
    content: "";
    background: url('../../../wp-content/uploads/2024/10/newspaper-1.png') no-repeat;
    position: absolute;
    width: 70px;
    height: 70px;
    background-size: contain;
    top: -86px;
    right: 0;
    left: 0;
    margin: auto;
}
.typology-lock, .typology-lock .cover-letter, .typology-lock .typology-cover-img, .typology-lock .typology-header {
    padding-right: 0px !important;
}
.site-title a {
    color: transparent !important;
	z-index: 1;
    position: relative;
}
.site-title{
	position: relative;
}
.site-title::before{
    content: "";
    background: url('../../../wp-content/uploads/2024/10/commo-logo.png') no-repeat;
    position: absolute;
    width: 150px;
    height: 100px;
    right: -40px;
    background-size: contain;
	z-index: 0;
	margin-top: -0.9rem !important;
}
footer#typology-footer {
    background: #000666;
}
.textwidget {
    color: #fff;
}
.widget{
	text-wrap: nowrap;
	margin-top: 2rem;
    margin-bottom: 3rem !important;
}
.typology-footer .container>.typology-footer-sidebar {
    margin-bottom: 0 !important;
}
div#media_image-4 {
    display: flex;
    justify-content: center;
}
@media (min-width: 768px){
	div#text-5 {
    margin-right: -2rem;
}
}
@media (max-width: 768px){
	.site-title::before {
  content: "";
  background: url('../../../wp-content/uploads/2024/10/commo-logo.png') no-repeat;
    background-size: auto;
  position: absolute;
  width: 150px;
  height: 100px;
  right: -40px;
  background-size: contain;
  z-index: 0;
  margin-top: -0.9rem !important;
}
	.entry-footer .typology-button:first-child {
    margin-left: auto;
    margin-right: 0px;
}
	ul.typology-nav.typology-actions-list {
    background: #fff;
    border-radius: 4px;
}
	.fa-bars:before, .fa-navicon:before, .fa-reorder:before {
    color: #000666;
}
	.page-id-170 h1.entry-title.entry-title-cover-empty::before {
	left: -50px;
    width: 30px;
    height: 30px;
}
	button#wpforms-submit-478 {
    font-size: 16px !important;
}
	a.typology-button {
    font-size: 16px !important;
	padding: 0px 25px;
}
	.typology-section-related {
    padding-top: 4rem;
}
	h3.section-title.h6 {
    padding-top: 5rem;
}
	input#submit {
    font-size: 16px !important;
}
	.section-head .section-title {
    margin-top: 5rem;
}
	h1.section-title.h6::before {
    width: 55px;
    height: 55px;
    top: -65px;
}
	h3.section-title.h6 {
    text-wrap: nowrap !important;
}
	body.archive .site-title::before{
    top: -12px;
}
	body.page-id-170 .site-title::before{
    top: -12px;
}
}
