/*
 Theme Name:   Roof Child
 Theme URI:    http://themeforest.net/user/VictorThemes
 Description:  Roof Child Theme
 Author:       VictorThemes
 Author URI:   http://themeforest.net/user/VictorThemes/portfolio
 Template:     roof
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         one-column, two-columns, left-sidebar, right-sidebar, custom-menu, featured-images, post-formats, theme-options, translation-ready
 Text Domain:  roof-child
*/

/* Write Custom CSS */


::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: #34495e;
  border-radius: 20px;
}
::-webkit-scrollbar-track {
  background: #ddd;
  border-radius: 20px;
}

.roof-logo {
    float: left;
    padding: 15px 0;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #fff;
  font-weight: 600;
  font-size:18px;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #fff;
  font-weight: 600;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #fff;
  font-weight: 600;

}
:-moz-placeholder { /* Firefox 18- */
  color: #fff;
  font-weight: 600;
  font-size:18px;
}
input::placeholder {
  color: #fff;
  font-weight: 600;
}
div.ppt {
	display:none!important;
}

.po-fix {
  background: url('/wp-content/uploads/2018/04/water_contact.jpg')no-repeat fixed;
  width: 100%;
  margin: 0 auto;
  display: block;
  height: 900px;
}
@media only screen and (max-width: 767px) {        
.po-fix {
  background: #222222;
  padding: 0 150px!important;
  width: 100%;
  margin: 0 auto;
  display: block;
  height: auto;
  float:left;
  box-sizing: border-box;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: column nowrap;
  flex-flow: nowrap !important;
 }
}

.po-fix2 {
  background: url('/wp-content/themes/roof/assets/images/certificari.jpg')no-repeat fixed;
  width: 100%;
  margin: 0 auto;
  display: block;
  height: 1100px;
}

#polylang-2 {
    display: block;
    float: right;
    height: 30px;
    margin: 11px 0 0;
}
#polylang-2 ul {
    display: block;
    width: 100%;
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 0;
}
#polylang-2 ul li {
    display: block;
    overflow: hidden;
    float: left;
    width: auto;
    margin: 0 10px 0 0;
}
#polylang-2 ul li a {
    display: block;
    float: left;
    width: auto;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
}
.wpcf7-form textarea {
    margin-bottom: 20px !important;
    color: #888;
    font-size: 16px;
}

.roof-header .header-right .roof-social {
  float: right;
  padding-top: 30px;
  display: none;
}

