
/* responsive.css */

/* ... 1200px width and less - show the responsive nav  ...
-------------------------------------------------------------------------------------------------*/
@media (max-width: 1200px) {
  #mainnav,
  #subnavXXX,
  #servicenav {
    display: none;
  }
  .navbutton {
    display: block;
  }
  .search {
    top: 100px;
  }
  #header .header {
  	order: 1;
  	max-width: calc(100% - 72px);
  	box-sizing: border-box;
  }
  .navbutton {
  	order: 2;
  }
  #servicenav {
  	order: 3;
  	width: 100%;
  }
}
/* ... 1200px width and less - show the responsive nav  ... END
-------------------------------------------------------------------------------------------------*/



/* ... 960px width and less ...
-------------------------------------------------------------------------------------------------*/
@media (max-width: 960px) {
  html {
    overflow-y: auto;
  }
  body {
    background-image: none;
  }
}
/* ... 960px width and less ... END
-------------------------------------------------------------------------------------------------*/



/* ... 840px width and less960px ...
-------------------------------------------------------------------------------------------------*/
@media (max-width: 840px) {
  #wrapper {
    margin: 0;
    max-width: none;
    min-height: auto;
  }
  .has_float_left,
  .has_float_right {
    display: flex;
    flex-direction: column;
  }
  .in_float_right {
    order: 1;
  }
}
/* ... 840px width and less ... END
-------------------------------------------------------------------------------------------------*/



/* ... 768px width and less ...
-------------------------------------------------------------------------------------------------*/
@media (max-width: 768px) {
  body {
    font-size: 1rem;
  }
  #container,
  #main,
  #right {
    display: block;
    width: auto;
  }
  #main .inside {
    padding-right: 20px;
  }
  #servicenav {
    clear: both;
    float: left;
  }
  .search {
    float: right;
    margin-right: 20px;
    position: static;
  }
  .search .widget {
    margin-bottom: 0;
  }
  div.search input,
  div.search input:focus {
    width: 120px;
  }
}
/* ... 768px width and less ... END
-------------------------------------------------------------------------------------------------*/



/* ... 480px width and less ...
-------------------------------------------------------------------------------------------------*/
@media (max-width: 480px) {
  #header .header {
    margin: .5rem 0;
    padding: 0 10px;
  }
  .inside {
    padding: 1.25rem 10px;
  }
  #main .inside {
    padding-right: 10px;
  }
  .media--left,
  .media--right,
  .media--above,
  .media--below {
    float: none;
  }
  .media--left,
  .media--right {
    margin: 1em 0 0;
  }
}
/* ... 480px width and less ... END
-------------------------------------------------------------------------------------------------*/
