/*
 Theme name:   Divi Child
 Theme URI:    http://yourwebsite.com/twentyfourteen-child/
 Description:  My first child theme, based on Divi
 Author:       Gudjon Kari
 Author URI:   http://gudjon.com
 Template:     Divi
 Version:      1.0.0
 Tags:         black, green, white, light, dark, two-columns, three-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready, responsive-layout, infinite-scroll, post-slider, design, food, journal, magazine, news, photography, portfolio, clean, contemporary, dark, elegant, modern, professional, sophisticated
 Text Domain:  twenty-fourteen-child
*/



.et_pb_blog_grid_wrapper .post-content p {
  max-height:170px;
  overflow:hidden;
}
.et_pb_blog_grid_wrapper .et_pb_post {
  min-height:500px;
}
.comments-number {
  display: none !important;
}

#logo{
  background: url('images/logo-desktop-2019.png') no-repeat;
  width: 150px;
  height: 55px;
  text-indent: -9999px;
  float: left;
  display: block;
  max-height: 100% !important;
  max-width: 100% !important;
  background-size: 100% auto;
  margin-top: 10px;
}
@media all and (min-width: 768px){
  #logo{
    width: 216px;
    height: 79px;
    margin-top: 0px;
  }
}
@media all and (min-width: 981px){
  .et-fixed-header #logo{
    background: url('images/logo-desktop-down.png') no-repeat;
    width: 121px;
    height: 45px;
  }
}
#main-header .logo_container{
  position: relative !important;
  float: left;
  width: auto;
}
@media all and (min-width: 981px){
  #main-header.et-fixed-header .logo_container{
    position: absolute !important;
  }
}
#main-header{
  background: url('images/bg-header.png') no-repeat;
  background-size: 100% 100%;
}
@media all and (min-width: 981px){
  #main-header{
    padding-top: 53px;
  }
  #main-header.et-fixed-header{
    padding-top: 13px;
    background: url('images/bg-fixed-header.png') no-repeat;
  }
}
#main-header.et-fixed-header{
  background-size: 100% 100%;
}
#main-header #et-top-navigation{
  padding-left: 0px !important;
}

#main-header #top-menu >li >a{
  color: #e2e4e2 !important;
}
#main-header #et_search_icon:before{
  color: #e2e4e2 !important;
}
#sidebar-banner-container{
  display: none;
}
.banner-desktop .widgettitle{
  font-size: 16px;
  line-height: 18px;
  color: #e2e4e2;
  padding-bottom: 15px;
}
.banner-desktop .textwidget p{
  font-size: 10px;
  line-height: 17px;
  color: #e2e4e2;
}
#sidebar-banner-container .banner-desktop{
  margin-top: 18px;
}
#sidebar-banner-container{
  float: left;
  margin-left: 40px;
}
@media all and (min-width: 981px){
  #sidebar-banner-container{
    margin-left: 100px;
  }
  #main-header.et-fixed-header #et-top-navigation{
    padding-left: 125px !important;
    padding-top: 31px;
  }
}
.et-fixed-header #sidebar-banner-container{
  display: none;
}
.button-banner{
  color: #5fadd3;
  border: 1px solid #5fadd3;
  border-radius: 7px;
  padding: 6px;
  font-size: 9px;
  line-height: 11px;
  display: inline-block;
  margin-top: 9px;
}
@media all and (min-width: 768px) and (max-width: 980px) {
  #main-header{
    height: 150px;
    padding: 30px 0;
  }
  #mobile_menu{
    top: 120px;
  }
  .banner-desktop .widgettitle{
    padding-bottom: 4px;
  }
  .et-fixed-header #sidebar-banner-container{
    display: block;
  }
}
@media all and (min-width: 768px){
  #sidebar-banner-container{
    display: block;
  }
}

.banner-mobile{
  display: block;
  padding: 0 6%;
  background-color: rgba(102,152,193,0.71);
}
.banner-mobile .widget-banner-container{
  margin: auto;
  padding: 16% 8%;
  width: 80%;
  max-width: 1080px;
  text-align: center;
}
.banner-mobile .widget-banner-container .textwidget{
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
  webkit-animation-name: fadeBottom;
  -moz-animation-name: fadeBottom;
  -ms-animation-name: fadeBottom;
  -o-animation-name: fadeBottom;
  animation-name: fadeBottom;
  -webkit-animation-duration: .7s;
  -moz-animation-duration: .7s;
  -ms-animation-duration: .7s;
  -o-animation-duration: .7s;
  animation-duration: .7s;
  -webkit-animation-timing-function: ease-in-out;
  -moz-animation-timing-function: ease-in-out;
  -ms-animation-timing-function: ease-in-out;
  -o-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-delay: .9s;
  -moz-animation-delay: .9s;
  -ms-animation-delay: .9s;
  -o-animation-delay: .9s;
  animation-delay: .9s;
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  animation-fill-mode: both;
}
.banner-mobile .widget-banner-container .textwidget h2,
.banner-mobile .widget-banner-container .textwidget h3,
.banner-mobile .widget-banner-container .textwidget p,
.banner-mobile .widget-banner-container .textwidget a{
  color: #fff;
}
@media all and (min-width: 768px){
  .banner-mobile{
    display: none;
  }
}
