/*
Theme Name: Gogel Publicis 
Author: Gogel
Description: Gogel Publicis
Version: 1.0
*/

/* Palette
	testi: #333
	rosso: #d62130
*/

/* FRAME */

body, h1, h2, h3, h4, h5, h6, p {
	font-family: 'Gotham', sans-serif;
	font-weight: 500;
	font-style: normal;
	color: #333;
	font-size: 15px;
}
a {
	color: #d62130;
}
a:hover, .uk-navbar-nav>li>a:hover, .uk-navbar-nav>li.uk-active>a {
	color: #d62130;
	background-color: transparent;
}
.redme {
	color: #d62130 !important;
}
.inline {
	display: inline-block;
}

.uk-block-secondary {
	background-color: #fff;
	padding-top: 5px;
	padding-bottom: 5px;
}
#menu-top-menu {
	float: none !important;
	display: inline-flex;
}
.topmenu {
	margin-bottom: inherit !important;
}
.uk-navbar {
	background-color: transparent;
}
.uk-navbar-nav>li>a {
	font-family: 'GothamRounded', sans-serif;
	padding: 0 7px;
	border-bottom: 3px solid #fff;
}
.uk-navbar-nav>li.current-menu-item>a {
	/* border-bottom: 3px solid #d62130; */
}
.uk-navbar-nav>li>a:focus, .uk-navbar-nav>li.uk-open>a {
	background-color: transparent;
	color: #333;
}
.uk-offcanvas-bar {
	background-color: #fff;
}
.uk-nav.uk-nav-offcanvas li.menu-item-has-children .uk-dropdown.uk-dropdown-navbar {
	position: relative;
	background-color: transparent;
	width: 100%;
	padding: 0;
	margin: 0;
}
body.page-template-page-portfolio .uk-nav.uk-nav-offcanvas li.menu-item-has-children .uk-dropdown.uk-dropdown-navbar, body.page-template-page-clienti .uk-nav.uk-nav-offcanvas li.menu-item-has-children .uk-dropdown.uk-dropdown-navbar {
	display: block;
}
.ocfooter {
	height: 55vh;
	padding-right: 10px;
	margin-right: 0;
}
.ocfooter ul#menu-social {
	margin-bottom: 0;
}
.occredits {
	font-weight: 400 !important;
	font-size: 11px;
	padding: 5px 0 0px 0px;
	margin-right: 0;
}
.uk-nav-offcanvas>.uk-open>a, html:not(.uk-touch) .uk-nav-offcanvas>li>a:hover, html:not(.uk-touch) .uk-nav-offcanvas>li>a:focus {
	background-color: transparent;
	color: #000;
}
html .uk-nav.uk-nav-offcanvas>li.uk-active>a, .uk-nav-navbar>li>a:hover, .uk-nav-navbar>li>a:focus {
	background-color: transparent;
	color: #d62130;
}
.uk-nav.uk-nav-offcanvas li.menu-item-has-children .uk-dropdown.uk-dropdown-navbar li {
	padding-left: 15px;
}
.uk-nav.uk-nav-offcanvas li.menu-item-has-children .uk-dropdown.uk-dropdown-navbar li.active a {
	color: #d62130;
}
.uk-nav.uk-nav-offcanvas li.menu-item-has-children .uk-dropdown.uk-dropdown-navbar li a, .closeoc {
	padding: 10px 15px;
	font-size: 16px;
	color: #000;
}
.closeoc a {
	color: #000;
}
.uk-nav.uk-nav-offcanvas li.menu-item-has-children .uk-dropdown.uk-dropdown-navbar li.uk-active a {
	color: #d62130;
}
.uk-nav-offcanvas ul a {
	color: #000;
}
.uk-nav.uk-nav-offcanvas li, .menu-item-has-children>a {
	border-bottom: 1px solid #e3e2e2;
}
li.menu-item-has-children.uk-parent {
	border-bottom: none;
}
.menu-item-has-children>a {
	border-top: 1px solid #e3e2e2;
}
.uk-nav-offcanvas>li>a {
	color: #000;
	font-size: 16px
}
#menu-social.uk-navbar-nav>li>a {
	padding: 0 0 0 15px;
	font-size: 18px;
	font-weight: normal;
	cursor: pointer;
}
header#header {
	padding-top: 15px;
	padding-bottom: 15px;
}
img.offcanvas-logo {
	max-width: 120px;
	height: auto;
	margin: 30px 10px 20px;
}
.logodiv > * {
	margin-left:20px;
}
.logodiv object, .logodiv img {
	max-width: 280px;
	height: auto;
}
@media only screen and (max-width: 600px) {
    .logodiv object, .logodiv img {
	max-width: 250px;
	height: auto;
}
}
.socialdiv > * {
	margin-right:-10px;
}
.uk-slidenav-position .uk-slidenav {
	display: block;
}
.uk-slidenav-position:hover .uk-slidenav {
	display: block;
}
a.uk-slidenav.uk-slidenav-contrast {
	margin-top: -12vh;
}
.overall {
	z-index: 1000;
}
.uk-overlay-background {
	background: transparent url(img/img-pattern-2x2.png) center center repeat;
}
.uk-modal {
	background: rgba(0, 0, 0, 0.77);
}
#menusearch {
	margin: 10px 0 0 10px;
	cursor: pointer;
}
#menusearch .uk-dropdown {
	background-color: #fff;
	padding-left: 10px;
	box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3)
}
#menusearch .uk-dropdown input {
	border-width: 2px;
}
.uk-form-icon>[class*='uk-icon-'] {
	color: #999;
}
.uk-button.headersearch {
	background-color: #d62130;
	color: #fff;
	padding: 10px;
	font-size: 14px;
}
.closearch {
	position: absolute;
	top: 25px;
	right: 25px;
	opacity: 0.6;
}
.closearch:hover {
	opacity: 1;
}
#find {
	text-align: center;
	font-size: 18px;
	padding: 20px;
	/* background: #890B58 url(img/h1_bkg.jpg) center center no-repeat;
	background-size: cover; */
	background-color: #fff;
	border-top: 1px solid #e4e4e4;
	color: #fff;
	position: relative;
	z-index: 1000;
}
#find .uk-form input[type="search"] {
	background-color: #efefef;
	height: inherit;
	padding: 10px;
	border-color: #fff;
	color: #666;
	width: 350px;
}
h1.uk-article-title span.searchtitle {
	font-size: 40px;
}
h1.uk-article-title span.searchtitle em {
	color: #fff;
}
.gummy {
	position: relative !important;
}

