/* CONTENTS

~1. SPECIFIC RULES
~2. LARGE SCREENS (1400px +)
~3. SMALLER SCREENS (1000px - 1199px)
~4. SMALLEST SCREENS (769px - 999px)
~5. IPAD
~6. MOBILE (767px and below)

 END CONTENTS */

 /*
~1. SPECIFIC RULES
These rules are specific for particular divs.
*/
.mob_hide {
    display: block
}

.mob_show {
    display: none
}

/* lightbox */
@media only screen and (max-width: 1024px) {
    .featherlight .featherlight-content {
        margin-left: 10px;
        margin-right: 10px;
        max-height: 98%;
        padding: 10px 10px 0;
        border-bottom: 10px solid transparent
    }
}
/* end lightbox */

/* END ~1. SPECIFIC RULES

/*
~2. LARGE SCREENS
This rule effects screens larger than 1400px
*/

@media only screen and (min-width: 1400px) {
    .container {
        width: 1400px;
    }
}

/* END ~2. ADD LARGE SCREENS */
@media only screen and (max-width: 1300px) {

  .search input {
    margin-bottom: 0 !important;
  }

  .search button {
    width: 100%;
  }

}

/*
~3. SMALLER SCREENS
This rule effects screens between 1000px and 1199px
*/

@media only screen and (max-width: 1200px) {
    .container {
        width: 1000px;
    }

    nav li {
      padding: 0 10px;
    }

    .header_logo {
      width: 100%;
    }

    .header_form {
      float: left;
      width: 50%;
      margin-top: 20px;
    }

    main .col4-12.col.tcenter.opacitya {
      width: 50%;
      padding: 0 10px;
    }

    #contact-information {
      display: none;
    }

    #contact-information_mobile {
      width: 50%;
      display: block;
      margin-top: 20px;
    }


}

/* END ~3. SMALLER SCREENS */



/*
~4. SMALLEST SCREENS
This rule effects screens between 769px and 999px
*/

/* END ~4. SMALLEST SCREENS */



/*
~5. IPADS
this rule effects iPads
*/

@media only screen and (device-width: 768px) {

    body {
        width: 1050px;
    }

    input {
        -webkit-appearance: none;
        border-radius: 0;
    }

}

/* END ~5. IPADS */



/*
~6. MOBILES
This rule effects mobile devices smaller than iPads
*/

@media only screen and (max-width: 767px) {

    html{
        overflow-x:hidden;
    }

    input {
        -webkit-appearance: none;
        border-radius: 0;
        font-size: 16px !important;
    }

    article, aside, .container, .col {
        width: 100% !important;
        min-width: 0;
        float: left;
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .mob_hide {
        display: none !important;
    }

    .container {
        padding: 0 10px;
    }

    .col_cont {
        margin-bottom: 20px;
    }

    #logo img {
        margin-top: 10px;
        width: 250px;
    }

    .mob_show {
        display: block
    }

    .mobile_toggle {
        float: right;
        font-size: 32px;
        margin-top: 10px;
        cursor: pointer;
        color: #FFF;
    }

    button, input[type='submit'] {
      width: 100%;
      font-weight: bold;
    }

    nav {
        width: 100%;
    }

    .sidr ul li {
        text-align: left;
    }

    nav li {
        padding: 0 !important
    }

    nav li > ul li {
        padding: 0 !important
    }

    .sidr ul li ul {
        width: 100%;
    }

    .sidr ul li ul li a {
        padding-left: 10px;
    }

    nav li ul, nav li > ul > li > ul {
        background: none;
        position: relative;
        left: 0;
    }

    .fixed {
      bottom: 0;
      left: 0;
      right: auto;
      top: auto;
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
      display: block;
      width: 100%;
      text-align: center;
      background-color: rgba(230, 41, 58, 1);
    }

    .sm {
      text-align: center;
    }

    #contact-information_mobile {
      text-align: center;
    }

    header textarea {
      margin-top: 0;
    }
    header form .col12-12 {
      padding-top: 0;
    }

    header form input, header form textarea {
      margin: 5px 0 !important;
    }

    header .fa-ul {
      margin-top: 20px;
      padding: 0;
    }

    header .fa-ul {

    }

    footer {
      padding: 10px 0;
    }

    #post_footer nav li {
      display: block;
      width: 100%;
      float: left;
      padding: 10px 0 !important;
    }

    #post_footer nav {
      margin-bottom: 30px;
    }

    .fa-bars {
      color: #FFF;
    }

    aside, section {
      padding: 0 10px !important;
    }

    .blueberry {
      height: 300px !important;
    }

    .pager {
      bottom: 3% !important;
    }

    .search input {
      width: 100% !important;
    }

    .header_form {
      display: none;
    }

    .fiftyperc li {
      width: 100%;
    }

    .act_border img {
      margin: 0 auto;
      float: none;
    }

    .act_border .tleft {
      text-align: center !important;
    }
}

/* END ~6.MOBILES */
