﻿/* From bootstrap 3.1.1: form-control
---------------------------------------------------------------------------*/
/*
.form-control
*/
.editor-field input[type="text"],
.editor-field input[type="password"],
.editor-field input[type="email"],
.editor-field input[type="url"],
.editor-field input[type="number"],
.editor-field textarea,
.editor-field select,
.editor-field .chzn-container-multi .chzn-choices li.search-field input[type="text"],
.editor-field .chzn-container-single,
.editor-field .bootstrap-select button.btn{
    display: block;
    width: 100%;
    height:46px;
    padding:12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 0px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
            transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;    
}
.editor-field .chzn-container-active .chzn-choices{
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
            transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.editor-field a.chzn-single,
.editor-field .chzn-container-active.chzn-with-drop .chzn-single{
    border:none;
    background:none;
    border-radius:0px;
    box-shadow:none;
    color:#555;
    font-size: 14px;
}
.editor-field .chzn-container,
.editor-field .chzn-container-single .chzn-single span,
.editor-field .chzn-container-multi .chzn-choices li.search-field input[type=text] {
    font-size:14px;
    font-family:'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    color:#555;
    margin:0;
}
/*
.form-control overrides for .condensed-form
*/
.condensed-form .editor-field input[type="text"],
.condensed-form .editor-field input[type="password"],
.condensed-form .editor-field input[type="email"],
.condensed-form .editor-field input[type="url"],
.condensed-form .editor-field input[type="number"],
.condensed-form .editor-field textarea,
.condensed-form .editor-field select,
.condensed-form .editor-field .chzn-container-multi .chzn-choices li.search-field input[type="text"],
.condensed-form .editor-field .chzn-container-single,
.condensed-form .editor-field .bootstrap-select button.btn{
    display: block;
    width: 100%;
    height:32px;
    padding:8px 10px;
    font:13px/16px 'Open Sans',Helvetical,Arial,sans-serif;    
}
.condensed-form .editor-field select{
    padding:6px 10px;
}
.condensed-form .editor-field .chzn-container .chzn-choices{
    padding:0;
}
.condensed-form .editor-field a.chzn-single,
.condensed-form .editor-field .chzn-container-active.chzn-with-drop .chzn-single{
    border:none;
    background:none;
    border-radius:0px;
    box-shadow:none;
    color:#555;
    font:13px/16px 'Open Sans',Helvetical,Arial,sans-serif;  
}

.condensed-form .editor-field .chzn-container,
.condensed-form .editor-field .chzn-container-single .chzn-single span,
.condensed-form .editor-field .chzn-container-multi .chzn-choices li.search-field input[type=text] {
    font:13px/16px 'Open Sans',Helvetical,Arial,sans-serif;  
    color:#555;
}
.condensed-form .input-group .btn{
    height:32px;
    font:13px/13px 'Open Sans',Helvetical,Arial,sans-serif;    
    padding:0 12px;
    min-width:0;
}

/*
.form-control:focus
*/
.editor-field input[type="text"]:focus,
.editor-field input[type="password"]:focus,
.editor-field input[type="email"]:focus,
.editor-field input[type="url"]:focus,
.editor-field input[type="number"]:focus,
.editor-field textarea:focus,
.editor-field select:focus,
.editor-field .bootstrap-select button.btn:focus,
.editor-field .chzn-container-active .chzn-choices{
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
            box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);    
    background-image: none;
}
/*
.form-control::-moz-placeholder
*/
.editor-field input[type="text"]::-moz-placeholder,
.editor-field input[type="password"]::-moz-placeholder,
.editor-field input[type="email"]::-moz-placeholder,
.editor-field input[type="url"]::-moz-placeholder,
.editor-field input[type="number"]::-moz-placeholder,
.editor-field textarea::-moz-placeholder{
    color: #999;
    opacity: 1;    
}
/*
.form-control:-ms-input-placeholder
*/
.editor-field input[type="text"]:-ms-input-placeholder,
.editor-field input[type="password"]:-ms-input-placeholder,
.editor-field input[type="email"]:-ms-input-placeholder,
.editor-field input[type="url"]:-ms-input-placeholder,
.editor-field input[type="number"]:-ms-input-placeholder,
.editor-field textarea:-ms-input-placeholder{
    color: #999;
}
/*
.form-control::-webkit-input-placeholder
*/
.editor-field input[type="text"]::-webkit-input-placeholder,
.editor-field input[type="password"]::-webkit-input-placeholder,
.editor-field input[type="email"]::-webkit-input-placeholder,
.editor-field input[type="url"]::-webkit-input-placeholder,
.editor-field input[type="number"]::-webkit-input-placeholder,
.editor-field textarea::-webkit-input-placeholder{
    color: #999;
}
/*
.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control
*/
.editor-field input[type="text"][disabled],
.editor-field input[type="password"][disabled],
.editor-field input[type="email"][disabled],
.editor-field input[type="url"][disabled],
.editor-field input[type="number"][disabled],
.editor-field textarea[disabled],
.editor-field select[disabled],
.editor-field input[type="text"][readonly],
.editor-field input[type="password"][readonly],
.editor-field input[type="email"][readonly],
.editor-field input[type="url"][readonly],
.editor-field input[type="number"][readonly],
.editor-field textarea[readonly],
.editor-field select[readonly],
.editor-field .chzn-container-multi.chzn-disabled,
.editor-field .chzn-container-multi.chzn-disabled ul,
.ui-state-disabled .checkbox .icheckbox_minimal,
fieldset[disabled] .editor-field input[type="text"],
fieldset[disabled] .editor-field input[type="password"],
fieldset[disabled] .editor-field input[type="email"],
fieldset[disabled] .editor-field input[type="url"],
fieldset[disabled] .editor-field input[type="number"],
fieldset[disabled] .editor-field textarea,
fieldset[disabled] .editor-field select{
    cursor: not-allowed;
    background-color: #eee;
    background-image:none;
    opacity: 1;    
}
.ui-state-disabled .checkbox label{
    cursor: not-allowed;
}
.editor-field .chzn-container-multi.chzn-disabled,
.editor-field .chzn-container-multi.chzn-disabled ul{
    border:1px solid #ccc;
    background-color: #ddd;
}
/*
textarea.form-control
*/
.editor-field textarea{
    height:auto;
}