/* HOME */
.visore .uk-slideshow-fullscreen {
	height: 92vh;
}
.visore .uk-slideshow-fullscreen iframe {
	/* margin-top: -90px; */
}
.homepanel {
	margin-top: -24vh;
	max-width: 1149px !important;
}
.homepanel h2 {
	font-size: 55px;
	text-transform: uppercase;
	line-height: 55px;
	padding: 0;
	margin: 0 0 15px;
}
.homepanel h3 {
	font-family: Georgia, serif;
	font-size: 24px;
	line-height: 18px;
	font-style: italic;
	padding: 0;
	margin: 0 0 60px;
}
.homepanel a.cta {
	border: 3px solid #d62130;
	padding: 15px 40px;
	color: #fff;
	font-size: 12px;
	text-transform: uppercase;
	transition: background-color .8s,color .1s,box-shadow .4s;
}
.homepanel a.cta:hover {
	text-decoration: none;
	background-color: #d62130;
	color: #fff;
}

/* PREVIOUS
.homepanel a.cta {
	border: 3px solid #d62130;
	padding: 15px 40px;
	color: #fff;
	font-size: 12px;
	text-transform: uppercase;
}
.homepanel a.cta:hover {
	text-decoration: none;
	background-color: rgba(0, 0, 0, 0.2);
} */
#homepanel-commands {
	background-color: #fff;
}
#homepanel-commands li a {
	width: 100%;
	padding-top: 30px;
	padding-bottom: 30px;
	display: block;
	text-decoration: none;
}
#homepanel-commands li.uk-active a:hover h2 {
	color: #333;
}
#homepanel-commands li a:hover h2 {
	color: #d62130;
}


