/**
 * 12. Responsive
 */
@media only screen and (max-width:1200px){

  .cgps-metabox{

    .cgps-field{

      .cgps-title{
        float: none;
        width: 100%;
        margin-bottom: 10px;
      }

      .cgps-fieldset{
        float: none;
        width: 100%;
      }
    }
  }
}

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

  .cgps-header-inner{
    text-align: center;

    h1{
      width: 100%;
      margin-bottom: 10px;
    }
  }

  .cgps-form-result{
    float: none;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .cgps-search,
  .cgps-header-right,
  .cgps-header-left{
    width: 100%;
  }

  .cgps-search{
    text-align: center;
    margin-bottom: 15px;
  }

  .cgps-footer{
    text-align: center;
  }

  .cgps-buttons{
    float: none;
  }

  .cgps-copyright{
    float: none;
    margin-top: 10px;
  }

  .cgps-nav,
  .cgps-expand-all,
  .cgps-reset-section,
  .cgps-nav-background{
    display: none !important;
  }

  .cgps-nav-normal + .cgps-content{
    margin-left: 0;
  }

  .cgps-section-title,
  .cgps-section{
    display: block !important;
  }

  .cgps-field{

    .cgps-title{
      float: none;
      width: 100%;
      margin-bottom: 10px;
    }

    .cgps-fieldset{
      float: none;
      width: 100%;
    }
  }

  .cgps-field-color{

    .button.wp-picker-clear{
      padding: 0 8px;
      line-height: 2.14285714;
      min-height: 32px;
    }
  }

  .cgps-profile-options,
  .cgps-taxonomy-edit-fields{

    > .cgps-field{

      > .cgps-title{
        float: none;
        width: 100%;
        margin-bottom: 10px;
      }

      > .cgps-fieldset{
        float: none;
        width: 100%;
      }
    }
  }

  .cgps-nav-menu-options{

    > .cgps-fields{
      margin-left: -10px;
      margin-right: -10px;

      > .cgps-field{
        padding: 10px;
      }
    }
  }
}

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

  .cgps-modal{

    .cgps-modal-inner{
      width: 90%;
    }
  }
}

@media only screen and (max-height: 750px) {

  .cgps-modal{

    .cgps-modal-inner{
      height: auto;
    }

    .cgps-modal-content{
      height: calc(100vh - 200px);
    }
  }
}