/*.has-error .form-conrol*/
.editor-field input[type="text"].input-validation-error,
.editor-field input[type="password"].input-validation-error,
.editor-field input[type="email"].input-validation-error,
.editor-field input[type="url"].input-validation-error,
.editor-field input[type="number"].input-validation-error,
.editor-field textarea.input-validation-error,
.editor-field .chzn-container.input-validation-error{
    color: #dd0000;
    border-color: #dd0000;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
/*.has-error .form-control:focus*/
.editor-field input[type="text"]:focus.input-validation-error,
.editor-field input[type="password"]:focus.input-validation-error,
.editor-field input[type="email"]:focus.input-validation-error,
.editor-field input[type="url"]:focus.input-validation-error,
.editor-field input[type="number"]:focus.input-validation-error,
.editor-field textarea:focus.input-validation-error{
    border-color: #ff0000;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ff0000;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ff0000;
}

/* From bootstrap 3.1.1: btn
---------------------------------------------------------------------------*/
.btn {
  display: inline-block;
  padding: 10px 25px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 0px;
  background-color:#324c80;
  color:#fff;
  min-width:125px;
}

.btn.btn-small{
    padding:5px 10px;
    font-size:13px;
    line-height:1.5;
}

.btn:focus,
.btn:active:focus,
.btn.active:focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.fileinput-button:hover .btn.fileupload-button,
.btn:hover,
.btn:focus {
  color: #fff;
  text-decoration: none;
  background-color:#222;
}
.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
          box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}
.fileinput-button:hover .btn[disabled],
.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
  pointer-events: none;
  cursor: not-allowed;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
          box-shadow: none;
  opacity: .65;
  background-color:#888;
  color:#ddd;
}

.btn.icon{
    padding:10px;
    min-width:0;
    margin-left:5px;
    font-size:13px;
    color:#888;
    background-color:#fff;
    border:1px solid #ccc;
    border-radius:2px;
}
.btn.icon:hover{
    color:#222;
    border-color:#222;
}
.btn.icon:first-child{
    margin-left:0;
}

