/*
Theme Name: OneVisionHealth
Theme URI: http://yourwebsite.com
Author: OVH
Author URI: http://yourwebsite.com
Description: A custom WordPress theme for OneVisionHealth.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: onevisionhealth
*/

/* Basic layout styling for the page template */
/* Basic Reset */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  padding: 0;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background-color: rgba(var(--bs-body-color-rgb));
}

main {
  max-width: 100%;
  margin: 0 auto;
}
iframe {
  max-width: 100%;
  margin: 0 auto;
  border-radius: 28px;
}

p {
  margin-bottom: 0px !important;
}

a {
  /*text-decoration: none !important;*/
	color: rgba(var(--bs-black-color-rgb));
}

img {
  display: inline !important;
}

.right-0{
	right:0;
}
/* strong {
  font-weight: bolder;
} */

/* .template-page {
  margin-top: 4rem;
  padding: 1rem 2rem;
} */

.section-widget.bg-cover.vh-100 h1 {
	color: rgba(var(--bs-secondary-rgb), 1) !important;
}
.section-widget.bg-cover.vh-100 em {
	color: rgba(var(--bs-body-color-rgb), 1) !important;
}
.link-block {
  margin-top: 4rem;
  padding: 1rem 2rem;
}

.related-links a:hover {
  color: rgba(var(--bs-primary-rgb), 1) !important;
}
.related-links a {
  color: rgba(var(--bs-primary-rgb), 1);
  font-weight: 600;
}
.related-links a:hover {
  text-decoration: underline !important;
}

.text-small {
  font-size: 12px !important;
}

.custom-gradient {
  background: linear-gradient(180deg, rgba(var(--bs-primary-rgb)), transparent);
}

.bg-cover {
  background-size: cover;
}
.bg-contain {
  background-size: contain;
}
.no-repeat {
  background-repeat: no-repeat;
}

.bg-hover {
  background-color: rgba(var(--bs-hover-rgb));
}

.bg-card {
  background-color: rgba(var(--bs-card-rgb));
}
.bg-position-center {
  background-position: center;
}
.bg-position-center-top {
  background-position: center top;
}
.bg-position-center-bottom {
  background-position: center bottom;
}

hr {
  border-color: rgba(var(--bs-secondary-rgb), 1) !important;
  border-top: 1px solid;
}

.border-border {
  --bs-border-opacity: 1;
  border-color: rgba(var(--bs-border-rgb), var(--bs-border-opacity)) !important;
}

.flex-full{
	flex: 1 1 100%;
}

@media (min-width: 981px) {
  .bg-lg-contain {
    background-size: contain;
  }
  .flex-lg-1 {
    flex: 1 !important;
  }
  .flex-lg-33 {
    flex: 0 1 calc(33.333% - 16px);
  }
  .flex-lg-50 {
    flex: 1 1 calc(50% - 16px);
  }
}
@media (min-width: 768px) {
  .col-md-9 {
    flex: 0 0 auto;
    width: 70%;
  }
  .max-w-xl {
    max-width: 576px;
  }

  .link-block {
    padding: 6rem 4rem;
  }
}

.z-100 {
  z-index: 100;
}
.z-1000 {
  z-index: 1000;
}
.z-50 {
  z-index: 50;
}
.left-0 {
  left: 0px;
}

.curved-divider {
  width: 227px;
  margin: auto;
  height: 96px;
  clip-path: path(
    "M110.89 80.2576C95.4735 33.6317 51.7831 0 0.279724 0H226.335C174.832 0 131.131 33.6317 115.725 80.2576C114.956 82.5808 111.659 82.5808 110.89 80.2576Z"
  );
}

.bg-primarygradient {
  background: linear-gradient(
    180deg,
    rgba(var(--bs-primary-rgb), 1) 0%,
    rgba(var(--bs-primary-rgb), 0) 100%
  );
  padding: 10px;
}

.bg-primarygradient-top {
  background: linear-gradient(
    180deg,
    rgba(var(--bs-primary-rgb), 1) 0%,
    rgba(var(--bs-primary-rgb), 0) 100%
  );
  padding: 10px;
}

.bg-primarygradient-bottom {
  background: linear-gradient(
    90deg,
    rgba(var(--bs-primary-rgb), 1) 0%,
    rgba(var(--bs-primary-rgb), 0) 100%
  );
  padding: 10px;
}

