@font-face {
  font-family: 'PFHighwaySansPro-Regular';
  src: url('PFHighwaySansPro-Regular.eot');
  src: url('PFHighwaySansPro-Regular.eot?#iefix') format('embedded-opentype'),
       url('PFHighwaySansPro-Regular.svg#PFHighwaySansPro-Regular') format('svg'),
       url('PFHighwaySansPro-Regular.ttf') format('truetype'),
       url('PFHighwaySansPro-Regular.woff') format('woff'),
       url('PFHighwaySansPro-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
body.site{color: #222;}
/* Custom edits */
div#sp-main-top div.timi{ display: table; margin: 20px auto 0 auto;}
div#sp-main-top div.timi .sp-module-title{font-size: 30px; text-align: center;color:#7b0e38; text-transform:none;}
div#sp-main-top div.timi .sp-module-content{font-size: 16px;text-align: center;}
select:focus, textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus, .uneditable-input:focus { border-color: #7b0e38!important; -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(123,14,56,0.6)!important; box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(123,14,56,0.6)!important;}
button:focus, .button:focus{outline-color: #7b0e38!important; }
#sp-agonistes button, #sp-agonistes .button { background-color: #7b0e38;border: none;color: white;padding: 15px 32px;text-align: center; text-decoration: none;font-size: 18px;}
  div.k2Pagination ul li.active a{background: #000;}
#sp-agonistes{overflow: hidden;}
div.sp-megamenu-wrapper a{color:#fff;}
div.sp-megamenu-wrapper a:hover{color:#000;}
div.itemFullText p{font-size: 16px;line-height: 1.7em;}
div#k2Container div.genericItemIntroText img.mainimg{margin-right: 10px;margin-bottom: 10px; max-width: 180px;}
div.itemFullText img.mainimg{float:left;margin-right: 10px;margin-bottom: 10px; max-width: 180px;}
div.itemFullText img.imgcenterportrait{max-width: 266px;margin: 10px auto -10px auto; }
div.itemFullText img.imgcenterlandscape{max-width: 466px;margin: 10px auto -10px auto;}

/* Header */
#sp-header{background-color: rgba(120,0,56,0.80); z-index: 10;}
#sp-header2{ z-index: 10;position:relative;}
#sp-header2.menu-fixed {position: fixed;z-index: 99999;width:100%}
#sp-absbg {background-image: url(../images/top-background.jpg); background-repeat: no-repeat; background-size: 1170px 172px; background-attachment: fixed; background-position: center top; position:fixed; top:0; width:100%; height:172px;z-index: 2;}
#sp-menu-custom ul{display: table;float: right; font-family: "PFHighwaySansPro-Regular";}
#sp-menu-custom ul li{display: inline-block;float: left; z-index: 999;border-right: 1px solid #333; border-bottom:none!important;padding: 0 15px;}
#sp-menu-custom ul li:last-child{border-right:none!important;}
#sp-menu-custom .sp-module ul >li >a{color: #000; font-size: 18px; font-weight: 600;}
#sp-menu-custom .sp-module ul >li >a:before{content: "";}
#sp-menu-custom .sp-module ul >li >a:focus{background: none;}
#sp-menu-custom .sp-module ul >li >a:hover{color: #7b0e38;}


/* ajax scroller */
div.ajax-scroller{position: relative; margin-bottom: 60px;}
div.ajax-scroller .ajaxscrl .mContainer{width:100%;height: 200px;}
div.ajax-scroller .ajaxscrl .mScroller > div{width:100%; line-height: 2em;padding-left: 15px;}
div.ajax-scroller .ajaxscrl .mScroller div .title{text-align: center;text-transform: uppercase;font-size: 25px;margin-top: 20px;margin-bottom: 10px; color: #000;}
div.ajax-scroller .ajaxscrl .mNavLeft, div.ajax-scroller .ajaxscrl .mNavRight, div.ajax-scroller .ajaxscrl .mNavUp, div.ajax-scroller .ajaxscrl .mNavDown, .ajaxscrl .mNavPause, .ajaxscrl .mNavPlay{top: auto;margin-left: auto; margin-right: auto;bottom: -20px;left: 0;right: 0; z-index: 1;}
div.ajax-scroller .ajaxscrl .mScroller div img{float: right!important; margin: 0 10px 10px 10px!important;}
div.ajax-scroller .ajaxscrl .mNavPlay, div.ajax-scroller .ajaxscrl .mNavPause{bottom: -20px;top:auto;right: 20px;}
div.ajax-scroller .ajaxscrl .mNavLeft{right: 60px;}
div.ajax-scroller .ajaxscrl .mNavRight{left: 20px;}
div.ajax-scroller .ajaxscrl .mScroller div p.link{text-align: left;padding-top: 10px;}

/*main */
body.mainpage div#k2Container div.latestItemHeader{text-align: center;}
body.mainpage #sp-main-body{padding: 0;}
section.agonistes{margin-top: 60px; padding-bottom: 20px;}
section.agonistes .sp-module.center {text-align: center;}
section.agonistes #k2ModuleBox91{transition: opacity 1s ease-out;opacity: 0; height: 0;}
section.agonistes #k2ModuleBox91.active{opacity: 1;  height: auto; display: block;}
section.agonistes .agonistes-title button{text-align: center; font-size: 14px;}
section.agonistes div.agonistes-content{text-align: center;margin-bottom: 50px;}
section.agonistes div.agonistes-content div.k2ItemsBlock ul{-webkit-column-count: 3;-moz-column-count: 3;column-count: 3;-webkit-column-gap: 60px;-moz-column-gap: 60px;column-gap: 60px;}

section.agonistes div.agonistes-content a{color:#7b0e38; font-weight: bold; text-transform: uppercase;}
section.agonistes .sp-module ul >li >a:before{content: "";}
section.agonistes .sp-module ul >li { border-bottom: none!important;}   
section.agonistes div.k2ItemsBlock ul li{margin: 0 0 1px 0;}
section.agonistes div.searchbox form.k2SearchBlockForm{width: 50%; margin: auto;}
section.agonistes div.searchbox form.k2SearchBlockForm input{display: table;margin: auto;}
section.agonistes div.searchbox form.k2SearchBlockForm .inputbox{ margin-bottom: 20px;text-align: center;}

body.anazitisi section.agonistes div.searchbox form.k2SearchBlockForm .inputbox{ margin-top: 20px;}

section#sp-main-body {padding: 50px 0;}
body.mainpage div#k2Container .latestItemTitle{font-size: 14px;margin-top:6px; margin-bottom:5px;}
article.item div.entry-header h2{text-align: center;text-transform: uppercase;font-size: 30px;}
div.sp-module.top-80{margin-top: 80px;}
div.sp-module.top-50{margin-top: 50px;}

div#sp-after-component div.contactmodule h2{text-transform: uppercase; font-size: 20px; margin-bottom: 120px;}

/* no top bar*/
#sp-top-bar { padding: 0!important;}

/* totop*/
a.scrollup:hover {background-color: #7b0e38;}

/* footer */
footer#sp-footer {background-image: linear-gradient( #7b0e38, #7b0e38 );padding: 10px 0;}

/*contact*/
body.com-contact div.page-header{border-bottom:none!important; text-align: center;}
body.com-contact form#contact-form{background-color: #fff;}

/* desktop only*/
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  div.body-innerwrapper {background-size: 1149px 142px!important}
}

@media only screen and (min-width: 1024px) {
  #sp-header{height: 130px;}
  div.ajax-scroller .ajaxscrl .mContainer{width:70%;margin:auto;height: 200px;}
  div#sp-logo img{height: 165px;padding: 0; top: 0px; position: absolute;}
  body.com-contact form#contact-form{width:50%;margin: auto;}
  /*k2*/
  div#k2Container div#itemListLeading div.itemContainer div.catItemIntroText{max-width: 75%;}
  div#k2Container div#itemListLeading div.itemContainer div.catItemIntroText img{max-width: 181px;}
  #sp-main-body div#k2Container div.genericItemIntroText{max-width: 75%;}
  #sp-main-body div#k2Container div.genericItemIntroText img{max-width: 181px;}
}
@media (max-width: 768px) {
	#sp-menu-custom ul li{width:100%;text-align: right;float:left;}
	#sp-absbg {background-size: 100% 230px; height:230px;}
	#sp-header .logo, #sp-header{height: 60px;}
	#sp-header .logo{padding-top: 20px;}
	#sp-menu-custom ul li{border-right: none!important;}
	#sp-menu-custom ul li a{text-align: center;}
	section.agonistes div.agonistes-content div.k2ItemsBlock ul{ padding: 0 20%;}
}