/*MODIFICA SDM******************/
#homepanel-commands li {
	position:relative;
}
#homepanel-commands li.uk-active a {
	/*border-top: 4px solid #d62130;
	padding-top: 36px;*/
}
#homepanel-commands li .barra {
	font-size:0;
	line-height:0;
	height:4px; width:100%;
	background-color:#FFF;
}
#homepanel-commands li.uk-active .barra {
	background-color:#d62130;
}
/*MODIFICA SDM******************/

#homepanel-commands h2, #homepanel-commands h3 {
	line-height: 20px;
	padding: 0 5px;
	margin: 0 10px;
	font-size: 12px;
}
#homepanel-commands h3 {
	font-family: Georgia, serif;
	font-style: italic;
	margin-left: 10px;
	margin-right: 10px;
	font-size: 12px;
}

/* PAGES */
header.titolopagina {
	padding: 70px 50px;
	text-align: center;
	background: #890B58 url(img/Method-Header-Banner-2.png) center center no-repeat;
	background-size: cover;
}
header.titolopagina h1 {
	color: #fff;
	font-size: 64px;
}
section#content p {
	font-family: "Georgia", serif;
	font-size: 13px;
	line-height: 19px;
}
section#content blockquote {
	border-left: none;
	margin: 40px auto;
}
section#content blockquote.quote-text {
	margin-bottom: 0;
}
section#content blockquote.quote-author {
	margin-top: 20px;
}
section#content blockquote.quote-text p {
	font-family: 'GothamRounded', sans-serif !important;
	font-size: 23px;
}
section#content blockquote.quote-author p {
	font-family: 'GothamRounded', sans-serif !important;
	color: #d62130;
	font-size: 15px;
	font-weight: bold;
}

/* PEOPLE */
.uk-overlay-panel.redborder {
	border: 3px solid #d62130;
	z-index: 100;
}
.staff figure.uk-overlay.uk-overlay-hover h2, .staff figure.uk-overlay.uk-overlay-hover h3 {
	margin-top: 0px;
	margin-bottom: 5px;
	padding: 0;
}
.staff figure.uk-overlay.uk-overlay-hover h2 {
	font-size: 22px;
	text-transform: uppercase;
	margin-bottom: 0;
	line-height: 21px;
}
.staff figure.uk-overlay.uk-overlay-hover h3 {
	font-size: 18px;
	font-family: "Georgia", serif;
	font-style: italic;
	margin-top: 0;
}
.staff figure.uk-overlay a.uk-position-cover {
	z-index: 1000;
}
.schedapersonale h2 {
	font-size: 55px;
	text-transform: uppercase;
	margin: 0;
	padding: 0;
	line-height: 48px;
}
.schedapersonale h2.cognome {
	color: #d62130;
}
.schedapersonale h3 {
	font-size: 18px;
	font-family: "Georgia", serif;
	font-style: italic;
	margin-top: 10px;
}
.schedapersonale .detail {
	font-size: 13px;
	font-family: "Georgia", serif;
	font-weight: normal;
	padding-top: 20px;
}
.peoplelist {
	margin-top: 80px;
}

/* JOBS */
section#content .job_ad {
	margin-bottom: 40px;
}
section#content .job_ad h2 {
	margin: 0;
	padding: 0;
}
section#content .job_ad h2 a {
	font-size: 15px;
}
section#content .job_ad p {
	text-align: center;
	font-style: italic;
	font-size: 16px;
	line-height: 28px;
	margin-bottom: 0;
}
img.hireicon {
	margin-right: 15px;
	line-height: 64px;
}

