/*
Theme Name: Ordinarilyrare
Theme URI: https://www.mohanrao.in
Author: M Mohan Rao
Author URI: https://www.mohanrao.in
Description: It is custom theme developed for Ordinarilyrare by M Mohan Rao. It is lightweight, secure, fast and seo optimized theme.
Version: 1.1
Text Domain: ordinarilyrare
*/
:root{
    --navy-blue:#0e0e4e;
    --orange:#ff8502;
    --light-purple:#584c85;
    --gray:#232323;
    --white:#ffffff;
    --light-gray: #484848;
    --bs-border-radius-xxl: 3rem;
    --light-bg-blue:#faf9fb;
}
a{text-decoration: none;color: var(--gray);color: var(--gray);}
body{font-family: "Outfit", sans-serif;font-weight: 400;color: var(--gray);font-size: 1.125rem;}
h1, h2, h3, h4, h5, h6{font-family: "Outfit", sans-serif;margin-bottom: 2.8125rem;font-weight: 700;}
h2{font-size: 2.125rem;}
.logo-text{font-weight: 700;}
li.menu-item-has-children.nav-item a {
    display: flex !important;
    align-items: center;
}
.dropdown-toggle::after {
    content: "\e907";
    font-family: 'icomoon';
    border: 0px solid var(--white);
}
header.position-static nav.border-orange{border-bottom: 0;}
header.position-static nav.px-0{padding-left: 0!important;padding-right: 0!important;}
.navbar-nav .dropdown-menu{background-color: var(--orange);}
.navbar-nav .dropdown-menu li a{background: none;color: var(--white);}
.navbar-nav .dropdown-menu li a:hover, .navbar-nav .dropdown-menu li.current_page_item a{color: var(--navy-blue);}
.navbar-expand-lg .navbar-nav .nav-link{margin-left: 30px;}
.custom-bg{background-color: rgba(5, 26, 83, 0.6);}
.bg-gradiant{background: #051A53;
background: -webkit-linear-gradient(90deg, rgba(5, 26, 83, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
background: -moz-linear-gradient(90deg, rgba(5, 26, 83, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
background: linear-gradient(90deg, rgba(5, 26, 83, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#051A53", endColorstr="#FFFFFF", GradientType=1);}
.bg-navy-blue{background-color: var(--navy-blue);}
.bg-orange{background-color: var(--orange);}
.light-bg-blue{background-color: var(--light-bg-blue);}
.light-purple{background-color: var(--light-purple);}
.light-purple .btn:hover, .bg-none.btn:hover{background-color: var(--white)!important;color: var(--gray);}
.border-orange{border-bottom: 3px solid #f98f1d;}
.btn-border-orange{border: 2px solid #f98f1d;}
.contact-sec h4 a{color: var(--orange)!important;}
.bg-none{background-color: rgba(255, 255, 255, 0)!important;}
.navbar-nav a{color: var(--white);}
img{max-width: 100%; height: auto;}
.inner-blog-hero-sec img{max-height:411px;min-height:411px;object-fit: cover;}
.inner-blog-hero-sec .imgwrap::after, .inner-hero-sec .imgwrap::after{content: "";position: absolute;left: 0;top: 0;right: 0;bottom: 0;background-color: rgba(0, 0, 0, 0.5);width: 100%;height: 100%;}
.inner-hero-sec .imgwrap::after{background-color: rgba(0, 0, 0, 0.2);}
.inner-blog-hero-sec .border-bottom{border-color: #585858!important;}
ul li.current_page_item a, .nav-link:focus, .nav-link:hover{color: var(--orange);}
.hero-sec h1, .hero-sec h2{font-weight: 400;}
.hero-txt p, .hero-txt h2{font-size: 1.75rem;margin-bottom: 2.6125rem;}
.hero-txt h2:last-child{margin-bottom: 0;}
h1 strong, h2 strong{color: var(--orange);font-weight: 700;}
.btn{background-color: var(--orange);color: var(--white);padding: 15px 25px;font-weight: bold;font-size: 16px;}
.btn:hover{background-color: var(--navy-blue);color: var(--white);}
.home-1st-section{font-size: 1.25rem;font-weight: 500;}
.home-1st-section p:last-child{margin-bottom: 5px;}
.icon-bg{width: 130px;height: 130px; position: absolute;right: 0;top:10px}
figure{margin-bottom: 0;}
.border{border-color: #f2f2f2;}
.post-cont{margin-top: -30px;position: relative;background: #fff;}
.post-cont h2 a{color: var(--gray);text-decoration: none;}
.post-cont h2 a:hover, article h3 a:hover{color:var(--navy-blue);}
.post-cont h2{font-size: 1.5rem;}
.post-cont .small{color: var(--light-gray);font-size: 14px;}
.right-neg-mar{margin-left: -100px;}
.left-neg-mar{margin-right: -100px;}
.no-radious-top-left-bottom-right{border-top-left-radius: 0px!important;border-bottom-right-radius: 0px!important;}
.no-radious-top-right-bottom-left{border-top-right-radius: 0px!important;border-bottom-left-radius: 0px!important;}
.boxes p:last-child{margin-bottom: 0;}
.boxes p:last-child strong{color: var(--orange);}
.boxes h2{margin-bottom: 30px;}
.as-seen-section h2, footer h2{margin-bottom: 20px;}
.testimonial-icon{font-size: 40px;margin-bottom: 10px;}
.testimonials-content{color: #4f4f4f;min-height: 170px;}
.testimonial-icon{color:var(--orange);}

.subsec-wrap input[type='email'], .subsec-wrap input[type=search] {
    width: 100%;
    padding: 0 40px;
    height: 61px;
    border-radius: 0.375rem;
    background-color: #0a0a3a;
    outline: none;
    border-color: #484848 !important;
    color: var(--white);
}
button.subbtn {
    position: absolute;
    right: 16px!important;
    height: 0;
    text-decoration: none;
    color: #8e8e8e;
    background-color: #0a0a3a;
    text-transform: uppercase;
    border-left: 1px solid #484848;
    padding-left: 17px;
}
button.subbtn:hover, .social-links li a{background-color: #0a0a3a;}
.subsec-wrap .form-control::placeholder{
    color: #8e8e8e;
    font-size: 18px;
}
footer .border-top, footer .border-bottom, .social-links li a{border-color: #484848 !important;}
footer ul.nav li {
    padding: 5px 15px;
}
.copyright-txt, .copyright-txt a{color: #8e8e8e;}
footer a{color: var(--white);}

.social-links li {
    list-style-type: none;
    display: inline-flex;
    font-size: 25px;
}
.social-links li a {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-width: 1px;
    border-style: solid;
    border-image: initial;
    border-radius: 60px;
    color: var(--white);
    text-decoration:none;
}
.social-links li a:hover{background-color: var(--orange);color: var(--white);}
.pagination-wrapper ul {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 0;
    list-style: none;
}

.pagination-wrapper a,
.pagination-wrapper span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #8e8e8e;
    border-radius: 50%;
    text-decoration: none;
    color: var(--light-gray);
}

.pagination-wrapper .current {
    background-color: var(--navy-blue);
    color: #fff;
    border-color: var(--navy-blue);
}
.articles-section figure {
    aspect-ratio: 3 / 2;
    width: 100%;
    overflow: hidden;
}

.articles-section figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


body .gform_wrapper input[type=text],
body .gform_wrapper input[type=email],
body .gform_wrapper input[type=tel],
body .gform_wrapper textarea,
body .gform_wrapper select{
    width:100%!important;
    height:58px;
    border:2px solid var(--light-gray)!important;
    background:var(--gf-bg)!important;
    border-radius:var(--gf-radius)!important;
    padding:0 20px!important;
    transition:all .3s ease;
    outline: none!important;
    font-size: 18px;
}

body .gform_wrapper textarea{
    min-height:160px;
    padding-top:18px!important;
    resize:none;
}

body .gform_wrapper input::placeholder,
body .gform_wrapper textarea::placeholder{
    color:#94a3b8!important;
    opacity:1;
}

body .gform_wrapper .gform_button{
    background-color: var(--orange);
    color:var(--white);
    border:0!important;
    transition:all .3s ease;
}
.gform-theme--foundation .gform_fields{row-gap: 15px!important;}
body .gform_wrapper label, body .gform_wrapper input{font-size: 1.125rem!important;margin-bottom: 15px!important;}
input#gform_submit_button_1{ background-color: var(--orange);color:var(--white);}
/* Submenu position */

.dropdown-submenu {
    position: relative;
}

/* Desktop submenu */

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

/*
Media Query css starts from here
*/

@media (max-width: 768px) {
.hero-sec img {
    min-height: 400px;
    object-fit: cover;
}
.inner-hero-sec img{    
  height: 290px;
  object-fit: cover;
}
.inner-blog-hero-sec img {
    max-height: 340px;
    min-height: 340px;
    object-fit: cover;
}
.testimonials-content{min-height: auto;}
.icon-bg{position: relative;margin: 10px auto 0 auto;}
.hero-txt p, .hero-txt h2, .hero-txt h1, .boxes h2{margin-bottom: 1.7rem;}
.hero-txt p, .hero-txt h2{font-size:1.2rem;}
h2 {
    font-size: 1.6rem;
}
.right-neg-mar{margin-left: 0;}
.left-neg-mar{margin-right: 0;}
}


/*
Icons CSS starts from here
*/
@font-face {
  font-family: 'icomoon';
  src:  url('./assets/fonts/icomoon.eot?n0midu');
  src:  url('./assets/fonts/icomoon.eot?n0midu#iefix') format('embedded-opentype'),
    url('./assets/fonts/icomoon.ttf?n0midu') format('truetype'),
    url('./assets/fonts/icomoon.woff?n0midu') format('woff'),
    url('./assets/fonts/icomoon.svg?n0midu#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-comment-o:before {
  content: "\e90a";
}
.icon-social-facebook:before {
  content: "\e900";
}
.icon-arrow-right:before {
  content: "\e901";
}
.icon-instagram:before {
  content: "\e902";
}
.icon-calendar:before {
  content: "\e903";
}
.icon-user:before {
  content: "\e904";
}
.icon-mail:before {
  content: "\e905";
}
.icon-phone:before {
  content: "\e906";
}
.icon-chevron-down:before {
  content: "\e907";
}
.icon-unread:before {
  content: "\e908";
}
.icon-quotes-left:before {
  content: "\e909";
}
.icon-ldquo:before {
  content: "\e909";
}


/* Desktop */

@media (min-width: 992px) {

    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
    }

    .dropdown:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block!important;
    }

}

/* Mobile */

@media (max-width: 991px) {

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        border: 0;
        background: transparent;
        padding-left: 15px;
        display: none;
    }

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-submenu > .dropdown-menu {
        padding-left: 0;
        display: block;
    }

    .dropdown-toggle::after {
        float: right;
        margin-top: 0;
    }

}