/*
mitra theme 2016

design & code / feingestalten webdesign

red:		#cc1013
blue:		#282b66
black:		#1d1d1b

white:		#fefcfb

fonts:		Open Sans:400,300,600,800,700
*/

/* BASE */
body { font-size: 15px; line-height: 1.5; margin-bottom: 20px; color:#1d1d1b; }
body { font-family: 'Open Sans', sans-serif; font-weight:400; }
body a { text-decoration: none; }
body a:link { -webkit-tap-highlight-color: #556055; }


/* HEADERS */
.typography h1,
.typography h2,
.typography h3,
.typography h4,
.typography h5,
.typography h6 { font-family:'Open Sans', sans-serif; font-weight:800; line-height: 1.2; margin-bottom:10px; color:#1d1d1b; text-transform:uppercase; }
.typography h1 a,
.typography h2 a,
.typography h3 a,
.typography h4 a,
.typography h5 a,
.typography h6 a { font-weight: 800; }
.typography h1 { font-size: 32px; margin: 0 0 25px 0; }
.typography h2 { font-size: 24px; margin-bottom: 15px; }
.typography h3 { font-size: 20px; margin-bottom: 10px; }
.typography h4 { font-size: 17px; margin-bottom: 5px; }
.typography h5 { font-size: 15px; margin-bottom: 5px; }
.typography h6 { font-size: 14px; margin-bottom: 5px; }
.typography h1 .red,
.typography h2 .red,
.typography h3 .red,
.typography h4 .red,
.typography h5 .red,
.typography h6 .red { color:#cc1013; }


/* PARAGRAGHS */
.typography p { font-size: 15px; line-height: 1.5; margin: 0 0 20px; }
.typography em { /* font-style: italic; */ }

::selection,
::-moz-selection { background: #556055; color: #fff; text-shadow: none; }

/* LINKS */
.typography a, 
.typography a.intro { color: #282b66; text-decoration: none; }
.typography a:hover { color: #202248; }
.typography a:focus { }
.typography .listwrapper a:focus,
.typography .listwrapper ul:focus,
.typography .listwrapper ul li:focus { outline:none; }

/* LIST STYLES */
.typography ul, 
.typography ol,
.typography dl { margin: 0 0 20px 25px; }
.typography ul li { list-style-type: square; }
.typography li { margin-bottom: 5px; }


/* TABLE */
.typography table { border-collapse: collapse; border: 1px solid #d4d4d4; border-spacing: 0; margin: 0 0 10px; text-align: left; }
.typography table tr:nth-child(even) { background-color: #ededed; }
.typography table tr.even,
.typography table th,
.typography thead td { background-color: #ededed; }
.typography table td,
.typography table th { padding: 2px 5px; border: 1px solid #d4d4d4; border-top:0 none; border-bottom:0 none; vertical-align: top; font-size: 15px; line-height: 1.5; font-family: 'Open Sans', sans-serif; }
.typography table th { font-weight: 700; }

.typography table.clean { border:0 none; }
.typography table.clean tr:nth-child(even) { background:none; }
.typography table.clean tr.even,
.typography table.clean th,
.typography thead.clean td { background:none; }
.typography table.clean td,
.typography table.clean th { padding:0 20px 0 0; border:0 none; }

/* ALIGNMENT */
.typography .left { text-align: left; }
.typography .center { text-align: center; }
.typography .right { text-align: right; }


/* IMAGES */
.typography img { border:0 none; height: auto; max-width:100%; background: transparent url(../images/ajax-loader.gif) no-repeat center center; }
.typography img.left { float: left; width:50%; max-width: 50%; margin: 5px 20px 10px 0; }
.typography img.right {
    float: right;
    width:50%;
    max-width: 50%; /* Responsive width */
    margin: 5px 0 10px 20px;
}
.typography img.leftAlone {
    float: left;
    margin-right: 100%;
    margin-bottom: 10px;
    clear: both;
}
.typography img.center {
    float: none;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 10px;
    clear: both;
}
.typography .captionImage { width: 100%; margin-top: 5px; }
.typography .captionImage img { margin: 0; }
  .typography .captionImage.left {
    float: left;
    margin: 5px 30px 20px 0px;
  }
  .typography .captionImage.right{
    float: right;
    margin: 5px 0 20px 30px;
  }
  .typography .captionImage.left[style],
  .typography .captionImage.right[style] {
    max-width: 50%; /* Overides core width to make responsive */
  }
  .typography .captionImage.left img,
  .typography .captionImage.right img {
    float: none;
    max-width: none;
    width: 100%;
  }
  .typography .captionImage.left img {
    margin-right: -10px;
  }
  .typography .captionImage.right img {
    margin-left: -10px;
  }
  .typography .captionImage.right p {
    margin-left: -10px;
    text-align: left;
    margin-left: -10px;
  }
.typography .captionImage.leftAlone{
  float:none;
  margin: 0 20px 20px 0px;
}
.typography .captionImage.center{
  margin: 0 auto 20px;
}
.typography .captionImage p {
  clear: both;
  margin: 5px 0;
  font-style: italic;
  color: #888;
}


/* BLOCKQUOTES
-------------------------------------------- */
.typography blockquote {
  background: transparent url(../images/blockquote.png) no-repeat 0px 6px;
  font-family: "CamboRegular", Georgia, "Times New Roman", Times, serif;
  color: #777;
  display: block;
  font-style: italic;
  margin: 0 0 20px;
  float: right;
  text-indent: 30px;
  width: 50%;
  margin-left: 5%;
  clear: both;
}
.typography blockquote p {
  font-size: 17px;
  line-height: 25px;
}
.typography pre {
  background: #F7F7F7;
  border: 1px solid #E4E4E4;
  font-family: Courier, monospace;
  margin: 0 0 20px 0;
  padding: 15px;
  clear: both;
}

/* ADDRESS
-------------------------------------------- */
address {
  display: block;
  margin-bottom: 20px;
}