/*
 Theme Name:   The Pipes Child Theme
 Theme URI:    http://the-pipes.ancorathemes.com
 Description:  The Pipes Child Theme
 Author:       AncoraThemes
 Author URI:   http://ancorathemes.com
 Template:     the-pipes
 Version:      1.0
 Tags:         flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain:  the-pipes
*/


/* =Theme customization starts here
------------------------------------------------------------ */

/* shows the menu (hamburger) button on tablet mode */
@media screen and (max-width: 815px){
	.sc_layouts_menu_mobile_button {
		display: visible !important;
}
	.sc_layouts_item_menu_mobile_button, .sc_layouts_menu_mobile_button {
		display: visible !important;
}
}


/* removes breadcrumbs */
.breadcrumbs {
	display: none !important;
}

/* Aligns the left side text of header on mobile */
@media screen and (max-width: 500px){
.elementor-element-45a0607 > div:nth-child(1) > ul:nth-child(1) > li:nth-child(1) {
	padding-top: 10px;
}
}
/* Aligns the left side text of header on tablet */
@media screen and (max-width: 815px){

.elementor-element-a19df77 > div:nth-child(1) > ul:nth-child(1) {
	padding-bottom: 45px;
}
}

/* FRONT PAGE */

@media (max-width: 767px) {
.sidebar_default[class*="scheme_"] .sidebar_inner {
	width: auto !important;
}
}

/* Removes the search icon logo */
.search_submit{
	display: none !important;
}

/* Changes the color of the underline line in header (Domov, Storitve, Projekti, O nas, Kontakt)*/
.menu_hover_zoom_line .sc_layouts_menu_nav > li > a:hover, .menu_hover_zoom_line .sc_layouts_menu_nav > li.sfHover > a {
	color: #04bbe8 !important;
}

/* Puts the shadow on the home page image */
.tp-rs-img{
    filter: brightness(50%);
}


/* Centers the services titles on front page (Ogrevanje) */
.post-157 > div:nth-child(1) > div:nth-child(1) > h6:nth-child(1) {
	padding-bottom: 25px;
}

/* Centers the services titles on front page (Hlajenje) */
.post-166 > div:nth-child(1) > div:nth-child(1) > h6:nth-child(1) {
	padding-bottom: 25px;
}

/* Centers the services titles on front page (Plinovod) */
.post-172 > div:nth-child(1) > div:nth-child(1) > h6:nth-child(1) {
	padding-bottom: 25px;
}


/* removes the margin in the image gallery (naši partnerji) */
.elementor-22 .elementor-element.elementor-element-42fccae .gallery {
	margin: 0;
}

/* centers Ogrevanje text in front page on mobile */
@media screen and (max-width: 500px){
.post-157 > div:nth-child(1) > div:nth-child(1) > h6:nth-child(1) {
	padding-bottom: 0px;
}
}

/* centers Plinovod text in front page on mobile */

@media screen and (max-width: 500px){

.post-172 > div:nth-child(1) > div:nth-child(1) > h6:nth-child(1) {
	padding-bottom: 0px;
}
}


/* centers Hlajenje text in front page on mobile */
@media screen and (max-width: 500px){
.post-166 > div:nth-child(1) > div:nth-child(1) > h6:nth-child(1) {
	padding-bottom: 0px;
}
}

/* centers Ogrevanje text in front page on tablet */
@media screen and (max-width: 811px){
.post-157 > div:nth-child(1) > div:nth-child(1) > h6:nth-child(1) {
	padding-bottom: 0px;
}
}

/* centers Plinovod text in front page on tablet */

@media screen and (max-width: 811px){

.post-172 > div:nth-child(1) > div:nth-child(1) > h6:nth-child(1) {
	padding-bottom: 0px;
}
}


/* centers Hlajenje text in front page on tablet */
@media screen and (max-width: 811px){
.post-166 > div:nth-child(1) > div:nth-child(1) > h6:nth-child(1) {
	padding-bottom: 0px;
}
}


/* SERVICES */

/* Centers the Prezračevanje text */
a[href="https://feniks-instalacije.si/services/prezracevanje/"]{
	width: fit-content;
}

.post-169 > div:nth-child(2) > div:nth-child(1) > h4:nth-child(1) {
	display: flex;
	justify-content: center;
}}

/* Centers the service titles in tablet mode */

@media screen and (max-width: 810px){
		/* Ogrevanje */

.post-157 > div:nth-child(1) > div:nth-child(1) > h6:nth-child(1) {
	padding-bottom: 0px;
}

	/* Plinovod */
.post-172 > div:nth-child(1) > div:nth-child(1) > h6:nth-child(1) {
	padding-bottom: 0px;
}

	/* Hlajenje */
.post-166 > div:nth-child(1) > div:nth-child(1) > h6:nth-child(1) {
	padding-bottom: 0px;
}
}