/* PORTFOLIO */
ul.portfolio-tab.uk-tab>li>a {
	font-size: 18px;
	color: #333;
	border: none;
}
ul.portfolio-tab.uk-tab>li>a:hover {
	background-color: transparent;
	color: #d62130;
}
ul.portfolio-tab.uk-tab>li.uk-active>a {
	color: #d62130;
}
.uk-tab-center, .uk-switcher#stories {
	border: none;
}
a.slider-lightbox {
	display: block;
	width: 100%;
	height: 100%;
}
h1.uk-article-title {
	text-align: center;
	font-size: 42px;
}
article.campagna h1.uk-article-title {
	line-height: inherit;
	margin-bottom: 30px;
	margin-top: 0;
	font-size: 50px;
	line-height: 44px;
}
.spot-logo img {
	max-height: 50px;
	width: auto;
	margin-bottom: 20px;
}
h1.uk-article-title span.claim-premi {
	font-size: 55px;
    line-height: 70px;
}
h3.uk-article-title {
	text-align: center;
	font-size: 18px;
	font-family: "Georgia", serif;
	font-style: italic;
	padding-top: 0;
	margin-top: 0;
}
.mytabs {
	padding-top: 17px;
	padding-bottom: 18px;
	border-top: 1px solid #e4e4e4;
	text-align: center;
}
.mytabs a {
	display: inline-block;
	padding: 6px 12px 9px;
	text-align: center;
	font-size: 22px;
	color: #333;
	text-decoration: none;
	line-height: inherit;
}
.mytabs a:hover,  .mytabs a.tab-active {
	color: #d62130;
}
.fake-tab {
	padding-top: 17px;
	padding-bottom: 18px;
	border-top: 1px solid #ddd;
	border-top: 1px solid #ddd;
	text-align: center;
}
.fake-tab ul.singular-tab {
	padding: 0;
	margin-bottom: 0;
}
/* .fake-tab ul.singular-tab>li {
	position: relative;
    right: 44.2%;
    border: none;
    float: right;
    margin: 0;
    padding: 0;
    list-style: none;
}
ul.singular-tab>li {
	margin-bottom: -1px;
    float: left;
}
*/
.fake-tab ul.singular-tab>li {
    border: none;
    float: none;
    margin: 0;
	padding-top: 6px;
	padding-bottom: 6px;
    list-style: none;
	display: inline-block;
}
ul.singular-tab>li>a {
	padding: 8px 12px;
	text-align: center;
	font-size: 22px;
	color: #333;
	text-decoration: none;
}
ul.singular-tab>li.tab-active>a {
	color: #d62130;
	text-decoration: none;
}
.fake-tab ul.singular-tab>li>a {
	padding: 8px 10px;
}
.campaigndata {
	padding: 0 0 0 35px;
}
.projectkey {
	height: 400px;
	background-position-y: 50%;
}
.progettiblock {
	background-color: #000;
}
.altrispot {
	margin: 0 0 60px;
}
.more-sign {
	position: absolute;
	right: 13px;
	bottom: 20px;
	font-size: 60px;
	font-family: 'Gotham-XLight';
	color: #ddd;
}
.more-sign.cms {
	color: #333;
}
#tab-progetti .clientitile {
	border-collapse: collapse;
}
.altrecliente h3, .altrecliente h2 {
	text-align: center;
	margin-bottom: 20px;
	margin-top: 40px;
}
.altrecliente h2 {
	font-size: 24px;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 40px;
}
.altrecliente h3 span {
	font-family: "Georgia", serif;
	font-style: italic;
}
a.altrilink {
	display: block;
	height: 100%;
	width: 100%;
}
span.left-arrow {
	width: 24px;
	height: 69px;
	display: block;
	background: transparent url(img/prev-project.png) center center no-repeat;
}
.navproj.fa {
	font-size: 64px;
	color: #fff;
	opacity: 0.7;
}
.navproj.fa:hover {
	opacity: 1;
}
body.single-campagna section#main {
	margin-top: 30px !important;
	padding-bottom: 30px !important;
}
h2.more-stuff {
	font-family: 'Gotham', sans-serif;
	font-size: 14px;
}
h2.more-stuff span.campaign {
	font-family: "Georgia", serif;
	font-size: 14px;
	font-style: italic;
	display: inline-block;
	margin-left: 5px;
}
.margins {
	margin-left: 40px;
	margin-right: 40px;
}
h2.more-proj {
	font-size: 36px;
	line-height: 36px;
	padding: 0;
	margin: 20px auto;
}
a.proj-cta, .footer-pager a {
	display: table;
	padding: 7px 22px;
	font-size: 14px;
	text-decoration: none;
	border: 3px solid #d62130;
	color: #333;
	margin: 10px auto;
	text-transform: uppercase;
	transition: background-color .8s,color .1s,box-shadow .4s;
}
a.proj-cta:hover, .footer-pager a:hover {
	background-color: #d62130;
	color: #fff;
}
.footer-pager {
	width: 100%;
}
.footer-pager a#footer-pager-next {
	margin: 10px;
	display: inline-block;
	float: right;
	cursor: pointer;
}
.footer-pager a#footer-pager-prev {
	margin: 10px;
	display: inline-block;
	float: left;
	cursor: pointer;
}