a.btn.btn2,
.btn.btn2{
    padding:8px 15px !important;
    min-width:0;
    font-size:13px;
    color:#fff !important;
    background-color:#444 !important;
    /*background-color:#888;*/
    /*
    color:#888;
    background-color:#fff;
    border:1px solid #ccc;
    */

    /*bootstrap btn-primary*/
    /*
    color: #fff;
    background-color: #428bca;
    border-color: #357ebd;
*/
}
.fileinput-button .btn.btn2{
    min-width:125px;
}
a.btn.btn2:hover,
.fileinput-button:hover .btn.btn2, 
.btn.btn2:hover{
    /*background-color:#444;*/
    /*background-color:#888;*/
    background-color:#222 !important;
    /*
    color:#333;
    border-color:#333;
    
    background-color:#eee;
*/
}

.fileinput-button:hover .btn.btn2[disabled],
.btn.btn2.disabled,
.btn.btn2[disabled],
fieldset[disabled] .btn.btn2 {

  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
          box-shadow: none;
  opacity: .65;
  background-color:#ccc;
  color:#888;
}



.btn-default {
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open .dropdown-toggle.btn-default {
  color: #333;
  background-color: #ebebeb;
  border-color: #adadad;
}
.btn-default:active,
.btn-default.active,
.open .dropdown-toggle.btn-default {
  background-image: none;
}
.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
  background-color: #fff;
  border-color: #ccc;
}
.btn-default .badge {
  color: #fff;
  background-color: #333;
}
.btn-primary {
  color: #fff;
  background-color: #428bca;
  border-color: #357ebd;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
  color: #fff;
  background-color: #3276b1;
  border-color: #285e8e;
}
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
  background-image: none;
}
.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
  background-color: #428bca;
  border-color: #357ebd;
}
.btn-primary .badge {
  color: #428bca;
  background-color: #fff;
}
.btn-success {
  color: #fff;
  background-color: #5cb85c;
  border-color: #4cae4c;
}
.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.open .dropdown-toggle.btn-success {
  color: #fff;
  background-color: #47a447;
  border-color: #398439;
}
.btn-success:active,
.btn-success.active,
.open .dropdown-toggle.btn-success {
  background-image: none;
}
.btn-success.disabled,
.btn-success[disabled],
fieldset[disabled] .btn-success,
.btn-success.disabled:hover,
.btn-success[disabled]:hover,
fieldset[disabled] .btn-success:hover,
.btn-success.disabled:focus,
.btn-success[disabled]:focus,
fieldset[disabled] .btn-success:focus,
.btn-success.disabled:active,
.btn-success[disabled]:active,
fieldset[disabled] .btn-success:active,
.btn-success.disabled.active,
.btn-success[disabled].active,
fieldset[disabled] .btn-success.active {
  background-color: #5cb85c;
  border-color: #4cae4c;
}
.btn-success .badge {
  color: #5cb85c;
  background-color: #fff;
}
.btn-info {
  color: #fff;
  background-color: #5bc0de;
  border-color: #46b8da;
}
.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active,
.open .dropdown-toggle.btn-info {
  color: #fff;
  background-color: #39b3d7;
  border-color: #269abc;
}
.btn-info:active,
.btn-info.active,
.open .dropdown-toggle.btn-info {
  background-image: none;
}
.btn-info.disabled,
.btn-info[disabled],
fieldset[disabled] .btn-info,
.btn-info.disabled:hover,
.btn-info[disabled]:hover,
fieldset[disabled] .btn-info:hover,
.btn-info.disabled:focus,
.btn-info[disabled]:focus,
fieldset[disabled] .btn-info:focus,
.btn-info.disabled:active,
.btn-info[disabled]:active,
fieldset[disabled] .btn-info:active,
.btn-info.disabled.active,
.btn-info[disabled].active,
fieldset[disabled] .btn-info.active {
  background-color: #5bc0de;
  border-color: #46b8da;
}
.btn-info .badge {
  color: #5bc0de;
  background-color: #fff;
}
.btn-warning {
  color: #fff;
  background-color: #f0ad4e;
  border-color: #eea236;
}
.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning.active,
.open .dropdown-toggle.btn-warning {
  color: #fff;
  background-color: #ed9c28;
  border-color: #d58512;
}
.btn-warning:active,
.btn-warning.active,
.open .dropdown-toggle.btn-warning {
  background-image: none;
}
.btn-warning.disabled,
.btn-warning[disabled],
fieldset[disabled] .btn-warning,
.btn-warning.disabled:hover,
.btn-warning[disabled]:hover,
fieldset[disabled] .btn-warning:hover,
.btn-warning.disabled:focus,
.btn-warning[disabled]:focus,
fieldset[disabled] .btn-warning:focus,
.btn-warning.disabled:active,
.btn-warning[disabled]:active,
fieldset[disabled] .btn-warning:active,
.btn-warning.disabled.active,
.btn-warning[disabled].active,
fieldset[disabled] .btn-warning.active {
  background-color: #f0ad4e;
  border-color: #eea236;
}
.btn-warning .badge {
  color: #f0ad4e;
  background-color: #fff;
}
.btn-danger {
  color: #fff;
  background-color: #d9534f;
  border-color: #d43f3a;
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.active,
.open .dropdown-toggle.btn-danger {
  color: #fff;
  background-color: #d2322d;
  border-color: #ac2925;
}
.btn-danger:active,
.btn-danger.active,
.open .dropdown-toggle.btn-danger {
  background-image: none;
}
.btn-danger.disabled,
.btn-danger[disabled],
fieldset[disabled] .btn-danger,
.btn-danger.disabled:hover,
.btn-danger[disabled]:hover,
fieldset[disabled] .btn-danger:hover,
.btn-danger.disabled:focus,
.btn-danger[disabled]:focus,
fieldset[disabled] .btn-danger:focus,
.btn-danger.disabled:active,
.btn-danger[disabled]:active,
fieldset[disabled] .btn-danger:active,
.btn-danger.disabled.active,
.btn-danger[disabled].active,
fieldset[disabled] .btn-danger.active {
  background-color: #d9534f;
  border-color: #d43f3a;
}
.btn-danger .badge {
  color: #d9534f;
  background-color: #fff;
}

.btn.btn3{
    color:#555;
    border-color:#555;
    background-color:#fff;
}
.btn.btn3:hover{
    color:#fff;
    background-color:#333;
}
/* From bootstrap 3.1.1: legend
---------------------------------------------------------------------------*/
.legend {
    display: block;
    width: 100%;
    padding: 0;
    line-height: inherit;
    color: #333;
    border: 0;
    margin-bottom:20px;
}
.legend,
legend{
    font-size:18px;
    border-bottom:1px solid #333;
}
.legend.no-margin,
legend.no-margin{
    margin-bottom:5px;
}

.legend.fieldset-margin{
    margin-top:30px;
}

fieldset{
    margin-bottom:30px;
}
.condensed-form fieldset{
    margin-bottom:15px;
}
.fieldset-description{
    margin-bottom:20px;
}

/*custom*/
input[type="hidden"]{
    display:none;
}

/*checkbox*/
input[type="checkbox"]{
    cursor:pointer;
}
.icheckbox_minimal{
    margin-right:3px;
}
.editor-label.checkbox{
    min-height:20px;
    padding-left:0;
    margin-top:0;
    margin-bottom:0;
}


.form-buttons{
    margin-bottom:15px;
}
.form-group-validation{
    margin-bottom:0px;
}

.editor-label .field-validation-error,
.editor-label .field-validation-valid{
    float:right !important;
    margin-top:2px;
}
.field-validation-error,
.field-validation-valid{
    display:inline-block;
    line-height:15px;
    font-size:12px;
    
}
.validation-summary-errors ul,
.field-validation-error{
    color:#dd0000;
}
.validation-summary-errors ul{
    padding-left:0;
    list-style:none;
}
.form-header h2, 
form h2{
    
    font-weight:400;
    /*letter-spacing:-1px;*/
    margin:0;
    padding:0;
    color:#324c80;
    text-transform:uppercase;
    font-size:20px;
    line-height:20px;
}
.condensed-form form h2{
    font-size:16px;
    line-height:16px;
}
/*
form h2 span.glyphicon{
    margin-right:15px;
    font-size:18px;
}
*/
.form-header h2 i.fa,
form h2 i.fa{
    margin:0 8px 0 0;
}

.form-header, .form-footer{
    /*background-color:rgba(248,248,248,.9);*/
    /*background-color:rgba(240,240,240,.9);*/
    /*background-color:#ccc;*/
    /*padding:15px;*/
    /*padding:20px 10px 20px 10px;*/
}
.form-header{
    margin:0 0 30px 0;
    padding-bottom:5px;
    border-bottom:1px solid #324c80;
}
.condensed-form .form-header{
    margin:0 0 15px 0;
}
.form-footer{
    margin:0px 0 0 0;
    padding-top:10px;
    /*border-top:1px solid #324c80;*/
    /*border-top:1px solid #ccc;*/
}
.condensed-form .form-footer{
    padding-top:5px;
}
.editor-label label{
    color:#222;
    font-weight:400;
}
.editor-label i.fa.social{
    color:#222;
    margin-right:5px;
}
.condensed-form .editor-label label{
    font:13px/16px 'Open Sans',Helvetical,Arial,sans-serif;  
}

/* chosen
---------------------------------------------------------------------------*/

.chzn-container-multi .chzn-choices{
    border:1px solid #ccc;
    background-image:none;
}
.editor-field .chzn-container-single .chzn-single{
    padding:0;
}
.chzn-container-active .chzn-choices{
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
            box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}
.editor-field .chzn-container-multi .chzn-choices li.search-field input[type="text"]{
    padding-right:10px;
    border:none;
    color:#555 !important;
    /*font-family:'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;*/
    -webkit-box-shadow: none;
            box-shadow: none;
}
.editor-field .chzn-container-single .chzn-drop{
    border-radius:0;
    border:1px solid #ccc;
    border-top:0;
    
    -webkit-box-shadow: none;
            box-shadow: none;
    
}
.chzn-choices a.search-choice-close{
    -webkit-transition: none;
       -moz-transition: none;
        -ms-transition: none;
	     -o-transition: none;
	        transition: none;    
}

/* hierarchical category styles
---------------------------------------------------------------------------*/
option.category-level-0, .chzn-container .chzn-results li.category-level-0,
ul.selectpicker a.category-level-0{
    font-weight:600;
}
option.category-level-1, .chzn-container .chzn-results li.category-level-1,
ul.selectpicker a.category-level-1{
    padding-left:40px;
}
option.category-level-2, .chzn-container .chzn-results li.category-level-2,
ul.selectpicker a.category-level-2{
    padding-left:60px;
}
option.category-level-3, .chzn-container .chzn-results li.category-level-3,
ul.selectpicker a.category-level-3{
    padding-left:80px;
}
ul.selectpicker a{
    color:#555;
}
ul.selectpicker li.selected{
    background:#fff;
}


/*misc*/
.required-form-fields-description{
    margin-bottom:15px;
}
a.editor-label-info,
a.editor-label-info:hover,
a.editor-label-info:focus,
a.editor-label-info:active{
    display:inline-block;
    color:#888;
    margin-left:5px;
}

span.required-field.form-control-feedback{
    color:#ff0000;
    margin-top:10px;
}
span.chosen-single.required-field.form-control-feedback{
    margin:11px 25px 0 0;
}
span.chosen-multi.required-field.form-control-feedback{
    margin:11px 0 0 0;
}
/*
i.fa.form-control-feedback{
    font-size:8px;
    color:#ff0000;
    font-weight:300;
    margin-top:8px;
}
*/

/* login
---------------------------------------------------------------------------*/
#login-form-wrapper{
    height:400px;/*need to specify height otherwise it won't show up when responsive*/
    display:block;
    margin-bottom:80px;
}


