/*
Theme Name: OneEngine
Theme URI: 
Description: Child theme for OneEngine
Template: oneengine
Version: 1.1
Author: Artmir
*/
@import url("/wpress/wp-content/themes/oneengine/style.css");

/* =Theme customization starts here
-------------------------------------------------------------- */

/*mailchimp forms*/
#mc4wp-form-1 > div.mc4wp-form-fields > p:nth-child(1) > input[type="text"]{
margin-left:auto;
margin-right:auto;
}
/*padding of tables in publications pages*/
td, th{
padding-left:5px;
}

/*recent posts in front page ()widget)*/
#recent-posts-2{
text-align:left;
}

/*Legislation part on home page (colour of title to stand out from background)*/

#legislation > div:nth-child(2) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > h2:nth-child(1) {
color:white !important;
}

/*posts layout*/
.image-blog-wrapper{
height:30px;
}

/*Removes commenting from blog posts */
#et_respond{
display:none;
}

/*buttons in the secondary menu in front page */
#secondMenu{
	width:100%;
	margin-left:auto;
	margin-right:auto;
}

a.publicationsButton:hover{
background-color:#ffffff;
color:black !important;
}

a.publicationsButton {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color:White;
	font-weight:bold;
	font-size:100%;
	margin: 10px;
	width: 23%;
	padding-top:50px;
	padding-bottom:50px;
	text-align: center;
	text-decoration:none;
	opacity: 50;
    background-color:#0AF;
	float:left;
	-moz-box-shadow:
		1px 1px 6px rgba(168,168,168,1),
		inset 0px 0px 0px rgba(255,255,255,0.7);
	-webkit-box-shadow:
		1px 1px 6px rgba(168,168,168,1),
		inset 0px 0px 0px rgba(255,255,255,0.7);
	box-shadow:
		1px 1px 6px rgba(168,168,168,1),
		inset 0px 0px 0px rgba(255,255,255,0.7);
}

/*End of Buttons for materials in front page*/

/* Buttons for materials in front page and in publications page*/
#frontButtons{
	width:100%;
	margin-left:auto;
	margin-right:auto;
}
a.leafletButton:hover{
background-color:#6666FF;
}
a.posterButton:hover{
background-color:#6666FF;
} 
a.leafletButton {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color:White;
	font-size:100%;
	margin: 10px;
	width: 23%;
	padding-top:50px;
	padding-bottom:50px;
	text-align: center;
	text-decoration:none;
	opacity: 50;
    background-color:#0AF;
	float:left;
	-moz-box-shadow:
		1px 1px 6px rgba(168,168,168,1),
		inset 0px 0px 0px rgba(255,255,255,0.7);
	-webkit-box-shadow:
		1px 1px 6px rgba(168,168,168,1),
		inset 0px 0px 0px rgba(255,255,255,0.7);
	box-shadow:
		1px 1px 6px rgba(168,168,168,1),
		inset 0px 0px 0px rgba(255,255,255,0.7);
}
a.posterButton{
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color:White;
	font-size:100%;
	margin: 10px;
	width: 23%;
	padding-top:50px;
	padding-bottom:50px;
	text-align: center;
	text-decoration:none;
	opacity: 50;
    background-color:#0AF;
	float:left;
	-moz-box-shadow:
		1px 1px 6px rgba(168,168,168,1),
		inset 0px 0px 0px rgba(255,255,255,0.7);
	-webkit-box-shadow:
		1px 1px 6px rgba(168,168,168,1),
		inset 0px 0px 0px rgba(255,255,255,0.7);
	box-shadow:
		1px 1px 6px rgba(168,168,168,1),
		inset 0px 0px 0px rgba(255,255,255,0.7);
}
/*End of Buttons for materials in front page*/


/* consortium page table start*/ 


#partners  td {
  width:45%;
  vertical-align:middle;
  text-align: left;
  border-top:ridge;
  padding:15px;
}