.bg-primarygradient-left {
  background: linear-gradient(
    360deg,
    rgba(var(--bs-primary-rgb), 1) 0%,
    rgba(var(--bs-primary-rgb), 0) 100%
  );
  padding: 10px;
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice {
  background-color: rgba(var(--bs-warmer-rgb), 1) !important;
  color: rgba(var(--bs-black-rgb), 1) !important;
}

.wpcf7 form.sent .wpcf7-response-output {
  background-color: rgba(var(--bs-primary-rgb), 1) !important;
  color: rgba(var(--bs-white-rgb), 1) !important;
  padding: 12px 20px;
  border-radius: 12px;
}

.answerpack-video .video-js .vjs-big-play-button,
.answerpack-video .video-js .vjs-big-play-button:hover {
  justify-content: center;
  align-items: center;
  width: 60px !important;
  height: 60px !important;
  border: 2px solid #d4af37 !important;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(215, 217, 220, 0.1),
    rgba(122, 132, 140, 0.1)
  ) !important;
  backdrop-filter: blur(1px);

  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.answerpack-video .video-js .vjs-big-play-button .vjs-icon-placeholder:before {
  /*top: 13px !important;*/
}
.answerpack .video-js .vjs-big-play-button .vjs-icon-placeholder:before{
	top: 4px !important;
}
/* .answerpack-video .video-js .vjs-big-play-button {
	left:54% !important;
	top: 49% !important;
} */
.video-js {
	border-radius: 24px;
}

.vjs-poster img {
		border-radius: 24px;
}

.symptom-btn .dropdown-menu li {
	border-bottom: 1px solid;
	border-color: rgba(var(--bs-warm-rgb), 1) !important;
	padding: 8px 12px;
}
.symptom-btn .dropdown-menu li:last-child {
	border-bottom: none;
}
@media (min-width: 981px) {

.pt-lg-14 {
	    padding-top: 14rem !important;

}
}

.bottom-5 {
	bottom:24px;
}
a.hover-text{
	text-decoration:none !important;
	padding: 16px;
	border: 1px solid;
	border-color: rgba(var(--bs-primary-rgb), 1) !important;
	border-radius: 12px;
	
}
a.hover-text:hover{
	background-color: rgba(var(--bs-primary-rgb), 1) !important;
	color: rgba(var(--bs-white-rgb), 1) !important;
	
	
}

.symptoms-list ul li img {
	width: 16px;
}


.iframe-video {
	height: 300px;
}

@media (min-width: 981px) {
.iframe-video {
	height: 600px;
}
}

.block.rounded-4 img {
	width:100%;
	margin-bottom:20px;
}

.link {
    text-decoration: underline !important;
}


/* Blog pages style */
.site-main {
    &.blog-page {
        padding:100px 0 40px 0;
        .blog-nav {
            padding:30px 0 20px 0;
            text-align:center;
            @media (min-width: 981px) {
                padding:50px 0 0 0;
            }
            .links {
                list-style:none;
                display:flex;
                justify-content: center;
                    li {
                        display:inline-block;
                        margin:0;
                       a {
                            display: block;
                            align-items: center;
                            justify-content: center;
                            font-weight: 600;
                            color: #193c43;
                            background-color: #d7cbc2;
                            cursor: pointer;
                            transition: background 0.3s ease;
                            text-align: center;
                            border-right: 1px solid;
                            border-color: #eee7e2 !important;
                            border-radius: 0px !important;
                            padding: 20px;
                            font-size: 20px;
                            margin:0;
                            text-decoration:none !important;
                            @media (max-width: 981px) {
                                padding:10px 15px;
                                font-size: 16px;
                            }
                            &.active {
                                background: #193c43;
                                color:#fff;
                            }
                            &:hover {
                                text-decoration:none !important;
                                background: #193c43;
                                color:#fff;
                            }
                        } 
                        &:first-of-type {
                            a {
                                border-bottom-left-radius: 100px !important;
                                border-top-left-radius: 100px !important;
                            }
                        }
                        &:last-of-type {
                            a {
                                border-bottom-right-radius: 100px !important;
                                border-top-right-radius: 100px !important;
                            }
                        }
                    }
                }
            }
        }
        .blog-head {
            text-align:center;
            margin-bottom:30px;
            @media (min-width: 981px) {
                padding:40px 0;
            }
        }
        .blog-main {
            .posts {
                .post {
                    background-color:#d7cbc2;
                    margin-bottom:30px;
                    .image {
                        width:100%;
                        height:300px;
                        background-size:cover !important;
                        background-repeat:no-repeat !important;
                        border-radius:0;
                    }
                    .entry-header {
                        padding:20px;
                        .entry-title {
                            font-size:1.4em !important;
                            line-height:30px;
                        }
                    }
                }
            }
        }
        &.post {
            .blog-head {
                text-align:left;
                margin-bottom:10px;
                h1 {
                    font-size:2.2em !important;
                    line-height: 46px !important;
                    margin-bottom:10px;
                }
                @media (min-width: 981px) {
                 h1 {
                      font-size:3em !important;
                      line-height: 60px !important;
                    margin-bottom: 20px;
                  }
                }
            }
            @media (min-width: 981px) {
                .blog-head {
                    padding-bottom:10px;
                    margin-bottom:0;
                }
            }
            .blog-main {
                .content {
                    a:not(.btn) {
                        text-decoration:underline !important;
                    }
                }
                p, ul li, ol li {
                    margin-bottom:10px;
                    font-size:1.2em;
                }
                p {
                    margin-bottom:20px !important;
                }
                h1,h2,h3,h4,h5,h6 {
                  margin-bottom:20px;  
                }
                
                h2 {
                    font-size:1.8em !important;
                }
                h3 {
                    font-size:2.6em !important;
                }
                @media (min-width: 981px) {
                  h2 {
                      font-size:2.2em !important;
                  }
                  h3 {
                      font-size:2em !important;
                  }
                }
            }
            .sidebar {
                .author-block {
                    text-align: center;
                    background: #d7cbc2;
                    padding: 20px;
                    margin-bottom:30px;
                    h4 {
                        margin:10px 0;
                    }
                    .name {
                        margin:10px 0;
                    }
                    .btn {
                        margin:10px 0;
                    }
                    img {
                        width:180px;
                        height:auto;
                    }
                    p {
                        font-size:1em;
                    }
                }
                .related-posts {
                    background: #d7cbc2;
                    padding: 20px;
                    margin-bottom:20px;
                    .related-post {
                        display: block;
                        margin-bottom: 20px;
                    }
                }
            }
        }
    }
    
}