/* Centers the service titles in mobile mode */

@media screen and (max-width: 500px){
		/* Hlajenje */
.post-166 > div:nth-child(1) > div:nth-child(1) > h6:nth-child(1) {
	padding-bottom: -5px;
}
}

/* removes the Read more text from the Service gallery (Default layout) */
.link_text{
	display: none
}

/* centers the Prezračevanje text (Default layout)*/
.post-169 > div:nth-child(2) > div:nth-child(1) > h4:nth-child(1) > a:nth-child(1) {
	margin-left: -5px;
}

/* removes the bottom contact form in all services */
.sc_form {
	display: none;
}

/* Changes the featured image size */

/* hlajenje image */
img[src*="Izdelek-brez-naslova-25.png"] {
	max-width:40% !important
}

/* vodovod image */
img[src*="Vodovod-scaled.jpg"] {
	max-width:40% !important
}

/* ogrevanje image */
img[src*="Toplotna-4.png"] {
	max-width:40% !important
}

/* prezračevanje image */
img[src*="Plu.png"] {
	max-width:40% !important
}

/* plinovod image */
img[src*="Plinovod-1-scaled.jpg"] {
	max-width:40% !important
}

body.single div[class*="_page_featured"] {
	display: flex;
	justify-content: center;
}

/* widens the right sidebar */
.sidebar_default[class*="scheme_"] .sidebar_inner {
	width: max-content;
}

/* KONTAKT */

/* changes the color of the phone number on hover */
.widget_contacts .contacts_info .contacts_phone:hover {
	color: #5271ff;
}

/* changes the color of the email on hover */
.widget_contacts .contacts_info span a:hover, .widget_contacts .contacts_info > div > a:hover, .widget_contacts .contacts_info > a:hover {
	color: #5271ff;
}

/* adds the border to the contact form */
.wpcf7 input[type="text"], .wpcf7 input[type="number"], .wpcf7 input[type="email"], .wpcf7 input[type="url"], .wpcf7 input[type="tel"], .wpcf7 input[type="search"], .wpcf7 input[type="password"], .wpcf7 textarea, .wpcf7 select {
	outline: auto;
}

/* sets the color of the contact form border to black */
.wpcf7-textarea {
    border-color: #000000 !important; 
}

/* FOOTER */

/* changes the color of the text on hover */
.footer_wrap [class*="scheme_"].sc_layouts_row.sc_layouts_row_type_compact .sc_layouts_item a:not(.sc_button):not([class*="button"]):hover {
	color: #73a9f2;
}

.footer_wrap [class*="scheme_"].sc_layouts_row.sc_layouts_row_type_compact .sc_layouts_item a:not(.sc_button):not([class*="button"]){
	color: #f9f9f9;
}

/* changes the color of links on hover */
.sc_layouts_row_type_normal .sc_layouts_item a:not(.sc_button):not([class*="button"]):hover{
	color: #5271ff !important
}

/* aligns domov, o nas, kontakt in the povezave column */

/* Domov */
li.custom_links_list_item:nth-child(1) > a:nth-child(1) > span:nth-child(1) {
	padding-top: 3px;
}

/* Storitve */
li.custom_links_list_item:nth-child(2) > a:nth-child(1) {
	bottom: 6px;
}

/* Projekti */
li.custom_links_list_item:nth-child(3) > a:nth-child(1) > span:nth-child(1) {
	bottom: 12px;
}

/* O nas */
li.custom_links_list_item:nth-child(4) > a:nth-child(1) > span:nth-child(1) {
	bottom: 20px;
}

/* Kontakt */
li.custom_links_list_item:nth-child(5) > a:nth-child(1) > span:nth-child(1) {
	bottom: 25px;
}

/* removes border when click on Kontakt box on mobile*/
@media screen and (max-width: 500px){
.wpcf7-form > p:nth-child(2) > label:nth-child(1) > span:nth-child(2) > input:nth-child(1) {
border-bottom-width: 0px;
}
	.wpcf7-email {
border-bottom-width: 0px;
}

textarea.wpcf7-form-control {
border-bottom-width: 0px;
}
}

/* removes border when click on Kontakt box on tablet*/
@media screen and (max-width: 815px){
.wpcf7-form > p:nth-child(2) > label:nth-child(1) > span:nth-child(2) > input:nth-child(1) {
border-bottom-width: 0px;
}
	.wpcf7-email {
border-bottom-width: 0px;
}

textarea.wpcf7-form-control {
border-bottom-width: 0px;
}
}