/* Προσθήκες πάνω στο template Monolit για το νέο site */

/* Το isotope παίρνει το πλάτος στήλης από το .grid-sizer και όχι από το πρώτο πλακίδιο,
   οπότε ένα «μεγάλο» πρώτο έργο δεν χαλάει πια τη διάταξη */
.gallery-items .grid-sizer { height: 0; padding: 0; margin: 0; }
@media only screen and (max-width: 1036px) {
  .grid-sizer { width: 50% !important; }
}
@media only screen and (max-width: 540px) {
  .grid-sizer { width: 100% !important; }
}

/* οι εικόνες κρατούν τις αναλογίες τους πριν φορτώσουν */
.gallery-item img { height: auto; }

/* λογότυπα πελατών */
.customer-logo { padding: 10px; background: #fff; }
.customer-logo img { max-height: 160px; width: auto; max-width: 100%; margin: 0 auto; display: block; }

/* χάρτης επικοινωνίας */
.map-box iframe.office-map { width: 100%; height: 400px; border: 0; display: block; }

/* φόρμα επικοινωνίας */
#mailform input, #mailform textarea { width: 100%; border: 1px solid #eee; padding: 12px 15px; margin-bottom: 15px; font-family: inherit; font-size: 13px; background: #fff; box-sizing: border-box; }
#mailform textarea { min-height: 160px; resize: vertical; }
#mailform button { border: 0; cursor: pointer; }
#mailform .form-note { font-size: 12px; color: #999; margin-top: 10px; }

/* κατάλογος έργων: σύνδεσμος προς τη σελίδα του έργου */
.resume-box h5 a { color: inherit; border-bottom: 1px dotted #999; }

/* συνεργάτες: κενό ανάμεσα στο κείμενο ενός συνεργάτη και στο όνομα του επόμενου */
.collab-list .resume-box .col-md-9 { margin-bottom: 28px; }
.collab-list .resume-box .col-md-9:last-child { margin-bottom: 0; }

/* κουμπί γλώσσας */
nav a.lang-switch { font-weight: bold; }

/* τίτλος έργου στη σελίδα του έργου: 15% μικρότερος από τα 28px του template */
.fixed-column .section-title h3 { font-size: 23.8px; line-height: 1.3; }

/* κουμπί επιστροφής στη σελίδα έργου: κάτω δεξιά στη στήλη του έργου, 25% μικρότερο από τα 18px του template */
.p-all a.return-link { font-size: 13.5px; }
.fixed-column .return-nav { position: absolute; left: 0; right: 0; bottom: 40px; height: 20px; margin: 0; }
.fixed-column .return-nav .p-all { top: auto; bottom: 0; right: 73px; }
/* όταν το κείμενο του έργου δεν χωράει στην οθόνη, το κουμπί μπαίνει μετά το κείμενο (το site.js βάζει την κλάση long) */
.fixed-column.long .return-nav { position: relative; bottom: auto; height: auto; padding: 0 0 40px; }
.fixed-column.long .return-nav .p-all { position: relative; right: auto; text-align: right; padding-right: 73px; }
.fixed-column.long section { padding-bottom: 20px; }
@media only screen and (max-width: 1036px) {
  .fixed-column .return-nav { position: relative; bottom: auto; height: auto; padding: 0 0 30px; }
  .fixed-column .return-nav .p-all { position: relative; right: auto; padding-left: 50px; }
}

/* κουμπί επιστροφής στις σελίδες νέων: κάτω δεξιά μετά το κείμενο, ίδιο μέγεθος με των έργων */
.page-return { text-align: right; padding: 10px 0 40px; }
.page-return a.return-link { font-size: 13.5px; }

/* κείμενο σε σελίδα νέου: ίδια γράμματα και διάστιχο με την περιγραφή των έργων (14px / 24px) */
.sinnle-post .blog-text, .sinnle-post .blog-text p { font-size: 14px; line-height: 24px; }

/* σύνδεσμοι μέσα στα κείμενα (νέα, έργα, κατάλογος, ομάδα): ίδια γράμματα με το κείμενο, μπλε υπογραμμισμένοι, αναδιπλώνονται αν δεν χωράνε */
.blog-text p a[href], .project-details p a[href], .resume-box p a[href], .col-md-9 p a[href], .col-md-12 p a[href] { color: #1565c0; font: inherit; text-decoration: underline; overflow-wrap: anywhere; word-break: break-word; }
.blog-text p a[href]:hover, .project-details p a[href]:hover, .resume-box p a[href]:hover, .col-md-9 p a[href]:hover, .col-md-12 p a[href]:hover { color: #0d47a1; }
/* <a> χωρίς διεύθυνση (κατάλοιπα του παλιού site) δεν είναι σύνδεσμοι: ίδια εμφάνιση με το κείμενο */
.blog-text p a:not([href]), .project-details p a:not([href]), .resume-box p a:not([href]), .col-md-9 p a:not([href]), .col-md-12 p a:not([href]) { color: inherit; font: inherit; text-decoration: none; cursor: inherit; }
