@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600,600i,700|Roboto:300,300i,400,400i,500,700');

body {
    font-family: 'Open Sans', sans-serif !important;
    line-height: 1.65em;
    color: #666;
}

h1, h2, h3, h4, .top-section p, .top-section li {
    font-family: sans-serif !important;
}


h1, .heading > h1{
    font-size:40px;
    font-weight:500;
}
h2, .heading > h2 {
    font-size:30px;
    font-weight:500;
}
h3 {
 margin-bottom:0;
}
p{
    color:#666;
    line-height: 1.65em;
}
/* overwrite back to top button hover */
#goToTop:after, #goToTop:before {
  background: #FCC43F;
 }

/* fix logo size */
#header {
    height:60px;
    line-height: 60px; 
}
#header #header-wrap {
    background-color: #fff;
}  

#header #header-wrap #logocust a>img {
    height: 35px;
}
#header.header-sticky #header-wrap #logocust {
    height: 60px;
}

/* fix hero position */
#header.header-colored-transparent+#page-title:not(.page-title-classic), #header.header-dark-transparent+#page-title:not(.page-title-classic), #header.header-light-transparent+#page-title:not(.page-title-classic), #header.header-transparent+#page-title:not(.page-title-classic) {
    padding-top: 140px;
}

p.contact {
   margin:0px;
}
p.contact-top {
   margin-top:5px;
}

.contact #email{
    white-space:nowrap;
}

#page-title {
    padding:60px 0;
    background-color:#fff;
}
.heading {
    margin-bottom:20px;
}
.top-section {
    background-color: rgba(36, 76, 153, 0.8); 
    padding: 20px; 
    border-radius: 3px;
    text-align:left;
    color:white;
    font-size:16px;
}

.top-section p {
    font-size: 16px;
}

.top-section h1, .top-section p, .top-section li {
    color:white;
    margin-bottom:2px;
}
.top-section li {
    margin-left:-20px;
}

.grid li:hover {
    cursor:auto;
}

.grid-item {
    cursor:auto;
}
.testimonial .testimonial-item>p {
    line-height: 1.65em;
    font-size: 14px;
}
 
.testimonial .testimonial-item>img {
    border-radius: 0%;
    height: 40px;
    width: 80px;
}
 
.icon-box.color .icon i {
    background: #FCC43F;
    color: #fff;
}
.list-icon li {
    margin-bottom: 10px;
    margin-left: 85px;
}

.grid.grid-7-columns li {
    width: 14.2%;
}

.btn {
    background-color:rgba(36,76,153, 0.9);
    border-style:none;
}
.btn:hover {
    background-color:#ff9800;
}

/* change wash colour on portfolio hover */
.grid-item:not(.no-overlay):hover .grid-image:after, .grid-item:not(.no-overlay):hover .grid-slider .owl-stage-outer:after, .grid-item:not(.no-overlay):hover .grid-video:after, .grid-item:not(.no-overlay):hover .portfolio-image:after, .grid-item:not(.no-overlay):hover .portfolio-slider .owl-stage-outer:after, .grid-item:not(.no-overlay):hover .portfolio-video:after, .portfolio-item:not(.no-overlay):hover .grid-image:after, .portfolio-item:not(.no-overlay):hover .grid-slider .owl-stage-outer:after, .portfolio-item:not(.no-overlay):hover .grid-video:after, .portfolio-item:not(.no-overlay):hover .portfolio-image:after, .portfolio-item:not(.no-overlay):hover .portfolio-slider .owl-stage-outer:after, .portfolio-item:not(.no-overlay):hover .portfolio-video:after {
    opacity:0;
}

.portfolio-item .portfolio-description {
    top: 80%;
    width: 100%;
}

.grid-filter li a {
    border-radius: 0px;
    font-size:16px;
    border-style: solid;
}

.grid-filter.gf-outline li:hover a, .grid-filter.gf-outline li.active a {
    border-color: #fff;
    color: #565656;
    border-bottom: 2px solid #566565;
    background-color: transparent;
}

.counter {
    font-size:50px;
}

.icon-box.color .icon em {
    background: #FCC43F;
    color: #fff;
    font-size: 28px;
    text-align: center;
    line-height: 66px;
    border-radius: 0;
    width: 100%;
    height: 100%;
}

#footer h2, #footer p, #footer a {
    color:#fff;
}

.footersec p {
    margin-bottom:0;
}

.footer-content {
    background-color: #426a9e;
}

.copyright-content {
    background-color: #294263;
    border-top: none;
}


/* remove highlighting */
::selection {
    background-color: #ff9800;
}

@media (max-width: 992px){
    .contact {
        text-align: center !important;
    }
    #header #logocust {
        text-align: center;
    }

    .contact-top {
        display:none;
    }
}

@media (max-width: 767px){
    #page-title .page-title>h1 {
        margin-top: 40px;
    }
    #page-title.sub-page {
        background: rgba(36, 76, 153, 0.8)
    }
}

/* Override widest break point */
@media (min-width: 1200px) {
    .container, .container-fluid, .container-lg {
        max-width: 1170px; /* Set the max-width to the same value as the old lg breakpoint */
    }
}

.fa-angle-up {
    content: url(https://www2.eurojobsites.com/images/ejs-angle-up-white.svg);
}

@media (min-width: 768px) {
    h1, h2, h3, h4  {
        font-family: 'Roboto', sans-serif !important;
    }
    .top-section p, .top-section li {
        font-family: 'Open sans', sans-serif !important;
    }
    #page-title .parallax-container {
        background: url('https://www2.eurojobsites.com/images/eb_hero_bg.jpg');
    }

    #page-title.sub-page {
        background: url('https://www2.eurojobsites.com/images/eb_hero_bg_fade.jpg');
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    #page-title .container {
        width: 100% !important;
        max-width: 95%;
    }
}