#partners  td img{
max-width:250px;
}


/*ICT directorate (Romanian MAIGOV)image size in partners page*/
#partners > tbody:nth-child(1) > tr:nth-child(13) > td:nth-child(1) > a:nth-child(1) > img:nth-child(1){
width:80%;
height:auto;
}

#partners table {
  border-spacing: 5px;
  margin-left:auto;
  margin-right:auto;
  display:inline-block;
 
}
/*table end*/


/*front consortium logos start*/

#frontlogos tr:hover td {
  background: #ffffff;
}

/*front logos size*/
#frontlogos td img {
max-width:160px;
height:auto;
}

/*Spanish police logo size*/
.policia-es {
width:36%;
height:auto;
}
/*Laurea logo size*/
#frontlogos > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(4) > a:nth-child(1) > img:nth-child(1){
width:38%;
height:auto;
}

/*Atos logo size*/
.atos{
width:45%;
height:auto;
}

#frontlogos table {
text-align:center;
  margin-bottom: 0px;
  margin-left:auto;
  margin-right:auto;
  border-spacing: 0px;
  border-collapse:collapse;
  width: 100%;
  table-layout: fixed;
}

.site-content .entry-content th,
.site-content .comment-content th,
#frontlogos th,
.site-content .entry-content td,
.site-content .comment-content td,
#frontlogos td {
  padding: 0px;
  border-bottom: none;
  vertical-align: middle;
}

/* ---------------Partner front logos as single image-----------------
#frontlogos{
width:92%;
height:auto;
margin-left:auto;
margin-right:auto;
}
#frontlogos a{
width:91%;
height:auto;
margin-left:auto;
margin-right:auto;
}
#frontlogos a img{
width:90%;
margin-left:auto;
margin-right:auto;
}


---------------Partner front logos as single image end-----------------*/

a img.alignnone {
width:50%;
height:auto;
}
/*front logos end here */

/*Eu flag on footer*/

.Eu-flag {
    margin: 60px auto 5px auto;
    color: white;
}
 .flag{
    width:300px;
    font-size: 70%;
    margin:0 auto 0 auto;
}

.alignnone size-medium wp-image-77{
    width:300px;
}

/*Contact Form Customizations*/

::-webkit-input-placeholder {
color: white;
}

:-moz-placeholder { /* Firefox 18- */
color: white;
}

::-moz-placeholder { /* Firefox 19+ */
color: white;
}

:-ms-input-placeholder {
color: white;
}
.wpcf7-quiz-label {
color:white;
display:block;
}
input.wpcf7-form-control.wpcf7-quiz{
width:100%;
display:block;
}


/*slider text size*/

.text-slider p{
    font-size:250%;
}
/*slider text*/

/*News and events style front page */
#recent-posts-3{
text-align:left;
}

/*RSS style front page */

#rss-3{
    text-align:left;
    border-right:solid;
    border-left:solid;
    }

/*RSS end*/

.logo-wrapper{
    width:210px;
}
.logo-wrapper img{
    max-width:200px;
}

/*Navigation menu drop down*/

#main-menu-top ul.sub-menu li a:hover, #main-menu-top ul.sub-menu li a:active {
border-left-color:#ccc; 
border-bottom-color: transparent;
 }
#main-menu-top .sub-menu {
 float: left; 
 position: absolute; 
 display: none; 
 padding: 0; 
 text-align: center; 
 border: 1px solid #BDC3C7; 
 border-top: none; 
 background: white; 
 z-index: 9999;
}
#main-menu-top li:hover ul.sub-menu {
display: block;
 }
#main-menu-top .sub-menu li {
display: block; min-width: 150px; 
}
 #main-menu-top .sub-menu li a { padding: 10px 15px;
 }

#main-menu-top .main-menu{
    margin-top:15px;
}
/*navigation drop down end */

/********************* Registration form width ********************/

.registration #buddypress {
width: 50% !important;
margin-left:auto;
margin-right:auto;
text-align:left;

}

