:root {
    --footer-widgets: 4;
}

/* FOOTER CONTAINER */ 

#main-footer{
    padding-top:30px;
    background-color: var(--footer-color) !important;
}

#main-footer .container{
    max-width:1400px;
}

#main-footer h3, #main-footer a,#main-footer  p, #main-footer  span{
       color: var(--text-color__3) !important;
}

.container {
  padding: 20px 0px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}

#main-footer a:hover{
    opacity: 0.7 !important;
}

#footer-bottom {
  display: none;
}

/*All widgets */ 

[class*="footer--widget__"]{
  margin-bottom: 0 !important;
  margin-right: 0 !important;
  flex-basis: calc( 100% / var(--footer-widgets));
  transition: all 1s ease;
}

[class*="footer--widget__"] .et_pb_widget{
    float: none;
}

[class*="footer--widget__"]:not(last-child){
    padding-right: 20px;
}

.textwidget {
    display: block;
    padding-bottom: 20px;
}

.textwidget h3 {
    font-size: 18px;
}

.widget__title{
  min-height: 30px;
  position:relative;
  width:100%;
}

.widget__button{
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
}

.widget__content{
    opacity: 100;
    transition: all 1s ease;
}

.hidden{
    opacity: 0;
    max-height: 0!important;
    overflow:hidden;
    transition: all 1s ease;
    
}

.js-icon{
  position:absolute;
  right: 20px;
  top: 0;
  bottom: 0;
  visibility: hidden;
}

/* Contact */
.contact p{
    padding-bottom: 7px !important;
}

/* Policies */ 
#menu-policies li:before {
  display: none;
}

/* Copyright */

.widget-copyright{
    display:none;
}

[class*="footer--widget__"] .copyright, [class*="footer--widget__"] .websiteby{
        padding-top: 15px;
        padding-bottom: 0;
        margin: 0 !important;
    }

.footer__hidden{
    visibility: hidden;
     background-color: var(--footer-color);
    color: var(--text-color__3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 40px !important;
    
}

.footer__hidden p, .footer__hidden a { 
    display: inline-block;
    color: var(--text-color__3);
    margin: 0 !important;
    padding-bottom: 10px !important;
    font-size: 14px;
    line-height: 1 !important;
    
}

.footer_hidden .textwidget{
    padding: 0 !important;
}


/* Newsletter */ 
.footer--widget__3 .credits{
    padding-top:30px;
}

.footer--widget .mc4wp-form-fields p{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.mc4wp-form-fields .submit-field {
     background-color: var(--button-color);
    border: 1px solid var(--button-color);
    padding: 8px 0;
    color: #fff;
    width: 35%;
    max-width: 100px;
}

.mc4wp-form-fields .email-field {
    background-color: #fff;
    border: 1px solid #DEDEDE;
    padding: 8px 5px;
    margin-right: 5px;
    width: 62%;
    max-width: 250px;
}

/* @media */
@media (max-width:980px){
    [class*="footer--widget__"]{
        flex: 0 0 50%;
        padding-bottom: 20px;
    }
}

@media (max-width:480px){
    [class*="footer--widget__"]{
        flex: 0 0 100%;
        padding-bottom: 20px;
    }
    .footer--widget__0{
        order: 2;
    }
    .footer--widget__1{
        order: 3;
    }
    .footer--widget__2{
        order: 4;
    }
    .footer--widget__3{
        order: 1;
    }
     .js-icon{
    visibility: visible;
  }
    .copyright__inline{
        display:none;
    }
    .footer__hidden{
        visibility: visible;
    }
    .widget-copyright,  [class*="footer--widget__"] .copyright, [class*="footer--widget__"] .websiteby{
        display:none;
    }
}

/* icon */ 

.gg-chevron-down {
    box-sizing: border-box;
    position: relative;
}
.gg-chevron-down::after {
    content: "";
    color: #fff;
    box-sizing: border-box;
    position: absolute;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid;
    border-right: 2px solid;
    transform: rotate(45deg);
    left: 5px;
    top: 5px
}

.gg-chevron-down::after:hover{
    color: #E6E6E6;
} 
