/*
	Theme Name: UovoLab
	Description: Theme created for UovoLab
	Version: 1
    Author: Alessandro Conti
    Text Domain: website-domain
*/


/*------------------------------------*\
    GENERAL
\*------------------------------------*/

*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    hyphens: initial;
}

html {
    min-width: 320px;
    min-height: 200px;
}

html, body {
    height: 100%;
    width: 100%;
    background-color: #fff;
}

body {
    margin: 0;
    font-family: "Source Code Pro", "sans-serif", "sans";
    line-height: 1.5;
    color: #a3a3a3;
}

a {
    color: #a3a3a3;
    text-decoration: none;
    outline: none;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

a:focus, 
a:visited, 
a:active {
    text-decoration: unset;
    outline: none;
    color: #a3a3a3;
}

a:hover {
    text-decoration: underline;
    color: #a3a3a3;
}

img {
    max-width: 100%;
    max-height: 100%;
    vertical-align: bottom;
    height: auto;
}

input:focus {
    outline: 0;
    border: 1px solid #940e15;
}

ul {
    padding: 0;
    margin: 0;
    list-style: disc outside none;
    padding-left: 20px;
}


/*------------------------------------*\
    COMMON
\*------------------------------------*/

#full-wrapper {
    position: relative;
}

.row {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

.no-lateral-margin {
    margin-left: 0;
    margin-right: 0;
}

.no-lateral-padding {
    padding-left: 0;
    padding-right: 0;
}

.max_column_width_centered {
    margin-left: auto !important;
    margin-right: auto !important;
    float: none;
}

.full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.disableClick {
    pointer-events: none;
}

.zoomHover {
    -moz-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.zoomHover:hover {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.home #pt-cv-view-efc1b5fm1f + .pt-cv-pagination-wrapper .pt-cv-more,
.opacity-transition {
    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -ms-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
}

.home #pt-cv-view-efc1b5fm1f + .pt-cv-pagination-wrapper .pt-cv-more:hover,
.opacity-transition:hover {
    opacity: 0.7;
    text-decoration: none;
}

.opacity-transition:hover a {
    text-decoration: none;
}

.wpb_button, 
.wpb_content_element, ul.wpb_thumbnails-fluid > li {
    margin-bottom: 0 !important;
}

.envirabox-theme-base_dark .envirabox-caption-wrap {
    min-height: 42px;
}

/* fixed text */
.fixedCentered {
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    text-align: center;
}

.fixedLeft {
    left: -70px;
    transform: rotate(-90deg);
}

.fixedRight {
    right: -70px;
    transform: rotate(90deg);
}

/* Buttons */
.flat_button {
    padding-left: 100px;
    padding-right: 100px;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #000;
    color: #fff !important;
    font-family: "Candal";
    font-size: 15px;
    text-align: center;
    margin: auto;
}


/*------------------------------------*\
    HEADER
\*------------------------------------*/

header.header {
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
}

header.header .content {
    width: 100%;
    height: 100%;

    text-align: center;
    font-size: 18px;
    padding-top: 5px;
    padding-bottom: 5px;
}

header.header #logo {
    position: relative;
    height: auto;
    max-width: 150px;
    margin-left: -19px;
}

header.header #logo a {
    width: auto;
    height: auto;
    display: inline-block;
}

header.header #logo img {
    width: 100%;
    height: auto;
}

header.header #header-menu {
    height: 100%;
}

header.header #header-menu .content {
    height: 100%;
    padding: 0;
}

header.header #header-menu .content .menu-element {
    padding-left: 22px;
    padding-right: 22px;
    float: left;
    height: 100%;
    text-align: center;
    font-size: 16px;
    position: relative;
    font-weight: 300;
}

header.header #header-menu .content .menu-element:nth-child(2) {
    padding-left: 0;
}

header.header #header-menu .content .menu-element:last-child {
    padding-right: 0;
}

header.header #header-menu .content .menu-element a {
    color: #c2c2c2;
}

header.header #header-menu .content .menu-element a:hover,
header.header #header-menu .content .menu-element.active a {
    color: #3c3c3c;
    font-family: "Candal";
    font-weight: bold;
    text-decoration: none;
}

/* mobile menu */
header.header #header-menu .content .mobile-menu {
    display: none;
    cursor: pointer;
    margin-bottom: 5px;
}

header.header #header-menu .hamburger-box {
    height: 30px;
}

header.header #header-menu .hamburger:hover {
    opacity: 1;
}

header.header #header-menu .hamburger-box:hover {
    opacity: 0.7;
}

header.header #header-menu .hamburger-inner, 
header.header #header-menu .hamburger-inner:after, 
header.header #header-menu .hamburger-inner:before {
    height: 5px;
}

header.header #header-menu .hamburger-inner, 
header.header #header-menu .hamburger-inner:after, 
header.header #header-menu .hamburger-inner:before {
    background-color: #3c3c3c !important; 
    color: #3c3c3c !important;
}


/*------------------------------------*\
    FOOTER
\*------------------------------------*/

.footer.vc_section {
    background-color: #3c3c3c;
    margin: 0;
}

.footer .max_column_icons {
    margin-left: auto !important;
    margin-right: auto !important;
    float: none;
    max-width: 300px;
	margin-bottom: 25px;
}

