/*!
Theme Name: Mathieu
Theme URI: http://underscores.me/
Author: Moinahemad Mansuri
Author URI: http://lionstechnologies.com/
Description: Custom Theme Development For Mathieu
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mathieu
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Mathieu is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

ul.sub-menu{
	display:none !important; 
}
li.menu-item-has-children:hover ul.sub-menu{
display:block !important;
}
li.menu-item-has-children>ul.sub-menu>li{
	position:relative;
}

li.menu-item-has-children>ul.sub-menu>li>ul.sub-menu {
    display: none !important;
	position:absolute;
	top:0;
	left:100%;
}

li.menu-item-has-children>ul.sub-menu>li.menu-item-has-children:hover>ul.sub-menu {
    display: block !important;
	
}

.header-v2 .navi-level-1 > li  {
    padding: 10px;
}

.header-v2 .navi-level-1 > li a {
    color: #ccc;
    padding: 0px 0px;
}

li.menu-item-has-children:hover ul.sub-menu {
	position:absolute;
}

.header-v2 .navi-level-1 > li a:before {
    display: block;
    width: 0;
    height: 3px;
    position: absolute;
    background: #204aa0;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    content: "";
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    z-index: -1;
}

.header-v2 .navi-level-1 li a:hover:before {
    width: 100%;
}

.header-v2 .navi-level-1 > li a {
	text-align:left;
}

ul.sub-menu a:hover {
    background: #333;
}

ul.sub-menu {
    -webkit-box-shadow: 0px 3px 5px 0px rgb(0 0 0 / 10%);
    box-shadow: 0px 3px 5px 0px rgb(0 0 0 / 10%);
    height: auto;
    min-width: 215px;
    display: block;
    position: absolute;
    top: -webkit-calc(100% - 5px);
    top: calc(100% - 5px);
    left: 0;
    z-index: 99999;
    display: none;
    padding: 0;
    background: #204aa0;
}

ul.sub-menu li a {
    display: block;
    padding: 10px 15px !important;
    width: 100%;
    color: #333;
    -webkit-transition: all 0.1s;
    transition: all 0.1s;
}

.navi-level-1 li:last-child a:after {
	display:none;
}

.header-v2 .left-header {
    float: left;
}

.navi-level-1 > li > a:after {
    right: -10px;
    top: 0px;
}

.header-v2 .navi-level-1 li:last-child ul.sub-menu {
	left:auto;
	right:0px;
}

.navi-level-1.sub-navi a:before {
	display:none !important;
}

@media (max-width: 767px){
.header-v2 .navi-level-1 > li {
	padding: 0px 11px;
}
		
.mobile-menu li a {
	color:#fff !important;
}	
	li.menu-item-has-children:hover ul.sub-menu {
	position:relative !important;
}
}

textarea.wpcf7-form-control.wpcf7-textarea.form-control {
	height:164px;
}

input.wpcf7-form-control.wpcf7-not-valid {
    border-color: red !important; 
}

span.wpcf7-not-valid-tip{
	display:none !important;
	
}

.wpcf7-response-output.wpcf7-display-none.wpcf7-validation-errors {
    display: inline-block !important;
    color: #fff;
}

div#wpcf7-f259-o1 textarea  {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
    font-size: 15px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #e6e6e6;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
    -webkit-transition: all 0.6s ease 0s;
    transition: all 0.6s ease 0s;
    resize: vertical;
}

span.wpcf7-list-item-label {
    margin-left: 15px;
}

input.wpcf7-form-control.wpcf7-not-valid{
	border: 1px solid #f00 !important;
}
span.wpcf7-not-valid-tip{
	display:none;
}
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing{
	display:inline-block !important; 
}

.wpcf7-response-output.wpcf7-display-none.wpcf7-mail-sent-ok{
	display:inline-block !important;
}
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output{
	display:none !important;
}
.wpcf7 form .wpcf7-response-output{
	display:inline-block !important;
}

div#wpcf7-f259-o1 textarea {
	padding:12px;
}

div#wpcf7-f259-o1 textarea::-webkit-input-placeholder {
	color:#9999a8;
}

.left-header a:before {
	display:none !important;
}

.left-header .navi-level-1 li {
    padding: 0;
}

.calculator td:first-child {
    background: initial;
    color: initial;
}

#payment-calc .rh-calc-head .go {
    width: auto !important;
}

.ratehub-calc .go, .ratehub-calc .get-details {
    background: rgb(102,102,102) !important;
}

.ratehub-calc .ico-plus:before, 
.ratehub-calc .ico-minus:before, 
.ratehub-calc .ico-well:before {
    color: rgb(102,102,102) !important;
}

#payment-calc .calc-tip-wrapper .active:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: -20px;
    right: auto;
    top: 17px;
    bottom: auto;
    border: 12px solid;
    border-color: rgb(102,102,102) rgb(102,102,102) transparent transparent;
}

.rh .popover .popover-title, #payment-calc .go, #payment-calc .get-details, #payment-calc .calc-tip-top, #payment-calc .calc-tip-bottom, #payment-calc .calc-tip-middle, .rh-rate-selector table.rate-display td:first-child+td+td a {
    background: rgb(102,102,102) !important;
    transition: background 0.25s;
}

#payment-calc .nib-left {
    margin-left: 14px;
    padding-left: 0!important;
}

#payment-calc .calc-tip-nib {
    background: transparent !important;
}

#payment-calc .calc-tip-top {
    border-radius: 5px 5px 0 0;
}

#payment-calc .calc-tip-bottom {
    border-radius: 0 0 5px 5px;
}

.image-top-right-border, .image-bottom-left-border {
    position: relative;
}

.image-top-right-border::before {
    content: '';
    display: block;
    position: absolute;
    top: -25px;
    right: -25px;
    width: 100%;
    height: 100%;
    border: 2px solid black;
}
.image-bottom-left-border::before {
    content: '';
    display: block;
    position: absolute;
    bottom: -25px;
    left: -25px;
    width: 100%;
    height: 100%;
    border: 2px solid black;
}

.charateristics th, .sidebar-area tr th:first-child, td:first-child {
    background: white !important; 
    color: #101010 !important;
}