/* search navbar
---------------------------------------------------------------------------*/
#search-navbar{
    padding:0;
    margin-bottom:80px;
}
#search-navbar .btn{
    width:100%;
}
/** unused collapse and affix styles **/
/*
#search-navbar.collapse{
    position:relative;
    width:263px;
    -webkit-transition: all 0.3s ease-in-out;
       -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
         -o-transition: all 0.3s ease-in-out;
            transition: all 0.3s ease-in-out;    
}
#search-navbar.collapsing,
#search-navbar.collapse.in{
    position:absolute;
    background-color:#fff;
    width:100%;
    z-index:1000;
    height:auto;
    max-height:none;
    
    overflow-x:scroll;
    display:table;
}
#search-navbar.affix{
    top:93px;
}
#search-navbar.collapsing.affix,
#search-navbar.collapse.in.affix{
    position:fixed;
    top:50px;
}
#search-navbar.affix-bottom{
    
}
*/



/* image-upload common
---------------------------------------------------------------------------*/
/*file upload*/
.fileinput-button {
  display:inline-block;
  position: relative;
  overflow: hidden;
}
.fileinput-button input[type="file"] {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  opacity: 0;
  -ms-filter: 'alpha(opacity=0)';
  font-size: 200px;
  direction: ltr;
  cursor: pointer;
  display:block;
}

