/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/
#loader {
    position: fixed;
    width: 100vw;
    height: 100%;
    background: #fffffffe;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    top:0;
}
#loader svg{
    width: 120px;
    height: 120px;
}
.elementor-nav-menu>li.menu-item {
    border-left: solid 2px;
}
body a {
    color: inherit;
}
.site-header, body:not([class*=elementor-page-]) .site-main {
    max-width: 1080px;
}
body:not([class*=elementor-page-]).archive .site-main {
    max-width: 920px;
}
body main{
    font-family: "Almoni neue", Sans-serif;
}
body.page-template-page-field main{
    max-width: 1080px;
    margin: 0 auto;
}
.type-projects>.page-header{
    background: #b4daf1 url(img/tile.png) center center;
    background-size: cover;
    border-radius: 10px;
}
.type-projects>.page-header h1{
    margin: 30px 0px 0px 30px;
    font-weight: normal;
    font-size: 48px;

}
.sub-menu.elementor-nav-menu--dropdown {
    background-color: #eee;
}
.flex {
    display: flex;
   }
.align-center{
    align-items: center;
}
.flex-grow {
    flex-grow: 1;
}
.project-title{
    padding: 25px 40px;
}

.project-strategy{
    background-color: #4c697f;
    padding: 20px 11px;
    color: #fff;
    text-align: center;
    font-size: 13px;
    min-width: 90px;
    width: 90px;
    font-weight: bold;
    line-height: 1.1;
    letter-spacing: 3.5px;
    border-radius: 10px;
}
.project-strategy img{
    display: block;
    margin: 5px auto;
    width: 85%;
}
.type-projects .page-content{
    padding: 40px 40px 40px 120px;
    font-size: 18px;
    line-height: 1.3;
}
.wp-block-embed {
    margin: 0 0 1em 0;
}
.wp-block-embed-youtube iframe{
    width: 480px;
    height: 270px;
}
.sub-project{
    background-color: #eef3f6;
    border-radius: 10px;
    margin: 30px 0;
    border-right: 12px solid #4c697f;
  	max-width: 800px;
}
.inner-sub-project {
    padding: 15px 20px 15px 40px;
}
.project-item {
    max-width: 920px;
    border-radius: 10px;
    border-left: 10px solid #4c697f;
    margin: 25px auto;
    background-color: #eef3f6;
    min-height: 160px;
}
.inner-project-item {
    padding:10px 20px 10px 20px;
}
.inner-project-item h2{
    font-size: 26px;
    margin: 5px 0;
    font-weight: 600;
}
.inner-project-item p{
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
}
.inner-project-item .button, .inner-sub-project .button{
    font-size: 17px;
    fill: #11182A;
    color: #11182A;
    background-color: #cad8e1;
    display: inline-block;
    padding: 4px 13px;
    float: right;
    border-radius: 5px;
}
.inner-project-item .button:hover, .inner-sub-project .button:hover {
    background-color: #E48479;
}
.wp-block-embed-youtube iframe {
    width: 640px;
  height: 360px;
  border: #4c697f solid 15px;
  border-radius: 10px;
}
.sub-project>img {
    width: 320px;
    height: 190px;
    object-fit: cover;
}
.sub-project h2 {
    font-size: 26px;
  margin: 10px 0;
}
.sub-project p {
    font-size: 16px;
}
.project-item>img {
  width: 160px;
  height: 160px;
  object-fit: cover;
}
.elementor-146 .elementor-element.elementor-element-5ca2cca .elementor-nav-menu--dropdown a{
    white-space: normal;
    text-align: center;
    justify-content: center;
    border-right-width: 0;
}
p#breadcrumbs span{
    font-size: 13px;
    line-height: 1.3;
}
p#breadcrumbs span a {
    background: #e6eef3;
    padding: 2px;
    display: inline-block;
    position: relative;
    margin-right: 8px;
}
p#breadcrumbs span a:hover {
    background: #e48479;
}

p#breadcrumbs span a:before {
    color: #e6eef3;
    border-left: 8px solid;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    display: inline-block;
    content: '';
    position: absolute;
    right: -8px;
    top:0;
  }
  p#breadcrumbs span a:hover:after {
    color: #e48479;
}
.project-strategy-name{
	display:none;
}
.type-news .page-header h1.entry-title {
 font-size:30px; 
 margin-top:25px;
}
.type-news .page-content {
 text-align:center;
}

@media (max-width: 767px){
    .elementor-146 .elementor-element.elementor-element-5ca2cca .elementor-nav-menu--dropdown a{
        justify-content: space-between;
    }
    .sapir-nav{
        order: -1;
    }
    .project-item {
        border-right: 5px solid #4c697f;
        min-height: 100px;
    }
    .project-item>img {
        width: 30%;
        height: auto;
        object-fit: cover;
    }
    .inner-project-item {
        padding: 5px 5px 10px 5px;
    }
    .inner-project-item .button {
        font-size: 15px;
        fill: #11182A;
        color: #11182A;
        background-color: #cad8e1;
        display: inline-block;
        padding: 3px 13px;
        float: left;
        border-radius: 5px;
    }
    .inner-project-item h2 {
        font-size: 20px;
        margin: 5px 0;
        font-weight: 600;
    }
    .inner-project-item p {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.3;
    }
    .project-strategy {
        display: none;
    }
    .project-title {
        padding: 10px;
    }
    .project-title img{
        width: 15vw;
    }
    .type-projects>.page-header h1 {
        margin: 10px 10px 0 0;
        font-weight: normal;
        font-size: 26px;
    }
    .type-projects .page-content {
        padding: 10px;
        font-size: 16px;
        line-height: 1.3;
    }
    .wp-block-embed-youtube iframe {
        width: 100%;
        height: 54vw;
        border: #4c697f solid 5px;
    }
    .sub-project {
        background-color: #eef3f6;
        border-radius: 10px;
        margin: 30px 0;
        border-right: 12px solid #4c697f;
        flex-wrap: wrap;
    }
    .sub-project>img {
        width: 100%;
        height: 50vw;
        object-fit: cover;
    }
    .inner-sub-project {
        padding: 10px 20px 20px;
    }
    .inner-sub-project h2{
        font-size: 24px;
    }
  .type-news .wp-block-image{
   margin:0px; 
  }
}