/*
 Theme Name: Nivex 
 Theme URI: https://themewar.com/wp/nivex/
 Author: ThemeWar
 Author URI: https://themeforest.net/user/themewar/portfolio
 Description: Nivex Architecture & interior Wordpress Theme
 Version: 1.0
 License:
 License URI: 
*/

/*==================================
    [Table of contents]
===================================
    01. Root Variables
    02. Grid Modification
    03. Heading & Sub Heading
    04. Back To Top
    05. Post Like Tooktips Design
*/

/*-----------------------------------------
/  01. Root Variables
/-----------------------------------------*/
:root{
    --tw-primary-font: "Manrope", sans-serif;
    --tw-heading-font: "Jost", sans-serif;
    
    --tw-primary-color: #000000;
    --tw-secondary-color: #B1B1B1;
    --tw-white-color: #FFFFFF;

    --tw-body-color: #666666;
    --tw-body-font-size: 16px;
    --tw-body-line-height: 26px;
    --tw-body-font-weight: 400;
    --tw-body-letter-spacing: 0;

    --tw-heading-color: #000000;
    --tw-dark-color2: #282828;
    --tw-heading-font-weight: 400;
    --tw-heading-line-height: 100%;
}

body{
    font-family: var(--tw-primary-font);
    font-size: var(--tw-body-font-size);
    line-height: var(--tw-body-line-height);
    font-weight: var(--tw-body-font-weight);
    color: var(--tw-body-color);
    letter-spacing: var(--tw-body-letter-spacing);

    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6{
    font-family: var(--tw-heading-font);
    color: var(--tw-heading-color);
    font-weight: var(--tw-heading-font-weight);
    line-height: var(--tw-heading-line-height);
    margin: 0 0 15px;
}
p{
    margin: 0 0 15px;
}
a{
    text-decoration: none;
    color: var(--tw-primary-color);
    -webkit-transition: all ease 350ms;
    -o-transition: all ease 350ms;
    transition: all ease 350ms;
}
a:hover, a:focus{
    color: var(--tw-secondary-color);
    outline: 0;
}
button, input[type="submit"]{
    border: none;
    background: var(--tw-primary-color);
    color: var(--tw-white-color);
    padding: 16px 24px;
    font-size: 14px;
    line-height: 1;
    border-radius: 0;
    text-align: center;
    cursor: pointer;
    -webkit-transition: all ease 350ms;
    -o-transition: all ease 350ms;
    transition: all ease 350ms;
}
button:hover, button:not(.backtotop):focus, input[type="submit"]:hover, input[type="submit"]:focus{
    background-color: var(--tw-secondary-color);
    color: var(--tw-white-color);
    outline: 0;
}
.mb-20{
    margin-bottom: 20px;
}
.mt-20{
    margin-top: 20px;
}
.mb-40{
    margin-bottom: 40px;
}
.themewar-header-content{
    position: relative;
    z-index: 999;
}
svg{
    -webkit-transition: all ease .35s;
    -o-transition: all ease .35s;
    transition: all ease .35s;
}
@media(min-width: 1200px){
    [data-widget_type="themewar-header.default"] .container, [data-widget_type="themewar-header.default"] .container-lg, [data-widget_type="themewar-header.default"] .container-md, [data-widget_type="themewar-header.default"] .container-sm, [data-widget_type="themewar-header.default"] .container-xl, [data-widget_type="themewar-header.default"] .container-xxl {
        max-width: 1314px;
    }
}
@media(min-width: 1400px){
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1314px;
    }
    .g-30,.gx-30 {
        --bs-gutter-x: 1.875rem
    }
    
    .g-30,.gy-30 {
        --bs-gutter-y: 1.875rem
    }
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number]{
    -moz-appearance: textfield;
}

a.textLogo,
a.textLogo {
    font-size: 40px;
    line-height: 1;
    font-family: var(--tw-primary-font);
    font-weight: 700;
    color: var(--tw-heading-color);
    display: inline-block;
}
/*-----------------------------------------
/  02. Grid Modification
/-----------------------------------------*/
.col-xxl-5-12,
.col-xl-5-12{
    width: 20%;
}

