/*
Theme Name: Rivor
Theme URI: https://rivor-wp-dark.pixels71.com/
Author: Pixels71
Author URI: https://themeforest.net/user/pixels71
Description: Rivor is a robust and versatile Creative Agency & Portfolio WordPress Theme, tailored specifically for technology-driven businesses. It's the ideal solution for transforming your Creative or technology website. Designed with conversion optimization in mind, Rivor combines sleek, modern aesthetics with powerful features to effectively showcase your software or services.
Version: 1.0.1
Requires at least: 5.0
Tested up to: 6.8.2
Requires PHP: 7.0
License: GNU General Public License v2 or later 
License URI: http: //www.gnu.org/licenses/gpl-2.0.html
Text Domain: rivor
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

Copyright 2025 Rivor. This theme is distributed under the terms of the GNU General Public License (GPL).
*/

*{
    margin: 0;
    padding: 0;
}
body{
    position: relative;
}
.dark select {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    background-color: #181818;
    border: 1px solid #edf0f51a;
    width: 100%;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0.4px;
    margin-top: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    outline: none;
}
select {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    color: #181818;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0.4px;
    margin-top: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    outline: none;
}
  
select:focus {
    border-color: #ffffff;
}

a:hover{
    color: #12D8CC;
}

/* WordPress Core
-------------------------------------------------------------- */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float:right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/* Gallery Style */
.format-gallery .post-thumbnail {
    margin-bottom: 1em;
}

.format-gallery .gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.format-gallery .gallery-item {
    width: calc(33.333% - 10px);
}

.format-gallery .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}
.bypostauthor,
.gallery-caption {
    display: block;
}

/* Video Style */
.format-video .post-thumbnail {
    display: none;
}

.format-video iframe,
.format-video video {
    width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    margin-bottom: 1em;
}

/* Quote Style */
.format-quote blockquote {
    font-style: italic;
    background: #f7f7f7;
    border-left: 4px solid #ccc;
    padding: 1em;
    margin: 0 0 1.5em;
}

.format-quote cite {
    display: block;
    text-align: right;
    font-weight: bold;
    color: #555;
    margin-top: 0.5em;
}

/* Audio Style */
.format-audio .post-thumbnail {
    display: none;
}

.format-audio audio {
    width: 100%;
    margin-bottom: 1em;
}

/* Link Style */
.format-link .post-title a {
    font-size: 1.25rem;
    color: #0066cc;
    text-decoration: underline;
}

.format-link .post-title a:hover {
    color: #004499;
}

.format-link .entry-content {
    display: none; /* Only show the link title */
}