.image-upload-form .fileinput-button{
    border:1px solid #ccc;
    color:#888;
    font-size:13px;
    text-align:center;
    vertical-align:middle;
    background-color:#fff;
    border-radius:4px;
    padding:10px;

    -webkit-transition: all 0.3s ease-in-out;
       -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
         -o-transition: all 0.3s ease-in-out;
            transition: all 0.3s ease-in-out;     
}
.image-upload-form .fileinput-button:hover{

    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
            box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6); 
}
.image-upload-form .fileinput-button img{
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    margin:auto;
}

/* small-image-upload: 150x150 preview
---------------------------------------------------------------------------*/
.small-image-upload-form .image-upload-form .fileinput-button{
    width:180px;
    height:180px;
    line-height:160px;
}
.small-image-upload-form .image-upload-form .fileinput-button .image-holder i.fa-spin{
    line-height:160px;
}
/*
.small-image-upload-form .image-upload-form .btn{
    width:88px;
}
*/
@media only screen and (max-width: 479px) {
    .small-image-upload-form form.image-upload-form{
        display:block;
        text-align:center;
    }
}


/* category-listing-image-upload: 512x288 preview
---------------------------------------------------------------------------*/
.category-listing-image-upload .image-upload-form .fileinput-button{
    width:542px;
    height:318px;
    line-height:298px;
}
.category-listing-image-upload .image-upload-form .btn{
    width:88px;
}
@media only screen and (max-width: 541px) {
    /*TODO*/
    .category-listing-image-upload .image-upload-form .fileinput-button{
        width:100%;
        height:100%;
        line-height:normal;
    }
}