/* CONTATTI */
.acf-map {
	width: 100%;
	height: 400px;
	border: #ccc solid 1px;
	margin: 0 0 20px 0;
	visibility: visible;
}
/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}
.contattinav .uk-subnav li {
	padding: 3px 15px;
}
.contattinav .uk-subnav li a {
	color: #000;
	font-size: 18px;
}
.contattinav .uk-subnav li.uk-active a {
	color: #d62130;
}
.offices {
	text-align: center;
	padding-top: 50px;
	margin-bottom: 50px;
}
.contact {
	text-transform: uppercase;
	margin-top: 40px;
	margin-bottom: 0;
	padding-bottom: 0;
}
.role {
	margin-top: 0;
}
.role em {
	font-family: "Georgia", serif;
	color: #333;
	font-weight: normal;
}
p.mailto {
	margin-top: 25px;
}
a.workwithus:hover {
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.2);
}
a.workwithus {
    border: 3px solid #d62130;
    padding: 15px 40px;
    color: #000;
    font-size: 12px;
    text-transform: uppercase;
	text-decoration:none;
}
/* PREMI */
.report {
	font-size: 10pt;
	float: right;
	margin-right: 150px;
}
td.placement {
	font-size: 16px;
	text-transform: uppercase;
	padding-right: 40px;
	width: 140px;
}
ul.medagliere li {
	line-height: 14px;
	padding-top: 0;
	margin-top: 0;
	padding-bottom: 0;
}
ul.medagliere li a {
	text-decoration: none;
	color: #333;
	font-size: 12px;
}
ul.medagliere li a:hover {
	color: #d62130;
}


img.premio_img {
	max-width: 180px;
	height: auto;
}
h3.clientepremio {
	display: inline-block;
	font-style: italic;
	margin: 0 0 0 8px;
	padding: 0;
	font-family: "Georgia", serif;
	font-size: 12px;
	line-height: inherit;
}
table.premi-table tr {
	border-bottom: 1px solid #e4e4e4;
	padding-top: 15px;
}
table.premi-table tr:last-of-type {
	border-bottom: none;
}
table.premi-table td.prize, table.premi-table td.rank {
	padding-top: 40px;
	padding-bottom: 40px;
}
/* NEWS */
header.titolopagina h1.uk-article-title.datetime {
	margin: 0;
	padding: 0;
	font-size: 50px;
}
h1.newstitle {
	text-align: left;
	font-size: 35px;
	margin-top: 8px;
}
section#content p.newsdate {
	color: #d62130;
	font-size: 15px;
	font-weight: 400;
	font-family: 'Gotham', sans-serif;
	padding-bottom: 0;
	margin-bottom: 0;
}
.entryblock {
	position: relative;
	overflow: hidden;
}
div.uk-accordion {
	text-align: center;
	position: relative;
	padding-bottom: 30px;
}
div.uk-accordion-content {
	text-align: left;
	padding: 0 0 50px;
	clear: both;
	z-index: 1;
}
span.uk-accordion-title {
	margin: 0 auto 15px;
	display: block;
	width: 130px;
	background-color: #fff;
	border: 3px solid #d62130;
	-webkit-transition: width 2s; /* Safari */
    transition: width 2s;
	padding: 0 !important;
	line-height: 36px;
	z-index: 10000;
}
span.uk-accordion-title i {
	color: #333;
	font-weight: 400;
}
span.uk-accordion-title span.up{
	display: none;
}
span.uk-accordion-title.uk-active {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #d62130;
	border: 3px solid #d62130;
	cursor: pointer;
	display: block;
}
span.uk-accordion-title:hover {
	background-color: #d62130;
	border: 3px solid #d62130;
	cursor: pointer;
}
span.uk-accordion-title.uk-active i, span.uk-accordion-title:hover i {
	color: #fff;
}
span.uk-accordion-title.uk-active span.up {
	display: block;
	cursor: pointer;
}
span.uk-accordion-title.uk-active span.up i.fa {
	width: 100%;
	line-height: 36px;
	height: 36px;
	display: block;
	z-index: 1000;
}
span.uk-accordion-title.uk-active span.down {
	display: none;
}

