/*
Theme Name: AllyCO
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

/* ELEMENTI GENERICI */
p, li {line-height:1.25;}

a {color:#777777;}
a:hover {color:#e02121;}
.hover-dark a:hover {color:#000 !important;}

.custom-left-padding .single-block-padding {padding-left:calc(100% - (1128px / 2));}
.custom-right-padding .single-block-padding {padding-right:calc(100% - (1128px / 2)) !important;}
.custom-left-padding .double-block-padding {padding-left:calc((100vw - 1128px) / 2);}
.custom-right-padding .double-block-padding {padding-right:calc((100vw - 1128px) / 2) !important;}

.margin-top-zero {margin-top:0px !important;}
.margin-top-min {margin-top:9px !important;}
.margin-top-half {margin-top:18px !important;}

.btn-container {margin-top:18px !important;}

.icone-custom .icon-box-content {vertical-align:middle;}
.icone-custom .icon-box-content h5 {color:#e02121;}

.border-custom .uncell {border-radius:20px;}

.page-id-22 .header-basic, .page-id-24 .header-basic {border-bottom:10px solid #e02121; background-color: #e02121;}

#cookie-law-info-again {box-shadow: 0px 6px 35px 0px rgb(0 0 0 / 25%);}
.cli-switch input:checked + .cli-slider {background-color: #e02121;}
.cli-tab-footer .wt-cli-privacy-accept-btn {background-color: #e02121;}

.grecaptcha-badge {z-index: 999999 !important;}


/* MENU LATERALE */
.lateral-menu-container {background-color:#e02121; width:60px; height:100%; position:fixed; top:0; right:0; z-index:3000;}
.lateral-menu-container .icon-cont {padding:33px 0px; transition: 0.6s; display:flex; align-items:center; justify-content:center;}
.lateral-menu-container .fa {color:#fff; font-size:22px;}
.main-container, .menu-container {width:calc(100% - 60px) !important;}


/* HOMEPAGE */
.icon-home {text-align:left !important;}
.icon-home h3 {color:#e02121;}

.custom-flex-height .uncont {height: 100%; display: flex; flex-direction: column; justify-content: space-between;}

.riga-overlay .block-bg-overlay {height:calc(100% - 108px);}


/* CONTACT FORM */
.contact-form-custom input, .contact-form-custom textarea {padding:15px !important; border-radius:10px;}
.contact-form-custom .pulsante-form {width: 100%; background-image: linear-gradient(to right, #e02121, #9c1420, #e02121); border: none; box-shadow: 2px 2px 40px 0px #00000038;}
.contact-form-custom .btn-accent:not(.btn-hover-nobg):not(.icon-animated):hover {background-image: linear-gradient(to right, #9c1420, #9c1420, #9c1420);}
.btn-accent:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):hover, .btn-accent:not(.btn-flat):not(.btn-hover-nobg):not(.icon-animated):not(.btn-text-skin):focus {color:#fff !important;}
.wpcf7-response-output {background-color:#fff;}

.home .wpcf7-list-item-label a {color:#fff !important;}
.home .wpcf7-list-item-label a:hover {color:#000 !important;}

input[type=checkbox]:checked:before {top: 50%; left: 50%; transform: translate(-50%,-50%);}


/* SERVICES */
.icone-servizi {text-align:center;}
.icone-servizi .icon-box-content {text-align:left;}
.icone-servizi .icon-box-content h4 {color:#e02121;}

.col-sx-servizi .uncont {display: flex; flex-direction: column; justify-items: stretch; height: 100%;}


/* CONTATTI */
.icone-contatti .fa-1x {line-height:2em;}
.icone-contatti .icon-box-icon {vertical-align:middle;}
.icone-contatti .icon-box-content {padding-left:18px !important; vertical-align:middle;}

.mappa-contatti .wpb_wrapper {line-height: 0;}



/* MEDIA QUERIES */
@media screen and (max-width:1200px) {
	/* elementi generici */
	.custom-left-padding .single-block-padding, .custom-left-padding .double-block-padding {padding-left:36px;}
	.custom-right-padding .single-block-padding, .custom-right-padding .double-block-padding {padding-right:36px !important;}
}

@media screen and (min-width:960px) {
	.col-compliance {left:17.5px; padding-left:19.5px !important;}
	.col-risk {left:17.5px; padding-right:19.5px !important;}
}

@media screen and (max-width:569px) {
	/* menu laterale */
	.lateral-menu-container {display:none;}
	.main-container, .menu-container {width:100% !important;}
	
	/* contact form */
	.contact-form-custom .wpcf7-inline-wrapper .wpcf7-inline-field {width:100%; display: block; padding:0px;}
	.contact-form-custom .wpcf7-inline-wrapper .wpcf7-inline-field:nth-child(2) {margin-top:18px;}
	.contact-form-custom .wpcf7-inline-wrapper:nth-child(3) {margin-top:0px;}
	
	/* servizi */
	.seconda-riga-servizi .wpb_column:nth-child(1) .uncell {background-color: #eaeaea;}
	.seconda-riga-servizi .wpb_column:nth-child(2) .uncell {background-color: transparent;}
	
	/* footer */
	.site-footer .wpb_column:nth-child(2) {padding-top:10px !important;}
	.site-footer .uncode-single-media {text-align:center !important;}
}