:root{
    --bright-bg: #FF00CF;
    --mid-bg: #D70081;
}


* {box-sizing: border-box;}
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}
body *{
  font-family: 'Montserrat', sans-serif;
}

p, label{
  font-size: 18px;
  line-height: 38px;
  font-weight: 400;
  color: #161616;
  letter-spacing: 0;
}
.small-text{
  font-size: 18px;
  line-height: 27px;
  font-weight: 400;
  color: #161616;
  letter-spacing: 0;
}
.limit-width{
  max-width: 1048px;
}
h1{
  font-size: 55px;
  line-height: 75px;
  font-weight: 400;
  color: #161616;
  letter-spacing: 0;
}
h2{
  font-size: 35px;
  line-height: 52px;
  font-weight: 400;
  color: #161616;
  letter-spacing: 0;
}
h3{
  font-size: 26px;
  line-height: 38px;
  font-weight: 500;
  color: #161616;
  letter-spacing: 0;
}
h4{
  display: inline-block;
  padding: 0px 5px 4px 5px;
  font-size: 28px;
  line-height: 45px;
  font-weight: 700;
  letter-spacing: 0;
  border-bottom: 4px solid #1EAAD5;
  color: #1EAAD5;
}
h5{
  font-size: 26px;
  line-height: 42px;
  font-weight: 400;
  color: #161616;
  letter-spacing: 0;
  padding-top: 0px;
  margin: 20px 0px;
}
.blue{
  background: #1EAAD5;
}
.white-text h4{
  color: white;
  border-color: white;
}
.white-text *{
  color: #fff;
}


#masthead{
  box-shadow: 0px 0px 4px #00000033;
  padding: 0px;
  margin-bottom: 100px;
}
#masthead.expanded{
  height: 95px;
  transition: all 0.1s ease;
  padding: 10px 0px;
}
#masthead.shrinked{
  transition: all 0.1s ease;
  height: 54px;
  padding: 1px;
}
.site-header{
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 999;

  width: 100%;
  height: 95px;

  background: #FFFFFF 0% 0% no-repeat padding-box;
  box-shadow: 0px 0px 4px #00000033;
  opacity: 1;
}
.site-header .wrapper{
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0px 100px;
  margin: 0px auto;
  display: flex;
  align-items: center;
}
.site-header .center{
  flex: 1;
  height: 100%;
  text-align: center;
  vertical-align: middle;
}
#site-navigation{
  position: relative;
  display: block;
  margin: auto;
  height: auto;
  width: 100%;
  font-weight: 700;
  color: black;
  vertical-align: middle;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.main-navigation li{
  line-height: 28px;
  margin: 0px 10px;
  padding:  0px 7px;
}
.main-navigation a{
  color: black;
  text-decoration: none;
  font-size: 18px;
  color: #161616;
}
.borderdiv{
  position: absolute;
  top:4px;
  margin-left: -7px;
  height: 100%;
  width: 0%;
  border-bottom: 4px solid #FFB600;
  z-index: -1;
}
.main-navigation .menu-item:hover a{
    color: #F36F29;
}
.main-navigation .menu-item:hover .borderdiv{
  border-bottom: 4px solid #FFB600;
  transition: all 0.1s ease;
  width: calc(100%);
}
.main-navigation .current-menu-item a{
    color: #FFB600;
}
.main-navigation .current-menu-item .borderdiv,
.main-navigation .current_page_parent .borderdiv{
  border-bottom: 4px solid #FFB600;
  transition: all 0.1s ease;
  width: calc(100%);
}

.sub-menu{
    position: relative;
    
    transition: all 0.1s ease;
    background: white;
}
.sub-menu .menu-item{
    
}
.sub-menu .menu-item:hover .borderdiv{
    border-bottom: 4px solid #FFB600;
  transition: all 0.1s ease;
  width: calc(100%);
}
.sub-menu .menu-item .borderdiv{
    width: calc(0%);
    display: none;
}
.sub-menu .menu-item a{
    color: black !important;
}
.sub-menu .menu-item a:hover{
    color: #F36F29 !important;
}