/* FOOTER */
#footer.mainfooter {
	border-top: 1px solid #ddd;
	color: #000;
	font-size: 8px;
	font-family: "Gotham-Book", sans-serif;
	font-weight: normal;
	padding: 25px 25px 0;
	line-height: 11px;
}
#footer.mainfooter a {
	color: #111;
}
#footer.mainfooter a:hover {
	text-decoration: none;
	color: #d62130;
}
#footer.mainfooter.logodiv > * {
	margin-left:0;
}
#footer.mainfooter .logodiv object, #footer.mainfooter .logodiv img {
	max-height: 22px;
	width: auto;
}
#footer.mainfooter .footnotes, #footer.mainfooter .logodiv {
	padding-top: 10px;
	padding-bottom: 10px;
}
#footer.mainfooter .footnotes strong {
	color: #d62130;
	text-transform: uppercase;
}
#footer.mainfooter .copyright {
	float: right;
}
#footer.mainfooter .footnotes > * {
	margin-left: 20px;
}
#footer.mainfooter .footnotes.loc {
}
.footcopy {
	margin-top: 17px;
}


h1.uk-article-title.spot-title { margin-top: 6px; }
.uk-grid+.uk-grid, .uk-grid-margin, .uk-grid>*>.uk-panel+.uk-panel { margin-top:23px; }

body.single-campagna .uk-open .uk-modal-dialog { background-color:#000 !important; }

/* Publicis Tiles Breakpoints
fino a 480px: 1 colonna
da 480 a 660px: 2 colonne
da 660 a 880px: 3 colonne
da 880 a 1280px: 4  colonne
da 1280 a 1600px: 5 colonne
oltre 1600px 6  colonne */


/* Media queries */

@media (min-width: 1300px) {
	/* Fix footer to page bottom -> https://css-tricks.com/snippets/css/sticky-footer/ */
	* {
	  margin: 0;
	}
	html, body {
	  height: 100%;
	}
	.page-wrap {
	  min-height: 100%;
	  /* equal to footer height */
	  margin-bottom: -93px;
	}
	.page-wrap:after {
	  content: "";
	  display: block;
	}
	footer.mainfooter, .page-wrap:after {
	  height: 68px;
	}
	#tab-progetti, #peoplegrid {
		margin-bottom: 70px;
	}
	/* END Fix footer to page bottom -> https://css-tricks.com/snippets/css/sticky-footer/ */
}

@media only screen (max-width: 480px) {
	.homepanel h2 {
		font-size: 30px;
		line-height: 40px;
		margin-top: -300px;
	}
	.homepanel h3 {
		font-size: 18px;
		line-height: 24px;
		margin-bottom: 40px;
	}
	.homepanel a.cta {
		font-size: 14px;
	}
	#homepanel-commands a h2, #homepanel-commands a h3 {
		font-size: 11px;
		overflow: hidden;
	}
	#homepanel-commands li a {
		padding-bottom: 20px;
		padding-top: 20px;
	}
	#homepanel-commands li.uk-active a {
		padding-top: 16px;
	}
	/* Tiles Breakpoint */
	.uk-width-large-1-6.uk-width-medium-1-4.uk-width-small-1-3.staff {
		width: 100%;
	}
}
@media only screen and (min-width:481px) and (max-width: 660px)  {
	/* Tiles Breakpoint */
	.uk-width-large-1-6.uk-width-medium-1-4.uk-width-small-1-3.staff {
		width: 50%;
	}
}
@media only screen and (min-width:661px) and (max-width: 880px)  {
	/* Tiles Breakpoint */
	.uk-width-large-1-6.uk-width-medium-1-4.uk-width-small-1-3.staff {
		width:33.333%;
	}
}
/* @media (min-width: 1024px) {
	.uk-width-large-1-6.safari {
		width:16.667%;
	}
} */
@media only screen and (min-width:1024px) and (max-width: 1024px)  {
	.visore .uk-slideshow-fullscreen {
		height: 82vh !important;
	}
	.homepanel {
		font-size: 38px;
		margin-top: 0px;
	}
	.fake-tab ul.singular-tab>li {
		right: 39.1%;
	}
}
@media only screen and (min-width:768px) and (max-width: 768px)  {
	.visore .uk-slideshow-fullscreen {
		height: 94vh !important;
	}
	.homepanel {
		font-size: 38px;
		margin-top: 0px;
	}
	.fake-tab ul.singular-tab>li {
		right: 35%;
	}
}