/*Remove widget Archives*/
.widget widget_archive {
  display:none;
}

/*Subscribe form "submit button" aligned to center*/

.wysija-submit{
margin-right:auto;
margin-left:auto;
}

/*------------------MEDIA SIZES-----------------*/

@media only screen and (max-width : 1200px) {

/*front page second menu*/
a.publicationsButton{
width:20%;
padding-top:40px;
padding-bottom:40px;
height: 112px;
}

/* Front page materials buttons*/
a.leafletButton {
width:20%;
padding-top:40px;
padding-bottom:40px;
}

a.posterButton{
width:20%;
padding-top:40px;
padding-bottom:40px;
}
/* Front page materials buttons end*/


/*slider text size*/

.text-slider p{
    font-size:160%;
}

/*slider text*/

.logo-wrapper {
    margin-left:2px;
    width:210px;
}
.logo-wrapper img{
    width:200px;
}
.alignnone size-medium wp-image-77{
    display:none;
}

#main-menu-top .main-menu{
    margin-top:5px;
}

}

@media only screen and (max-width : 900px) {

/* front page second menu 

a.publicationsButton{
width:20%;
padding-top:40px;
padding-bottom:40px;
}
*/
/* Front page materials buttons

a.leafletButton {
width:20%;
padding-top:40px;
padding-bottom:40px;
}

a.posterButton{
width:20%;
padding-top:40px;
padding-bottom:40px;
}
*/
/* Front page materials buttons end*/


}

@media screen and (max-width: 700px){

  /*front logos size*/
#frontlogos td img {
max-width:90%;
height:auto;
}
/*spanish police image size*/

/*Laurea image size*/
#frontlogos > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(4) > a:nth-child(1) > img:nth-child(1){
max-width:80%;
height:auto;
}

/*front page second menu*/

a.publicationsButton{
width:95%;
padding-top:25px;
padding-bottom:25px;
height:auto;
}

/* Front page materials buttons*/

a.leafletButton {
width:95%;
padding-top:25px;
padding-bottom:25px;
}

a.posterButton{
width:95%;
padding-top:25px;
padding-bottom:25px;
}
/* Front page materials buttons end*/

/*slider text size start*/
.text-slider{
    width:50%;
}
.text-slider p{
    font-size:60% !important;
}
.text-slider a img{
    width:40%;
    margin-left:auto;
    margin-right:auto;
}
/*slider text size end*/
  
/*partners page images */
#partners  td img{
min-width:50px;
}

}

@media only screen and (max-width : 450px) {

/*front page second menu*/

a.publicationsButton{
width:95%;
padding-top:20px;
padding-bottom:20px;
}

/* Front page materials buttons*/

a.leafletButton {
width:95%;
padding-top:20px;
padding-bottom:20px;
}

a.posterButton{
width:95%;
padding-top:20px;
padding-bottom:20px;
}
/* Front page materials buttons end*/


 /*front logos size*/
#frontlogos td img {
max-width:90%;
height:auto;
}

/*Laurea image size*/
#frontlogos > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(4) > a:nth-child(1) > img:nth-child(1){
max-width:80%;
height:auto;
}

.logo-wrapper {
    margin-left:2px;
}
.logo-wrapper img{
    max-width:100px;
}
/*slider text size start*/

.text-slider{
    width:100%;
}
.text-slider p{
    font-size:30%;
}
.text-slider a img{
    width:30%;
    margin-left:auto;
    margin-right:auto;
}
/*slider text size end*/

/*partners page images */
#partners  td img{
min-width:40px;
}

/*Removes the "be the first to comment" from posts*/
.comments-popup { display: none}

.scroll-down {
display:none;
}
} 


@media only screen and (min-width: 200px) and (max-width: 700px) {

/*disable parallax in mobile view */
.parallax {
background-attachment: scroll !important;
}

.footer-img {
background-attachment: scroll !important
}
}