#primary-menu{
  display: inline-block;
  height: 100%;
  margin-bottom: -5px;
}
.menu, .menu ul{
  color: #161616;
  font-size: 18px;
  line-height: 27px;
  list-style-type: none;
 padding: 0px;
 margin: 0px;
}

.menu a{
  color: #161616;
  text-decoration: none;
}
.menu:not(#primary-menu) a:hover{
  border-bottom: 3px solid #FF00CF;
}
#footer-menu li a{
  font-weight: 500;
}

.site-header .left{
  width: 280px;
  height: 100%;
  /* position: relative;
  display: block;
  float:left;
  width: 240px;
  height: 100%;

  border: 1px dashed red; */
}
.custom-logo-link{
  display: block;
  padding: 8px 0px;
  width: 100%;
  height: 100%;
  max-height: 95px;
}
.custom-logo{
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: left;
}

.site-header .right{
  width: 280px;
  height: 100%;
  /*
  position: relative;
  display: block;
  float:right;
  width: 200px;
  height: 100%;

border: 1px dashed red;
*/}

#top-right-widget{
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: space-around;
  flex-direction: row;
}
#top-right-widget section{
  margin: 0px;
}
/* POLYLANG 3 DROPDOWN */
#polylang-3 select{
  color: #161616;

  border: none;
  font-size: 14px;
  color: #161616;
  font-weight: bold;
  width: auto;
  padding-right: 24px;
  border-radius: 5px;
  height: 34px;
  background: url('../img/downarrow.png') no-repeat right #fff;
  background-position-x: calc(100% - 12px);
  background-size: 12px;

  cursor: pointer;
}
#polylang-3 select:hover{
  text-decoration: underline;
}
select {
  /* for Firefox */
  -moz-appearance: none;
  /* for Chrome */
  -webkit-appearance: none;
}
/* For IE10 */
select::-ms-expand {
  display: none;
}

.button-link, .button-link:visited{
  display: inline-block;
  border: 1px solid #161616;
  padding: 2px 23px;
  margin: 10px 2px;
  text-decoration: none;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 45px;
  letter-spacing: 0;
  color: black;
  text-transform: uppercase;
  opacity: 1;
}
.button-link:hover{
  border-color: black;
  color: white;
  background: #1EAAD5 !important;
  transition: all 0.1s ease;
}
.white-text .button-link{
  color: white;
  border-color: white;
}
.white-text .button-link:hover{
  color: #FFB600;
}