@media (max-width: 1024px) {
	.homepanel h2 {
		font-size: 38px;
		margin-top: -200px;
	}
	#homepanel-commands a h2, #homepanel-commands a h3 {
		display: block;
		font-size: 13px;
	}
	.staff figure.uk-overlay.uk-overlay-hover h2 {
		font-size: 18px;
		line-height: 22px;
	}
	.staff figure.uk-overlay.uk-overlay-hover h3 {
		font-size: 16px;
	}
	.page-wrap {
	  min-height: inherit;
	  /* equal to footer height */
	  margin-bottom: inherit;
	}
	.page-wrap:after {
	  content: none;
	  display: inherit;
	}
	footer.mainfooter, .page-wrap:after {
	  height: inherit;
	}
	#tab-progetti, #peoplegrid {
		margin-bottom: inherit;
	}
	.report {
	font-size: 10pt;
	float: none;
	text-align: right;
	display:block;
	margin-right: inherit;
	margin-top: 15px;
	}
	.advdesc {
		padding-left:0;
	}
	/* 30-03-2016 changes */
	.campaigndata {
		margin-left: auto;
		margin-right: auto;
		padding: 0 0 0 25px;
	}
	.uk-overlay-panel.redborder {
		border:none;
	}
	[class*='uk-overlay-slide'], .uk-overlay-hover:not(:hover):not(.uk-hover) .uk-overlay-panel:not(.uk-ignore) {
		opacity: 1;
		-webkit-transform: translateX(0) translateY(0);
		transform: translateX(0) translateY(0);
	}
	.staff figure.uk-overlay.uk-overlay-hover h2 {
		/* margin-top: 60%; */
	}
	.advdesc {
		padding-left: 25px;
	}
	img.uk-overlay-grayscale {
		filter: grayscale(0%) !important;
		-webkit-filter: grayscale(0%);
	}
	/* 30-03-2016 changes - end */
}
@media only screen and (min-width:881px) and (max-width: 1280px)  {
	/* Tiles Breakpoint */
	.uk-width-large-1-6.uk-width-medium-1-4.uk-width-small-1-3.staff {
		width:25%;
	}
}
@media only screen and (min-width:1281px) and (max-width: 1600px)  {
	/* Tiles Breakpoint */
	.uk-width-large-1-6.uk-width-medium-1-4.uk-width-small-1-3.staff {
		width:20%;
	}
}
@media only screen and (min-width:1600px)  {
	.projectkey {
		height: 590px;
		width: 100%;
	}
}
@media (max-width: 767px) {
	.homepanel  {
		margin-top: 20vh
	}
	.homepanel h2 {
		font-size: 23px;
		line-height: 28px;
	}
	.homepanel h3 {
		font-weight: normal;
	}
	.advdesc {
		padding-left: 24px;
	}
	h1.uk-article-title.spot-title, .spot-logo img {
	}
	header.titolopagina {
		padding: 45px 25px 35px;
	}
	header.titolopagina h1 {
		font-size: 32px;
	}
	body.page-template-page-premi h1.uk-article-title, body.page-template-page-premi h1.uk-article-title span.claim-premi {
		font-size: 26px;
		line-height: 32px;
	}
	.footcopy {
		padding-bottom: 17px;
	}
	table.premi-table td.prize {
		padding: 25px 0 10px;
		text-align: center;
		border-top: 1px solid #e4e4e4;
	}
	table.premi-table tr {
		border:none;
	}
	.schedapersonale h2 {
		font-size: 36px;
		line-height: 40px !important;
	}
	.schedapersonale h2:first-of-type {
		margin-top: 15px;
	}
	.fake-tab ul.singular-tab>li {
		right: inherit;
		float: none;
		display: inline-block;
	}
	.clientitile figure {
		text-align: center;
		display: block;
	}
}


