/***
*   FOOTER
***/
footer {
    background-color: #fff;
    border-top: 3px solid #C8102E;
    padding-bottom:5%;
}

/***FOOTER SEARCH***/

#footer-search, #footer-info, #footer-navigation {
    position: relative;
    width: 82%;
    margin: 5% 0 0 7%;
    padding: 1.5%;
    border: 1px solid rgba(40,40,40,.15);
    text-align:center;
}
#footer-search{
  text-align:left;
  background-color:#f1f1f1;
}
#footer-search input, #search-form input, #on-page-search-form input {
    display: inline-block;
    width: 92%;
    font-size: 1.2em;
    margin-right:1%;
    font-weight: 300;
    font-family: 'Open-sans', sans-serif;
    border: 1px solid rgba(40,40,40,.15);
    padding: 1%;
    color: #666;
}
#footer-search-button {
    position: absolute;
    top: 50%;
    right: 0;
    padding: 1%;
    border:1px solid #1a79af;
    background-color:#1a79af;
    color:#fff;
    transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    -moz-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transition:all .25s;
    -webkit-transition:all .25s;
    -moz-transition:all .25s;
    -o-transition:all .25s;
    -ms-transition:all .25s;
}
#footer-search-button:hover{
  background-color:#C8102E;
  border-color:#C8102E;
  color:#fff;
  cursor:pointer;
}

/***FOOTER INFO***/
#footer-logo {
    max-width: 15%;
    margin: auto;
}
#footer-logo img {
    width: 100%;
}
#footer-social p {
    font-size: 1.5em;
}
#footer-social p a{
  color:#333;
  transition: .25s all;
  -webkit-transition: .25s all;
  -moz-transition: .25s all;
  -o-transition: .25s all;
}
#footer-social p a:hover{
  color:#C8102E;
}
/***
*   FOOTER NAVIGATION
***/
#mobile-footer{
  display:none;
}
#footer-navigation{
  border:none;
  margin-top:2%;
}
.footer-column {
    display: inline-block;
    width: 30%;
    margin-left: 2%;
    vertical-align: top;
    text-align:left;
}
.footer-branch {
    position: relative;
    width: 96%;
    padding: 2%;
    margin-bottom: 4%;
}
.footer-branch>a {
    font-size: 1.5em;
    font-weight: 400;
    color:#282828;
    font-family: 'Raleway', sans-serif;
}
.footer-branch>a:hover{
  color:#C8102E;
}
.footer-branch ul {
    width: 90%;
    margin:3% 0 0 4%;
}
.footer-nav-link {
    padding: 1% 2%;
    border-left: 1px solid rgba(40,40,40,.15);
    font-weight: 300;
    color: #282828;
    transition: all .25s;
    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    -o-transition: all .25s;
    -ms-transition: all .25s;
}
.footer-nav-link:hover{
  color:#fff;
  background-color:#C8102E;
}
.footer-nav-link a {
    color: inherit;
    transition: none;
}
/***ALL MOBILE**/
@media screen and (max-width:800px),
/***iPhone X***/
only screen
and (min-device-width : 375px)
and (max-device-width : 812px)
and (-webkit-device-pixel-ratio : 3),
/***iPhone 5s***/
only screen
and (min-device-width : 320px)
and (max-device-width : 568px),
/***iPhone 6, 7, 8***/
only screen
and (min-device-width : 375px)
and (max-device-width : 667px)
and (-webkit-min-device-pixel-ratio: 2),
/***iPhone Plus***/
only screen
and (min-device-width : 414px)
and (max-device-width : 736px),
/***iPad***/
only screen
and (min-device-width : 768px)
and (max-device-width : 1024px),
/***iPad Mini***/
only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (-webkit-min-device-pixel-ratio: 1),
/***iPad Pro**/
only screen
  and (min-device-width: 1024px)
  and (max-device-width: 1366px)
  and (-webkit-min-device-pixel-ratio: 1.5),
/***Galaxy S4, S5, and Note 3**/
only screen
  and (device-width: 320px)
  and (device-height: 640px)
  and (-webkit-device-pixel-ratio: 3),
/***Galaxy S6***/
only screen
  and (device-width: 360px)
  and (device-height: 640px)
  and (-webkit-device-pixel-ratio: 4),
/***Galaxy S7 & S8***/
only screen
and (min-device-width : 360px)
and (max-device-width : 640px),
/***Pixel***/
only screen
  and (device-width: 360px)
  and (device-height: 640px)
  and (-webkit-device-pixel-ratio: 3),
/***Pixel XL***/
only screen
  and (device-width: 360px)
  and (device-height: 640px)
  and (-webkit-device-pixel-ratio: 4){
    #footer-navigation{
      display:none;
    }
    #mobile-footer{
      display:block;
      text-align: center;
      margin-top: 4%;
      margin-bottom: 4%;
    }
    #footer-logo {
        max-width: 40%;
        margin-top: 5%;
    }
    #mobile-footer a {
      font-family: 'Raleway', sans-serif;
      padding: 20px 40px;
      color: #282828;
      font-size: 1.3em;
      text-align: center;
      display: block;
    }
    #footer-search input {
        position:relative;
        width: 100%;
        margin-right: 0;
        text-align:center;
        padding:10px 0;
        margin-bottom:30px;
    }
    #footer-search-button {
      position: relative;
      transform: none;
      margin-top: 2%;
      width: 100%;
      padding:10px 0;

    }

  }