.footer .max_column_icons > * {
    width: auto;
    max-width: 50px;
    float: left;
}

.footer .vc_icon_element-icon {
    color: #fff;
}

.footer .vc_icon_element.vc_icon_element-outer .vc_icon_element-inner .vc_icon_element-link,
.footer .vc_icon_element.vc_icon_element-outer .vc_icon_element-inner.vc_icon_element-size-sm {
    height: auto;
}

.footer .icon {
    color: #fff;
    font-size: 21px;
	margin-left: -20px;
}

footer .copyright {
    margin-bottom: 25px;
}


/*------------------------------------*\
    404 PAGE
\*------------------------------------*/

#error-404 {
    min-height: 300px;
    height: 100%;
}

#error-404 .logo {
    margin-bottom: 30px;
    max-width: 150px;
    margin-left: auto;
    margin-right: auto;
}


/*------------------------------------*\
    HOMEPAGE
\*------------------------------------*/

.home {
    background-color: #fff;
}

.home .pt-cv-mask .pt-cv-title {
    text-align: center;
    font-family: "Candal";
    word-break: break-word;
}

.home .wpb_text_column .pt-cv-wrapper .breadcrumb.pt-cv-filter-bar a {
    color: #c2c2c2;
    padding-left: 0;
    padding-right: 0;
    margin-left: 20px;
    margin-right: 20px;
    letter-spacing: 1px;
    font-size: 18px;
    position: relative;
    font-weight: 300;
}

.home #pt-cv-view-efc1b5fm1f .pt-cv-hover-wrapper::before {
    background-color: transparent !important;
}

.home .wpb_text_column .pt-cv-wrapper .breadcrumb.pt-cv-filter-bar a:hover,
.home .wpb_text_column .pt-cv-wrapper .breadcrumb.pt-cv-filter-bar .active a {
    color: #777 !important;
    font-weight: bold;
    text-decoration: none;
}

.home .wpb_text_column .pt-cv-wrapper .breadcrumb.pt-cv-filter-bar a::after {
    display: block;
    content: '';
    width: 100%;
    height: 1px;
    background: #c2c2c2;
    position: absolute;
    bottom: 0;
    left: 0;
}

.home .wpb_text_column .pt-cv-wrapper .breadcrumb.pt-cv-filter-bar a:hover::after,
.home .wpb_text_column .pt-cv-wrapper .breadcrumb.pt-cv-filter-bar .active a::after {
    height: 1px;
    background: #777;
}

.home .breadcrumb.pt-cv-filter-bar>li+li:before {
    content: none;
}

.home #pt-cv-view-efc1b5fm1f + .pt-cv-pagination-wrapper .pt-cv-more {
    background-color: transparent !important;
    font-family: "Candal";
    color: #3c3c3c !important;
    font-size: 23px;
    box-shadow: none !important;
}

.home #pt-cv-view-efc1b5fm1f + .pt-cv-pagination-wrapper .pt-cv-more::before {
    content: "+";
    font-family: "Source Code Pro";
    font-weight: 200;
    font-size: 30px;
    line-height: 30px;
    padding-right: 5px;
    color: #c2c2c2;
}

.home #pt-cv-view-efc1b5fm1f + .pt-cv-pagination-wrapper .pt-cv-more .caret {
    display: none;
}

.home .pt-cv-more+.pt-cv-spinner {
    top: -4px;
    left: -4px;
    width: 20px !important;
    height: 20px !important;
}

.home .load_more {
    font-weight: 300;
    font-family: "Candal";
    color: #3c3c3c;
    font-size: 24px;
}


/*------------------------------------*\
    PAGE GENERAL
\*------------------------------------*/

#page .content {
    margin-left: 15px;
    margin-right: 15px;
}

#page .back {
    margin-top: 20px;
    margin-bottom: 39px;
    font-size: 24px;
    letter-spacing: -0.5px;
}

#page .back span {
    font-weight: 300;
    font-family: "Candal";
}

#page .back a:hover {
    text-decoration: none;
    opacity: 0.7;
}


/*------------------------------------*\
    WORKSHOP PAGE
\*------------------------------------*/

.workshop-gallery .envira-gallery-item img {
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    -webkit-transition: 100ms -webkit-filter linear;
    -moz-transition: 100ms -moz-filter linear;
    -moz-transition: 100ms filter linear;
    -ms-transition: 100ms -ms-filter linear;
    -o-transition: 100ms -o-filter linear;
    transition: 100ms filter linear, 100ms -webkit-filter linear;
}

.workshop-gallery .envira-gallery-item img:hover {
    -webkit-filter: grayscale(0); /* Safari 6.0 - 9.0 */
    filter: grayscale(0);
}


/*------------------------------------*\
    wpcf7
\*------------------------------------*/

.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    min-width: 100%;
    border-radius: 8px;
    background-color: #edece8;
    /*border-color: #edece8;*/
    margin-bottom: 0;
    margin-top: 10px;
}

.wpcf7 input[type=submit] {
    width: auto;
    border: none;
    background-color: transparent;
    font-family: "Candal";
    font-size: 40px;
    text-decoration: underline;
    padding: 0;
    position: relative;
    text-align: left;
    text-transform: none;
}

.wpcf7 .hidden {
    display: none;
    visibility: hidden;
    opacity: 0;
}