/* Nuova pagina jobs */
.page-template-page-jobs #main .uk-container { padding: 0; max-width: 1220px; }
.page-template-page-jobs #main .uk-text-justify { text-align: left !important; }
.page-template-page-jobs #main .uk-width-medium-3-5,
.page-template-page-jobs #main .uk-width-medium-6-10 { width: 100%; }

.page-template-page-jobs { font-size: 0; line-height: 0; }
.page-template-page-jobs .intro_text { margin-bottom: 30px; }
.page-template-page-jobs .intro_text p { font-size: 18px !important; line-height: 22px !important; }
.page-template-page-jobs .box_job { position: relative; width: 290px; display: inline-block; background-color: #f6f6f6; margin: 7px; }
.page-template-page-jobs .box_job .table { width: 100%; height: 100%; display: table; }
.page-template-page-jobs .box_job .table .cell { padding: 0 20px; width: 100%; height: 290px; display: table-cell; vertical-align: middle; text-align: center !important; }
.page-template-page-jobs .box_job .hover { display: none; }
.page-template-page-jobs .box_job h2 { font-size: 32px; line-height: 34px; font-weight: 500; color: #b8b8b8; margin: 0; }
.page-template-page-jobs .box_job.visible h2 { color: #c2055a; }
.page-template-page-jobs .box_job.visible .hover { padding: 0 20px; color: #FFF; opacity: 0; display: table; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all 250ms ease-out;
	-moz-transition: all 250ms ease-out;
	-ms-transition: all 250ms ease-out;
	-o-transition: all 250ms ease-out;
	transition: all 250ms ease-out;
	background: rgb(158,8,88);
	background: -moz-linear-gradient(left, rgba(158,8,88,1) 0%, rgba(191,1,86,1) 100%);
	background: -webkit-linear-gradient(left, rgba(158,8,88,1) 0%,rgba(191,1,86,1) 100%);
	background: linear-gradient(to right, rgba(158,8,88,1) 0%,rgba(191,1,86,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9e0858', endColorstr='#bf0156',GradientType=1 );
}
.page-template-page-jobs .box_job.visible .hover .inner { display: table-cell; vertical-align: middle; width: 100%; height: 290px; }
.page-template-page-jobs .box_job.visible:hover .hover { opacity: 1; }
.page-template-page-jobs .box_job.visible .hover .citta { font-size: 14px; line-height: 14px; color: #FFF; text-transform: uppercase; }
.page-template-page-jobs .box_job.visible .hover .citta span { opacity: 0.5; margin: 0 5px; }
.page-template-page-jobs .box_job.visible .hover .citta span.on { opacity: 1; }
.page-template-page-jobs .box_job.visible .hover p { margin: 20px 0 !important; color: #FFF; font-family: 'Gotham', sans-serif !important; font-size: 16px !important; line-height: 20px !important; }
.page-template-page-jobs .box_job.visible .hover hr { background-color: #FFF; opacity: 0.5; width: 60%; margin: 0 auto 20px; display: block; }
.page-template-page-jobs .box_job.visible .hover a { font-weight: 500 !important; color: #FFF; font-size: 18px; line-height: 18px; text-transform: uppercase; }
.page-template-page-jobs .box_job.visible .hover a:hover { text-decoration: none; opacity: 0.5; }


@media (max-width: 1240px) {
	.page-template-page-jobs #main .uk-container { max-width: 912px; }
}

@media (max-width: 920px) {
	.page-template-page-jobs #main .uk-container { max-width: 610px; }
}

@media (max-width: 620px) {
	.page-template-page-jobs #main .uk-margin-large-top { margin-top: 10px !important; }
	.page-template-page-jobs #main .uk-container { max-width: 304px; }
}


@media only screen and (min-width: 601px) {

  .uk-open .uk-modal-dialog {
	width: 1000px;
	height: 500px;
  }
    
}


@media only screen and (max-width: 600px) {
    
    .uk-open .uk-modal-dialog {
	width: 1000px;
	top: 228.5px;
    height: 214px;
  }
  
  #videowrapper {
    width: 100%;
    display: block;
    max-width: 381px;
    height: 214px;
  }
    
}