/*

    Theme Name: Cerah
    Theme URI: https://cerah.sleware.com/
    Text Domain: cerah
    Domain Path: /languages
    Version: 1.0
    Description: Cerah is the perfect theme for your WordPress Website. It is fast, highly customizable and ready for almost any Website, like a Blog, Portfolio, Business Websites, WooCommerce Store and much more. It supports Elementor, Divi, Visual Composer, Beaver Builder and many more visual Editing Plugins. Looking for a multy-purpose Theme? Look no further. Learn more and check out our powerful premium version that comes with 2 complete Web Templates https://sleware.com/cerah-theme/
    Tags: blog, e-commerce, portfolio, one-column, custom-colors, custom-header, custom-logo, featured-images, footer-widgets, full-width-template
    Author: Sleware
    Author URI: https://sleware.com/
    Tested up to: 7.4
    Requires PHP: 7.4
    License: GNU General Public License v2 or later
    License URI: https://www.gnu.org/licenses/gpl-2.0.html
    
    Cerah Wordpress Theme, Copyright 2022 Sleware
*/

/* General CSS */

a{
    text-decoration: none;
}

h1{
    color: #474747;
}

h2{
    color: #474747;
}

h3{
    color: #474747;
}

h4{
    color: #474747;
}

label{
    color: #474747;
}

hr{
    color: #474747;
}

button {
    background-color: #E5890A;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

body {
    min-height: 0;
}

/* Header CSS */

.nav-links{
    margin-top: 3rem;
}

.navbar {
    transition: all 0.4s;
}

.navbar a:hover{
    text-decoration: none;
}

.navbar-nav{
    font-size: 1.125rem;
}

.navbar-collapse{
    flex-grow: 0 !important;
    align-items: flex-end !important;
}

.brand{
    display: inline-block;
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    margin-right: 1rem;
    font-size: 2rem;
    line-height: inherit;
    white-space: nowrap;
    text-decoration: none;
}

.navbar-toggler{
    color: #474747;
}

#menu-header{
    list-style-type: none;
    padding-right: 2rem;
}

.menu-item {
    padding-right: 2rem;
}

@media (max-width: 991.98px) {
    .navbar {
        background: #fafafa;
    }

    .navbar .navbar-brand, .navbar .nav-link {
        color: #474747;
    }

    .navbar-nav a{
        color: #474747;
    }

    .menu-item{
        padding-bottom: 0.5rem ; 
    }

    .header{
        margin-bottom: 4rem;
    }

    .container{
        padding-right: 0px;
        padding-left: 0px;
    }
}

.bg-cover {
    background-size: cover;
    min-height: 60vh;
}

.navbar-nav ul{
    visibility: hidden;
    transition: all 0.5s ease;
    display: none;
    padding: 1rem;
    list-style-type: none;
    font-size: 1rem;
    position: absolute;
    background: #fafafa;
}

.navbar-nav ul li{
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-spacing: 5px;
}

.navbar-nav ul li:hover{
    background-color: #0000000a;
}

.navbar-nav li:hover > .sub-menu,
.sub-menu:hover {
    padding-top: 1rem;
    visibility: visible;
    opacity: 1;
    display: block;
}

.sub-menu li{
    clear: both;
}

.image-title{
    padding-top: 15rem;
}

.image-big{
    background: url(https://sleware.com/wp-content/uploads/2022/01/hill-sky-scaled.jpg) center 60%;
    background-repeat: no-repeat;
}

.custom-logo-link{
    padding-left: 1rem;
}

.custom-logo{
    width: clamp(250px, 50%, 500px);
    height: clamp(250px, 50%, 500px);
}

/* Footer CSS */
  
footer {
    background: #fafafa;
}

.form-control {
    background: #2f3138;
    border-color: #545454;
}
  
.form-control:focus {
    background: #2f3138;
}

.text-small {
    font-size: 1.1rem;
}

.footer-bottom{
    background: #eeeeee;
}

i:link{
    color: #fff;
}

.margin{
    margin-top: 1000px;
}

#social-media{
    margin-right: 1rem;
}

.list-unstyled ul{
    list-style-type: none;
    padding: 0;
}

.list-unstyled ul li a:hover{
    text-decoration: none;
}

/* Blog Page CSS */