.entry-header{
  position: relative;
  height: 250px;
  overflow: hidden;
}
.entry-header .wp-post-image{
  position: absolute;
  top:0px;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.entry-header .attachment-post-thumbnail
{
  object-fit: cover;
  object-position: center;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
}
.entry-header{
    background: var(--bright-bg);
}
.entry-header .color-overlay{
  position: absolute;
  top:0px;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  opacity: 1;
  background: var(--bright-bg);
}
.entry-header h1{
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 55px;
  line-height: 75px;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  margin: 0px;
  padding: 0px;
}

/* CONTENT */
.site-content{
  min-height: 500px;
  margin: 0px;
  margin-top: 95px;
}
.entry-content{
  margin: 0px;
}

.post-grid{
  display: flex;
  padding-bottom: 80px;
}
.post-grid .post-grid-item{
  flex: 1;
  max-width: 33%;
  margin: 5px;
}
.post-thumb-container{
  display: block;
  height: 270px;
  overflow: hidden;
  background: #FFB600;
}
.post-thumb{
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100%;
}
.post-text-meta{
  padding: 0px 26px;
}
.post-date{
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  color: #969696;
  opacity: 1;
}
.post-title{
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 32px;
  letter-spacing: 0;
  color: #FFB600;
  opacity: 1;
}
.post-excerpt{
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: 0;
  color: #161616;
  opacity: 1;
}
/* FLEX */
.flex-section{
    display:flex;
}
.center-section{
text-align:center;
}
#news-page-subtitle{
    padding: 116px 0px;
}
/* NEW SITE POSTS LIST*/
#recent-posts-list-title{
    padding: 0px 26px;
    margin: 15px 5px;
    font-weight: 500;
}
#recent-posts-list{
    padding: 0px 5px;
    box-sizing:border-box;
    flex:1;
    width: 100%;
    flex-wrap: wrap;
    display: grid;
    grid-auto-rows: 1fr;
    grid-template-columns: repeat(auto-fit, minmax(350px, 2fr));
    align-items: baseline;
}
#recent-posts-list .post-item{
    background: #F7F7F7;
    margin: 0px 0px 10px 0px;
    margin: 5px;
    padding: 10px;
    min-width: 350px;
    position: relative;
}
#recent-posts-list .post-item .post-feat-thumb{
    display: block;
    width: 100%;
    height: 250px;
    margin: 0px;
    padding: 0px;
    object-fit: fill;
    overflow: hidden;
}
#recent-posts-list .post-item .post-feat-thumb img{
width: 100%;
    height: 100%;
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
}
#recent-posts-list .post-item.current .post-title{
    border-bottom: 2px solid #FFB600;
    transition: all 0.2s ease;
    text-decoration: none;
    color:#FFB600;
}
#recent-posts-list .post-item .post-title{
    text-decoration: none;
}
#recent-posts-list .post-item.current:hover .post-title,
#recent-posts-list .post-item:hover .post-title{
    border-bottom: 2px solid #FFB600;
    transition: all 0.2s ease;
    text-decoration: none;
    color:#FFB600;
}
#recent-posts-list .post-item .post-date{
    color:#777777;
    font-size: 14px;
    line-height: 20px;
    margin: 0px;
}
#recent-posts-list .post-item .post-title{
    color: #F36F29;
    line-height: 29px;
    font-weight: 700;
    padding-top: 8px;
    text-decoration: none;
    font-size: 16px;
    display: block;
}


/* latest post nosto*/
#latest-post{
  padding: 0px 5px;
  width: 65%;
  box-sizing:border-box;
  flex:1;
}
#latest-post .post-thumb-container{
  width: 100%;
  display: block;
  position: relative;
  height: 480px;
}
#latest-post .attachment-post-thumbnail{
  object-fit: cover;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
}
#latest-post .post-text-content{
  padding: 40px 35px;
}
#latest-post .post-title{
  font-size: 35px;
  line-height: 52px;
  color: #161616;
  font-weight: 400;
}
#latest-post p{
  font-size: 18px;
  line-height: 27px;
  font-weight: 400;
  color: #161616;
}

/* SINGLE */
article.post{
  padding: 1em 100px;
}
article.post .entry-header{
  height: auto;
}

/* FOOTER */
#colophon{
  width: 100%;
  min-height: 250px;

padding: 50px 100px 15px 100px;

  background: white 0% 0% no-repeat padding-box;
    border-top: 25px solid;
    border-top-color: var(--mid-bg);
}
#colophon{
  text-align: left;
  font-size:18px;
  line-height: 27px;
  font-weight: 400;
  letter-spacing: 0;
  color: white;
}
#colophon h2{
  font-size: 18px !important;
  font-weight: 500 !important;
  padding-top: 0px;
  margin: 0px;
}
#colophon p, #colophon a
{
  font-size: 18px;
  margin: 0px;
  font-weight: 400;
}
#colophon .wrapper{
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
#colophon .col{
  /* border: 1px dashed blue; */
  min-height: 1em;
  padding-right: 20px;
  padding-bottom: 1em;
  min-width: 280px;
  flex: 1;
}
#colophon .col-1{
  max-width: 280px;
  padding-top: 0px;
  padding-right: 30px;
  margin-top: -13px;
}
#colophon .col-2{
  max-width: 280px;
}
#colophon .col-3{
}
.widget_media_image img{
    width: 100%;
    max-width: 580px !important;
}
#colophon .col-4{
  max-width: 280px;
}
#colophon .col-5{
  max-width: 280px;
}