/* hot deal image upload
---------------------------------------------------------------------------*/
.hot-deal .fileinput-button .image-holder img{
    width:150px;
}

/* image-radio
---------------------------------------------------------------------------*/
.image-radio label{
    display:block;
    float:left;
    width:100%;
    height:100%;
    cursor:pointer;
    text-align:center;
}

.image-radio .fileinput-button:hover .image-mask,
.image-radio label.image-selected .image-mask,
.image-radio label:hover .image-mask{ 
    opacity:0;
}

.image-radio .image-mask{
    background-color: rgba(0, 0, 0, 0.6);
    opacity:1;
}
.image-radio input[type='radio'],
.image-radio .iradio_minimal{
    display:none;
}
.image-radio label img{
    display:block;
    margin-left:auto;
    margin-right:auto;
    max-width:100%;
    max-height:100%;
}
.image-radio label span.checkbox-holder{
    position:absolute;
    right:15px;
    bottom:10px;
    color:#5cb85c;
    font-size:30px;
    display:none;
}
.image-radio label.image-selected span.checkbox-holder{
    display:inline-block;
}
.image-radio label .no-picture{
    color:#888;
    font-weight:400;
    position:absolute;
    font-size:14px;
    line-height:14px;
    top:50%;
    left:50%;
    margin-top:-7px;
    margin-left:-49px;
}

/* product edit
---------------------------------------------------------------------------*/
#product-edit-picture-grid-holder .grid-box-inner{
    background-color:#fff;
}
#product-edit-picture-grid-holder .ui-sortable-helper .grid-box-inner{
    opacity:0.8;
}
#product-edit-picture-grid-holder .grid-box-inner img{
    max-width:100%;
    display:block;
    margin-left:auto;
    margin-right:auto;
    max-height:80%;
}
#product-edit-picture-grid-holder.sortable .grid-box-inner img{
    cursor:move;
}
#product-edit-picture-grid-holder .grid-box-inner .text{
    position:absolute;
    width:90%;
    bottom:10px;
}
#product-edit-picture-grid-holder .grid-box-inner .text .btn{
    width:100%;
}

/* trade show create edit
---------------------------------------------------------------------------*/
#show-dates-holder td a.delete{
    display:inline-block;
    line-height:32px;
}