/*--------------------------------------------------------------
# Table Of Contents
--------------------------------------------------------------*/
/*
# Post Type: Portfolio
# Shortcode: Google Maps
# Shortcode: Posts From Categories
# Shortcode: Dividers
# Shortcode: Buttons
# Shortcode: Tabs
# Shortcode: Notification Boxes
# Shortcode: Contact Form
*/
/*--------------------------------------------------------------
# Post Type: Portfolio
--------------------------------------------------------------*/
.portfolios {
  margin: 20px 0;
}
.portfolios li {
  display: inline-block;
  margin: 2em 5%;
  box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 360px;
  background: #FFF;
  vertical-align: top;
  line-height: 0;
  overflow: hidden;
  position: relative;
}
@media screen and (min-width: 600px) {
  .portfolios li {
    width: 45%;
    margin: 2.5%;
  }
}
@media screen and (min-width: 1000px) {
  .portfolios li {
    width: 30%;
    margin: 1.5%;
  }
}
li.portfolio > div {
  padding: 8px;
  width: 100%;
  height: 100%;
}
li.portfolio a:hover {
  border: none !important;
}
li.portfolio h4 {
  text-align: left;
}
ul#portfolio_1 li:hover img {
  opacity: 1;
}
ul#portfolio_1 li p {
  vertical-align: middle;
  color: transparent;
  display: none;
}
ul#portfolio_1 li h4 {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0;
  color: #FFF;
  padding: 10px 20px;
  width: inherit;
  background: rgba(0, 0, 0, 0.5);
  line-height: 1.5em;
  transition: 0.4s all;
}
ul#portfolio_1 li:hover h4 {
  position: static;
  background: none;
  padding: 0;
  margin: 10px 0;
  bottom: 0px;
}
ul#portfolio_1 li .portfolio-info {
  left: -300px;
  top: 0px;
  transition: .3s all;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
}
ul#portfolio_1 li:hover .portfolio-info {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  padding: 0 20px;
}
ul#portfolio_1 li:hover .portfolio-info p {
  line-height: 1.4em;
  color: #FFF;
  font-size: 0.9em;
  display: block;
  text-align: justify;
}
li.portfolio a {
  display: block;
  margin: 0;
  padding: 0;
}
ul#portfolio_2 li {
  overflow: visible;
  box-shadow: none;
  max-width: 350px;
}
ul#portfolio_2 li > div {
  display: block;
  padding: 0;
}
ul#portfolio_2 li .portfolio-info {
  background: none;
}
ul#portfolio_2 h4 {
  position: static;
  margin: 10px 0 15px;
  padding: 0 0 5px 0;
  background: none;
  font-size: 1.1em;
  line-height: 1.7em;
  color: #888;
  border-bottom: 1px solid #DDD;
}
ul#portfolio_2 p {
  display: block;
  color: #444;
  line-height: 1.5em;
  text-align: left;
  font-size: 0.9em;
}
/*--------------------------------------------------------------
# Shortcode: Google Maps
--------------------------------------------------------------*/
.google-map {
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
}
.google-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}
/*--------------------------------------------------------------
# Shortcode: Posts From Categories
--------------------------------------------------------------*/
.mstoic-related-posts {
  margin: 30px auto;
  padding: 10px;
  background: #FCFCFC;
  text-align: center;
  border: 1px solid #E0E0E0;
}
.mstoic-related-posts ul {
  display: inline-block;
  margin: 0;
  text-align: left;
  list-style-type: none;
}
.entry-content .mstoic-related-posts li {
  padding: 5px 0;
  position: relative;
}
.mstoic-related-posts a {
  display: inline-block;
  margin-left: 19px;
  border-bottom: 1px solid transparent !important;
}
.entry-content .mstoic-related-posts a:hover {
  border-bottom: 1px solid;
}
/*--------------------------------------------------------------
# Shortcode: Dividers
--------------------------------------------------------------*/
.line {
  margin: 40px 0;
  color: #CCC;
}
.line.single {
  border-bottom: 1px solid;
}
.line.double {
  padding: 3px 0;
  border-bottom: 1px solid;
  border-top: 1px solid;
}
.line.dashed {
  border-bottom: 1px dashed;
}
.line.dotted {
  border-bottom: 1px dotted;
}
.line.shadow {
  width: 90%;
  margin-top: 40px;
  margin-left: 5%;
}
.line.shadow .mask {
  display: block;
  height: 20px;
  overflow: hidden;
}
.line.shadow .mask:after {
  display: block;
  height: 25px;
  width: 100%;
  margin: -25px auto 0;
  content: '';
  border-radius: 10.41666667px;
  -webkit-box-shadow: 0 0 8px #444444;
  -moz-box-shadow: 0 0 8px #444444;
  -ms-box-shadow: 0 0 8px #444444;
  -o-box-shadow: 0 0 8px #444444;
  box-shadow: 0 0 8px #444444;
}
/*---------------------------------------------------------------
# Shortcode: Buttons
-----------------------------------------------------------------*/
body .mstoic-button {
  display: inline-block;
  margin: 30px 10px 30px 0;
  padding: 9px 19px 8px;
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  color: #FFF !important;
  border: 0px inset rgba(0, 0, 0, 0.2) !important;
  border-width: 0 0 3px 0 !important;
  cursor: pointer;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  text-overflow: ellipsis;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.1) inset;
  -moz-box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.1) inset;
  -ms-box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.1) inset;
  -o-box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.1) inset;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.1) inset;
}
body .mstoic-button-green {
  background-color: #5FCF80;
}
body .mstoic-button-blue {
  background-color: #3F8ABF;
}
body .mstoic-button-grey {
  background-color: #C6CCD2;
}
body .mstoic-button-red {
  background-color: #ED5A5A;
}
body .mstoic-button-orange {
  background-color: #FF7F50;
}
body .mstoic-button-purple {
  background-color: #B2A4E6;
}
body .mstoic-button:hover,
body .mstoic-button:focus,
body .mstoic-button:active {
  -webkit-box-shadow: inset 0 500px 5px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 0 500px 5px rgba(0, 0, 0, 0.1);
  -ms-box-shadow: inset 0 500px 5px rgba(0, 0, 0, 0.1);
  -o-box-shadow: inset 0 500px 5px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 500px 5px rgba(0, 0, 0, 0.1);
}
/*--------------------------------------------------------------
# Shortcode: Tabs
--------------------------------------------------------------*/
.tabs {
  width: 100%;
  display: inline-block;
  line-height: 0;
  font-size: 0.9em;
  margin: 2em 0;
}
.tabs ul.tab-links {
  display: inline-block;
  line-height: 1.5em;
  border: 1px solid #DDD;
  border-width: 0 0 0 1px;
  position: relative;
  margin: 0 0 -1px 0;
  z-index: 9;
  font-size: 0.8em;
}
.tabs .tab-links:after {
  display: block;
  clear: both;
  content: '';
}
.tabs .tab-links li {
  margin: 0;
  float: left;
  list-style: none;
}
.tabs .tab-links a {
  padding: 9px 15px;
  display: inline-block;
  font-size: 16px;
  color: #4C4C4C;
  transition: all linear 0.15s;
  background: #FAFAFA;
  border: 1px solid #DDD;
  border-left: none;
}
.tabs .tab-links li.active a {
  border-bottom: 1px solid #FFF !important;
}
.tabs .tab-links a:hover {
  background: #FCFCFC;
  text-decoration: none;
  border-bottom: 1px solid #DDD !important;
}
.tabs li.active a,
.tabs li.active a:hover {
  background: #FFF;
  color: #4C4C4C;
}
.tabs .tab-content {
  border-radius: 3px;
  background: #FFF;
  line-height: 2em;
}
.tabs .tab {
  display: none;
  border: 1px solid #DDD;
  padding: 5px;
}
.tabs .tab.active {
  display: block;
}
/*-------------------------------------------------------------
# Shortcode: Notification Boxes
-------------------------------------------------------------*/
.notificationBox {
  padding: 10px;
  margin: 1.5em auto;
  font-size: 0.9em;
  border-radius: 0;
}
.nb_green {
  background: #DFF0D8;
  color: #4FA12C;
  border: 1px solid #9FE282;
}
.nb_blue {
  background: #D9EDF7;
  color: #2095D0;
  border: 1px solid #79A9C2;
}
.nb_red {
  background: #FDC1C1;
  color: #D00808;
  border: 1px solid #EA7373;
}
.nb_grey {
  background: #ECECEC;
  color: #767676;
  border: 1px solid #BBB;
}
/*--------------------------------------------------------------
# Shortcode: Contact Form
--------------------------------------------------------------*/
form.mstoic-contact-form {
  margin: 2em auto;
}
form.mstoic-contact-form p {
  margin: 1em auto;
}
form.mstoic-contact-form input[type="text"],
form.mstoic-contact-form input[type="email"],
form.mstoic-contact-form textarea {
  width: 100%;
  margin-bottom: 1.5em;
  font-size: 0.9em;
}
/*--------------------------------------------------------------
# Shortcode: Tooltip
--------------------------------------------------------------*/
.tooltip {
  display: inline;
  position: relative;
}
/* Trigger text */
.tooltip-item {
  background: rgba(0, 0, 0, 0.05);
  cursor: pointer;
  display: inline-block;
  padding: 0 5px;
  border-radius: 3px;
}
.tooltip-item a:hover {
  border: none;
  text-decoration: none;
}
/* Gap filler */
.tooltip-item::after {
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 360px;
  height: 20px;
  content: '';
  pointer-events: none;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
}
.tooltip:hover .tooltip-item::after {
  pointer-events: auto;
}
/* Tooltip */
.tooltip-content {
  position: absolute;
  text-align: left;
  font-size: 1em;
  line-height: 1.4;
  background: #2A3035;
  opacity: 0;
  cursor: default;
  pointer-events: none;
  z-index: 99999;
  -webkit-box-shadow: 0 0 10px rgba(48, 54, 61, 0.2);
  -moz-box-shadow: 0 0 10px rgba(48, 54, 61, 0.2);
  -ms-box-shadow: 0 0 10px rgba(48, 54, 61, 0.2);
  -o-box-shadow: 0 0 10px rgba(48, 54, 61, 0.2);
  box-shadow: 0 0 10px rgba(48, 54, 61, 0.2);
  -webkit-transform-origin: 50% calc(106%);
  transform-origin: 50% calc(106%);
  -webkit-transform: rotate3d(0, 0, 1, 15deg);
  transform: rotate3d(0, 0, 1, 15deg);
  -webkit-transition: opacity 0.2s, -webkit-transform 0.2s;
  transition: opacity 0.2s, transform 0.2s;
  -webkit-transition-timing-function: ease, cubic-bezier(0.17, 0.67, 0.4, 1.39);
  transition-timing-function: ease, cubic-bezier(0.17, 0.67, 0.4, 1.39);
}
.tooltip.top .tooltip-content {
  width: 180px;
  left: 50%;
  margin: 0 0 20px -90px;
  bottom: 100%;
}
.tooltip.bottom .tooltip-content {
  width: 180px;
  left: 50%;
  margin: 20px 0 0 -90px;
  top: 100%;
}
.tooltip.left .tooltip-content {
  width: 180px;
  right: 100%;
  margin: 0 20px 0 0;
}
.tooltip.right .tooltip-content {
  width: 180px;
  left: 100%;
  margin: 0 0 0 20px;
}
.tooltip:hover .tooltip-content {
  pointer-events: auto;
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0) rotate3d(0, 0, 0, 0);
  transform: translate3d(0, 0, 0) rotate3d(0, 0, 0, 0);
}
/* Arrow */
.tooltip-content::after {
  content: '';
  border: solid transparent;
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: transparent;
  border-width: 10px;
  margin-left: -10px;
}
.tooltip.top .tooltip-content::after {
  top: 100%;
  border-top-color: #2A3035;
  left: 50%;
}
.tooltip.bottom .tooltip-content::after {
  bottom: 100%;
  border-bottom-color: #2A3035;
  left: 50%;
}
.tooltip.left .tooltip-content::after {
  left: 100%;
  border-left-color: #2A3035;
  top: .5em;
  margin-left: 0;
}
.tooltip.right .tooltip-content::after {
  right: 100%;
  border-right-color: #2A3035;
  top: .5em;
}
/* Tooltip content*/
.tooltip-text {
  font-size: 0.78em;
  line-height: 1.35;
  display: block;
  padding: 1.31em 1.21em 1.21em 0;
  color: #FFF;
  padding: 1.4em;
}
.tooltip-text a {
  font-weight: bold;
}
/*--------------------------------------------------------------
# Shortcode: Accordion
--------------------------------------------------------------*/
.accordion {
  margin: 2em 0;
}
.accordion .tab {
  position: relative;
  border: 1px solid #DDD;
  border-bottom-width: 0;
}
.accordion .tab:last-child {
  border-bottom-width: 1px;
}
.accordion .tab .title {
  padding: 10px;
  cursor: pointer;
  /* Stop the child element to get blurry. Happens with translate 50% */
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.accordion .tab .title:after {
  content: "\f067";
  font-family: FontAwesome;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.accordion .tab .content {
  padding: 10px;
  font-size: 0.9em;
}
.accordion .tab.active {
  border: none;
}
.accordion .tab.active .title {
  color: #FFF;
}
.accordion .tab.active .title:after {
  content: "\f068";
}
.accordion .tab.active .content {
  border-width: 0 1px 0 1px;
  border-style: solid;
  border-color: #DDD;
}
.accordion .tab.active:last-child .content {
  border-bottom-width: 1px;
}
.accordion p:empty {
  display: none;
}
/* Only hide the accordion content if JS is available.. */
html.js .accordion .tab .content {
  display: none;
}
/* If no JS, change the + icon to - */
html.no-js .accordion .tab .title:after {
  content: "\f068";
}