#footer-bottom{
  width: 100%;
  padding: 10px;
  padding-top: 3em;
  text-align: center;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  color: #969696;
  opacity: 1;
}
#footer-bottom *
{
  color: #969696;
}
#footer-bottom a{
  text-decoration: none;
}
#footer-bottom a:hover{
  text-decoration: underline;
}

/*pricing table*/
tbody,thead,tbody{
 border: 1px solid black;
 color: #161616;
 border-style: solid !important;
}
th, th span{
  color: black;
  font-weight: 500;
}
td, th{
  color: black !important;
  background: white !important;
  border-right: 1px solid black !important;
  border-bottom: 1px solid black !important;
}
td{
  padding: 4px 10px !important;
}

.noflex{
  flex:none !important;
}


.elementor-element-populated{
  padding: 0px !important;
}
.elementor-widget-container{
  /* padding: 64px 58px 58px 55px; */
}
/* flip box fix */
.eael-elements-flip-box-container{
    min-height: 420px;
}
.elementor-text-editor p{
  margin: 0px;
}
/*limit width needs this*/
.elementor-widget-wrap{
  display: flex;
  align-content: center !important;
  flex-direction: column;
}
.elementor-element{
  flex:1;
}

#hamburger-button{
  display: none;
  transform: rotateZ(180deg);
}
#fullscreen-menu{
  display: none;
  opacity: 0;
  overflow: hidden;
  box-shadow: 0px 4px 4px #00000033;

}
#primary-menu-mobile .menu-item{
    padding: 2px 10px;
    text-align: left;

}
#primary-menu-mobile .menu-item .sub-menu{
    border-left: 1px solid #FFB600;
    padding: 1px;

}
#primary-menu-mobile .menu-item .sub-menu .menu-item{
    text-align: left;
}
.post-nav-buttons{
    margin-top: 40px;
     display: flex;
     width: 50%;
    }
    .previous-button,
    .next-button{
    flex: 1;
    background: #F7F7F7;
    padding: 10px;
    margin: 5px;
    text-align: center;
    max-width: 50%;
    }
    .post-nav-buttons a{
    font-size: 14px;
        text-decoration: none;
        color: #F36F29;
        font-weight: 500;
    }
    .post-nav-buttons a:hover{
        color: #FFB600;
        text-decoration: underline;
    }

/* MOBILE */
@media only screen and (max-width: 1500px) {

.elementor-column{
  /*min-width: 400px;*/
  width: 100%;
}
    .elementor-col-50{
        min-width: 300px;
    }

#content.site-content{
  margin-top: 95px;
}

.post-grid{
  display: block;
}
 .post-grid .post-grid-item{
   width: 100%;
   max-width: 100% !important;
 }
 .post-grid .post-thumb-container{
   height: 172px;
 }
 .post-grid .post-title{
   display: inline-block;
   padding: 20px 0px;
 }
.post-grid .post-text-meta{
  display: inline-block;
  padding: 10px 10px;
}
.post-grid .post-excerpt{

}
.post-grid .post-grid-item:not(:first-of-type){
display: none;
}

/* SINGLE */
article.post{
  padding: 1em 10px;
}

  h1{
    font-size: 32px;
    line-height: 52px;
    font-weight: 400;
  }
  h2{
    font-size: 26px;
    line-height: 44px;
    font-weight: 400;
    margin: 0px;
  }
  h3{
    font-size: 32px;
  }
  h4{
    font-size: 28px;
  }
  h5{
    font-size: 18px;
  }
  p, a{
    font-size: 14px;
    margin: 0px;
  }

  #masthead .wrapper{
    padding: 10px;
  }
  #masthead .left{
    width: 180px;
  }
  .custom-logo-link{
    padding: 0px;
  }
  #colophon{
    padding: 43px 10px 2px 10px;
  }
  #footer-bottom{
    padding: 5px;
  }
  #footer-bottom *{
    color: #969696;
    line-height: 20px;
    font-size: 14px;
    text-decoration: none;
  }
  #masthead .right{
    display: none;
  }

  /* For mobile phones: */
  #colophon .col{
    min-width: 99%;
  }
  #colophon .col-4{
    display: none;
  }
     /*NEWS BLOG*/
    .flex-section
  {
      flex-direction: column-reverse;
  }
  #news-page-subtitle{
      padding: 36px 10px;
  }
  #recent-posts-list-title
  {
      display: none;
  }
  #latest-post{
      min-width: 100%;
      width: 100%;
  }
  #latest-post .post-thumb-container{
      max-height: 200px;
  }
  #latest-post .post-text-content{
      padding: 10px;
  }
  #latest-post .post-text-content p{
      font-size: 14px;
  }
  

   .post-nav-buttons{
    margin-top: 40px;
     display: flex;
     width: 50%;
    }
    .previous-button,
    .next-button{
    flex: 1;
    background: #F7F7F7;
    padding: 10px;
    margin: 5px;
    text-align: center;
    max-width: 50%;
    }
    .post-nav-buttons a{
    font-size: 14px;
        text-decoration: none;
        color: #1EAAD5;
        font-weight: 500;
    }
    .post-nav-buttons a:hover{
        color: #2ACBFD;
        text-decoration: underline;
    }
    
}