.roof-page-title {
    background-color: #f7f7f7;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


.wpcf7-form input[type="submit"] {
  min-width: 150px;
  background: #fff;
  border: 2px solid #6e92cc;
}
.all-project .roof-btn {
  min-width: 150px;
  padding: 8px 25px 9px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  background: #fff;
}

.despre {
  border-radius: 0!important;
}

.social-top{
  float: left;
  margin: 10px 0 0 0;
}

a.roof-btn {
  background: #fff;
}
.roof-widget {
  margin:4px 0 5px 0;
  float: left;
  width: 270px;
}
.roof-social {
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  margin: 5px 0;
}

.roof-menu .navbar-nav > li > a:hover {
   color: #6e92cc!important;
}

.roof-copyright ul.footer-menu {
    display: none;
}
ul.simple-fix img {
    margin: 0 0 0 -18px;
}

@-webkit-keyframes AnimationName {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@-moz-keyframes AnimationName {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes AnimationName {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

a.icon-fa-linkedin {
	display:none;
}

body {
  -webkit-animation: AnimationName 30s ease infinite;
  -moz-animation: AnimationName 30s ease infinite;
  animation: AnimationName 30s ease infinite;
}

h1 span {
  font-size: 10px;
  font-size: 1rem;
  line-height: 20px;
  font-weight: 300;
  font-family: "Open Sans", sans-serif;
  font-style: italic;
  text-transform: none;
}

p {
  font-size: 18px;
  font-size: 1.4rem;
  line-height: 26px;
}

.m-backtotop {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  position: fixed;
  bottom: -50px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #222;
  border-radius: 25px;
  text-align: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
  opacity: 0;
  overflow: hidden;
  color: #fff;
}
.m-backtotop.active {
  bottom: 15px;
  opacity: 1;
}
.m-backtotop > div {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.m-backtotop > div.arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  opacity: 1;
}
.m-backtotop > div.text {
  font-size: 5px;
  font-size: 0.8rem;
  line-height: 10px;
  text-transform: uppercase;
  font-weight: 900;
  font-family: "Open Sans", sans-serif;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateY(50%) translateX(-50%);
  opacity: 0;
  margin-top: 1px;
}
.m-backtotop:hover {
  transform: scale(1.1);
  bottom: 20px;
  cursor: pointer;
  background: black;
  box-shadow: 0 10px 5px rgba(0, 0, 0, 0.1);
}
.m-backtotop:hover > div.arrow {
  transform: translateY(-150%) translateX(-50%);
  opacity: 0;
}
.m-backtotop:hover > div.text {
  transform: translateY(-50%) translateX(-50%);
  opacity: 1;
}

#zoomimg {
  display: block;
  margin: 0 auto;
  padding: 6px 0 0;
  width: 100%;
  text-align: center;
  cursor: pointer;
  height: 50px;
  position: absolute;
  bottom: -11px;
  left: 22%;
	z-index:999999;
}
.roof-footer p {
    color: #999999;
    font-weight: 400;
    line-height: 24px;
    font-size: 14px;
}
#filters {
  margin:1%;
  padding:0;
  list-style:none;
  text-align: center;
    display: flex;
    justify-content: center;
}
@media only screen and (max-width: 767px) {
  #filters { margin:1%;
    padding:0;
    list-style:none;
    text-align: center;
    display: block;
    justify-content: center;}
}


#filters li {
    float:left;
}
#filters li span {
    display: block;
    padding:5px 20px;   
    text-decoration:none;
    color:#333;
    cursor: pointer;
    border: 1px solid #f1f1f1;
}
#filters li span.active {
    background: #6E92CC;
    color:#fff;
}
#portfoliolist .portfolio {
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   -o-box-sizing: border-box;
   width:23%;
   margin:1%;
   display:none;
   float:left;
   overflow:hidden;
}
.portfolio-wrapper {
    overflow:hidden;
    position: relative !important;
    background: #6E92CC;
    cursor: pointer;
}
.portfolio img {
    max-width:100%;
    position: relative;
    top:0;
    -webkit-transition: all 600ms cubic-bezier(0.645, 0.045, 0.355, 1);
    transition:         all 600ms cubic-bezier(0.645, 0.045, 0.355, 1);   
}
.portfolio .label {
    position: absolute;
    width: 100%;
    height: 38px;
    bottom: -38px;
    left: 0;
    padding: 0;
    -webkit-transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
    transition:         all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
}
.portfolio .label-bg {
      background: #6E92CC;
      width: 100%;
      height:100%;
      position: absolute;
      top:0;
      left:0;
}
.portfolio .label-text {
      text-align: center;
      color:#fff;
      position: relative;
      z-index:500;
      padding:5px 8px;
}   
.portfolio .text-category {
      display:block;
      font-size: 13px;
}
.portfolio:hover .label {
      bottom:0;
}
.portfolio:hover img {
      top:-30px;
}  
a.text-title {
  font-size: 15px;
  color: #fff;
}
a.text-title:hover{
  font-size: 18px;
  color: #222;
}

.bor-right {
    /*border-right: 1px solid #999;
    border-bottom: 1px solid #999;
    border-top: 1px solid #999;
    border-left: 1px solid #999;*/
    min-height: 375px;
}

.service-item {
  width: 380px;
}


/*  #Mobile (Portrait) - Note: Design for a width of 320px */
@media only screen and (max-width: 767px) {
  
  #portfoliolist .portfolio {
    width:48%;
    margin:1%;
  }   
  
}

@media only screen and (max-width: 767px) {
.po-fix2{display: none;}

}






