/* Specific styles for VRC and RWC sections */

/* VRC RWC views */
body.page-vrc h1.title,
body.page-rwc h1.title,
body.node-type-rs-rwc-model h1.title {
  font-size: 20px;
  color: #496a7d;
  font-weight: normal;
  padding-left: 34px;
  background: url(../images/vrc/vrc-title-icon.png);
  background-repeat: no-repeat;
  background-position: top left;
  line-height: 20px;
  font-family: Georgia, "Times New Roman";
}

.view-vrc-first-result .view-filters,
.view-rwc-models-list .view-filters {
  margin-top: 30px;
  margin-bottom: 30px;
}

#edit-field-rs-vrc-country-tid,
#edit-field-rs-rwc-country-tid {
  min-width: 220px;
  background: #0165a3;
  color: #ffffff;
}

.view-vrc-first-result .view-header {
  float: right;
}


/* VRC Country + General Information block */
/* RWC Country + Flag */
.vrc-general-info .vrc-country,
.view-rwc-models-list .rwc-country {
  font-size: 17px;
  color: #006898;
  padding-left: 75px;
  line-height: 39px;
}

.vrc-country.Austria,
.rwc-country.Austria {
  background: url(../images/vrc/flag-at.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Belgium,
.rwc-country.Belgium {
  background: url(../images/vrc/flag-be.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Bulgaria,
.rwc-country.Bulgaria {
  background: url(../images/vrc/flag-bg.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Switzerland,
.rwc-country.Switzerland {
  background: url(../images/vrc/flag-ch.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Cyprus,
.rwc-country.Cyprus {
  background: url(../images/vrc/flag-cy.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Czech-Republic,
.rwc-country.Czech-Republic {
  background: url(../images/vrc/flag-cz.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Germany,
.rwc-country.Germany {
  background: url(../images/vrc/flag-de.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Denmark,
.rwc-country.Denmark {
  background: url(../images/vrc/flag-dk.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Spain,
.rwc-country.Spain {
  background: url(../images/vrc/flag-es.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Estonia,
.rwc-country.Estonia {
  background: url(../images/vrc/flag-et.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Finland,
.rwc-country.Finland {
  background: url(../images/vrc/flag-fi.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.France,
.rwc-country.France {
  background: url(../images/vrc/flag-fr.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Great-Britain,
.rwc-country.Great-Britain {
  background: url(../images/vrc/flag-gb.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Greece,
.rwc-country.Greece {
  background: url(../images/vrc/flag-gr.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Croatia,
.rwc-country.Croatia {
  background: url(../images/vrc/flag-hr.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Hungary,
.rwc-country.Hungary {
  background: url(../images/vrc/flag-hu.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Ireland,
.rwc-country.Ireland {
  background: url(../images/vrc/flag-ie.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Iceland,
.rwc-country.Iceland {
  background: url(../images/vrc/flag-is.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Italy,
.rwc-country.Italy {
  background: url(../images/vrc/flag-it.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Liechtenstein,
.rwc-country.Liechtenstein {
  background: url(../images/vrc/flag-li.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Lithuania,
.rwc-country.Lithuania {
  background: url(../images/vrc/flag-lt.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Luxembourg,
.rwc-country.Luxembourg {
  background: url(../images/vrc/flag-lu.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Latvia,
.rwc-country.Latvia {
  background: url(../images/vrc/flag-lv.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Malta,
.rwc-country.Malta {
  background: url(../images/vrc/flag-mt.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Netherlands,
.rwc-country.Netherlands {
  background: url(../images/vrc/flag-nl.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Norway,
.rwc-country.Norway {
  background: url(../images/vrc/flag-no.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Poland,
.rwc-country.Poland {
  background: url(../images/vrc/flag-pl.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Portugal,
.rwc-country.Portugal {
  background: url(../images/vrc/flag-pt.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Romania,
.rwc-country.Romania {
  background: url(../images/vrc/flag-ro.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Sweden,
.rwc-country.Sweden {
  background: url(../images/vrc/flag-se.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Slovenia,
.rwc-country.Slovenia {
  background: url(../images/vrc/flag-si.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-country.Slovakia,
.rwc-country.Slovakia {
  background: url(../images/vrc/flag-sk.png);
  background-repeat: no-repeat;
  background-position: top left;
}

.vrc-general-info-box h3 {
  font-size: 17px;
  color: #006898;
  font-weight: normal;
  margin-top: 5px;
}

.vrc-general-info-box {
  background: #f3f3f3;
  padding: 10px;
  margin-top: 30px;
}

.vrc-general-info-box h4 {
  color: #000000 !important;
}

/* VRC models first result */
/* RWC h3 titles */
.view-vrc-first-result .view-content,
.view-rwc-models-list .view-content {
  padding-left: 0;
  margin-bottom: 20px;
}

.view-vrc-first-result h3.vrc-first-result-title,
.view-rwc-models-list .rwc-title-2 {
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 20px !important;
  color: #0261a1;
}

.view-vrc-first-result .views-field-field-rs-vrc-period-of-issue {
  border: #d9d9d9 1px solid;
  border-bottom: none;
  color: #676767;
  font-size: 17px;
  font-weight: bold;
  padding: 15px;
  text-align: center;
  background-image: linear-gradient(to right, #f2f2f2, #ffffff);
}

.view-vrc-first-result .views-field-field-rs-vrc-doc-images {
  border: #d9d9d9 1px solid;
  border-bottom: none;
  border-top: none;
  background-image: linear-gradient(to right, #f2f2f2, #ffffff);
}

.view-vrc-first-result .views-field-field-rs-vrc-doc-images img {
  border-radius: 10px;
}

.view-vrc-first-result .views-field-nothing {
  padding: 15px;
  font-size: 17px;
  border: 1px solid #d9d9d9;
  border-top: none;
  background-image: linear-gradient(to right, #f2f2f2, #ffffff);
  text-align: center;
}


/* attachement part */
.view-vrc-first-result .attachment-after {
  padding-left: 0;
}

.view-vrc-first-result .attachment-after .row {
  margin-bottom: 20px;
}

.view-vrc-first-result .attachment-after .views-field-field-rs-vrc-period-of-issue {
  font-size: 13px;
}

.view-vrc-first-result .attachment-after .views-field-field-rs-vrc-doc-images img {
  max-width: 100%;
}

/* RWC models list view specific styles */

/* General information area */
.view-rwc-models-list .rwc-country-toc {
  border: 1px solid #d9d9d9;
  background-image: linear-gradient(to right, #f2f2f2, #ffffff);
  padding: 25px 15px 25px 0;
}

.view-rwc-models-list .rwc-country-toc li {
  margin: 8px 0;
}

.view-rwc-models-list h4 {
  margin: 25px 0 !important;
}

.view-rwc-models-list table {
  table-layout: fixed;
  width: 100% !important;
  word-break: break-all;
  margin: 15px 0 !important;
}

.view-rwc-models-list table td {
  width: 100% !important;
  white-space: normal;
}


/* Document list area */
.view-rwc-models-list .attachment .views-row {
  border: 1px solid #d9d9d9;
  background-image: linear-gradient(to right, #f2f2f2, #ffffff);
  margin: 25px 0;
}

.view-rwc-models-list .attachment .views-row img {
  max-width: 100%;
}

.view-rwc-models-list .attachment .views-field-title,
.view-rwc-models-list .attachment .views-field-title a {
  font-size: 13px;
  color: #676767;
  font-weight: bold;
  text-align: center;
  padding: 0 15px 15px 15px;
  text-decoration: none;
}


/* ---------- VRC Model full node ---------- */

body.node-type-rs-vrc-model h1.rs-content-title {
  display: none;
}

.field-name-field-rs-vrc-has-part-ii {
  display: none;
}

.vrc-top-title {
  font-size: 20px;
  color: #496a7d;
  font-weight: normal;
  padding-left: 34px;
  background: url(../images/vrc/vrc-title-icon.png);
  background-repeat: no-repeat;
  background-position: top left;
  line-height: 20px;
  font-family: Georgia, "Times New Roman";
  margin-bottom: 20px;
}

.field-name-vrc-country .vrc-country {
  font-size: 17px;
  color: #006898;
  padding-left: 75px;
  line-height: 39px;
  float: right;
}

.field-name-vrc-country .vrc-country.Slovakia {
  background: url(../images/vrc/flag-sk.png);
  background-repeat: no-repeat;
  background-position: top left;
}

/* the document */
.field-name-field-rs-vrc-documents .field-collection-view {
  margin-left: 0;
}

.field-name-field-rs-vrc-documents h3.vrc-doc-title {
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 20px !important;
  color: #0261a1;
}

.group-vrc-doc-info {
  border: #d9d9d9 1px solid;
  background-image: linear-gradient(to right, #f2f2f2, #ffffff);
  padding: 20px 15px;
}

.field-name-field-rs-vrc-documents .field-name-field-rs-vrc-doc-size,
.field-name-field-rs-vrc-documents .field-name-field-rs-vrc-doc-material,
.field-name-field-rs-vrc-documents .field-name-field-rs-vrc-doc-colour {
  color: #686868;
}

.field-name-field-rs-vrc-documents .field-name-field-rs-vrc-doc-size {
  margin-top: 40px;
  margin-bottom: 15px;
}

.field-name-field-rs-vrc-documents .field-name-field-rs-vrc-doc-material {
  margin-bottom: 15px;
}

.field-name-field-rs-vrc-documents .field-name-field-rs-vrc-doc-colour {
  margin-bottom: 40px;
  border-bottom: 1px solid #0165a1;
  padding-bottom: 30px;
}

.field-name-field-rs-vrc-documents .group-vrc-doc-main-right {
  padding-left: 0;
}

.field-name-field-rs-vrc-documents .group-vrc-doc-main-right {
  padding-left: 0;
}

.field-name-vrc-document-images-big .field-item {
  color: transparent;
}

.field-name-vrc-document-images-big img,
.vrc-security-images-big img {
  border-radius: 10px;
}

/* Parts switch link */
.field-name-field-rs-vrc-documents .doc-part-1 .field-name-vrc-part-1-link {
  display: none;
}

.field-name-field-rs-vrc-documents .doc-part-2 .field-name-vrc-part-2-link {
  display: none;
}

.field-name-vrc-part-1-link,
.field-name-vrc-part-2-link {
  float: right;
  font-size: 13px;
  font-weight: bold;
}


/* document main left area (thumbnails) */
.group-vrc-doc-main-left {
  height: 400px;
  overflow: auto;
}

.group-vrc-doc-main-left .field-collection-item-field-rs-vrc-doc-security,
.field-name-field-rs-vrc-doc-images .field-item {
  text-align: center;
  margin: 10px 0;
  cursor: pointer;
  padding: 5px;
  border: solid 1px transparent;
}

.group-vrc-doc-main-left .field-collection-item-field-rs-vrc-doc-security:hover,
.group-vrc-doc-main-left .field-collection-item-field-rs-vrc-doc-security.selected,
.field-name-field-rs-vrc-doc-images .field-item:hover,
.field-name-field-rs-vrc-doc-images .field-item.selected {
  border: solid 1px #0165a1;
}

.group-vrc-doc-main-left .field-collection-item-field-rs-vrc-doc-security img,
.field-name-field-rs-vrc-doc-images .field-item img {
  border-radius: 5px;
  margin-bottom: 10px;
}

.group-vrc-doc-main-left .field-name-field-rs-vrc-doc-images .doc-thumb-title,
.group-vrc-doc-main-left .field-collection-item-field-rs-vrc-doc-security .field-name-field-rs-vrc-doc-sec-name {
  text-decoration: underline;
  color: #0261a1;
}


/* vrc document bottom */
.vrc-doc-bottom {
  margin-top: 20px;
}

.vrc-doc-legend-area {
  margin-left: 15px;
}

.field-name-field-rs-vrc-doc-legend,
.field-name-vrc-security-info {
  border-top: solid 1px #0165a1;
  padding-top: 25px !important;
}

.field-name-vrc-security-info {
  margin-left: 15px;
  margin-right: 15px;
}

.field-name-field-rs-vrc-doc-legend .field-label,
.field-name-vrc-security-info .field-label {
  width: auto;
  color: #666666;
  font-size: 14px;
  margin-bottom: 10px;
}

.field-name-field-rs-vrc-doc-legend li {
  float: none !important;
}

.field-name-field-rs-vrc-doc-legend .field-name-title {
  float: left;
  margin-right: 5px;
}

.field-name-field-rs-vrc-doc-legend .taxonomy-term-description {
  margin-top: 0;
  margin-bottom: 0;
}

.field-name-field-rs-vrc-doc-legend .taxonomy-term-description p {
  white-space: normal;
}

.field-name-vrc-legend-ref-link {
  margin-top: 15px;
}


/* ---------- RWC Model full node ---------- */

body.node-type-rs-rwc-model h1.rs-content-title {
  display: none;
}

.field-name-rwc-country .rwc-country {
  font-size: 17px;
  color: #006898;
  padding-left: 75px;
  line-height: 39px;
  float: right;
}

.field-name-field-rs-rwc-remarks .field-item {
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 20px !important;
  margin-top: 40px;
  color: #0261a1;
}

.group-rwc-doc-info {
  border: #d9d9d9 1px solid;
  background-image: linear-gradient(to right, #f2f2f2, #ffffff);
  padding: 20px 15px;
}

.field-name-field-rs-rwc-documents .field-collection-view {
  margin-left: 0;
}

.field-name-field-rs-rwc-documents .group-rwc-doc-info-top {
  margin: 0 0 30px 0;
  border-bottom: 1px solid #0165a1;
  padding-bottom: 25px;
}

.field-name-field-rs-rwc-documents .field-name-field-rs-rwc-doc-size,
.field-name-field-rs-rwc-documents .field-name-field-rs-rwc-doc-colour,
.field-name-field-rs-rwc-documents .field-name-field-rs-rwc-doc-desc {
  color: #686868;
}

.field-name-field-rs-rwc-documents .field-name-field-rs-rwc-doc-size {
  margin-bottom: 15px;
}

.field-name-field-rs-rwc-documents .field-name-field-rs-rwc-doc-desc {
  border-left: 1px solid #0165a1;
  padding-left: 15px;
}

.field-name-field-rs-rwc-documents .group-rwc-doc-main-right {
  padding-left: 0;
}

.field-name-rwc-document-images-big .field-item {
  color: transparent;
}

.field-name-rwc-document-images-big img,
.vrc-security-images-big img {
  border-radius: 10px;
}

/* document main left area (thumbnails) */
.group-rwc-doc-main-left {
  height: 400px;
  overflow: auto;
}

.group-rwc-doc-main-left .field-collection-item-field-rs-vrc-doc-security,
.field-name-field-rs-rwc-doc-images .field-item {
  text-align: center;
  margin: 10px 0;
  cursor: pointer;
  padding: 5px;
  border: solid 1px transparent;
}

.group-rwc-doc-main-left .field-collection-item-field-rs-vrc-doc-security:hover,
.group-rwc-doc-main-left .field-collection-item-field-rs-vrc-doc-security.selected,
.field-name-field-rs-rwc-doc-images .field-item:hover,
.field-name-field-rs-rwc-doc-images .field-item.selected {
  border: solid 1px #0165a1;
}

.group-rwc-doc-main-left .field-collection-item-field-rs-vrc-doc-security img,
.field-name-field-rs-rwc-doc-images .field-item img {
  border-radius: 5px;
  margin-bottom: 10px;
}

.group-rwc-doc-main-left .field-name-field-rs-rwc-doc-images .doc-thumb-title,
.group-rwc-doc-main-left .field-collection-item-field-rs-vrc-doc-security .field-name-field-rs-vrc-doc-sec-name {
  text-decoration: underline;
  color: #0261a1;
}

/* RWC document bottom */
.group-rwc-doc-bottom {
  margin-top: 20px;
}

.field-name-field-rs-rwc-doc-legend,
.field-name-vrc-security-info {
  border-top: solid 1px #0165a1;
  padding-top: 25px !important;
}

.field-name-vrc-security-info {
  margin-left: 15px;
  margin-right: 15px;
}

.field-name-field-rs-rwc-doc-legend .field-label,
.field-name-vrc-security-info .field-label {
  width: auto;
  color: #666666;
  font-size: 14px;
  margin-bottom: 10px;
}

.field-name-field-rs-rwc-doc-legend li {
  float: none !important;
}

.field-name-field-rs-rwc-doc-legend .field-name-title {
  float: left;
  margin-right: 5px;
}

.field-name-field-rs-rwc-doc-legend .taxonomy-term-description {
  margin-top: 0;
}