/*-----------------------------------------
/  03. Heading & Sub Heading
/-----------------------------------------*/
.nivexSubHeading{
    position: relative;
    font-size: 16px;
    color: var(--tw-body-color);
    font-weight: 500;
    line-height: 1;
    margin: 0 0 14px;
}
.nivexHeading{
    position: relative;
    font-size: 40px;
    line-height: 50px;
    font-weight: 300;
    color: var(--tw-heading-color);
    margin: 0;
}
.nivexHeading strong{
    font-weight: 600;
}
.nivexHeadingWrap{
    position: relative;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.nivexHeadingWrap h2{
    font-size: 40px;
    line-height: 1;
    font-weight: 300;
    margin: 0;
}
.nivexHeadingWrap h2 strong{
    font-weight: 600;
}
.nivexHeadingWrap > span{
    width: 100px;
    height: 1px;
    background: #E5E5E5;
    position: relative;
    margin: 1px 30px 0 31px;
}
.nivexHeadingWrap h5{
    font-weight: 500;
    font-size: 16px;
    color: var(--tw-body-color);
    line-height: 1;
    margin: 0;
}


/*-----------------------------------------
/  04. Back To Top
/-----------------------------------------*/

.backtotop{
    position: fixed;
    right: 15px;
    bottom: 20px;
    width: 45px;
    height: 45px;
    background: var(--tw-primary-color);
    background-color: var(--tw-primary-color);
    color: var(--tw-white-color);
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    cursor: pointer;
    font-size: 16px;
    border-radius: 50%;
    padding: 0;
    margin: 0;
    z-index: 999992;
    -webkit-transform: scale(0);
            -ms-transform: scale(0);
        transform: scale(0);
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}
.backtotop::after {
    position: absolute;
    font-family: 'FontAwesome' !important;
    content: "\f102";
    text-align: center;
    line-height: 45px;
    font-size: 16px;
    color: inherit;
    left: 0;
    top: 0;
    height: 45px;
    width: 45px;
    cursor: pointer;
    display: block;
    z-index: 1;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.backtotop.activate{
    -webkit-transform: scale(1);
            -ms-transform: scale(1);
        transform: scale(1);
}
.backtotop:hover{
    color: var(--tw-white-color);
}
.backtotop svg path { 
	fill: none; 
}

.backtotop svg.progress-circle path {
	stroke: var(--tw-white-color);
	stroke-width: 6;
	box-sizing:border-box;
	-webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}


/*-----------------------------------------
/  05. Post Like Tooktips Design
/-----------------------------------------*/
.post_disLike,
.post_like {
    position: relative;
}
.post_disLike::before,
.post_like::before{
    content: attr(data-like);
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    top: -25px;
    min-width: 65px;
    height: 25px;
    line-height: 25px;
    border-radius: 4px;
    padding: 0 5px;
    font-size: 10px;
    color: #fff;
    text-align: center;
    background: #222222;
    -webkit-transition: all 350ms ease;
    -o-transition: all 350ms ease;
    transition: all 350ms ease;
    opacity: 0;
    visibility: hidden;
    z-index: 2;
}
.post_like::before{
    left: 16px;
}
.post_disLike:hover:before,
.post_like:hover:before{
    top: -35px;
    opacity: 1;
    visibility: visible;
}
.post_disLike::after, 
.post_like::after {
    content: '';
    position: absolute;
    left: 50%;
    top: -10px;
    width: 10px;
    height: 10px;
    background: #222222;
    -webkit-transform: rotate(50deg);
        -ms-transform: rotate(50deg);
            transform: rotate(50deg);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 450ms ease;
    -o-transition: opacity 450ms ease;
    transition: opacity 450ms ease;
    -webkit-transform-origin: top center;
        -ms-transform-origin: top center;
            transform-origin: top center;
}
.post_like::after {
    left: 15px;
}
.post_disLike:hover:after, 
.post_like:hover:after {
    top: -15px;
    opacity: 1;
    visibility: visible;
}

@-webkit-keyframes scalePulse {
    0% {
        transform: scale(0.85);
    }
    100% {
        transform: scale(1.1);
    }
}
@keyframes scalePulse {
    0% {
        transform: scale(0.85);
    }
    100% {
        transform: scale(1.1);
    }
}
@-webkit-keyframes reveal-image {
    0% {
        -webkit-clip-path:inset(0 100% 0 0);
        clip-path: inset(0 100% 0 0);
    }

    100% {
        -webkit-clip-path: inset(0 0 0 0);
        clip-path: inset(0 0 0 0);
    }
}

@keyframes reveal-image {
    0% {
        -webkit-clip-path:inset(0 100% 0 0);
        clip-path: inset(0 100% 0 0);
    }

    100% {
        -webkit-clip-path: inset(0 0 0 0);
        clip-path: inset(0 0 0 0);
    }
}

@-webkit-keyframes welAnim{
    0%{
      -webkit-transform:rotate(0deg);
              transform:rotate(0deg);
    }
    100%{
      -webkit-transform:rotate(360deg);
              transform:rotate(360deg);
    }
}
@keyframes welAnim{
    0%{
      -webkit-transform:rotate(0deg);
              transform:rotate(0deg);
    }
    100%{
      -webkit-transform:rotate(360deg);
              transform:rotate(360deg);
    }
}

.themeWar_image_rotate img{
    -webkit-animation: welAnim 7s linear infinite;
    animation: welAnim 7s linear infinite;
}