/* SCSS Document 
Theme Name: MATRUUSI
Description: Matruusi -sivujen teema
Author: Medialuotsi Oy */
/* SCSS Document 
Theme Name: MATRUUSI
Description: Matruusi -sivujen teema
Author: Medialuotsi Oy */
@import url(http://fonts.googleapis.com/css?family=Lato:400,300,700,900,400italic);
body {
  margin: 0;
  padding: 0;
  background: #072932;
  font-size: 16px;
  font-family: "Lato", sans-serif;
  line-height: 1.6; }

.basewrapper p {
  font-size: 17px; }

.bigimgwrapper {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: -50;
  background-image: url("img/taustakuva.jpg");
  background-size: cover;
  background-position: 50% 50%;
  opacity: 0.05; }
  @media only screen and (min-width: 40.063em) {
    .bigimgwrapper {
      background-position: 0% 0%; } }

header {
  background: transparent; }

header h1 {
  margin-top: 40px;
  text-align: center;
  text-transform: uppercase;
  font-family: "Lato", sans-serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 1px 2px 2px #0F3A3B;
  color: white; }
  header h1 .logo-highlight {
    color: #0AAEDA; }
  @media only screen and (min-width: 40.063em) {
    header h1 {
      font-size: 40px; } }
  @media only screen and (min-width: 64.063em) {
    header h1 {
      text-align: left;
      padding: 0px 0px 0px 20px;
      font-size: 50px; } }

@media only screen and (min-width: 64.063em) {
  .headerborder {
    border-bottom: none; } }

.fp-kuva {
  height: 300px;
  width: 100%;
  margin-top: 25px;
  background-size: cover;
  background-position: 50% 50%; }

@media only screen and (min-width: 64.063em) {
  .fpborder {
    border-right: 1px dashed rgba(255, 255, 255, 0.5); } }

.frontpage-wrapper {
  background: white; }

.frontpageslogan {
  padding: 20px;
  background: transparent;
  margin-top: 20px; }
  @media only screen and (min-width: 64.063em) {
    .frontpageslogan {
      margin-top: 50px; } }

.frontpageslogan h2 {
  margin-top: 0px;
  color: #0a99c0;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase; }
  @media only screen and (min-width: 40.063em) {
    .frontpageslogan h2 {
      font-size: 30px; } }

.frontpageslogan h3 {
  color: #444444;
  font-size: 15px;
  font-weight: 400; }
  @media only screen and (min-width: 40.063em) {
    .frontpageslogan h3 {
      font-size: 23px; } }

.frontpageslogan p {
  color: #0a99c0; }

.contenttypography ul {
  color: #444444; }

.contentpage {
  padding: 20px;
  background: transparent;
  margin-top: 20px; }
  @media only screen and (min-width: 40.063em) {
    .contentpage {
      margin-top: 50px; } }

@media only screen and (min-width: 64.063em) {
  .contentpageborder {
    border-right: 1px dashed rgba(255, 255, 255, 0.5); } }

.contentpage h2 {
  margin-top: 0px;
  font-size: 20px;
  font-weight: 900; }
  @media only screen and (min-width: 40.063em) {
    .contentpage h2 {
      font-size: 30px; } }

.contentpage h3 {
  font-size: 15px;
  font-weight: 400; }
  @media only screen and (min-width: 40.063em) {
    .contentpage h3 {
      font-size: 23px; } }

.contenttypography a {
  color: white;
  transition: color 0.2s ease; }

.contenttypography a:hover {
  color: #444444; }

.sidebar a {
  color: white;
  transition: color 0.2s ease; }

.sidebar a:hover {
  color: #444444; }

.contenttypography p {
  color: #444444; }

.sidebar p {
  color: #444444; }

.contentpage ul {
  color: #444444; }

.contenttypography h2,
.contenttypography h3,
.contenttypography h4,
.contenttypography h5 {
  color: #444444; }

.contenttypography h2:first-child {
  text-transform: uppercase;
  color: #0A99C0; }

.sidebar-frontpage {
  margin-top: 0px;
  padding: 20px; }
  @media only screen and (min-width: 64.063em) {
    .sidebar-frontpage {
      margin-top: 50px; } }

.sidebar-frontpage h2 {
  margin-top: 0px;
  font-size: 20px;
  font-weight: 900; }
  @media only screen and (min-width: 40.063em) {
    .sidebar-frontpage h2 {
      font-size: 30px; } }

.sidebar-frontpage h3, h4, h5 {
  font-weight: 900; }

.sidebar-frontpage p {
  color: #444444; }

.sidebar-frontpage hr {
  border-bottom: 0px;
  border-top: 1px solid #0a99c0; }

.sidebar {
  background: transparent; }

.sidebar iframe {
  width: 100%;
  height: 250px; }
  @media only screen and (min-width: 40.063em) {
    .sidebar iframe {
      height: 350px; } }

.sidebar ul {
  color: #444444; }

.sidebar h1,
.sidebar h2,
.sidebar h3,
.sidebar h4,
.sidebar h5 {
  color: #0a99c0; }

@media only screen and (min-width: 40.063em) {
  .mobilebuttons {
    display: none; } }

.mobilebuttons a {
  display: block;
  padding: 15px 15px;
  margin: 15px 0px 0px 0px;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 900; }

.soitanappi {
  background: #1a9b38;
  color: #fff; }

.backtotop {
  background: white;
  color: #959595; }

footer {
  margin: 80px 0px 0px 0px;
  bottom: 0px;
  background: rgba(1, 17, 21, 0.54);
  color: white; }

.footer-contact-wrapper {
  padding: 25px 25px 25px 15px; }

footer a {
  color: white;
  text-decoration: none;
  transition: color 0.2s ease; }
  footer a:visited {
    color: white; }

footer a:hover {
  color: #222222; }

.page-id-104 nav {
  margin-bottom: 20px; }
  @media only screen and (min-width: 64.063em) {
    .page-id-104 nav {
      margin-bottom: 0; } }

nav {
  text-align: center;
  border-bottom: 1px solid white; }
  @media only screen and (min-width: 40.063em) {
    nav {
      border-bottom: none; } }
  @media only screen and (min-width: 40.063em) and (min-width: 64.063em) {
    nav {
      float: right;
      margin-top: 0px; } }

nav ul {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
  font-family: "Lato", sans-serif;
  color: white; }
  @media only screen and (min-width: 40.063em) {
    nav ul {
      display: inline-block; } }
  @media only screen and (min-width: 40.063em) and (min-width: 64.063em) {
    nav ul {
      padding-right: 0px;
      padding: 10px 0px 25px 25px; } }

nav ul li {
  display: block;
  float: none;
  border-top: 1px solid white;
  padding: 10px; }
  @media only screen and (min-width: 40.063em) {
    nav ul li {
      float: left;
      margin: 25px 10px 25px 10px;
      padding: 0px;
      border: none; } }

.navi-last {
  border-bottom: 1px solid white; }
  @media only screen and (min-width: 40.063em) {
    .navi-last {
      border-bottom: none; } }
  @media only screen and (min-width: 40.063em) and (min-width: 64.063em) {
    .navi-last {
      margin-right: 0px; } }

nav ul li a {
  display: block;
  background: transparent;
  font-size: 18px;
  font-weight: 900;
  color: white;
  text-decoration: none; }
  @media only screen and (min-width: 40.063em) {
    nav ul li a {
      padding: 15px;
      font-size: 18px;
      color: white;
      text-decoration: none;
      border: 2px solid white;
      transition: all 0.2s ease; }
      nav ul li a:visited {
        color: white; } }
  @media only screen and (min-width: 40.063em) and (min-width: 40.063em) {
    nav ul li a:hover {
      background: white;
      color: #959595;
      border: 2px solid white; } }

@font-face {
  font-family: 'icomoon';
  src: url("fonts/icomoon.eot?tr7ica");
  src: url("fonts/icomoon.eot?#iefixtr7ica") format("embedded-opentype"), url("fonts/icomoon.woff?tr7ica") format("woff"), url("fonts/icomoon.ttf?tr7ica") format("truetype"), url("fonts/icomoon.svg?tr7ica#icomoon") format("svg");
  font-weight: normal;
  font-style: normal; }
[class^="icon-"], [class*=" icon-"] {
  font-family: 'icomoon';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; }

.icon-googleplus:before {
  content: "\e600"; }

.icon-facebook:before {
  content: "\e601"; }

.icon-twitter:before {
  content: "\e602"; }

.someicons a {
  margin: 15px 17px 0px 0px;
  font-size: 35px;
  color: white; }

.someicons a:hover {
  color: #959595; }

/*
.icon-facebook 				{	color: #4c67a1;	}
.icon-facebook:visited 		{	color: #4c67a1;	}
.icon-twitter 				{	color: #5ea9dd;	}
.icon-twitter:visited 		{	color: #5ea9dd;	}
.icon-googleplus 			{	color: #db4b39;	}
.icon-googleplus:visited  	{	color: #db4b39;	}
*/
span.wpcf7-list-item {
  margin-left: 0px; }

.wpcf7-list-item-label {
  margin-right: 5px; }

input {
  height: 40px;
  padding-left: 5px; }

input[type="text"] {
  width: 100%;
  background: white;
  border: 1px solid #0a99c0; }

input[type="email"] {
  width: 100%;
  background: white;
  border: 1px solid #0a99c0; }

textarea {
  width: 100%;
  height: 100px;
  padding-left: 5px;
  background: white;
  border: 1px solid #0a99c0; }

input[type="checkbox"] {
  margin-right: 5px;
  height: auto; }

.wpcf7 blockquote.bq-full {
  width: 100%; }

.wpcf7-tiedotkolumni {
  margin: 10px 0px 20px 0px;
  width: 100%; }

.wpcf7 blockquote.bq-tiedot input[type="text"] {
  margin: 5px 0px 10px 0px; }

.wpcf7-submit {
  width: 100%;
  background: white;
  border: 1px solid #0a99c0;
  height: 50px;
  padding: 0px 30px 0px 30px;
  color: #0a99c0;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  transition: background 0.2s ease; }

input.wpcf7-submit:hover {
  background: #0A99C0;
  color: #fff; }

textarea, input, .wpfc7-submit {
  border-radius: 0px; }

.wpcf7 hr {
  border-top: none;
  border-bottom: 1px solid #c2c2c2; }

.wpcf7-checkbox label {
  display: block;
  margin: 5px 5px 5px 0px; }

/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  overflow: hidden; }

#cboxWrapper {
  max-width: none; }

#cboxOverlay {
  position: fixed;
  width: 100%;
  height: 100%; }

#cboxMiddleLeft, #cboxBottomLeft {
  clear: left; }

#cboxContent {
  position: relative; }

#cboxLoadedContent {
  overflow: auto;
  -webkit-overflow-scrolling: touch; }

#cboxTitle {
  margin: 0; }

#cboxLoadingOverlay, #cboxLoadingGraphic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; }

#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow {
  cursor: pointer; }

.cboxPhoto {
  float: left;
  margin: auto;
  border: 0;
  display: block;
  max-width: none;
  -ms-interpolation-mode: bicubic; }

.cboxIframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  padding: 0;
  margin: 0; }

#colorbox, #cboxContent, #cboxLoadedContent {
  box-sizing: content-box;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; }

/* 
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay {
  background: rgba(0, 0, 0, 0.7); }

#colorbox {
  outline: 0; }

#cboxContent {
  background: #fff; }

.cboxIframe {
  background: #fff; }

#cboxError {
  padding: 50px;
  border: 1px solid #ccc; }

#cboxLoadedContent {
  border: 5px solid #fff;
  background: #fff; }

#cboxTitle {
  position: absolute;
  top: -20px;
  left: 0;
  color: #ccc; }

#cboxCurrent {
  position: absolute;
  top: -20px;
  right: 0px;
  color: #ccc; }

#cboxLoadingGraphic {
  background: url(img/loading.gif) no-repeat center center; }

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {
  border: 0;
  padding: 0;
  margin: 0;
  overflow: visible;
  width: auto;
  background: none; }

/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {
  outline: 0; }

#cboxSlideshow {
  position: absolute;
  top: -20px;
  right: 90px;
  color: #fff; }

#cboxPrevious {
  position: absolute;
  top: 50%;
  left: 5px;
  margin-top: -32px;
  background: url(img/controls.png) no-repeat top left;
  width: 28px;
  height: 65px;
  text-indent: -9999px; }

#cboxNext {
  position: absolute;
  top: 50%;
  right: 5px;
  margin-top: -32px;
  background: url(img/controls.png) no-repeat top right;
  width: 28px;
  height: 65px;
  text-indent: -9999px; }

#cboxClose {
  position: absolute;
  top: 5px;
  right: 5px;
  display: block;
  background: url(img/controls.png) no-repeat top center;
  width: 38px;
  height: 19px;
  text-indent: -9999px; }

#cboxPrevious {
  position: absolute;
  top: 50%;
  left: 5px;
  margin-top: -35px;
  background: url(img/prev.png) no-repeat center left;
  background-size: 60px 60px;
  width: 60px;
  height: 60px;
  text-indent: -9999px; }

#cboxNext {
  position: absolute;
  top: 50%;
  right: 5px;
  margin-top: -35px;
  background: url(img/next.png) no-repeat center right;
  background-size: 60px 60px;
  width: 60px;
  height: 60px;
  text-indent: -9999px; }

#cboxClose {
  position: absolute;
  top: 5px;
  right: 5px;
  display: block;
  background: url(img/close.png) no-repeat top center;
  background-size: 30px 30px;
  width: 30px;
  height: 30px;
  text-indent: -9999px; }

#cboxContent button, #cboxContent button:focus, #cboxContent button:active {
  outline: none; }

.gallery {
  margin: 0px 0px 0px 0px; }

.gallery-item {
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 0px; }

.gallery-item a img {
  border: 2px solid white;
  transition: border ease 0.2s;
  width: 100%;
  height: auto; }

.gallery-item a:hover img {
  border: 2px solid white; }

.gallery-item {
  float: left;
  margin-top: 0px;
  text-align: center; }

.gallery-columns-3 .gallery-item {
  width: 33.3%; }

.gallery-columns-4 .gallery-item {
  width: 25%; }

.gallery-columns-5 .gallery-item {
  width: 33.3%; }
  @media only screen and (min-width: 40.063em) {
    .gallery-columns-5 .gallery-item {
      width: 20%; } }

.gallery-columns-6 .gallery-item {
  width: 33.3%; }
  @media only screen and (min-width: 40.063em) {
    .gallery-columns-6 .gallery-item {
      width: 16.6%; } }

.gallery br {
  display: none; }
