
/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

/****************************
 Variables
****************************/
:root {
  --color-carceffo-red: #b10142;
  --color-carceffo-grey: #677280;
  --color-grey-dark: #303133;
}

/****************************
 Slider
****************************/
.owl-dot.active span {
    background-color: var( --color-carceffo-red) !important;
}

/****************************
 Media Galllery Homepage
****************************/
.media-gallery-homepage .t-entry {
    /*background: var( --color-carceffo-red);*/
    background-color: rgba(177,1,66,0.9);
    padding: 0.5em 1em 1em 1em;
    max-width: 35%;
	float: right;
}

/****************************
 Table with Icons // Homepage
****************************/
.icon-table, .icon-table td {  
	border: 0px none;
	padding: 0 0 12px 0;
	vertical-align: bottom;
}
.icon-table td:nth-child(1) {  
	width: 25%;
	/*text-align: center;*/
}
.icon-table td:nth-child(2) {  
	padding-left: 10px;
}
.icon-table td:nth-child(2) a {  
	text-transform: uppercase;
	font-size: 15px;
	position: relative;
}
 .icon-table td:nth-child(2) a:after {  
	position: absolute;
    width: 16%;
    height: 2px;
    content: "";
    left: 0;
    bottom: -0.2em;
    /*background-color: #303133;*/
    background-color: var( --color-carceffo-red);
 }
/****************************
 Headings
****************************/
/* START underline*/
.headline-underline h1:after,
.headline-underline h2:after,
.headline-underline h3:after,
.headline-underline h4:after,
.headline-underline h5:after,
.headline-underline h6:after  {
    position: absolute;
    width: 15%;
	min-width: 80px;
    height: 2px;
    content: "";
    left: 0;
    bottom: -.2em;
	background-color: var( --color-carceffo-red);
}
.headline-underline h1,
.headline-underline h2,
.headline-underline h3,
.headline-underline h4,
.headline-underline h5,
.headline-underline h6  {
    position: relative;
}
/* END underline*/

/****************************
 Favourites
****************************/

.favourites > .row::after,
.favourites > .row > div::after {
	content: none !important;
}
.favourites figure  {
    position: relative;
}
.favourite.vc_icon_element-icon {
    position: absolute;
	z-index: 10;
    top: 0;
    right: 0px;
    cursor: pointer;
    padding: 9px;
    font-size: 22px;
	background: #fff;
}
.favourite.vc_icon_element-icon:hover {
    color: var( --color-carceffo-red);
}
.favourite.fa-heart {
    color: var( --color-carceffo-red);
}
.favourite.fa-heart:hover {
    color: #666;
}
.favouritesList figure,
.favouritesListInForm figure  {
    position: relative;
    display: inline-block;
    padding: 0px 15px 15px 0px;
}
.favouritesList .fa-times,
.favouritesListInForm .fa-times {
    position: absolute;
    right: 15px;
    font-size: 18px;
    padding: 5px;
    background: var( --color-carceffo-red);
    color: #fff;
    cursor: pointer;
}
.favouritesList .fa-times:hover,
.favouritesListInForm .fa-times:hover {
    background: #666;
}
.favouritesList figure img {
    max-width: 200px !important;
}
.favouritesList figure img:hover {
    opacity: 0.7;
}
.favouritesList a {
    background: #000;
    display: inline-block;
	max-height: 150px;
}
.favouritesListInFormWrapper .favouritesList figure img {
    max-width: 165px !important;
}
.favouritesInNavigation {
    margin-right: 25px !important;
}
.favouritesInNavigation span {
    display: inline !important;
}
.favouritesInNavigation span.icon-heart{
    font-size: 15px !important;
}
.favouritesInNavigation span.favourites-counter{
    position: absolute;
    top: -10px;
    padding-left: 2px;
	font-weight: 600;
    font-size: small;
}
.stuck .favouritesInNavigation span.favourites-counter{
    top: 20%;
}

/****************************
 Alerts (Favourites)
****************************/

#ohsnap {
    position: fixed;
    bottom: 5px;
    right: 5px;
    margin-left: 5px;
    z-index: 99;
}
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #eed3d7;
    border-radius: 4px;
    bottom: 0px;
    right: 21px;
    /* Each alert has its own width */
    float: right;
    clear: right;
}

.alert-red {
    color: white;
    background-color: #DA4453;
}
.alert-green {
    color: white;
    background-color: #37BC9B;
}
.alert-blue {
    color: white;
    background-color: #4A89DC;
}
.alert-yellow {
    color: white;
    background-color: #F6BB42;
}
.alert-orange {
    color:white;
    background-color: #E9573F;
}

/****************************
 Feedback (Trigger)
****************************/
.trigger-theme .row {
    position: fixed;
    bottom: 5px;
    right: 5px;
    z-index: 1;
}

/****************************
 Menu
****************************/

@media (min-width: 960px) {
	.mega-menu .menue-item-underline {
		border-bottom: 1px dotted rgba(0,0,0,0.3) !important;
		padding-bottom: 10px !important;
	}
	.mega-menu .menue-item-underline + li {
		padding-top: 10px;
	}
	.menu-horizontal .menu-smart > .mega-menu .mega-menu-inner > li > a {
		font-size: large;
	}
}


/****************************
 Rows
****************************/
.row-border-bottom {
    border-bottom: 18px solid var( --color-grey-dark) !important;
    /*border-bottom: 18px solid #303133 !important;*/
}

/****************************
 Icon Box
****************************/
.icon-box-mt-0 p {
    margin-top: 0px !important;
}
.icon-box-mt-0 h3 {
    line-height: 0;
}

/****************************
 Button-Groups
 ****************************/
.btn-group-vertical .btn-container:not(:nth-of-type(1)) {
	margin-top: 9px !important;
}

/****************************
 Helper
****************************/
.mt-0 {
	margin-top: 0px !important;
}
.mt-9 {
	margin-top: 9px !important;
}
.mt-18 {
	margin-top: 18px !important;
}