/* Common Styles */

.commaSeparated:before {
  content: ', ';
}

.commaSeparated:empty:before,
.commaSeparated:empty + .commaSeparated:before,
.commaSeparated:first-child:before,
.commaSeparated:first-of-type:before {
  content: '';
}


/* Social Share and Registration */

.icon14,
.icon16,
.icon32 {
  display: inline-block;
  overflow: hidden;
  width: 0;
  height: 0;
  vertical-align: middle;
  padding: 0 0 14px 14px;
  background-position: left top;
  background-repeat: no-repeat;
}

.icon16 {
  padding: 0 0 16px 16px;
}

.icon32 {
  padding: 0 0 32px 32px;
}

.iconRss14 {
  background-image: url('../images/rss_14.png');
}

.iconFacebook16 {
  background-image: url('../images/facebook_16.png');
}

.iconLinkedin16 {
  background-image: url('../images/linkedin_16.png');
}

.iconTwitter16 {
  background-image: url('../images/twitter_16.png');
}

.iconGoogleplus16 {
  background-image: url('../images/googleplus_16.png');
}

.iconViadeo16 {
  background-image: url('../images/viadeo_16.png');
}

.iconXing16 {
  background-image: url('../images/xing_16.png');
}

.iconDropbox16 {
  background-image: url('../images/dropbox_16.png');
}

.iconGoogledrive16 {
  background-image: url('../images/googledrive_16.png');
}

.iconUploadResumeFile16 {
  background-image: url('../images/uploadResumeFile_16.png');
}

.iconUploadResumePaste16 {
  background-image: url('../images/uploadResumePaste_16.png');
}

.iconUploadResumeLater16 {
  background-image: url('../images/uploadResumeLater_16.png');
}

.iconEmail16 {
  background-image: url('../images/email_16.png');
}

.iconFacebook32 {
  background-image: url('../images/facebook_32.png');
}

.iconLinkedin32 {
  background-image: url('../images/linkedin_32.png');
}

.iconTwitter32 {
  background-image: url('../images/twitter_32.png');
}

.iconGoogleplus32 {
  background-image: url('../images/googleplus_32.png');
}

.iconViadeo32 {
  background-image: url('../images/viadeo_32.png');
}

.iconXing32 {
  background-image: url('../images/xing_32.png');
}

.iconDropbox32 {
  background-image: url('../images/dropbox_32.png');
}

.iconGoogledrive32 {
  background-image: url('../images/googledrive_32.png');
}

.iconUploadResumeFile32 {
  background-image: url('../images/uploadResumeFile_32.png');
}

.iconUploadResumePaste32 {
  background-image: url('../images/uploadResumePaste_32.png');
}

.iconUploadResumeLater32 {
  background-image: url('../images/uploadResumeLater_32.png');
}

.iconEmail32 {
  background-image: url('../images/email_32.png');
}

@media all and (min-width: 1px) {
  .icon14 {
    background-size: 14px 14px;
  }
  .icon16 {
    background-size: 16px 16px;
  }
  .icon32 {
    background-size: 32px 32px;
  }
  .iconFacebook16,
  .iconFacebook32 {
    background-image: url('../images/facebook_128.png');
  }
  .iconLinkedin16,
  .iconLinkedin32 {
    background-image: url('../images/linkedin_128.png');
  }
  .iconTwitter16,
  .iconTwitter32 {
    background-image: url('../images/twitter_128.png');
  }
  .iconGoogleplus16,
  .iconGoogleplus32 {
    background-image: url('../images/googleplus_60.png');
  }
  .iconViadeo16,
  .iconViadeo32 {
    background-image: url('../images/viadeo_128.png');
  }
  .iconXing16,
  .iconXing32 {
    background-image: url('../images/xing_128.png');
  }
  .iconDropbox16,
  .iconDropbox32 {
    background-image: url('../images/dropbox_128.png');
  }
  .iconGoogledrive16,
  .iconGoogledrive32 {
    background-image: url('../images/googledrive_128.png');
  }
  .iconUploadResumeFile16,
  .iconUploadResumeFile32 {
    background-image: url('../images/uploadResumeFile_128.png');
  }
  .iconUploadResumePaste16,
  .iconUploadResumePaste32 {
    background-image: url('../images/uploadResumePaste_128.png');
  }
  .iconUploadResumeLater16,
  .iconUploadResumeLater32 {
    background-image: url('../images/uploadResumeLater_128.png');
  }
  .iconEmail16,
  .iconEmail32 {
    background-image: url('../images/email_32.png');
  }
}


/* SECTIONS */


/* Wizard */

.fieldSpec,
.formfieldSpec,
.datasetfieldSpec {
  min-height: 4em;
  padding-bottom: 1em;
}

.fieldLabel,
.formfieldLabel,
.datasetfieldLabel {
  display: block;
}

.wizard input,
.wizard select,
.wizard textarea {
  width: 100%;
}


/* Wizard particular fields */