@media only screen and (max-width: 1000px) {

    #content.site-content{
      margin-top: 54px;
    }
    
    .entry-header{
    height: 160px;
    }
    .entry-header .entry-title{
        margin: 0px auto;
        padding: 5px 5px;
        font-size: 26px;
        width: 100%;
        text-align: center;
        line-height: 36px;
    }
  #primary-menu{
   display: none;
  }
  #hamburger-button{
    display: block;
    float: right;
    height: 100%;
    max-height: 29px;
    width: 42px;
    padding: 0px;
    margin: 0px;
    cursor: pointer;
  }
  #fullscreen-menu{
    display: block;
    position: fixed;
    width: auto;
    min-width: 280px;
    height: auto;
    right: 0px;
    top: 54px;
    background: white;
    z-index: 9999;
    text-align: center;
    padding: 2em 10px 2em 10px;
  }
  #fullscreen-menu.hidden{
    display: none !important;
  }
  #fullscreen-menu.hidden .menu-item{
    opacity: 0;
    transition: all 0.1s ease;
  }
  #fullscreen-menu.visible{
    display: block !important;
    opacity: 1;
  }
  #fullscreen-menu.visible .menu-item{
    opacity: 1;
    transition: all 0.1s ease;
  }
/*NEWS BLOG*/
    .flex-section
  {
      flex-direction: column-reverse;
  }
  #news-page-subtitle{
      padding: 36px 10px;
  }
  #recent-posts-list-title
  {
      display: none;
  }
  #latest-post{
      min-width: 100%;
      width: 100%;
  }
  #latest-post .post-thumb-container{
      max-height: 200px;
  }
  #latest-post .post-text-content{
      padding: 10px;
  }
  #latest-post .post-text-content p{
      font-size: 14px;
  }
  

    .post-nav-buttons{
        margin-top: 20px;
        display: flex;
        width: 100%;
    }


  /* For mobile phones: */
  #colophon .col{
    min-width: 99%;
  }
  #colophon .col-5{
    display: none;
  }

    #colophon p,
    #colophon a{
        font-size: 14px;
    }
}

/* Icon 1 */
#nav-icon1{
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    height: 100%;
  margin: 0px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .2s ease;
  -moz-transition: .2s ease;
  -o-transition: .2s ease;
  transition: .2s ease;
  cursor: pointer;
}

#nav-icon1 span{
  display: block;
  position: absolute;
  height: 3.5px;
  width: 100%;
  background: #4C4C4C;
  border-radius: 1px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .2s ease;
  -moz-transition: .2s ease;
  -o-transition: .2s ease;
  transition: .2s ease;
}

#nav-icon1 span:nth-child(1) {
  top: 0px;
}

#nav-icon1 span:nth-child(2) {
  top: 13px;
}

#nav-icon1 span:nth-child(3) {
  top: 26px;
}

#nav-icon1.open span:nth-child(1) {
  top: 13px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

#nav-icon1.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#nav-icon1.open span:nth-child(3) {
  top: 13px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}