.post-section{
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.post-section img{
    max-width: 100%;
    width: 100%;
    transition: all 0.3s;
    display: block;
    height: auto;
    transform: scale(1);
    padding-bottom: 2rem;
}

.post-section img:hover{
    transform: scale(1.05);
}

.blog-title h3:hover{
    text-decoration: none;
}

/* Blog Post CSS */

input, label {
    display:block;
}

.form-group textarea{
    width: 100%;
}

.form-submit input{
    background-color: #E5890A;
    border: none;
    color: white;
    padding: 10px 22px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.comment-author{
    padding-bottom: 1rem;
}

.comment-meta{
    padding-bottom: 1rem;
}

.comment-author img{
    width: 30px;
    height: 30px;
}

.reply{
    padding-bottom: 3rem;
}

.blog-meta{
    color: #bdbdbd;
}

.tags{
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.category ul{
    display: flex;
    padding: 0;
    list-style-type: none;
}

.category ul li{
    padding-right: 1rem;
}

.content-header{
    margin-bottom: 2rem;
}

.comments{
    margin-top: 2rem;
}

.article-section{
    margin-top: 2rem;
}

.title{
    margin-bottom: 1rem;
}

.form-group textarea {
    width:100%;
    resize: vertical;
    padding: 15px;
    border: 0;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.06);
}

.form-group input {
    resize: vertical;
    padding: 10px;
    border: 0;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.06);
}

/* 404 Page */ 

.error{
    text-align: center;
    display: block;
    position: relative;
}

.error-code{
    font-size: 220px;
    position: relative;
    display: inline-block;
    z-index: 2;
    height: 250px;
    letter-spacing: 15px;
    color: #474747;
}

.error-page{
    text-align:center;
    display:block;
    position:relative;
    letter-spacing: 12px;
    font-size: 4em;
    line-height: 80%;
    margin-bottom: 1rem;
    color: #474747;
}

.error-found{
    text-align:center;
    display:block;
    position: relative;
    font-size: 20px;
    margin-bottom: 2rem;
    color: #474747;
}

.error-btn{
    background-color: #E5890A;
    color: #fff;
    border: none;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-bottom: 5rem;
}

/* Elementor Responsive */

@media screen and (max-width: 768px) {
    .container{
        max-width: 100%;
    }

    .content{
        max-width: 100%;
    }

    .sidebar{
        max-width: 100%;
    }
}

/* WooCommerce */

.woocommerce{
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.woocommerce-MyAccount-navigation ul{
    list-style-type: none;
    padding: 0;
}

.woocommerce .quantity .qty{
    width: 4rem;
    height: 2.2rem;
}

.woocommerce table.cart td.actions .input-text{
    width: 100%;
    margin-bottom: 1rem;
}

.woocommerce table.cart img{
    max-width: 25%;
}

.coupon .button{
    width: 100%;
}

.coupon input{
    width:100%;
    resize: vertical;
    padding:15px;
    border: 0;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.06);
    height: 35px;
}

.col-1{
    max-width: 100% !important;
}

.col-2{
    max-width: 100% !important;
}

.form-row{
    display: grid;
}

#order_review_heading{
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.woocommerce-billing-fields input {
    width:100%;
    resize: vertical;
    padding:15px;
    border: 0;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.06);
    height: 35px;
}

.checkout_coupon input{
    width:100%;
    resize: vertical;
    padding:15px;
    border: 0;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.06);
    height: 35px;
}

.woocommerce form .form-row select{
    width:100%;
    resize: vertical;
    cursor: pointer;
    border: 0;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.06);
    height: 35px;
}

.woocommerce-address-fields input{
    width:100%;
    resize: vertical;
    padding:15px;
    border: 0;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.06);
    height: 35px;
}

.select2-container--default .select2-selection--single {
    width: 100%;
    resize: vertical;
    padding: 2px;
    border: 0;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.06);
    height: 35px;
}

.woocommerce-additional-fields textarea {
    width:100%;
    resize: vertical;
    padding: 15px;
    border: 0;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.06);
}

.woocommerce form .form-row textarea{
    height: 10em;
}

.woocommerce form .show-password-input{
    top: 5px;
}

.woocommerce-MyAccount-content input, select{
    width:100%;
    resize: vertical;
    padding:15px;
    border: 0;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.06);
    height: 35px;
}

.woocommerce-form-login input{
    width:100%;
    resize: vertical;
    padding:15px;
    border: 0;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.06);
    height: 35px;
}

.woocommerce a.remove{
    height: 1.2em;
    width: 1.2em;
}

/* Widgets */

.widget{
    list-style-type: none;
}