.wizard select.dayInput,
.wizard select[id*="day"],
.wizard select[name*="day"],
.wizard select.monthInput,
.wizard select[id*="month"],
.wizard select[name*="month"] {
  width: 30%;
}

.wizard select.yearInput,
.wizard select[id*="year"],
.wizard select[name*="year"] {
  width: 40%;
}

.wizard .FormHeader {
  margin: 1em 0;
}


/* TPM: Two-Column Wizards */

.wiz_2Columns:after {
  clear: both;
}

.wiz_2Columns:before,
.wiz_2Columns:after {
  content: " ";
  display: table;
}

.wiz_2Columns .fieldSpec {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
  width: 50%;
}

.wiz_2Columns .fieldSpec:nth-child(2n + 1) {
  clear: both;
}

.wiz_2Columns .fieldSpecPadder,
.wiz_2Columns .Separator {
  padding-left: 0.5em;
  padding-right: 0.5em;
}

.wiz_2Columns .Section,
.wiz_2Columns .Separator {
  clear: both;
  float: none;
  width: auto;
}

@media all and (max-width: 600px) {
  .wiz_2Columns .fieldSpec {
    float: none;
    width: auto;
  }
  .wiz_2Columns .fieldSpecPadder,
  .wiz_2Columns .Separator {
    padding-left: 0;
    padding-right: 0;
  }
}

.CheckBoxListFormField:before,
.CheckBoxListFormField:after,
.RadioButtonListFormField:before,
.RadioButtonListFormField:after {
  content: " ";
  display: table;
}

.CheckBoxListFormField:after,
.RadioButtonListFormField:after {
  clear: both;
}

.CheckBoxListFormField label,
.RadioButtonListFormField label {
  display: block;
  padding: 0.25em 0;
  cursor: pointer;
}

.CheckBoxListFormField input,
.RadioButtonListFormField input {
  margin-right: 0.25em;
  vertical-align: middle;
}

.CheckBoxListFormField input + label,
.RadioButtonListFormField input + label {
  display: inline-block;
}


/* Wizard integrations with GoogleDrive */

.FileField .drivePickerButton {
  background-color: #F5F5F5;
  background-image: url("../images/googledrive_15.png");
  background-image: url("../images/googledrive_128.png"), linear-gradient(to bottom, #FCFCFC 0%, #F5F5F5 100%);
  background-size: 15px 15px, auto auto;
  background-position: 5px 3px;
  background-position: 5px 3px, left top;
  background-repeat: no-repeat;
  background-repeat: no-repeat, repeat;
  border-color: #EBEBEB #EBEBEB #D4D4D4 #EBEBEB;
  border-radius: 2px;
  border-style: solid;
  border-width: 1px;
  color: #636363;
  display: inline-block;
  font-family: 'Lucida Grande', 'Segoe UI', 'Tahoma', 'Helvetica Neue', 'Helvetica', sans-serif;
  font-size: 11px;
  font-weight: 600;
  height: 14px;
  padding: 2px 7px 4px 3px;
  text-decoration: none;
  text-indent: 22px;
  vertical-align: top;
}

.FileField .drivePickerButton:hover {
  background-color: #FDFDFD;
  background-image: url("../images/googledrive_15.png");
  background-image: url("../images/googledrive_128.png"), linear-gradient(to bottom, #FDFDFD 0%, #F5F5F5 100%);
  border-color: #DEDEDE #DEDEDE #CACACA #DEDEDE;
}

.FileField .drivePickerButton:active {
  border-color: #D1D1D1;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
}


/* Wizard Helpers */

.wiz_noDefaultSize {
  min-height: 0;
  padding-bottom: 0;
}

.wiz_noLabel .labelText,
.wiz_noDescription .description {
  display: none;
}

.wiz_forcedLeftCheckbox .fieldSpecPadder {
  position: relative;
  padding-left: 18px;
}

.wiz_forcedLeftCheckbox input {
  position: absolute;
  top: 0;
  left: 0;
}

.wiz_collectionInColumns2 a,
.wiz_collectionInColumns3 a,
.wiz_collectionInColumns4 a {
  display: block;
  clear: both;
}

.wiz_collectionInColumns2 label,
.wiz_collectionInColumns3 label,
.wiz_collectionInColumns4 label {
  float: left;
  padding-right: 0.25em;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
  word-break: break-all;
}

.wiz_collectionInColumns2 label {
  width: 50%;
}

.wiz_collectionInColumns3 label {
  width: 33.3%;
}

.wiz_collectionInColumns4 label {
  width: 25%;
}

.wiz_boxedOptions div.wiz_boxedOptions,
.wiz_boxedOptions.RadioButtonListFormField .description + div {
  border: 1px solid #CCCCCC;
  overflow-y: auto;
  max-height: 9.5em;
}

.wiz_boxedOptions input {
  margin-right: 0.333em;
}

.wiz_boxedOptions a,
.wiz_boxedOptions label {
  display: block;
  padding: 0.333em;
}

.wiz_boxedOptions a:hover,
.wiz_boxedOptions label:hover {
  background-color: #F0F0F0;
}
